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.
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.
Re: Phonon Problems... PLEASE PLEASE PLEASE READ, Been 3 Months Now
Phonon is deprecated. Use QtMultimedia module.
Re: Phonon Problems... PLEASE PLEASE PLEASE READ, Been 3 Months Now
Quote:
Originally Posted by
RSX
Phonon is deprecated. Use QtMultimedia module.
I love you. I love you. I love you. I love you.
i love you.
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:
Quote:
The functionality provided by the Phonon Module is on a higher level and in many cases more suitable for application developers.
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
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.
Re: Phonon Problems... PLEASE PLEASE PLEASE READ, Been 3 Months Now
Quote:
Originally Posted by
ChrisW67
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.
Re: Phonon Problems... PLEASE PLEASE PLEASE READ, Been 3 Months Now
Guys, shouldn't i use QtMultimediaKit instead?
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.
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.
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!