celtenc

celtenc

Properties

gint bitrate Read / Write
gint framesize Read / Write
gboolean cbr Read / Write
gint complexity Read / Write
gint max-bitrate Read / Write
GstCeltEncPrediction prediction Read / Write
gint start-band Read / Write

Types and Values

struct GstCeltEnc

Object Hierarchy

    GObject
    ╰── GstObject
        ╰── GstElement
            ╰── GstAudioEncoder
                ╰── GstCeltEnc

Implemented Interfaces

GstCeltEnc implements GstTagSetter and GstPreset.

Description

This element raw audio to CELT.

Example pipelines

1
gst-launch -v audiotestsrc wave=sine num-buffers=100 ! audioconvert ! celtenc ! oggmux ! filesink location=sine.ogg
Encode a test sine signal to Ogg/CELT.

Functions

Types and Values

struct GstCeltEnc

struct GstCeltEnc;

Property Details

The “bitrate” property

  “bitrate”                  gint

Specify an encoding bit-rate (in bps).

Flags: Read / Write

Allowed values: [10000,320000]

Default value: 64000

The “framesize” property

  “framesize”                gint

The number of samples per frame.

Flags: Read / Write

Allowed values: [64,512]

Default value: 480

The “cbr” property

  “cbr”                      gboolean

Constant bit rate.

Flags: Read / Write

Default value: TRUE

The “complexity” property

  “complexity”               gint

Complexity.

Flags: Read / Write

Allowed values: [0,10]

Default value: 9

The “max-bitrate” property

  “max-bitrate”              gint

Specify a maximum encoding bit rate (in bps) for variable bit rate encoding.

Flags: Read / Write

Allowed values: [10000,320000]

Default value: 64000

The “prediction” property

  “prediction”               GstCeltEncPrediction

Controls the use of interframe prediction.

Flags: Read / Write

Default value: Independent frames

The “start-band” property

  “start-band”               gint

Controls the start band that should be used.

Flags: Read / Write

Allowed values: >= 0

Default value: 0

See Also

celtdec, oggmux