PDA

View Full Version : Extracting keyframes


Frigo
4th October 2007, 22:31
Is there any way to extract all keyframes into separate image files from a video ? (Without manual intervention, of course)

Thank you in advance for your answers :)

setarip_old
4th October 2007, 22:45
What is the format of the video (AVI, MPEG, etc.)?

Frigo
5th October 2007, 00:20
Well, I have the videos mainly in MKV container with H.264 codec, but there are XviD, DivX codecs too, and some AVI files and DVD rips.

Though a solution to any of these formats would be a huge help.

setarip_old
5th October 2007, 00:36
All of the .AVIs that you've created, whether using DivX, XviD, or another codec, can be readily handled by using the "Frame Decimation" function in VirtualDub (Click on the "Video" dropdown menu,then select "Frame Rate")

Frigo
5th October 2007, 16:44
Meanwhile I found the ultimate way to do it.

mplayer filename -benchmark -nosound -noaspect -noframedrop -ao null -vo png:z=6 -vf framestep=I

Thanks anyway :)