TechBuzzPro

Anti Flicker on a Webcam: What It Is and How It Works

· 6 min read · Windows & PC

In this article
  1. Background: Why Flicker Happens
  2. How Anti‑Flicker Works Technically
  3. How to Enable Anti‑Flicker on Popular Webcam Software
  4. Choosing the Right Setting: Factors to Consider
  5. Common Problems and How to Fix Them
  6. Comparison with Related Settings
  7. Alternatives When Anti‑Flicker Is Not Available
  8. Frequently Asked Questions

Anti‑flicker is a webcam setting that reduces visible flickering caused by artificial lighting by synchronising the sensor’s exposure time with the frequency of the mains electricity (usually 50 Hz or 60 Hz).

Background: Why Flicker Happens

Most indoor lighting—fluorescent tubes, LED strips, and some cheap incandescent bulbs—are powered by alternating current (AC). The AC waveform cycles at either 50 Hz (common in Europe, Asia, Africa) or 60 Hz (common in North America). When a light source is driven by AC, its intensity varies slightly with each half‑cycle, creating a rapid dim‑bright pattern that is normally invisible to the human eye.

A webcam captures light in discrete frames. If the camera’s exposure time does not line up with the light’s cycle, each frame may record a different point in the dim‑bright curve. The result is a banding or flickering effect that appears as moving dark‑light bands, especially when the video is examined on a monitor or when the footage is slowed down.

How Anti‑Flicker Works Technically

Anti‑flicker works by adjusting the exposure (shutter) duration so that it spans an integer multiple of the lighting period. For a 60 Hz mains frequency, one full cycle lasts 16.67 ms; for 50 Hz it lasts 20 ms. Setting the exposure to 33.33 ms (two 60 Hz cycles) or 40 ms (two 50 Hz cycles) ensures that each captured frame contains a whole number of light cycles, effectively averaging out the dim‑bright variation.

Modern webcams implement this in three common ways:

  • Fixed 50 Hz or 60 Hz mode: The user selects the mains frequency that matches the local power grid.
  • Auto mode: The firmware analyses the incoming light and automatically chooses the nearest frequency.
  • Custom exposure: Advanced software (e.g., OBS, Logitech Capture) lets the user manually set the exposure time in milliseconds, which can be used to fine‑tune anti‑flicker for mixed‑frequency lighting.

The exact menu names vary slightly by version, but the general steps are the same for most Windows‑based webcam utilities.

  1. Open the webcam’s control application (e.g., Logitech Capture, Microsoft Camera, or the settings pane of the video‑calling app you are using).
  2. Navigate to the Advanced or Exposure section. Look for a dropdown labelled Flicker Reduction, Anti‑Flicker, or Power Line Frequency.
  3. Select the appropriate option:
    • 50 Hz if you are in a region that uses 50 Hz mains.
    • 60 Hz for North American or other 60 Hz regions.
    • Auto if you are unsure or if the software claims to detect the correct frequency automatically.
  4. Apply the change and close the settings window. Most applications apply the new exposure immediately; if the video still looks banded, restart the app.

If you are using OBS Studio, the steps are:

  1. In the Sources list, right‑click your webcam source and choose Properties.
  2. Find the Video Format dropdown and click Configure Video (this opens the DirectShow filter settings).
  3. In the filter window, locate the Flicker Reduction or Power Line Frequency field and set it to 50 Hz, 60 Hz, or Auto.
  4. Click OK and then Close. The new setting takes effect immediately.

Choosing the Right Setting: Factors to Consider

When deciding which anti‑flicker mode to use, keep these factors in mind:

  • Local mains frequency: The most reliable choice is the frequency of the power grid that supplies your lighting.
  • Type of lighting: Some LED drivers operate at a higher frequency (e.g., 120 Hz) that can still cause flicker at 60 Hz exposure. In such cases, a longer exposure (multiple cycles) or a custom exposure value may be necessary.
  • Frame rate: If you are streaming at 30 fps, a 60 Hz exposure (33 ms) aligns well. At 60 fps, a 60 Hz exposure would be too long, so you may need to use 20 ms (one 50 Hz cycle) and accept a slight residual flicker.
  • Low‑light situations: Longer exposures improve brightness but can introduce motion blur. Balancing anti‑flicker with acceptable blur is often a trade‑off.

