dev47apps / droidcam-linux-client

GNU/Linux/nix client for DroidCam
http://www.dev47apps.com
GNU General Public License v2.0
1.07k stars 173 forks source link

Pixel format error #267

Closed parantes closed 9 months ago

parantes commented 9 months ago

I'm running droidcam version 1.9.0-1.4 on OpenSUSE Tumbleweed, installed from the distro repositories. The app was working fine until a couple of days ago. Now, when I try to start this application I get the error message below:

Fatal: droidcam video device reported pixel format 34524742 (BGR4), expected 32315559 (YU12/I420) Try 'v4l2loopback-ctl set-caps "video/x-raw, format=I420, width=640, height=480" /dev/video

Following the suggestion on the error message I tried the following, but the error message still persists and the app won't start.

v4l2loopback-ctl set-caps /dev/video "UYVY:640x480@30/1"

Would appreciate any hints on how to solve the issue.

K0-RR commented 9 months ago

v4l2loopback-ctl set-caps /dev/video "YU12:640x480"

https://github.com/dev47apps/droidcam/issues/248#issuecomment-1587563387

aramg commented 9 months ago

The latest v2.1.x available here on Github should fix that. This will be made available generally in the next short while.