| GStreamer Bad Plugins 0.10 Plugins Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Implemented Interfaces | Properties | ||||
"bitrate" gint : Read / Write "midside" gboolean : Read / Write "outputformat" GstFaacOutputFormat : Read / Write "profile" GstFaacProfile : Read / Write "shortctl" GstFaacShortCtl : Read / Write "tns" gboolean : Read / Write
plugin |
faac |
author |
Ronald Bultje <rbultje@ronald.bitfreak.net> |
class |
Codec/Encoder/Audio |
name |
sink |
direction |
sink |
presence |
always |
details |
audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)[ 8000, 96000 ], channels=(int)[ 1, 6 ] |
name |
src |
direction |
source |
presence |
always |
details |
audio/mpeg, mpegversion=(int){ 4, 2 }, channels=(int)[ 1, 6 ], rate=(int)[ 8000, 96000 ], stream-format=(string){ adts, raw } |
struct GstFaac {
GstAudioEncoder element;
/* stream properties */
gint samplerate,
channels,
format,
bps;
/* input frame size */
gulong samples;
/* required output buffer size */
gulong bytes;
/* negotiated */
gint mpegversion, outputformat;
/* properties */
gint bitrate,
profile,
quality,
brtype,
shortctl;
gboolean tns,
midside;
/* FAAC object */
faacEncHandle handle;
};
"bitrate" property"bitrate" gint : Read / Write
Bitrate in bits/sec.
Allowed values: [8000,320000]
Default value: 128000
"midside" property"midside" gboolean : Read / Write
Allow mid/side encoding.
Default value: TRUE
"outputformat" property "outputformat" GstFaacOutputFormat : Read / Write
Format of output frames.
Default value: OUTPUTFORMAT_RAW
"profile" property "profile" GstFaacProfile : Read / Write
MPEG/AAC encoding profile.
Default value: LC
"shortctl" property "shortctl" GstFaacShortCtl : Read / Write
Block type encorcing.
Default value: SHORTCTL_NORMAL