[MEncoder-users] two pass encoding with pullup

Winterbird winterbird at anime-avatar.net
Tue Apr 5 15:10:25 CEST 2005


Hans-Carl Oberdalhoff wrote:

>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?
>  
>
I'll try that.

>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.
>  
>
OK... Acctually I thought that the bitrate didn't really matter in the
first pass...
qns is *very* cpu intensive, that's why I didn't use it in the first
pass, it takes quite some time to encode something on my box... I might
try the turbo option...

>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
>  
>
I don't use filmdint because I don't want to deinterlice anything, only
ivtc. I might try it later though.




More information about the MEncoder-users mailing list