[MPlayer-users] using mencoder with -mf, pixelation
D Richard Felker III
dalias at aerifal.cx
Sun Mar 27 03:33:34 CEST 2005
On Sat, Mar 26, 2005 at 01:05:06PM -0800, Brian Craft wrote:
> On Fri, Mar 25, 2005 at 09:53:25PM -0600, Jeff Clagg wrote:
> > On Sat, Mar 26, 2005 at 01:05:28AM +0000, Martin Collins wrote:
> > > Try:
> > > mencoder mf://'*jpg' -mf type=jpeg -vf scale=352:288 -ovc lavc \
> > > -lavcopts vcodec=mpeg1video:mbd2:v4mv:trell:cbp:vbitrate=500 \
> > > -nosound -ofps 25 -of mpeg -o filename.mpg
> >
> > This is wrong in a couple of different ways. v4mv is not possible in
> > mpeg1 and mpeg2. "mbd2" is not a lavcopt - you probably mean mbd=2.
> >
> > Trying *cmp=2 or *cmp=3 is good in my experience, or *cmp=6 to trade off
> > a large amount of speed against a small additional quality gain.
>
> Thanks for all the replies! I'm getting much better results now.
>
> Regarding the frame rate, mpeg1 seems to be very limited. I need it
> much lower than the standard video rates, like 24 or 25 fps, but the
> encoder doesn't allow anything below 24 as far as I can tell. I haven't
> found docs on the subject. I guess I could duplicate frames before
> encoding them, to get integer dividers of the supported rates. Is
> there any other way to get lower frame rates?
Duplicate frames during encoding. Just use harddup at the end of your
video filter chain, and -ofps 24. Your input framerate you select with
-mf should evenly divide 24 (or whatever output framerate you've
selected) if you don't want the video to be choppy.
Rich
More information about the MPlayer-users
mailing list