mplayer.py
mplayer.py copied to clipboard
Issue accessing video properties
Hi,
When using QtPlayer object (or QPlayerView), I am not able to access video properties. For example, print(v.player.height) in the example given in qt4.py returns None. However, I don't encounter this issue if I use directly a Player instance. Any idea why?
Thanks
Sorry for the very late reply. Please check if the event processing code is actually being integrated with Qt's event loop. I haven't been able to port this project to the latest Qt so it might just be a compatibility issue. Relevant classes are _StdoutWrapper and _StderrWrapper which are responsible for registering the file descriptors of MPlayer's stdout and stderr, respectively.