[FFmpeg-user] Output the timestamp of a frame with an image

Andrew Sinclair ajsinclair at gmail.com
Tue Aug 5 07:36:45 CEST 2014


Hi,

Is it possible to get the timestamp of a frame when using the select filter
to output a frame based on a scenecut? for example:

ffmpeg -i ../source/dig_720p.mp4 -vf select='gt(scene\,0.6)' -vsync vfr
preview_%04d.png

Is it possible to get the timestamp in the output file name instead of just
a number in the sequence?

e.g. preview_%<timestamp of frame>.jpg

Thanks,
Andrew


More information about the ffmpeg-user mailing list