Stane1983 / amlogic-libplayer

Amlogic LibPlayer sources released as part of Amlogic Linux SDK (Buildroot)
18 stars 16 forks source link

Render Capture implementation on Amlogic for Ambilight addons #1

Open Hedda opened 9 years ago

Hedda commented 9 years ago

Please implement CRenderCapture support for Amcodec/Amplayer on Amlogic to enable Ambilight addons like Boblight as requested here

http://forum.kodi.tv/showthread.php?tid=219563

Looks like Davilla/Pivos have already done some work on this as linked here below which could maybe be backported?

https://github.com/davilla/boblight-1

https://github.com/Pivosgroup/boblight

https://github.com/Pivosgroup/TOFU-XS-Android-TOFUApp

Stane1983 commented 9 years ago

I will check this.

On 12:24, Thu, 26 Feb 2015 Hedda notifications@github.com wrote:

Please implement CRenderCapture support for Amcodec/Amplayer on Amlogic to enable Ambilight addons like Boblight as requested here

http://forum.kodi.tv/showthread.php?tid=219563

Looks like Davilla/Pivos have already done some work on this as linked here below which could maybe be backported?

https://github.com/davilla/boblight-1

https://github.com/Pivosgroup/boblight

https://github.com/Pivosgroup/TOFU-XS-Android-TOFUApp

— Reply to this email directly or view it on GitHub https://github.com/Stane1983/amlogic-libplayer/issues/1.

Hedda commented 9 years ago

@Stane1983 Thanks! FYI, Kodi developers posted more info in the forum thread now too:

http://forum.kodi.tv/showthread.php?tid=219563

Based on davilla/pivos work Memphiz done something superior (which requires a current kernel) here:

https://github.com/OpenELEC/OpenELEC.tv/...ient.patch

Memphiz also have a rendercapture implementation for this here:

https://github.com/Memphiz/xbmc/commits/amlcapture

But the rendercapture implementation is to late - thats why Memphiz prefer the userspace client.

Memphiz tried both on WeTek Play Amlogic box running OpenELEC ...

It relies on an aml kernel with enabled videocap support.

For using it in current openelec builds you need to install the boblighd addon (which in this case provides the boblight-aml client which reads its config from the official boblight addon...), the boblight addon and then configure the boblight addon to point it to your server (which can be anywhere in the network or even the local one).

This only works when having a videocap enabled aml kernel (so that /dev/videocap0 is available).