amrwbenc
amrwbenc — Adaptive Multi-Rate Wideband audio encoder
|
|
Properties
"band-mode" GstAmrwbEncBandMode : Read / Write / Construct
Description
AMR wideband encoder based on the
reference codec implementation.
Example launch line
|[
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 |
amrwb
|
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
GstAmrwbEnc
typedef struct {
GstElement element;
/* pads */
GstPad *sinkpad, *srcpad;
guint64 ts;
GstAdapter *adapter;
/* library handle */
void *handle;
/* input settings */
gint bandmode;
gint channels, rate;
} GstAmrwbEnc;
Property Details
The "band-mode
" property
"band-mode" GstAmrwbEncBandMode : Read / Write / Construct
Encoding Band Mode (Kbps).
Default value: MR660