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?
vicious-gold
vicious-gold2y 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.
national-gold
national-gold2y ago
Just to note, if you are on the latest RatOS then it uses crowsnest.conf
Maverik
Maverik2y 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
Maverik
Maverik2y ago
No description
No description
fair-rose
fair-rose2y 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?
Maverik
Maverik2y ago
yes, restart the service from the gui
drops
drops2y ago
LOL literraly just did that and it work..im such a fool
Maverik
Maverik2y ago
glad it worked out for you
Want results from more Discord servers?
Add your server