#5006 TaskCfgVTT(uuid='30a0aa1b78', name='C:/Users/001/Desktop/6月6日 (1).mp4', dirname='C:/Users/001/Desktop', noextname='6月6日

8.221* Posted at: 20 hours ago

30a0aa1b78 split no voice error:submitting video frame to the encoder encoding a frame: Generic error in an external library语音识别阶段出错:Google识别API(免费), 翻译字幕阶段出错: 微软(免费), 配音阶段出错:Edge-TTS(免费)
Traceback (most recent call last):
File "videotrans\task\only_one.py", line 128, in run
File "videotrans\task\trans_create.py", line 709, in assembling
File "videotrans\task\trans_create.py", line 1196, in _join_video_audio_srt
File "videotrans\util\help_misc.py", line 300, in is_novoice_mp4
RuntimeError: 30a0aa1b78 split no voice error:submitting video frame to the encoder encoding a frame: Generic error in an external library
TaskCfgVTT(uuid='30a0aa1b78', name='C:/Users/001/Desktop/6月6日 (1).mp4', dirname='C:/Users/001/Desktop', noextname='6月6日 (1)', basename='6月6日 (1).mp4', ext='mp4', target_dir='D:/6月6日 (1)-mp4', cache_folder='C:/DrvPath/tmp/5328/30a0aa1b78', is_cuda=False, source_language='日语', source_language_code='ja', source_sub='D:/6月6日 (1)-mp4/ja.srt', source_wav='C:/DrvPath/tmp/5328/30a0aa1b78/ja.wav', source_wav_output='D:/6月6日 (1)-mp4/ja.m4a', target_language='简体中文', target_language_code='zh-cn', target_sub='D:/6月6日 (1)-mp4/zh-cn.srt', target_wav='C:/DrvPath/tmp/5328/30a0aa1b78/target.wav', target_wav_output='D:/6月6日 (1)-mp4/zh-cn.m4a', translate_type=1, tts_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='HsiaoChen(Female/TW)', voice_autorate=True, video_autorate=False, remove_silent_mid=False, align_sub_audio=True, detect_language='ja', recogn_type=17, model_name='1.7B', 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='D:/6月6日 (1)-mp4/6月6日 (1).mp4', novoice_mp4='C:/DrvPath/tmp/5328/30a0aa1b78/novoice.mp4', is_separate=False, embed_bgm=True, instrument=None, vocal='C:/DrvPath/tmp/5328/30a0aa1b78/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=0.8)


=
system:Windows-10-10.0.28000-SP0
version:v4.01
frozen:True
language:zh
root_dir:C:/DrvPath

1 Replies

主因是视频文件名 6月6日 (1).mp4 包含中文、空格、括号,且路径层级较深,导致 ffmpeg 在最终合成编码时无法正确处理而抛出 Generic error in an external library。该错误直接阻断合成,后续翻译/配音阶段的错误可能是连锁反应(因合成失败而回溯标记)。

解决方案:

  1. 重命名视频文件:将文件名改为纯英文/数字,去掉空格、括号、中文,例如 video1.mp4
  2. 移动至浅层目录:将视频文件放到磁盘根目录下的简单文件夹,例如 D:\videos\video1.mp4
  3. 重新执行任务:打开软件,选择修改后的文件,勾选 “清理已生成” 强制重新处理,避免使用损坏的缓存。

请查阅相关文档:

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update. Dondate: ko-fi.com/jianchang512

Related resource