Remote Control of Raspi 4B / Emteria Android 13.5 with SCRCPY
Has someone experiences how to run SCRCPY with Emteria Android 13.5?
I have configured the Android OS for using of ADB,
the decive is recogniced by adb
List of devices attached
192.168.195.50:5555 device product:CPH1907 model:CPH1907 device:OP4B83L1 transport_id:15
192.168.195.68:5555 device product:rpi4 model:Raspberry_Pi_4 device:rpi4 transport_id:16
and successfully connected
already connected to 192.168.195.68:5555
but when i start scrcpy.exe I got the following error messages:
(SCRCPY works well with my smartphone)
C:\Users\Admin>C:\Install\scrcpy\scrcpy-win64-v2.3.1\scrcpy-win64-v2.3.1\scrcpy.exe -s 192.168.195.68:5555
scrcpy 2.3.1 https://github.com/Genymobile/scrcpy
INFO: ADB device found:
INFO: (tcpip) 192.168.195.50:5555 device CPH1907
INFO: --> (tcpip) 192.168.195.68:5555 device Raspberry_Pi_4
C:\Install\scrcpy\scrcpy-win64-v2.3.1\scrcpy-win64-v2.3.1... file pushed, 0 skipped. 52.0 MB/s (66007 bytes in 0.001s)
[server] INFO: Device: [brcm] emteria Raspberry Pi 4 (Android 13)
INFO: Renderer: direct3d
INFO: Texture: 1920x1080
[server] ERROR: Encoding error: java.lang.IllegalStateException: null
[server] INFO: Retrying with -m1600...
[server] INFO: Retrying...
[server] ERROR: Encoding error: java.lang.IllegalStateException: null
[server] INFO: Retrying with -m1280...
[server] INFO: Retrying...
[server] ERROR: Encoding error: java.lang.IllegalStateException: null
[server] INFO: Retrying with -m1024...
[server] INFO: Retrying...
[server] ERROR: Encoding error: java.lang.IllegalStateException: null
[server] INFO: Retrying with -m800...
[server] INFO: Retrying...
[server] ERROR: Encoding error: java.lang.IllegalStateException: null
WARN: De[server] ERROR: Exception on thread Thread[video,5,main]
java.lang.IllegalStateException
at android.media.MediaCodec.native_dequeueOutputBuffer(Native Method)
at android.media.MediaCodec.dequeueOutputBuffer(MediaCodec.java:3572)
v at com.genymobile.scrcpy.SurfaceEncoder.encode(SurfaceEncoder.java:157)ice
d at com.genymobile.scrcpy.SurfaceEncoder.streamScreen(SurfaceEncoder.java:76)
i at com.genymobile.scrcpy.SurfaceEncoder.lambda$start$0$com-genymobile-scrcpy-SurfaceEncoder(SurfaceEncoder.java:253)
at com.genymobile.scrcpy.SurfaceEncoder$$ExternalSyntheticLambda0.run(Unknown Source:4)
at java.lang.Thread.run(Thread.java:1012)
sconnected
any help is appreciated
Comments
Hi @Lothar
From the log it seems that scrcpy cannot find a suitable resolution, but I cannot tell how that's determined or how to fix it.
Emteria comes with a VNC server preinstalled, maybe it sufficient for your needs? - https://emteria.com/kb/vnc-client-viewer