Camera model
pi cam v2 - [Edit] I double checked this is the 5Mpixel one so it must be a version 1, I ordered a 2. What is the problem?
15Mbps for 640x480 What did you already try to solve it?
install uv4l Logs (/var/log/webcamd.log, syslog, dmesg, ... no logs, no support)
Additional information about your setup (OctoPrint version, OctoPi version, ...)
pi 4 OctoPrint : 1.4.0rc4
According to this a h264 stream at 1080p should only use 1.2Mbps. Another site has a calculator that shows 12Mbps for 1080p at 30fps. Not 100 not 150 so what is going on here? If Netflix can stream you a 1080p movie it can't possibly use 100mbps. Google h264 1080p bandwidth
OctoPrint's web interface embeds mjpg streams, not h264. Those are quite bandwidth hungry.
Why mjpg? Lowest common denominator, back when this stuff was initially implemented a Pi was simply not capable of transcoding a stream without slowing the print to a grinding halt, and switching to a video tag so far hasn't been done due to more pressing priorities.
Not to be a pessimist but you might end up spending a fair amount of time "upgrading" to a beefier video stream only to find that your Pi now is working too hard, negatively impacting your print quality.
Thanks PrintedWeezl this will be a nice adventure, now if I could only find a few seconds to work on my Pi while I am not printing!
I will update with my findings if there is anything worthwhile.
I tried uv4l and it didn't use h264, then I tried RaspiMJPEG and killed my octoprint sudo user, had to rebuild octoprint but I have a backup. When I get some time I am going to try ffmpeg. supposedly has hardware support if you compile it.
Yeah the hardware encoder helps but I can't say how much.
On a pi zero (different project) I get a smooth stream with the help of the encoder.
I didn't test it on faster pis.
Nor sure if you still searching for alternatives.
I was searching for a simple solution to live-stream an h264 stream to a website without WebSockets and complex setup and used the raspivid with the broadway player. Depending on the quality compensation you can run it smoothly with 1080p on a pi zero... If you want to check the performance you could simply try around and adjust the settings.
I'm not familiar with octoprint implementation but let me know if i can help.