scrcpy: Unable to start scrcpy, WASAPI can't find requested audio endpoint: Element not found.
Environment
- OS: Windows 10
- scrcpy version: v2.0
- installation method: Windows release
- device model: Xiaomi M2004J19C
- Android version: 11
Describe the bug Unable to start scrcpy, it seem like the screen did pop up for half second then close.
On errors, please provide the output of the console (and adb logcat
if relevant).
logcat.txt
Please paste terminal output in a code block.
`scrcpy -Vdebug
scrcpy 2.0 <https://github.com/Genymobile/scrcpy>
DEBUG: ADB device found:
DEBUG: --> (usb) 642c687f0410 device M2004J19C
DEBUG: Device serial: 642c687f0410
DEBUG: Using server (portable): C:\Users\Admin\Desktop\scrcpy-win32-v2.0-18-gd7841664f\scrcpy-win32-v2.0-18-gd7841664f\scrcpy-server
C:\Users\Admin\Desktop\scrcpy-win32-v2.0-18-gd7841664f\scr...file pushed, 0 skipped. 109.9 MB/s (54255 bytes in 0.000s)
[server] INFO: Device: Xiaomi M2004J19C (Android 11)
[server] DEBUG: Using encoder: 'OMX.MTK.VIDEO.ENCODER.AVC'
[server] DEBUG: Using audio encoder: 'c2.android.opus.encoder'
DEBUG: Server connected
DEBUG: Starting controller thread
DEBUG: Starting receiver thread
INFO: Renderer: direct3d
DEBUG: Trilinear filtering disabled (not an OpenGL renderer)
DEBUG: Using icon (portable): C:\Users\Admin\Desktop\scrcpy-win32-v2.0-18-gd7841664f\scrcpy-win32-v2.0-18-gd7841664f\icon.png
DEBUG: Demuxer 'video': starting thread
DEBUG: Demuxer 'audio': starting thread
INFO: Initial texture: 1080x2336
ERROR: Could not open audio device: WASAPI can't find requested audio endpoint: Element not found.
ERROR: Demuxer error
DEBUG: quit...
DEBUG: Receiver stopped
DEBUG: Demuxer 'video': end of[server] DEBUG: Controller stopped
frames
WARN: Killing the server...
DEBUG: Server disconnected
DEBUG: Server terminated`
About this issue
- Original URL
- State: open
- Created a year ago
- Comments: 26
fix解决
我使用的是一加手机和win7系统,我解决了这个问题。如果你们遇到类似的问题,你可以试试我的方法。 我使用最新版本:scrcpy-win64-v2.2
I’m using a OnePlus phone and Windows 7, and I fixed the problem. If you have similar problems, you can try my method. I’m using the latest version :scrcpy-win64-v2.2
start cmd启动命令如下:
log日志:
D:\软件\scrcpy-win64-v2.2\scrcpy-win64-v2.2>scrcpy.exe --render-driver=software --no-audio --turn-screen-off scrcpy v2.2 https://github.com/Genymobile/scrcpy INFO: ADB device found: INFO: --> (usb) 3c6b7196 device PJA110 D:\软件\scrcpy-win64-v2.2\scrcpy-win…ped. 77.1 MB/s (64363 bytes in 0.001s) [server] INFO: Device: [OnePlus] OnePlus PJA110 (Android 13) INFO: Renderer: software INFO: Texture: 1240x2768 [server] INFO: Device screen turned off
Then read https://github.com/Genymobile/scrcpy/issues/3856#issuecomment-1482911664