Ask / Submit

Your GStreamer installation is missing a plugin/The video cannot be played due to a problem allocating resources

asked 2018-08-12 05:56:03 +0300

Kabouik gravatar image

updated 2018-08-12 13:22:19 +0300

The error message in the title is a long standing issue I have been having with LLS Video Player when trying to stream videos (local files were working if I remember correctly). I always thought it was limited to specific dependencies that I failed to install for this player, but it never prevented me from watching videos with other players, or from the browser. Even Webcat builtin player could play Youtube videos, although I thought it was based on LLS Video Player. Anyway, so I could still play videos, and therefore I postponed fixing the issue for years.

However, when I decided to do that, I broke things even more and now I am having this error in every video, regardless of the application being used, and even in streams in browser applications. I don't remember exactly what I did, but neither gstreamer1.0 nor the updated version by Llselectronics in Openrepos seem to solve the issue. I have tried pkcon install --allow-reinstall gstreamer1.0, no luck.

In the list below, the packages marked with an "i" are those currently installed on my Jolla C:

[nemo@Sailfish ~]$ zypper search *gstreamer*
Loading repository data...
Reading installed packages...

S | Name                                     | Summary                                                            | Type      
i | gstreamer                                | GStreamer streaming media framework runtime                        | package   
i | gstreamer-ffmpeg                         | GStreamer FFmpeg-based plug-ins                                    | package   
i | gstreamer0.10-ffmpeg-extra               | Gstreamer ffmpeg extra codecs                                      | package   
i | gstreamer1.0                             | GStreamer streaming media framework runtime                        | package   
  | gstreamer1.0                             | GStreamer streaming media framework runtime                        | srcpackage
  | gstreamer1.0-debuginfo                   | Debug information for package gstreamer1.0                         | package   
  | gstreamer1.0-debugsource                 | Debug sources for package gstreamer1.0                             | package   
  | gstreamer1.0-devel                       | Libraries/include files for GStreamer streaming media framework    | package   
  | gstreamer1.0-devel-debuginfo             | Debug information for package gstreamer1.0-devel                   | package   
  | gstreamer1.0-droid                       | GStreamer droid plug-in contains elements using the Android HAL    | package   
  | gstreamer1.0-droid-tools                 | Tools for gst-droid                                                | package   
  | gstreamer1.0-libav                       | GStreamer Streaming-media framework plug-in using libav (FFmpeg).  | package   
  | gstreamer1.0-plugins-bad                 | GStreamer streaming media framework "bad" plug-ins                 | package   
  | gstreamer1.0-plugins-bad                 | GStreamer streaming media framework "bad" plug-ins                 | srcpackage
  | gstreamer1.0-plugins-bad-debuginfo       | Debug information for package gstreamer1.0-plugins-bad             | package   
  | gstreamer1.0-plugins-bad-debugsource     | Debug sources for package gstreamer1.0-plugins-bad                 | package   
  | gstreamer1.0-plugins-bad-devel           | Development files for the GStreamer media framework "bad" plug-ins | package   
i | gstreamer1.0-plugins-base                | GStreamer streaming media framework base plug-ins                  | package   
  | gstreamer1.0-plugins-base                | GStreamer streaming media framework base plug-ins                  | srcpackage
  | gstreamer1.0-plugins-base-apps           | GStreamer Plugin Library Headers                                   | package   
  | gstreamer1.0-plugins-base-apps-debuginfo | Debug information for package gstreamer1.0-plugins-base-apps       | package   
  | gstreamer1.0-plugins-base-debuginfo      | Debug information for package gstreamer1.0-plugins-base            | package   
  | gstreamer1.0-plugins-base-debugsource    | Debug sources for package gstreamer1.0-plugins-base                | package   
  | gstreamer1.0-plugins-base-devel          | GStreamer Plugin Library Headers                                   | package   
i | gstreamer1.0-plugins-good                | GStreamer plug-ins with good code and licensing                    | package   
  | gstreamer1.0-plugins-good                | GStreamer plug-ins with good code and licensing                    | srcpackage
  | gstreamer1.0-plugins-good-debuginfo      | Debug information for package gstreamer1.0-plugins-good            | package   
  | gstreamer1.0-plugins-good-debugsource    | Debug sources for package gstreamer1.0-plugins-good                | package   
  | gstreamer1.0-plugins-ugly                | GStreamer streaming media framework "ugly" plug-ins                | package   
  | gstreamer1.0-tools                       | Tools for GStreamer streaming media framework                      | package   
  | gstreamer1.0-tools-debuginfo             | Debug information for package gstreamer1.0-tools                   | package   
i | nemo-gstreamer1.0-interfaces             | gstreamer interface used for video rendering                       | package   
  | nemo-gstreamer1.0-interfaces-debuginfo   | Debug information for package nemo-gstreamer1.0-interfaces         | package   
  | nemo-gstreamer1.0-interfaces-devel       | gstreamer interface used for video rendering devel package         | package   
  | python-gstreamer                         | Gstreamer Python bindings                                          | package

I could not find any reference to a similar issue, either here or on TMO, so I'm starting my own S.O.S thread. Any idea on how I should proceed to fix this? What should I install/uninstall/reinstall?

edit retag flag offensive close delete


more useful would be the direct output of gstreamer: try gst-launch-1.0 filesrc location=/absolute/path/to/your-file.mp4 ! decodebin3 ! glimagesink

lpr ( 2018-08-15 17:52:50 +0300 )edit

2 Answers

Sort by » oldest newest most voted

answered 2018-08-12 10:46:57 +0300

Kao gravatar image

