#1414 预处理阶段出错Error opening output files: No such file or directory

111.41* Posted at: 3 hours ago 👁9

预处理阶段出错:运行时错误:Error opening output file C:/Users/67520/Videos/4K Video Downloader+/_video_out/Playing FAST Chord Changes is as easy as telling a joke.../shibie.wav.
Error opening output files: No such file or directory:
Traceback (most recent call last):
File "videotrans\util\help_ffmpeg.py", line 274, in runffmpeg
File "subprocess.py", line 524, in run
subprocess.CalledProcessError: Command '['ffmpeg', '-hide_banner', '-ignore_unknown', '-threads', '0', '-y', '-i', 'D:/ai/win-videotrans-v3.84/tmp43680/f2372e7ca1/en.wav', '-ac', '1', '-ar', '16000', '-c:a', 'pcm_s16le', '-af', 'highpass=f=80,afftdn=nf=-25,loudnorm,volume=1.5', 'C:/Users/67520/Videos/4K Video Downloader+/_video_out/Playing FAST Chord Changes is as easy as telling a joke.../shibie.wav']' 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 656, in conver_to_16k
File "videotrans\util\help_ffmpeg.py", line 319, in runffmpeg
RuntimeError: Error opening output file C:/Users/67520/Videos/4K Video Downloader+/_video_out/Playing FAST Chord Changes is as easy as telling a joke.../shibie.wav.
Error opening output files: No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\util\help_ffmpeg.py", line 274, in runffmpeg
File "subprocess.py", line 524, in run
subprocess.CalledProcessError: Command '['ffmpeg', '-hide_banner', '-ignore_unknown', '-threads', '0', '-y', '-i', 'D:/ai/win-videotrans-v3.84/tmp43680/f2372e7ca1/en.wav', '-ac', '1', '-ar', '16000', '-c:a', 'pcm_s16le', 'C:/Users/67520/Videos/4K Video Downloader+/_video_out/Playing FAST Chord Changes is as easy as telling a joke.../shibie.wav']' returned non-zero exit status 4294967294.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\job.py", line 65, in run
File "videotrans\task\trans_create.py", line 257, in prepare
File "videotrans\util\help_ffmpeg.py", line 660, in conver_to_16k
File "videotrans\util\help_ffmpeg.py", line 319, in runffmpeg
RuntimeError: Error opening output file C:/Users/67520/Videos/4K Video Downloader+/_video_out/Playing FAST Chord Changes is as easy as telling a joke.../shibie.wav.
Error opening output files: No such file or directory


=
system:Windows-10-10.0.26100-SP0
version:v3.84
frozen:True
language:zh
root_dir:D:/ai/win-videotrans-v3.84

1 Replies

这个错误是由于输出文件路径包含特殊字符或路径过长导致的。错误信息显示无法创建输出文件 C:/Users/67520/Videos/4K Video Downloader+/_video_out/Playing FAST Chord Changes is as easy as telling a joke.../shibie.wav

请按以下步骤解决:

  1. 修改输出路径:将输出目录设置到更短的纯英文路径,例如 D:/output 或直接在桌面创建输出文件夹。
  2. 重命名视频文件:确保处理的视频文件名不包含特殊符号和空格,建议使用纯英文或数字命名。
  3. 检查路径权限:确保目标输出文件夹有写入权限。
  4. 避免长路径:Windows系统对文件路径长度有限制,请确保整个文件路径(包括文件名)不超过260个字符。

重新设置后再次尝试处理视频即可解决此问题。

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