| GStreamer Bad Plugins 0.10 Plugins Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
AAC audio encoder based on vo-aacenc library vo-aacenc library source file.
gst-launch filesrc location=abc.wav ! wavparse ! audioresample ! audioconvert ! voaacenc ! filesink location=abc.aac
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, 96000 ], channels=(int)[ 1, 6 ] |
name |
src |
direction |
source |
presence |
always |
details |
audio/mpeg, mpegversion=(int)4, rate=(int)[ 8000, 96000 ], channels=(int)[ 1, 6 ], stream-format=(string){ adts, raw } |
struct GstVoAacEnc {
GstElement element;
/* pads */
GstPad *sinkpad, *srcpad;
gboolean discont;
GstAdapter *adapter;
/* desired bitrate */
gint bitrate;
/* caps */
gint channels;
gint rate;
gint output_format;
gint duration;
gint inbuf_size;
/* library handle */
VO_AUDIO_CODECAPI codec_api;
VO_HANDLE handle;
VO_MEM_OPERATOR mem_operator;
};