Gstreamer error.

Greetings!

A few days ago I noticed that Rhythmbox, Totem, GNOME Music etc. cannot play any type of audio. Totem won’t even start, saying I have some missing codecs. Rhythmbox gives an error message.

I have the Packman repo enabled, and I’ve installed the gstreamer codec packs from there.

Here is some additional information:

Rhythmbox:

(rhythmbox-metadata:3375): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed

Totem:

** (totem:3396): WARNING **: Element 'playbin' is missing, verify your installation

(totem:3396): Gtk-WARNING **: A floating object was finalized. This means that someone
called g_object_unref() on an object that had only a floating
reference; the initial floating reference is not owned by anyone
and must be removed with g_object_ref_sink().

GNOME Music:

(gnome-music:3415): GStreamer-CRITICAL **: gst_bus_create_watch: assertion 'GST_IS_BUS (bus)' failed
/usr/lib/python3.4/site-packages/gnomemusic/player.py:122: Warning: g_source_set_callback: assertion 'source != NULL' failed
  self.discoverer.start()
Segmentation fault (core dumped)
sudo zypper search -i gstreamer
Loading repository data...
Reading installed packages...

S | Name                                     | Summary                | Type       
--+------------------------------------------+------------------------+------------
i | GStreamer Multimedia Codecs              | Multimedia playback -> | application
i | PackageKit-gstreamer-plugin              | Simple software inst-> | package    
i | gstreamer                                | Streaming-Media Fram-> | package    
i | gstreamer-0_10                           | Streaming-Media Fram-> | package    
i | gstreamer-0_10-32bit                     | Streaming-Media Fram-> | package    
i | gstreamer-0_10-fluendo-mp3               | GStreamer plug-in fr-> | package    
i | gstreamer-0_10-libnice                   | Interactive Connecti-> | package    
i | gstreamer-0_10-plugin-gnomevfs           | GStreamer Streaming--> | package    
i | gstreamer-0_10-plugins-bad               | GStreamer Streaming--> | package    
i | gstreamer-0_10-plugins-bad-32bit         | GStreamer Streaming--> | package    
i | gstreamer-0_10-plugins-bad-orig-addon    | GStreamer Streaming--> | package    
i | gstreamer-0_10-plugins-base              | GStreamer Streaming--> | package    
i | gstreamer-0_10-plugins-base-32bit        | GStreamer Streaming--> | package    
i | gstreamer-0_10-plugins-ffmpeg            | GStreamer Streaming--> | package    
i | gstreamer-0_10-plugins-fluendo_mpegdemux | Fluendo GStreamer pl-> | package    
i | gstreamer-0_10-plugins-fluendo_mpegmux   | Fluendo GStreamer pl-> | package    
i | gstreamer-0_10-plugins-gl                | GStreamer OpenGL Plu-> | package    
i | gstreamer-0_10-plugins-gl-32bit          | GStreamer OpenGL Plu-> | package    
i | gstreamer-0_10-plugins-gl-lang           | Languages for packag-> | package    
i | gstreamer-0_10-plugins-good              | GStreamer Streaming--> | package    
i | gstreamer-0_10-plugins-good-32bit        | GStreamer Streaming--> | package    
i | gstreamer-0_10-plugins-good-extra        | Complementary plugin-> | package    
i | gstreamer-0_10-plugins-ugly              | GStreamer Streaming--> | package    
i | gstreamer-0_10-plugins-ugly-32bit        | GStreamer Streaming--> | package    
i | gstreamer-0_10-plugins-ugly-orig-addon   | GStreamer Streaming--> | package    
i | gstreamer-0_10-utils                     | Streaming-Media Fram-> | package    
i | gstreamer-fluendo-mp3                    | GStreamer plug-in fr-> | package    
i | gstreamer-libnice                        | Interactive Connecti-> | package    
i | gstreamer-plugin-gstclutter              | GStreamer Clutter Pl-> | package    
i | gstreamer-plugin-gstclutter-3_0          | GStreamer Clutter Pl-> | package    
i | gstreamer-plugins-bad                    | GStreamer Streaming--> | package    
i | gstreamer-plugins-bad-32bit              | GStreamer Streaming--> | package    
i | gstreamer-plugins-bad-orig-addon         | GStreamer Streaming--> | package    
i | gstreamer-plugins-base                   | GStreamer Streaming--> | package    
i | gstreamer-plugins-base-32bit             | GStreamer Streaming--> | package    
i | gstreamer-plugins-farstream              | GStreamer Plug-Ins f-> | package    
i | gstreamer-plugins-good                   | GStreamer Streaming--> | package    
i | gstreamer-plugins-good-32bit             | GStreamer Streaming--> | package    
i | gstreamer-plugins-good-extra             | Complementary plugin-> | package    
i | gstreamer-plugins-libav                  | GStreamer Streaming--> | package    
i | gstreamer-plugins-ugly                   | GStreamer Streaming--> | package    
i | gstreamer-plugins-ugly-32bit             | GStreamer Streaming--> | package    
i | gstreamer-plugins-ugly-orig-addon        | GStreamer Streaming--> | package    
i | gstreamer-utils                          | Streaming-Media Fram-> | package    
i | libgstreamer-0_10-0                      | Streaming-Media Fram-> | package    
i | libgstreamer-0_10-0-32bit                | Streaming-Media Fram-> | package    
i | libgstreamer-1_0-0                       | Streaming-Media Fram-> | package    
i | libgstreamer-1_0-0-32bit                 | Streaming-Media Fram-> | package    
i | libgupnp-dlna-backend-gstreamer          | GUPnP-DLNA GStreamer-> | package    
i | phonon-backend-gstreamer                 | Phonon Multimedia Pl-> | package    
i | python-gstreamer-0_10                    | Python Bindings for -> | package  

