[MPlayer-users] xvid

D Richard Felker III dalias at aerifal.cx
Sun Apr 4 05:32:08 CEST 2004

On Sat, Apr 03, 2004 at 04:07:40PM -0800, Loren Merritt wrote:
> That 800kbit/s comes from encodes using fixed quant 2, mplayer 1.0pre3:
> mencoder -o neko.avi dvd://2 -mc 0 -noskip -skiplimit 0 -nosound
> -vf crop=672:432:24:22,hqdn3d=1 -ovc lavc -lavcopts vcodec=mpeg4:
> vqscale=2:vmax_b_frames=2:trell:cbp:v4mv:mbd=2:cmp=2:precmp=2:subcmp=2
> or similar quality and bitrate from xvid 1.0pre3:
> -xvidencopts quant_type=mpeg:vhq=4:chroma_me:cartoon:trellis:hq_ac:
> max_bframes=2:fixed_quant=2

Hmm, you enable mpeg-type quantizers for xvid but not for lavc? That's
really fair... Try -lavcopts mpeg_quant. That's probably the only
difference. After that, if lavc is still lower bitrate it's proably
only because it's better.

Actually one other thing. With vqscale=2 for lavc, B frames will NOT
get q=2, iirc. It's adjusted by the (configurable) offsets for B
frames. Try adjusting these so that B frames also get q=2. Or better
yet, disable B frames. They usually only lower quality for animation.

> The movies involved are "Haibane Renmei" and "Neko no Ongaeshi", which are
> animated at around 10fps (variable framerate), and contain not all that
> much action. At quant 2, Haibane is 820 kbit/s, and Neko is 910 kbit/s.
> Still, frames at quant 2 are not perfect, and they look much better with

BTW, re: 10 fps... aren't these files telecined in some sense? Or not?


More information about the MPlayer-users mailing list