Results 1 to 2 of 2

Thread: Phonon Music Player example A required codec is missing need to install html/text

  1. #1
    Join Date
    Apr 2010
    Posts
    4
    Thanks
    1

    Default Phonon Music Player example A required codec is missing need to install html/text

    Hello all,

    I am using Ubuntu 9.10 with QT 4.6.2 and I am trying to run the Phonon Music player example. I built the example but when I try to load a music file *.ogg or *.mp3 I got some error like:
    A required codec is missing. You need to install the following codec(s) to play this content: text/html
    in the case of *.ogg
    and Fatal Error Disconnected: OK in the case of *.mp3
    Everytime that I start the program it appears also this message:
    Starting /home/mario/qtsdk-2010.02/qt/examples/phonon/qmusicplayer/qmusicplayer...

    ** (<unknown>:9879): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed
    I already installed the library libgstreamer and also the html2text deb packet....
    Any hints?

  2. #2
    Join Date
    Apr 2010
    Posts
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Phonon Music Player example A required codec is missing need to install html/text

    Hi,

    I am experiencing the similar problem right now, although I do not get any "A required codec is missing" errors.

    I notice already these things:
    * The same example in Ubuntu packages (QT 4.5.3) works ok
    * You can trace Phonon and Gstreamer by setting environment variables like this:
    Qt Code:
    1. PHONON_GST_DEBUG=3 GST_DEBUG=3 ./qmusicplayer
    To copy to clipboard, switch view to plain text mode 
    Unfortunately the Phonon in 4.5.3 package does not have tracing enabled, so the comparison against that is not possible.

    * Gstreamer pipeline works, when started from command line
    Qt Code:
    1. gst-launch-0.10 filesrc location=/path/to/file.ogg ! oggdemux ! vorbisdec ! audioconvert ! audioresample ! osssink
    To copy to clipboard, switch view to plain text mode 

Similar Threads

  1. Qt phonon and Codec
    By alexcuiCN in forum Qt Programming
    Replies: 2
    Last Post: 27th April 2010, 08:56
  2. Replies: 0
    Last Post: 8th April 2010, 02:39
  3. Phonon Video Player + XML
    By igor.schkrab in forum Qt Programming
    Replies: 0
    Last Post: 24th November 2009, 23:49
  4. Missing doc\html directory after Windows Vista 4.5.3 install (LGPL)
    By rtc1 in forum Installation and Deployment
    Replies: 0
    Last Post: 10th October 2009, 21:47
  5. problem with phonon/music player example.
    By rishiraj in forum Newbie
    Replies: 9
    Last Post: 23rd January 2009, 08:00

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.