[MEncoder-users] problem with the aspect ratio

D Richard Felker III dalias at aerifal.cx
Mon Feb 28 16:58:53 CET 2005


On Mon, Feb 28, 2005 at 11:21:57AM +0100, Nico Sabbi wrote:
> Oded Shimon wrote:
> 
> >On Monday 28 February 2005 11:28, Nico Sabbi wrote:
> > 
> >
> >>pablo daniel rey wrote:
> >>   
> >>
> >>>hello
> >>>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
> >>>     
> >>>
> >>-aspect works in the avi headers. use :aspect=16/9 in lavcopts instead
> >>   
> >>
> >
> >Is it just me or is everyone blind lately?...
> >He did...
> >
> >- ods15
> >
> > 
> >
> 
> he used aspect=1.78, but currently libmpcodecs/ve_lavc.c calls 
> sscanf(aspect, "%d/%d", &num, &den)
> so only aspect=16/9 can work.

Last I checked it tried both float and rational parsing...
Did someone break it?

Rich




More information about the MEncoder-users mailing list