amrnbdec

amrnbdec — Adaptive Multi-Rate Narrow-Band audio decoder

Synopsis

struct              GstAmrnbDec;

Properties

  "variant"                  GstAmrnbVariant       : Read / Write / Construct

Description

AMR narrowband decoder based on the opencore codec implementation.

Example launch line

1
gst-launch filesrc location=abc.amr ! amrparse ! amrnbdec ! audioresample ! audioconvert ! alsasink

Synopsis

Element Information

plugin

amrnb

author

GStreamer maintainers <gstreamer-devel@lists.sourceforge.net>

class

Codec/Decoder/Audio

Element Pads

name

sink

direction

sink

presence

always

details

audio/AMR, rate=(int)8000, channels=(int)1

name

src

direction

source

presence

always

details

audio/x-raw-int, width=(int)16, depth=(int)16, signed=(boolean)true, endianness=(int)1234, rate=(int)8000, channels=(int)1

Details

struct GstAmrnbDec

struct GstAmrnbDec {
  GstElement element;

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

  GstAmrnbVariant variant;

  GstAdapter *adapter;

  /* library handle */
  void *handle;

  /* output settings */
  gint channels, rate;
  gint duration;

  GstSegment        segment;
  gboolean          discont;
};

Property Details

The "variant" property

  "variant"                  GstAmrnbVariant       : Read / Write / Construct

The decoder variant.

Default value: IF1

See Also

GstAmrnbEnc, GstAmrParse