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 -roption 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

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -