TheSpaghettiDetective / moonraker-obico

GNU Affero General Public License v3.0
147 stars 40 forks source link

"Not running on a pi" - any options for video? #48

Closed robotfishe closed 1 year ago

robotfishe commented 1 year ago

I'm running klipper on an Odroid C4 - partly due to the shortage of Raspberry Pis the last couple of years, but also because I've found the USB more stable.

Obico doesn't seem to like it. I can't get a video stream to load on my self-hosted Obico server, and when I look at the logs, I see "Not running on a Pi. Quiting video_pipeline." It seems that because I'm running a different SBC it's not even trying to load the video components. Is there any way around this behaviour? My webcam works fine and I can view the stream through Fluidd, I just can't get Obico to look for it.

kennethjiang commented 1 year ago

It's an expected and documented behavior that the video streaming is only supported on Raspberry Pis: https://obico.io/docs/user-guides/webcam-stream-stuck-at-1-10-fps/#2-is-octoprint-running-on-a-raspberry-pi

The failure detection will work correctly on any platform.

I'm closing this issue as it's an expected behavior.

raptordemon commented 1 year ago

this doesn't work on the BTT CB1 which is not a pi but is running debian, according to the docs it might work, is there a work around for this?

CB1:https://biqu.equipment/products/pi4b-adapter-v1-0

OS images that may support the webcam streaming All MainsailOS versions older than 0.6.0. All FluiddPi versions older than 1.17.0. 32-bit Raspberry Pi OS versions older than Buster. All Raspbian versions. All other Debian derivatives, such as DietPi.

raptordemon commented 1 year ago

my issue was solved by fixing the django setup. its working now with the CB1. i was self hosted.

albertsj1 commented 1 year ago

my issue was solved by fixing the django setup. its working now with the CB1. i was self hosted.

@raptordemon How did you fix your django setup to get streaming working on a non-pi install? I'm running on a hefty server running debian trying to get streaming working. Thanks

raptordemon commented 1 year ago

i don't recall exactly what i did wrong but there was an issue with the standard django setup, i ran thru the django setup steps and it fixed it