Mailinglist Archive: opensuse (2459 mails)

< Previous Next >
Re: [opensuse] Movie editor
  • From: Nico Sabbi <Nicola.Sabbi@xxxxxxxx>
  • Date: Sun, 16 Mar 2008 22:10:08 +0100
  • Message-id: <200803162210.08240.Nicola.Sabbi@xxxxxxxx>
Il Sunday 16 March 2008 21:49:07 Kai Ponte ha scritto:
Once I get a video into the style I want, convert it to mpeg format using a
cli tool.

http://www.linux.com/feature/53702

Here's a command to translate a movie from avi format to mpeg2.

mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=720:480,

here you are rescaling without keeping into account the original aspect ratio,
possibly distorting the output.
Better use -vf scale=720:-10,expand=720:480 instead

harddup -srate 48000 -af lavcresample=48000 -lavcopts
vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=18:aspect=16/9:acodec=ac3:abitrate=192
-ofps
30000/1001 -o mymovie_dvd_format.mpg mymovie_orig_format.avi

also, it's better avoiding any resampling and framerate conversion as long
as it's not necessary (rather than doing it blindly)
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
References