tiger

## tiger tiger — Decodes and renders Kate streams on top of a video |

## Synopsis

    struct              GstKateTiger;

## Properties

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

## Description

## Synopsis

### Element Information

plugin | kate
author | Vincent Penquerc'h <ogg.k.ogg.k@googlemail.com>
class | Mixer/Video/Overlay/Subtitle

### Element Pads

name | subtitle_sink
direction | sink
presence | always
details | subtitle/x-kate
| application/x-kate

name | video_sink
direction | sink
presence | always
details | video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]
| video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]
| video/x-raw-yuv, format=(fourcc){ I420, YV12, AYUV, YUY2, UYVY, v308, v210, v216, Y41B, Y42B, Y444, Y800, Y16 , NV12, NV21, UYVP, A420, YUV9, IYU1 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

name | src
direction | source
presence | always
details | video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]
| video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]
| video/x-raw-yuv, format=(fourcc){ I420, YV12, AYUV, YUY2, UYVY, v308, v210, v216, Y41B, Y42B, Y444, Y800, Y16 , NV12, NV21, UYVP, A420, YUV9, IYU1 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

## Details

### 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*                : Read

The category of the stream.

Default value: ""

### The `"default-background-alpha"` property

      "default-background-alpha" gint                  : Read / Write

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

Allowed values: [0,255]

Default value: 255

### The `"default-background-blue"` property

      "default-background-blue"  gint                  : Read / Write

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

Allowed values: [0,255]

Default value: 255

### The `"default-background-green"` property

      "default-background-green" gint                  : Read / Write

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

Allowed values: [0,255]

Default value: 255

### The `"default-background-red"` property

      "default-background-red"   gint                  : Read / Write

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

Allowed values: [0,255]

Default value: 255

### The `"default-font-alpha"` property

      "default-font-alpha"       gint                  : Read / Write

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

Allowed values: [0,255]

Default value: 255

### The `"default-font-blue"` property

      "default-font-blue"        gint                  : Read / Write

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

Allowed values: [0,255]

Default value: 255

### The `"default-font-desc"` property

      "default-font-desc"        gchar*                : Read / Write

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

Default value: ""

### The `"default-font-effect"` property

      "default-font-effect"      GstFontEffect         : Read / Write / Construct

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

Default value: outline

### The `"default-font-effect-strength"` property

      "default-font-effect-strength" gdouble               : Read / Write

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

Allowed values: [0,1]

Default value: 0.5

### The `"default-font-green"` property

      "default-font-green"       gint                  : Read / Write

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

Allowed values: [0,255]

Default value: 255

### The `"default-font-red"` property

      "default-font-red"         gint                  : Read / Write

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

Allowed values: [0,255]

Default value: 255

### The `"language"` property

      "language"                 gchar*                : Read

The language of the stream.

Default value: ""

### The `"original-canvas-height"` property

      "original-canvas-height"   gint                  : Read

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

Allowed values: >= 0

Default value: 0

### The `"original-canvas-width"` property

      "original-canvas-width"    gint                  : Read

The canvas width this stream was authored for.

Allowed values: >= 0

Default value: 0

### The `"quality"` property

      "quality"                  gdouble               : Read / Write

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

Allowed values: [0,1]

Default value: 1