[MEncoder-users] Framerate problems with yadif and mcdeint

Jonathan Busby jonathanbusby at gmail.com
Mon Mar 9 01:01:53 CET 2009


RC wrote:
> Understanding what you've told mencoder to do would help quite a bit.
>
> Short of that, framestep=2 should fix it.
Thanks for the tip! :) I apologize if I wasn't more specific.
Here is the encode shell script that I was using. Yes, I know
that the huge list of filters and ridiculously maxed-out-for-quality
options to x264 are overkill, but why waste compute cycles? ;)

--------------------------------------------------------------------------------------------------------

#!/bin/sh

mencoder cut2.mpg -nosound -vf yadif=1:1,mcdeint=3:1:10,\
hqdn3d=8:6:12,softskip,pp=ha:128:7/va/dr/al/tn:64:128:256\
-ofps 48000/1001 -ovc x264 -x264encopts\
bitrate=2048:pass=1:turbo=1:frameref=15:bframes=5:b_adapt\
:b_pyramid:cabac:qcomp=0.85:keyint=500:direct_pred=auto:\
weight_b:partitions=all:8x8dct:me=umh:subq=9:chroma_me:\
mixed_refs:nodct_decimate:deblock:log=3:psnr:ssim:\
deadzone_intra=5:deadzone_inter=10:trellis=2:me_range=32 \
-o /dev/null

mencoder cut2.mpg -nosound -vf yadif=1:1,mcdeint=3:1:10,\
hqdn3d=8:6:12,softskip,pp=ha:128:7/va/dr/al/tn:64:128:256\
-ofps 48000/1001 -ovc x264 -x264encopts\
bitrate=2048:pass=2:frameref=15:bframes=5:b_adapt\
:b_pyramid:cabac:qcomp=0.85:keyint=500:direct_pred=auto:\
weight_b:partitions=all:8x8dct:me=umh:subq=9:chroma_me:\
mixed_refs:nodct_decimate:deblock:log=3:psnr:ssim:\
deadzone_intra=5:deadzone_inter=10:trellis=2:me_range=32 \
-o /dev/null

mencoder cut2.mpg -nosound -vf yadif=1:1,mcdeint=3:1:10,\
hqdn3d=8:6:12,softskip,pp=ha:128:7/va/dr/al/tn:64:128:256\
-ofps 48000/1001 -ovc x264 -x264encopts\
bitrate=2048:pass=3:turbo=1:frameref=15:bframes=5:b_adapt\
:b_pyramid:cabac:qcomp=0.85:keyint=500:direct_pred=auto:\
weight_b:partitions=all:8x8dct:me=umh:subq=9:chroma_me:\
mixed_refs:nodct_decimate:deblock:log=3:psnr:ssim:\
deadzone_intra=5:deadzone_inter=10:trellis=2:me_range=32 \
-o cut2test6.avi


Jonathan






More information about the MEncoder-users mailing list