I don't know if it was installing Pihole on the same Pi or because I uninstalled fluidd (not using it anymore), but both my USB webcams quit working. I get a 400: Not Found! No file extension found when I try to load the stream link in the browser. SSH says webcamd starts w/o error. I'm using the default /webcam?action=stream for one and /webcam2?action=stream for the other in the mainsail config.
#Seems I killed the webcam except in the browser (resolved)
53 messages · Page 1 of 1 (latest)
It seems the webcamd.log shows an old set of camera options using the short version of the ID. I've put the long ID in the txt files but they appear to be ignored.
Got something working right in the browser using http://[IP]:8081/?action=stream and http://[IP]:8080/?action=stream but still isn't working in Mainsail
Seems I killed the webcam except in the browser
is it possible, that fluidd was on port 80 and mainsail is on a different port?
it was. I removed it also because PiHole uses port 80 for it's webUI
I've removed PiHole, but still missing how to get my cams back online in mainsail
maybe the nginx configs got hosed. I'll check those now that I've refreshed my memory on the install steps at the website
yeah. this is your issue. if you use only /webcam/?action=... it will use port 80 and the redirect will not exists. per default ustream is only available via localhost. so http://[IP]:8080/?action=stream should also not work. only if you enable it in your crowsnest settings. you should be also able to use:
http://http://[IP]:[port of mainsail]/webcam/?action=stream
and that was exactly it. the cams must have been running off the fluidd install this whole time. changed the port from 81 to 80 in nginx settings and the dashboard feeds work again.
Is there an advantage to using crowsnest or will webcam.txt be sufficient?
If you don't miss anything, webcamd should fit
I'm having the same issue. I can see the streams (PiCam2 and a cheap USB camera) via browser (http:[IP]:8080/webcam?action=stream and http:[IP]:8081/webcam2?action=stream) but can't see either in Fluidd or Mainsail.
I've been chasing this for a couple days now after rebuilding my setup from scratch. 32-bit Bullseye on a Pi 4B, multiple instance install via KIAUH. Installed crowsnest after getting the printers talking and initially could only see the streams from the Pi's desktop. Adding the --host flag using the PI's IP, I was able to see the streams across the LAN. I'm sure this is a simple config issue, but I'm just not seeing it.
Suggestions?
Have you Setup es the cams in Mainsail too
Your URLs are wrong...
Yes, as stated initially, I cannot see the streams in Mainsail or Fluidd.
Can you make us a picture what you setup in mainsail, as you can reach them in the browser it should also work in mainsail
But your url above are wrong you either use the port or /webcam, /webcam2
Typos fixed. The URLs as shown work in a browser and the same URLs do not work in Fluidd or Mainsail.
Than that is your issue use the port or the link
<your ip>/webcam is the same as <your ip>:8080
I have tried several iterations of the syntax with the same result. /webcam?action=stream does not work. 8080/webcam?action=stream does not work, etc.
My previous setup using mjpg-streamer used the format I showed above and worked in both Mainsail and Fluidd.
What is so hard about making a screenshot what you did setup in mainsail?
You can argue back and forth with me and do not get help or simple Profis what I ask for
Not "arguing". Would you like screenshots of all the iterations I've tried?
I need a single screenshot how it looks now, then from there we will see
That’s Fluidd never used that
Use /webcam2/stream and /webcam2/snapshots
No change.
Btw does <your ip>/webcam2 brings up a picture like
My config. I had to add the --host flag to be able to see the stream on devices on my LAN. Without it, I could only view from a browser on my Pi's Desktop.
<IP>/webcam2 displays 501 - Bad Gateway, <IP>:8081 does work.
I am not sure if dev/video1 is correct here
/dev/video0 is the PiCam 2
/dev/video1 is the Microsoft Life_Cam
Most cams use 2 video ports the crowsnedt config gives you the names of your cams it is better to use that
Also I see you set 2 really high resolutions are your sure your Wi-Fi be is high enough for that
Show me that complete log bad gateway means it did not start ustreamer
High resolution settings were to ensure the config was being read.
Seems I just fixed it. Had the streams running via <IP>:port. Right clicked on the stream, copied the URL and pasted it in the camera setup. Looks like it needed the "http://" part in the URL
Never had to do that before....
you have again wrong urls...
Ok open your moonraker.conf is 127.0.0.0 in the trusted clients
stream: /webcam/?action=stream
snapshot: /webcam/?action=snapshot
as long as you will use wrong urls... it will never work
[authorization]
trusted_clients:
10.0.0.0/8
127.0.0.0/8
169.254.0.0/16
172.16.0.0/12
192.168.0.0/16
FE80::/10
::1/128
and just enter /webcam2 is complete wrong...
and if you add the host ip adresse, the redirects are dead. remove --host=... to use /webcam, /webcam2...
if you have this option in it, you have to use the complete url