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

Nico Sabbi nsabbi at email.it
Thu Oct 6 10:10:04 CEST 2005


Thomas Heuving wrote:

>Hello,
>
>I'm new to mplayer and have a problem in converting from AVI to DVD.
>I've read
>http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-vcd-dvd.html
>and afterwards tried to convert a AVI (640:368, ratio 1.74:1) to PAL-DVD.
>Here's my commandline:
>  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
-vf scale 720:-10,expand=720:576,harddup  to resize the width to 720
and the height according to the A/R ?

>and then
>  mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf
>  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 test2.mpg -endpos 100 test.mpg
>
>all looks fine.
>
>  
>

keyint is 15 for PAL (although I use 25), and you had better add mbd=2

>What's wrong with my approach? What's different in
>doing the conversions in two invocations of mencoder?
>
>Best regards
>  
>

unnecessarily complicated
 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Telefona con Email.it Phone Card, tanti minuti di conversazione con il massimo del risparmio, clicca qui
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2687&d=6-10




More information about the MPlayer-users mailing list