2 ms·
Sure! There's a USB "uvc" (USB Video Class device) gadget in Linux. https://docs.kernel.org/usb/gadget_uvc.html https://docs.kernel.org/usb/gadget_uvc.html The
by jauntywundrkind 2y ago
Sure! There's a USB "uvc" (USB Video Class device) gadget in Linux. https://docs.kernel.org/usb/gadget_uvc.html https://docs.kernel.org/usb/gadget_uvc.html
There is support in gstreamer. The example shows piping the standard test signal out as uvc gadget. https://gstreamer.freedesktop.org/documentation/uvcgadget/index.html?gi-language=c https://gstreamer.freedesktop.org/documentation/uvcgadget/in...
There's various write-ups out there for example using a RPi as a USB webcam, using this. These write-ups cover more of the details of - as an end user - setting up/configuring the gadget device. https://github.com/geerlingguy/pi-webcam?tab=readme-ov-file#raspberry-pi-webcam https://github.com/geerlingguy/pi-webcam?tab=readme-ov-file#...