Curve/rohrkabel

[Feature Request] V4L support

Closed this issue · 3 comments

It would be nice to be able to capture V4L devices like WebCams and capture cards. The way this works on Pipewire seems similar to how audio works. One example here. I'd like to be able to list v4l devices (name and uuid) and be able to capture video from a v4l device specified by uuid (and perhaps select framerate and resolution mode if that is supported)

Curve commented

Capturing video goes a little beyond what I wanted to cover with this library.
However enumerating devices and wrapping their events shouldn't be too hard - I can add that in the future.

Rohrkabel also exposes the underlying pipewire objects, so you could use then use the normal pipewire-api for the actual video capture

Curve commented

I added the possibility to bind devices easily, I don't plan to implement video-capture.

I'll mark this as closed, if you still have any suggestions or wishes feel free to reopen

Curve commented

I added the possibility to bind devices easily, I don't plan to implement video-capture.

I'll mark this as closed, if you still have any suggestions or wishes feel free to reopen

To expand on this, it is now also possible to play with the params of the object, so you can for example mute microphones.