[Matroska-devel] S_DVBSUB

Steve Lhomme slhomme at matroska.org
Fri Feb 25 14:15:52 CET 2011


On Thu, Feb 24, 2011 at 12:02 AM, Dan Haddix <dan6992 at hotmail.com> wrote:
> The page ID of the segments have to match either the composition or
> ancillary ID set for the track or the decoder will ignore them. Some
> decoders may have the ability to be set to a "decode all" mode and ignore
> the page ID, but there is no standard way of doing that so I'm not sure we
> can depend on it always being available in every application. Plus we also
> have to think about applications, like VideoReDo, which have the ability to
> convert from MKV to TS. A TS file needs to have the proper composition and
> ancillary IDs stored in it's PMT. If we don't reset the page IDs of every
> segment to a static, known, value or store the original composition and
> ancillary IDs in the MKV somewhere then we'd have to scan the entire file
> checking every segment just to determine the proper values. That is far from
> ideal.
>
> Maybe we should just go back to my original idea of storing the original PMT
> data in CodecPrivate. If the playing app knows how to read that then it can,
> if not then it can just set it's DVB subtitle decoder to "decode all" and it
> will still work. That way we don't have to mess with the page ID in the
> original segments and we'll have the proper composition and ancillary IDs
> available for applications that want to convert to TS.

Yes, that won't hurt much and if some decoders need it, then it's there.

-- 
Steve Lhomme
Matroska association Chairman



More information about the Matroska-devel mailing list