#8998 预处理阶段出错 opening output F:/videotran/trs/tmp/51516/d2d2613065/en.wav: No such file or directory opening output file F:/vi

2407**200 Posted at: 1 hour ago

预处理阶段出错 opening output F:/videotran/trs/tmp/51516/d2d2613065/en.wav: No such file or directory opening output file F:/videotran/trs/tmp/51516/d2d2613065/en.wav. opening output files: No such file or directory
Traceback (most recent call last):

File "videotrans\util\help_ffmpeg.py", line 59, in runffmpeg

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

subprocess.CalledProcessError: Command '['ffmpeg', '-hide_banner', '-nostdin', '-ignore_unknown', '-threads', '0', '-y', '-i', 'J:/开放平台/个人节目/刘永杰/游戏节目/001奇奇解说我的世界/PrestonPlayz/001/Minecraft, But Crafts Are GUNS!.mp4', '-vn', '-ac', '1', '-ar', '16000', '-c:a', 'pcm_s16le', 'F:/videotran/trs/tmp/51516/d2d2613065/en.wav']' returned non-zero exit status 4294967294.

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 77, in process_task

File "videotrans\task\trans_create.py", line 271, in prepare

File "videotrans\task\trans_create.py", line 809, in _split_audio_byraw

File "videotrans\util\help_ffmpeg.py", line 88, in runffmpeg

videotrans.configure.excepts.FFmpegError: opening output F:/videotran/trs/tmp/51516/d2d2613065/en.wav: No such file or directory opening output file F:/videotran/trs/tmp/51516/d2d2613065/en.wav. opening output files: No such file or directory
TaskCfgVTT(uuid='d2d2613065', name='J:/开放平台/个人节目/刘永杰/游戏节目/001奇奇解说我的世界/PrestonPlayz/001/Minecraft, But Crafts Are GUNS!.mp4', dirname='J:/开放平台/个人节目/刘永杰/游戏节目/001奇奇解说我的世界/PrestonPlayz/001', noextname='Minecraft, But Crafts Are GUNS!', basename='Minecraft, But Crafts Are GUNS!.mp4', ext='mp4', target_dir='J:/开放平台/个人节目/刘永杰/游戏节目/001奇奇解说我的世界/PrestonPlayz/翻译配音完成/Minecraft, But Crafts Are GUNS!-mp4', cache_folder='F:/videotran/trs/tmp/51516/d2d2613065', is_cuda=True, source_language='英语', source_language_code='en', source_sub='J:/开放平台/个人节目/刘永杰/游戏节目/001奇奇解说我的世界/PrestonPlayz/翻译配音完成/Minecraft, But Crafts Are GUNS!-mp4/en.srt', source_wav='F:/videotran/trs/tmp/51516/d2d2613065/en.wav', source_wav_output='J:/开放平台/个人节目/刘永杰/游戏节目/001奇奇解说我的世界/PrestonPlayz/翻译配音完成/Minecraft, But Crafts Are GUNS!-mp4/en.m4a', target_language='简体中文', target_language_code='zh-cn', target_sub='J:/开放平台/个人节目/刘永杰/游戏节目/001奇奇解说我的世界/PrestonPlayz/翻译配音完成/Minecraft, But Crafts Are GUNS!-mp4/zh-cn.srt', target_wav='F:/videotran/trs/tmp/51516/d2d2613065/target.wav', target_wav_output='J:/开放平台/个人节目/刘永杰/游戏节目/001奇奇解说我的世界/PrestonPlayz/翻译配音完成/Minecraft, But Crafts Are GUNS!-mp4/zh-cn.m4a', translate_type=4, tts_type=9, volume='+100%', pitch='+0Hz', voice_rate='+0%', voice_role='clone', voice_autorate=False, video_autorate=False, remove_silent_mid=False, align_sub_audio=True, detect_language='en', recogn_type=0, model_name='large-v3', shibie_audio=None, remove_noise=False, enable_diariz=True, nums_diariz=0, rephrase=0, fix_punc=False, subtitle_language=None, app_mode='biaozhun', subtitles='', targetdir_mp4='J:/开放平台/个人节目/刘永杰/游戏节目/001奇奇解说我的世界/PrestonPlayz/翻译配音完成/Minecraft, But Crafts Are GUNS!-mp4/Minecraft, But Crafts Are GUNS!.mp4', novoice_mp4='F:/videotran/trs/tmp/51516/d2d2613065/novoice.mp4', is_separate=False, embed_bgm=True, instrument=None, vocal=None, clear_cache=True, background_music='', subtitle_type=0, only_out_mp4=True, recogn2pass=False, output_srt=0, copysrt_rawvideo=False, loop_backaudio=1, backaudio_volume=2.3)

1 Replies

#1 DeepSeek reply at 1 hour ago

这是因为 FFmpeg 需要写入的临时目录 F:/videotran/trs/tmp/51516/d2d2613065/ 不存在(或其父级 tmp 被删除、无写权限),FFmpeg 不会自动创建父目录,因此直接报 No such file or directory,任务在预处理阶段中断。

可能诱因(按出现概率排序):tmp 临时文件夹被安全软件清理、被手动删除、F 盘空间不足、同时运行了多个 sp.exe 实例(任一实例关闭会清空共享的 tmp)、软件目录位于只读/受限路径。

处理步骤:

  1. 打开 F:/videotran/trs/,确认是否存在 tmp 文件夹;不存在则手动新建一个空文件夹 tmp,然后完全退出软件重新启动并重试。
  2. 确认 F 盘剩余空间充足(该阶段要生成 wav、mp4 等临时切片,占用较大)。
  3. 将软件根目录整体加入杀毒软件(360/腾讯管家/火绒/Defender)信任白名单,避免 tmp 内文件被实时清理。
  4. 确认没有同时运行多个 sp.exe;如需多开,必须把软件复制到不同文件夹分别启动。
  5. 不要在处理过程中手动清空 tmp;若上次任务异常中断导致残留,先关闭软件再清理。
  6. 该视频文件名 Minecraft, But Crafts Are GUNS!.mp4 含逗号、感叹号,路径层级深且含中文,建议重命名为简短的英文数字名(如 video1.mp4)并放到浅层目录(如 J:/videos/)后再试。
  7. 重试时勾选 清理已生成,避免沿用上次残留状态。

如果新建 tmp 后仍然报同一错误,说明是写入权限或磁盘问题,请提供软件安装目录下 logs/ 中最新的日志文件底部约 30 行内容。

请查阅相关文档:

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