[MEncoder-users] calculating SCALE
Oded Shimon
ods15 at ods15.dyndns.org
Wed Aug 24 11:33:27 CEST 2005
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
More information about the MEncoder-users
mailing list