OBS Studio Guides

Saving the last few minutes with the OBS replay buffer

The OBS replay buffer holds recent video in memory and saves it when you press Save Replay. Setup, memory math, where clips go, and why saves come up short.

Published November 5, 2026Updated November 18, 20268 minute readBy WaveSync Staff
Illustration of a row of scene thumbnails with colored tabs on a dark control deck, beside a portrait preview screen, a large dial and a stylus pad
In this guide

The OBS replay buffer keeps the most recent stretch of your output in memory without writing a full recording. When something worth keeping happens, press Save Replay and OBS saves that stretch as a file. Turn it on in Settings, Output with Enable Replay Buffer, set Maximum Replay Time, then choose Start Replay Buffer in the Controls dock. A hotkey for Save Replay makes it practical during a game.

Labels and limits are from the OBS Studio 33.0.1 source and English locale file, read on 15 November 2026. OBS's Knowledge Base has no dedicated replay buffer page, so the source code is the primary reference here. Other recording topics are in the recording settings guide, and all OBS guides in the OBS Studio hub.

Turn on the replay buffer

  1. Open Settings, then Output. In Advanced output mode, the options are on the Replay Buffer tab.
  2. Tick Enable Replay Buffer.
  3. Set Maximum Replay Time, the length of each saved clip. New profiles start at 20 seconds, and the box accepts 5 seconds up to 21,600 seconds, which is six hours.
  4. If OBS shows Maximum Memory, set a limit there too. New profiles start at 512 MB.
  5. Optionally set a Replay Buffer Filename Prefix and Suffix so saved clips are easy to find. The default prefix is Replay.
  6. Choose OK, then Start Replay Buffer in the Controls dock.

Enabling the buffer in Settings doesn't start it. The Controls dock button has to read Stop Replay Buffer before Save Replay does anything, which is the first thing to check when a save seems to vanish.

Save a moment

While the buffer runs, choose Save Replay in the Controls dock, or press its hotkey. OBS saves the recent stretch it's holding, up to Maximum Replay Time and within any memory limit. The status bar then shows Replay buffer saved to, followed by the file's path. Choose Stop Replay Buffer when you're done.

To set a hotkey, open Settings, Hotkeys, and assign a key to Save Replay. Pick a combination your game doesn't use; the OBS hotkeys guide covers conflicts and keys that fail while a game has focus. On a Mac, hotkeys that work while OBS is in the background need the Input Monitoring permission; see OBS on a Mac.

Where saved replays go, and in what format

Replays land in the same folder as your recordings: the Recording Path in Settings, Output. There's no separate replay folder setting. The file uses your recording format and your filename formatting, with the Replay prefix in front. A Hybrid MP4 setup produces MP4 clips, and an MKV setup produces MKV clips.

If you record MKV, remuxing to MP4 makes clips easier to edit. Automatically remux to mp4 in Settings, Advanced applies to every saved replay as well as full recordings.

The buffer encodes with your recording settings, not a separate set. In Advanced mode it uses the recording encoder and the recording tracks you ticked. If you split game, mic and music onto separate tracks with multiple audio tracks, the clips carry those tracks too. In Simple mode, Recording Quality set to Same as stream reuses the stream encoder, so clips look exactly like what viewers saw.

How much memory the buffer uses

The buffer holds encoded video, not raw frames, so its size follows bitrate. In the 33.0.1 source, OBS estimates memory as replay seconds multiplied by the combined video and audio bitrate, converted to megabytes. Two worked examples using that formula:

Calculated with the estimate formula in OBSBasicSettings.cpp, OBS Studio 33.0.1.
Replay timeVideo plus audio bitrateOBS estimate
120 seconds6,000 + 160 Kbps88 MB
300 seconds12,000 + 160 Kbps434 MB

OBS treats 75% of your installed memory as the recommended maximum, and shows a warning when the estimate passes it. On a 16 GB machine that ceiling is about 12 GB, far above what most clip lengths need. The 8,192 MB cap some older guides quote is only the settings file's starting maximum; the 33.0.1 code replaces it with the 75% figure.

OBS can only calculate the estimate when the encoder runs at a fixed target bitrate. In Advanced mode that means CBR, VBR or ABR rate control. In Simple mode it means Same as stream. With a quality-based mode such as CQP or CRF, OBS shows Cannot estimate memory usage. Please set maximum memory limit, and the Maximum Memory box appears.

Why a saved replay is shorter than you set

This one surprises people. When Maximum Memory is in use, the buffer drops its oldest footage as soon as either limit is reached, time or memory. A busy, detailed scene in quality mode produces more data per second than a static menu, so a 512 MB cap can fill before Maximum Replay Time does. The clip comes out short, and how short varies with what was on screen.

Raise Maximum Memory until clips reach full length, or switch the recording encoder to a bitrate-based rate control so time alone decides. A replay also starts only when the buffer started, so a save 30 seconds after pressing Start Replay Buffer holds at most 30 seconds.

Start it automatically

Settings, General has Automatically start replay buffer when streaming, and Keep replay buffer active when stream stops, so the buffer follows your stream without a separate click. Both stay greyed out until Enable Replay Buffer is ticked, and the second also needs the first.

