预处理阶段出错 opening input: No such file or directory opening input file Users/xiaohuo/Desktop/新录音 31.m4a. opening input files: No such file or directory
Traceback (most recent call last):
File "/Users/xiaohuo/pyvideotrans-main/videotrans/util/help_ffmpeg.py", line 261, in runffmpeg
subprocess.run(File "/Users/xiaohuo/.local/share/uv/python/cpython-3.10.19-macos-aarch64-none/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,subprocess.CalledProcessError: Command '['ffmpeg', '-hide_banner', '-ignore_unknown', '-threads', '0', '-y', '-i', 'Users/xiaohuo/Desktop/新录音 31.m4a', '-ac', '1', '-ar', '16000', '-c:a', 'pcm_s16le', '-af', 'volume=2.0,alimiter=limit=1.0', '/Users/xiaohuo/pyvideotrans-main/tmp/44965/1d45f5b36e/新录音 31-1780160518.485346.wav']' returned non-zero exit status 254.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/xiaohuo/pyvideotrans-main/videotrans/task/job.py", line 61, in run
trk.prepare()File "/Users/xiaohuo/pyvideotrans-main/videotrans/task/_speech2text.py", line 54, in prepare
tools.conver_to_16k(self.cfg.name, self.cfg.shibie_audio)File "/Users/xiaohuo/pyvideotrans-main/videotrans/util/help_ffmpeg.py", line 677, in conver_to_16k
return runffmpeg(cmd)File "/Users/xiaohuo/pyvideotrans-main/videotrans/util/help_ffmpeg.py", line 307, in runffmpeg
raise RuntimeError(err)RuntimeError: opening input: No such file or directory opening input file Users/xiaohuo/Desktop/新录音 31.m4a. opening input files: No such file or directory
TaskCfgSTT(is_cuda=False, uuid='1d45f5b36e', cache_folder='/Users/xiaohuo/pyvideotrans-main/tmp/44965/1d45f5b36e', target_dir='/Users/xiaohuo/Downloads/pyvideotrans-main/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='/Users/xiaohuo/Downloads/pyvideotrans-main/output/recogn/新录音 31.srt', target_wav=None, target_wav_output=None, name='Users/xiaohuo/Desktop/新录音 31.m4a', noextname='新录音 31', basename='新录音 31.m4a', ext='m4a', dirname='/Users/xiaohuo/pyvideotrans-main/Users/xiaohuo/Desktop', shound_del_name=None, detect_language='zh-cn', recogn_type=0, model_name='large-v3-turbo', shibie_audio='/Users/xiaohuo/pyvideotrans-main/tmp/44965/1d45f5b36e/新录音 31-1780160518.485346.wav', remove_noise=False, enable_diariz=True, nums_diariz=1, rephrase=0, fix_punc=False)
=
system:macOS-26.5-arm64-arm-64bit
version:v3.98
frozen:False
language:zh
root_dir:/Users/xiaohuo/pyvideotrans-main
Python: 3.10.19 (main, Feb 12 2026, 00:36:33) [Clang 21.1.4 ]