[MEncoder-users] calculating SCALE

Tomáš Bažant tomas.bazant at rozhlas.cz
Wed Aug 24 12:38:41 CEST 2005


thank you for this method, and then: how does mencoder calculate it 
then? i need the equation genrally...

tb

Oded Shimon wrote:
> On Wed, Aug 24, 2005 at 09:45:55AM +0200, Tom?? Ba?ant wrote:
> 
>>Got a simple task: to encode DVD title to lavc/mpeg4 file. After getting 
>> aspect ratio, initial width x height of the frame, cropping parameters 
>>and let's say the SCALE desired target width of 640, how can I calculate 
>>the remaining SCALE height for mencoder -vf scale 640:?? -zoom option?
> 
> 
> RTFM - You want 'scale=640:-2' probably...
> 
> Note the difference between -2 and -3, -2 means the aspect of the video 
> (say, 4:3), but -3 means the aspect of width/height of the video (which is 
> not necessarily 4:3.. like if for ex. the video is resolution 480x480..)
> 
> - ods15
> 
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mencoder-users
> 




More information about the MEncoder-users mailing list