slhomme at matroska.org
Mon Feb 21 21:30:31 CET 2011
On Mon, Feb 21, 2011 at 9:16 PM, Andreas Öman <andreas at lonelycoder.com> wrote:
> These are the options as I see them:
> a) Store payload exactly as-is and include 4 bytes of data in CodecPrivate.
> If multiple subtitle tracks sources data from same MPEG TS PID all the data
> will be duplicated.
> b) Use MKV's features to share packets between two tracks. Keep 4 bytes in
> CodecPrivate to let
> codecs distinguish between the data
> c) Split and filter pages and only include those applicable for the track.
> Store nothing in CodecPrivate.
> If multiple subtitle tracks sources data from same MPEG TS PID the common
> pages will be duplicated.
> Perhaps there are other options as well?
d) Not store the 4 bytes at all. They are not needed for rendering or
anything else than reconstructing the original stream *exactly* like
it used to be. The IDs have no use at all. And the lanugage is already
stored in Matroska elsewhere.
Matroska association Chairman
More information about the Matroska-devel