I'm extracting images from a (variable framerate) .avi file with
ffmpeg -i movie.avi -r 25 %05d.png
(the -roption should be equivalent to the filter -vf='fps=fps=25'), but would now like to know the frame number in the original video stream each generated image corresponds to. Is there an easy way to do that?