[MPlayer-users] problem with the aspect ratio

pablo daniel rey listas at pablodanielrey.com.ar
Mon Feb 28 07:28:50 CET 2005

i have an .avi file without any audio stream.
it has the correct aspect-ratio. i play it with mplayer and all goes ok.
i execute ogmmerge to merge the audio file (audio.ogg) and the video file (video.avi) into an ogm file. but
when i play with mplayer the resulting ogm file i see it with the wrong aspect ratio. 

the commands i use :

---- the script to encode the dvd ------
mencoder -nosound -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=$1:vhq:v4mv:vqmin=2:vlelim=-4:vcelim=9:lumi_mask=0.05:dark_mask=0.01:aspect=1.78:vpass=1 -vop scale=$3,crop=$2 -ofps 23,976 -aspect 1.78 -o /dev/null stream.dump
mencoder -nosound -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=$1:vhq:v4mv:vqmin=2:vlelim=-4:vcelim=9:lumi_mask=0.05:dark_mask=0.01:aspect=1.78:vpass=2 -vop scale=$3,crop=$2 -ofps 23,976 -aspect 1.78 -o video.out stream.dump

finally :

ogmmerge -o video.ogm -A video.out audio.ogg

------------------- the output ---------------------------
Using AVI demultiplexer for video.out. Opening file. This may take some time depending on the file's size.
+-> Using video output module for video stream.
Using OGG/OGM demultiplexer for audio.ogg.
+-> Using Vorbis audio output module for stream 1.
progress: 145343/145343 frames (100%)

then :

mplayer video.out ----------- ok
mplayer video.ogm ---------- wrong aspect ratio

somebody knows whats going on? i cant find anything in the docs.
thanks in advance.

More information about the MPlayer-users mailing list