speexenc

speexenc — Encodes audio in Speex format

Synopsis

struct              GstSpeexEnc;

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GstObject
               +----GstElement
                     +----GstAudioEncoder
                           +----GstSpeexEnc

Implemented Interfaces

GstSpeexEnc implements GstTagSetter and GstPreset.

Properties

  "abr"                      gint                  : Read / Write / Construct
  "bitrate"                  gint                  : Read / Write / Construct
  "complexity"               gint                  : Read / Write / Construct
  "dtx"                      gboolean              : Read / Write / Construct
  "last-message"             gchar*                : Read
  "nframes"                  gint                  : Read / Write / Construct
  "quality"                  gfloat                : Read / Write / Construct
  "vad"                      gboolean              : Read / Write / Construct
  "vbr"                      gboolean              : Read / Write / Construct
  "mode"                     GstSpeexEncMode       : Read / Write / Construct

Description

Synopsis

Element Information

plugin

speex

author

Wim Taymans <wim@fluendo.com>

class

Codec/Encoder/Audio

Element Pads

name

sink

direction

sink

presence

always

details

audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)[ 6000, 48000 ], channels=(int)1

audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)[ 6000, 48000 ], channels=(int)2, channel-mask=(bitmask)0x0000000000000003

name

src

direction

source

presence

always

details

audio/x-speex, rate=(int)[ 6000, 48000 ], channels=(int)[ 1, 2 ]

Details

struct GstSpeexEnc

struct GstSpeexEnc;

Property Details

The "abr" property

  "abr"                      gint                  : Read / Write / Construct

Enable average bit-rate (0 = disabled).

Allowed values: >= 0

Default value: 0


The "bitrate" property

  "bitrate"                  gint                  : Read / Write / Construct

Specify an encoding bit-rate (in bps). (0 = automatic).

Allowed values: >= 0

Default value: 0


The "complexity" property

  "complexity"               gint                  : Read / Write / Construct

Set encoding complexity.

Allowed values: >= 0

Default value: 3


The "dtx" property

  "dtx"                      gboolean              : Read / Write / Construct

Enable discontinuous transmission.

Default value: FALSE


The "last-message" property

  "last-message"             gchar*                : Read

The last status message.

Default value: NULL


The "nframes" property

  "nframes"                  gint                  : Read / Write / Construct

Number of frames per buffer.

Allowed values: >= 0

Default value: 1


The "quality" property

  "quality"                  gfloat                : Read / Write / Construct

Encoding quality.

Allowed values: [0,10]

Default value: 8


The "vad" property

  "vad"                      gboolean              : Read / Write / Construct

Enable voice activity detection.

Default value: FALSE


The "vbr" property

  "vbr"                      gboolean              : Read / Write / Construct

Enable variable bit-rate.

Default value: FALSE


The "mode" property

  "mode"                     GstSpeexEncMode       : Read / Write / Construct

The encoding mode.

Default value: Auto