# matroskademux

matroskademux demuxes a Matroska file into the different contained streams.

## Example launch line

     gst-launch-1.0 -v filesrc location=/path/to/mkv ! matroskademux ! vorbisdec ! audioconvert ! audioresample ! autoaudiosink

This pipeline demuxes a Matroska file and outputs the contained Vorbis audio.

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──matroskademux

## Factory details

Authors: – GStreamer maintainers

Classification: – `Codec/Demuxer`

Rank – primary

Plugin – matroska

Package – GStreamer Good Plug-ins

## Pad Templates

### `audio_%u`

    ANY

Presence – sometimes

Direction – src

Object type – GstPad

### `sink`

    audio/x-matroska:
    video/x-matroska:
    video/x-matroska-3d:
    audio/webm:
    video/webm:

Presence – always

Direction – sink

Object type – GstPad

### `subtitle_%u`

    text/x-raw:
             format: pango-markup
    application/x-ssa:
    application/x-ass:
    application/x-usf:
    subpicture/x-dvd:
    subpicture/x-pgs:
    subtitle/x-kate:
    application/x-subtitle-unknown:

Presence – sometimes

Direction – src

Object type – GstPad

### `video_%u`

    ANY

Presence – sometimes

Direction – src

Object type – GstPad

## Properties

### max-backtrack-distance

    “max-backtrack-distance” guint

Maximum backtrack distance in seconds when seeking without and index in pull mode and search for a keyframe (0 = disable backtracking).

Flags : Read / Write

Default value : 30

### max-gap-time

    “max-gap-time” guint64

The demuxer sends out segment events for skipping gaps longer than this (0 = disabled).

Flags : Read / Write

Default value : 2000000000

The results of the search are