Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[server] WARN: Camera capture failed: frame 795 #5497

Open
toto6976 opened this issue Nov 18, 2024 · 1 comment
Open

[server] WARN: Camera capture failed: frame 795 #5497

toto6976 opened this issue Nov 18, 2024 · 1 comment

Comments

@toto6976
Copy link

Hi,
When I enter this command,

scrcpy --video-source=camera --camera-id=1 --no-audio --tcpip=192.168.1.14:5555
tcpip=192.168.1.14:5555
scrcpy 2.7 <https://github.com/Genymobile/scrcpy>
INFO: Camera video source: control disabled
INFO: Connecting to 192.168.1.14:5555...
INFO: Connected to 192.168.1.14:5555
/usr/local/share/scrcpy/scrcpy-server: 1 file pushed. 0.2 MB/s (71200 bytes in 0.414s)
[server] INFO: Device: [LGE] lge LG-H870 (Android 14)
[server] INFO: Using camera '1'
INFO: Renderer: opengl
INFO: OpenGL version: 2.1 Mesa 23.2.1-1ubuntu3.1~22.04.2
WARN: Trilinear filtering disabled (OpenGL 3.0+ or ES 2.0+ required)
INFO: Texture: 2560x1920

after a few seconds, I get this message

[server] WARN: Camera capture failed: frame 795
[server] WARN: Camera capture failed: frame 843
[server] WARN: Camera capture failed: frame 844
[server] WARN: Camera capture failed: frame 845
[server] WARN: Camera capture failed: frame 885
[server] WARN: Camera capture failed: frame 904
[server] WARN: Camera capture failed: frame 918
[server] WARN: Camera capture failed: frame 934
[server] WARN: Camera capture failed: frame 935
[server] WARN: Camera capture failed: frame 936
[server] WARN: Camera capture failed: frame 959
[server] WARN: Camera capture failed: frame 960
[server] WARN: Camera capture failed: frame 971
[server] WARN: Camera capture failed: frame 981
[server] WARN: Camera capture failed: frame 982
[server] WARN: Camera capture failed: frame 994
[server] WARN: Camera capture failed: frame 995

I don't understand what it is and why it appears now when before I didn't have it

@psa-jforestier
Copy link

Hello.
Did you enable Adaptive Brightness ? It uses camera to detect ambiant brightness, and this internal feature have higher priority than ScrCpy. I had the same issue since I enable it (after 3 or 5 second, ScrCpy crash with same error). When disabled, camera worked as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants