barry-ran / QtScrcpy

Android real-time display control software
https://blog.csdn.net/rankun1/article/details/87970523
Apache License 2.0
20.36k stars 2.69k forks source link

连不上 #1015

Open yixuan1912 opened 3 months ago

yixuan1912 commented 3 months ago

最新版的QtScrcpy,usb和wifi都连不上,但是能扫描到设备 其他投屏软件能连上,scrcpy和极限投屏都可以练

AdbProcessImpl::out:List of devices attached H4K0220B25001510 device 192.168.8.112:5555 offline

start server... AdbProcessImpl::out:C:/Users/XUAN/Downloads/QtScrcpy-win-x64-v2.2.1/scrcpy-server: 1 file pushed, 0 skipped. 85.0 MB/s (69007 bytes in 0.001s)

AdbProcessImpl::out:[server] INFO: Device: [HUAWEI] HUAWEI NOH-AN00 (Android 12)

readInfo timeout

AdbProcessImpl::out:[server] DEBUG: Using video encoder: 'OMX.hisi.video.encoder.avc' [server] INFO: Retrying with -m1024... [server] INFO: Retrying... [server] INFO: Retrying with -m800... [server] INFO: Retrying... [server] DEBUG: Screen streaming stopped [server] DEBUG: Device message sender stopped [server] DEBUG: Controller stopped

AdbProcessImpl::error:[server] ERROR: Encoding error: java.lang.IllegalArgumentException: null [server] ERROR: Encoding error: java.lang.IllegalArgumentException: null [server] ERROR: Encoding error: java.lang.IllegalArgumentException: null [server] ERROR: Exception on thread Thread[video,5,main] java.lang.IllegalArgumentException at android.media.MediaCodec.native_configure(Native Method) at android.media.MediaCodec.configure(MediaCodec.java:2176) at android.media.MediaCodec.configure(MediaCodec.java:2092) at com.genymobile.scrcpy.SurfaceEncoder.streamScreen(SurfaceEncoder.java:69) 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:933)