# katetag

The katetag element can change the tag contained within a raw kate stream. Specifically, it modifies the comments header packet of the kate stream, as well as the language and category of the kate stream.

The element will also process the stream as the kateparse element does so it can be used when remuxing an Ogg Kate stream, without additional elements.

Applications can set the tags to write using the GstTagSetter interface. Tags contained within the kate stream will be picked up automatically (and merged according to the merge mode set via the tag setter interface).

## Example pipelines

This element is only useful with gst-launch-1.0 for modifying the language and/or category (which are properties of the stream located in the kate beginning of stream header), because it does not support setting the tags on a GstTagSetter interface. Conceptually, the element will usually be used like:

     gst-launch-1.0 -v filesrc location=foo.ogg ! oggdemux ! katetag ! oggmux ! filesink location=bar.ogg

This pipeline will set the language and category of the stream to the given values:

     gst-launch-1.0 -v filesrc location=foo.ogg ! oggdemux ! katetag language=pt_BR category=subtitles ! oggmux ! filesink location=bar.ogg

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstKateParse
                        ╰──katetag

## Implemented interfaces

    GstTagSetter

## Factory details

Authors: – Vincent Penquerc'h

Classification: – `Formatter/Metadata`

Rank – none

Plugin – kate

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    subtitle/x-kate:
    application/x-kate:

Presence – always

Direction – sink

Object type – GstPad

### `src`

    subtitle/x-kate:
    application/x-kate:

Presence – always

Direction – src

Object type – GstPad

## Properties

### category

    “category” gchararray

Set the category of the stream

Flags : Read / Write

### language

    “language” gchararray

Set the language of the stream

Flags : Read / Write

### original-canvas-height

    “original-canvas-height” gint

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

Flags : Read / Write

Default value : -1

### original-canvas-width

    “original-canvas-width” gint

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

Flags : Read / Write

Default value : -1

The results of the search are