Results 1 to 8 of 8

Thread: help with music player created using Qt Creator IDE 4.5

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2010
    Posts
    16
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default help with music player created using Qt Creator IDE 4.5

    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...sicplayer.html also , but suffered from same problems with this music player as well.


    Please help me with the above problems.

    Thanks in advance.

  2. #2
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: help with music player created using Qt Creator IDE 4.5

    I build and now listen music in that example, on Ubuntu 10.4 (using the Qt 4.6.3)
    What distro' version are you using? (does it have the codecs for mp3 ?)

    LE: please, next time don't use the visitor messeges to ask for help

  3. #3
    Join Date
    Jul 2010
    Posts
    16
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: help with music player created using Qt Creator IDE 4.5

    i use ubuntu 9.10 and i have Qt 4.5 installed on my system

  4. #4
    Join Date
    Jul 2010
    Posts
    16
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: help with music player created using Qt Creator IDE 4.5

    mp3 files are playing with other music players like Rhythmbox Music Player

  5. #5
    Join Date
    Jul 2010
    Posts
    16
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: help with music player created using Qt Creator IDE 4.5

    This music player is not able to add audio files in any format like .wav, .ogg , .mp3 in my playlist
    On an average how much time does an audio file take to get added to the playlist using this music player created using Phonon

  6. #6
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: help with music player created using Qt Creator IDE 4.5

    Conforming with this you need libgstreamer-plugins-base0.10 to play audio/video with phonon, make sure that they are installed (i'm kinf of newbie to linux so can't give you much info on how to install that, sorry)

  7. #7
    Join Date
    Jul 2010
    Posts
    16
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: help with music player created using Qt Creator IDE 4.5

    I already have these plugins installed on my system , so the problem persists

  8. #8
    Join Date
    Jul 2010
    Posts
    16
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: help with music player created using Qt Creator IDE 4.5

    Help needed desperately
    Please help!!

Similar Threads

  1. Replies: 1
    Last Post: 27th April 2010, 08:26
  2. playing music from a database
    By Baasie in forum Qt Programming
    Replies: 5
    Last Post: 19th January 2010, 11:48
  3. tableWidget created in Qt Creator not updated
    By binaural in forum Qt Programming
    Replies: 2
    Last Post: 10th July 2009, 22:50
  4. Replies: 3
    Last Post: 5th March 2009, 08:27
  5. problem with phonon/music player example.
    By rishiraj in forum Newbie
    Replies: 9
    Last Post: 23rd January 2009, 09:00

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.