I want to create a small mp3 player as a toy project that started with Qt for a graphical interface. When I try to play an mp3 file, I get this error.
Warning: "No decoder available for type 'audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)1, layer=(int)3, rate=(int)44100, channels=(int)2, parsed=(boolean)true'." Error: "Your GStreamer installation is missing a plug-in."
I installed gstreamer and it plugins after googling around
sudo apt-get install gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav
But I still get the error. How to fix it?
source share