speexenc

speexenc — Encodes audio in Speex format

Synopsis

                    GstSpeexEnc;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstSpeexEnc

Implemented Interfaces

GstSpeexEnc implements GstTagSetter and GstPreset.

Properties

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

Description

This element encodes audio as a Speex stream. Speex is a royalty-free audio codec maintained by the Xiph.org Foundation.

Example pipelines

gst-launch audiotestsrc num-buffers=100 ! speexenc ! oggmux ! filesink location=beep.ogg
Encode an Ogg/Speex file.

Details

GstSpeexEnc

typedef struct _GstSpeexEnc GstSpeexEnc;

Property Details

The "abr" property

  "abr"                      gint                  : Read / Write

Enable average bit-rate (0 = disabled).

Allowed values: >= 0

Default value: 0


The "bitrate" property

  "bitrate"                  gint                  : Read / Write

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

Allowed values: >= 0

Default value: 0


The "complexity" property

  "complexity"               gint                  : Read / Write

Set encoding complexity.

Allowed values: >= 0

Default value: 3


The "dtx" property

  "dtx"                      gboolean              : Read / Write

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

Number of frames per buffer.

Allowed values: >= 0

Default value: 1


The "quality" property

  "quality"                  gfloat                : Read / Write

Encoding quality.

Allowed values: [0,10]

Default value: 8


The "vad" property

  "vad"                      gboolean              : Read / Write

Enable voice activity detection.

Default value: FALSE


The "vbr" property

  "vbr"                      gboolean              : Read / Write

Enable variable bit-rate.

Default value: FALSE


The "mode" property

  "mode"                     GstSpeexEncMode       : Read / Write

The encoding mode.

Default value: Auto

See Also

speexdec, oggmux