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

Nicolas Hesler nicolas.hesler at sheridanc.on.ca
Wed Feb 13 03:52:50 CET 2008


Is it possible to create 720p output from a variety of inputs with a variety of sizes and scale them to maximize the screen space of 1280x720 without changing their aspect ratio?

My desired output is 1280x720:

Example: 1920x640 input

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

a 640x80 input would create a 1280x960 output.

So is it possible with a single mencoder line to accomplish this?

Thanks,

Nic



More information about the MEncoder-users mailing list