amrnbenc

amrnbenc

Synopsis

struct              GstAmrnbEnc;

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GstObject
               +----GstElement
                     +----GstAudioEncoder
                           +----GstAmrnbEnc

Implemented Interfaces

GstAmrnbEnc implements GstPreset.

Properties

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

Description

AMR narrowband encoder based on the opencore codec implementation.

Example launch line

1
gst-launch-1.0 filesrc location=abc.wav ! wavparse ! audioconvert ! audioresample ! amrnbenc ! filesink location=abc.amr
Please note that the above stream misses the header, that is needed to play the stream.

Synopsis

Element Information

plugin

amrnb

author

Wim Taymans <wim.taymans@gmail.com>

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, channels=(int)1

name

src

direction

source

presence

always

details

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

Details

struct GstAmrnbEnc

struct GstAmrnbEnc;

Property Details

The "band-mode" property

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

Encoding Band Mode (Kbps).

Default value: MR122

See Also

GstAmrnbDec, GstAmrnbParse