#8655 opening input: No such file or directory opening input file D:/win-pyvideotrans-v4.17-1028/tmp/45152/2820e00181/novoice.

89.185**9 Posted at: 2 hours ago

opening input: No such file or directory opening input file D:/win-pyvideotrans-v4.17-1028/tmp/45152/2820e00181/novoice.mp4. opening input files: No such file or directory
Traceback (most recent call last):
File "videotrans\util\_ffmpeg_runner.py", line 66, in runffmpeg
File "subprocess.py", line 526, in run
subprocess.CalledProcessError: Command '['ffmpeg', '-hide_banner', '-nostdin', '-ignore_unknown', '-y', '-i', 'D:/win-pyvideotrans-v4.17-1028/tmp/45152/2820e00181/novoice.mp4', '-i', 'D:/win-pyvideotrans-v4.17-1028/tmp/45152/2820e00181/target.wav', '-c:v', 'copy', '-c:a', 'copy', 'D:/win-pyvideotrans-v4.17-1028/tmp/45152/2820e00181/recogn2_tmp_video.mp4']' 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\only_one.py", line 149, in run
File "videotrans\util\_ffmpeg_runner.py", line 95, in runffmpeg
videotrans.configure.excepts.FFmpegError: opening input: No such file or directory opening input file D:/win-pyvideotrans-v4.17-1028/tmp/45152/2820e00181/novoice.mp4. opening input files: No such file or directory

trk=[TransCreate]: uuid='2820e00181', proxy_str='http://127.0.0.1:6268', cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: D:/asmr/RJ01717564/01_本編.wav,
输出结果保存到文件夹: D:/asmr/RJ01717564/_video_out/01_本編-wav,
临时文件夹: D:/win-pyvideotrans-v4.17-1028/tmp/45152/2820e00181
已选 清理已存在
已启用CUDA加速
已选 降噪, 降噪模型:dpdfnet2.onnx
已选 识别说话人,最大说话人数量不限制
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 日语, , 数据类型:default
翻译渠道:DeepSeek,原始语言:日语,目标语言:简体中文, 已选 发送完整字幕, settings.get('trans_thread')=5, settings.get('aitrans_thread')=40
配音渠道:Edge-TTS(免费), 角色:Xiaoxiao(Female/CN), 配音语言:简体中文
已选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 已选 视频慢速
已选 移除每条字幕配音开头和结尾静音缓冲
静音移除力度: default
字幕: 嵌入软字幕
代理地址: http://127.0.0.1:6268, precent=24, hasend=False, should_recogn=True, should_trans=True, should_dubbing=True, should_hebing=False, is_copy_video=False, video_codec_num=264, ignore_align=False, is_audio_trans=True, clone_ref='D:/win-pyvideotrans-v4.17-1028/tmp/45152/2820e00181/remove_noise.wav', should_recogn2=True, do_diarize=True
video_duration_ms=1815710


=
system:Windows-10-10.0.26200-SP0
version:v4.17
frozen:True
language:zh_CN
root_dir:D:/win-pyvideotrans-v4.17-1028

1 Replies

#1 DeepSeek reply at 2 hours ago

由日志可知:输入文件是 .wav 纯音频(is_audio_trans=True),而当前勾选了二次语音识别 + 嵌入软字幕。音频文件没有视频流,在预处理阶段不会生成 novoice.mp4(无声视频流文件);但二次识别阶段需要将配音与“无声视频”重新合成,FFmpeg 引用该文件时发现不存在,直接报 No such file or directory。

解决方案(任选其一)

  1. 取消勾选「二次语音识别」 —— 音频翻译场景下二次识别必然依赖视频流,纯音频无法完成。
  2. 字幕嵌入类型改为「不嵌入字幕」 —— 音频文件无画面可烧录/挂载字幕流。
  3. 如需完整流程,先将 wav 封装为带画面的视频(如配一张静态图生成 mp4),再作为视频输入处理。

建议对纯音频做视频翻译时:不嵌入字幕 + 不二次识别,仅替换声音即可。

此外可顺带检查:临时目录 D:/win-pyvideotrans-v4.17-1028/tmp/45152/2820e00181/ 下是否存在 novoice.mp4,若不存在即确认为上述原因。

请查阅相关文档:

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