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

Do you have any plans to support Android Wear OS? #2092

Closed
1 task
wangmoo opened this issue Feb 5, 2021 · 1 comment
Closed
1 task

Do you have any plans to support Android Wear OS? #2092

wangmoo opened this issue Feb 5, 2021 · 1 comment

Comments

@wangmoo
Copy link

wangmoo commented Feb 5, 2021

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Hi~
First of all, I would like to thank you for releasing a good program for free.
I want to request something.
It is the same as the title.
When I tried it, the log was as below.

2021-02-05 15:14:26.430 9256-9270/? E/ACodec: Unable to instantiate a encoder for type 'video/avc' with err 0xfffffffe.
2021-02-05 15:14:26.430 9256-9270/? E/ACodec: signalError(omxError 0xfffffffe, internalError -2)
2021-02-05 15:14:26.430 9256-9269/? E/MediaCodec: Codec reported err 0xfffffffe, actionCode 0, while in state 1
2021-02-05 15:14:26.435 9256-9256/? E/AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
java.lang.IllegalArgumentException: Failed to initialize video/avc, error 0xfffffffe
at android.media.MediaCodec.native_setup(Native Method)
at android.media.MediaCodec.(MediaCodec.java:1786)
at android.media.MediaCodec.createEncoderByType(MediaCodec.java:1752)
at com.genymobile.scrcpy.ScreenEncoder.createCodec(ScreenEncoder.java:154)
at com.genymobile.scrcpy.ScreenEncoder.internalStreamScreen(ScreenEncoder.java:72)
at com.genymobile.scrcpy.ScreenEncoder.streamScreen(ScreenEncoder.java:55)
at com.genymobile.scrcpy.Server.scrcpy(Server.java:76)
at com.genymobile.scrcpy.Server.main(Server.java:225)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:284)
2021-02-05 15:14:26.435 9256-9256/? E/scrcpy: 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.(MediaCodec.java:1786)
at android.media.MediaCodec.createEncoderByType(MediaCodec.java:1752)
at com.genymobile.scrcpy.ScreenEncoder.createCodec(ScreenEncoder.java:154)
at com.genymobile.scrcpy.ScreenEncoder.internalStreamScreen(ScreenEncoder.java:72)
at com.genymobile.scrcpy.ScreenEncoder.streamScreen(ScreenEncoder.java:55)
at com.genymobile.scrcpy.Server.scrcpy(Server.java:76)
at com.genymobile.scrcpy.Server.main(Server.java:225)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:284)

Is it possible?

P.S I'm sorry. I can't speak english very well.

@rom1v
Copy link
Collaborator

rom1v commented Feb 5, 2021

Your device does not have any H.264 encoder, so it can't work.

Duplicate of #82.

@rom1v rom1v closed this as completed Feb 5, 2021
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