I used to stream internet-radio in Amarok.
It require MPEG-4 AAC-codec and i got this from Packman.
Suddenly it ask to install the codec again, but now it can’t find it in Packman nor any other repo.
I have Amarok 2.8.0 installed.
What happend?
I used to stream internet-radio in Amarok.
It require MPEG-4 AAC-codec and i got this from Packman.
Suddenly it ask to install the codec again, but now it can’t find it in Packman nor any other repo.
I have Amarok 2.8.0 installed.
What happend?
What codec exactly?
What happend?
Well, gstreamer-plugins-ugly fail to build at the moment so they only are available in version 1.4.5, while the rest of gstreamer has been updated to 1.6.1 (so they are incompatible and cannot be used).
But then, I don’t see an AAC codec in gstreamer-plugins-ugly…
Do you have gstreamer-plugins-bad-orig-addon installed?
gstreamer-plugins-libav might be helpful too, it is a kind of fallback for nearly every possible format out there.
Maybe some package(s) have been switched back to the crippled openSUSE version?
Try to do a full switch to Packman again.
https://en.opensuse.org/SDB:Vendor_change_update#Full_repository_Vendor_change
Sometimes it can also happen that gstreamer’s plugin cache is outdated, and it therefore doesn’t recognize plugins that are actually installed.
So try to delete the folder ~/.cache/gstreamer-1.0/ to force a rescan.
Well, i didn’t have “ugly” installed, but “good”.
I did a mistake now and messed it up.
I switched to Packman on all plugins and now i have:
Now Amarok isn’t working at all.
Is there a way to reinstall Amarok and gstreamer-plugins?
RS
You need (or should have) the “good”, the “bad”, and the “ugly”. At least if you want to be able to play back restricted codecs like AAC.
And you should also install the xxx-orig-addons packages, as they contain the codecs that have been removed in the standard openSUSE packages.
Although gstreamer-plugins-libav should provide a fallback for most codecs as mentioned.
Now Amarok isn’t working at all.
Is there a way to reinstall Amarok and gstreamer-plugins?
That’s definitely unrelated to the gstreamer-plugins, I’d say.
What happens when you run amarok in a terminal window (Konsole e.g.)?
Try to switch back only amarok to the openSUSE version. (mark the package in YaST and click on “Versions” below the package list to do that)
I have a similar problem. Amarok was working a day or two ago. I only noticed it failing today. Coincidentally I did a package “update if newer version available” yesterday. Cannot remember if amarok was updated.
amarok : amarok-2.8.0-9.3.2.x86_64
opensuse: 13.2
I have installed all the gstreamer packages mentioned in this thread.
Makes no difference.
Symptoms:
here’s a section from the konsole output of “amarok --debug” when I hit play …
amarok: BEGIN: void EngineController::play()
amarok: BEGIN: void Playlist::Actions::play()
amarok: BEGIN: void Playlist::Actions::play(quint64, bool)
amarok: BEGIN: void EngineController::play(Meta::TrackPtr, uint, bool)
amarok: BEGIN: void EngineController::stop(bool, bool)
amarok: END__: void EngineController::stop(bool, bool) [Took: 0s]
amarok: [EngineController] play: bounded is QObject(0x0) current "Will They Always Hate Us?"
amarok: [EngineController] Just a normal, boring track... :-P
amarok: BEGIN: void EngineController::playUrl(const KUrl&, uint, bool)
amarok: [EngineController] URL: KUrl("file:///home/jonb/.kde4/share/apps/amarok/podcasts/Analysis/2c97c59450b34ad70150ed484472358d--audio--POD-analysis---will-they-hate-us_mpg_mp3_med.mp3") "file:///home/jonb/.kde4/share/apps/amarok/podcasts/Analysis/2c97c59450b34ad70150ed484472358d--audio--POD-analysis---will-they-hate-us_mpg_mp3_med.mp3"
amarok: [EngineController] Offset: 0
(amarok:3379): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
(amarok:3379): GLib-GObject-CRITICAL **: g_object_set: assertion 'G_IS_OBJECT (object)' failed
(amarok:3379): GStreamer-CRITICAL **: gst_element_set_state: assertion 'GST_IS_ELEMENT (element)' failed
amarok: END__: void EngineController::playUrl(const KUrl&, uint, bool) [Took: 0s]
amarok: END__: void EngineController::play(Meta::TrackPtr, uint, bool) [Took: 0s]
amarok: END__: void Playlist::Actions::play(quint64, bool) [Took: 0s]
amarok: END__: void Playlist::Actions::play() [Took: 0s]
amarok: END__: void EngineController::play() [Took: 0s]
amarok: END__: void EngineController::playPause() [Took: 0s]
Calling appendChild() on a null node does nothing.
Any ideas gratefully received.
Thanks.
Try to remove the gstreamer cache, i.e. the folder ~/.cache/gstreamer-1.0/, to force it to be regenerated.
Made no difference
Then post your repo list, please:
zypper lr -d
And as the file mentioned in your output is an MP3, make sure that you have gstreamer-fluendo-mp3 installed. Although, I see no mention of a missing codec/plugin…
Also maybe try to create a fresh user account and see whether it works there.
A side-note: your problem doesn’t sound at all like the one the OP asked about.
Next time better open a new thread with your problem…
# | Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service
---+---------------------------+------------------------------------+---------+-----------+---------+----------+--------+------------------------------------------------------------------------+--------
1 | Packman_Repository | Packman Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_13.2/ |
2 | libdvdcss_repository | libdvdcss repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/13.2/ |
3 | openSUSE-13.2-0 | openSUSE-13.2-0 | No | ---- | No | 99 | yast2 | cd:///?devices=/dev/disk/by-id/ata-hp_CDDVDW_SH-216DB_R96F68DF30178L |
4 | openSUSE:13.2 | openSUSE:13.2 | Yes | ( p) Yes | Yes | 99 | NONE | http://download.opensuse.org/repositories/openSUSE:/13.2/ports/ |
5 | openSUSE:13.2:Ports | openSUSE:13.2:Ports | Yes | ( p) Yes | Yes | 99 | NONE | http://download.opensuse.org/repositories/openSUSE:/13.2:/Ports/extra/ |
6 | repo-debug | openSUSE-13.2-Debug | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/distribution/13.2/repo/oss/ |
7 | repo-debug-update | openSUSE-13.2-Update-Debug | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/update/13.2/ |
8 | repo-debug-update-non-oss | openSUSE-13.2-Update-Debug-Non-Oss | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/update/13.2-non-oss/ |
9 | repo-non-oss | openSUSE-13.2-Non-Oss | Yes | ( p) Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/13.2/repo/non-oss/ |
10 | repo-oss | openSUSE-13.2-Oss | Yes | ( p) Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/13.2/repo/oss/ |
11 | repo-source | openSUSE-13.2-Source | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/source/distribution/13.2/repo/oss/ |
12 | repo-update | openSUSE-13.2-Update | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/13.2/ |
13 | repo-update-non-oss | openSUSE-13.2-Update-Non-Oss | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/13.2-non-oss/ |
Got it (already had it)
Same issue with a fresh user.
Sorry! will do in future.
Have just installed banshee, and this works fine.
so the problem seems very amarok specific.
But (when it works!) I prefer amarok I think.
Remove those two repos, they are useless to you as they only contain packages for ARM and PPC CPUs (no intel or AMD).
They shouldn’t cause your problem though.
Have just installed banshee, and this works fine.
so the problem seems very amarok specific.
Well, banshee uses gstreamer-0_10, while Amarok (or rather KDE’s Phonon) uses the 1.x version. So a working banshee doesn’t rule out a problem with your gstreamer-1.x installation.
Although the underlying libraries should be ok (or else gstreamer-0_10 probably wouldn’t work either), run this please to be sure all involved packages come from Packman:
sudo zypper dup --from Packman_Repository
Does that help?
And for understanding: your problem actually is that Amarok just hangs and does nothing when you press play?
Does that only happen for podcasts, or also local files?
OK - it is solved! The change to packman for everything did the trick. Must have been some inconsistency in there between repo’s.
funny that it was fine for how ever many months I’ve been on 13.2. just yesterdays update triggered it.
But thankyou very much for your excellent support.
It’s a bit academic now, but it just would not respond to “play” - nothing happened. It was not hung, just ignored “play”. All menu’s etc worked fine.
Apparently some library was still from the standard openSUSE repos, and some update on Packman might have caused an incompatibility.
In particular, gstreamer (1.x) has recently been upgraded to the latest 1.6.1 version on Packman. If some of the gstreamer packages were still at 1.4 (which is in the standard repos), this might cause problems. It worked until now because Packman had 1.4 as well.
I’m not sure how strict the gstreamer dependencies are (i.e. if that’s the exact thing that might have happened) though, but it likely was something in this direction.
But thankyou very much for your excellent support.
You’re welcome.
I’m glad to hear that it’s working now.
I have similar problems where amarok fails to play aac files. Tried change gstreamer and all dependencies to packman but still no good.
I manually checked the versions of all gstreamer package and found gstreamer-plugins-ugly is of 1.4 while other gstreamer plugins are all of 1.6, could this be the problem?
The thing is, my gstreamer-plugins-ugly 1.4 is also from packaman, no 1.6 found from that repo.
They are working on it and yes that is the problem maybe uninstall that version
On Fri 27 Nov 2015 05:56:02 PM CST, gogalthorp wrote:
They are working on it and yes that is the problem maybe uninstall that
version
Hi
Yup, the changes have gone through, but for some reason it’s not
building even after I trigger it. The pmbs admins need to look at
it…
–
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 | GNOME 3.10.1 | 3.12.48-52.27-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!
It should work none-the-less, the AAC decoder is in gstreamer-plugins-bad-orig-addon.
And it does work here.
Try to remove the gstreamer cache, and if that alone doesn’t help try the rest I’ve mentioned in one of my previous posts (i.e. do a full switch to Packman, maybe uninstall gstreamer-plugins-ugly and make sure gstreamer-plugins-libav is installed so that you don’t miss anything).
Clearing the gstreamer cache actually solves the problem. Thanks a lot for the help