#441 Error opening input files: No such file or directory

IP: 58.152.x.x Posted at: 5 hours ago 👁10

预处理阶段出错:Traceback (most recent call last):

File "/Users/bennyjanson/videotrans/pyvideotrans/videotrans/util/help_ffmpeg.py", line 275, in runffmpeg

subprocess.run(

~~~~~~~~~~~~~~^

cmd,

^^^^

......

creationflags=creationflags

^^^^^^^^^^^^^^^^^^^^^^^^^^^

)

^

File "/opt/homebrew/Cellar/[email protected]/3.13.7/Frameworks/Python.framework/Versions/3.13/lib/python3.13/subprocess.py", line 577, in run

raise CalledProcessError(retcode, process.args,

output=stdout, stderr=stderr)

subprocess.CalledProcessError: Command '['ffmpeg', '-hide_banner', '-ignore_unknown', '-y', '-i', 'Users/bennyjanson/game/s s s s.mp4', '-ac', '1', '-ar', '16000', '-c:a', 'pcm_s16le', '/Users/bennyjanson/Videos/pyvideotrans/tmp/speech2text/s s s s-1757756533.838374.wav']' returned non-zero exit status 254.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "/Users/bennyjanson/videotrans/pyvideotrans/videotrans/task/job.py", line 46, in run

trk.prepare()

~~~~~~~~~~~^^

File "/Users/bennyjanson/videotrans/pyvideotrans/videotrans/task/_speech2text.py", line 46, in prepare

tools.conver_to_16k(self.cfg['name'], self.cfg['shibie_audio'])

~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/Users/bennyjanson/videotrans/pyvideotrans/videotrans/util/help_ffmpeg.py", line 616, in conver_to_16k

return runffmpeg([

"-y",

......

Path(target_audio).as_posix(),

])

File "/Users/bennyjanson/videotrans/pyvideotrans/videotrans/util/help_ffmpeg.py", line 315, in runffmpeg

raise RuntimeError(extract_concise_error(e.stderr))

RuntimeError: Error opening input file Users/bennyjanson/game/s s s s.mp4.

Error opening input files: No such file or directory

=====

macOS-15.6.1-arm64-arm-64bit-Mach-O

version:v3.78

frozen:False

language:zh

1 Replies

Admin

s s s s.mp4这名字中间是空格吗?改为 s.mp4

Post Your Reply

Similar issues already exist

Trending Questions