我正在尝试使用ffprobe
. 我使用以下命令:
ffprobe -show_frames -of compact=p=0 -f lavfi "movie=test_clip.avi,select=gt(scene\,.4)" > test_clip_cuts.txt
它工作得很好,毫无疑问。但现在我只想检测特定范围内的削减。假设从 3 到 8 秒。我怎么能那样做?
我尝试使用-read_intervals 3%8
,但它给了我一个错误:
Could not seek to position 3000000: Invalid argument
Could not read packets in interval id:0 start:3 end:8
命令-read_intervals %+3
(从一开始到第 3 秒读取)有效,但以奇怪的方式 - 它检测到第 4 秒(我猜是超过)的剪切。
所以我很困惑。这些“间隔”是什么以及如何使用它们?是否可以在常规秒内设置范围?
以防万一这是我的测试剪辑https://yadi.sk/i/nd-c12mYeQ2nb