[Ffmpeg-devel] ogg radio support?

Måns Rullgård mans
Mon Mar 5 09:51:14 CET 2007


"Ronald S. Bultje" <rbultje at ronald.bitfreak.net> writes:

> Hi,
>
> are there any plans to support Ogg Radio, a.k.a. chained Ogg [1]?
> Basically those are ogg streams cat'ed together, where each stream could
> represent something like an ad block, a song, something. At the end of
> each song, the ogg eos flags are set, and a new ogg file (with new
> headers, new IDs, etc.) starts right after it - the advantage being that
> it has new metadata. It can also be used to change stream properties,
> i.e. things like bitrate, samplerate or even number/type of contained
> streams don't necessarily have to match (although in practice, they
> usually do). I have the impression that the ogg demuxer picks this stuff
> up and creates the new stream, but ffplay doesn't close down the old
> stream or switch to the new one, and so it appears as if it hangs. There
> is also - afaik - no indication in the AVStream structure that the
> stream eos'ed (a flag for that exists in the ogg header for each packet
> sent to the decoder).
>
> I can spend some time on this if anyone - probably Mans or Michael -
> could give an idea of how they'd like to see this implemented.

I'm aware of this problem, and I've been trying to think of a
solution.  The more I think about it, the more it appears as an
abomination.  Just like everything Ogg related.  No surprises there.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list