Bug 96680 - lag when changing tracks/pausing (gstreamer)
Summary: lag when changing tracks/pausing (gstreamer)
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 1.1.1
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-10 03:46 UTC by Ari Steinberg
Modified: 2006-06-11 12:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ari Steinberg 2005-01-10 03:46:24 UTC
Version:           1.1.1 (using KDE KDE 3.3.1)
Installed from:    Debian testing/unstable Packages
OS:                Linux

When I have the GStreamer engine selected it always seems to take a second or two for the audio to respond to a button click.  For example, after clicking pause, the song continues to play for a little bit before stopping.  Similarly, if the song is paused and I press play it takes a second or two before it starts to play.  The same is true for pressing next track or skipping to a different time within the current track.  I have the fade-in and fade-out durations set to 0 ms, and this seems to happen whether I am using alsasink or osssink.  Crossfading is off.  This does not happen with the Xine or aRTs engines, only with GStreamer.  I have a Sound Blaster Live PCI sound card and am using the Alsa snd-emu10k1 module on a 2.4 kernel.
Comment 1 Heinrich Wendel 2005-02-08 13:50:11 UTC
probably a dup of #98139
Comment 2 Ari Steinberg 2005-02-08 19:33:17 UTC
According to bug 98139, it says an entry has been added to the FAQ.  The entry says:
Why is there always a gap although I have crossfading enabled?
Make sure you don't have gst-ffmpeg installed. Instead, install the gst-mad plugin.

