vijay_kansal
7th July 2010, 10:48
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).
Please help me with this problem
Secondly, as i tried to add an audio file of .wav format , i got the following error
(<unknown>:1998): GStreamer-CRITICAL **: gst_element_make_from_uri: assertion `gst_uri_is_valid (uri)' failed
So, is this true that Qt does not support audio files in .wav format
I tried running the Phonon music player available at link http://doc.qt.nokia.com/4.7-snapshot/phonon-qmusicplayer.html also , but suffered from same problems with this music player as well.
Please help me with the above problems.
Thanks in advance.
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).
Please help me with this problem
Secondly, as i tried to add an audio file of .wav format , i got the following error
(<unknown>:1998): GStreamer-CRITICAL **: gst_element_make_from_uri: assertion `gst_uri_is_valid (uri)' failed
So, is this true that Qt does not support audio files in .wav format
I tried running the Phonon music player available at link http://doc.qt.nokia.com/4.7-snapshot/phonon-qmusicplayer.html also , but suffered from same problems with this music player as well.
Please help me with the above problems.
Thanks in advance.