| GStreamer Bad Plugins 0.10 Plugins Reference Manual | ||||
|---|---|---|---|---|
This element raw audio to CELT.
gst-launch -v audiotestsrc wave=sine num-buffers=100 ! audioconvert ! celtenc ! oggmux ! filesink location=sine.ogg
plugin |
celt |
author |
Sebastian Dröge <sebastian.droege@collabora.co.uk> |
class |
Codec/Encoder/Audio |
name |
sink |
direction |
sink |
presence |
always |
details |
audio/x-raw-int, rate=(int)[ 32000, 64000 ], channels=(int)[ 1, 2 ], endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16 |
name |
src |
direction |
source |
presence |
always |
details |
audio/x-celt, rate=(int)[ 32000, 64000 ], channels=(int)[ 1, 2 ] |
typedef struct {
GstElement element;
/* pads */
GstPad *sinkpad;
GstPad *srcpad;
CELTHeader header;
CELTMode *mode;
CELTEncoder *state;
GstAdapter *adapter;
gint bitrate;
gint frame_size;
gint channels;
gint rate;
gboolean setup;
gboolean header_sent;
gboolean eos;
guint64 samples_in;
guint64 bytes_out;
GstTagList *tags;
guint64 frameno;
guint64 frameno_out;
GstClockTime start_ts;
GstClockTime next_ts;
guint64 granulepos_offset;
} GstCeltEnc;