# kateenc

This element encodes 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 encodes a DVD SPU track to a Kate stream:

     gst-launch-1.0 dvdreadsrc ! dvddemux ! dvdsubparse ! kateenc category=spu-subtitles ! oggmux ! filesink location=test.ogg

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──kateenc

## Implemented interfaces

    GstTagSetter

## Factory details

Authors: – Vincent Penquerc'h

Classification: – `Codec/Encoder/Subtitle`

Rank – none

Plugin – kate

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

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

Presence – always

Direction – sink

Object type – GstPad

### `src`

    subtitle/x-kate:
    application/x-kate:

Presence – always

Direction – src

Object type – GstPad

## Properties

### category

    “category” gchararray

The category of the stream

Flags : Read / Write

### default-spu-duration

    “default-spu-duration” gfloat

The assumed max duration (in seconds) of SPUs with no duration specified

Flags : Read / Write

Default value : 1.5

### granule-rate-denominator

    “granule-rate-denominator” gint

The denominator of the granule rate

Flags : Read / Write

Default value : 1

### granule-rate-numerator

    “granule-rate-numerator” gint

The numerator of the granule rate

Flags : Read / Write

Default value : 1000

### granule-shift

    “granule-shift” gint

The granule shift

Flags : Read / Write

Default value : 32

### keepalive-min-time

    “keepalive-min-time” gfloat

Minimum time to emit keepalive packets (0 disables keepalive packets)

Flags : Read / Write

Default value : 2.5

### language

    “language” gchararray

The language of the stream (e.g. "fr" or "fr_FR" for French)

Flags : Read / Write

### original-canvas-height

    “original-canvas-height” gint

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

Flags : Read / Write

Default value : 0

### original-canvas-width

    “original-canvas-width” gint

The width of the canvas this stream was authored for (0 is unspecified)

Flags : Read / Write

Default value : 0

The results of the search are