mad

mad — Uses mad code to decode mp3 streams

Synopsis

                    GstMad;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstMad

Properties

  "half"                     gboolean              : Read / Write
  "ignore-crc"               gboolean              : Read / Write

Description

MP3 audio decoder.

Example pipelines

1
gst-launch filesrc location=music.mp3 ! mad ! audioconvert ! audioresample ! autoaudiosink
Decode the mp3 file and play

Details

GstMad

typedef struct _GstMad GstMad;

Property Details

The "half" property

  "half"                     gboolean              : Read / Write

Generate PCM at 1/2 sample rate.

Default value: FALSE


The "ignore-crc" property

  "ignore-crc"               gboolean              : Read / Write

Ignore CRC errors.

Default value: TRUE

See Also

lame