#4094 TaskCfgVTT(is_cuda=True, uuid='74c27e6dd8', cache_folder='D:/pyvideo/pyvideotrans/tmp/22456/74c27e6dd8', target_dir='F:/

182.100* Posted at: 11 hours ago 👁15

合并阶段出错 74c27e6dd8 split no voice error:opening input: No such file or directory opening input file -hwaccel. opening input files: No such file or directory
Traceback (most recent call last):
File "videotrans\task\job.py", line 324, in run
File "videotrans\task\trans_create.py", line 802, in assembling
File "videotrans\task\trans_create.py", line 1268, in _join_video_audio_srt
File "videotrans\util\help_misc.py", line 299, in is_novoice_mp4
RuntimeError: 74c27e6dd8 split no voice error:opening input: No such file or directory opening input file -hwaccel. opening input files: No such file or directory
TaskCfgVTT(is_cuda=True, uuid='74c27e6dd8', cache_folder='D:/pyvideo/pyvideotrans/tmp/22456/74c27e6dd8', target_dir='F:/0 资源下载/0.下载目录/_video_out/1-mp4', source_language='英语', source_language_code='en', source_sub='F:/0 资源下载/0.下载目录/_video_out/1-mp4/en.srt', source_wav='D:/pyvideo/pyvideotrans/tmp/22456/74c27e6dd8/en.wav', source_wav_output='F:/0 资源下载/0.下载目录/_video_out/1-mp4/en.m4a', target_language='简体中文', target_language_code='zh-cn', target_sub='F:/0 资源下载/0.下载目录/_video_out/1-mp4/zh-cn.srt', target_wav='D:/pyvideo/pyvideotrans/tmp/22456/74c27e6dd8/target.wav', target_wav_output='F:/0 资源下载/0.下载目录/_video_out/1-mp4/zh-cn.m4a', name='F:/0 资源下载/0.下载目录/1/1.mp4', noextname='1', basename='1.mp4', ext='mp4', dirname='F:/0 资源下载/0.下载目录/1', shound_del_name=None, translate_type=1, tts_type=1, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='No', voice_autorate=False, video_autorate=False, remove_silent_mid=False, align_sub_audio=True, detect_language='en', recogn_type=0, model_name='small.en', shibie_audio=None, remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=1, fix_punc=False, subtitle_language=None, app_mode='biaozhun', subtitles='', targetdir_mp4='F:/0 资源下载/0.下载目录/_video_out/1-mp4/1.mp4', novoice_mp4='D:/pyvideo/pyvideotrans/tmp/22456/74c27e6dd8/novoice.mp4', is_separate=True, embed_bgm=True, instrument='D:/pyvideo/pyvideotrans/tmp/22456/74c27e6dd8/instrument.wav', vocal='D:/pyvideo/pyvideotrans/tmp/22456/74c27e6dd8/vocal.wav', back_audio='', clear_cache=True, background_music=None, subtitle_type=3, only_out_mp4=True, recogn2pass=False, output_srt=2, copysrt_rawvideo=False)


=
system:Windows-10-10.0.19045-SP0
version:v3.99
frozen:True
language:zh
root_dir:D:/pyvideo/pyvideotrans

1 Replies

这是由于文件路径过长或包含特殊字符,导致 ffmpeg 命令执行失败。

错误信息 opening input: No such file or directory opening input file -hwaccel. opening input files: No such file or directory 表明在合并阶段,软件尝试调用 ffmpeg 处理一个临时文件时,因路径问题找不到文件。

解决方案:

  1. 简化输入文件路径和名称:这是最直接的解决方法。

    • 将你的视频文件 F:/0 资源下载/0.下载目录/1/1.mp4 移动到一个路径更短、不包含中文和空格的目录下,例如 D:/videos/1.mp4
    • 确保文件名本身简短,且不包含 ?* 等特殊符号。
  2. 检查软件安装路径:确保 pyVideoTrans 软件本身也安装在路径较短的英文目录下,例如 D:/pyVideoTrans
  3. 重新处理:完成以上路径简化后,重新选择视频文件进行翻译。

根本原因:
Windows 系统对命令行长度有严格限制(通常为260个字符)。当视频文件的完整路径(从盘符到文件名)过长,或路径中包含中文字符、空格时,在软件内部调用 ffmpeg 命令时会超出此限制,导致命令解析失败,无法找到指定的文件。

请查阅相关文档:

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.

Related resource