[FFmpeg-devel] [PATCH] Add support for demuxing the combined TrueHD/AC3 tracks in Blu-Ray m2ts files

Reimar Döffinger Reimar.Doeffinger
Mon Sep 28 16:43:31 CEST 2009


On Mon, Sep 28, 2009 at 01:58:42PM +0000, Jai Menon wrote:
> On Mon, Sep 28, 2009 at 1:51 PM, Ian Caulfield <ian.caulfield at gmail.com> wrote:
> > 2009/9/28 Carl Eugen Hoyos <cehoyos at ag.or.at>:
> >> Ian Caulfield <ian.caulfield <at> gmail.com> writes:
> >>
> >>> This patch allows the combined TrueHD/AC3 tracks on Blu-Ray discs to be
> >>> demuxed as two separate streams - the TrueHD track will have a stream id of
> >>> the PID of the track,
> >>
> >>> while the AC3 track will have an id of PID + 0x10000.
> >>
> >> Why? They both have the same PID, no?
> >>
> >
> > I was under the impression that the AVStream id field should be unique...
> 
> iirc yes it should.

"Should" probably, but I don't think it has to be unique. So unless it
causes issues I'd be in favour of having the same id twice.



More information about the ffmpeg-devel mailing list