[MEncoder-users] Encode SD to H264 via mencoder - best settings

Grozdan Nikolov microchip at telenet.be
Mon Jan 7 18:16:33 CET 2008


On Monday 07 January 2008 18:11, Warpme wrote:
> Hi *
>
> As subject line says, I want to encode SD (720x576 interlaced, 4-6Mb/s)
> content to non-interlaced H264. Container can be avi.
>
> Currently I was able to achieve quite good quality with latest mencoder
> SVN & following settings (here only video part):
>
> VIDEO_FirstPass="-ovc x264 -x264encopts
> pass=1:bitrate=1200:cabac:deblock:frameref=3:bframes=2:b_adapt:qp_step=4:we
>ight_b:chroma_me"
>
> VIDEO_SecndPass="-ovc x264 -x264encopts
> pass=2:bitrate=1200:cabac:deblock:frameref=3:bframes=2:b_adapt:qp_step=4:we
>ight_b:chroma_me"
>
> Issue is interlacing. Converted content is still interlaced. Playing it
> on VLC with deinterlace ON gives really nice picture, however with
> deinterlace OFF it has classical "interlace" distortions on fast moving
> parts :-(
> As my system is default noninterlaced - I want to have sll contene as
> noninterlaced.
>
> I was trying add video filters like i.e. "-vf yadif=3,mcdeint" but

use -vf yadif=3,mcdeint,framestep=2 

> result was:
> -content start to be deinterlaced
> -all movements are visibly "vibrant"
> -video & audio are out of sync & video is much slower
>
> Can somebody hint me how to improve my mencoder parameters to have
> proper interlacing & keep good quality ?
>
> Also maybe this thread might be good place to share other ppl optimal
> SD->H264 mencoder parameters...

I'm advertising again but try out my script if you wish
http://sourceforge.net/projects/h264enc

it has 22 quality presets one can choose from

>
> thanx in advance



More information about the MEncoder-users mailing list