Results 1 to 2 of 2

Thread: Phonon on Mac cant play a video

  1. #1
    Join Date
    Jul 2010
    Posts
    14
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Phonon on Mac cant play a video

    Hi,

    i have a problem using phonon on MacOSX.
    We compiled Qt with Phonon support, and installed it under /Applications/MyApp/Contents/MacOS/.libraries/ (customer choice)
    The i moved th complet folder of the backend (plugins/phonon_backend/libphonon_qt7.dylib) to the Qt-Install path.
    But I always get this warning:
    WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded

    I get the warning also, when i copied the phonon_backend folder to the application path.

    Does anyone know where to copy those files, so phonon should work

    Every help is appreciated

    Bruno

  2. #2
    Join Date
    Jan 2012
    Posts
    9
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows
    Wiki edits
    5

    Default Re: Phonon on Mac cant play a video

    I realize I might be a little too late with a solution, but I had this problem and eventually figured it out after a week. Hopefully it will help you and anyone else looking for a solution. Here it is:

    First, you need to make sure you have Qt with phonon support. I believe the 'standard' version of Qt does not have phonon support, so you might need to download the Qt source and build it with phonon support.

    You need to run "macdepoyqt" in the base directory of your application. (Macdeployqt should either come with qt or can be built.) More specifically, go to the directory where "MyApplication.app" is located, and call "macdeployqt MyApplication.app". This will copy all the necessary Qt frameworks and dylibs into your app folder. This is very important for phonon because the phonon backend needs lots of files and codecs. (Simply copying the phonon.framework and dylibs yourself will not work.)

Similar Threads

  1. cookies needed to play a streaming video with phonon
    By Alnitak in forum Qt Programming
    Replies: 0
    Last Post: 20th April 2011, 20:26
  2. Replies: 3
    Last Post: 3rd April 2011, 11:57
  3. How to reverse play a video with phonon
    By Markus in forum Qt Programming
    Replies: 1
    Last Post: 19th July 2010, 06:48
  4. Qt phonon is only giving black screen when i play the video.what can be the soluition
    By savaliya_ambani in forum Qt for Embedded and Mobile
    Replies: 6
    Last Post: 3rd July 2010, 13:09
  5. Play video file with Phonon and GStreamer show black screen
    By SimbadSubZero in forum Qt Programming
    Replies: 2
    Last Post: 6th May 2010, 11:47

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.