[Qt-interest] help with music player created using Qt Creator IDE 4.5

Vijay Kansal vijaykansal3 at gmail.com
Sun Jul 11 05:44:27 CEST 2010


Hi,

I have created a simple music player using Qt creator IDE.

As I add mp3 files to my playlist and then play them using this music
player, it is unable to play anything and mediaObject->state() continously
returns Phonon::LoadingState . So,I think my mp3 file is either unable to
load or its size is too large for loading( its size is 5.0 MB) which is not
so practically.

Secondly, as i try to add an audio file of .wav or .ogg format , i get the
following error

(<unknown>:1998: GStreamer-CRITICAL **: gst_element_make_from_uri: assertion
`gst_uri_is_valid (uri)' failed

I tried running the Phonon music player available at link
http://doc.qt.nokia.com/4.7-snapshot...sicplayer.html<http://www.qtforum.org/index.php?page=ExternalLink&url=http%3A%2F%2Fdoc.qt.nokia.com%2F4.7-snapshot%2Fphonon-qmusicplayer.html>also
, but suffered from same problems with this music player as well.

i downloaded KMPlayer which is a media player built using Qt and Phonon.This
music player is also unable to play any audio file and i get similar results
with it.
i.e. no errors with .mp3 and .ogg files yet player shows Player Phonon
Buffering State as i try to play any audio file and hence does not play any
sound.
And it shows similar error as abovementioned with .wav file

I am using Ubuntu 9.10. and have installed Qt 4.5

Please help me with the above problems.

Thanks in advance.

-- 
vijay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100711/1df48d4b/attachment.html 


More information about the Qt-interest-old mailing list