Kodi Community Forum
Video info - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: Video info (/showthread.php?tid=155237)



Video info - SorryGoFish - 2013-02-07

How does XBMC gather video information (resolution, codec, sound channels, etc.)?

More importantly, is there a way to access this functionality from an addon (I didn't see anything in the API)?

I can do it my self with avprobe (ffprobe), but I'd prefer to rely on XBMC's cross-platform grace.

As a backup, does XBMC provide access to ffmpeg or something like that so I could at least write my own cross-platform calls?

Thanks.


RE: Video info - Bstrdsmkr - 2013-02-07

It uses ffmpeg internally, but none of that is exposed to python. You could probably use xbmc's included version though if you find out where it's stored


RE: Video info - SorryGoFish - 2013-02-07

Okay. Thanks.