#4728 TaskCfgSTT(is_cuda=True, uuid='3ed8d5a232', cache_folder='F:/AI剪辑/tmp/15436/3ed8d5a232', target_dir='F:/AI剪辑/output/reco

140.237* Posted at: 4 hours ago

预处理阶段出错 opening input: No such file or directory opening input file F:/素材/冷漠哥影视/新建文件夹/%23因为一个片段看了整部剧 %23温情 %23美剧.mp4. opening input files: No such file or directory
Traceback (most recent call last):
File "videotrans\util\help_ffmpeg.py", line 261, in runffmpeg
File "subprocess.py", line 526, in run
subprocess.CalledProcessError: Command '['ffmpeg', '-hide_banner', '-ignore_unknown', '-threads', '0', '-y', '-i', 'F:/素材/冷漠哥影视/新建文件夹/%23因为一个片段看了整部剧 %23温情 %23美剧.mp4', '-ac', '1', '-ar', '16000', '-c:a', 'pcm_s16le', '-af', 'volume=2.0,alimiter=limit=1.0', 'F:/AI剪辑/tmp/15436/3ed8d5a232/%23因为一个片段看了整部剧 %23温情 %23美剧-1779786357.6422272.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 61, in run
File "videotrans\task\_speech2text.py", line 54, in prepare
File "videotrans\util\help_ffmpeg.py", line 677, in conver_to_16k
File "videotrans\util\help_ffmpeg.py", line 307, in runffmpeg
RuntimeError: opening input: No such file or directory opening input file F:/素材/冷漠哥影视/新建文件夹/%23因为一个片段看了整部剧 %23温情 %23美剧.mp4. opening input files: No such file or directory
TaskCfgSTT(is_cuda=True, uuid='3ed8d5a232', cache_folder='F:/AI剪辑/tmp/15436/3ed8d5a232', target_dir='F:/AI剪辑/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='F:/AI剪辑/output/recogn/%23因为一个片段看了整部剧 %23温情 %23美剧.srt', target_wav=None, target_wav_output=None, name='F:/素材/冷漠哥影视/新建文件夹/%23因为一个片段看了整部剧 %23温情 %23美剧.mp4', noextname='%23因为一个片段看了整部剧 %23温情 %23美剧', basename='%23因为一个片段看了整部剧 %23温情 %23美剧.mp4', ext='mp4', dirname='F:/素材/冷漠哥影视/新建文件夹', shound_del_name=None, detect_language='zh-cn', recogn_type=0, model_name='large-v3-turbo', shibie_audio='F:/AI剪辑/tmp/15436/3ed8d5a232/%23因为一个片段看了整部剧 %23温情 %23美剧-1779786357.6422272.wav', remove_noise=True, enable_diariz=True, nums_diariz=0, rephrase=0, fix_punc=False)


=
system:Windows-10-10.0.19045-SP0
version:v3.98
frozen:True
language:zh
root_dir:F:/AI剪辑

1 Replies

预处理阶段出错的原因:视频文件路径及文件名包含 #、空格、中文等特殊字符,导致 FFmpeg 无法正确识别输入文件。

解决方法

  1. 重命名视频文件:将文件名改为纯英文或数字(例如 video.mp4),移除 #、空格、中文等符号。
  2. 移动文件:将视频放到浅层目录(如 D:\videos\),避免过长的路径。
  3. 重新载入软件:在 pyVideoTrans 中重新选择该文件进行翻译。

请查阅相关文档:

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