#4016 TaskCfgSTT(is_cuda=False, uuid='7d2b0f40aa', cache_folder='E:/Fanyizimu/tmp/39728/7d2b0f40aa', target_dir='E:/Fanyizimu/

124.91* Posted at: 2 hours ago 👁12

预处理阶段出错 opening input: No such file or directory opening input file E:/123/177%5B250328%5D黑丝过膝cos.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', 'E:/123/177%5B250328%5D黑丝过膝cos.mp4', '-ac', '1', '-ar', '16000', '-c:a', 'pcm_s16le', '-af', 'volume=2.0,alimiter=limit=1.0', 'E:/Fanyizimu/tmp/39728/7d2b0f40aa/177%5B250328%5D黑丝过膝cos-1775873759.24055.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 E:/123/177%5B250328%5D黑丝过膝cos.mp4. opening input files: No such file or directory
TaskCfgSTT(is_cuda=False, uuid='7d2b0f40aa', cache_folder='E:/Fanyizimu/tmp/39728/7d2b0f40aa', target_dir='E:/Fanyizimu/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:/Fanyizimu/output/recogn/177%5B250328%5D黑丝过膝cos.srt', target_wav=None, target_wav_output=None, name='E:/123/177%5B250328%5D黑丝过膝cos.mp4', noextname='177%5B250328%5D黑丝过膝cos', basename='177%5B250328%5D黑丝过膝cos.mp4', ext='mp4', dirname='E:/123', shound_del_name=None, detect_language='ja', recogn_type=0, model_name='large-v3-turbo', shibie_audio='E:/Fanyizimu/tmp/39728/7d2b0f40aa/177%5B250328%5D黑丝过膝cos-1775873759.24055.wav', remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=False)


=
system:Windows-10-10.0.26200-SP0
version:v3.98
frozen:True
language:zh
root_dir:E:/Fanyizimu

1 Replies

这是由于输入视频文件的路径或文件名包含特殊字符(%5B%5D,即 URL 编码的 []),导致 ffmpeg 无法正确识别和打开文件。

解决方案:

  1. 重命名视频文件:将视频文件 177%5B250328%5D黑丝过膝cos.mp4 重命名为一个仅包含英文字母、数字和下划线的简短名称,例如 video.mp4
  2. 移动文件位置:确保视频文件所在的目录路径(E:/123/)不包含中文字符或特殊符号。建议将视频移动到类似 D:\videos 这样的纯英文路径下。
  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