cmmldec

cmmldec — Decodes CMML streams

Synopsis




                    GstCmmlDec;

Properties


  "wait-clip-end-time"       gboolean              : Read / Write

Description

Cmmldec extracts a CMML document from a CMML bitstream.CMML is an XML markup language for time-continuous data maintained by the Annodex Foundation.

Example pipeline

gst-launch -v filesrc location=annotated.ogg ! oggdemux ! cmmldec ! filesink location=annotations.cmml

Element Information

plugin annodex
author Alessandro Decina <alessandro@nnva.org>
class Codec/Decoder

Details

GstCmmlDec

typedef struct {
  GstElement element;

  /* element part */
  GstPad *sinkpad;
  GstPad *srcpad;

  /* bitstream part */
  gint16 major;                 /* bitstream version major */
  gint16 minor;                 /* bitstream version minor */
  gint64 granulerate_n;         /* bitrstream granulerate numerator */
  gint64 granulerate_d;         /* bitstream granulerate denominator */
  gint8 granuleshift;           /* bitstreamgranuleshift */
  gint64 granulepos;            /* bitstream granule position */
  GstClockTime timestamp;       /* timestamp of the last buffer */

  /* decoder part */
  GstCmmlParser *parser;        /* cmml parser */
  gboolean sent_root;
  GstFlowReturn flow_return;   /* _chain return value */
  gboolean wait_clip_end;        /* when TRUE, the GST_TAG_MESSAGE for a
                                 * clip is sent when the next clip (or EOS)
                                 * is found, so that the clip end-time is
                                 * known. This is useful for pre-extracting
                                 * the clips.
                                 */
  GHashTable *tracks;
} GstCmmlDec;

Property Details

The "wait-clip-end-time" property

  "wait-clip-end-time"       gboolean              : Read / Write

Send a tag for a clip when the clip ends, setting its end-time. Use when you need to know both clip's start-time and end-time.

Default value: FALSE

See Also

cmmlenc, oggdemux