-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
MediaCodec$CodecException: Error 0xfffffff4 #833
Comments
Does it work better with a lower definition:
? |
Nope !
|
Are there any errors in |
Please find the output on adb logcat when i attempt to launch scrcpy ...
|
(this is the same error code as #73) |
Also #545 |
While running it over a number of times, sometimes it works, sometimes it comes up with a whole range of errors many of which include the one above. |
I have Lenovo Yoga Smart Tab and am getting the same error. It runs on Android 9 and I am debugging via USB cable. I have Ubuntu 18.04. When using just
but when doing Here is the log:
Looks like it tries to retrieve some settings but is denied access to them. Maybe some developer debug settings needs to be on hmm. |
Does it work with another encoder? |
this worked my vivo y51, thank you so much. i was getting the following error
|
@tobecci ohh it worked thanks |
Could you test #2947 please? |
I have a Xiaomi Redmi Note 11 and the same problem happens to me. I tried the resolution using [server] INFO: Device: Xiaomi 2201117TL (Android 12)
INFO: Renderer: direct3d
INFO: Initial texture: 360x800
WARN: Device disconnected
[server] ERROR: Exception on thread Thread[main,5,main]
java.lang.IllegalStateException
at android.media.MediaCodec.native_dequeueOutputBuffer(Native Method)
at android.media.MediaCodec.dequeueOutputBuffer(MediaCodec.java:3535)
at com.genymobile.scrcpy.ScreenEncoder.encode(ScreenEncoder.java:114)
at com.genymobile.scrcpy.ScreenEncoder.internalStreamScreen(ScreenEncoder.java:95)
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:363) |
I have the same Model of Redmi Note 11, When I run the scrcpy with the last update of MIUI i has the same problem, but, when i did a downgrade to MIUI 13.0.12 the exception |
worked perfectly for me on motorola moto g32 |
hi guys i am new to scrcpy 2.1.1 I have to remake all these processes again n again after once device disconnected from Wi-Fi and reconnected again in same network. can somebody have a proper solution for this? Thanks in advance. |
What fixed this error for me was to set USB to "File Transfer" mode on Android 12. |
Hi,
I am facing the following error on a custom ROM ... and i am connected over wifi adb
The text was updated successfully, but these errors were encountered: