[Interest] Gstreamer error while playing audio with Qt5.3
Ramakanthreddy Kesireddy
Ramakanthreddy.Kesireddy at TechMahindra.com
Fri Sep 5 11:04:34 CEST 2014
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.
============================================================================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140905/5c6d5a7d/attachment.html>
More information about the Interest
mailing list