After months of only showing one camera, today my Moonraker is showing the second camera instead
So I have 2 webcams on my rig. Only ever was able to get one to display at a time as the second one would never show up. For months, I just lef the second one one there, unplugged. Last week, I accidentaly plugged the second webcam back in following some changes. Today, when I booted up the OS, I see that both cameras are now showing red lights indicating they are both powered on, and I am seeing the image form camera 2 instead of the habitual camera 1.
What do I need to do to enable the other camera as a second view? I noticed that V2 of the RatOS now has Crowsnest running as default.
22 Replies
when you set up your cams.... one will be webcam/xxxx the other webcam2/xxx whicjh port 8080 0 8081 2 8082 3 and 8083 is 4
play wit hthe CAM # as well as which port Example...i'm on 8080 and 8082 my web interavfce look like
and
Thanks for answering. I don't think I quite understood though. This is my crowsnest cfg file:
I tried going to http://vcore3.local/webcam/?action=stream and it works. I see the current webcam stream.
As soon as I try going to http://vcore3.local:8080/webcam/?action=stream, it fails.
You have the same device for both cameras there
I tried identifying the second one using ls:
Whatever i put in on the second one doesn't seem to make a difference.
unplug one and see what is different when you run that command. That will tell you which cam is which
I'll give it a go.
Thanks guys. In the end it ended up being the ports. I didn't seem to needs them:
As soon as I removed them and tried the crowsnest cfg file again, it started to work.
but now you're on 8080 and dev/video0 and 8081 and dev/video2
Yes. However in the RatOS interface or Moonraker interface, the url has no port:
If I try to place the ports back in there, the whole thing fails on me again.
At least now it is finally working.
not a problem...the diff here now is you have /webcam/ and /webcam2/
Yeah. Right now I am happy as a clam 🙂
Excellent! Be sure to pay it forward. We all stand on the shoulders of Giants, so giving back is the only right thing to do
I'm a poor guide to anyone judging by the dificulties I have felt. But I am always up to share anything I may have learned.
We each have unique talents, I'm sure you'll think of something