[FFmpeg-devel] [PATCH] Speex parser

Michael Niedermayer michaelni
Mon Sep 21 00:23:35 CEST 2009


On Sun, Sep 20, 2009 at 10:05:36PM +0100, M?ns Rullg?rd wrote:
> "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.

iam trying to implement what you want but iam hitting a wall here
there really are so many things filled in and you clearly do want many
to be kept. I cant read your mind, please say clearly which values you
want not to be filled in by lavf?

please correct below:
pts/dts:                    no
frame boundaries:           no
start_time:                 ?
file duration:              ?
packet duration:            (pretty much meaningless without parsers)
stream array:               yes
extradata:                  (unreliable without parsers)
fps:                        (unreliable without parsers)
values that need decoding:  (unreliable without parsers)

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Thouse who are best at talking, realize last or never when they are wrong.
-------------- 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/20090921/203e2512/attachment.pgp>



More information about the ffmpeg-devel mailing list