The strange thing is, mpv and Smplayer are working just fine.

If anyone could help me out, I’d be grateful. It’s pretty annoying actually.

Well, they do not use gstreamer…

If anyone could help me out, I’d be grateful. It’s pretty annoying actually.

Well, try to remove the gstreamer plugin cache (~/.cache/gstreamer-1.0/) to force it to be regenerated.
An outdated or corrupted cache could cause gstreamer to not see plugins although they are installed.

Also check whether the version numbers of the gstreamer plugins match.

zypper se -si gstreamer

(no, you don’t need to run zypper as root if you only want to do a search… :wink: )
or

rpm -qa gstreamer*

Your list is good and nice, but doesn’t show the version numbers. A mismatch could cause the plugins to not work.

On Wed 25 Nov 2015 12:46:02 PM CST, wolfi323 wrote:

pneuma00;2739497 Wrote:
> The strange thing is, mpv and Smplayer are working just fine.
Well, they do not use gstreamer…

> If anyone could help me out, I’d be grateful. It’s pretty annoying
> actually.
Well, try to remove the gstreamer plugin cache (~/.cache/gstreamer-1.0/)
to force it to be regenerated.
An outdated or corrupted cache could cause gstreamer to not see plugins
although they are installed.

Also check whether the version numbers of the gstreamer plugins match.

Code:

zypper se -si gstreamer

Your list is good and nice, but doesn’t show the version numbers. A
mismatch could cause the plugins to not work.

Hi
FYO: I’ve done a few tweaks to gstreamer-plugins-libav and submitted
I’ve also fixed the gstreamer-plugins-ugly build issue and submitted to
multimedia:libs, that may take a little time to filter through to
packman…


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!

Great, thank you! :slight_smile:

Thanks for the replies!

I tried deleting my gstreamer cache, same results.

Here is the info you’ve requested:

zypper se -si gstreamer
Loading repository data...
Reading installed packages...

