Sub topic 13
Lens choice, depth of field, and focus
This chapter covers how the lens controls what part of your frame looks sharp, and how to keep your face sharp for a whole lesson. It assumes you have read the exposure chapter. You should know that aperture is the opening in the lens, written as an f-number such as f/2.8, and that a smaller f-number means a wider opening and more light.
What the lens decides
Three properties of the lens matter for course video.
- Focal length (in millimeters) sets how much of the scene fits in the frame and how much perspective distortion your face shows.
- Maximum aperture sets how much light reaches the sensor and how blurry the background can get.
- Focus system sets whether your eyes stay sharp when you move.
Focal length numbers are only comparable across cameras once you convert them to a common sensor size. The usual standard is the full-frame equivalent. A webcam or phone has a small sensor, so its real focal length is a few millimeters, but the maker's "equivalent" figure (often 24 to 28 mm) is what describes the view.
Focal length and framing distance
You sit at a fixed distance from the camera, usually about 1.2 m at a desk. The focal length then decides how much of your room is visible. The table gives the width of the scene covered at 1.2 m for a full-frame-equivalent lens.
| Focal length (equivalent) | Width visible at 1.2 m | Typical use |
|---|---|---|
| 24 mm | about 1.8 m | Webcams, tight rooms. Faces near the edges stretch. |
| 35 mm | about 1.2 m | Good compromise for a desk setup. |
| 50 mm | about 0.9 m | Natural look. Needs 1.2 m or more of space. |
| 85 mm | about 0.5 m | Flattering, but you need a long room to fit a torso. |
Wide lenses exaggerate whatever is close to them. If you sit 50 cm from a 24 mm lens, your nose looks larger relative to your ears. A longer lens placed further back looks more natural. When your room is small, choose 35 mm and sit as far back as the room allows, rather than choosing 24 mm and leaning in.
Depth of field
Depth of field (DoF) is the range of distances that look acceptably sharp. Everything outside that range blurs gradually. Three things control it:
- Aperture. A wider opening (smaller f-number) gives a shallower DoF.
- Distance to the subject. Closer means shallower.
- Focal length and sensor size. Longer lenses and larger sensors give a shallower DoF at the same framing.
The following script uses the standard hyperfocal-distance formulas. The circle of confusion (coc_mm) is the largest blur spot the eye still reads as sharp. 0.03 mm is the usual value for full frame.
def depth_of_field(focal_mm, f_number, subject_mm, coc_mm=0.03):
"""Return (near_mm, far_mm) limits of acceptable sharpness."""
hyperfocal = focal_mm ** 2 / (f_number * coc_mm) + focal_mm
near = subject_mm * (hyperfocal - focal_mm) / (hyperfocal + subject_mm - 2 * focal_mm)
if subject_mm >= hyperfocal:
far = float("inf")
else:
far = subject_mm * (hyperfocal - focal_mm) / (hyperfocal - subject_mm)
return near, far
for f_number in (1.8, 2.8, 4.0):
near, far = depth_of_field(50, f_number, 1200)
print("f/%.1f: sharp from %d mm to %d mm (%d mm deep)"
% (f_number, round(near), round(far), round(far - near)))
# f/1.8: sharp from 1171 mm to 1231 mm (60 mm deep)
# f/2.8: sharp from 1155 mm to 1248 mm (93 mm deep)
# f/4.0: sharp from 1137 mm to 1270 mm (133 mm deep)A head is roughly 20 cm from nose to back of the ears. At f/1.8 with a 50 mm lens at 1.2 m, only 6 cm is sharp. If you focus on your nose, your eyes and ears can be soft. At f/4 you have about 13 cm, which is much safer.
Cameras with small sensors
Webcams and most phones have tiny sensors, so their DoF is very deep. The background is sharp, which can look flat or cluttered. Many apps add artificial background blur by detecting your outline. This often fails around hair, glasses, and hand gestures, producing a shimmering edge. If you use it, test it with the gestures you normally make. A physically uncluttered background, covered in the background chapter, is more reliable than software blur.
A mirrorless camera with a larger sensor produces real blur. You then have to manage it, because wide apertures reduce the sharp zone.
Choosing a lens
For a mirrorless camera, a decision flow:
Other points to weigh:
- Zoom or prime. A prime lens has one fixed focal length and is usually sharper and wider in aperture for the price. A zoom lets you adjust framing without moving the camera, but cheap kit zooms have narrower maximum apertures, such as f/3.5 to f/5.6.
- Crop factor. On an APS-C camera, multiply the focal length by about 1.5 to get the full-frame equivalent. A 24 mm lens frames like a 36 mm lens.
- Autofocus quality. Eye detection and continuous tracking matter more for a speaker who moves than a stop of extra aperture.
- Focus breathing. Some lenses change their field of view slightly as focus shifts, so the frame appears to zoom when autofocus hunts. This is distracting in video, so check reviews.
Focus methods
Autofocus (AF) is convenient but can fail in a static shot. Common failures are hunting (the focus moving in and out), locking onto the background when your hands enter the frame, and refocusing in the middle of a sentence.
| Method | Strength | Risk |
|---|---|---|
| Continuous AF with eye detection | Follows you if you move | Can hunt when you gesture or turn away |
| Single AF, then lock | Very stable | You must refocus if you change position |
| Manual focus | Fully predictable | Needs a reliable way to check sharpness |
A dependable routine for a fixed seat:
- Sit in your normal position and place a stand-in object (or have a helper sit) at the same distance as your eyes.
- Switch to single AF or manual focus, and focus on the eyes, using the focus point on the nearer eye.
- Turn on focus peaking if the camera has it. This overlays colored edges on sharp areas.
- Zoom the preview in, confirm sharpness, then lock focus and stop touching the lens.
- Record a 30-second clip while moving as you would in a lesson, then review it at full size.
Exercise
You use a 50 mm full-frame-equivalent lens at f/1.8, 1.2 m from your face, and your ears look soft in the recording. Name two changes that increase the sharp zone, and say which one you would try first.
Show answer
Close the aperture (for example, to f/2.8 or f/4), or move the camera further back and use a longer lens or crop in later. The first change to try is the aperture, because it needs no new equipment or repositioning. In the script's example, going from f/1.8 to f/4 widens the sharp zone from about 60 mm to about 133 mm. Compensate for the lost light with more light on your face rather than a higher ISO.
Exercise
Your camera is in continuous autofocus. Whenever you raise your hand to gesture, the focus shifts to the hand for a moment. What setting change prevents this, and what must you do afterward?
Show answer
Switch to single autofocus (or manual focus) and lock focus on your eyes while seated in your normal position. Afterward, you must test that you stay inside the depth of field when you lean or move, and refocus if you change your seating position or camera distance.