>On Tue, Mar 17, 2015 at 1:22 AM, Simos Xenitellis < simos.li...@googlemail.com> wrote: >On Mon, Mar 16, 2015 at 5:35 PM, Stefan Monnier ><monn...@iro.umontreal.ca> wrote: >>> The way I understood all these was that there are short-term and >>> long-term goals for better support with the video engine. >> >> As an end user, I think that having mainline support (not just for the >> kernel, but the rest of the stack as well) for something like Kodi (nee >> XBMC) would be great. >> >> Ever since the first Android TV sticks came out, I have hoped to use one >> of those beasts as a media-center. But so far I haven't been able to do >> that: when using GNU/Linux the video playback sucks for lack of VPU >> support, and when using Android I'm faced with the problem that there's >> no DVD player software available in Android (there are lots of players >> which advertise support for playing DVDs, but they actually don't >> support playing from an optical drive). >> > >In Android, the Android image would need to implement the MediaCodec >(as in http://developer.android.com/reference/android/media/MediaCodec.html ) >class for CedarX in order to provide support for hardware >decoding/encoding to the apps. > >It's "MediaCodec" in Anrdoid 4.1 or newer. >It was "Stagefright" in previous versions of Android.
I wonder it's not the appropriate place to talk about Android. The Android media interface has already implemented with hardware decoding, and it should work out of box. > >In terms of Kodi for Android, if MediaCodec is configured properly for >the Allwinner SoC, >then Kodi should work out of the box. I have tested Kodi on Android. It relies on openmax, not the media interface, as far as I know. >It should be possible to retrofit the libvdecodec.so/libvencoder.so libraries >(found on https://github.com/allwinner-zh) into an existing Android image >in order to get MediaCodec working properly for Kodi. > >Quink, do you have any instructions for that? > >Simos > -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.