Top |
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 |
This element encodes Kate streams
Kate is a free codecfor 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:
1 |
gst-launch-1.0 dvdreadsrc ! dvddemux ! dvdsubparse ! kateenc category=spu-subtitles ! oggmux ! filesink location=test.ogg |
plugin |
kate |
author |
Vincent Penquerc'h <ogg.k.ogg.k@googlemail.com> |
class |
Codec/Encoder/Subtitle |
“category”
property“category” gchar *
The category of the stream.
Flags: Read / Write
Default value: ""
“default-spu-duration”
property“default-spu-duration” gfloat
The assumed max duration (in seconds) of SPUs with no duration specified.
Flags: Read / Write
Allowed values: >= 0
Default value: 1.5
“granule-rate-denominator”
property“granule-rate-denominator” gint
The denominator of the granule rate.
Flags: Read / Write
Allowed values: >= 1
Default value: 1000
“granule-rate-numerator”
property“granule-rate-numerator” gint
The numerator of the granule rate.
Flags: Read / Write
Allowed values: >= 1
Default value: 1
“granule-shift”
property“granule-shift” gint
The granule shift.
Flags: Read / Write
Allowed values: [0,64]
Default value: 32
“keepalive-min-time”
property“keepalive-min-time” gfloat
Minimum time to emit keepalive packets (0 disables keepalive packets).
Flags: Read / Write
Allowed values: >= 0
Default value: 2.5
“language”
property“language” gchar *
The language of the stream (e.g. "fr" or "fr_FR" for French).
Flags: Read / Write
Default value: ""
“original-canvas-height”
property“original-canvas-height” gint
The height of the canvas this stream was authored for (0 is unspecified).
Flags: Read / Write
Allowed values: >= 0
Default value: 0
“original-canvas-width”
property“original-canvas-width” gint
The width of the canvas this stream was authored for (0 is unspecified).
Flags: Read / Write
Allowed values: >= 0
Default value: 0