Hallo,
ich habe eine webcam basierend auf einer Pixart cif single chip: Bus 001 Device 007: ID 093a:2468 Pixart Imaging, Inc. SoC PC-Camera diese wird auch von Ubuntu erkannt und ein wird Treiber geladen und ein /dev/video0 angelegt. Wenn ich jedoch meldet cheese "keine Kamera" gefunden. Wenn ich Cheese jedoch mit: LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so cheese aufrufe, wird das Bild der Kamera angezeigt. Wenn ich das entsprechend mit einem Browser(Vivaldi) mache ist es ähnlich. ohne LD_Preload wird die Kamera nicht erkannt, mit LD_Preload ist die Kamera als nicht verfügbar erkannt. gleiches Spiel bei Skype, fswebcam, ... v4l2-ctl -V liefert das:
1 2 3 4 5 6 7 8 9 10 11 | Format Video Capture: Width/Height : 352/288 Pixel Format : 'P207' (GSPCA PAC207) Field : None Bytes per Line : 352 Size Image : 101952 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags |
Ich habe mir mal eine UVC Kamera dazu von einem anderen PC geliehen. Damit funktioniert es ohne diese Schwierigkeiten. hier liefert v4l2-ctl -V
1 2 3 4 5 6 7 8 9 10 11 | Format Video Capture: Width/Height : 1920/1080 Pixel Format : 'MJPG' (Motion-JPEG) Field : None Bytes per Line : 0 Size Image : 4147789 Colorspace : Default Transfer Function : Default (maps to Rec. 709) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Full Range) Flags : |
Gibt es eine Möglichkeit den Treiber oder v4l2 zu konfigurieren? z.B. mit einer udev-rules?