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
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:
src
subtitle/x-kate:
application/x-kate:
Properties
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
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