speed

speed

Properties

gfloat speed Read / Write / Construct

Types and Values

struct GstSpeed

Object Hierarchy

    GObject
    ╰── GstObject
        ╰── GstElement
            ╰── GstSpeed

Description

Plays an audio stream at a different speed (by resampling the audio).

Do not use this element. Either use the 'pitch' element, or do a seek with a non-1.0 rate parameter, this will have the same effect as using the speed element (but relies on the decoder/demuxer to handle this correctly, also requires a fairly up-to-date gst-plugins-base, as of February 2007).

Example launch line

1
gst-launch filesrc location=test.ogg ! decodebin ! audioconvert ! speed speed=1.5 ! audioconvert ! audioresample ! autoaudiosink
Plays an .ogg file at 1.5x speed.

Last reviewed on 2007-02-26 (0.10.4.1)

Functions

Types and Values

struct GstSpeed

struct GstSpeed;

Property Details

The “speed” property

  “speed”                    gfloat

speed.

Flags: Read / Write / Construct

Allowed values: [0.1,40]

Default value: 1