Results 1 to 5 of 5

Thread: playing mp3 file with QSound

  1. #1
    Join Date
    Jul 2008
    Location
    Seoul, Korea
    Posts
    5
    Thanks
    1
    Qt products
    Qt3
    Platforms
    Windows

    Post playing mp3 file with QSound

    HI

    im trying to play mp3(or other sound format except .wav) using QSound.

    but when i looked a book about Qt,

    it was written that only .wav file is available when use QSound in Windows.

    so i wonder whether playing other sound format is possible or not.

    plz help me
    Last edited by highlightsong; 15th July 2008 at 13:06.

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: playing mp3 file with QSound

    You can search for Phonon in Qt 4.4
    There is also a media player example which probably plays mp3 files
    But Phonon requires DirectX SDk installed if u are using windows. Be sure phonon is installed on ur system first

  3. #3
    Join Date
    Jul 2008
    Location
    Seoul, Korea
    Posts
    5
    Thanks
    1
    Qt products
    Qt3
    Platforms
    Windows

    Default Re: playing mp3 file with QSound

    Sorry but my version is Qt 3.2.1

    So I wonder about MY Qt

    Because our team members' version is same with me

  4. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: playing mp3 file with QSound

    No, it is not possible to play MP3 files with QSound.
    J-P Nurmi

  5. #5
    Join Date
    Feb 2008
    Posts
    50
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: playing mp3 file with QSound

    irrKlang currently plays back the following file formats:

    * RIFF WAVE (*.wav)
    * Ogg Vorbis (*.ogg)
    * MPEG-1 Audio Layer 3 (*.mp3)[2]
    * Amiga Modules (*.mod)
    * Impulse Tracker (*.it)
    * Scream Tracker 3 (*.s3d)
    * Fast Tracker 2 (*.xm)

    In addition, it is easily possible to extend the playable file formats using plugins. If you need irrKlang to playback a file format it doesn't support yet, just contact us and we can add it for you.

    http://www.ambiera.com/irrklang/features.html#formats

    Very easy library from the author of 3D engine Irrlicht. It has free non commercial and commercial licenses. Downloaded, added and playing ogg files for 3minutes.

Similar Threads

  1. Set up the Qt4.3.2 with Visual Studio 2005
    By lamoda in forum Installation and Deployment
    Replies: 6
    Last Post: 30th January 2008, 06:51
  2. file renaming on windows
    By jdd81 in forum Qt Programming
    Replies: 9
    Last Post: 2nd October 2007, 19:41
  3. qt-3.3.8 fail in scratchbox
    By nass in forum Installation and Deployment
    Replies: 0
    Last Post: 25th May 2007, 15:21
  4. Playing Video file using Qt
    By sarode in forum Qt Programming
    Replies: 3
    Last Post: 26th March 2007, 18:35
  5. Sending Binary File with QFTP
    By nbkhwjm in forum Newbie
    Replies: 2
    Last Post: 7th March 2007, 18:10

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.