[FFmpeg-devel] How to handle radio streams serving chained files?

Michael Niedermayer michaelni
Thu Jan 13 00:23:24 CET 2011

On Wed, Jan 12, 2011 at 04:15:46PM -0500, Ronald S. Bultje wrote:
> Hey,
> we all know chained Ogg (concat 5 Ogg/Vorbis files and pretend you
> know support "metadata changes" - then call it a spec and say that any
> combination of file types, even a video file followed by an audio
> file, is valid). Apparently RTSP and MMS served by WMS (Microsoft) use
> "chained ASF" for the same purpose. So basically it serves me an ASF
> file per song, then when the song ends and/or a new one starts, it
> serves a new ASF file. Could have different streams (WmaVoice vs.
> WmaPro) or stream properties, and has different metadata. See issue
> 2478.
> How should I support this in lavf so ffplay.c supports this?
> AvProgram? How do I signal a "switch" from
> "stream0=video,stream1=audio" to "stream2=audio" (since stream1/0
> ended, so nothing new comes in anymore) to the application, so ffplay
> just concats it and it plays as if we natively supported this kind of
> idiocy?

maybe something with playlists, theres a patch somewhere that needs work IIRC

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110113/7eb5fb27/attachment.pgp>

More information about the ffmpeg-devel mailing list