Results 1 to 3 of 3

Thread: Phonon playback delay

  1. #1
    Join Date
    Jan 2009
    Posts
    5
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Phonon playback delay

    I have a project using Phonon for audio playback using the MediaObject. When a new file begins to play, there is a large delay, sometimes minutes long. The system doesn't appear overly taxed. The state variable changes to Phonon::PlayingState, so I believe the issue might lie in gstreamer. This is on a Gentoo system, and I believe I installed some updates to gstreamer a while ago that may have caused this. I have completely rebuilt the system but the problem persists. Has anyone seen this before? Is there a way to get debug info from gstreamer?

  2. #2
    Join Date
    Jan 2009
    Posts
    5
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Phonon playback delay

    One other thing I've noticed is that the delay seems to double every time. After second file is played, the delay is 2 seconds, next one is 4 seconds, etc. I'm not quite sure what strace is showing, but I do see a lot of clock_gettime( CLOCK_MONOTONIC, ... ) during the delays.

  3. #3
    Join Date
    Jan 2009
    Posts
    5
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Phonon playback delay

    I've got this worked out! It was gstreamer. I was able to compile the VLC phonon plugin and override the gstreamer one. I was a little unsure this would work, as I thought the VLC phonon might be for KDE only. Turns out it runs great!

Similar Threads

  1. I cannot run the phonon demos in the PXA270!Can someone help me?
    By Justin_W in forum Qt for Embedded and Mobile
    Replies: 8
    Last Post: 19th February 2010, 10:14
  2. phonon does not work on Qt 4.5.3,what is the problem?
    By mismael85 in forum Qt Programming
    Replies: 3
    Last Post: 21st December 2009, 11:03
  3. Replies: 2
    Last Post: 24th April 2009, 12:13
  4. Problem with compiling qt on windows xp with phonon
    By junky in forum Installation and Deployment
    Replies: 3
    Last Post: 13th April 2009, 08:13
  5. Video freezes during mpeg video playback using Phonon
    By davejames in forum Qt Programming
    Replies: 2
    Last Post: 12th January 2009, 08:45

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.