[MPlayer-users] Converting 512:272 to 480:480 with aspect=4/3?
D Richard Felker III
dalias at aerifal.cx
Fri Jan 16 01:07:11 CET 2004
On Thu, Jan 15, 2004 at 11:54:32PM +0100, Svante Signell wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Need advise hoe to expand/scale/crop an avi clip of size 512x272 to an
> mpeg2(SVCD) clip of size 480:480 expanded to 640:480 when displayed.
You have to do the math to work out the right sizes, or else get
mencoder to do it for you with fancy use of the automatic options for
scale. Try:
-vf scale=480:340,expand=480:480
Actually you should fudge the vertical scale slightly so that black
borders end up _exactly_ at multiple-of-16 boundaries (in this case,
scale to height 336 instead of 340) to maximize quality, but the above
commandline will at least work.
Rich
More information about the MPlayer-users
mailing list