Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content that is Cast to TV is not captured #79

Open
botagas opened this issue Jan 3, 2024 · 2 comments
Open

Content that is Cast to TV is not captured #79

botagas opened this issue Jan 3, 2024 · 2 comments

Comments

@botagas
Copy link

botagas commented Jan 3, 2024

Hello,

I have been trying to find someone who has faced anything similar, searched all over to find at least a mention, but sadly - nothing.
What I am currently trying to overcome is the fact that streaming from phone/PC via AirPlay on my LG C2 doesn't work with capturing.

My current setup is a Hyperion instance running on Debian 11 in my server.
The TV is rooted, has PicCap installed and successfully captures content when watching YouTube, watching movies / series via Jellyfin or watching content on Kodi or Browser.
I can also use a macbook to connect to the TV as a separate display via AirPlay. That works - the lights react to what happens on the screen. Same goes for my Windows PC.

When I checked the Live Video from the capture, content that is streamed via AirPlay is not visible - the capture sees a black screen. The player UI itself is visible, but the video content is black. That happens with a simple YouTube video stream from phone/computer. It works fine when I just use the YouTube app instead of streaming it from an external device via AirPlay.

Am I missing something or misunderstanding something? Is this a limitation of what the TV is able to capture?

TL;DR:
Streamed content via AirPlay appears a a black video in the capture.

@Dammouz
Copy link

Dammouz commented Jan 8, 2024

Hello,
So you confirm that capture sample in Hyperion (ILed Instances => Led Ouput => Led Layout tab => Live Video) shows also black sreen. And when the video is inside an app window, and you move this window, is it only the content that is black ?
If so, it is due to the DRM. AirPlay, like Chrome & Firefox, blocks some content to be captured. For example, on Windows, It is black for Netflix & Disnay+ when viewing it through web browser.
This is not related to Hyperion nor PicCap. But it is to "protect" the media against copying.

@botagas
Copy link
Author

botagas commented Mar 12, 2024

Hello, So you confirm that capture sample in Hyperion (ILed Instances => Led Ouput => Led Layout tab => Live Video) shows also black sreen. And when the video is inside an app window, and you move this window, is it only the content that is black ? If so, it is due to the DRM. AirPlay, like Chrome & Firefox, blocks some content to be captured. For example, on Windows, It is black for Netflix & Disnay+ when viewing it through web browser. This is not related to Hyperion nor PicCap. But it is to "protect" the media against copying.

Sorry for the insanely late reply as I have cast aside this due to limited time.
As it is currently, ANY content that's cast over AirPlay is displayed as black in capture sample (Live Video). However, if you use Screen Mirroring (Mac to TV), the video feed is fine.

Even streaming a YouTube video from iPhone/Macbook outputs a black live video. However, if I used Screen Mirroring instead, it doesn't matter if the content is DRM-protected or not, I still get a perfectly fine Live Video feed. However, it isn't very convenient that I have to use Screen Mirroring any time I want to use the ambient lightning for content that I want to stream to the TV.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants