[FFmpeg-devel] MAX_STREAMS
Derk-Jan Hartman
hartman
Sun Jun 21 15:52:34 CEST 2009
On 21 jun 2009, at 06:47, Erik Van Grunderbeeck wrote:
> Hello; Q:
> Is the max stream count in avformat.h; currently set to 20; maxed at
> 20 for
> a specific reason?
>
> Reason I ask is that I have a DVD here (Pirates of the Caribbean/The
> curse
> of the black pearl/special extended version) that has 39 (yes, 39)
> streams
> in it.
>
> A count shows 1 video stream, 6 audio streams, and 32 (?) subtitle
> streams.
> The 32 may actually be a encoding problem for this disk, but what I
> did find
> out is that the id's from the first 7 subtitles stream are not the
> ones that
> are "real" subtitle streams (correlated this with the id information
> from
> the ifo file). Stream 8 is the first "valid" sub title stream.
Those first might be forced subtitle streams (can be multiple in
modern DVDs and not yet supported by dvdread/dvdnav I think), subtitle
streams for the directors comments etc. It sure does count up.
DJ
More information about the ffmpeg-devel
mailing list