Results 1 to 20 of 39

Thread: How to play MP3,WAV,OGG,FLAC,MP4,M4A ?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2010
    Location
    /home/hakermania/
    Posts
    233
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    129
    Thanked 3 Times in 3 Posts

    Default Re: How to play MP3,WAV,OGG,FLAC,MP4,M4A ?

    Apf.. Too complicated.. Too hard! Check the backends, install the dependencies...And all these only for mp3 playing. Useless. I think I'll use the pre-installed canbera-gtk-play and have only ogg and wav support

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: How to play MP3,WAV,OGG,FLAC,MP4,M4A ?

    Quote Originally Posted by hakermania View Post
    I think I'll use the pre-installed canbera-gtk-play and have only ogg and wav support
    I guess your app wouldn't work on my system then

    By the way, I've placed the how-to in the wiki: [wiki]How to get Phonon working[/wiki]
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Jul 2010
    Location
    /home/hakermania/
    Posts
    233
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    129
    Thanked 3 Times in 3 Posts

    Default Re: How to play MP3,WAV,OGG,FLAC,MP4,M4A ?

    My app wouldn't work in your system because it uses a lot of other bash commands like sed and other because this way is much easier than the C++ way (I mean for file processing). In order to play mp3 files, I found a terminal command called mpg123 only 35KB

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: How to play MP3,WAV,OGG,FLAC,MP4,M4A ?

    But I do have sed installed on my system, so that's perfectly fine. I don't have your gtk player installed. I think I don't have mpg123 installed too, after all I have mplayer...

    Edit: I do have mpg123. You should add another 250kB to your mpg123 as it requires the mpg123 library Dependencies, dependencies, dependencies...
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Play .amr sound
    By ahmdsd_ostora in forum Qt Programming
    Replies: 3
    Last Post: 17th July 2010, 15:34
  2. play audio url
    By tungvc in forum Qt Programming
    Replies: 0
    Last Post: 15th July 2010, 11:04
  3. qmake flac
    By rubenvb in forum Qt Programming
    Replies: 0
    Last Post: 8th November 2009, 15:18
  4. To Play Movie in QT 4
    By Isa in forum Qt Programming
    Replies: 8
    Last Post: 2nd August 2008, 11:56
  5. QPicture does not play right
    By derick in forum Qt Programming
    Replies: 5
    Last Post: 19th February 2006, 01:46

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.