![]() |
![]() |
![]() |
GStreamer Base Plugins 0.10 Plugins Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Properties |
This element decodes theora streams into raw video Theora is a royalty-free video codec maintained by the Xiph.org Foundation, based on the VP3 codec.
1 |
gst-launch -v filesrc location=videotestsrc.ogg ! oggdemux ! theoradec ! xvimagesink |
Last reviewed on 2006-03-01 (0.10.4)
typedef struct { GstElement element; /* Pads */ GstPad *sinkpad; GstPad *srcpad; /* theora decoder state */ th_dec_ctx *decoder; //theora_state state; th_setup_info *setup; th_info info; th_comment comment; gboolean have_header; GstClockTime last_timestamp; guint64 frame_nr; gboolean need_keyframe; gint width, height; gint offset_x, offset_y; gint output_bpp; /* telemetry debuging options */ gint telemetry_mv; gint telemetry_mbmode; gint telemetry_qi; gint telemetry_bits; gboolean crop; /* list of buffers that need timestamps */ GList *queued; /* list of raw output buffers */ GList *output; /* gather/decode queues for reverse playback */ GList *gather; GList *decode; GList *pendingevents; GstTagList *tags; /* segment info */ /* with STREAM_LOCK */ GstSegment segment; gboolean discont; guint32 seqnum; /* QoS stuff */ /* with LOCK*/ gdouble proportion; GstClockTime earliest_time; guint64 processed; guint64 dropped; gboolean have_par; gint par_num; gint par_den; } GstTheoraDec;
Opaque object data structure.