## katedec katedec — Decodes Kate text streams |

## Synopsis

                        GstKateDec;

## Properties

      "category"                 gchar*                : Read
      "language"                 gchar*                : Read
      "original-canvas-height"   gint                  : Read
      "original-canvas-width"    gint                  : Read
      "remove-markup"            gboolean              : Read / Write

## Description

### Example pipeline

This element decodes Kate streams Kate is a free codec for text based data, such as subtitles. Any number of kate streams can be embedded in an Ogg stream.

libkate (see above url) is needed to build this plugin.

This explicitely decodes a Kate stream:

    gst-launch filesrc location=test.ogg ! oggdemux ! katedec ! fakesink silent=TRUE

This will automatically detect and use any Kate streams multiplexed in an Ogg stream:

    gst-launch playbin uri=file:///tmp/test.ogg

## Details

### GstKateDec

    typedef struct {
      GstElement element;

      GstPad *sinkpad;
      GstPad *srcpad;

      GstKateDecoderBase decoder;

      gboolean remove_markup;
    } GstKateDec;

## Property Details

### The `"category"` property

      "category"                 gchar*                : Read

The category of the stream.

Default value: ""

### The `"language"` property

      "language"                 gchar*                : Read

The language of the stream.

Default value: ""

### The `"original-canvas-height"` property

      "original-canvas-height"   gint                  : Read

The canvas height this stream was authored for (0 is unspecified).

Allowed values: >= 0

Default value: 0

### The `"original-canvas-width"` property

      "original-canvas-width"    gint                  : Read

The canvas width this stream was authored for.

Allowed values: >= 0

Default value: 0

### The `"remove-markup"` property

      "remove-markup"            gboolean              : Read / Write

Remove markup from decoded text ?.

Default value: FALSE

## See Also

oggdemux