[Interest] Gstreamer error while playing audio with Qt5.6 on ubuntu

Alan Ezust alan.ezust at gmail.com
Sat May 28 03:13:13 CEST 2016


I followed those instructions but they don't work for Ubuntu Xenial. Same
error message.
What is the recommended way to play MP3s from Qt/Multimedia on Linux now?

On Fri, May 27, 2016 at 6:00 PM, Alan Ezust <alan.ezust at gmail.com> wrote:

> Nevermind. Stackoverflow has the solution...
>
>
> http://stackoverflow.com/questions/26099139/how-to-fix-gstreamer-error-in-qt5#31768647
>
>
> On Fri, May 27, 2016 at 5:53 PM, Alan Ezust <alan.ezust at gmail.com> wrote:
>
>> I am getting the same problem in Qt 5.6 with the Qt3d Audio Visualization
>> demo.
>> In the past, installing gstreamer-fluendo-mp3 fixed the problem. This
>> time it did not.
>> I am using Kubuntu xenial.
>>
>> Installing ubuntu-restricted-extras didn't fix it either.
>>
>> Does anyone know what is the missing plugin?
>>
>> On Fri, Sep 5, 2014 at 2:04 AM, Ramakanthreddy Kesireddy <
>> Ramakanthreddy.Kesireddy at techmahindra.com> wrote:
>>
>>> Hi,
>>>
>>>
>>>
>>> Below is the code sinppet for audio play in QML but still gives the
>>> warning
>>>
>>> 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."
>>>
>>>
>>>
>>> import QtQuick 2.2
>>>
>>> import QtQuick.Window 2.1
>>>
>>> import QtMultimedia 5.0
>>>
>>>
>>>
>>> Window {
>>>
>>>     visible: true
>>>
>>>     width: 360
>>>
>>>     height: 360
>>>
>>>
>>>
>>>     Audio {
>>>
>>>         id: player
>>>
>>>         source: "qrc:/NeelaYevaru.mp3"
>>>
>>>         autoPlay: true
>>>
>>>     }
>>>
>>>     MouseArea {
>>>
>>>         id: playArea
>>>
>>>         anchors.fill: parent
>>>
>>>     }
>>>
>>> }
>>>
>>>
>>>
>>> Please let me know if am missing any plugins in this regard.
>>>
>>>
>>>
>>> Thanks and Regards,
>>>
>>> Ramakanth
>>>
>>>
>>>
>>>
>>>
>>> *From:* Ramakanthreddy Kesireddy
>>> *Sent:* Thursday, September 04, 2014 3:32 PM
>>> *To:* interest at qt-project.org
>>> *Subject:* Gstreamer error while playing audio with Qt5.3
>>>
>>>
>>>
>>> Hi,
>>>
>>>
>>>
>>> We installed gstreamer packages through apt-get viz.  sudo apt-get
>>> install libgstreamer0.10-dev
>>>
>>> sudo apt-get install libgstreamer-plugins-base0.10-dev
>>>
>>> on Ubuntu 13.10, but it throws below error while playing audio.
>>>
>>>
>>>
>>> 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."
>>>
>>>
>>>
>>> Please let me know if am missing any plugins in this regard.
>>>
>>>
>>>
>>> Thanks and Regards,
>>>
>>> Ramakanth
>>>
>>> ------------------------------
>>>
>>> ============================================================================================================================
>>> Disclaimer: This message and the information contained herein is
>>> proprietary and confidential and subject to the Tech Mahindra policy
>>> statement, you may review the policy at
>>> http://www.techmahindra.com/Disclaimer.html externally
>>> http://tim.techmahindra.com/tim/disclaimer.html internally within
>>> TechMahindra.
>>>
>>> ============================================================================================================================
>>>
>>>
>>> _______________________________________________
>>> Interest mailing list
>>> Interest at qt-project.org
>>> http://lists.qt-project.org/mailman/listinfo/interest
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160527/e366cbc5/attachment.html>


More information about the Interest mailing list