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

Does not work #2972

Closed
DeadVice opened this issue Jan 26, 2022 · 1 comment
Closed

Does not work #2972

DeadVice opened this issue Jan 26, 2022 · 1 comment

Comments

@DeadVice
Copy link

scrcpy 1.21 https://github.com/Genymobile/scrcpy
C:\scrcpy\scrcpy-server: 1 file pushed, 0 skipped. 29.3 MB/s (40067 bytes in 0.001s)
[server] INFO: Device: HUAWEI JSN-L21 (Android 9)
INFO: Renderer: direct3d
INFO: Initial texture: 1080x2336
[server] ERROR: Exception on thread Thread[main,5,main]
android.media.MediaCodec$CodecException: Error 0xfffffc0eWARN: Device disconnected

    at android.media.MediaCodec.native_configure(Native Method)
    at android.media.MediaCodec.configure(MediaCodec.java:1967)
    at android.media.MediaCodec.configure(MediaCodec.java:1896)
    at com.genymobile.scrcpy.ScreenEncoder.configure(ScreenEncoder.java:233)
    at com.genymobile.scrcpy.ScreenEncoder.internalStreamScreen(ScreenEncoder.java:86)
    at com.genymobile.scrcpy.ScreenEncoder.streamScreen(ScreenEncoder.java:65)
    at com.genymobile.scrcpy.Server.scrcpy(Server.java:93)
    at com.genymobile.scrcpy.Server.main(Server.java:309)
    at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
    at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:371)

[server] ERROR: The hardware encoder is not able to encode at the given definition.
[server] ERROR: Try with a lower definition:
[server] ERROR: scrcpy -m 1024
Exit due to uncaughtException in main thread:

@rom1v
Copy link
Collaborator

rom1v commented Jan 26, 2022

See #2947.

Or:

[server] ERROR: Try with a lower definition:
[server] ERROR: scrcpy -m 1024

@rom1v rom1v closed this as completed Jan 26, 2022
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