Sub topic 12
Frame Rate and Shutter Speed
This chapter assumes you know what exposure is (aperture, shutter speed, ISO) and can find the frame rate and shutter settings on your camera or phone app. It covers how to choose a frame rate for course lessons and how to set a shutter speed that gives natural motion.
What frame rate and shutter speed control
Frame rate is the number of still images the camera records each second, measured in frames per second (fps). Shutter speed is how long the sensor collects light for each frame. The two are related but separate settings. Frame rate decides how smooth motion looks. Shutter speed decides how much blur each frame carries.
In a talking-head lesson, motion is small: your head, your hands, and perhaps a whiteboard marker. That makes the choice forgiving. Still, the wrong settings cause visible problems: strobing light flicker, jerky hand movement, or a dark image.
Choosing a frame rate
Pick one frame rate for the whole course and use it for every recording and every editing project. Mixed frame rates in one timeline force the editor to drop or duplicate frames, which causes stutter.
| Frame rate | Look and use | Notes |
|---|---|---|
| 24 fps | Film-like, slightly softer motion | Good for a cinematic feel. Fast hand gestures can look choppy. |
| 25 fps | Same idea as 24 fps for regions with 50 Hz mains power | Common in Europe and many other regions. |
| 30 fps | Clean, standard video look | A safe default for lessons and screen capture. |
| 60 fps | Very smooth motion | Doubles the data. Useful for software demos with scrolling, rarely needed for talking heads. |
For most course lessons, 30 fps (or 25 fps where that is the local standard) is the best default. It matches most screen-capture software, plays back smoothly on every platform, and keeps file sizes reasonable. Choose 24 fps only if you want the film look and your screen recordings are also set to 24 fps. Choose 60 fps only if smooth motion is part of the lesson, such as scrolling code or animation.
Match your screen recorder
If a lesson mixes camera footage and screen capture, set both to the same frame rate. Many screen recorders default to 30 fps, so setting the camera to 30 fps avoids conversion.
The 180-degree rule
The 180-degree rule says to set the shutter time to half the frame duration. The name comes from film cameras with a rotating disc shutter that was open for 180 degrees of each rotation. At 24 fps each frame lasts 1/24 s, so the shutter is open for 1/48 s.
The rule gives motion blur that resembles what the eye sees. A faster shutter gives crisp, choppy motion. A slower shutter gives smeared motion.
def shutter_speed_180(fps):
"""Return the shutter time in seconds for the 180-degree rule."""
return 1 / (2 * fps)
for fps in (24, 30, 60):
print(fps, "fps -> 1/%d s" % round(1 / shutter_speed_180(fps)))
# 24 fps -> 1/48 s
# 30 fps -> 1/60 s
# 60 fps -> 1/120 sMost cameras do not offer 1/48 s exactly. Use the nearest value, usually 1/50 s. The difference is not visible.
Shutter speed and exposure
Shutter speed is also one of the three exposure controls. Once you fix it with the 180-degree rule, you lose it as a tool for brightness. That leaves two controls:
- Aperture. A wider opening (lower f-number) lets in more light and makes the background blurrier.
- ISO. A higher value brightens the image and adds noise.
In a controlled studio, the better route is to add light, not raise ISO. Lighting is covered in later chapters. For now, keep the shutter fixed and adjust aperture and ISO to reach a good exposure.
Do not use auto exposure with a fixed frame rate unless you can lock the shutter. In auto mode, many cameras and phones change shutter speed on their own as light changes, which breaks the rule and makes motion look inconsistent from shot to shot.
Flicker from artificial lights
Lights powered from the mains flicker at twice the mains frequency: 100 Hz on 50 Hz power, and 120 Hz on 60 Hz power. You do not see it, but a camera with a short shutter can. The result is dark bands rolling through the picture, or brightness that pulses.
The 180-degree shutter times are usually safe, but not always. Use these checks:
- On 60 Hz power, shutter speeds of 1/60 s and 1/120 s are flicker-safe.
- On 50 Hz power, shutter speeds of 1/50 s and 1/100 s are flicker-safe.
- If you shoot 30 fps on 50 Hz power, 1/60 s can flicker. Use 1/50 s instead, or shoot 25 fps.
- Many cameras have an anti-flicker or "flicker reduction" setting. Set it to match your local mains frequency.
LED panels sold for video usually have flicker-free drivers, but cheap bulbs do not. If you see banding, check the shutter against your mains frequency first. Then check whether room lights or a window with an overhead lamp are adding to the problem.
Variable frame rate on phones and webcams
Some phones and webcams record variable frame rate (VFR). The device changes the frame rate during recording, often to save space or to brighten the image in dim light. VFR files can drift out of sync with audio and cause problems in editors.
To avoid this:
- Use a camera app that offers a fixed frame rate, or turn off any "auto low light" or "auto fps" option.
- Check the recorded file with FFmpeg's
ffprobetool. A fixed frame rate file shows the same value forr_frame_rateandavg_frame_rate. - If a file is variable, convert it to a constant rate before editing.
ffprobe -v error -select_streams v:0 -show_entries stream=r_frame_rate,avg_frame_rate -of default=nw=1 lesson.mp4
ffmpeg -i lesson.mp4 -vf fps=30 -c:v libx264 -crf 18 -c:a copy lesson_cfr.mp4The first command prints the two rates. The second re-encodes the video at a constant 30 fps and copies the audio unchanged.
Common errors
- Mixing frame rates in one project. Pick one and stick to it.
- Leaving shutter on auto. Motion style and brightness change from shot to shot.
- Raising shutter speed to brighten the picture. A faster shutter makes the image darker, not brighter.
- Ignoring flicker. A test clip played on a large monitor shows banding that is easy to miss on a small screen.
- Filming at 60 fps "for quality" and exporting at 30 fps without need. This produces larger files with no visible gain.
Exercise
You record lessons at 30 fps in a country with 50 Hz mains power. The 180-degree rule gives 1/60 s, and your footage shows dark bands rolling through the frame. What do you change, and why?
Show answer
Change the shutter speed to 1/50 s (or switch to 25 fps with a 1/50 s shutter). On 50 Hz mains the lights flicker at 100 Hz, and shutter times of 1/50 s or 1/100 s match that cycle so each frame collects the same amount of light. 1/60 s does not match, so brightness varies across the frame and appears as bands. Also set the camera's anti-flicker option to 50 Hz if it has one.
Exercise
A lesson mixes a 24 fps camera clip with a 30 fps screen recording in one editing timeline. What problem can this cause, and what is the simplest prevention?
Show answer
The editor must duplicate or drop frames to fit one rate, which causes stutter or uneven motion. Prevention: record both sources at the same frame rate, for example 30 fps, before starting the course.