[FFmpeg-user] -f mkv?
tevans.uk at googlemail.com
Thu Jan 19 10:48:08 CET 2012
On Thu, Jan 19, 2012 at 3:09 AM, Rodney Baker <rodney.baker at iinet.net.au> wrote:
> Right. Matroska is the container format and mkv is the extension, not the
> video format. Matroska containers can contain video in a number of different
> formats e.g. mpeg4, h264, avi etc. The -f switch specifies the video stream
> format, not the container format. The container format is determined
> automatically from the file extension.
> At least I think that's how it works... ;-)
No, the -f flag controls the output container format. If omitted, the
output container format is determined from the output file extension.
The video stream doesn't have a format.
More information about the ffmpeg-user