Hi I'm just setup my webcam Logitech C922 for my MK3S with 1280x720 30 fps. It is working realy well but the lightning in the room is 50hz and the camera shows 60hz with flickering. Is there a start command that changes the 60hz to 50hz anywhere?
Are you using octopi?
If yes you can edit your octopi.txt (it's on the boot partition of your sd card and can be edited on a pc if you want).
### Additional options to supply to MJPG Streamer for the USB camera
#
# See https://faq.octoprint.org/mjpg-streamer-config for available options
#
# Defaults to a resolution of 640x480 px and a framerate of 10 fps
#
#camera_usb_options="-r 640x480 -f 10"
Thank you for your response. I already edited with the 1280x720 and 30 fps. But now I need to set the 50hz for eu instead the standard 60 for us. Can you help me on this?
FYI, your flickering issue might also come from LED lights. The 50/60HZ correction (as far as I know) only corrects for some old school fluorescent ballasts that operate at mains frequency. I was just reading that incandescent might have flicker too, since they get hotter as the amplitude increases, but I have never seen this personally, but don't doubt it can happen.
Some LEDs use pulse width modulation to control the brightness (dimmer switch), or to prevent burnout (lower heat production) while over-driving the LED. My cheapo LED lights I had in my enclosure caused flicker even with the flicker reduction settings (50/60HZ) enabled. Eventually I tracked it down to the LEDs themselves, since halogen lamps and incandescent showed no visible flicker whatsoever.
It is a pain in the butt to figure out what frequency any particular LED's PWM operates on, but something on the order of 5KHZ+ should work fine. I eventually found some LEDs that operate at many KHZ, and I now have zero flicker. I went through 3 other LED panels before I found one that worked, so buyer beware.