[MPlayer-users] Generate MPEG2 with precise FPS

RC cooleyr at gmail.com
Thu Sep 4 21:23:14 CEST 2008


On Thu, 4 Sep 2008 16:00:23 +0200
"Rob Gom" <rgom.mplayer at gmail.com> wrote:

>  I couldn't find a way to duplicate frames
> in the first place, so I did encoding in two steps:
> # encode to MPEG-4 with 1 frame per second
> mencoder "mf://*.jpg" -mf fps=1 -o test.avi -ovc lavc -lavcopts
> vcodec=msmpeg4v2:vbitrate=800
> # then re-code the stream to MPEG-2 with frame duplication
> mencoder test.avi -o test.mpeg -ovc lavc -vf harddup -lavcopts
> vcodec=mpeg2video -of mpeg -ofps 25

Why do you think you need to encode to MPEG-4 when the source is JPEGs? 
Just add the mf://... and -mf... values to your second command-line,
instead of test.avi.



More information about the MPlayer-users mailing list