S | Name                                     | Type        | Version         | Arch   | Repository                 
--+------------------------------------------+-------------+-----------------+--------+----------------------------
i | GStreamer Multimedia Codecs              | application |                 | noarch | openSUSE-Tumbleweed-Oss    
i | PackageKit-gstreamer-plugin              | package     | 1.0.10-3.1      | x86_64 | openSUSE-Tumbleweed-Oss    
i | gstreamer                                | package     | 1.6.1-61.2      | x86_64 | Packman                    
i | gstreamer-0_10                           | package     | 0.10.36-20.16   | x86_64 | Packman                    
i | gstreamer-0_10-32bit                     | package     | 0.10.36-20.16   | x86_64 | Packman                    
i | gstreamer-0_10-fluendo-mp3               | package     | 21-1.1          | x86_64 | openSUSE-Tumbleweed-Non-Oss
i | gstreamer-0_10-libnice                   | package     | 0.1.13-1.2      | x86_64 | openSUSE-Tumbleweed-Oss    
i | gstreamer-0_10-plugin-gnomevfs           | package     | 0.10.36-15.7    | x86_64 | Packman                    
i | gstreamer-0_10-plugins-bad               | package     | 0.10.23-172.25  | x86_64 | Packman                    
i | gstreamer-0_10-plugins-bad-32bit         | package     | 0.10.23-172.25  | x86_64 | Packman                    
i | gstreamer-0_10-plugins-bad-orig-addon    | package     | 0.10.23-172.25  | x86_64 | Packman                    
i | gstreamer-0_10-plugins-base              | package     | 0.10.36-15.7    | x86_64 | Packman                    
i | gstreamer-0_10-plugins-base-32bit        | package     | 0.10.36-15.7    | x86_64 | Packman                    
i | gstreamer-0_10-plugins-ffmpeg            | package     | 0.10.13-2000.31 | x86_64 | Packman                    
i | gstreamer-0_10-plugins-fluendo_mpegdemux | package     | 0.10.71-2.32    | x86_64 | Packman                    
i | gstreamer-0_10-plugins-fluendo_mpegmux   | package     | 0.10.4-46.27    | x86_64 | Packman                    
i | gstreamer-0_10-plugins-gl                | package     | 0.10.3-10.6     | x86_64 | openSUSE-Tumbleweed-Oss    
i | gstreamer-0_10-plugins-gl-32bit          | package     | 0.10.3-10.6     | x86_64 | openSUSE-Tumbleweed-Oss    
i | gstreamer-0_10-plugins-gl-lang           | package     | 0.10.3-10.6     | noarch | openSUSE-Tumbleweed-Oss    
i | gstreamer-0_10-plugins-good              | package     | 0.10.31-85.29   | x86_64 | Packman                    
i | gstreamer-0_10-plugins-good-32bit        | package     | 0.10.31-85.29   | x86_64 | Packman                    
i | gstreamer-0_10-plugins-good-extra        | package     | 0.10.31-85.29   | x86_64 | Packman                    
i | gstreamer-0_10-plugins-ugly              | package     | 0.10.19-15.9    | x86_64 | Packman                    
i | gstreamer-0_10-plugins-ugly-32bit        | package     | 0.10.19-15.9    | x86_64 | Packman                    
i | gstreamer-0_10-plugins-ugly-orig-addon   | package     | 0.10.19-15.9    | x86_64 | Packman                    
i | gstreamer-0_10-utils                     | package     | 0.10.36-20.16   | x86_64 | Packman                    
i | gstreamer-fluendo-mp3                    | package     | 21-1.1          | x86_64 | openSUSE-Tumbleweed-Non-Oss
i | gstreamer-libnice                        | package     | 0.1.13-1.2      | x86_64 | openSUSE-Tumbleweed-Oss    
i | gstreamer-plugin-gstclutter              | package     | 2.0.16-1.2      | x86_64 | openSUSE-Tumbleweed-Oss    
i | gstreamer-plugin-gstclutter-3_0          | package     | 3.0.14-1.1      | x86_64 | openSUSE-Tumbleweed-Oss    
i | gstreamer-plugins-bad                    | package     | 1.6.1-84.2      | x86_64 | Packman                    
i | gstreamer-plugins-bad-orig-addon         | package     | 1.6.1-84.2      | x86_64 | Packman                    
i | gstreamer-plugins-base                   | package     | 1.6.1-55.1      | x86_64 | Packman                    
i | gstreamer-plugins-base-32bit             | package     | 1.6.1-55.1      | x86_64 | Packman                    
i | gstreamer-plugins-farstream              | package     | 0.2.7-2.2       | x86_64 | openSUSE-Tumbleweed-Oss    
i | gstreamer-plugins-good                   | package     | 1.6.1-67.2      | x86_64 | Packman                    
i | gstreamer-plugins-good-32bit             | package     | 1.6.1-67.2      | x86_64 | Packman                    
i | gstreamer-plugins-good-extra             | package     | 1.6.1-67.2      | x86_64 | Packman                    
i | gstreamer-plugins-libav                  | package     | 1.6.1-1.1       | x86_64 | Packman                    
i | gstreamer-plugins-ugly                   | package     | 1.4.5-50.12     | x86_64 | Packman                    
i | gstreamer-plugins-ugly-32bit             | package     | 1.4.5-50.12     | x86_64 | Packman                    
i | gstreamer-plugins-ugly-orig-addon        | package     | 1.4.5-50.12     | x86_64 | Packman                    
i | gstreamer-utils                          | package     | 1.6.1-61.2      | x86_64 | Packman                    
i | libgstreamer-0_10-0                      | package     | 0.10.36-20.16   | x86_64 | Packman                    
i | libgstreamer-0_10-0-32bit                | package     | 0.10.36-20.16   | x86_64 | Packman                    
i | libgstreamer-1_0-0                       | package     | 1.6.1-61.2      | x86_64 | Packman                    
i | libgstreamer-1_0-0-32bit                 | package     | 1.6.1-61.2      | x86_64 | Packman                    
i | libgupnp-dlna-backend-gstreamer          | package     | 0.10.3-1.1      | x86_64 | openSUSE-Tumbleweed-Oss    
i | phonon-backend-gstreamer                 | package     | 4.8.2-1.1       | x86_64 | openSUSE-Tumbleweed-Oss    
i | python-gstreamer-0_10                    | package     | 0.10.22-12.11   | x86_64 | Packman

Hm, looks ok actually.

Well, maybe try to remove the gstreamer-plugins-ugly packages, they are outdated because the new version couldn’t be built upto now (as mentioned):

sudo rpm -e gstreamer-plugins-ugly gstreamer-plugins-ugly-32bit gstreamer-plugins-ugly-orig-addon

and then remove the cache again.
This will remove some codecs, but maybe it helps (gstreamer-plugins-libav should be able to play nearly everything)

Although on my system at least totem works (don’t have the other two installed), even if these outdated packages are installed. I’m on 13.2 though.

Hi, just wanted to say that after today’s update, and after following your instructions ( deleting gstreamer-plugins-ugly and removing cache) everything works perfectly again.

Thank you very much for you help, wolfi.

And thanks for malcolmlewis too.

Cheers.