[MEncoder-users] a question

Giacomo Comes comes at naic.edu
Mon Jan 30 14:16:19 CET 2006


On Mon, Jan 30, 2006 at 10:33:17AM +1100, Kirill Radzikhovskyy wrote:
> Hey, I use mencoder to convert divx movies to DVD mpg, for further DVD
> authoring,
> dvdauthor only accepts MPEG files of certain resolution that corresponds to
> PAL DVD or NTSC DVD format
> Anyways, that was just introduction
> 
> to convert movies i use (copyed from manual)
> 
> mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf
> scale=720:576,harddup -srate 48000 -af lavcresample=48000 -lavcopts
> vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:acodec=ac3:abitrate=192:aspect=16/9
> -ofps 25  -o output.mpg input.avi
> 
> That works fine with input files that have aspect ratio of 16/9.
> 
> However I got this really weird movie, which is like extra wide :P
> its resolution is 640 x 272.
> When I use the listed above command, it literally shrinks it to 720:576 (pal
> dvd format) and all faces become like squashed.
> I was wondering , is there a way, not to scale it , but to cut that extra
> wideness to make it usual 16/9, for proper convertion
> 
> Thanks in advance,
> 
> Kirill R

You can use encode2mpeglight (it is in TOOLS).

encode2mpeglight -o output -n p -mpegfixaspect -a 3 -dvd -encode 6:2:1 -srate 48000 input.avi

will make a dvd mpeg with proper aspect ratio.

If you add the option -debug, you will see in the log file the complete
mencoder command line used.

Giacomo




More information about the MEncoder-users mailing list