updated 2018-08-12 10:49:24 +0300

From a first glance, it seems strange that you have packages for the current gstreamer1.0, the older 0.10, and some unspecified ones. You also have a lot of extra/dev packages, not sure if any of them could cause problems. Here is my list for comparison. It is mostly vanilla, but for Sailfish X. Maybe a Jolla C owner can tell if you need anything else for your device.

| Sailfish OS (Mouhijoki)
[nemo@Sailfish ~]$ rpm -qa | grep gst
edit flag offensive delete publish link more


without really looking into it, here what I have installed on Jolla C (with LLS player and browser):

[nemo@Sailfish ~]$ pkcon search name gstreamer | grep Installed Installed gstreamer-0.10.36-1.1.5.armv7hl (installed) Installed gstreamer0.10-ffmpeg-extra-0.10.13-1.armv7hl (installe d) Installed gstreamer1.0-1.10.4+git2-1.3.1.armv7hl (installed) Installed gstreamer1.0-droid-0.20180416.1-1.7.2.armv7hl (install ed) Installed gstreamer1.0-plugins-bad-1.10.4+git1-1.3.1.armv7hl (in stalled) Installed gstreamer1.0-plugins-base-1.10.4+git1-1.2.1.armv7hl (i nstalled) Installed gstreamer1.0-plugins-good-1.10.4-1.2.1.armv7hl (instal led) Installed gstreamer1.0-tools-1.10.4+git2-1.3.1.armv7hl (installe d) Installed nemo-gstreamer1.0-interfaces-0.20150126.0-1.2.1.armv7h l (installed)

peterleinchen ( 2018-08-12 11:42:44 +0300 )edit

Thanks for your replies. I've tried to get closer to what @peterleinchen has on his Jolla C, and now this is what I have:

[nemo@Sailfish ~]$ pkcon search name gstreamer | grep "Installed"
Installed    gstreamer-0.10.36-1.1.5.armv7hl (installed)
Installed    gstreamer0.10-ffmpeg-extra-0.10.13-1.armv7hl (installed)
Installed    gstreamer1.0-1.14.2-1.armv7hl (installed)
Installed    gstreamer1.0-plugins-bad-1.10.4+git1-1.3.1.armv7hl (installed)
Installed    gstreamer1.0-plugins-base-1.10.4+git1-1.2.1.armv7hl (installed)
Installed    gstreamer1.0-plugins-good-1.10.4-1.2.1.armv7hl (installed)
Installed    gstreamer1.0-tools-1.14.2-1.armv7hl (installed)
Installed    nemo-gstreamer1.0-interfaces-0.20150126.0-1.2.1.armv7hl (installed)

But I still have Installed gstreamer1.0-1.14.2-1.armv7hl instead of gstreamer1.0-1.10.4+git2-1.3.1.armv7hl on @peterleinchen's device. I think this is the only difference now, but I have no idea how to change it since I don't know how to give request specific versions with pkcon or zypper.

Also, devel-su pkcon install --allow-reinstall gstreamer1.0 returns:

Testing changes                                                                                  
Fatal error: gstreamer1.0-tools-1.14.2-1.armv7hl requires gstreamer1.0 = 1.14.2-1, but this requirement cannot be provided

Which is weird since this version of gstreamer is currently installed. Could it be an issue with my repositories?

Kabouik ( 2018-08-14 01:15:46 +0300 )edit

Yes, you must have a repository issue. Too many openrepos gstreamer/codec repos.

Every GStreamer package should be the same version. 1.14 is the newer version from the next version of Sailfish that someone has already built on Openrepos, so you should be on 1.10 for everything. I recommend disabling all non-Jolla repositories using 'ssu dr' then doing a 'version --dup' from the console.

Also remove that 'gstreamer0.10-ffmpeg-extra' package and 'gstreamer' (0.10.36). They are not useful.

Also, do you have 'gstreamer1.0-droid' installed? This is important for camera and hw codec support. The version numbers of that don't follow the rest of Gstreamer.

Andy Branson ( 2018-08-14 10:03:37 +0300 )edit

answered 2018-08-13 10:05:45 +0300

Andy Branson gravatar image


That error generally means you are missing a gstreamer element that's needed for decoding the current stream. You should see more information on the console if you run LLs video player from the console.

Those older gstreamer elements are likely to be from an old codec pack that won't work in modern Sailfish, you should remove 'gstreamer', 'gstreamer-ffmpeg' and 'gstreamer0.10-ffmpeg-extra'.

But it's more likely that you're having problems from missing the 'bad' plugin set which should be installed by default on Sailfish. Definitely install 'gstreamer1.0-plugins-bad'. Lots of codecs are in there - I'd expect even your camera to be broken without that.

That'll give you the latest set of codecs that Sailfish supports, though for licensing reasons that doesn't cover everything you might encounter. I think some community people have played around with builds of gst-libav for comprehensive codec support, though obviously that's not something that's officially supported.

Hope that helps,


edit flag offensive delete publish link more


Thanks. However, I'm having issues in all video-related applications now, not just LLS Video Player. Even the camera application is showing colored squares instead of the preview now.

Also, it seems I can't uninstall gstreamer to start from scratch, because "Fatal error: This request will break your system!".

The "Bad" plugin is now installed (see my comment above) and the only difference with @peterleinchen's Jolla C is the version of gstreamer1.0.

Kabouik ( 2018-08-14 01:20:47 +0300 )edit
Login/Signup to Answer

Question tools

1 follower


Asked: 2018-08-12 05:56:03 +0300

Seen: 250 times

Last updated: 2 days ago