raspberry-pi-camera / raspindi

Raspberry Pi Camera NDI Source application
MIT License
162 stars 38 forks source link

camera models applicable #46

Closed wspeth closed 2 years ago

wspeth commented 2 years ago

could you just drop a word whether this solution is meant for raspberry camera modules or USB connected webcams also and how to configure?

heathbarpunch commented 2 years ago

This is a library that either makes use of MMAL (if you are using legacy code) or libcamera if you are using the latest version. In both cases these libraries only work with the CSI port NOT with usb cameras.

There is a solid half dozen issue pulls asking this question, so I strongly recommend reviewing closed issues before asking questions like this as you'll get answers faster.

For what you want to do: DiCaffeine will do that, or you can compile FFMPEG to do so for non-distributable purposes.

Edit: Actually I just double checked that and libcamera does indeed see my C920, @rf152 does the switch to libcamera make usb integration more viable/possible?

rudolfbyker commented 2 years ago

There is a solid half dozen issue pulls asking this question

True. This is a sign that it probably needs a very prominent place in the README.md for this repo. It's literally the most frequently asked question on here.

rudolfbyker commented 2 years ago

See https://github.com/raspberry-pi-camera/raspindi/pull/47

rf152 commented 2 years ago

Edit: Actually I just double checked that and libcamera does indeed see my C920, @rf152 does the switch to libcamera make usb integration more viable/possible?

To be honest I'm not sure. I have no plans to include USB webcam support, but if libcamera will make it work, then there's no reason it couldn't be included. If it's something that you wish to work on, then feel free!