# oggmux

This element merges streams (audio and video) into ogg files.

## Example pipelines

     gst-launch-1.0 v4l2src num-buffers=500 ! video/x-raw,width=320,height=240 ! videoconvert ! videorate ! theoraenc ! oggmux ! filesink location=video.ogg

Encodes a video stream captured from a v4l2-compatible camera to Ogg/Theora (the encoding will stop automatically after 500 frames)

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──oggmux

## Implemented interfaces

    GstPreset

## Factory details

Authors: – Wim Taymans <wim></wim>

Classification: – `Codec/Muxer`

Rank – primary

Plugin – ogg

Package – GStreamer Base Plug-ins

## Pad Templates

### `audio_%u`

    audio/x-vorbis:
    audio/x-flac:
    audio/x-speex:
    audio/x-celt:
    application/x-ogm-audio:
    audio/x-opus:

Presence – request

Direction – sink

Object type – GstPad

### `src`

    application/ogg:
    audio/ogg:
    video/ogg:

Presence – always

Direction – src

Object type – GstPad

### `subtitle_%u`

    text/x-cmml:
            encoded: true
    subtitle/x-kate:
    application/x-kate:

Presence – request

Direction – sink

Object type – GstPad

### `video_%u`

    video/x-theora:
    application/x-ogm-video:
    video/x-dirac:
    video/x-smoke:
    video/x-vp8:
    video/x-daala:

Presence – request

Direction – sink

Object type – GstPad

## Properties

### max-delay

    “max-delay” guint64

Maximum delay in multiplexing streams

Flags : Read / Write

Default value : 500000000

### max-page-delay

    “max-page-delay” guint64

Maximum delay for sending out a page

Flags : Read / Write

Default value : 500000000

### max-tolerance

    “max-tolerance” guint64

Maximum timestamp difference for maintaining perfect granules

Flags : Read / Write

Default value : 40000000

### skeleton

    “skeleton” gboolean

Whether to include a Skeleton track

Flags : Read / Write

Default value : false

The results of the search are