The srt subtitles were not read. The file may be empty or the format does not conform to the SRT specification
:srtfile='C:/Users/86181/Desktop/音频/0805/0805_no_sub-mp4/en.srt'
content=''
Traceback (most recent call last):
File "videotrans\task\only_one.py", line 92, in run
File "videotrans\task\_stage_dubbing.py", line 23, in dubbing
File "videotrans\task\_stage_dubbing.py", line 49, in _tts
File "videotrans\util\_srt_parse.py", line 187, 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='C:/Users/86181/Desktop/音频/0805/0805_no_sub-mp4/en.srt'
content=''
cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: C:/Users/86181/Desktop/音频/0805/0805_no_sub.mp4,
输出结果保存到文件夹: C:/Users/86181/Desktop/音频/0805/0805_no_sub-mp4,
临时文件夹: F:/Jiani_tools/win-pyvideotrans-v4.07/tmp/30408/19c312de8a
已选 清理已存在
已选 启用CUDA加速
未选 降噪
语音识别:faster-whisper(本地内置), model_name: large-v3-turbo, 发音语言: 英语, 断句方式:默认断句
发音语言和目标语言相同,不翻译字幕
配音渠道:Index-TTS(本地API), 角色:1.wav, 配音语言:英语, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 已选 视频慢速
字幕: 嵌入软字幕(双) 目标语言在上双字幕
代理地址:http://127.0.0.1:7890
=
system:Windows-10-10.0.19045-SP0
version:v4.07
frozen:True
language:zh
root_dir:F:/Jiani_tools/win-pyvideotrans-v4.07