13.7. Stream copying

Chapter 13. Basic usage of MEncoder

13.7. Stream copying

MEncoder can input streams in two ways: encode or copy them. This section is about copying.

Using -oac copy to copy from one container format to another may require the use of -fafmttag to keep the audio format tag of the original file. For example, if you are converting an NSV file with AAC to an AVI container, the format tag will be incorrect and it will have to be changed. For a list of format tags, check codecs.conf.

Example:

mencoder input.nsv -oac copy -fafmttag 0x706D \
 -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell -o output.avi

13.6. Rescaling movies 13.8. Encoding from multiple input image files (JPEG, PNG, TGA, etc.)