You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
[server] ERROR: Exception on thread Thread[audio-encoder,5,main]
On errors, please provide the output of the console (and adb logcat if relevant).
D:\programmer\scrcpy-win64\2.1>scrcpy --tcpip=192.168.1.26:5555 --window-title nVidia_Shield -m1280 --max-fps 60 --kill-adb-on-close
scrcpy 2.1 <https://github.com/Genymobile/scrcpy>
* daemon not running; starting now at tcp:5037
* daemon started successfully
INFO: Connecting to 192.168.1.26:5555...
INFO: Connected to 192.168.1.26:5555
D:\programmer\scrcpy-win64\2.1\scrcpy-server: 1 file pushed, 0 skipped. 245.9 MB/s (56955 bytes in 0.000s)
[server] INFO: Device: [NVIDIA] NVIDIA SHIELD Android TV (Android 11)
[server] ERROR: Could not create default audio encoder for opus
List of audio encoders:
--audio-codec=aac --audio-encoder='OMX.google.aac.encoder'
[server] ERROR: Exception on thread Thread[audio-encoder,5,main]
java.lang.IllegalArgumentException: Failed to initialize audio/opus, error 0xfffffffe
at android.media.MediaCodec.native_setup(Native Method)
at android.media.MediaCodec.<init>(MediaCodec.java:2117)
at android.media.MediaCodec.createEncoderByType(MediaCodec.java:2042)
at com.genymobile.scrcpy.AudioEncoder.createMediaCodec(AudioEncoder.java:292)
at com.genymobile.scrcpy.AudioEncoder.encode(AudioEncoder.java:184)
at com.genymobile.scrcpy.AudioEncoder.lambda$start$0$com-genymobile-scrcpy-AudioEncoder(AudioEncoder.java:124)
at com.genymobile.scrcpy.AudioEncoder$$ExternalSyntheticLambda0.run(Unknown Source:4)
at java.lang.Thread.run(Thread.java:923)
INFO: Renderer: direct3d
WARN: Demuxer 'audio': stream explicitly disabled by the device
INFO: Texture: 1280x720
The text was updated successfully, but these errors were encountered:
Environment
Describe the bug
[server] ERROR: Exception on thread Thread[audio-encoder,5,main]
On errors, please provide the output of the console (and
adb logcat
if relevant).The text was updated successfully, but these errors were encountered: