[FFmpeg-devel] [PATCH] Speex parser
Sun Aug 30 23:31:37 CEST 2009
On Sun, Aug 30, 2009 at 10:40:45AM -0400, Justin Ruggles wrote:
> Here is a Speex parser. It does not split any frames, but only analyzes
> them in order to set the proper AVCodecContext parameters.
the decoder can do this, av_find_stream_info() should already create a
decoder to fill these in when they are missing.
> It is useful mainly for stream copy when no header is present or if some
> values in the header are encoded as "unknown". Also, if the extradata
> is missing, the parser will create it using correct values. This is
> better than what is done currently in the FLV demuxer, which guesses
> some header values based on defaults and sets some as "unknown".
it seems creating fake(1) extradata belongs more in a bitstream filter than
(1) fake in the sense that it does not exist like that in the container
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel