## lamemp3enc lamemp3enc — High-quality free MP3 encoder |

## Synopsis

    struct              GstLameMP3Enc;

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GstObject
                   +----GstElement
                         +----GstAudioEncoder
                               +----GstLameMP3Enc

## Implemented Interfaces

GstLameMP3Enc implements GstPreset.

## Properties

      "bitrate"                  gint                  : Read / Write / Construct
      "cbr"                      gboolean              : Read / Write / Construct
      "encoding-engine-quality"  GstLameMP3EncEncodingEngineQuality  : Read / Write / Construct
      "mono"                     gboolean              : Read / Write / Construct
      "quality"                  gfloat                : Read / Write / Construct
      "target"                   GstLameMP3EncTarget   : Read / Write / Construct

## Description

## Synopsis

### Element Information

plugin | lame
author | Sebastian Dröge <sebastian.droege@collabora.co.uk>
class | Codec/Encoder/Audio

### Element Pads

name | sink
direction | sink
presence | always
details | audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int){ 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000 }, channels=(int)1
| audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int){ 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000 }, channels=(int)2, channel-mask=(bitmask)0x0000000000000003

name | src
direction | source
presence | always
details | audio/mpeg, mpegversion=(int)1, layer=(int)3, rate=(int){ 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000 }, channels=(int)[ 1, 2 ]

## Details

### struct GstLameMP3Enc

    struct GstLameMP3Enc;

## Property Details

### The `"bitrate"` property

      "bitrate"                  gint                  : Read / Write / Construct

Bitrate in kbit/sec (Only valid if target is bitrate, for CBR one of 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256 or 320).

Allowed values: [8,320]

Default value: 128

### The `"cbr"` property

      "cbr"                      gboolean              : Read / Write / Construct

Enforce constant bitrate encoding (Only valid if target is bitrate).

Default value: FALSE

### The `"encoding-engine-quality"` property

      "encoding-engine-quality"  GstLameMP3EncEncodingEngineQuality  : Read / Write / Construct

Quality/speed of the encoding engine, this does not affect the bitrate!.

Default value: Standard

### The `"mono"` property

      "mono"                     gboolean              : Read / Write / Construct

Enforce mono encoding.

Default value: FALSE

### The `"quality"` property

      "quality"                  gfloat                : Read / Write / Construct

VBR Quality from 0 to 10, 0 being the best (Only valid if target is quality).

Allowed values: [0,9.999]

Default value: 4

### The `"target"` property

      "target"                   GstLameMP3EncTarget   : Read / Write / Construct

Optimize for quality or bitrate.

Default value: Quality