This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[solved] Amarok stops playing songs since 2.2 final

Tags: None
(comma "," separated)
ChemBro
Registered Member
Posts
69
Karma
0
OS
I don't know why this is happening, but since the update to 2.2 final, Amarok refuses to play any song (and it is the only application, that doesn't play any sound/music/songs).

I reinstalled everything since this problem, but it Amarok still doesn't want to play anything. I started it with "amarok --debug" and these are the only (in my eyes) relevant messages:

Code: Select all
amarok:   [EngineController] [WARNING!] Phonon failed to play this URL. Error:  "Cannot find demultiplexer plug in for MRL [file:///home/christian/mp3/Beastie%20Boys%20-%2021%20-%20Intergalactic.mp3]"


and

Code: Select all
amarok:     [Playlist::Actions] [WARNING!] Error, can not play this track.


I don't know what to do.

There's one thing I did today, in order to get Kdenlive running, but I don't know, if this has something to do with Amarok:

Code: Select all
export SDL_AUDIODRIVER="alsa"


Also I'm using Arch Linux and KDEmod/Chakra.

Last edited by ChemBro on Sun Oct 04, 2009 3:04 pm, edited 1 time in total.
User avatar
Dieter Schroeder
Registered Member
Posts
714
Karma
7
OS
Libxine installed?
Some or all libxine plugins missing.
Search for xineplug_dmx_*. Should be in the plugin dir of libxine.
I guess, it's libxine-ffmpeg.

m0nk


If men could get pregnant, abortion would be a sacrament.
ChemBro
Registered Member
Posts
69
Karma
0
OS
I searched:

Code: Select all
$ locate xineplug_dmx
/usr/lib/xine/plugins/1.26/xineplug_dmx_asf.so                           
/usr/lib/xine/plugins/1.26/xineplug_dmx_audio.so
/usr/lib/xine/plugins/1.26/xineplug_dmx_avi.so
/usr/lib/xine/plugins/1.26/xineplug_dmx_fli.so
/usr/lib/xine/plugins/1.26/xineplug_dmx_flv.so
/usr/lib/xine/plugins/1.26/xineplug_dmx_games.so
/usr/lib/xine/plugins/1.26/xineplug_dmx_iff.so
/usr/lib/xine/plugins/1.26/xineplug_dmx_image.so
/usr/lib/xine/plugins/1.26/xineplug_dmx_matroska.so
/usr/lib/xine/plugins/1.26/xineplug_dmx_mng.so
/usr/lib/xine/plugins/1.26/xineplug_dmx_mpeg.so
/usr/lib/xine/plugins/1.26/xineplug_dmx_mpeg_block.so
/usr/lib/xine/plugins/1.26/xineplug_dmx_mpeg_elem.so
/usr/lib/xine/plugins/1.26/xineplug_dmx_mpeg_pes.so
/usr/lib/xine/plugins/1.26/xineplug_dmx_mpeg_ts.so
/usr/lib/xine/plugins/1.26/xineplug_dmx_nsv.so
/usr/lib/xine/plugins/1.26/xineplug_dmx_ogg.so
/usr/lib/xine/plugins/1.26/xineplug_dmx_pva.so
/usr/lib/xine/plugins/1.26/xineplug_dmx_qt.so
/usr/lib/xine/plugins/1.26/xineplug_dmx_rawdv.so
/usr/lib/xine/plugins/1.26/xineplug_dmx_real.so
/usr/lib/xine/plugins/1.26/xineplug_dmx_slave.so
/usr/lib/xine/plugins/1.26/xineplug_dmx_sputext.so
/usr/lib/xine/plugins/1.26/xineplug_dmx_yuv4mpeg2.so
/usr/lib/xine/plugins/1.26/xineplug_dmx_yuv_frames.so


Is that enough?

Hm. I tried to play an ogg and that worked. And mp3s in juk didn't work. So mp3s in KDE-apps don't work? What needs Amarok/KDE for mp3-support?
User avatar
Dieter Schroeder
Registered Member
Posts
714
Karma
7
OS
Sound output in KDE is done by phonon, so check if it uses xine as backend.
You need (lib)mad for ffmpeg, which is used by libxine, which is used by phonon to play mp3.