Common Problems and How to Fix Them

Even after enabling anti‑flicker, users sometimes still see banding. Below are typical causes and remedies.

  1. Wrong frequency selected: Verify the mains frequency of your region. In mixed‑frequency environments (e.g., a studio with both 50 Hz and 60 Hz lights), try the Auto setting or manually set an exposure that is a multiple of both (e.g., 100 ms covers both 20 ms and 16.67 ms cycles).
  2. LED drivers with high‑frequency PWM: Some LED strips use pulse‑width modulation at frequencies above 1 kHz, which can still produce a faint flicker at short exposures. Increase the exposure time to at least 2 × the PWM period, or switch to a lighting source without PWM.
  3. Software overrides: Video‑calling apps sometimes force their own exposure settings. Check the app’s video settings for a separate “Flicker Reduction” toggle and disable any conflicting options.
  4. Out‑of‑date driver: An outdated webcam driver may lack proper anti‑flicker support. Update the driver from the manufacturer’s website.
  5. Hardware limitation: Very low‑cost webcams may not support variable exposure lengths, making anti‑flicker ineffective. In such cases, consider a higher‑end model that advertises flicker‑free performance.

Anti‑flicker is often confused with other image‑quality controls. Here’s a quick comparison:

  • White Balance: Adjusts colour temperature; does not affect temporal flicker.
  • Exposure (Shutter Speed): Directly influences anti‑flicker because the exposure duration determines how many light cycles are captured.
  • Gain/ISO: Boosts sensor sensitivity; can amplify flicker artefacts if exposure is too short.
  • Dynamic Range: Expands tonal detail; unrelated to flicker but may make banding more noticeable.

Alternatives When Anti‑Flicker Is Not Available

If your webcam or its software lacks a dedicated anti‑flicker option, you can still mitigate flicker using these work‑arounds:

  1. Change lighting: Replace flickering LEDs or fluorescents with continuous‑wave (CW) LED strips or incandescent bulbs that do not modulate with the mains frequency.
  2. Use an external capture device: Some capture cards (e.g., Elgato Cam Link) let you control exposure independently, providing a separate anti‑flicker setting.
  3. Post‑process in software: Video editors can apply a de‑flicker filter, but this only works after recording and may reduce video quality.
  4. Adjust frame rate: Matching the frame rate to a multiple of the mains frequency (e.g., 30 fps for 60 Hz) reduces the visibility of flicker.

Frequently Asked Questions

Does anti‑flicker work with all webcam brands?

Most modern USB webcams from major manufacturers include a flicker‑reduction option, but very low‑cost models may not expose the setting. Check the product specifications or the webcam’s control software for a “Power Line Frequency” or similar field.

Can I use anti‑flicker when streaming at 60 fps?

At 60 fps the exposure per frame is about 16.7 ms, which matches a single 60 Hz cycle. This alignment often eliminates flicker, but if the lighting is 50 Hz you will still see banding. In that case, switch the webcam to a 50 Hz mode and accept a slight reduction in maximum frame rate.

Why does my video still show faint bands after setting anti‑flicker to Auto?

Auto mode may pick the wrong frequency if the lighting contains mixed sources. Manually select the correct 50 Hz or 60 Hz setting, or increase the exposure time to cover multiple cycles.

Is anti‑flicker the same as “de‑flicker” in video editors?

No. Anti‑flicker is a capture‑time setting that prevents the artefact from being recorded. De‑flicker filters in post‑production attempt to remove flicker after it has been captured, which can be less effective and may degrade image quality.

Do I need to adjust anti‑flicker when moving a webcam between rooms?

If the new room uses lighting powered by a different mains frequency (e.g., a 50 Hz office versus a 60 Hz home), you should change the setting accordingly. Otherwise the previous setting will usually remain appropriate.

Will turning on anti‑flicker increase video latency?

Increasing exposure time slightly lengthens the interval between captured frames, which can add a few milliseconds of latency. In most live‑streaming scenarios the impact is negligible, but for ultra‑low‑latency gaming it may be noticeable.