[FFmpeg-user] Scene detection -- numerical output?

David Liontooth lionteeth at cogweb.net
Thu Nov 8 05:04:59 CET 2012

The scene detection feature is a great addition:



ffmpeg -i video.avi -vf select='gt(scene\,0.4)',scale=160:120,tile -frames:v 1 preview.png

Set a threshold value between 0 and 1 for detecting a new scene.
Increase the value to lower the number of detected scenes; sane values 
are typically between 0.3 and 0.5.

Is it possible to get a numerical output (say, frame numbers) instead of 
the montage?


More information about the ffmpeg-user mailing list