[Matroska-devel] Dirac mapping for Matroska

David Schleef ds at schleef.org
Fri Feb 29 04:40:35 CET 2008


Hi all,

Now that Schroedinger-1.0.0 is out, I'm working on integrating Dirac
support into other projects.  I'd like to get a specification nailed
down (and a link on the Dirac website) on how to embed a Dirac stream
into Matroska.

Dirac is a self-contained stream containing variable sized packets
containing either pictures or sequence headers.  "Self-contained"
meaning that there is no out-of-band codec data.  Decoding can be
started at any sequence header (e.g., after seeking), and sequence
headers are encoded periodically by the encoder.  Dirac streams are
constant framerate.

I implemented the obvious "V_DIRAC" mapping in GStreamer's matroskamux
and matroskademux elements using V_MPEG2 as an example.  It appears to
work fine, but, uh, that means very little.

Example of Dirac in Matroska at:
http://www.schleef.org/~ds/dirac_example.mkv



dave...




More information about the Matroska-devel mailing list