# theoradec

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.

## Example pipeline

     gst-launch-1.0 -v filesrc location=videotestsrc.ogg ! oggdemux ! theoradec ! videoconvert ! videoscale ! autovideosink

This example pipeline will decode an ogg stream and decodes the theora video in it. Refer to the theoraenc example to create the ogg file.

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstVideoDecoder
                        ╰──theoradec

## Factory details

Authors: – Benjamin Otte , Wim Taymans

Classification: – `Codec/Decoder/Video`

Rank – primary

Plugin – theora

Package – GStreamer Base Plug-ins

## Pad Templates

### `sink`

    video/x-theora:

Presence – always

Direction – sink

Object type – GstPad

### `src`

    video/x-raw:
             format: { I420, Y42B, Y444 }
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]

Presence – always

Direction – src

Object type – GstPad

## Properties

### visualize-bit-usage

    “visualize-bit-usage” gint

Sets the bitstream breakdown visualization mode. Values influence the width of the bit usage bars to show

Flags : Read / Write

Default value : 0

### visualize-macroblock-modes

    “visualize-macroblock-modes” gint

Show macroblock mode selection overlaid on image. Value gives a mask for macroblock (MB) modes to show

Flags : Read / Write

Default value : 0

### visualize-motion-vectors

    “visualize-motion-vectors” gint

Show motion vector selection overlaid on image. Value gives a mask for motion vector (MV) modes to show

Flags : Read / Write

Default value : 0

### visualize-quantization-modes

    “visualize-quantization-modes” gint

Show adaptive quantization mode selection overlaid on image. Value gives a mask for quantization (QI) modes to show

Flags : Read / Write

Default value : 0

The results of the search are