I'm assuming that you mean gstreamer-ffmpeg would show up as a package that I shouldn't have installed (I'm using Debian).  However, I don't even think such a package exists.  Here's a list of gstreamer-related packages available in Debian, the ones on lines that start with "ii" are the ones I have installed.  Notice that none of them mention ffmeg, and that mad is installed.  I deleted the gstreamer-* packages from the list (which are for the an older version and are not installed).

ari@ari:~$ dpkg-query -l *gstreamer*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                    Version                 Description
+++-=======================-=======================-==============================================================
ii  amarok-gstreamer        1.1.1-2                 GStreamer engine for the amaroK audio player
ii  gstreamer0.8-a52dec     0.8.7-3                 ATSC A/52 audio decoder plugin for GStreamer
ii  gstreamer0.8-aa         0.8.7-3                 AA-lib plugin for GStreamer
ii  gstreamer0.8-alsa       0.8.7-3                 ALSA plugin for GStreamer
un  gstreamer0.8-arts       <none>                  (no description available)
ii  gstreamer0.8-artsd      0.8.7-3                 aRtsd plugin for GStreamer
ii  gstreamer0.8-audiofile  0.8.7-3                 AudioFile plugin for GStreamer
un  gstreamer0.8-audiosink  <none>                  (no description available)
ii  gstreamer0.8-caca       0.8.7-3                 Colour AsCii Art library plugin for GStreamer
ii  gstreamer0.8-cdparanoia 0.8.7-3                 cdparanoia plugin for GStreamer
un  gstreamer0.8-colorspace <none>                  (no description available)
pn  gstreamer0.8-doc        <none>                  (no description available)
ii  gstreamer0.8-dv         0.8.7-3                 DV plugin for GStreamer
ii  gstreamer0.8-dvd        0.8.7-3                 DVD plugin for GStreamer
ii  gstreamer0.8-esd        0.8.7-3                 Enlightened Sound Daemon plugin for GStreamer
ii  gstreamer0.8-festival   0.8.7-3                 Festival speech synthesis plugin for GStreamer
ii  gstreamer0.8-flac       0.8.7-3                 FLAC plugin for GStreamer
ii  gstreamer0.8-gnomevfs   0.8.7-3                 Gnome VFS plugin for GStreamer
ii  gstreamer0.8-gsm        0.8.7-3                 GSM plugin for GStreamer
ii  gstreamer0.8-hermes     0.8.7-3                 colorspace conversion plugin for GStreamer based on hermes
ii  gstreamer0.8-jack       0.8.7-3                 JACK plugin for GStreamer
ii  gstreamer0.8-jpeg       0.8.7-3                 JPEG plugin for GStreamer
ii  gstreamer0.8-mad        0.8.7-3                 MAD MPEG audio decoder plugin for GStreamer
ii  gstreamer0.8-mikmod     0.8.7-3                 MikMod decoder plugin for GStreamer
ii  gstreamer0.8-misc       0.8.7-3                 Collection of various GStreamer plugins
ii  gstreamer0.8-mpeg2dec   0.8.7-3                 MPEG1 and MPEG2 video decoder plugin for GStreamer
ii  gstreamer0.8-oss        0.8.7-3                 OSS plugin for GStreamer
ii  gstreamer0.8-plugin-app 0.8.7-3                 Simple GStreamer applications
ii  gstreamer0.8-plugins    0.8.7-3                 All GStreamer plugins
ii  gstreamer0.8-sdl        0.8.7-3                 SDL videosink plugin for GStreamer
ii  gstreamer0.8-sid        0.8.7-3                 C64 SID decoder plugin for GStreamer
ii  gstreamer0.8-speex      0.8.7-3                 Speex plugin for GStreamer
ii  gstreamer0.8-swfdec     0.8.7-3                 SWF (Macromedia Flash) decoder plugin for GStreamer
ii  gstreamer0.8-theora     0.8.7-3                 Theora plugin for GStreamer
ii  gstreamer0.8-tools      0.8.8-1                 Tools for use with GStreamer
un  gstreamer0.8-videosink  <none>                  (no description available)
ii  gstreamer0.8-vorbis     0.8.7-3                 Vorbis plugin for GStreamer
ii  gstreamer0.8-x          0.8.7-3                 X videosink plugin for GStreamer
pn  libgstreamer-dev        <none>                  (no description available)
ii  libgstreamer-gconf0.8-0 0.8.7-3                 GConf support for GStreamer
pn  libgstreamer-gconf0.8-d <none>                  (no description available)
ii  libgstreamer-plugins0.8 0.8.7-3                 Various GStreamer libraries and library plugins
pn  libgstreamer-plugins0.8 <none>                  (no description available)
pn  libgstreamer0.4.1       <none>                  (no description available)
pn  libgstreamer0.4.2       <none>                  (no description available)
pn  libgstreamer0.5.0       <none>                  (no description available)
pn  libgstreamer0.5.1       <none>                  (no description available)
pn  libgstreamer0.6-0       <none>                  (no description available)
pn  libgstreamer0.6-dev     <none>                  (no description available)
pn  libgstreamer0.6-ruby    <none>                  (no description available)
ii  libgstreamer0.8-0       0.8.8-1                 Core GStreamer libraries, plugins, and utilities
pn  libgstreamer0.8-dev     <none>                  (no description available)
pn  libgstreamer0.8-ruby    <none>                  (no description available)
Comment 3 Gilles Schintgen 2005-02-14 17:57:36 UTC
I don't have gst-plugins-ffmpeg either, yet there's an annoying gap.

*  media-plugins/gst-plugins-ffmpeg
      Latest version available: 0.8.3
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 1,761 kB
      Homepage:    http://gstreamer.freedesktop.org/modules/gst-ffmpeg.html
      Description: FFmpeg based gstreamer plugin
      License:     GPL-2
Comment 4 Gilles Schintgen 2005-02-14 17:58:22 UTC
*** This bug has been confirmed by popular vote. ***
Comment 5 Ari Steinberg 2005-02-14 18:52:07 UTC
By the way, I installed 1.2 beta 4 and this is still a problem.
Comment 6 Matiss Piesins 2005-05-05 01:46:05 UTC
Yup, the same here  :(
IMO, there are two seperate main problems - a GAP before gstreamer loads the new song and the VOLUME JUMP after a few seconds of playback - which in different ways have been treated in at least these five bugs:

102708 - see my findings with this issue
99570
96689
99559
96680 - this bug

total amount of votes for these problems: 335

three of those bugs "are still" UNCONFIRMED, two of them still "NEW" - for amaroks rapid development two three months is a considerably long time, however, there doesn't seem to be any progress - I used to check CVS almost daily, expecting "wild and sexy" bugfixes as well, not only features. no.

Then - besides fixing this for the 1.3 branch, which will be instantly used by most hotheads and gentoo ~x86 folks, it would be really neat to have a fixed 1.2.x version for all those conservative (lazy?) distros out there, whose typical users wont see 1.3-series amarok for quite a long time.

I really hope this will get fixed someday, but much sooner than debian will release 3.1  ;))
Comment 7 Greg Meyer 2005-08-15 21:25:47 UTC
Can you update to 1.3 final and see if this is still happening?
Comment 8 Carsten Lohrke 2005-08-15 22:08:25 UTC
Using GStreamer as engine still sucks badly. :)
Comment 9 Mark Woodward 2005-08-20 22:08:52 UTC
Still happens with 1.3 final for me
Comment 10 Amaury De Ganseman 2005-09-04 09:27:13 UTC
It's the same here.  Very slow when changing tracks.  I use svn version (Sun Sep  4 09:23:45 CEST 2005 <-- Brussels time ;-) )
Comment 11 Mark Kretschmann 2005-09-23 08:44:53 UTC
This is fixed in amaroK 1.3.2. GStreamer engine was rewritten.