#7889 Traceback (most recent call last): File

206.14**3 Posted at: 1 hour ago

Traceback (most recent call last):
File "I:\dy\pyvideotrans\videotrans\util\_ffmpeg_runner.py", line 48, in runffmpeg

subprocess.run(

File "C:\Users\Administrator\AppData\Roaming\uv\python\cpython-3.10.19-windows-x86_64-none\lib\subprocess.py", line 526, in run

raise CalledProcessError(retcode, process.args,

subprocess.CalledProcessError: Command ''ffmpeg', '-hide_banner', '-nostdin', '-ignore_unknown', '-y', '-i', 'D:/电影/新建文件夹 (3)/【高清剧集网发布 www.DDHDTV.com】法律与秩序:特殊受害者 第二十五季[全13集.1080p.Peacock.WEB-DL.DDP.5.1.H.264-BlackTV/Law.&.Order.Special.Victims.Unit.S25E09.Children.of.Wolves.1080p.Peacock.WEB-DL.DDP.5.1.H.264-BlackTV.mkv', '-vf', 'fps=1000/1000', '-q:v', '3', 'D:/电影/新建文件夹 (3)/shot_match_20261008_214807/_shot_match_temp/frames/source/interval_%06d.jpg']' returned non-zero exit status 1.

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

Traceback (most recent call last):
File "I:\dy\pyvideotrans\videotrans\mainwin\_actions_shot_match.py", line 107, in _run_shot_match

results = run_match_job(

File "I:\dy\pyvideotrans\videotrans\task\shot_matcher.py", line 1112, in run_match_job

results = match_shots(

File "I:\dy\pyvideotrans\videotrans\task\shot_matcher.py", line 776, in match_shots

_, source_samples = extract_interval_samples(

File "I:\dy\pyvideotrans\videotrans\task\shot_matcher.py", line 368, in extract_interval_samples

runffmpeg([

File "I:\dy\pyvideotrans\videotrans\util\_ffmpeg_runner.py", line 77, in runffmpeg

raise FFmpegError(err) from e

videotrans.configure.excepts.FFmpegError: frame= 143 fps= 35 q=3.0 size=N/A time=00:02:24.00 bitrate=N/A speed=34.9x elapsed=0:00:04.12 frame= 163 fps= 35 q=3.0 size=N/A time=00:02:43.00 bitrate=N/A speed=35.1x elapsed=0:00:04.64 frame= 181 fps= 35 q=3.0 size=N/A time=00:03:01.00 bitrate=N/A speed=35.1x elapsed=0:00:05.15 frame= 200 fps= 35 q=3.0 size=N/A time=00:03:20.00 bitrate=N/A speed=35.2x elapsed=0:00:05.67 frame= 219 fps= 35 q=3.0 size=N/A time=00:03:39.00 bitrate=N/A speed=35.4x elapsed=0:00:06.18 frame= 238 fps= 36 q=3.0 size=N/A time=00:03:58.00 bitrate=N/A speed=35.5x elapsed=0:00:06.70 frame= 258 fps= 36 q=3.0 size=N/A time=00:04:18.00 bitrate=N/A speed=35.7x elapsed=0:00:07.21 frame= 276 fps= 36 q=3.0 size=N/A time=00:04:36.00 bitrate=N/A speed=35.7x elapsed=0:00:07.73 frame= 295 fps= 36 q=3.0 size=N/A time=00:04:55.00 bitrate=N/A speed=35.7x elapsed=0:00:08.25 frame= 316 fps= 36 q=3.0 size=N/A time=00:05:16.00 bitrate=N/A speed=36.1x elapsed=0:00:08.76


=
system:Windows-10-10.0.19041-SP0
version:v4.15
frozen:False
language:zh_CN
root_dir:I:/dy/pyvideotrans
Python: 3.10.19 (main, Feb 12 2026, 00:37:08) [MSC v.1944 64 bit (AMD64)]

1 Replies

#1 DeepSeek reply at 1 hour ago

核心原因是文件路径中包含中文、空格和特殊字符(&、.等),导致 ffmpeg 命令解析失败。

从报错看,ffmpeg 正在执行 shot_matcher(文稿匹配与打轴功能的抽帧)时崩溃。

解决方案:

  1. 将该 mkv 视频移动到浅层全英文目录下,例如 D:/videos/law_s25e09.mkv。
  2. 文件名只保留英文字母、数字和下划线,去掉所有中文、空格、&、.、[]、() 等特殊符号。
  3. 重新在软件中导入处理。
注意:ffmpeg 对含空格路径需正确转义,但该视频路径含中文+空格+&+多级目录,极易触发命令行解析异常,最稳妥的办法就是全部改为纯英文简短路径和文件名。

如果按上述修改后仍报错,请提供软件安装目录下 logs/ 文件夹中最新日志文件底部约30行信息以便进一步分析。

请查阅相关文档:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
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