Results 1 to 6 of 6

Thread: Stuttering in Amarok from phonon-backend-xine

  1. #1
    Join Date
    Dec 2008
    Location
    Jigoku
    Beans
    14

    Stuttering in Amarok from phonon-backend-xine

    In Karmic's Amarok 2.2, when you pause and then play, the sound usually stutters a few times before it starts playing smoothly. I originally thought this was a pulseaudio issue, as stuttering problems have been reported with pulse, but that wouldn't explain why sound is fine in mplayer, audacious, vlc, dragon player, and virtualbox. Only amarok has this problem.

    I found the cause of the problem: phonon-backend-xine. These steps will get rid of the stuttering problem:

    1. Install phonon-backend-mplayer. You can get it from Rog131's PPA: https://launchpad.net/~samrog131/+archive/ppa/+packages

    2. In Multimedia and Sound Configuration, which you can reach through amarok's Playback settings, on the Backend tab, click the arrows to move mplayer up above xine.

    3. Quit and restart amarok.

    There are some tradeoffs for good sound. Amarok seems to have some bugs when the sound backend is not xine, and bookmarks and OSD are broken when this backend is playing the sound. When you quit Amarok, it can't bookmark your place so it doesn't restart from where you last were, and after the track changes once, the OSD when you hover over the tray icon only says "Amarok - No track playing." You have to open Amarok to find that info.

    Now for my question. Are there any settings I can access for phonon-backend-xine that could fix the stuttering issue? The problems with the mplayer backend are minor compared with xine's bad sound, but I would like nice sound, OSD, and bookmarking. Yeah, I'm asking the world.

  2. #2
    Join Date
    Mar 2007
    Beans
    2

    Re: Stuttering in Amarok from phonon-backend-xine

    I had the same problem. I found that setting
    Code:
    resample-method = ffmpeg
    in /etc/pulse/daemon.conf fixed it and it works perfectly

  3. #3
    Join Date
    Sep 2007
    Location
    USA
    Beans
    13

    Re: Stuttering in Amarok from phonon-backend-xine

    did you fix the setting to resample-method = ffmpeg?
    What was the original setting?

  4. #4
    Join Date
    Dec 2008
    Location
    Jigoku
    Beans
    14

    Re: Stuttering in Amarok from phonon-backend-xine

    I tried it and on some restarts, it seemed better. But sometimes (perhaps depending on the MP3, as one test album had problems and the other didn't), playback would be totally mangled, starting and stopping continually until I paused and restarted again. My login sound was also sometimes bad with the xine backend. I restored the default setting, "resample-method = speex-float-1", and the mplayer backend.

    Amarok isn't a big concern for me any longer. The terrible sound, especially on mp3s encoded for gapless playback, plus the continual worsening of the UI moved me to a better player: foobar2000 in wine. No integration with KDE, so keyboard shortcuts have bad performance when the system is under load, but otherwise everything is better.

  5. #5
    Join Date
    Apr 2007
    Location
    /dev/random
    Beans
    3,052

    Re: Stuttering in Amarok from phonon-backend-xine

    I've never had any real issues with Amarok sound and Xine, except for Xine cutting off the last few seconds of FLAC playback at the end of the last song in the playlist.

    Asking the developers, it seems the order of preference for Phonon backends is still unclear, but the hardcoded order (if no configuration file available) resolves to GStreamer > VLC > Xine. See the comments at this blog post.

    I don't know where the mplayer one fits into all this, though. Both the VLC one and the GStreamer one is available in maverick repositories, though they might be a bit old at this point. The Kubuntu beta ppa (ppa:kubuntu-ppa/beta) has an updated phonon-backend-gstreamer.
    ...

  6. #6
    Join Date
    Dec 2008
    Location
    Jigoku
    Beans
    14

    Re: Stuttering in Amarok from phonon-backend-xine

    Quote Originally Posted by Zorael View Post
    I don't know where the mplayer one fits into all this, though. Both the VLC one and the GStreamer one is available in maverick repositories, though they might be a bit old at this point. The Kubuntu beta ppa (ppa:kubuntu-ppa/beta) has an updated phonon-backend-gstreamer.
    On 9.10 (no idea when I'll get the time to upgrade to 10.10) the VLC backend had no packages but there was an mplayer package. These days, there seems to be an i386 build in this PPA: https://launchpad.net/~samrog131/+ar...+build/2082149. I'll probably need to give the VLC backend a try, although the problem with mplayer's SSA handling with VDPAU enabled makes it difficult to convince myself to upgrade (stops self before going too off topic).

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
  •