Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
105.27k stars 10.22k forks source link

Android TV Black Video #4454

Open itsrn opened 7 months ago

itsrn commented 7 months ago

Environment

Describe the bug I have an android tv streamer which I got from my tv provider that includes an already installed app of this tv provider (but I can still use the streamer as a normal android tv streamer). When I'm trying to connect to the streamer remotely through the IP address of the network (using the android "developer mode") it's working just fine (without the audio since it's not Android TV 11) and when I try to watch a channel from the app in the tv, the app itself work just fine (I can navigate between sections of the app and everything loads fine) but the player screen is black and I can not see the channel or episode I'm trying to watch. Every other element of the player (such as the current minute of the episode I'm watching and the time remaining) are ok and correct.

How can I fix this issue? Is there any solution?

itsrn commented 7 months ago

I've also tried to record the screen with scrcpy --record=file.mp4 but it still recorded a black screen. When I tried to play another video I saw that the interface of the app (besides the video player) shows as normal. This is probably something with the player or the app?

Tinuszka commented 7 months ago

Something similar here, using this app. All good when navigating etc., however the video stream is blacked out. When I have connection problem and lagging, the animation (a spinning circle) is visible on scrcpy, audio is fine as well, only the streamed video is missing.

Environment:

krishtoautomate commented 2 weeks ago

Navigation is good. video streaming is bad

itsrn commented 1 week ago

It's probably something related to the DRM protection of the content. Maybe Android is thinking it's recording the screen, although it's just mirroring it?