sabaatworld / HyperionScreenCap

Screen capture program for Hyperion ambilight. Updated to support DirectX 11, multiple displays and multiple Hyperion servers.
MIT License
118 stars 18 forks source link

[Feature request] Combine multiple Monitors and send 1 (big screen) to hyperion #38

Closed hannesroth88 closed 3 years ago

hannesroth88 commented 4 years ago

Hi, in my setup i would like to have a single RaspberryPi and Ambilight around my 3 Monitors (Extended Displays). Therefore I thought about reading the 3 display ports merge them to 1 fictive big screen and then send it over Hyperion.

Do you think this is even possible? I just don't have a clue where to start, so it would be great if someone could give me starting point or directly tell me it's a bad idea :).

sabaatworld commented 4 years ago

Don't know why this didn't come up earlier. Seems like a good idea to be honest.

Off the top of my head, it seems like the issue could be combine screen captures from multiple screens continuously. That may use up too much CPU. I don't remember coming across an API that would allow me to capture all screens in one go (or maybe I missed something).

As an alternate, you may be able to run multiple copies of Hyperion on a single RPi. If by default, they don't allow you, then you can checkout the code and compile slightly different variants of Hyperion that can run together.

jdarmetzki commented 3 years ago

I actually have a triple screen setup, and my solution is running 3 instances of Hyperion on the RPi

sabaatworld commented 3 years ago

Can we mark this as resolved?

hannesroth88 commented 3 years ago

Didn't have time to elaborate more on this. Having two more rpi was what I wanted to avoid. But at least a solution how to do it.

jdarmetzki commented 3 years ago

Didn't have time to elaborate more on this. Having two more rpi was what I wanted to avoid. But at least a solution how to do it.

I got 3 instances running on a single RPI 3 - no need for multiple

Guyohms commented 2 years ago

With the Windows version of Hyperion, one can grab all monitors at once using QT

image

It would be great to utilize the same method for ScreenCap ! That way, the the Hyperion server can be run outside of the Windows machine and just use the ScreenCap which uses very few ressources compared to using the Windows Hyperion install.

sabaatworld commented 2 years ago

Are you suggesting that QT screen capture is much more efficient than the DirectX capture method?

Guyohms commented 2 years ago

No, but I guess that not having to run Hyperion on the windows machine could free some CPU usage.

I agree that DX seems more efficient, but it looks like it cannot be used to capture the whole layout as a virtual monitor. If it can, that would be an awesome upgrade!