codesnake / OpenELEC.tv

Port of the OpenELEC for Amlogic-based TV boxes
http://openelec.tv
62 stars 70 forks source link

Render Capture implementation on Amlogic for Ambilight addons #47

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

curunoir commented 9 years ago

Hi, I'm the author of the Kodi thread and I can provide assistance for testing purposes with my device if needed. Thanks for your attention.

shawndowney commented 9 years ago

HI, Thanks for getting back to me.

Can you just confirm for me that the HDMI IN function supplied on some STB (Amlogic S812) can be accessed successfully from Kodi

I guess really we are looking for an engineer who can write interface so HDMI IN stream can be viewed like a webcam. That would suit us.

regards shawn

On 26/02/2015 14:25, curunoir wrote:

Hi, I'm the author of the Kodi thread and I can provide assistance for testing purposes with my device if needed. Thanks for your attention.

— Reply to this email directly or view it on GitHub https://github.com/codesnake/OpenELEC.tv/issues/47#issuecomment-76186149.

curunoir commented 9 years ago

Sorry I don't get what you need. I only one S802 device, what can I check on it for you ?

Hedda commented 9 years ago

FYI, Kodi developers have now posted some 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).

Hedda commented 9 years ago

@shawndowney I think that you might be posting to the wrong feature request? This is specifically about adding Ambilight, however render capture might be useable for HDMI input video capturing too, but that is probably off-topic for this feature request and should be maybe posted as a new issue?