a52dec: GStreamer Ugly Plugins 1.0 Plugins Reference Manual

## a52dec a52dec |

## Properties

gboolean | drc | Read / Write
gboolean | lfe | Read / Write
GstA52DecMode | mode | Read / Write

## Types and Values

struct | GstA52Dec

## Object Hierarchy

        GObject
        ╰── GInitiallyUnowned
            ╰── GstObject
                ╰── GstElement
                    ╰── GstAudioDecoder
                        ╰── GstA52Dec

## Description

Dolby Digital (AC-3) audio decoder.

### Example launch line

    1
    gst-launch-1.0 dvdreadsrc title=1 ! mpegpsdemux ! a52dec ! audioconvert ! audioresample ! autoaudiosink

Play audio part of a dvd title.

    1
    gst-launch-1.0 filesrc location=abc.ac3 ! ac3parse ! a52dec ! audioconvert ! audioresample ! autoaudiosink

Decode and play a stand alone AC-3 file.

## Synopsis

### Element Information

plugin | a52dec
author | David I. Lehn <dlehn@users.sourceforge.net>
class | Codec/Decoder/Audio

### Element Pads

name | sink
direction | sink
presence | always
details | audio/x-ac3
| audio/ac3
| audio/x-private1-ac3

name | src
direction | source
presence | always
details | audio/x-raw, format=(string)F32LE, layout=(string)interleaved, rate=(int)[ 4000, 96000 ], channels=(int)[ 1, 6 ]

## Functions

## Types and Values

### struct GstA52Dec

    struct GstA52Dec;

## Property Details

### The `“drc”` property

      “drc”                      gboolean

Use Dynamic Range Compression.

Flags: Read / Write

Default value: FALSE

### The `“lfe”` property

      “lfe”                      gboolean

LFE.

Flags: Read / Write

Default value: TRUE

### The `“mode”` property

      “mode”                     GstA52DecMode

Decoding Mode (default 3f2r).

Flags: Read / Write

Default value: 3 Front, 2 Rear