[MEncoder-users] two pass encoding with pullup

Hans-Carl Oberdalhoff hco at gmx.de
Tue Apr 5 09:15:11 CEST 2005


Am Dienstag, 5. April 2005 08:58 schrieb Winterbird:
> yes, sorry, I just wanted to know if it was a common problem... Anyway,
> first pass:
>
> mencoder -noidx -nosound -noaspect dvd://1 -chapter 16-20 -ovc lavc -vf
> pullup,softskip,phase,hqdn3d=12:0:10,unsharp=c7x7:0.5:l7x7:0.5,crop=704:464
>:6:8,scale=640:-3 -ofps 24000/1001 -lavcopts
> qns=3:cmp=2:subcmp=6:preme=2:predia=3:dia=3:last_pred=3:vmax_b_frames=1:mv0
>:cbp:qprd:trell:preme=2:keyint=300:v4mv:mbd=2:vqscale=2:vpass=1 -o /dev/null
>
> second pass:
>
> mencoder -noidx -nosound -noaspect dvd://1 -chapter 16-20 -ovc lavc -vf
> pullup,softskip,phase,hqdn3d=12:0:10,unsharp=c7x7:0.5:l7x7:0.5,crop=704:464
>:6:8,scale=640:-3 -ofps 24000/1001 -lavcopts
> qns=3:cmp=2:subcmp=6:preme=2:predia=3:dia=3:last_pred=3:vmax_b_frames=1:mv0
>:cbp:qprd:trell:preme=2:keyint=300:v4mv:mbd=2:vbitrate=1145:vpass=2 -o
> finished.avi
>
> the difference is only that I added qns=3 on the second pass, and the
> bitrate (vbitrate=1145 instead of vqscale=2).

Hello,

what happens if you add "-fps 30000/1001" to both passes?

You should also leave the bitrate (rather: all lavc-options) the same on both 
passes! 
Only exception: If you want the first pass to be fast, you can use the 
"turbo"-option on it. This will deactivate cpu-intensive options, without 
screwing 2pass up.

Another thing, that comes into my mind: I had some trouble using pullup with 
mencoder a while ago. Using filmdint instead did help back then. Maybe you 
should try.

bye,
hco




More information about the MEncoder-users mailing list