Problem with webcam connected to raspberry pi 4

Hi I have webcam logitech c270 connected to raspberry pi 4 camera is added from camera menu in mainsail but the camera window is black
13 Replies
blacksmithforlife
Did you also edit your webcam.txt in your config folder with your camera info and restart webcamd from the web interface?
distinguished-silver
distinguished-silver2y ago
I am with ratos alpha 4 and can’t find webcam.txt ( I didn’t change it)
blacksmithforlife
Ok, you probably need to create it then. Here is what mine looks like https://github.com/jscancella/myKlipperFiles/blob/main/vcore3-webcam.txt
GitHub
myKlipperFiles/vcore3-webcam.txt at main · jscancella/myKlipperFiles
Contribute to jscancella/myKlipperFiles development by creating an account on GitHub.
foreign-sapphire
foreign-sapphire2y ago
Just to note, if you are on the latest RatOS then it uses crowsnest.conf
deep-jade
deep-jade2y ago
[cam 1] mode: mjpg # mjpg/rtsp port: 8080 # Port device: /dev/video2 # See Log for available ... resolution: 640x480 # widthxheight format max_fps: 15 # If Hardware Supports this it will be forced, ohterwise ignored/coerced. #custom_flags: # You can run the Stream Services with custom flags. #v4l2ctl: # Add v4l2-ctl parameters to setup your camera, see Log what your cam is capable of. [cam 2] mode: mjpg # mjpg/rtsp port: 8081 # Port device: /dev/video0 # See Log for available ... resolution: 640x480 # widthxheight format max_fps: 30 # If Hardware Supports this it will be forced, ohterwise ignored/coerced. this is how I have 2 cameras connected and working
deep-jade
deep-jade2y ago
No description
No description
optimistic-gold
optimistic-gold2y ago
I'm using RatOS 2.0. Can you please explain what i need to have in the crowsnest.conf and where i need to create the file please
miklschmidt
miklschmidt2y ago
See Maverik's comment above. crowsnest.conf goes next to your printer.cfg (same directory).
miklschmidt
miklschmidt2y ago
GitHub
GitHub - mainsail-crew/crowsnest: This Repo contains an Webcam Serv...
This Repo contains an Webcam Service for multiple Cams and Services. - GitHub - mainsail-crew/crowsnest: This Repo contains an Webcam Service for multiple Cams and Services.
drops
drops2y ago
I went ahead and added the config buy my camera also still not showing up. Is there another step besides just creating the config file for crownset?
deep-jade
deep-jade2y ago
yes, restart the service from the gui
drops
drops2y ago
LOL literraly just did that and it work..im such a fool
deep-jade
deep-jade2y ago
glad it worked out for you
Want results from more Discord servers?
Add your server
More Posts