最后一步字幕配音嵌入时出错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 "videotrans\task\_stage_assemble.py", line 432, in _subprocess
File "subprocess.py", line 526, in run
subprocess.CalledProcessError: Command '['ffmpeg', '-nostdin', '-y', '-progress', 'compose1789950741.070841.txt', '-i', 'novoice.mp4', '-i', 'will_embed.m4a', '-filter_complex', "[0:v]subtitles=filename='end.ass'[v_out]", '-map', '[v_out]', '-map', '1:a', '-c:v', 'h264_nvenc', '-c:a', 'copy', '-cq', '23', '-preset', 'p7', '-movflags', '+faststart', '-shortest', 'laste_target.mp4']' returned non-zero exit status 3199971767.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "videotrans\task\_stage_assemble.py", line 282, in _join_video_audio_srt
File "videotrans\task\_stage_assemble.py", line 444, in _subproces
......
x', "[0:v]subtitles=filename='end.ass'[v_out]", '-map', '[v_out]', '-map', '1:a', '-c:v', 'libx264', '-c:a', 'copy', '-crf', '23', '-preset', 'slow', '-movflags', '+faststart', '-shortest', 'laste_target.mp4']' returned non-zero exit status 3199971767.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "videotrans\task\_stage_assemble.py", line 286, in _join_video_audio_srt
File "videotrans\util\_ffmpeg_runner.py", line 78, in runffmpeg
videotrans.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 "videotrans\task\only_one.py", line 164, in run
File "videotrans\task\_stage_assemble.py", line 26, in assembling
File "videotrans\task\_stage_assemble.py", line 289, in _join_video_audio_srt
videotrans.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]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/ak_tj/Downloads/Professor Jiang: 'They're Planning It!' The Draft, Trump's Third Term & Who Gets Sent To Die First.mp4,
输出结果保存到文件夹: C:/Users/ak_tj/Downloads/_video_out/Professor Jiang: 'They're Planning It!' The Draft, Trump's Third Term & Who Gets Sent To Die First-mp4,
临时文件夹: D:/win-pyvideotrans-v4.12/tmp/8228/6b9ddeeac4
未选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 英语, 断句方式:默认断句
翻译渠道:DeepSeek,原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
配音渠道:Index-TTS(本地API), 角色:clone, 配音语言:简体中文, 未选 二次语音识别
音量:+0%, 语速:-27%, 未选 音频加速, 未选 视频慢速
未选 移除字幕间空隙, 已选 强制对齐字幕和声音
字幕: 嵌入硬字幕
=
system:Windows-10-10.0.26200-SP0
version:v4.12
frozen:True
language:zh_CN
root_dir:D:/win-pyvideotrans-v4.12