Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
112.32k stars 10.74k forks source link

[server] ERROR: Encoding error: java.lang.IllegalArgumentException: On OPPO a98 5G #5287

Open Ale-Candu23 opened 2 months ago

Ale-Candu23 commented 2 months ago

Please read the prerequisites to run scrcpy.

Also read the FAQ and check if your issue already exists.

Environment

scrcpy 2.6.1 https://github.com/Genymobile/scrcpy INFO: ADB device found: INFO: --> (usb) 388bac61 device CPH2529 C:\Users\alepr\Downloads\scrcpy-server: 1 file pushed, 0 skipped. 72.6 MB/s (71112 bytes in 0.001s) [server] INFO: Device: [OPPO] OPPO CPH2529 (Android 14) INFO: Renderer: direct3d INFO: Texture: 1080x2400 [server] INFO: Retrying with -m1920... [server] INFO: Retrying... [server] ERROR: Encoding error: java.lang.IllegalArgumentException: INFO: Texture: 864x1920

Describe the bug

I can share the phone screen on the PC but it doesn't send me the audio. How can I resolve it?

[server] ERROR: Encoding error: java.lang.IllegalArgumentException:

rom1v commented 2 months ago

Is it the full stack trace? There are missing lines I guess.

What is the result of scrcpy --list-encoders?