#4439 TaskCfgSTT(is_cuda=True, uuid='1fa895ca70', cache_folder='E:/win-pyvideotrans-v3.99-428/tmp/87192/1fa895ca70', target_di

129.128* Posted at: 2 hours ago 👁10

预处理阶段出错 opening output file E:/win-pyvideotrans-v3.99-428/tmp/87192/1fa895ca70/250323大A成色-1778032599.038524.wav. opening output files: Invalid argument
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', 'F:/Z哥/250323大A成色.mp4', '-ac', '1', '-ar', '16000', '-c:a', 'pcm_s16le', '-af', 'volume=2.0,alimiter=limit=1.0', 'E:/win-pyvideotrans-v3.99-428/tmp/87192/1fa895ca70/250323大A成色-1778032599.038524.wav']' returned non-zero exit status 4294967274.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\job.py", line 61, in run
File "videotrans\task\_speech2text.py", line 54, in prepare
File "videotrans\util\help_ffmpeg.py", line 467, in conver_to_16k
File "videotrans\util\help_ffmpeg.py", line 86, in runffmpeg
RuntimeError: opening output file E:/win-pyvideotrans-v3.99-428/tmp/87192/1fa895ca70/250323大A成色-1778032599.038524.wav. opening output files: Invalid argument
TaskCfgSTT(is_cuda=True, uuid='1fa895ca70', cache_folder='E:/win-pyvideotrans-v3.99-428/tmp/87192/1fa895ca70', target_dir='E:/output/recogn', source_language=None, source_language_code=None, source_sub=None, source_wav=None, source_wav_output=None, target_language=None, target_language_code=None, target_sub='E:/output/recogn/250323大A成色.srt', target_wav=None, target_wav_output=None, name='F:/Z哥/250323大A成色.mp4', noextname='250323大A成色', basename='250323大A成色.mp4', ext='mp4', dirname='F:/Z哥', shound_del_name=None, detect_language='zh-cn', recogn_type=2, model_name='1.7B', shibie_audio='E:/win-pyvideotrans-v3.99-428/tmp/87192/1fa895ca70/250323大A成色-1778032599.038524.wav', remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=False)


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

1 Replies

这是 FFmpeg 在处理文件时,因输出路径无效导致的错误。通常是因为文件路径中包含特殊字符或不支持的命令行参数,导致无法创建输出文件 250323大A成色-1778032599.038524.wav

解决方法(按顺序尝试):

  1. 将原视频文件 移动/重命名 为简短纯英文,路径不要有中文、空格或特殊符号(例如 F:\zge\video.mp4)。同时确保软件安装目录也不含中文。
  2. 检查目标磁盘 E: 是否空间充足,且该目录可写入。
  3. 管理员身份 重新运行 sp.exe
  4. 若仍有问题,尝试在“高级选项”中取消勾选 CUDA加速,关闭硬件加速排除干扰(有时候参数冲突)。

参考文档

请查阅相关文档:

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