Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6736521
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:08:20+00:00 2026-05-26T11:08:20+00:00

I want to play audio files with different playback rates using GStreamer . This

  • 0

I want to play audio files with different playback rates using GStreamer. This already works fine. However, in contrast to the Python GStreamer reference, negative rates do not play the audio file backwards.

Does anybody know how to accomplish my goal? Has this something to do with filesrc or decodebin2 not being able to buffer the file for playing in reverse? Or is this simply a bug?

Here’s a (veeery) simplified version of my code:

import os

import pygst
pygst.require('0.10')
import gst
import gtk


gst_command = ('filesrc location=%s ! decodebin2 ! autoaudiosink') % \
    '/mnt/audio/test.wav'
pipeline = gst.parse_launch(gst_command)
pipeline.set_state(gst.STATE_PLAYING)
pipeline.get_state()

position = 10 * gst.SECOND
rate = -1.0
pipeline.seek(rate, gst.FORMAT_TIME, \
           gst.SEEK_FLAG_FLUSH | gst.SEEK_FLAG_ACCURATE, \
           gst.SEEK_TYPE_SET, position, \
           gst.SEEK_TYPE_NONE, -1)

gtk.main()

I’m familiar with other programming languages than Python, so do not hesitate to answer using your favorite language… 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T11:08:21+00:00Added an answer on May 26, 2026 at 11:08 am

    It seems the debug output says:

    0:00:00.447509530  6848      0x10d6e30 DEBUG               wavparse gstwavparse.c:1020:gst_wavparse_perform_seek:<wavparse0> negative playback rates are not supported yet.
    

    so you should file a bug to request this be implemented, or implement it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to play some videos with audio from different audio files. For this
I just want to play several audio files sequentially using HTML5 Audio function. At
My app needs to play some audio files and I want to fade-out the
Apparently Java only plays .au audio files and I want to play mp3 files.
I want to play Audio in flex application.I am using SWFLoader for it.Is there
I write an Desktop/iOS Game with OpenGL and want to play audio files (mp3
I want to develop an audio editor using Qt. For this, I need to
I want play compressed audio files. I want to know how to specify the
I have a series of audio files which I want to play in sequence.
What are the supported audio files formats in iPhone? If I want to play

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.