#1762 TaskCfg(cache_folder='C:/pyvideotrans/tmp2492/41c909928a', target_dir='C:/Users/OzyMelBu/Videos/Reverse Engineering 1 x6

2a02:8071* Posted at: 4 days ago 👁26

Merge Error:Runtime error: Error embedding final dub:
Traceback (most recent call last):
File "videotrans\util\help_ffmpeg.py", line 227, in runffmpeg
File "subprocess.py", line 524, in run
subprocess.CalledProcessError: Command '['ffmpeg', '-hide_banner', '-ignore_unknown', '-threads', '0', '-y', '-progress', 'C:/pyvideotrans/tmp2492/compose1764788529.5967388.txt', '-i', 'C:/pyvideotrans/tmp2492/41c909928a/novoice.mp4', '-i', 'C:/pyvideotrans/tmp2492/41c909928a/origin_audio.m4a', '-i', 'de.srt', '-c:v', 'copy', '-c:a', 'copy', '-c:s', 'mov_text', '-metadata:s:s:0', 'language=ger', '-movflags', '+faststart', '-cq', '23', '-preset', 'p1', '-shortest', 'C:/Users/OzyMelBu/Videos/Reverse Engineering 1 x64dbg Debugger for Beginners/Neuer Ordner/12 - How to patch a program/12 - How to patch a program.mp4']' returned non-zero exit status 4294967294.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\util\help_ffmpeg.py", line 227, in runffmpeg
File "subprocess.py", line 524, in run
subprocess.CalledProcessError: Command '['ffmpeg', '-hide_banner', '-ignore_unknown', '-threads', '0', '-y', '-progress', 'C:/pyvideotrans/tmp2492/compose1764788529.5967388.txt', '-i', 'C:/pyvideotrans/tmp2492/41c909928a/novoice.mp4', '-i', 'C:/pyvideotrans/tmp2492/41c909928a/origin_audio.m4a', '-i', 'de.srt', '-c:v', 'copy', '-c:a', 'copy', '-c:s', 'mov_text', '-metadata:s:s:0', 'language=ger', '-movflags', '+faststart', '-crf', '23', '-preset', 'fast', '-shortest', 'C:/Users/OzyMelBu/Videos/Reverse Engineering 1 x64dbg Debugger for Beginners/Neuer Ordner/12 - How to patch a program/12 - How to patch a program.mp4']' returned non-zero exit status 4294967294.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\trans_create.py", line 1230, in _join_video_audio_srt
File "videotrans\util\help_ffmpeg.py", line 267, in runffmpeg
File "videotrans\util\help_ffmpeg.py", line 272, in runffmpeg
RuntimeError: opening input: No such file or directory opening input file de.srt. opening input files: No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\job.py", line 299, in run
File "videotrans\task\trans_create.py", line 549, in assembling
File "videotrans\task\trans_create.py", line 1233, in _join_video_audio_srt
RuntimeError: Error embedding final dub

TaskCfg(cache_folder='C:/pyvideotrans/tmp2492/41c909928a', target_dir='C:/Users/OzyMelBu/Videos/Reverse Engineering 1 x64dbg Debugger for Beginners/Neuer Ordner/12 - How to patch a program', remove_noise=False, is_separate=False, detect_language='en', subtitle_language=None, source_language='English', target_language='German', source_language_code='en', target_language_code='de', source_sub='C:/Users/OzyMelBu/Videos/Reverse Engineering 1 x64dbg Debugger for Beginners/Neuer Ordner/12 - How to patch a program/en.srt', target_sub='C:/Users/OzyMelBu/Videos/Reverse Engineering 1 x64dbg Debugger for Beginners/Neuer Ordner/12 - How to patch a program/de.srt', source_wav='C:/pyvideotrans/tmp2492/41c909928a/en.wav', source_wav_output='C:/Users/OzyMelBu/Videos/Reverse Engineering 1 x64dbg Debugger for Beginners/Neuer Ordner/12 - How to patch a program/en.m4a', target_wav='C:/pyvideotrans/tmp2492/41c909928a/target.wav', target_wav_output='C:/Users/OzyMelBu/Videos/Reverse Engineering 1 x64dbg Debugger for Beginners/Neuer Ordner/12 - How to patch a program/de.m4a', subtitles='', novoice_mp4='C:/pyvideotrans/tmp2492/41c909928a/novoice.mp4', noextname='12 - How to patch a program', shibie_audio=None, targetdir_mp4='C:/Users/OzyMelBu/Videos/Reverse Engineering 1 x64dbg Debugger for Beginners/Neuer Ordner/12 - How to patch a program/12 - How to patch a program.mp4', instrument=None, vocal=None, back_audio='', background_music=None, app_mode='biaozhun', subtitle_type=2, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='Florian Mehrsprachig(Male/DE)', copysrt_rawvideo=False, clear_cache=False, translate_type=0, tts_type=0, recogn_type=0, model_name='large-v3-turbo', split_type=0, voice_autorate=True, video_autorate=True, cuda=True, name='C:/Users/OzyMelBu/Videos/Reverse Engineering 1 x64dbg Debugger for Beginners/10 - How to patch a program/12 - How to patch a program.mp4', basename='12 - How to patch a program.mp4', ext='mp4', dirname='C:/Users/OzyMelBu/Videos/Reverse Engineering 1 x64dbg Debugger for Beginners/10 - How to patch a program', shound_del_name=None, uuid='41c909928a', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0, auto_fix=True)


=
system:Windows-10-10.0.22631-SP0
version:v3.86
frozen:True
language:en
root_dir:C:/pyvideotrans

1 Replies

The error is caused by a missing subtitle file (de.srt) during the final video merging step. The error trace shows: opening input file de.srt. opening input files: No such file or directory.

The most likely cause is that the path to the generated subtitle file is incorrect or the file was not created successfully. The software is looking for de.srt in the current working directory, but it should be in the target folder.

Immediate Solution:

  1. Check the Output Folder: Navigate to the folder containing your original video: C:/Users/OzyMelBu/Videos/Reverse Engineering 1 x64dbg Debugger for Beginners/Neuer Ordner/12 - How to patch a program/. Look for the de.srt file.
  2. If the file exists: The process may have a path resolution issue. A simple workaround is to copy the de.srt file into the C:/pyvideotrans/ directory (where sp.exe is located) and restart the process.
  3. If the file does NOT exist: The subtitle generation or translation step failed. You need to restart the entire process. Before starting:

    • Ensure your output folder path does not contain extremely long names or special characters. Consider moving the source video to a simpler path like D:/test.mp4.
    • In the main interface, check the box "Clean generated files" to force a fresh start without using any potentially corrupted cache.
    • Proceed with the translation again.

Preventive Measures (for future runs):

  • Avoid Long/Complex Paths: Use short, English-only directory names close to the root (e.g., D:/video_project/). The path in your log is very long and contains spaces, which can sometimes cause issues with external tools like ffmpeg.
  • Clear Cache: Always use "Clean generated files" when reprocessing the same video after an error.

If the problem persists after trying the above, please provide the latest log file from C:/pyvideotrans/logs/.

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.

Donate: https://ko-fi.com/jianchang512

Trending Questions