#1888 TaskCfg(cache_folder='D:/videotranslate/win/tmp26512/6235e8c60d', target_dir='D:/AllDownloads/TorrentDownloads/nestjs -

78.40* Posted at: 17 hours ago 👁11

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', 'D:/videotranslate/win/tmp26512/compose1765282025.13626.txt', '-i', 'D:/videotranslate/win/tmp26512/6235e8c60d/novoice.mp4', '-i', 'D:/videotranslate/win/tmp26512/6235e8c60d/origin_audio.m4a', '-i', 'ru.srt', '-c:v', 'copy', '-c:a', 'copy', '-c:s', 'mov_text', '-metadata:s:s:0', 'language=rus', '-movflags', '+faststart', '-cq', '23', '-preset', 'p1', '-shortest', 'D:/AllDownloads/TorrentDownloads/nestjs - Microservices/_video_out/12. Creating an Alarms Service/12. Creating an Alarms Service.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', 'D:/videotranslate/win/tmp26512/compose1765282025.13626.txt', '-i', 'D:/videotranslate/win/tmp26512/6235e8c60d/novoice.mp4', '-i', 'D:/videotranslate/win/tmp26512/6235e8c60d/origin_audio.m4a', '-i', 'ru.srt', '-c:v', 'copy', '-c:a', 'copy', '-c:s', 'mov_text', '-metadata:s:s:0', 'language=rus', '-movflags', '+faststart', '-crf', '23', '-preset', 'fast', '-shortest', 'D:/AllDownloads/TorrentDownloads/nestjs - Microservices/_video_out/12. Creating an Alarms Service/12. Creating an Alarms Service.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 ru.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='D:/videotranslate/win/tmp26512/6235e8c60d', target_dir='D:/AllDownloads/TorrentDownloads/nestjs - Microservices/_video_out/12. Creating an Alarms Service', remove_noise=False, is_separate=False, detect_language='en', subtitle_language=None, source_language='English', target_language='Russian', source_language_code='en', target_language_code='ru', source_sub='D:/AllDownloads/TorrentDownloads/nestjs - Microservices/_video_out/12. Creating an Alarms Service/en.srt', target_sub='D:/AllDownloads/TorrentDownloads/nestjs - Microservices/_video_out/12. Creating an Alarms Service/ru.srt', source_wav='D:/videotranslate/win/tmp26512/6235e8c60d/en.wav', source_wav_output='D:/AllDownloads/TorrentDownloads/nestjs - Microservices/_video_out/12. Creating an Alarms Service/en.m4a', target_wav='D:/videotranslate/win/tmp26512/6235e8c60d/target.wav', target_wav_output='D:/AllDownloads/TorrentDownloads/nestjs - Microservices/_video_out/12. Creating an Alarms Service/ru.m4a', subtitles='', novoice_mp4='D:/videotranslate/win/tmp26512/6235e8c60d/novoice.mp4', noextname='12. Creating an Alarms Service', shibie_audio=None, targetdir_mp4='D:/AllDownloads/TorrentDownloads/nestjs - Microservices/_video_out/12. Creating an Alarms Service/12. Creating an Alarms Service.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='gtts', copysrt_rawvideo=False, clear_cache=False, translate_type=3, tts_type=22, recogn_type=0, model_name='large-v3-turbo', split_type=0, voice_autorate=False, video_autorate=True, cuda=True, name='D:/AllDownloads/TorrentDownloads/nestjs - Microservices/12. Creating an Alarms Service.mp4', basename='12. Creating an Alarms Service.mp4', ext='mp4', dirname='D:/AllDownloads/TorrentDownloads/nestjs - Microservices', shound_del_name=None, uuid='6235e8c60d', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0, auto_fix=False)


=
system:Windows-10-10.0.26200-SP0
version:v3.86
frozen:True
language:en
root_dir:D:/videotranslate/win

1 Replies

The error indicates that during the final merging step, FFmpeg cannot find the subtitle file ru.srt. The error message is: opening input file ru.srt. opening input files: No such file or directory.

This is a known issue where the working directory for the final FFmpeg command is incorrect, causing it to look for the subtitle file in the wrong location.

Solution:

  1. Check the Output Folder: First, navigate to your output folder: D:/AllDownloads/TorrentDownloads/nestjs - Microservices/_video_out/12. Creating an Alarms Service/. Verify if the ru.srt file exists there. It should.
  2. Use the "Clean Generated" Option: The most reliable fix is to force the software to regenerate all files from scratch, which often resolves path-related issues.

    • On the main interface, check the box for "Clean Generated" (located in the first row, next to the input field).
    • Re-add your source video file and start the translation process again.
  3. If the Problem Persists (Manual Workaround):

    • Let the process run until it fails with the same error.
    • Manually copy the ru.srt file from the output folder (D:/AllDownloads/TorrentDownloads/nestjs - Microservices/_video_out/12. Creating an Alarms Service/) into the temporary working folder shown in the error: D:/videotranslate/win/tmp26512/.
    • Then, in the software's task list, right-click on the failed task and select "Retry". It should now find the file and complete.

The primary cause is a path resolution bug in the final merge step. Using "Clean Generated" is the standard solution as it creates a new, correct temporary workspace.

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