## amrwbenc amrwbenc — Adaptive Multi-Rate Wideband audio encoder |

## Synopsis

    struct              GstAmrwbEnc;

## Properties

      "band-mode"                GstAmrwbEncBandMode   : Read / Write / Construct

## Description

AMR wideband encoder based on the reference codec implementation.

### Example launch line

    1
    gst-launch filesrc location=abc.wav ! wavparse ! audioresample ! audioconvert ! amrwbenc ! filesink location=abc.amr

Please not that the above stream misses the header, that is needed to play the stream.

## Synopsis

### Element Information

plugin | amrwbenc
author | Renato Araujo <renato.filho@indt.org.br>
class | Codec/Encoder/Audio

### Element Pads

name | sink
direction | sink
presence | always
details | audio/x-raw-int, width=(int)16, depth=(int)16, signed=(boolean)true, endianness=(int)1234, rate=(int)16000, channels=(int)1

name | src
direction | source
presence | always
details | audio/AMR-WB, rate=(int)16000, channels=(int)1

## Details

### struct GstAmrwbEnc

    struct GstAmrwbEnc {
      GstElement element;

      /* pads */
      GstPad *sinkpad, *srcpad;
      guint64 ts;
      gboolean discont;

      GstAdapter *adapter;

      /* library handle */
      void *handle;

      /* input settings */
      gint bandmode;
      gint channels, rate;
    };

## Property Details

### The `"band-mode"` property

      "band-mode"                GstAmrwbEncBandMode   : Read / Write / Construct

Encoding Band Mode (Kbps).

Default value: MR660

## See Also

GstAmrwbDec, GstAmrwbParse