[FFmpeg-user] -f mkv?

dE . de.techno at gmail.com
Fri Jan 20 01:46:50 CET 2012


On 01/19/12 15:18, Tom Evans wrote:
> 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.
>
> Cheers
>
> Tom

Thanks for the response, but I sort of don't get it. If ffmpeg does 
support mkv, why is it not listed in -f? Suppose I want to have a file 
without the extention, then what should I do?

PS: This flag is required for 2 pass encoding in winff.


More information about the ffmpeg-user mailing list