[MEncoder-users] scale, dsize, expand setting multiple aspect ratios and sizes

Nicolas Hesler nicolas.hesler at sheridanc.on.ca
Wed Feb 13 16:59:06 CET 2008



RC wrote:
> On Tue, 12 Feb 2008 21:52:50 -0500
> Nicolas Hesler <nicolas.hesler at sheridanc.on.ca> wrote:
>
>   
>> If I use dsize=-2:720,scale=1280:-3,expand=1280:720
>>
>> This will scale down to 1280x426 and then expand to 1280x720  
>>
>> (So this command line works for anything that's at least as wide as
>> 16:9)
>>
>> But for anything more square than 16:9, 4:3 for instance, this method
>> fails
>>     
>
> You're just using dsize the wrong way...
>
> dsize=1280:720:0,scale=0:0
>   

Is there a way in a single mencoder line to adjust for aspect ratio and 
scaling for input of various aspect ratios with DVD as my target?

For instance.

If I have large 4:3 input, I would want to scale to 720:480 with 4:3 
aspect ratio
If I have a 16:9 input, I would want to scale to 720:480 with 16:9 
aspect ratio
If I have higher aspect ratio, I would want to scale to 720 width, add 
black bars to fill 480 vertical space, with 16:9 aspect ratio

Again, I'm stumped.






More information about the MEncoder-users mailing list