camera setup logitech c920

After reflashing to ratos 2.1 i have to set up my camera again, but idk how to do it. cant get anymore than 0-1 fps.. is there anyone that can help?
26 Replies
MDFPereira
MDFPereira2mo ago
a bit more info, please machine, etc
someaction
someactionOP2mo ago
vcore 3.1 400 btt octopus 1.1
MDFPereira
MDFPereira2mo ago
check crowsnest.conf the FPS is set there
someaction
someactionOP2mo ago
[crowsnest] log_path: /home/pi/printer_data/logs/crowsnest.log log_level: verbose # Valid Options are quiet/verbose/debug delete_log: false # Deletes log on every restart, if set to true no_proxy: false [cam 1] mode: ustreamer # ustreamer - Provides mjpg and snapshots. (All devices) # camera-streamer - Provides webrtc, mjpg and snapshots. (rpi + Raspi OS based only) enable_rtsp: false # If camera-streamer is used, this enables also usage of an rtsp server rtsp_port: 8554 # Set different ports for each device! port: 8080 # HTTP/MJPG Stream/Snapshot Port device: /dev/video0 # See Log for available ... resolution: 640x480 # widthxheight format max_fps: 15 # If Hardware Supports this it will be forced, otherwise 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.
MDFPereira
MDFPereira2mo ago
does it only show 1 fps even when printing?
someaction
someactionOP2mo ago
yes sir
MDFPereira
MDFPereira2mo ago
increase resolution, maybe it helps
someaction
someactionOP2mo ago
still the same
someaction
someactionOP2mo ago
No description
MDFPereira
MDFPereira2mo ago
open webcam tab and check. That is not the best place to check this home the machine and check if it improves
someaction
someactionOP2mo ago
after homing
No description
MDFPereira
MDFPereira2mo ago
not after... during
someaction
someactionOP2mo ago
its the same during
MDFPereira
MDFPereira2mo ago
not sure why. Everything looks ok in configs
Ag_Back
Ag_Back2mo ago
Just went through this yesterday. Nuke the current webcam, and then "Add webcam" using the "Adaptive MJPEG" setting. Change your framerate in "Crowsnest.conf" to say 25 to 30 fps, and then reboot. I'm routinely seeing around 17 to 20 fps printing or not. It's a bit jerky, but better than static.
TheTik
TheTik2mo ago
I would use 'camera-streamer`, it is supposed to take advantage of the raspi better
TheTik
TheTik2mo ago
No description
TheTik
TheTik2mo ago
I can't find the model, but it is a logitech and going to this mode I was able to get 30+ fps where before it was barely clearing 10, and at a higher resolution now
Ag_Back
Ag_Back2mo ago
I couldn't get webrtc to connect, but maybe I need to try the same approach and nuke the cam working now. It's crystal clear at 20 fps, but if it'll take some load off the LAN it'll be worth a shot.
someaction
someactionOP5w ago
nothing is working for me at this moment..
TheTik
TheTik5w ago
double check that the cam still works hooked up to your computer?
someaction
someactionOP5w ago
yea sorry, didnt mean its not working. im still getting 0-1 fps. and its only the adaptive mjpeg thats giving me a video. none of the other ones
TheTik
TheTik5w ago
oh, okay. By "nothing is working" i thought you weren't getting video at all anymore
someaction
someactionOP5w ago
not the right word from my side, apologize
TheTik
TheTik5w ago
Is there plenty of light? If a webcam isn't getting a much light, it will turn down its fps just to get something of a picture out
someaction
someactionOP5w ago
yes, i got led light in the fron of the machine. it was working fine before i reflashed and updated to 2.1

Did you find this page helpful?