SDL icon indicating copy to clipboard operation
SDL copied to clipboard

Camera: pipewire-camera back-end detects no camera

Open 1bsyl opened this issue 1 year ago • 2 comments

on linux ubuntu-2404 + laptop, pipewire-camera backend gets initialized but see no camera. v4l2 actually sees 1 camera.

1bsyl avatar May 13 '24 07:05 1bsyl

On Fedora 39, it looks like pipewire uses v4l2 behind the scenes:

$ SDL_CAMERA_DRIVER=v4l2 test/testcamera --trackmem
INFO:   - Camera #0:  HD WebCam: HD WebCam
$ SDL_CAMERA_DRIVER=pipewire test/testcamera --trackmem
INFO:   - Camera #0:  HD WebCam (V4L2)

The camera device name is a bit counter-intuitive here.

madebr avatar May 13 '24 14:05 madebr

with pipe wire, I got

INFO: Saw 0 camera devices.
INFO: No cameras available?

not sure what to configure to get it working ...

1bsyl avatar May 13 '24 16:05 1bsyl