[MPlayer-users] Ripped DVD got wrong aspect ratio?

martin pavon martin_199ar at yahoo.com.ar
Fri Nov 8 15:39:02 CET 2002

 --- "j.a.l" <j.a.l at free.fr> escribió: > [Automatic answer: RTFM (read
DOCS, FAQ), also read
> DOCS/bugreports.html]
> Diego Zuccato wrote:
> > [Automatic answer: RTFM (read DOCS, FAQ), also read
> DOCS/bugreports.html]
> > Martin Pavon wrote:
> > 
> > 
> >>Yes, you must scale (and probably crop). Any way your movie is not
> 4:3,
> >>it is 1.5:1
> > 
> > Well, it quite perfetly fills my LCD, so I thought it was 4:3.
> > 
> > 
> >>mplayer Ryan.avi -aspect 16:9; it must look fine.
> > 
> > Yep. I told it in a previous mail... or not?
> > But I want a file playable WITHOUT using -aspect 16:9 !
> > 
> so you have to scale it while encoding, add in mencoder option : "-vop 
> scale=640:362" ( see man page ), this is very low, ( just exemple ), 
> chose something with h=w/1.777, DON'T set "scale 1024:576", this will 
> create a corrupted movie. You can scale from you current movie

Well I think 640:352 is better since 352 is multiple of 16...

I suggest the following:

1)Run cropdetect:

mencoder -ovc lavc -lavcopt vcodec=mpeg4 -nosound -vop cropdetect \
-o /dev/null yours_vobs.vob

in your vob files. Wait a few seconds and ctrl-C.

 You get something like this:

-vop crop=704:430:8:22 somewhere

2) If your movie is 4:3 choose SCALE=640:480, if it is 1.77:1 choose
SCALE=640:352 and SCALE=640:272 if it is 2.35:1 
There is other possibles values ... Look for a message from dominik ... ?
(my apologizes dominik, your last name is to complicate for an argentine
and I not at home now)
about ntsc

then your vop option is:

-vop scale=SCALE,crop=crop=704:430:8:22

Beside the values found by cropdetect, I don't know if is better to take
 the first values (704 and 430) multiple of 16 (or at least of 8) 
or not... Any opinion?



Ahora podés usar Yahoo! Messenger desde tu celular. Aprendé cómo hacerlo en Yahoo! Móvil: http://ar.mobile.yahoo.com/sms.html

More information about the MPlayer-users mailing list