The srt subtitles were not read. The file may be empty or the format does not conform to the SRT specification
:srtfile='5.26 20年高端制造英文-mp4/en.srt'
content=''
Traceback (most recent call last):
File "videotrans\task\only_one.py", line 68, in run
File "videotrans\task\trans_create.py", line 580, in trans
File "videotrans\util\help_srt.py", line 202, 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='5.26 20年高端制造英文-mp4/en.srt'
content=''
TaskCfgVTT(uuid='93f4c8f5f8', name='D:/昕丰越发布素材/5.26 20年高端制造/5.26 20年高端制造英文/5.26 20年高端制造英文.mp4', dirname='D:/昕丰越发布素材/5.26 20年高端制造/5.26 20年高端制造英文', noextname='5.26 20年高端制造英文', basename='5.26 20年高端制造英文.mp4', ext='mp4', target_dir='5.26 20年高端制造英文-mp4', cache_folder='D:/BaiduNetdiskDownload/tmp/5596/93f4c8f5f8', is_cuda=False, source_language='英语', source_language_code='en', source_sub='5.26 20年高端制造英文-mp4/en.srt', source_wav='D:/BaiduNetdiskDownload/tmp/5596/93f4c8f5f8/en.wav', source_wav_output='5.26 20年高端制造英文-mp4/en.m4a', target_language='阿拉伯语', target_language_code='ar', target_sub='5.26 20年高端制造英文-mp4/ar.srt', target_wav='D:/BaiduNetdiskDownload/tmp/5596/93f4c8f5f8/target.wav', target_wav_output='5.26 20年高端制造英文-mp4/ar.m4a', translate_type=0, tts_type=0, volume='+0%', pitch='+0Hz', voice_rate='+10%', voice_role='Taim(Male/JO)', voice_autorate=False, video_autorate=True, remove_silent_mid=False, align_sub_audio=True, detect_language='en', recogn_type=0, model_name='base', shibie_audio=None, remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=False, subtitle_language=None, app_mode='biaozhun', subtitles='', targetdir_mp4='5.26 20年高端制造英文-mp4/5.26 20年高端制造英文.mp4', novoice_mp4='D:/BaiduNetdiskDownload/tmp/5596/93f4c8f5f8/novoice.mp4', is_separate=False, embed_bgm=True, instrument=None, vocal='D:/BaiduNetdiskDownload/tmp/5596/93f4c8f5f8/vocal.wav', clear_cache=True, background_music='', subtitle_type=1, only_out_mp4=False, recogn2pass=False, output_srt=0, copysrt_rawvideo=False, loop_backaudio=1, backaudio_volume=1.0)
=
system:Windows-10-10.0.22631-SP0
version:v4.00
frozen:True
language:zh
root_dir:D:/BaiduNetdiskDownload