13.7. Stream copying13.7. Stream copyingPrev Chapter 13. Basic usage of MEncoder Next13.7. Stream copying MEncoder can handle input streams in two ways: encode or copy them. This section is about copying.
Video stream (option -ovc copy): nice stuff can be done :) Like, putting (not converting!) FLI or VIVO or MPEG-1 video into an AVI file! Of course only MPlayer can play such files :) And it probably has no real life value at all. Rationally: video stream copying can be useful for example when only the audio stream has to be encoded (like, uncompressed PCM to MP3).
Audio stream (option -oac copy): straightforward. It is possible to take an external audio file (MP3, WAV) and mux it into the output stream. Use the -audiofile filename option for this.
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 audio to an AVI container, the audio format tag will be incorrect and it will have to be changed. For a list of audio format tags, check codecs.conf.