![]() |
![]() |
![]() |
GStreamer Bad Plugins 0.10 Plugins Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Properties |
"bitrate" gint : Read / Write "framesize" gint : Read / Write "cbr" gboolean : Read / Write "complexity" gint : Read / Write "max-bitrate" gint : Read / Write
This element raw audio to CELT.
1 |
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 ], frame-size=(int)[ 64, 512 ] |
struct GstCeltEnc { GstElement element; /* pads */ GstPad *sinkpad; GstPad *srcpad; CELTHeader header; CELTMode *mode; CELTEncoder *state; GstAdapter *adapter; gint bitrate; gint frame_size; gboolean cbr; gint complexity; gint max_bitrate; gint channels; gint rate; gboolean setup; gboolean header_sent; gboolean eos; guint64 samples_in; guint64 bytes_out; guint64 frameno; guint64 frameno_out; GstClockTime start_ts; GstClockTime next_ts; guint64 granulepos_offset; };
"bitrate"
property "bitrate" gint : Read / Write
Specify an encoding bit-rate (in Kbps).
Allowed values: [10,320]
Default value: 64
"framesize"
property "framesize" gint : Read / Write
The number of samples per frame.
Allowed values: [64,512]
Default value: 480
"complexity"
property "complexity" gint : Read / Write
Complexity.
Allowed values: [0,10]
Default value: 9