[FFmpeg-user] Detecting Scene Changes In Source Video?

James Board jpboard2 at yahoo.com
Mon Aug 19 20:41:09 CEST 2013


>> Is there a way to use ffmpeg to detect scene changes in a video file?  I know

>> some of the codecs must do this already, but I don't know if that output is
>> readily available?  Maybe in the info file produced when 2-pass encoding?
>
>Check the select filter and the scene paramenter.

How about something like
    ffmpeg -i IN.avi -vf select='gt(scene\,0.4',print(n)
How can I make the above command work so that it prints the
frame numbers of scene changes?


More information about the ffmpeg-user mailing list