最后一步字幕配音嵌入时出错opening input: Invalid data found when processing input opening input file novoice.mp4. opening input files: Invalid data found when processing input
Traceback (most recent call last):
File "/Users/a1-6/Downloads/pyvideotrans-main/videotrans/util/_ffmpeg_runner.py", line 49, in runffmpeg
subprocess.run(File "/Users/a1-6/.local/share/uv/python/cpython-3.10.19-macos-aarch64-none/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,subprocess.CalledProcessError: Command '['ffmpeg', '-hide_banner', '-nostdin', '-ignore_unknown', '-threads', '0', '-y', '-progress', 'compose1786011854.5234408.txt', '-i', 'novoice.mp4', '-i', 'will_embed.m4a', '-i', 'end.srt', '-map', '0:v', '-map', '1:a', '-map', '2:s', '-c:v', 'copy', '-c:a', 'copy', '-c:s', 'mov_text', '-metadata:s:s:0', 'language=zho', '-movflags', '+faststart', '-fps_mode', 'vfr', '-shortest', 'laste_target.mp4']' returned non-zero exit status 183.
The above ex
......
cmd2, cmd_dir=self.cfg.cache_folder, force_cpu=True)
File "/Users/a1-6/Downloads/pyvideotrans-main/videotrans/util/_ffmpeg_runner.py", line 78, in runffmpeg
raise FFmpegError(err) from evideotrans.configure.excepts.FFmpegError: opening input: Invalid data found when processing input opening input file novoice.mp4. opening input files: Invalid data found when processing input
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/a1-6/Downloads/pyvideotrans-main/videotrans/task/only_one.py", line 125, in run
trk.assembling()File "/Users/a1-6/Downloads/pyvideotrans-main/videotrans/task/_stage_assemble.py", line 26, in assembling
self._join_video_audio_srt()File "/Users/a1-6/Downloads/pyvideotrans-main/videotrans/task/_stage_assemble.py", line 291, in _join_video_audio_srt
raise VideoTransError(tr('Error in embedding the final step of the subtitle dubbing')+str(e)) from evideotrans.configure.excepts.VideoTransError: 最后一步字幕配音嵌入时出错opening input: Invalid data found when processing input opening input file novoice.mp4. opening input files: Invalid data found when processing input
cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: /Users/a1-6/Desktop/油管下载/02.webm,
输出结果保存到文件夹: /Users/a1-6/Desktop/油管下载/_video_out/02-webm,
临时文件夹: /Users/a1-6/Downloads/pyvideotrans-main/tmp/65726/cf098057e8
已选 清理已存在
未选 启用CUDA加速
已选 降噪
已选 识别说话人,最大说话人数量2
语音识别:faster-whisper(本地内置), model_name: large-v3-turbo, 发音语言: 英语, 断句方式:默认断句
翻译渠道:Google(免费),原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
配音渠道:Confucius-TTS(本地内置), 角色:clone, 配音语言:简体中文, 已选 二次语音识别
音量:+0%, 语速:-10%, 未选 音频加速, 已选 视频慢速
字幕: 嵌入软字幕
已选 分离人声与背景声, 已选 重新嵌入背景声, 背景音量0.8, 背景声音时长 短于 视频时长时: 拉长(降速播放),存在分离后的纯净人声文件,存在分离后的背景声音文件
代理地址:http://127.0.0.1:7897
=
system:macOS-15.7.4-arm64-arm-64bit
version:v4.06
frozen:False
language:zh
root_dir:/Users/a1-6/Downloads/pyvideotrans-main
Python: 3.10.19 (main, Feb 12 2026, 00:36:33) [Clang 21.1.4 ]