m0nk


If men could get pregnant, abortion would be a sacrament.
User avatar
annew
Manager
Posts
1155
Karma
11
OS
The 'backend' situation is very confusing. When I installed Fedora 11 xine was the backend, and tracks typically played for 26 seconds (don't know why 26) then stopped. I changed to the gstreamer backend, and everything was absolutely fine. Until last week. Then I was back to 26 seconds. Changing the backend to xine has got it working again. I presume that the change was made necessary when I updated to 2.1.90


annew, proud to be a member of KDE forums since 2008-Oct and a KDE user since 2002.
Join us on http://userbase.kde.org
Kohlrabi
Registered Member
Posts
9
Karma
0
OS
Welcome to the headache that is linux audio.
User avatar
Ignacio Serantes
Registered Member
Posts
453
Karma
1
OS
I'm using gstreamer and have a similar problem :(.

I change backend to xine and Amarok works again. KDE 4 phonon is really frustrating, both backends xine and gstreamer seem to be partially implemented or has big problems of usage.

I think that one full implemented backend is better than two partially implemented.


Ignacio Serantes, proud to be a member of KDE forums since 2008-Nov.
User avatar
annew
Manager
Posts
1155
Karma
11
OS
There seems to be no end of problem with the backends. Fedora 11 by default set up the xine backend. Amarok didn't play (at least on _my_ laptop). I changed to gstreamer, and it worked fine, up to a few days ago. Then suddenly I was back to getting around 26 second of play, then stopping. I changed back to the xine backend and it is now working again.

This is with amarok 2.1.90, which I assume is that last release candidate before 2.2.

It's impossible to advise others, as others reported that only xine worked, while I was running with gstreamer. There's got to be some sort of issue that involves a combination of circumstances, and we all know how difficult that situation can be to track down.


annew, proud to be a member of KDE forums since 2008-Oct and a KDE user since 2002.
Join us on http://userbase.kde.org
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
Anne, you are using pulseaudio IIRC, and apparently the gstreamer backend works better with it.
But in general, we suggest the xine backend since it has less bugs. Also, KDE doesn't really need pulseaudio.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
User avatar
annew
Manager
Posts
1155
Karma
11
OS
Thanks for that info, Mamarok. So most people will be better of with xine, but pulse-audio users may have to use gstreamer? Hmm - it's hard to know at the moment whether to stick with PA and see how it develops, or just let it go. Up to now I haven't seen it cause me any problems. I didn't realise that this issue was related to PA.


annew, proud to be a member of KDE forums since 2008-Oct and a KDE user since 2002.
Join us on http://userbase.kde.org
User avatar
Dieter Schroeder
Registered Member
Posts
714
Karma
7
OS
Naaaah,
I've pulseaudio installed and xine as only backend on openSUSE 11.1.
Pulseaudio starts on login and is my preferred device in phonon. I never had any issues regarding playback.
Most issues come from faulty settings regarding xine and pa.
But it seems, that the last posts are a bit off topic and not really helpful.

m0nk


If men could get pregnant, abortion would be a sacrament.
ChemBro
Registered Member
Posts
69
Karma
0
OS
In my case, the problem seems to be xine itself. I used the command "xine-list-1.1" and it doesn't show the entry "mp3;audio", so that might be my problem.

EDIT: I found it. Deleting "~/.xine/catalog.cache" worked. Thanks for the help (otherwise I wouldn't have found it, I mean, directing the problem to xine itself).
User avatar
Dieter Schroeder
Registered Member
Posts
714
Karma
7
OS
Fine, so please mark this topic as solved.

m0nk


If men could get pregnant, abortion would be a sacrament.
User avatar
neverendingo
Administrator
Posts
2136
Karma
17
OS
we have a nice button under every post marking a certain post as solution (see the green hook). Please use this instead of adding [SOLVED] to the title. Makes it even searchable. Thanks.


New to KDE Software? - get help from Userbase or ask questions on the Forums
Communicate.
Image


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot]