tiger: GStreamer Bad Plugins 1.0 Plugins Reference Manual

## tiger tiger |

## Properties

gchar * | category | Read
gint | default-background-alpha | Read / Write
gint | default-background-blue | Read / Write
gint | default-background-green | Read / Write
gint | default-background-red | Read / Write
gint | default-font-alpha | Read / Write
gint | default-font-blue | Read / Write
gchar * | default-font-desc | Read / Write
GstFontEffect | default-font-effect | Read / Write / Construct
gdouble | default-font-effect-strength | Read / Write
gint | default-font-green | Read / Write
gint | default-font-red | Read / Write
gchar * | language | Read
gint | original-canvas-height | Read
gint | original-canvas-width | Read
gdouble | quality | Read / Write

## Types and Values

struct | GstKateTiger

## Description

This element decodes and renders 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) and libtiger are needed to build this element.

#### Example pipeline

This pipeline renders a Kate stream on top of a Theora video multiplexed in the same stream:

    1
    2
    3
    4
    5
    gst-launch-1.0 \
      filesrc location=video.ogg ! oggdemux name=demux \
      demux. ! queue ! theoradec ! videoconvert ! tiger name=tiger \
      demux. ! queue ! kateparse ! tiger. \
      tiger. ! videoconvert ! autovideosink

## Functions

## Types and Values

### struct GstKateTiger

    struct GstKateTiger {
      GstKateDecoderBase decoder;

      GstPad *katesinkpad;
      GstPad *videosinkpad;
      GstPad *srcpad;

      tiger_renderer *tr;

      gdouble quality;
      gchar *default_font_desc;
      gboolean default_font_effect;
      gdouble default_font_effect_strength;
      guchar default_font_r;
      guchar default_font_g;
      guchar default_font_b;
      guchar default_font_a;
      guchar default_background_r;
      guchar default_background_g;
      guchar default_background_b;
      guchar default_background_a;
      gboolean silent;

      GstVideoFormat video_format;
      gint video_width;
      gint video_height;
      gboolean swap_rgb;
      GstBuffer *render_buffer;
      GstVideoOverlayComposition *composition;

      GMutex *mutex;
      GCond *cond;

      GstSegment video_segment;
      gboolean video_flushing;
      gboolean seen_header;
    };

## Property Details

### The `“category”` property

      “category”                 gchar *

The category of the stream.

Flags: Read

Default value: ""

### The `“default-background-alpha”` property

      “default-background-alpha” gint

Default background color (alpha component, between 0 and 255) to render text with.

Flags: Read / Write

Allowed values: [0,255]

Default value: 255

### The `“default-background-blue”` property

      “default-background-blue”  gint

Default background color (blue component, between 0 and 255) to render text with.

Flags: Read / Write

Allowed values: [0,255]

Default value: 255

### The `“default-background-green”` property

      “default-background-green” gint

Default background color (green component, between 0 and 255) to render text with.

Flags: Read / Write

Allowed values: [0,255]

Default value: 255

### The `“default-background-red”` property

      “default-background-red”   gint

Default background color (red component, between 0 and 255) to render text with.

Flags: Read / Write

Allowed values: [0,255]

Default value: 255

### The `“default-font-alpha”` property

      “default-font-alpha”       gint

Default font color (alpha component, between 0 and 255) to render text with.

Flags: Read / Write

Allowed values: [0,255]

Default value: 255

### The `“default-font-blue”` property

      “default-font-blue”        gint

Default font color (blue component, between 0 and 255) to render text with.

Flags: Read / Write

Allowed values: [0,255]

Default value: 255

### The `“default-font-desc”` property

      “default-font-desc”        gchar *

Default font description (Pango style) to render text with.

Flags: Read / Write

Default value: ""

### The `“default-font-effect”` property

      “default-font-effect”      GstFontEffect

Whether to apply an effect to text by default, for increased readability.

Flags: Read / Write / Construct

Default value: outline

### The `“default-font-effect-strength”` property

      “default-font-effect-strength” gdouble

How pronounced should the font effect be (effect dependent).

Flags: Read / Write

Allowed values: [0,1]

Default value: 0.5

### The `“default-font-green”` property

      “default-font-green”       gint

Default font color (green component, between 0 and 255) to render text with.

Flags: Read / Write

Allowed values: [0,255]

Default value: 255

### The `“default-font-red”` property

      “default-font-red”         gint

Default font color (red component, between 0 and 255) to render text with.

Flags: Read / Write

Allowed values: [0,255]

Default value: 255

### The `“language”` property

      “language”                 gchar *

The language of the stream.

Flags: Read

Default value: ""

### The `“original-canvas-height”` property

      “original-canvas-height”   gint

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

Flags: Read

Allowed values: >= 0

Default value: 0

### The `“original-canvas-width”` property

      “original-canvas-width”    gint

The canvas width this stream was authored for.

Flags: Read

Allowed values: >= 0

Default value: 0

### The `“quality”` property

      “quality”                  gdouble

Rendering quality (0 is faster, 1 is best and slower).

Flags: Read / Write

Allowed values: [0,1]

Default value: 1

## See Also

katedec