amrnbenc
amrnbenc — Adaptive Multi-Rate Narrow-Band audio encoder
|
|
Properties
"band-mode" GstAmrnbEncBandMode : Read / Write / Construct
Description
AMR narrowband encoder based on the
reference codec implementation.
Example launch line
Please note that the above stream misses the header, that is needed to play
the stream.
Synopsis
Element Information
plugin |
amrnb
|
author |
Ronald Bultje <rbultje@ronald.bitfreak.net>, Wim Taymans <wim.taymans@gmail.com> |
class |
Codec/Encoder/Audio |
Element Pads
name |
src |
direction |
source |
presence |
always |
details |
audio/AMR, rate=(int)8000, channels=(int)1 |
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)8000, channels=(int)1 |
Details
GstAmrnbEnc
typedef struct {
GstElement element;
/* pads */
GstPad *sinkpad, *srcpad;
guint64 ts;
gboolean discont;
GstAdapter *adapter;
/* library handle */
void *handle;
/* input settings */
enum Mode bandmode;
gint channels, rate;
gint duration;
} GstAmrnbEnc;
Property Details
The "band-mode"
property
"band-mode" GstAmrnbEncBandMode : Read / Write / Construct
Encoding Band Mode (Kbps).
Default value: MR122