# avidemux

Demuxes an .avi file into raw or compressed audio and/or video streams.

This element supports both push and pull-based scheduling, depending on the capabilities of the upstream elements.

## Example launch line

     gst-launch-1.0 filesrc location=test.avi ! avidemux name=demux  demux.audio_00 ! decodebin ! audioconvert ! audioresample ! autoaudiosink   demux.video_00 ! queue ! decodebin ! videoconvert ! videoscale ! autovideosink

Play (parse and decode) an .avi file and try to output it to an automatically detected soundcard and videosink. If the AVI file contains compressed audio or video data, this will only work if you have the right decoder elements/plugins installed.

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──avidemux

## Factory details

Authors: – Erik Walthinsen <omega@cse.ogi.edu>, Wim Taymans <wim.taymans@chello.be>, Thijs Vermeir <thijsvermeir@gmail.com></thijsvermeir@gmail.com></wim.taymans@chello.be></omega@cse.ogi.edu>

Classification: – `Codec/Demuxer`

Rank – primary

Plugin – avi

Package – GStreamer Good Plug-ins

## Pad Templates

### `audio_%u`

    audio/ms-gsm:
    audio/mpeg:
        mpegversion: 1
              layer: 3
    audio/mpeg:
        mpegversion: 1
              layer: 2
    audio/x-raw:
             format: { S8, U8, S16LE, U16LE, S24LE, U24LE, S32LE, U32LE }
             layout: interleaved
    audio/x-vorbis:
    audio/x-ac3:
    audio/x-dts:
    audio/mpeg:
        mpegversion: 4
    audio/x-alaw:
    audio/x-mulaw:
    audio/x-wms:
            bitrate: [ 0, 2147483647 ]
        block_align: [ 1, 2147483647 ]
    audio/x-adpcm:
             layout: microsoft
        block_align: [ 1, 2147483647 ]
    audio/x-adpcm:
             layout: dvi
        block_align: [ 1, 2147483647 ]
    audio/x-truespeech:
    audio/x-wma:
         wmaversion: 1
            bitrate: [ 0, 2147483647 ]
        block_align: [ 1, 2147483647 ]
    audio/x-wma:
         wmaversion: 2
            bitrate: [ 0, 2147483647 ]
        block_align: [ 1, 2147483647 ]
    audio/x-wma:
         wmaversion: 3
            bitrate: [ 0, 2147483647 ]
        block_align: [ 1, 2147483647 ]
    audio/x-vnd.sony.atrac3:
    audio/x-raw:
             format: { F32LE, F64LE }
             layout: interleaved
    audio/x-voxware:
        voxwaretype: 117
    audio/x-adpcm:
             layout: dk4
    audio/x-adpcm:
             layout: dk3
    audio/x-adpcm:
             layout: dvi
    audio/AMR:
    audio/AMR-WB:
    audio/x-siren:
    application/x-ogg-avi:
    audio/x-avi-unknown:

Presence – sometimes

Direction – src

Object type – GstPad

### `sink`

    video/x-msvideo:

Presence – always

Direction – sink

Object type – GstPad

### `subpicture_%u`

    subpicture/x-xsub:

Presence – sometimes

Direction – src

Object type – GstPad

### `subtitle_%u`

    application/x-subtitle-avi:

Presence – sometimes

Direction – src

Object type – GstPad

### `video_%u`

    video/mpeg:
        mpegversion: 4
       systemstream: false
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-asus:
        asusversion: 1
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-asus:
        asusversion: 2
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-cineform:
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-cirrus-logic-accupak:
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-camstudio:
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-compressed-yuv:
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-raw:
             format: { RGB8P, BGR, BGRx }
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-divx:
        divxversion: 3
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-divx:
        divxversion: 4
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-truemotion:
        trueversion: 1
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-dv:
       systemstream: false
          dvversion: 25
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-dv:
       systemstream: false
          dvversion: 50
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-divx:
        divxversion: 5
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/mpeg:
        mpegversion: 4
       systemstream: false
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-flash-video:
         flvversion: 1
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-vp6-flash:
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-h263:
            variant: itu
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-h263:
            variant: lucent
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-h264:
            variant: itu
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-h265:
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-huffyuv:
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-intel-h263:
            variant: intel
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-raw:
             format: I420
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-indeo:
       indeoversion: 3
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-indeo:
       indeoversion: 4
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-indeo:
       indeoversion: 5
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-h263:
            variant: lead
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-h264:
            variant: lead
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-h263:
            variant: microsoft
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/mpeg:
        mpegversion: 4
       systemstream: false
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    image/jpeg:
             parsed: true
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-msmpeg:
      msmpegversion: 42
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-msmpeg:
      msmpegversion: 43
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/mpeg:
       systemstream: false
        mpegversion: 1
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/mpeg:
       systemstream: false
        mpegversion: 2
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-msmpeg:
      msmpegversion: 41
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-mszh:
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    image/png:
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-rle:
             layout: microsoft
              depth: [ 1, 64 ]
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-indeo:
       indeoversion: 2
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/sp5x:
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-truemotion:
        trueversion: 2
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-camtasia:
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-ultimotion:
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-raw:
             format: UYVY
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-ati-vcr:
         vcrversion: 1
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-ati-vcr:
         vcrversion: 2
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-h263:
            variant: vdolive
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-h263:
            variant: vivo
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-vmnc:
            version: 1
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-vp3:
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-h264:
            variant: videosoft
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-wmv:
         wmvversion: 1
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-wmv:
         wmvversion: 2
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-wmv:
         wmvversion: 3
             format: WMV3
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/mpeg:
        mpegversion: 4
       systemstream: false
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-xan:
          wcversion: 4
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-raw:
             format: YUY2
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-raw:
             format: YVU9
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-zlib:
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-cinepak:
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-h264:
            variant: itu
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-msvideocodec:
     msvideoversion: 1
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-h263:
            variant: xirlink
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-dirac:
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-ffv:
         ffvversion: 1
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-kmvc:
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-vp5:
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-vp6:
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-vp6-flash:
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-vp7:
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-vp8:
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-mimic:
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-apple-video:
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-theora:
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-fraps:
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-aasc:
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-raw:
             format: YV12
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-loco:
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-zmbv:
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-raw:
             format: v210
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-raw:
             format: r210
          framerate: [ 0/1, 2147483647/1 ]
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-dv:
       systemstream: true
    video/x-avi-unknown:

Presence – sometimes

Direction – src

Object type – GstPad

The results of the search are