[Ffmpeg-devel] Compilation with --enable-theora fails
Wed May 11 22:51:10 CEST 2005
Michael Niedermayer <michaelni at gmx.at> writes:
> On Wednesday 11 May 2005 20:42, Rich Felker wrote:
>> ogg2's vorbis demuxing for an example, although that's currently buggy
>> (using int16 is stupid/limited).
>> We had a discussion on IRC last night
>> about how to fix it (basically duplicating the vorbis header packing
>> used as a defacto standard in Matroska) which someone will probably
>> implement soon.
> i agree, but not because the solution is good, just becasue it
> avoids the mess of 2 different ways to store the headers
> the packing used for the vorbis headers (as in libavformat/matroska.c) has
> overhead of
> while get/put_v borrowed from nut.c would have
> so for 128-254 your suggestion would be 1 byte while 2 for get/put_v
> for all others get/put_v would be equal or shorter
> for 1mb put/get_v would need 3 bytes while your suggestion would need 4113
IMHO, simply using 32 bits would be perfectly acceptable. A header
size of 4GB seems rather unlikely, and an overhead of 4 bytes per file
isn't really anything to make fuss about.
Also IMHO, the matroska method should not be encouraged.
mru at inprovide.com
More information about the ffmpeg-devel