[FFmpeg-user] put timestamp at output filename

Roger Pack rogerdpack2 at gmail.com
Mon Nov 26 20:03:08 CET 2012

On 11/26/12, ypatios <ypatios at gmail.com> wrote:
> hello list,
> i am trying to extract the I-frames and their respective timestamps from a
> video file.
> i have been successfully using the select filter to extract I-frames. e.g.:
> ffmpeg -i input.avi -vf select='eq(pict_type,I)' -vsync 0 -an
> I_frame%03d.png
> now, is there a way to put the timestamp directly at the name of each
> output image file?
> so, the ideal name for each output file would be:
> I_frame_[ts_in_milliseconds].png

Probably not today, though it may make an interesting feature request
for libavfilter...

More information about the ffmpeg-user mailing list