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?
xenial-black
xenial-blackOP3y 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.
vicious-gold
vicious-gold3y ago
Just to note, if you are on the latest RatOS then it uses crowsnest.conf
Maverik
Maverik3y 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
Maverik3y ago
No description
No description
wise-white
wise-white3y 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
miklschmidt3y ago
See Maverik's comment above. crowsnest.conf goes next to your printer.cfg (same directory).
miklschmidt
miklschmidt3y 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