[FFmpeg-user] -f mkv?
dE .
de.techno at gmail.com
Fri Jan 20 08:57:15 CET 2012
On 01/20/12 12:35, Rodney Baker wrote:
> On Fri, 20 Jan 2012 11:16:50 dE . wrote:
>> 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.
> Try -f matroska. What video codec are you using? When I use 2-pass encoding to
> mkv using libx264/libmp3lame codecs I use -f mpeg4 /dev/null for pass 1 (i.e.
> /dev/null as the output file and mpeg4 as the format) and then skip the -f
> flag for pass 2 with<filename>.mkv as the output file. Works for me.
>
Yes, it works. Thanks!
No problems with 2 pass using ffmpeg, but I need to get winff to do that.
More information about the ffmpeg-user
mailing list