#6823 预处理阶段出错 opening output file D:/BaiduNetdiskDownload/pyVideoTrans/win-pyvideotrans-v4.07/tmp/10780/7dbba1edc7/200.Creatin

125.67.**8 Posted at: 8 hours ago

预处理阶段出错 opening output file D:/BaiduNetdiskDownload/pyVideoTrans/win-pyvideotrans-v4.07/tmp/10780/7dbba1edc7/200.Creating or Extracting Rhythm or Groove in Rapid Composer.f399-1787494445.7002778.wav. opening output files: Invalid argument
Traceback (most recent call last):

File "videotrans\util\_ffmpeg_runner.py", line 49, in runffmpeg

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

subprocess.CalledProcessError: Command '['ffmpeg', '-hide_banner', '-nostdin', '-ignore_unknown', '-threads', '0', '-y', '-i', 'D:/BaiduNetdiskDownload/Youtube/houpaixude/200.Creating or Extracting Rhythm or Groove in Rapid Composer.f399.mp4', '-ac', '1', '-ar', '16000', '-c:a', 'pcm_s16le', 'D:/BaiduNetdiskDownload/pyVideoTrans/win-pyvideotrans-v4.07/tmp/10780/7dbba1edc7/200.Creating or Extracting Rhythm or Groove in Rapid Composer.f399-1787494445.7002778.wav']' returned non-zero exit status 4294967274.

The above exception was the direct cause of the following exception:

Traceback (most rece
......
ask\job.py", line 35, in run

File "videotrans\task\job.py", line 77, in process_task

File "videotrans\task\speech2text.py", line 61, in prepare

File "videotrans\util\_ffmpeg_audio.py", line 24, in conver_to_16k

File "videotrans\util\_ffmpeg_runner.py", line 78, in runffmpeg

videotrans.configure.excepts.FFmpegError: opening output file D:/BaiduNetdiskDownload/pyVideoTrans/win-pyvideotrans-v4.07/tmp/10780/7dbba1edc7/200.Creating or Extracting Rhythm or Groove in Rapid Composer.f399-1787494445.7002778.wav. opening output files: Invalid argument
cfg=TaskCfgSTT(uuid='7dbba1edc7', name='D:/BaiduNetdiskDownload/Youtube/houpaixude/200.Creating or Extracting Rhythm or Groove in Rapid Composer.f399.mp4', dirname='D:/BaiduNetdiskDownload/Youtube/houpaixude', noextname='200.Creating or Extracting Rhythm or Groove in Rapid Composer.f399', basename='200.Creating or Extracting Rhythm or Groove in Rapid Composer.f399.mp4', ext='mp4', target_dir='D:/BaiduNetdiskDownload/pyVideoTrans/win-pyvideotrans-v4.07/output/recogn', cache_folder='D:/BaiduNetdiskDownload/pyVideoTrans/win-pyvideotrans-v4.07/tmp/10780/7dbba1edc7', is_cuda=True, 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='D:/BaiduNetdiskDownload/pyVideoTrans/win-pyvideotrans-v4.07/output/recogn/200.Creating or Extracting Rhythm or Groove in Rapid Composer.f399.srt', target_wav=None, target_wav_output=None, detect_language='en', recogn_type=3, model_name='Fun-ASR-Nano-2512', shibie_audio='D:/BaiduNetdiskDownload/pyVideoTrans/win-pyvideotrans-v4.07/tmp/10780/7dbba1edc7/200.Creating or Extracting Rhythm or Groove in Rapid Composer.f399-1787494445.7002778.wav', remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=0)


=
system:Windows-10-10.0.26100-SP0
version:v4.07
frozen:True
language:zh
root_dir:D:/BaiduNetdiskDownload/pyVideoTrans/win-pyvideotrans-v4.07

1 Replies

#1 DeepSeek reply at 8 hours ago

此错误是由于视频文件名过长且包含多个点号(.)和空格,导致 FFmpeg 在创建临时输出的 WAV 文件时,Windows 文件系统返回了 Invalid argument 参数错误。同时,文件位于百度网盘同步文件夹内,云同步客户端可能也会锁定文件导致写入失败。

请按以下步骤解决:

  1. 重命名视频文件:将 200.Creating or Extracting Rhythm or Groove in Rapid Composer.f399.mp4 重命名为简单的英文数字组合,避免空格和多个点号,例如 video1.mp4
  2. 移动视频位置:把视频移出百度网盘同步文件夹,放到浅层目录,例如 D:/video1.mp4
  3. 移动软件安装目录:将 pyVideoTrans 软件也移出百度网盘同步文件夹,安装到简单路径,例如 D:/pyVideoTrans(避免云同步客户端占用/锁定临时文件)。
  4. 重新导入执行:在软件中重新选择重命名后的视频进行翻译/转录。
  5. 如果问题仍存在,建议升级到最新版本 v4.11,很多旧版问题已修复。

请查阅相关文档:

Thinking...
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.

Dondate via ko-fi.com

Related resource