# katedec

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.

## Example pipeline

This explicitly decodes a Kate stream:

     gst-launch-1.0 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-1.0 playbin uri=file:///tmp/test.ogg

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──katedec

## Factory details

Authors: – Vincent Penquerc'h

Classification: – `Codec/Decoder/Subtitle`

Rank – primary

Plugin – kate

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    subtitle/x-kate:

Presence – always

Direction – sink

Object type – GstPad

### `src`

    text/x-raw:
             format: { pango-markup, utf8 }
    subpicture/x-dvd:

Presence – always

Direction – src

Object type – GstPad

## Properties

### category

    “category” gchararray

The category of the stream

Flags : Read

Default value : NULL

### language

    “language” gchararray

The language of the stream

Flags : Read

Default value : NULL

### original-canvas-height

    “original-canvas-height” gint

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

Flags : Read

Default value : 0

### original-canvas-width

    “original-canvas-width” gint

The canvas width this stream was authored for

Flags : Read

Default value : 0

### remove-markup

    “remove-markup” gboolean

Remove markup from decoded text ?

Flags : Read / Write

Default value : false

The results of the search are