Kodi Community Forum
v17 Built from git for Raspbian, but h.265 stutters compared to LibreELEC - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Raspberry Pi (https://forum.kodi.tv/forumdisplay.php?fid=166)
+---- Thread: v17 Built from git for Raspbian, but h.265 stutters compared to LibreELEC (/showthread.php?tid=289591)



Built from git for Raspbian, but h.265 stutters compared to LibreELEC - pneuman - 2016-09-05

I've recently been testing Kodi on a Raspberry Pi 3. It was very easy to get running under LibreELEC (using one of the Krypton preview builds), but since I'm an experienced Linux user and I'd like to do some other things with my Pi as well, I've also installed Raspbian jessie, and cross-compiled Krypton for it, using the instructions here:

https://github.com/xbmc/xbmc/blob/master/docs/README.linux

My build works just fine, but there's one odd issue: h.256 decode performance is much lower than it is under LibreELEC. I have a 720p h.265 file that plays flawlessly under LibreELEC, but under Raspbian, it decodes at, I'd guess, around 5-10FPS.

Is there some magic sauce in the LibreELEC build or configuration that specifically improves h.265 performance? Is it possible to get the same performance under Raspbian?

Thanks
Leigh


RE: Built from git for Raspbian, but h.265 stutters compared to LibreELEC - Milhouse - 2016-09-05

For the HEVC optimisations you might be better off building Kodi from popcornmix's newclock5 branch: https://github.com/popcornmix/xbmc/commits/newclock5 - this is the basis of the LibreELEC builds (various RPi specific commits, and ffmpeg HEVC optimisations).


RE: Built from git for Raspbian, but h.265 stutters compared to LibreELEC - Nachteule - 2016-09-05

I can confirm this, just built popcornmix's newclock5 branch, my self transcoded HEVC 720p sample runs absolutely flawlessly on RPi3 (~25% cpu usage) Smile


RE: Built from git for Raspbian, but h.265 stutters compared to LibreELEC - pneuman - 2016-09-06

Thanks for the tip! I rebuilt from that branch on to my Raspbian installation, and my test file plays flawlessly there now too. Very cool!