[Ffmpeg-devel] [PATCH] configure.c: CONFIG_ENCODERS

Måns Rullgård mru
Sun May 8 00:09:40 CEST 2005


Michael Niedermayer <michaelni at gmx.at> writes:

>> >> > Yes, this is wrong. There's no reason you need decoders to use
>> >> > demuxers, and no reason you need encoders to use muxers.
>> >>
>> >> The requirement of decoders for demuxers is a design flaw in
>> >> libavformat.  Fixing it now will not be easy.
>> >
>> > The requirement of containers to parse encoded data to retrieve basic
>> > infos such as frame rate is a design flaw in those containers (see NSV
>> > and many others). Do you plan on fixing the file format themselves too?
>>
>> A file format is broken, if parsing the file depends on the contained
>> data.  This is not the same as allowing the container to omit some
>> information that the decoder can fill in later.
>
> a file format is IMO broken if it cannot be converted to most
> general purpose multimedia formats without decoding or parsing the
> individual streams

You could also say that a format is broken if it requires more
information than is strictly necessary to store data encoded with some
particular codec.  Or you could just say that some containers and some
codecs don't like each other, unfortunately.

I'd still also like to know how to -acodec copy an AC3 stream from one
MPEG file to another, without --enable-a52.

-- 
M?ns Rullg?rd
mru at inprovide.com





More information about the ffmpeg-devel mailing list