I'm trying to detect cuts between shots with ffprobe
. I use the following command:
ffprobe -show_frames -of compact=p=0 -f lavfi "movie=test_clip.avi,select=gt(scene\,.4)" > test_clip_cuts.txt
It works just fine, there's no question. But now I want to detect the cuts in certain range only. Let's say from 3 to 8 seconds. How I could do that?
I tried to use -read_intervals 3%8
but it gave me an error:
Could not seek to position 3000000: Invalid argument
Could not read packets in interval id:0 start:3 end:8
Command -read_intervals %+3
(read from the very begining to 3rd second) works, but in weird way - it detects cuts up to 4th second (and over, I guess).
So I'm confused. What are those "intervals" and how to use them? Is it possible to set the range in regular seconds?
Just in case here is my test clip https://yadi.sk/i/nd-c12mYeQ2nb