Kodi Community Forum
Android Hardware video decode on Freescale i.MX 6 SoC series in Kodi for Android? - 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: Android (https://forum.kodi.tv/forumdisplay.php?fid=164)
+---- Thread: Android Hardware video decode on Freescale i.MX 6 SoC series in Kodi for Android? (/showthread.php?tid=205871)



Hardware video decode on Freescale i.MX 6 SoC series in Kodi for Android? - Hedda - 2014-10-06

Does pull request #5202 being merged also mean that Kodi for Android will also get hardware assisted video decoding on Freescale i.MX 6 SoC series soon too?

https://github.com/xbmc/xbmc/pull/5202

This pull request have now been merged Kodi for Linux and added support VPU decoding for Freescale i.MX6 on Linux, but what about Android?


I think that was what happened for Amlogic in XBMC, first you added support for hardware video decoding on Linux and then it was ported to Android, right?



I know that Freescale iMX 6 series is a very popular platform, especially among developers due to its versatility, but most seem to focus on Linux support.

There are plenty i.MX6 developer boards out there based on Freescale i.MX6 which supports both Linux and Android today, with Wandboard, Boundary, MarS, RIoTBoard, Sabre, UDOO, and Linksprite all being the most known for making affordable developer boards.

iMX6 consumer devices with Android support include mini-PC's from Utilite, Hiapad, Zealz, TBS, SolidRun, and Shuttle, as well as a lot of Chinese media players.


Can you recommend XBMC users buying iMX6 boxes with Android with the assumption that hardware video decoding will be added to Kodi soon?


RE: Hardware video decode on Freescale i.MX 6 SoC series in Kodi for Android? - Koying - 2014-10-06

The linux base can certainly be re-used for an android version.
Whether someone actually plans to do so soon, I don't know...


RE: Hardware video decode on Freescale i.MX 6 SoC series in Kodi for Android? - Hedda - 2014-10-07

Apparently SolidRun developer Rabeeh Khoury is working on porting this to Android for their CuBox-i and HummingBoard devices

http://www.solid-run.com/community/topic1091-60.html#p10838
rabeeh Wrote:More updates on development.... and this is fresh from the oven.... we have xbmc android built on CuBox-i.
Now you would say; but i have this already up and running (not so well) for more than half a year; the news is that it's based on imx6-xbmc tree (i.e. the same one that is used in GeexBox, OpenELEC.tv, xbian, Arch etc...)

The main difference is that it uses the vpu (video engine) directly and not through the standard MediaCodec interface (thanks for koying on the tips).

I'v gave it a quick try with the BBB movie (480p,720p,1080p) streaming through Ethernet from my Linux machine; and works on 720p and 1080p TV resolutions (way better results than the MediaCodecs).

Instructions how to try it out (testers only and you need to get your hands dirty a bit) -
1. Download and install apk from here - http://dl.dropboxusercontent.com/u/72661517/tbr/xbmcapp-armeabi-v7a-debug.apk
2. Download libfslvpuwrap.tar.gz from the following link and unpack it into the fifth partition (i.e. system partition) into the lib/ directory - http://dl.dropboxusercontent.com/u/72661517/tbr/libfslvpuwrap.tar.gz
3. Before running it change permissions of the vpu to be accessed by everyone via - chmod 666 /dev/mxc_vpu

To set expectations; this is hot from the oven, it doesn't support passthrough, cec or ffmpeg fallback, but only a good starting point to test the waters if it provides a good experience as stand alone xbmc.
Needless to say, try it on Android 4.4 only (both CuBox-i and HummingBoard)

Waiting for feedback.
Looks like he have only posted XBMC/Kodi binaries on Dropbox without posting source code on GitHub or as a separate package

https://github.com/rabeeh/

I have seen Rabeeh worked somewhat publicly on GitHub before, but I've never seen him submit any XBMC patches to upstream?

Sure hope that this code is contributed as a patch for upstream, and preferably in time for inclusion into Kodi 14 (Helix)!


RE: Hardware video decode on Freescale i.MX 6 SoC series in Kodi for Android? - Ned Scott - 2014-10-07

Very awesome! I have a really good feeling about Freescale and XBMC/Kodi's future.