Ch. 15 · Low-Latency and Real-Time Streaming

한국어日本語
8 min

OBS Streaming Settings: Understand the Why, Don't Memorize the Values

Which concepts from the earlier lessons the OBS settings (resolution, frame rate, encoder, bitrate, keyframe interval) correspond to, and where to check the final values.

OBS Studio is widely used free streaming software. The settings screen has many unfamiliar terms, but they map almost directly onto the concepts you have learned so far. This lesson is a map that connects which setting is which concept. Recommended numbers differ by service and change often, so always check the official guidance of the platform you stream to. Menu names can vary by OBS version and language.

OBS setting (Output/Video)Corresponding conceptRelated lesson
Base (Canvas) Resolution / Output (Scaled) ResolutionThe source screen size and the size you actually encode and send. When bitrate is limited, lowering the resolution is often better for quality—
FPSFrames per second. The basis for calculating the keyframe interval (in frames)Lesson 2 of this chapter
Encoder (x264 / NVENC / QSV / AMF, etc.)Software vs. hardware encoderChapter 13
Rate Control (CBR / VBR / CQP …)How the bitrate is managed. CBR is the common default for live streamingChapter 3, quantization and rate control
BitrateThe upper limit you set within the line's upload capacityLesson 2 of this chapter (VBV)
Keyframe IntervalGOP length. Entered in seconds, and platforms often state the value they requireChapter 10, GOP
CPU Usage Preset / presetSlower means higher efficiency and more load. If it can't keep up with real time, frames fall behindChapter 10, presets
Tune / x264 options (zerolatency, etc.)Encoder latency settings such as turning off B-frames and lookaheadLesson 2 of this chapter
B-frames / Lookahead (hardware encoder options)Tools that trade latency for efficiencyChapter 3, inter prediction

The exact item names and defaults in OBS can differ by version. Use the OBS official documentation and the platform's guidance as your reference.

The order for choosing settings

  1. 1Check the platform's requirements: supported codecs, keyframe interval, bitrate cap, audio specs. The official guidance comes first.
  2. 2Measure your upload bandwidth: don't use the whole measured value; leave headroom. You need slack to ride out the line wobbling during a live stream (judge the numbers from your own line's measurements).
  3. 3Choose resolution and frame rate: if bitrate is tight, lower the frame rate or resolution first.
  4. 4Choose the encoder: if the CPU is busy, as with game or screen capture, consider a hardware encoder. For support, see the Codec Support Checker and Chapter 13.
  5. 5Set the keyframe interval and CBR: enter the values from the platform's guidance.
  6. 6Test stream: use a private or test stream to check real latency and stalls, and look at OBS's stats (dropped frames, encoding lag, and so on).

To check that your stream is going out as intended, you can make a short file with the same settings and read the keyframe interval and codec information with ffprobe. You can view file information with the File Info Inspector, and the FFmpeg Command Builder helps you put commands together.

Checking keyframe positions in a short recorded file (ffprobe, filename is a placeholder)
ffprobe -v error -select_streams v:0 -skip_frame nokey \
  -show_entries frame=pts_time -of csv=p=0 clip.mp4

This command uses -skip_frame nokey to skip non-keyframes and prints only the times of the keyframes. If the values come out at a steady interval (for example, every 2 seconds), the interval is fixed.

Don't just trust a "recommended settings" table

The internet is full of recommended-bitrate-by-resolution tables, but even at the same bitrate, results differ greatly depending on the content (a fast-moving game vs. a static lecture) and the encoder. Like the approach of this site's measured article that looks at encoding results per content type (CRF by content), the surest way for live is to test with your own content.

Chapter summary: choosing a path by purpose

Large mostly-watching broadcast: regular or low-latency HLS/DASH (stability, CDN use). Live event needing a few seconds of latency: LL-HLS / LL-DASH. Interaction within a second: WebRTC. Site-to-server ingest: RTMP (general purpose) or SRT/RIST (unstable lines, broadcast-grade). In every case, the starting point is to tune the encoder keyframe interval, segment length, and player buffer as one set.

OBS StudioOBS Studio

Free, open-source software for streaming and recording.

Stream keyStream key

A secret string that identifies the channel you stream to. If it's exposed, others can stream to your channel, so don't share it.

Dropped framesDropped frames

Frames discarded because the line or encoder couldn't keep up and they couldn't be sent. A key indicator of stream health.

Check yourself

What should you do first when setting OBS's "Keyframe Interval"?

Check yourself

What is the right way to handle a stream key?