[mythtv-users] mencoder, x264, and myth

Julian Edwards myth at julian-edwards.com
Wed Jan 20 21:22:53 UTC 2010


On Saturday 09 January 2010 17:51:22 Yan Seiner wrote:
> >    Here's my x264 options. The bitrate I use is 1500.
> >
> > X264_PASS1="-ovc x264 -x264encopts
> > subq=4:bframes=4:b_pyramid:weight_b:pass=1:psnr:bitrate=$BITRATE:turbo=1"
> > X264_PASS2="-ovc x264 -x264encopts
> > subq=5:partitions=4x4:8x8dct:frameref=3:me=hex:bframes=4:b_pyramid:pass=2
> >:psnr:bitrate=$BITRATE"
> 
> Thanks!  That at least seems to work - almost.  For some reason, the
> b_pyramid causes mine to fail, but it's running without it.  I also
> added threads-auto as I have a dual core system.


Here's what I use which produces excellent results:

-x264encopts 
pass=1:crf=22:frameref=2:bframes=3:b_pyramid:weight_b:subq=5:turbo=1:threads=0 

-x264encopts 
pass=2:qp=22:frameref=4:bframes=3:b_adapt:b_pyramid:weight_b:8x8dct:me=umh:subme=7:subq=6:chroma_me:mixed_refs:trellis=1:nofast_pskip:direct_pred=auto:threads=0 

The options changed on the ffmpeg library at some point - I suspect you might 
have an old release if b_pyramid fails to work.


More information about the mythtv-users mailing list