This is an old revision of the document!
= Video Editing =
Open-source tools and use cases for video editing.
* Part of MPlayer * Basic usage of MEncoder
* On Debian, use debian-multimedia repository: add repository URL (such as www.debian-multimedia.org_lenny_main_non-free}) to sources.list}; synchronize package index: apt-get_update} ** install mencoder: apt-get_install_mencoder}
* convert a MTS file (AVCHD format) to an AVI file (MPEG4)
mencoder $MTS_FILE -oac copy -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=5000:aspect=16/9 -fps 50 -vf scale=1024:576 -ffourcc XVID -o $AVI_FILE
* convert a MTS file (AVCHD format) to a MPEG file (MPEG2)
mencoder $MTS_FILE -oac copy -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=720:576,harddup -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:aspect=16/9:threads=4 -ofps 50 -fps 50 -o $MPEG_FILE