mplayer.py icon indicating copy to clipboard operation
mplayer.py copied to clipboard

Issue accessing video properties

Open daguile opened this issue 4 years ago • 1 comments

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

daguile avatar Dec 14 '20 07:12 daguile

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.

baudm avatar Oct 10 '21 21:10 baudm