[FFmpeg-devel] [PATCH] Speex parser

Michael Niedermayer michaelni
Mon Aug 31 01:46:56 CEST 2009

On Sun, Aug 30, 2009 at 07:02:58PM -0400, Justin Ruggles wrote:
> Justin Ruggles wrote:
> > Michael Niedermayer wrote:
> > 
> >> On Sun, Aug 30, 2009 at 10:40:45AM -0400, Justin Ruggles wrote:
> >>> 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
> >> a parser
> >>
> >> (1) fake in the sense that it does not exist like that in the container
> > 
> > Ok, I'll look into that.
> It doesn't seem to work.  The bitstream filter is not run until the
> first packet is written.  By that time, the muxer has already been
> initialized without any extradata and fails.  Am I missing something?

why is every xiph codec causing so many idiotic problems?

i guess we could either
* extend bsfs to filter extradata properly too
* just accept that flv & ogg are not compatibl
* something else

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090831/58377752/attachment.pgp>

More information about the ffmpeg-devel mailing list