Kodi Community Forum

Full Version: How to retrieve width and height of the playing video ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I'm currently writing a small addon/service and I need to find the width and height of the playing video.
In my xbmc.log, I can see this line :
Code:
20:50:16 T:2300  NOTICE:  fps: 23.976024, pwidth: 1280, pheight: 720, dwidth: 1280, dheight: 720
Is there any way with the python API to get these informations ?

I searched here but didn't find anything.
InfoTagVideo does not have these informations and RenderCapture.getWidth() and getHeight() gives the width and height you specify to capture() method.

Thanks!