[MPlayer-users] Re: AVI->DVD: Problem understanding expand and scale

Thomas Heuving heuving at gmx.de
Sat Oct 8 09:15:11 CEST 2005


Nico Sabbi schrieb am Thu, 06 Oct 2005 10:10:04 +0200:
>>  mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf
>>  expand=672:378:16:4,dsize=16/9,scale=720:576,harddup
>>  -lavcopts aspect=16/9:acodec=ac3:abitrate=192:vcodec=mpeg2video:
>>  vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=18
>>  -o test.mpg -endpos 100 my.avi
>
> why not simply -vf scale=-1:-10,expand=720:576,harddup
> to keep the original width, or

that works, but I want some black borders as most DVD-Players seem
to cut some of the original content in order to present the material
on the Television. I think that's the reason why commercial content
tends to have black borders too (?).
Less complicated is
scale=-1:10:::::pal (or ntsc)
so you don't have to expand by yourself.

> -vf scale 720:-10,expand=720:576,harddup  to resize the width to 720
> and the height according to the A/R ?

This gives bad distortions.

> unnecessarily complicated

But it seems to be necessary to do two invokations, as I didn't find
 and nobody mentioned a working example of putting black borders and do
 a scaling in one go.
--
Thomas Heuving




More information about the MPlayer-users mailing list