[MPlayer-users] pp=hb/vb/dr doesn't work while encoding?

D Richard Felker III dalias at aerifal.cx
Fri Mar 12 07:21:40 CET 2004

On Thu, Mar 11, 2004 at 03:06:11PM +0200, KoRnaz wrote:
> Hi,
> So I'm trying to rip and encode this one DVD which is full of noise and 
> fast motion scenes. I'm using deblock/dering filter as the last filter, 
> but it seems that it doesn't work or doesn't get applied. Here is the 
> example:
> http://wls2.hosting.lt/~kornaz/encoded_with_deblock.png
> However when I play the final video with mplayer -vf pp=hb/vb/dr, it 
> gets deblocked very nicely:
> http://wls2.hosting.lt/~kornaz/played_with_deblock.png
> So why this doesn't work while encoding? What am I doing wrong?
> The whole command line used for encoding:
> mencoder dvd://6 -mc 0 -noskip -skiplimit 0 -ovc lavc -lavcopts 
> vcodec=mpeg4:vbitrate=900:trell:cbp:mbd=2:v4mv:mv0:vmax_b_frames=1:vb_strategy=0:cmp=2:subcmp=2:precmp=2:predia=2:dia=2:vme=4 
> -oac mp3lame -lameopts abr:br=128:mode=1:q=2 -vf 
> lavcdeint,crop=704:560:5:8,hqdn3d,scale=512:384,pp=hb/vb/dr -zoom -sws 2 -o 
> part6.avi
> -vf lavcdeint,crop=704:560:5:8,hqdn3d,scale=512:384,pp=hb/vb/dr - is 
> this the correct order for the filters?
> Any advices are welcome.

pp should always be the FIRST filter. Otherwise it will not work

BTW, I suspect deinterlacing is incorrect. Very few DVDs are actually
interlaced, and deinterlacing something that's not actually interlaced
will ruin the quality.


More information about the MPlayer-users mailing list