How to Solve Error: Your GStreamer installation is missing a plug-in

Ubuntu 14.04,Qt 5.6.0 Qt Creator 3.6.1,QML, When playing MP3 with Audio {id: playSound0}, I can’t play it and I get the following error in console.

Warning: “No decoder available for type ‘audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)2, layer=(int)3, rate=(int)16000, channels=(int)1, parsed=(boolean)true’.”

Error: “Your GStreamer installation is missing a plug-in.”

Install this software to fix this issue:

sudo add-apt-repository ppa:mc3man/gstffmpeg-keep
sudo apt-get update
sudo apt-get install gstreamer0.10-ffmpeg
sudo apt-get install gstreamer0.10-plugins-ugly

When running the program in Ubuntu 16.04, the following error message appears in sequence.

defaultServiceProvider::requestService(): no service found for – “org.qt-project.qt.mediaplayer”

GStreamer; Unable to pause – “”
Error: “No URI handler implemented for \”http\”.”

Your GStreamer installation is missing a plug-in

sudo apt-get install gstreamer0.10-plugins-ugly This installation package prompted an error that could not be installed, installed gstreamer 1.0 package, the problem remains, can not play the sound

$ sudo apt-get install gstreamer0.10-plugins-ugly
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package gstreamer0.10-plugins-ugly is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package ‘gstreamer0.10-plugins-ugly’ has no installation candidate


I tried digging a little into this and according tothisthread in the Qt forums the issue seems to be that the QtMultimedia module is still using GStreamer 0.10 as a backend – and from that it needs thegstreamer-0.10-ffmpegplugin which is not available in some distros anymore due to the move to libav.

If you’re using a flavour of Ubuntu you can try installinggstreamer-0.10-ffmpegfrom Doug McMahon’s ppa:


Similar Posts: