# webmmux

webmmux muxes VP8 video and Vorbis audio streams into a WebM file.

## Example launch line

     gst-launch-1.0 webmmux name=mux ! filesink location=newfile.webm         \
       uridecodebin uri=file:///path/to/somefile.ogv name=demux                \
       demux. ! videoconvert ! vp8enc ! queue ! mux.video_0    \
       demux. ! progressreport ! audioconvert ! audiorate ! vorbisenc ! queue ! mux.audio_0

This pipeline re-encodes a video file of any format into a WebM file.

     gst-launch-1.0 webmmux name=mux ! filesink location=test.webm            \
       videotestsrc num-buffers=250 ! video/x-raw,framerate=25/1 ! videoconvert ! vp8enc ! queue ! mux.video_0 \
       audiotestsrc samplesperbuffer=44100 num-buffers=10 ! audio/x-raw,rate=44100 ! vorbisenc ! queue ! mux.audio_0

This pipeline muxes a test video and a sine wave into a WebM file.

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstAggregator
                        ╰──GstMatroskaMux
                            ╰──webmmux

## Implemented interfaces

    GstTagSetter
    GstTocSetter

## Factory details

Authors: – GStreamer maintainers

Classification: – `Codec/Muxer`

Rank – primary

Plugin – matroska

Package – GStreamer Good Plug-ins

## Pad Templates

### `audio_%u`

    audio/x-vorbis:
           channels: [ 1, 2147483647 ]
               rate: [ 1, 2147483647 ]
    audio/x-opus:
           channels: [ 1, 2147483647 ]
               rate: [ 1, 2147483647 ]

Presence – request

Direction – sink

Object type – GstMatroskaMuxPad

### `src`

    video/webm:
    audio/webm:

Presence – always

Direction – src

Object type – GstPad

### `subtitle_%u`

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

Presence – request

Direction – sink

Object type – GstMatroskaMuxPad

### `video_%u`

    video/x-vp8:
              width: [ 16, 2147483647 ]
             height: [ 16, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]
    video/x-vp9:
              width: [ 16, 2147483647 ]
             height: [ 16, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]
    video/x-av1:
      stream-format: obu-stream
          alignment: tu
              width: [ 16, 2147483647 ]
             height: [ 16, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]

Presence – request

Direction – sink

Object type – GstMatroskaMuxPad

The results of the search are