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

John Donaghy johnfdonaghy
Thu Mar 15 00:58:30 CET 2007


>
> 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?

John




More information about the ffmpeg-devel mailing list