[MEncoder-users] aspect and audio problems

Phil Payne phil at payneinthe.com
Sat Jan 21 14:42:47 CET 2006


Raphael wrote:

> Phil Payne wrote:
>
>>
>>
>> Raphael wrote:
>>
>>> I am trying to reencode a dvd which I ripped using mencoder. My test 
>>> command line is
>>>
>>> mencoder dvd.avi  -endpos 120 -ovc xvid -xvidencopts 
>>> bitrate=600:vhq=4:qpel:autoaspect  -oac mp3lame -af pan=1:0.5:0.5 
>>> -channels 1 -lameopts abr:br=64   -o test1.avi
>>>
>>> (I want to mix the stereo down to mono so that I can get half decent 
>>> sound quality with 64kbps.)
>>>
>>>
>>> However, when I play back test1.avi I get a number of problems. Here 
>>> are two of them.
>>>
>>> 1) The sound still seems to be in two channels.
>>>
>>> 2) The aspect ratio is wrong on play back (things are squashed 
>>> horizontally and stretched vertically)
>>>
>>> Any idea what I am doing wrong?
>>>
>> <Snip>
>>
>> On the aspect... the video seems to be in the original DVD PAL format 
>> of 720 x 576, which will look odd when played if the correct aspect 
>> isn't applied.
>>
>> If you want the video to automatically play at the correct aspect 
>> (without using mencoder and setting aspect) then I would resize it to 
>> soemthing acceptable to you using -vf scale=xxx:yyy
>>
>> Can't help you on the audio front, sorry.
>>
>> Thanks,
>> Phil.
>
>
>
> Hi,
>
> I can add -aspect 16:9 at playback but what I don't understand is why 
> I need to do that. I thought autoaspect was meant to store the right 
> information?
>
> Raphael
>
>
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mencoder-users
>
Hey... I'm no expert but won't autoaspect just calculate the aspect from 
the resolution of the file e.g. 720/576 = 1.25, which is what appears to 
be happening in the output. You could use aspect=16/9 instead of 
autoaspect with mencoder.... however, I believe I'm right in saying that 
only mplayer will pay attention to the aspect info so if you wanted to 
play this on something else e.g. winblows then you'd have to resize the 
file with -vf scale... so that might be the better solution in the long 
term.

Phil.




More information about the MEncoder-users mailing list