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

Sensitive interface black screen #4644

Open
2 tasks
CAI5201314 opened this issue Feb 3, 2024 · 1 comment
Open
2 tasks

Sensitive interface black screen #4644

CAI5201314 opened this issue Feb 3, 2024 · 1 comment

Comments

@CAI5201314
Copy link

CAI5201314 commented Feb 3, 2024

  • I have read the FAQ.
  • I have searched for existing questions.

ENVIRONMENT.

  • Operating system: [Windows].
  • scrcpy version: [2.3.1].
  • Installation method: [Windows version USB connection]
  • Device Model
  • Android Version [Xiaomi HyperOS Android14]

Error in description
2 main problems:

1.Occasionally the screen becomes blurred during connection operation.

  1. When operating the software interface which needs to input password or verification code, the corresponding software interface will become black screen state, but you can click on the operation, the cell phone side is displayed normally, just the computer side is black screen state, is it the HyperOS security policy?
@rom1v
Copy link
Collaborator

rom1v commented Feb 3, 2024

Occasionally the screen becomes blurred during connection operation.

These are compression artifacts (typically when there is a lot of movement).

This can be greatly reduced:

  • by switching the codec to h265 (scrcpy --video-codec=h265), and/or
  • by increasing the bit rate (scrcpy -b20M), and/or
  • by using another encoder (if the default one is bad).

When operating the software interface which needs to input password or verification code, the corresponding software interface will become black screen state

Because the app you're using set the "secure flag" (to request not to be captured), and since Android 12 the system refuses to capture such apps, even with some privileges. #2129

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