Results 1 to 11 of 11

Thread: Phonon Problems... PLEASE PLEASE PLEASE READ, Been 3 Months Now

  1. #1
    Join Date
    Jul 2011
    Posts
    16
    Qt products

    Default Phonon Problems... PLEASE PLEASE PLEASE READ, Been 3 Months Now

    I am sure this problem has been ignored many times in the Bug Fix team for PyQt, this bug has been reported since 2009.

    What is the solution for displaying a Phonon video player inside a QMainWindow with a system flag set to WA_TRANSLUCENTBACGKROUND. The Phonon player just drills a whole right through the Qmainwindow and sets its non-existent. You can actually seen behind the QMainWindow, or right through it like an invisible wall...

    There is no solution or fix for this so far. I actually tried putting a Qmainwindow inside a QWidget and display the phonon player from there, but since I want to apply a framelesswindowhint to that subwindow aswell, it dissapears.

    is there an alternative to Phonon?

    its been 3 months since i have been trying to achieve this, still nothing.

  2. #2
    Join Date
    Jul 2011
    Posts
    16
    Qt products

    Default Re: Phonon Problems... PLEASE PLEASE PLEASE READ, Been 3 Months Now

    31 Views and still no reply. can someone just say something? Like share any kind of info they have? I don't even care if its not related, just post or something.

  3. #3
    Join Date
    Apr 2009
    Posts
    46
    Thanks
    4
    Thanked 7 Times in 7 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Phonon Problems... PLEASE PLEASE PLEASE READ, Been 3 Months Now

    Phonon is deprecated. Use QtMultimedia module.

  4. #4
    Join Date
    Jul 2011
    Posts
    16
    Qt products

    Default Re: Phonon Problems... PLEASE PLEASE PLEASE READ, Been 3 Months Now

    Quote Originally Posted by RSX View Post
    Phonon is deprecated. Use QtMultimedia module.
    I love you. I love you. I love you. I love you.





































    i love you.

  5. #5
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Phonon Problems... PLEASE PLEASE PLEASE READ, Been 3 Months Now

    Blanchoir: Have you read this: http://labs.qt.nokia.com/2008/11/28/videos-get-pimped/ Does that help at all?

    RSX: Where did you read that Phonon is deprecated? Even the QtMultimedia Module page contains:
    The functionality provided by the Phonon Module is on a higher level and in many cases more suitable for application developers.

  6. #6
    Join Date
    Jul 2011
    Posts
    16
    Qt products

    Default Re: Phonon Problems... PLEASE PLEASE PLEASE READ, Been 3 Months Now

    QtMultimedia seems very low-level, aren't there any examples on how to build a basic framework on this?

    Quote Originally Posted by ChrisW67 View Post
    Blanchoir: Have you read this: http://labs.qt.nokia.com/2008/11/28/videos-get-pimped/ Does that help at all?

    RSX: Where did you read that Phonon is deprecated? Even the QtMultimedia Module page contains:
    I will read that now! thank you. I thought it was deprecated?


    what does this article intend to say? is this a way to support Translucent windows? I guess i'll find out by the end of the read.


    Added after 7 minutes:


    The codes are in C++, can't understand it very well.

    The article is also unclear.
    Last edited by blanchoir; 12th December 2011 at 04:19.

  7. #7
    Join Date
    Apr 2009
    Posts
    46
    Thanks
    4
    Thanked 7 Times in 7 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Phonon Problems... PLEASE PLEASE PLEASE READ, Been 3 Months Now

    Quote Originally Posted by ChrisW67 View Post
    Where did you read that Phonon is deprecated?
    I read this: http://labs.qt.nokia.com/2009/09/09/...ats-the-story/. For me it's deprecated.

  8. #8
    Join Date
    Jul 2011
    Posts
    16
    Qt products

    Default Re: Phonon Problems... PLEASE PLEASE PLEASE READ, Been 3 Months Now

    Guys, shouldn't i use QtMultimediaKit instead?

  9. #9
    Join Date
    Jul 2011
    Posts
    16
    Qt products

    Default Re: Phonon Problems... PLEASE PLEASE PLEASE READ, Been 3 Months Now

    Seriously Guys, how am i supose to use QtMultimedia, it requires some intense knowledge of Media Streaming, and it looks like I have to make everything myself, from decoding to handling frames, audio. This is just way too much a developper to have to do without an alternative.

  10. #10
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Phonon Problems... PLEASE PLEASE PLEASE READ, Been 3 Months Now

    Sorry, I cannot help you with either Phonon or Qt Multimedia specifics... I've never used either in anger. From a cursory look at Qt Multimedia I could not see how a simple example could be constructed and there doesn't seem to be any in the usual places.

  11. #11
    Join Date
    Sep 2009
    Posts
    57
    Thanks
    7
    Thanked 5 Times in 4 Posts

    Default Re: Phonon Problems... PLEASE PLEASE PLEASE READ, Been 3 Months Now

    I have spent the last year or so working on and off with video and Qt. I came to the conclusion that it is a bit of a mess. Lots of options, but it seems each attempt by the Trolls to sort video ends up being a dead end.

    I decided to embed native video playback into widgets myself.

    I found that on Mac the QTkit (quicktime) works well, and for Linux VLC is king. On Windows I have used the same libVLC approach but may end up moving to a native framework if a suitable candidate appears (DirectShow?).

    Sample code;
    QTKit - https://github.com/srhea/GoldenCheet...VideoWindow.mm
    libVLC - https://github.com/srhea/GoldenCheet...ideoWindow.cpp

    Versions of O/S and VLC are a perennial issue, but at least the code is relatively small.

    Good Luck!

Similar Threads

  1. how to convert days to months
    By ad3d in forum Newbie
    Replies: 2
    Last Post: 14th February 2011, 22:20
  2. Problems deplying a Phonon app on Fedora
    By spn in forum Installation and Deployment
    Replies: 0
    Last Post: 9th April 2010, 08:01
  3. Compile phonon problems...
    By webquinty in forum Newbie
    Replies: 0
    Last Post: 9th December 2009, 14:17
  4. Problems resizing QWidget & Phonon
    By gmclachl in forum Qt Programming
    Replies: 2
    Last Post: 18th April 2009, 16:32
  5. Problems with phonon example
    By Ginsengelf in forum Qt Programming
    Replies: 2
    Last Post: 4th October 2008, 14: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.