speed

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

 gst-launch-1.0 filesrc location=test.ogg ! decodebin ! audioconvert ! speed speed=1.5 ! audioconvert ! audioresample ! autoaudiosink

Plays an .ogg file at 1.5x speed.

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──speed

Factory details

Authors: – Andy Wingo , Tim-Philipp Müller

Classification:Filter/Effect/Audio

Rank – none

Plugin – speed

Package – GStreamer Bad Plug-ins

Pad Templates

sink

audio/x-raw:
         format: { F32LE, S16LE }
           rate: [ 1, 2147483647 ]
       channels: [ 1, 2147483647 ]

Presencealways

Directionsink

Object typeGstPad


src

audio/x-raw:
         format: { F32LE, S16LE }
           rate: [ 1, 2147483647 ]
       channels: [ 1, 2147483647 ]

Presencealways

Directionsrc

Object typeGstPad


Properties

speed

“speed” gfloat

speed

Flags : Read / Write / Construct

Default value : 1


The results of the search are