# mpg123audiodec

Audio decoder for MPEG-1 layer 1/2/3 audio data.

## Example pipelines

     gst-launch-1.0 filesrc location=music.mp3 ! mpegaudioparse ! mpg123audiodec ! audioconvert ! audioresample ! autoaudiosink

Decode and play the mp3 file

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstAudioDecoder
                        ╰──mpg123audiodec

## Factory details

Authors: – Carlos Rafael Giani

Classification: – `Codec/Decoder/Audio`

Rank – marginal

Plugin – mpg123

Package – GStreamer Good Plug-ins

## Pad Templates

### `sink`

    audio/mpeg:
        mpegversion: 1
              layer: [ 1, 3 ]
               rate: { (int)8000, (int)11025, (int)12000, (int)16000, (int)22050, (int)24000, (int)32000, (int)44100, (int)48000 }
           channels: [ 1, 2 ]
             parsed: true

Presence – always

Direction – sink

Object type – GstPad

### `src`

    audio/x-raw:
             format: { S16LE, U16LE, S32LE, U32LE, S24LE, U24LE, F32LE }
               rate: { (int)8000, (int)11025, (int)12000, (int)16000, (int)22050, (int)24000, (int)32000, (int)44100, (int)48000 }
           channels: [ 1, 2 ]
             layout: interleaved

Presence – always

Direction – src

Object type – GstPad

The results of the search are