Genymobile / Genymobile/scrcpy

MediaCodec$CodecException: Error 0xfffffff4

Open
#833 18 comments 1 reaction 0 assignees View on GitHub
codec
Dominant language
C
Stars
150k
Forks
13.7k
Avg merge
4d 13h
Merged PRs (30d)
2

Description

Hi,

I am facing the following error on a custom ROM ... and i am connected over wifi adb

```
$ scrcpy
INFO: scrcpy 1.10
/usr/local/share/scrcpy/scrcpy-server.jar: 1 file pushed. 0.1 MB/s (22546 bytes in 0.146s)
adb: error: more than one device/emulator
ERROR: "adb reverse" returned with value 1
WARN: 'adb reverse' failed, fallback to 'adb forward'
27183
INFO: Initial texture: 1536x2048
[server] ERROR: Exception on thread Thread[main,5,main]
android.media.MediaCodec$CodecException: Error 0xfffffff4
at android.media.MediaCodec.native_configure(Native Method)

```

Contributor guide

No contributing guide indexed for this repository

Research direction

The report names no source files or tests; start by reproducing scrcpy 1.10 with the custom ROM and Wi‑Fi ADB setup shown in the log, including the multiple-device warning. Trace the MediaCodec configuration failure after the adb reverse/forward fallback; done should identify a reproducible cause and a confirmed fix or documented limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.