Video Editing: Difference between revisions

paste from gnhlug discuss
clarifies the option and sub-option argument to mencoder when using libavcodec
Line 46: Line 46:
options and arguments is not just significant, it's HIGHLY significant.
options and arguments is not just significant, it's HIGHLY significant.


To transcode the video, specify the output codecs as the "-vcodec" and
To transcode the video, specify the output codecs as the "vcodec" and
"-acodec" arguments:
"acodec" sub-options to the libavcodec option (-lavcopts):
<source lang="bash">
<source lang="bash">
$ mencoder -ovc lavc -oac lavc -lavcopts vcodec=mpeg4:acodec=ac3 infile -o outfile
$ mencoder -ovc lavc -oac lavc -lavcopts vcodec=mpeg4:acodec=ac3 infile -o outfile