mikedmor / OctoPrint_MultiCam

Extends the Control tab of OctoPrint, allowing the ability to switch between multiple webcam feeds.
45 stars 19 forks source link

OctoPrint MultiCam

Extents the Control tab to include a webcam section with buttons that you can configure in the settings to switch between multiple webcam feeds.

Future updates will include the more options to show different types of streams, as well as the abilitly to show more than one stream at a time.

Setup

Install via the bundled Plugin Manager or manually using this URL:

https://github.com/mikedmor/OctoPrint_MultiCam/archive/master.zip

It is recommended to setup a second RPi (potentially with MotionEyeOS) to setup webcams from. Attaching more than one webcam to your octoprint device could result in high proccess use causing issues with your prints. You may also have to invest in a usb hub to power your webcams as RPi's tend to have low voltage issues when they are plugged in directly to the RPi. This Link has a good list of USB hubs that are support by Raspberry.

Known Incompatible Plugins

As new plugins are discovered that causes issues with MultiCam, they will be listed below. Please disable, or uninstall these plugins or you may experience some issues. Thank you

Screenshots

Control Preview

Setting Preview

Developers note

DEPRECIATED: Other plugin developers could read the camera profiles with the OctoPrint-Helper functionality like this:

helpers = self._plugin_manager.get_helpers("multicam")
if helpers and "get_webcam_profiles" in helpers:
    self.camProfiles = helpers["get_webcam_profiles"]()

But keep in mind that you will receive a copy of the current camera profiles!

NOTE: These helper functions have been removed in version 0.4.0, instead it is now recommended to rely on the webcams plugin in Octoprint

Support my work

Programming is not only my job, but also something I enjoy doing in my spare time. If you enjoy my work, or received support from me, please consider dropping a donation to my paypal, alternative i also accept Cryptocurrency!

paypal

UnstoppableDomain: mikedmor.crypto

BTC: bc1q567uzwg03he35m58tljzr30cy6mg9z52d899t4

ETH: 0xf3Af4e5889ac3D5f605FC42C90476996051De2Fe

LTC: LgWgxnwLbmi7nuvn5Lt4g7KKZLpPHjxdZL