[Ffmpeg-devel] [PATCH] DVR-MS probe audio format - was DVR-MS bug (MP2 decoding)

Michael Niedermayer michaelni
Thu Mar 15 01:12:18 CET 2007


On Wed, Mar 14, 2007 at 06:58:30PM -0500, John Donaghy wrote:
> >
> >yes, the reason why iam suggesting, it is that you CANNOT seek back like
> >you do, the maximum seek back which is guranteed to be possible is the
> >size of the internal buffer but even just a single frame might be
> >larger, yes not all underlaying protocols support seeking ...
> >
> >av_find_stream_info() contains code to deal with this by buffering all
> >demuxed packets ...
> >
> So how many audio codecs would it need to handle as a minimum? E.g. if
> I got it to do a probe when the codec_id was -1 (say)


>  and just tested
> for mp2 and ac3 initially would that be ok? 


> Is there a functioning
> probe function for ac3?

theres a ac3_probe in libaformar/raw.c, if it works with what is stored in asf
that i dunno


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070315/4e7d91d9/attachment.pgp>

More information about the ffmpeg-devel mailing list