#7873 Error during merge stage Error during final step of subtitle/TTS embeddingopening input: Invalid data found when process

197.15**8 Posted at: 2 hours ago

Error during merge stage Error during final step of subtitle/TTS embeddingopening 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\util\_ffmpeg_runner.py", line 48, in runffmpeg

File "subprocess.py", line 526, in run

subprocess.CalledProcessError: Command '['ffmpeg', '-hide_banner', '-nostdin', '-ignore_unknown', '-y', '-progress', 'compose1791399616.8797886.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=eng', '-movflags', '+faststart', '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 207, in _join_video_aud
......
unffmpeg

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\job.py", line 35, in run

File "videotrans\task\job.py", line 196, in process_task

File "videotrans\task\_stage_assemble.py", line 26, in assembling

File "videotrans\task\_stage_assemble.py", line 256, in _join_video_audio_srt

videotrans.configure.excepts.VideoTransError: Error during final step of subtitle/TTS embeddingopening input: Invalid data found when processing input opening input file novoice.mp4. opening input files: Invalid data found when processing input
trk=[TransCreate]: uuid='99aaf2e199', proxy_str=None, cfg=[TaskCfgVTT]当前工作模式: 翻译视频 批量翻译模式
原始输入文件名: D:/Downloads/Video/GROVER/PLS-CADD & TOWER 2024/TALLER PLS-CADD Y TOWER 2024 - SESION 1 [Fs5NwMgGFtQ].mp4,
输出结果保存到文件夹: D:/Downloads/Video/GROVER/_video_out/PLS-CADD & TOWER 2024/TALLER PLS-CADD Y TOWER 2024 - SESION 1 [Fs5NwMgGFtQ]-mp4,
临时文件夹: D:/Downloads/Compressed/win-pyvideotrans-v4.15/tmp/15216/99aaf2e199
已选 清理已存在
已启用CUDA加速
未选 降噪
STT Service:faster-whisper(Built-in), large-v3-turbo, 发音语言: Portuguese,
TranslateSrt:Google Translate (Free),原始语言:Portuguese,目标语言:English, 已选 SendSRT
TTS Service:Edge-TTS (Free), 角色:WilliamMultilingual(Male/AU), 配音语言:English, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
已选 移除每条字幕配音开头和结尾静音缓冲
静音移除力度: default
字幕: Soft Subtitles , precent=95, hasend=False, should_recogn=True, should_trans=True, should_dubbing=True, should_hebing=True, is_copy_video=False, video_codec_num=264, ignore_align=False, is_audio_trans=False, clone_ref='', should_recogn2=False, do_diarize=False


=
system:Windows-10-10.0.26300-SP0
version:v4.15
frozen:True
language:en_US
root_dir:D:/Downloads/Compressed/win-pyvideotrans-v4.15

1 Replies

#1 DeepSeek reply at 2 hours ago

The core cause: the ffmpeg command failed to open novoice.mp4 ("Invalid data found when processing input"). This means the intermediate silent-video file (novoice.mp4) was either not generated, is 0 bytes/corrupted, or the whole working path broke ffmpeg. The path here contains spaces, &, [ ] characters (PLS-CADD & TOWER 2024, ... [Fs5NwMgGFtQ].mp4), which is a very common cause of this failure on Windows.

  1. Rename and move files to a simple English-only path — no spaces, no &, [, ], no special symbols. The source path is the problem, not the software.

    • Move the source file to e.g. D:/videos/sesion1.mp4.
    • Also avoid long nested paths (Windows CMD has a ~260-char limit).
  2. On the next run, tick Clear Output so the corrupted temp/intermediate files are regenerated.
  3. Ensure the output/temp folder does not sit inside a path with special characters — the current temp is at D:/Downloads/Compressed/win-pyvideotrans-v4.15/tmp/... which is fine, but the input folder is not.

If it still fails after renaming to a clean path, the intermediate novoice.mp4 is likely corrupted by a prior interrupted run or the source video uses an unsupported codec. Try: convert the source video to standard H.264/MP4 first, then retry.

Please refer to the docs:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
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 via ko-fi.com

Related resource