[FFmpeg-devel] [PATCH] SHOUTcast HTTP Support

Micah Galizia micahgalizia
Fri Mar 5 17:03:57 CET 2010


On Fri, Mar 5, 2010 at 11:01 AM, Ronald S. Bultje <rsbultje at gmail.com>wrote:

> Hi,
>
> On Fri, Mar 5, 2010 at 10:54 AM, Michael Niedermayer <michaelni at gmx.at>
> wrote:
> > the way i understood it, is that the stream in there is actually
> > not good mp3 but rather good mp3 cut at random unknown to us byte
> > offset
>
> I think what he has is the following MP3 stream:
>
> end of frame X
> full frame X+1
> start of frame X+2
> <icy data>
> end of frame X+2
> frame X+3
> <icy data>
> [etc.]
>
> Which is indeed not detected as MP3. It isn't. It's icy. Cut out the
> icy in the icy demuxer, probe with that and you've got...mp3!
>
> (I might be wrong, but I coded an icy demuxer before and this is what
> I remember from it.)
>

The ordering is correct, but any of the streams I have dealt with have more
than just one complete and one partial frame.

-- 
"The mark of an immature man is that he wants to die nobly for a cause,
while the mark of the mature man is that he wants to live humbly for one."
--W. Stekel



More information about the ffmpeg-devel mailing list