[FFmpeg-devel] [PATCH] Speex parser

Måns Rullgård mans
Sun Sep 20 23:05:36 CEST 2009

"Ronald S. Bultje" <rsbultje at gmail.com> writes:

> Hi,
> 2009/9/20 M?ns Rullg?rd <mans at mansr.com>:
>> What I would like is a raw demuxer returning exactly what is in the
>> file, no decoding, no parsing. ?This can be done separately if
>> needed.
> Isn't that av_read_packet() (instead of av_read_frame())?

Sort of, except that av_read_packet() doesn't actually work.  During
file opening, some packets are read, analysed, and placed in a queue.
This queue is bypassed by av_read_packet() so you miss the first few
packets of the file.

It is possible to open a file without having it analysed, but then yet
other things stop working, e.g. the list of streams might not be
populated for an mpeg-ps file.

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list