mainsail-crew / crowsnest

Webcam Service for multiple Cams
GNU General Public License v3.0
301 stars 71 forks source link

Logitech C920/C930e x264 stream howto? #262

Open m-anish opened 2 months ago

m-anish commented 2 months ago

Is your feature request related to a problem? Please describe

It's not so much of a problem but asking on how to optimize a crowsnest setup with C920/930e running on rpi with klipper installed via kiauh.

C920/930e have an option which support providing x264 compressed stream from the camera. This would save additional processing overhead on rpi5.

Currently it seems crowsnest installer skips camera-streamer install on a rpi5, and ustreamer only does MJPEG severely limiting framerate

Describe the solution you'd like

Some advice on how to optimize setting for C920/930e with klipper/crowsnest on rpi-5

Describe alternatives you've considered

No response

Additional information

No response

mryel00 commented 2 months ago

optimize setting for C920/930e with klipper/crowsnest

Klipper has nothing to do with your cam.

Currently it seems crowsnest installer skips camera-streamer install on a rpi5

Even if we would not skip it, it doesn't support x264 encoding from a cam. So this FR would suit better in the camera-streamer repo.

Some advice on how to optimize setting for C920/930e with klipper/crowsnest on rpi-5

You say you want advice, but call it a feature request. So what is the feature request? That Crowsnest provides an option to use x264 of a cam? Crowsnest doesn't support any encoding. It only supports streamer, that support specific encoding of cameras. So if you want something like that, you would have to suggest a streamer that supports it and is working in Mainsail/Fluidd. The answer about advice would be: Go to our Discord or GitHub discussions for camera settings advice, if you cannot tweak settings on your own. The GitHub issues are there for tracking FR and bugs with Crowsnest.

Overall I don't see a benefit atm to support another streamer just for x264 encoding, as I don't think there is a high user base for it currently. Also we would need some sponsoring, that we can get a cam for a few crew members, to test such a streamer, before adding it.

I let this open for now, as I'm open for discussion about a new streamer, but there won't be something coming with Crowsnest in the near future.