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

Improvede detection and compatibility with Wear OS smartwatches #2613

Closed
1 task done
superbonaci opened this issue Sep 4, 2021 · 3 comments
Closed
1 task done

Improvede detection and compatibility with Wear OS smartwatches #2613

superbonaci opened this issue Sep 4, 2021 · 3 comments

Comments

@superbonaci
Copy link

scrcpy -s 192.168.1.44:5555
INFO: scrcpy 1.18 <https://github.com/Genymobile/scrcpy>
C:\ProgramData\chocolatey\lib\scrcpy\tools\scrcpy-server: 1 file pushed, 0 skipped. 24.6 MB/s (37330 bytes in 0.001s)
[server] INFO: Device: Mobvoi TicWatch Pro 3 GPS (Android 9)
[server] ERROR: Exception on thread Thread[main,5,main]
java.lang.IllegalArgumentException: Failed to initialize video/avc, error 0xfffffffe
        at android.media.MediaCodec.native_setup(Native Method)
        at android.media.MediaCodec.<init>(MediaCodec.java:1811)
        at android.media.MediaCodec.createEncoderByType(MediaCodec.java:1777)
        at com.genymobile.scrcpy.ScreenEncoder.createCodec(ScreenEncoder.java:180)
        at com.genymobile.scrcpy.ScreenEncoder.internalStreamScreen(ScreenEncoder.java:78)
        at com.genymobile.scrcpy.ScreenEncoder.streamScreen(ScreenEncoder.java:61)
        at com.genymobile.scrcpy.Server.scrcpy(Server.java:80)
        at com.genymobile.scrcpy.Server.main(Server.java:255)
        at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
        at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:340)
ERROR: Could not retrieve device information
@rom1v
Copy link
Collaborator

rom1v commented Sep 4, 2021

Most smartwatches don't have any hardware H.264 encoder, so it can't work.

@rom1v
Copy link
Collaborator

rom1v commented Sep 4, 2021

Duplicate of #82.

@rom1v rom1v closed this as completed Sep 4, 2021
@superbonaci
Copy link
Author

I guess you can capture screenshots every 0.2 seconds or something...

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