[MEncoder-users] Can't get enough quality with xvid

Vladimir Mosgalin mosgalin at VM10124.spb.edu
Sun Sep 24 19:07:22 CEST 2006


Hi Pepe!

 On 2006.09.24 at 18:48:43 +0200, Pepe wrote next:

> I re-encoded to scale to 704x576, but image in my video is worse, more 
> "blocky". This is the command I used (this is the 2nd pass, the first one is 
> the same with "pass=1:turbo"):
> 
> mencoder -noodml -o my_video.avi \
>   -oac copy \
>   -ovc xvid \
>   -xvidencopts 
> bitrate=1064:nointerlacing:nopacked:pass=2:max_iquant=31:max_pquant=31:max_bquant=31:max_bframes=0 
> \
>   -vf-add scale=704:576 -zoom \
>   -vf-add harddup \
>   -force-avi-aspect 4:3 \
>   -sws 9  \
>   orig_video.avi
> 
> I didn't use b-frames because my dvd player doesn't like them in hi-res 
> videos.

That's a shame. b-frames in xvid improve quality a lot.

> Is there any other option I should use to improve quality?

try
me_quality=6:quant_type=mpeg:keyframe_boost=15:trellis:chroma_me:chroma_opt:hq_ac:vhq=1

and use higher bitrate. If you reencode together with increasing
resolution and disabling b-frames, it's quite possible that you won't be
able to avoid blockness unless you increase your bitrate. Try 1500,
2000, 2500...

-- 

Vladimir



More information about the MEncoder-users mailing list