When the replay buffer is greyed out or won't save

  • Simple mode at Lossless Quality, Tremendously Large File Size: the buffer is unavailable. Pick another Recording Quality.
  • Advanced mode with Recording Type set to Custom Output (FFmpeg): OBS says Replay Buffer cannot be used when recording type is set to Custom Output (FFmpeg). Switch to Standard.
  • Advanced mode with a lossless rate control on the recording encoder: the replay buffer settings are disabled.
  • Recording paused: OBS warns that replays cannot be saved while recording is paused. Resume first.
  • Failed to start replay buffer: OBS couldn't start the output. The message underneath gives the reason, and the OBS log records the details.

Play a replay back on stream

OBS ships a script for this. Open Tools, Scripts, choose Add Scripts and pick instant-replay.lua from OBS's bundled scripts. Its description says the Instant Replay hotkey saves a replay and plays it in a media source as soon as it's ready. Choose a Media Source in the script's settings, then bind Instant Replay in Settings, Hotkeys. The buffer has to be running, or the script only logs a warning.

Replay buffer or full recording

A full recording keeps everything and lets you cut later, at the cost of disk space. The replay buffer keeps only the moments you choose, as you play. If you stream to Twitch, viewers' clips and Twitch's own saved broadcasts are separate again, covered in the Twitch VODs and clips guide.

Our view: use the buffer with a Save Replay hotkey if you only want highlights, because it spares you scrolling through hours of footage afterwards. If you can't tell when the good moments will come and have the disk space, record in full. You can run both at once, since they share the recording encoder.

Replay buffer questions

How long is an OBS replay?

Up to Maximum Replay Time in Settings, Output, which new profiles set to 20 seconds and which accepts anything from 5 seconds to six hours. If Maximum Memory is showing, the clip can end sooner when that memory cap fills first. A replay also can't reach further back than the moment you started the buffer.

Why can't I use the OBS replay buffer?

OBS disables it at Lossless recording quality in Simple mode, when the Advanced Recording Type is Custom Output (FFmpeg), and when the recording encoder uses lossless rate control. Change the setting that applies and Enable Replay Buffer becomes available again. If it's enabled but nothing saves, check that you pressed Start Replay Buffer.

Where does OBS save replay buffer clips?

In the Recording Path set under Settings, Output, the same folder as normal recordings. OBS has no separate replay folder setting. Clip names follow your filename formatting with the replay prefix, Replay by default, added to the front. The status bar shows the full path each time a clip is saved.

Does the OBS replay buffer use a lot of RAM?

It stores encoded video, so usage follows bitrate rather than resolution. OBS's own estimate for 120 seconds at 6,000 Kbps video plus 160 Kbps audio is 88 MB. Five minutes at 12,000 Kbps is about 434 MB. OBS warns only when the estimate passes 75% of your installed memory.

How do I turn on the OBS replay buffer?

Tick Enable Replay Buffer in Settings, Output, set Maximum Replay Time, then choose Start Replay Buffer in the Controls dock.

Why does Save Replay do nothing in OBS?

The buffer isn't running. The Controls dock button has to read Stop Replay Buffer before a save works.

Why is my saved OBS replay shorter than I set?

Maximum Memory filled before Maximum Replay Time, which happens with quality-based encoding on busy scenes. Raise the memory limit or use a bitrate-based mode.

Can OBS show a replay on stream instantly?

Yes, with the bundled instant-replay.lua script. Bind its Instant Replay hotkey and choose a Media Source in its settings.

Can the OBS replay buffer start with my stream?

Yes. Tick Automatically start replay buffer when streaming in Settings, General.

Can I save a replay while recording is paused?

No. OBS says replays can't be saved while recording is paused. Resume first.

Sources and checks

8 sources, checked November 15, 2026

Platform and app documentation changes. These sources were checked on the dates shown.

WaveSync app and source checks cited on this page:

  • OBS Studio 32.2.2 replay buffer labels (Enable Replay Buffer, Maximum Replay Time, Maximum Memory, Estimated memory usage, the memory warnings, Replay Buffer Filename Prefix, Suffix, Start Replay Buffer, Stop Replay Buffer, Save Replay), the lossless and Custom Output (FFmpeg) limits and the Hotkeys page, read from the installed app on the WaveSync test Mac on 5 November 2026.
  • OBS Studio 33.0.1 source read on 15 November 2026: labels in en-US.ini; spin box ranges 5 to 21600 seconds and 20 to 8192 MB in forms/OBSBasicSettings.ui; defaults RecRBTime 20, RecRBSize 512, RecRBPrefix Replay in OBSBasic.cpp; estimate formula, 75% of installed memory maximum, CBR/VBR/ABR and Same as stream conditions in settings/OBSBasicSettings.cpp; max_size_mb passed only without a bitrate in AdvancedOutput.cpp and SimpleOutput.cpp; time or size trimming in obs-ffmpeg-mux.c; replay saved to the recording path and format; instant-replay.lua description and hotkey.
If you also stream on TikTok LIVE

WaveSync makes the interactive side easy

WaveSync plays sounds, runs games and reads chat aloud when viewers send gifts or type a command. Every setting is a click or two away, and the Free plan needs no card.

See how WaveSync works →