[Ffmpeg-devel] ogg radio support?
Ronald S. Bultje
Mon Mar 5 04:38:44 CET 2007
are there any plans to support Ogg Radio, a.k.a. chained Ogg ?
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.
 e.g. http://ogg2.smgradio.com/vr32.ogg
More information about the ffmpeg-devel