[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:

http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=72868144e5862168a4f829557b7a41f686b8b12d

Example:

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?

Cheers,
David




More information about the ffmpeg-user mailing list