翻译字幕阶段出错 [硅基流动] The srt subtitles were not read. The file may be empty or the format does not conform to the SRT specification
:srtfile='F:/桌面/win-pyvideotrans-v3.92/output/recogn/序列 02_1.srt'
content=''
Traceback (most recent call last):
File "videotrans\task\job.py", line 184, in run
File "videotrans\task\_translate_srt.py", line 44, in trans
File "videotrans\util\help_srt.py", line 679, in get_subtitle_from_srt
RuntimeError: The srt subtitles were not read. The file may be empty or the format does not conform to the SRT specification
:srtfile='F:/桌面/win-pyvideotrans-v3.92/output/recogn/序列 02_1.srt'
content=''
TaskCfg(cache_folder=None, target_dir='f:/桌面/win-pyvideotrans-v3.92/output/translate', remove_noise=False, is_separate=False, detect_language=None, subtitle_language=None, source_language=None, target_language=None, source_language_code='German', target_language_code='Simplified Chinese', source_sub='F:/桌面/win-pyvideotrans-v3.92/output/recogn/序列 02_1.srt', target_sub='f:/桌面/win-pyvideotrans-v3.92/output/translate/序列 02_1.Simplified Chinese.srt', source_wav=None, source_wav_output=None, target_wav=None, target_wav_output=None, subtitles=None, novoice_mp4=None, noextname='序列 02_1', shibie_audio=None, targetdir_mp4=None, instrument=None, vocal=None, back_audio=None, background_music=None, app_mode='biaozhun', subtitle_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role=None, copysrt_rawvideo=False, clear_cache=False, translate_type=10, tts_type=None, recogn_type=None, model_name=None, split_type=0, voice_autorate=False, video_autorate=False, cuda=False, name='F:/桌面/win-pyvideotrans-v3.92/output/recogn/序列 02_1.srt', basename='序列 02_1.srt', ext='srt', dirname='F:/桌面/win-pyvideotrans-v3.92/output/recogn', shound_del_name=None, uuid='60da7bbda3', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0, rephrase=2, only_out_mp4=False)
=
system:Windows-10-10.0.19045-SP0
version:v3.92
frozen:True
language:zh
root_dir:F:/桌面/win-pyvideotrans-v3.92