Sub topic 3
Set the canvas, output resolution, and frame rate
This chapter assumes you have OBS Studio installed and can open its Settings window. You should know what resolution and frame rate mean, and you should understand scenes and sources from the previous chapter. You will set three values in Settings > Video that every later choice depends on. They are the canvas, the output resolution, and the frame rate.
What the Video settings control
OBS draws every scene onto a canvas, a fixed-size surface. It then scales that surface to the output size and sends the result to the encoder. Two resolutions are involved, so it helps to keep them apart.
- Base (Canvas) Resolution is the size of the surface your scenes are composed on. Source positions, crops, and sizes are all measured in canvas pixels.
- Output (Scaled) Resolution is the size of the frames that reach the encoder and end up in your file.
- Downscale Filter is the algorithm OBS uses when the output is smaller than the canvas. It has no effect when the two sizes are equal.
- Common FPS Values (or Integer/Fractional FPS Value) sets how many frames per second OBS renders and records.
Because everything is composed on the canvas, you should set it before you build scenes. Changing the canvas later does not rescale your sources in a predictable way. Items can end up off-center or cropped, and you may have to reposition them by hand.
Choose the canvas
For a screen recording, the best canvas is usually the pixel size of the display you are capturing. A display capture then maps one screen pixel to one canvas pixel, with no scaling at that stage. Text stays sharp, and the source fits the canvas without manual resizing.
Find your display's native resolution in your operating system's display settings. Then enter it in Base (Canvas) Resolution. OBS also offers a dropdown with your connected monitors' sizes.
Some points to watch:
- High-density displays. On a Retina Mac or a Windows laptop with 150% scaling, the operating system's "looks like" size can differ from the real pixel count. Check that the canvas matches what the capture source actually delivers. If the capture appears larger than the canvas, or only fills a corner, the two are out of step. Fix this by matching the canvas to the source's reported size.
- Window capture. A window source is only as large as the window. The canvas does not need to match your monitor, but a canvas that matches your final layout size is easier to work with.
- Even dimensions. Most encoders store video in a format that needs even width and height. Use even numbers for both the canvas and the output.
- Aspect ratio. Keep 16:9 for lessons unless you have a reason to change it. Most players and editors default to it. If the output aspect ratio differs from the canvas, OBS stretches the picture instead of cropping it.
Choose the output resolution
The output resolution decides the quality and file size of the lesson. For most screencasts, 1920x1080 is the right target. It is sharp enough for code and menus on most screens and is accepted everywhere.
If your monitor is larger than 1080p, you have two options.
- Downscale. Keep the canvas at the monitor's size, such as 2560x1440, and set the output to 1920x1080. The whole screen fits in the frame. The scale factor is 0.75, so small text becomes smaller and softer.
- Capture at the target size. Lower your operating system's display resolution to 1920x1080, or make the UI larger with display scaling. Set both canvas and output to 1920x1080. Nothing is scaled, so text is as crisp as the encoder allows.
For lessons where viewers must read code, the second option often looks better. Increasing your editor's font size helps with both options. Viewers on laptops and phones will see your video smaller than you do, so test readability at small sizes.
Use a smaller output only when you need it. 1280x720 cuts the pixel count by more than half compared with 1080p. That helps on a weak computer or when you need small files. It loses fine detail, so reserve it for lessons with large on-screen content.
Pick a downscale filter
When the output is smaller than the canvas, the filter affects sharpness and GPU load.
| Filter | Sharpness | GPU cost | Use it when |
|---|---|---|---|
| Bilinear | Softest | Lowest | Your computer struggles with rendering |
| Bicubic | Balanced | Moderate | Default for most setups |
| Lanczos | Sharpest | Highest | You downscale text-heavy screens and have GPU headroom |
| Area | Clean, but only for exact fractions | Low | Only available when scaling down by a non-integer factor is not required |
For a downscaled screencast, Lanczos is worth trying because it keeps text edges crisp. If the Stats dock later shows rendering lag, step down to Bicubic. If the output equals the canvas, the choice does nothing.
Choose the frame rate
The frame rate is how many frames OBS produces per second. It is not the same as how often your screen changes. A static slide still produces frames, but the encoder compresses identical frames very cheaply.
| Frame rate | Good for | Trade-off |
|---|---|---|
| 24 | Slow, mostly static lessons where file size matters | Cursor and scrolling look slightly choppy |
| 30 | Most screencasts: coding, slides, software tours | Standard choice, smooth enough for mouse motion |
| 60 | Fast scrolling, animation, game or UI motion demos | Doubles the pixel rate, larger files, more CPU or GPU load |
Start with 30. Move to 60 only when the content moves fast enough that viewers would notice the difference, such as an animated interface or a scrolling timeline.
Integer or fractional
OBS offers fractional values like 29.97 and 59.94. These come from broadcast television standards. Choose them only when your editing project or delivery requirements use them. Otherwise use 30 or 60, and make sure your editor's timeline uses the same value. OBS records at a constant frame rate. A mismatch between the recording and the timeline can make the editor drop or duplicate frames, which shows up as judder.
Estimate the cost before you commit
A rough measure of workload is the pixel rate, which is width times height times frames per second. Rendering, scaling, and encoding all scale with it.
| Output | Pixels per frame | Pixels per second |
|---|---|---|
| 1280x720 at 30 fps | 921,600 | 27,648,000 |
| 1920x1080 at 30 fps | 2,073,600 | 62,208,000 |
| 1920x1080 at 60 fps | 2,073,600 | 124,416,000 |
| 2560x1440 at 30 fps | 3,686,400 | 110,592,000 |
| 3840x2160 at 30 fps | 8,294,400 | 248,832,000 |
Going from 1080p30 to 1080p60 doubles the workload. Going to 4K at 30 fps quadruples it. If your computer is already struggling at one setting, the table shows how much headroom each step costs. File size depends mostly on bitrate, which you set in the output settings chapter. A higher pixel rate needs a higher bitrate to look equally good.
Apply and verify the settings
Open Settings > Video, set the values, and click Apply. These controls are locked while a recording or stream is running, so change them beforehand. Then make a 10-second test recording and check the file.
ffprobe -v error -select_streams v:0 \
-show_entries stream=width,height,r_frame_rate \
-of default=noprint_wrappers=1 "test.mkv"For a 1080p30 setup, the output looks like this:
width=1920
height=1080
r_frame_rate=30/1If the numbers differ from what you chose, you may be looking at the wrong profile. Settings in OBS belong to the active profile, so check the Profile menu.
Also open View > Docks > Stats while testing. Watch these counters:
- Skipped frames due to rendering lag. The GPU could not draw the canvas in time. Lower the output resolution or frame rate, or use a cheaper downscale filter.
- Missed frames due to encoding lag. The encoder could not keep up. Lower the resolution or frame rate, or pick a faster encoder preset.
Both should stay at 0 for a clean recording.
Common mistakes
- Mismatched aspect ratios between canvas and output, which stretch the picture.
- Recording at 60 fps by default for slides and code, which doubles the load for no visible gain.
- Capturing a 4K display and outputting 1080p without checking that text is still readable.
- Odd resolution values, which some encoders reject or round.
- Forgetting that settings are per profile, then wondering why a new profile records at a different size.
Exercise
Your monitor is 2560x1440 and you record lessons with code in a small font. You set the canvas to 2560x1440 and the output to 1920x1080 at 30 fps. The text looks soft in the final video. Name two changes that could improve it, and say what each costs.
Show answer
First, set the downscale filter to Lanczos, which keeps text edges sharper than Bilinear or Bicubic, at the cost of more GPU load. Second, avoid downscaling by lowering the operating system's display resolution to 1920x1080 (or increasing the editor's font size) and setting both the canvas and output to 1920x1080. This removes the 0.75 scaling step entirely, at the cost of less desktop space while you record.
Exercise
A 1080p60 recording shows "missed frames due to encoding lag" in the Stats dock. By what factor does dropping to 1080p30 reduce the pixel rate, and what is the new pixel rate?
Show answer
It halves the pixel rate. 1920 x 1080 x 60 is 124,416,000 pixels per second, and 1920 x 1080 x 30 is 62,208,000 pixels per second.