# Howto reduce 50 / 60 Hz pulsing from lights

**URL:** <https://forum.cinelerra-gg.org/t/howto-reduce-50-60-hz-pulsing-from-lights/421>\
**Category:** Help & Support\
**Created:** [April 22, 2024, 11:49am UTC](https://forum.cinelerra-gg.org/t/howto-reduce-50-60-hz-pulsing-from-lights/421 "2024-04-22T11:49:45Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![cincity](https://forum.cinelerra-gg.org/letter_avatar_proxy/v4/letter/c/c67d28/32.png) [@cincity](https://forum.cinelerra-gg.org/u/cincity)\
**Post date:** [April 22, 2024, 11:49am UTC](https://forum.cinelerra-gg.org/t/howto-reduce-50-60-hz-pulsing-from-lights/421/1 "2024-04-22T11:49:45Z")

</div>

Does Cin have a plugin to reduce 50 / 60 Hz pulsation which occurs from unnatural lighting?

I created a 1000 fps Slomo and this pulsation is a problem.

---

<div class="post-metadata">

**Author:** ![IgorBeg](https://forum.cinelerra-gg.org/letter_avatar_proxy/v4/letter/i/ecb155/32.png) [@IgorBeg](https://forum.cinelerra-gg.org/u/IgorBeg)\
**Post date:** [April 26, 2024, 9:09am UTC](https://forum.cinelerra-gg.org/t/howto-reduce-50-60-hz-pulsing-from-lights/421/2 "2024-04-26T09:09:00Z")

</div>

Could you upload a sample file, please? If you want to [https://files.fm](https://files.fm)

And write here the MediaInfos output of the source file? Thanks.

---

<div class="post-metadata">

**Author:** ![cincity](https://forum.cinelerra-gg.org/letter_avatar_proxy/v4/letter/c/c67d28/32.png) [@cincity](https://forum.cinelerra-gg.org/u/cincity)\
**Post date:** [April 26, 2024, 9:11am UTC](https://forum.cinelerra-gg.org/t/howto-reduce-50-60-hz-pulsing-from-lights/421/3 "2024-04-26T09:11:00Z")

</div>

Please look here → [https://klimaboy.de/posts/magnetband/](https://klimaboy.de/posts/magnetband/)

What is the MediaInfos output of the source file?

The lighting is halogen @ 50Hz surge.

This is why I set the recorder to 25fps PAL (1000fps-\>25fps)

But still there occurs this pulsation in brightness which is very ugly. The resolution at this frame rate is ugly too but this is another story of course.

---

<div class="post-metadata">

**Author:** ![andreapaz](https://forum.cinelerra-gg.org/letter_avatar_proxy/v4/letter/a/8edcca/32.png) [@andreapaz](https://forum.cinelerra-gg.org/u/andreapaz)\
**Post date:** [April 26, 2024, 10:25am UTC](https://forum.cinelerra-gg.org/t/howto-reduce-50-60-hz-pulsing-from-lights/421/4 "2024-04-26T10:25:30Z")

</div>

One attempt might be to produce video at 50 fps instead of 25 fps (1000 → 50 fps).

---

<div class="post-metadata">

**Author:** ![cincity](https://forum.cinelerra-gg.org/letter_avatar_proxy/v4/letter/c/c67d28/32.png) [@cincity](https://forum.cinelerra-gg.org/u/cincity)\
**Post date:** [April 26, 2024, 10:27am UTC](https://forum.cinelerra-gg.org/t/howto-reduce-50-60-hz-pulsing-from-lights/421/5 "2024-04-26T10:27:43Z")

</div>

Interesting! I wasnt aware this could make a change. Unfortunately the HFR mode of the recorder only is able to bring it down to 25 fps.

25 or 30 FPS are the only setting for HFR.

Would it make sense to change that at POST in Cin or anwhere else like ffmpeg?

---

<div class="post-metadata">

**Author:** ![andreapaz](https://forum.cinelerra-gg.org/letter_avatar_proxy/v4/letter/a/8edcca/32.png) [@andreapaz](https://forum.cinelerra-gg.org/u/andreapaz)\
**Post date:** [April 26, 2024, 1:33pm UTC](https://forum.cinelerra-gg.org/t/howto-reduce-50-60-hz-pulsing-from-lights/421/6 "2024-04-26T13:33:32Z")

</div>

You can try making the change in CinGG: Settings → Format… → Frame Rate

I am curious about the result, but I dont think it will work (sampling has already been  
done).

---

<div class="post-metadata">

**Author:** ![IgorBeg](https://forum.cinelerra-gg.org/letter_avatar_proxy/v4/letter/i/ecb155/32.png) [@IgorBeg](https://forum.cinelerra-gg.org/u/IgorBeg)\
**Post date:** [April 26, 2024, 7:12pm UTC](https://forum.cinelerra-gg.org/t/howto-reduce-50-60-hz-pulsing-from-lights/421/7 "2024-04-26T19:12:03Z")

</div>

MediaInfo is a program to know the data (format, code, frame rate,…) about a video file; or, if you want, you can use the ffprobe command by Command Line:

> ffprobe -hide\_banner -i yourFileName.mp4  
> Thanks for the link to the video. I saw your video and downloaded it from there. Using your video I did a test: this is the render by Cinelerra-GG. Tell me if it is good enough, please.

Test video on [https://files.fm/u/m5hzk24dvj](https://files.fm/u/m5hzk24dvj)

---

<div class="post-metadata">

**Author:** ![cincity](https://forum.cinelerra-gg.org/letter_avatar_proxy/v4/letter/c/c67d28/32.png) [@cincity](https://forum.cinelerra-gg.org/u/cincity)\
**Post date:** [April 27, 2024, 8:15am UTC](https://forum.cinelerra-gg.org/t/howto-reduce-50-60-hz-pulsing-from-lights/421/8 "2024-04-27T08:15:24Z")

</div>

@All

Thank you very much for your efforts.

@IgorBeg

Your edit can equalize the brightness very well. But the frame shift doesn\*t look good. It looks not natural. I cant imagine this can be done via frame shift.

I just hoped there could be an existing plugin which could be something like an adjustable frequency curve on which effects can be applied to.

---

<div class="post-metadata">

**Author:** ![IgorBeg](https://forum.cinelerra-gg.org/letter_avatar_proxy/v4/letter/i/ecb155/32.png) [@IgorBeg](https://forum.cinelerra-gg.org/u/IgorBeg)\
**Post date:** [April 27, 2024, 8:30am UTC](https://forum.cinelerra-gg.org/t/howto-reduce-50-60-hz-pulsing-from-lights/421/9 "2024-04-27T08:30:00Z")

</div>

I understand you, @cincity. I am sorry.

The last chance (way), I think, is to use keyframes on Brightness or Histogram\_bezier plugins. You could make it for a section of the video and then paste and copy the keyframes for all the video. Only an idea.

---

<div class="post-metadata">

**Author:** ![cincity](https://forum.cinelerra-gg.org/letter_avatar_proxy/v4/letter/c/c67d28/32.png) [@cincity](https://forum.cinelerra-gg.org/u/cincity)\
**Post date:** [April 27, 2024, 12:49pm UTC](https://forum.cinelerra-gg.org/t/howto-reduce-50-60-hz-pulsing-from-lights/421/10 "2024-04-27T12:49:58Z")

</div>

@igorbeg

Yet I have used keyframes for the given properties e.g. fade, volume, projector and camera only.

Though it is in the documentation I havent understood how to use them for plugins. Maybe I should try again.

---

<div class="post-metadata">

**Author:** ![IgorBeg](https://forum.cinelerra-gg.org/letter_avatar_proxy/v4/letter/i/ecb155/32.png) [@IgorBeg](https://forum.cinelerra-gg.org/u/IgorBeg)\
**Post date:** [April 28, 2024, 7:59am UTC](https://forum.cinelerra-gg.org/t/howto-reduce-50-60-hz-pulsing-from-lights/421/11 "2024-04-28T07:59:08Z")

</div>

@cincity

You can use keyframes for Plugins like you use Fade, Projector & Camera. If you have a few of time, take a look at the Title Animation 1 tutorial: [https://www.youtube.com/watch?v=uVNguI5EuA0](https://www.youtube.com/watch?v=uVNguI5EuA0)

In that tutorial you can see that keyframes for the Crop & Position plugin are used to create text movement. You can do the same thing for all plugins, in your case the Brightness or/and HistogramBezier plugins. But, I think, that the result will not be satisfactory for your goal.
