bluenviron / mediamtx

Ready-to-use SRT / WebRTC / RTSP / RTMP / LL-HLS media server and media proxy that allows to read, publish, proxy, record and playback video and audio streams.
MIT License
10.67k stars 1.39k forks source link

Raspberry Pi camera flickering with 50hz electricity light source #3463

Open mdPlusPlus opened 2 weeks ago

mdPlusPlus commented 2 weeks ago

Describe the feature

According to https://github.com/raspberrypi/rpicam-apps/issues/444 the --flicker-period switch has been implemented in libcamera for this case.

It's my understanding that MediaMTX is using libcamera under the hood to drive Pi cameras. Could you implement an option in mediamtx.yml to set the flicker period (50hz/60hz)?

(Duplication of https://github.com/bluenviron/mediamtx/issues/3462)