[MPlayer-users] flickering artifacts

Ulrich Schweitzer us- at gmx.de
Fri Sep 17 19:01:56 CEST 2004

On Friday 17 September 2004 18:16, Wu-Kung Sun wrote:

> nice -n 19 mencoder dvd://1 -aid 128 -oac copy -ovc
> lavc -lavcopts
> vcodec=mpeg4:v4mv:vhq:vqmin=2:trell:vbitrate=830:vpass=(1||2)
> -vf crop=710:480:6:0,scale=640:-2,hqdn3d=2:1:2,harddup
> -noodml -o ("/dev/null"||movie.avi)

Your scale option is most likely the problem. You end up with an image 
height of 274 which is not divisible by 16. Because of that you get ugly 
macro blocks on the edge of the frame. Both width and height should 
always be divisible by 16. 

> Some things I don't understand. The image size turned
> out to be 480x274 instead of 640xnnn.  

Are you sure the frame size is 480x274? Or does mplayer just rescale it to 
that size because of wrong aspect info (I had that problem once)? Try 
passing -noaspect to mplayer. If this solves the problem, pass 
-force-avi-aspect <aspect> to mencoder.

And one more thing: Encoding directly from DVD can be hard on the drive. 
If you have enough space on your hard disc, you should consider ripping 
with mplayer dvd://1 -dumpstream and encoding from the resulting file.

PGP key ID: 0xDF6FC4FA

"A mouse is a device used to select the xterm you want to type in."
Author unknown

More information about the MPlayer-users mailing list