OctoPod icon indicating copy to clipboard operation
OctoPod copied to clipboard

Multicam not supported

Open Tezzatron81 opened this issue 1 year ago • 8 comments

Multicam seems not to be supported for the newest version of octoprint. It used to show both my cams but after an upgrade it no longer does. Hopefully an update is coming soon

Tezzatron81 avatar Jul 26 '23 11:07 Tezzatron81

I believe this is an issue with the new camera stack. I have an instance without the new camera stack and both cams are available whereas with the new stack only one cam is available.

jim-roberts avatar Sep 08 '23 03:09 jim-roberts

I believe this is correct. It would be nice to have this fixed. But im not holding my breath, and another app is gonna get the same results i fear.

Tezzatron81 avatar Sep 08 '23 04:09 Tezzatron81

Hey guys,

I've been running multiple tests with the new Octopi's camera stack and what I learned is that streaming in OctoPod will work depending on the camera you use and how the stack was configured. Certain hardware+configurations do not work but same hardware with another configuration does work.

Would you mind sharing your camera & configuration to see if that looks like any of my tests?

Thanks, Gaston

gdombiak avatar Sep 08 '23 15:09 gdombiak

@gdombiak I have a hardware config that doesn't work. I'm running octoprint 1.9.2 on a Raspberry Pi 3. I'm using the RPi Cam version 1 as my main camera and a Microsoft LifeCam USB webcam as my second camera. Both cams work fine in the WebUI. When I added my octoprint server to OctoPod, I noticed that it displayed the Raspi Cam for a second or two before switching to the USB webcam and from that point on, I'm unable to switch between the cameras. What config info are you looking for?

CaptainRedHat avatar Sep 16 '23 05:09 CaptainRedHat

Same here, I have the new camera stack serving two different cameras. Both are MJPEG strems on different ports and displaying fine with Safari when going on the direct link. The octopi web interface is also working in safari and displaying both streams with the help of the multicam plugin very smooth. Unfortunately the Octopod app is only showing the latest configured stream in multicam.

Fix: Adding a third camera will show two cameras in the octopod app, so it seems like there is something wrong with the indexing of the streams

Devirex avatar Sep 29 '23 18:09 Devirex

@Devirex did u actually set up a 3rd camera to use or just as a dummy so to speak?

Tezzatron81 avatar Oct 16 '23 01:10 Tezzatron81

Ok so it seems the app doesn't pick up the default cam, so like @Devirex said, just add another webcam in the multicam pluging with the default camera address. Not an actual physical camera.

Tezzatron81 avatar Oct 17 '23 08:10 Tezzatron81

"Adding a third camera" in Multicam " will show two cameras in the octopod app, so it seems like there is something wrong with the indexing of the streams"

I can confirm this gets around the issue. I renamed the 1st instance , which you can't delete, to "Don't Work" :) and cleared the URL fields. Then added another instance (3rd) with the same URL content as the 1st previously contained and Octopod was then able to see both cameras.

Is this considered a Multicam issue?

jim-roberts avatar Apr 23 '24 22:04 jim-roberts