[MEncoder-users] Extracting every 10th frame

DaveG mplayer01 at dgmm.net
Mon Mar 5 23:50:48 CET 2007


On Sunday 04 March 2007 23:18, Ivo wrote:
> On Sunday 04 March 2007 23:53, DaveG wrote:
> > Is there an obvious/easy way to extract every 10th frame from a video
> > file? Or every 20th etc.
> >
> > The only obvious method I can see ATM is
> >
> > mplayer source.mpg  -benchmark -nosound -vo png:z=0
> >
> > followed by deleting all frames/files where the name doesn't end in 0.png
> > and then re-encoding the remaining 10% of frames resulting in a video
> > which plays back at 10x original speed.
> >
> > Source video is MPeG-PS
>
> Search the manual page for the framestep filter.

Thank you.  That's what i was looking for.  :-)

-- 
Dave



More information about the MEncoder-users mailing list