kateenc

kateenc

Properties

gchar * category Read / Write
gfloat default-spu-duration Read / Write
gint granule-rate-denominator Read / Write
gint granule-rate-numerator Read / Write
gint granule-shift Read / Write
gfloat keepalive-min-time Read / Write
gchar * language Read / Write
gint original-canvas-height Read / Write
gint original-canvas-width Read / Write

Types and Values

struct GstKateEnc

Object Hierarchy

    GObject
    ╰── GstObject
        ╰── GstElement
            ╰── GstKateEnc

Implemented Interfaces

GstKateEnc implements GstTagSetter.

Description

Example pipeline

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.

This encodes a DVD SPU track to a Kate stream:

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

Functions

Types and Values

struct GstKateEnc

struct GstKateEnc;

Property Details

The “category” property

  “category”                 gchar *

The category of the stream.

Owner: GstKateEnc

Flags: Read / Write

Default value: ""


The “default-spu-duration” property

  “default-spu-duration”     gfloat

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

Owner: GstKateEnc

Flags: Read / Write

Allowed values: >= 0

Default value: 1.5


The “granule-rate-denominator” property

  “granule-rate-denominator” gint

The denominator of the granule rate.

Owner: GstKateEnc

Flags: Read / Write

Allowed values: >= 1

Default value: 1000


The “granule-rate-numerator” property

  “granule-rate-numerator”   gint

The numerator of the granule rate.

Owner: GstKateEnc

Flags: Read / Write

Allowed values: >= 1

Default value: 1


The “granule-shift” property

  “granule-shift”            gint

The granule shift.

Owner: GstKateEnc

Flags: Read / Write

Allowed values: [0,64]

Default value: 32


The “keepalive-min-time” property

  “keepalive-min-time”       gfloat

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

Owner: GstKateEnc

Flags: Read / Write

Allowed values: >= 0

Default value: 2.5


The “language” property

  “language”                 gchar *

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

Owner: GstKateEnc

Flags: Read / Write

Default value: ""


The “original-canvas-height” property

  “original-canvas-height”   gint

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

Owner: GstKateEnc

Flags: Read / Write

Allowed values: >= 0

Default value: 0


The “original-canvas-width” property

  “original-canvas-width”    gint

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

Owner: GstKateEnc

Flags: Read / Write

Allowed values: >= 0

Default value: 0

See Also

oggmux