Search found 2 matches

Go to advanced search

by dvdjimmy
05 Aug 2010 11:54
Forum: Development around libVLC
Topic: Embedding VLC in a PyQt4 app
Replies: 3
Views: 4303

Re: Embedding VLC in a PyQt4 app

I found a solution. The Problem is, that you have to tell VLC to which window it should render. Just add these two lines to your code and it works fine. hwnd = int(video.winId()) player.set_hwnd(hwnd) Its very important that you convert the winId() to int. Otherwise it will not work!! Happy coding.....
by dvdjimmy
05 Aug 2010 11:29
Forum: Development around libVLC
Topic: Embedding VLC in a PyQt4 app
Replies: 3
Views: 4303

Re: Embedding VLC in a PyQt4 app

Dear all, it seems that this is still an unsolved issue. I have exactly the same behaviour right now. Here is the code I use import sys import sys from PyQt4 import Qt import vlc app = Qt.QApplication(sys.argv) video = Qt.QWidget() video.setMinimumSize(300, 300) path="test" instance=vlc.In...

Go to advanced search