#4603 RuntimeError: opening output K:/MACHI/win-pyvideotrans-v3.99-428/tmp/7752/6d6d9164ca/en.wav: No such file or directory o

183.14* Posted at: 1 hour ago 👁7

opening output K:/MACHI/win-pyvideotrans-v3.99-428/tmp/7752/6d6d9164ca/en.wav: No such file or directory opening output file K:/MACHI/win-pyvideotrans-v3.99-428/tmp/7752/6d6d9164ca/en.wav. opening output files: No such file or directory
Traceback (most recent call last):
File "videotrans\util\help_ffmpeg.py", line 57, in runffmpeg
File "subprocess.py", line 526, in run
subprocess.CalledProcessError: Command '['ffmpeg', '-hide_banner', '-nostdin', '-ignore_unknown', '-threads', '0', '-y', '-i', 'K:/MACHI/Tubedown Download/pinkpocketTV/new2/01/41/Unreal Engine 5 Pixel Streaming- Step-by-Step Tutorial for Beginners-[HaK2H1A88dg].mp4', '-vn', '-ac', '1', '-ar', '16000', '-c:a', 'pcm_s16le', 'K:/MACHI/win-pyvideotrans-v3.99-428/tmp/7752/6d6d9164ca/en.wav']' returned non-zero exit status 4294967294.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\_mult_video.py", line 35, in run
File "videotrans\task\trans_create.py", line 267, in prepare
File "videotrans\task\trans_create.py", line 932, in _split_audio_byraw
File "videotrans\util\help_ffmpeg.py", line 86, in runffmpeg
RuntimeError: opening output K:/MACHI/win-pyvideotrans-v3.99-428/tmp/7752/6d6d9164ca/en.wav: No such file or directory opening output file K:/MACHI/win-pyvideotrans-v3.99-428/tmp/7752/6d6d9164ca/en.wav. opening output files: No such file or directory


=
system:Windows-10-10.0.19045-SP0
version:v3.99
frozen:True
language:zh
root_dir:K:/MACHI/win-pyvideotrans-v3.99-428

1 Replies

这是由于文件路径过长或包含特殊符号导致 ffmpeg 无法创建临时输出文件。

您的视频路径 K:/MACHI/Tubedown Download/pinkpocketTV/new2/01/41/Unreal Engine 5 Pixel Streaming- Step-by-Step Tutorial for Beginners-[HaK2H1A88dg].mp4 包含大量特殊字符(-[]、空格、点等)且目录层级较深,远超 Windows 默认路径长度限制,导致 ffmpeg 写入临时音频文件失败。

请按以下步骤操作:

  1. 将视频文件移动到盘符根目录下的浅层文件夹,例如 D:\videos\
  2. 重命名文件为简短英文名称,移除所有特殊符号,例如 tutorial.mp4
  3. 重新运行软件,选择新位置的文件。

请查阅相关文档:

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