[FFmpeg-devel] [PATCH] Playlist API

Ronald S. Bultje rsbultje
Fri Aug 7 00:43:25 CEST 2009


Hi,

On Thu, Aug 6, 2009 at 6:36 PM, Geza Kovacs<gkovacs at mit.edu> wrote:
> streams[0] is primary video stream
> streams[1] is primary audio stream
> streams[2] is primary subtitle stream
> streams[3] is alternative video stream
> streams[4] is alternative audio stream
> streams[5] is alternative subtitle stream

Well, that makes no sense. It's too limiting in all aspects.

Your problems comes very close to that of titles in a DVD/Bluray:
trailers often have one video, but then the main movie might have
mutli-angle ideo, multi-language subtitles/audiostreams, etc. The
codecs can be different between titles (LPCM for the main concert, but
simple ac3 for the trailers, or whatever; for BR, the video codec
might change also).

The solution to the.problem of "how do I support multiple streams in a
playlist" and "how do I support multiple titles in a DVD/BR disc" is
likely the same, and I don't know if hacking AVFormatContext is the
right way forward...

Ronald



More information about the ffmpeg-devel mailing list