Bug 201270 - amarok does not work with gstreamer backend of phonon
Summary: amarok does not work with gstreamer backend of phonon
Status: RESOLVED NOT A BUG
Alias: None
Product: phonon-backend-gstreamer
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Matthias Kretz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-23 19:26 UTC by Andreas.Feldmann
Modified: 2011-04-27 21:15 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
the output of amarok when phonon uses gstreamer as backend (44.16 KB, text/plain)
2009-07-23 19:28 UTC, Andreas.Feldmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas.Feldmann 2009-07-23 19:26:53 UTC
Version:            (using KDE 4.2.2)
OS:                Linux
Installed from:    Ubuntu Packages

Since Amarok's ReplayGain feature is supposed to work if phonon uses the gstreamer backend instead of the xine backend I tried to get it working. However Amarok will not play any musik if the gstreamer backend is enabled. Other programs like kTeatime seem not to have any problems with producing sounds.
Using gstreamer-properties I told it to use pulseaudio which is running in the background. As far as I can see all necessary sinks for gstreamer are installed. The file /usr/share/kde4/services/phononbackends/gstreamer.desktop looks as follows:

[Desktop Entry]
Type=Service
X-KDE-ServiceTypes=PhononBackend
MimeType=application/x-annodex;video/quicktime;video/x-quicktime;audio/x-m4a;application/x-quicktimeplayer;video/mkv;video/msvideo;video/x-msvideo;video/x-flic;audio/x-aiff;audio/aiff;audio/x-pn-aiff;audio/x-realaudio;audio/basic;audio/x-basic;audio/x-pn-au;audio/x-8svx;audio/8svx;audio/x-16sv;audio/168sv;image/x-ilbm;image/ilbm;video/x-anim;video/anim;image/png;image/x-png;video/mng;video/x-mng;audio/x-ogg;audio/x-speex+ogg;application/ogg;application/ogg;audio/vnd.rn-realaudio;audio/x-pn-realaudio-plugin;audio/x-real-audio;application/vnd.rn-realmedia;video/mpeg;video/x-mpeg;audio/x-wav;audio/wav;audio/x-pn-wav;audio/x-pn-windows-acm;audio/mpeg2;audio/x-mpeg2;audio/mpeg3;audio/x-mpeg3;audio/mpeg;audio/x-mpeg;x-mpegurl;audio/x-mpegurl;audio/mp3;audio/mpeg;
X-KDE-Library=phonon_gstreamer
X-KDE-PhononBackendInfo-InterfaceVersion=1
X-KDE-PhononBackendInfo-Version=0.1
X-KDE-PhononBackendInfo-Website=http://gstreamer.freedesktop.org/
Icon=phonon-gstreamer
InitialPreference=10

Name=GStreamer

Comment=Phonon GStreamer backend
X-Ubuntu-Gettext-Domain=desktop_phonon


I also added the debug output of amarok to this report.
Comment 1 Andreas.Feldmann 2009-07-23 19:28:09 UTC
Created attachment 35575 [details]
the output of amarok when phonon uses gstreamer as backend
Comment 2 Andreas.Feldmann 2009-07-23 19:31:40 UTC
Comment on attachment 35575 [details]
the output of amarok when phonon uses gstreamer as backend

This output appears when I start Amarok and then press play. The playlist only consists of one single song. Otherwise Amarok would try to play all the songs in the list one after another until it gives up.
Comment 3 Martin Sandsmark 2009-07-24 20:04:34 UTC
A temporary workaround might be to remove everything related to PulseAudio and reboot.
Comment 4 Andreas.Feldmann 2009-07-25 11:53:24 UTC
That workaround did not work for me. I removed everything related to PulseAudio, except however for libpulse0 since this would have removed my hole KDE installation including Amarok. Then I again configured Phonon to use gstreamer but Amarok would not play any musik and it would give the same error message as before.
Comment 5 Kevin 2009-08-31 21:35:15 UTC
I have amarok 2.1.1 (KDE 4.3.0, Qt 4.5.2) working with the gstreamer plugin on Arch Linux but with 1 bug, which might be what you have.

Amarok is slow at starting to play a song (minutes). If you turn off crossfading, this slowdown is only (still too much..) a few seconds. Perhaps you concluded that it wasn't working before it started playing?
Comment 6 Andreas.Feldmann 2009-09-06 13:26:41 UTC
Hoi Kevin,
thanks for the tip, but unfortunately that does not seem to be the problem. The behaviour of Amarok is rather that it will skip each song in the list when I press play. It will stop doing so automatically after a few songs since it realises that the sound device is not working for it. Hence I cannot wait until Amarok plays a song, it just stops playing it from the start.
Comment 7 Myriam Schweingruber 2009-11-17 12:35:40 UTC
(In reply to comment #6)
> Hoi Kevin,
> thanks for the tip, but unfortunately that does not seem to be the problem. The
> behaviour of Amarok is rather that it will skip each song in the list when I
> press play. It will stop doing so automatically after a few songs since it
> realises that the sound device is not working for it. Hence I cannot wait until
> Amarok plays a song, it just stops playing it from the start.

This sounds more like a codec issue. Make sure you have all necessary gstreamer-codecs installed.
Comment 8 Myriam Schweingruber 2009-11-30 13:50:39 UTC
Andreas, does this work now with the codecs installed?
Comment 9 Andreas.Feldmann 2009-12-05 11:54:25 UTC
Right now I have a different problem. Now the gstreamer backend does not work at all. That is, even in the phonon settings there is no sound when I choose gstreamer as the backend.
Comment 10 Myriam Schweingruber 2009-12-11 23:19:06 UTC
You didn't answer my question though, so I ask again:

1. do you have sound with xine and the libxine codecs? (those are in the kubuntu-restricted-extras package)
2. do you have the gstreamer codecs installed when you try to play? (those are in the ubuntu-restricted-extras package)
Comment 11 Myriam Schweingruber 2010-03-18 22:33:48 UTC
Closing for lack of feedback, likely a configuration problem.
Comment 12 Myriam Schweingruber 2011-04-27 21:15:47 UTC
reassigning to the new bugzilla product for better bug tracing of the various backends. Sorry for the noise.