ffmpeg: extracting images from video together with their frame numbers? -
i'm extracting images (variable framerate) .avi file with
ffmpeg -i movie.avi -r 25 %05d.png
(the -r
option should equivalent filter -vf='fps=fps=25'
), know frame number in original video stream each generated image corresponds to. there easy way that?
if use
ffmpeg -i movie.avi -vsync 0 %05d.png
no frames duplicated or dropped, each frame serial no. should correspond index in video.
Comments
Post a Comment