[Ffmpeg-devel] [PATCH] Probe for mp3 files and streams

Måns Rullgård mru
Wed Jul 27 10:54:11 CEST 2005

Michael Niedermayer said:
> Hi
> On Wednesday 27 July 2005 10:14, Raymond Biggs wrote:
>> Hey All,
>> Just a small patch to add a probe for mp3 files and streams. Useful when
>> given a url to a SHOUTcast stream (often without .mp3 extension). The
>> algorithm doesn't detect free format mp3 but should work for all others.
> rejected, this almost duplicates decode_header() from mpegaudiodec.c
> printfs() also need to be replaced with av_log()
> not to mention that probe _must_ detect all files not just some, false
> positives are one thing false negatives are just not acceptable

In addition to that, shoutcast streams are not quite mp3.  They have some
junk inserted at some intervals.

M?ns Rullg?rd
mru at inprovide.com

More information about the ffmpeg-devel mailing list