r/obs • • 4d ago

Answered Encoding overloaded (solved?)

"Encoding overloaded! Consider turning down video settings or using a faster encoding preset."

TL;DR

I kept Base (Canvas) Resolution at 1080p, changed Output (Scaled) Resolution to 900p, then set Rescale Output to 1080p. Both with Bicubic 16 samples.

For context, I got this immediately every single time I started a new recording in OBS. I do not stream, I do long form videos and shorts for YouTube and TikTok.

My current (working) settings are as follows:

VIDEO

-- General --
Base (Canvas) Resolution: 1920x1080 (16:9)
Output (Scaled) Resolution: 1600x900 (16:9)
Downscale Filter: Bicubic (Sharpened scaling, 16 samples)
Common FPS Values: 60

OUTPUT

-- Recording Settings --
Recording Format: Matroska Video (.mkv)
Video Encoder: NVIDIA NVENC H.264
Audio Encoder: FFmpeg AAC
Rescale Output: Bicubic (Sharpened scaling, 16 samples) | 1920x1080

-- Encoder Settings --
Rate Control: Constant QP
Constant QP: 20
Keyframe interval (seconds, 0=auto): 0 s
Preset: P5: Slow (Good Quality)
Tuning: High Quality
Multipass Mode: Two Passes (Quarter Resolution)
Profile: high
Look-ahead: Checked
Adaptive Quantization: Checked
B-Frames: 2

I have tried nearly every combination and I kept getting the warning immediately. It didn't matter if I changed rate control to Constant Bitrate, unchecked Look-ahead or Adaptive Quantization, lessened the Constant QP/Bitrate, changed the video encoder to HEVC or AVI, etc. What removed the warning was changing the output scaled resolution to 900p, and then setting rescale output to 1080p.

It was a rare situation when it froze on me, usually there's a chance during a more demanding PC game. Interestingly, I noticed it even did that occasionally when capturing from Switch or Xbox via elgato. I recorded Ocarina of Time and I had no issues, but then it seized up for maybe :30 while recording GTA VI. Thankfully it wasn't anywhere crucial and I didn't lose the entire recording being that I output in Matroska, I was able to edit that portion out and carry on.

OBS never freezes the image per se, but I did notice the program itself flashing/blinking very quickly on occasion. I made a mental note to check that portion of the video when finished and my assumption was right. The quick OBS blinks were when it froze the gameplay for about :30, but then it recovered and was fine after.

From the settings I had then to now, what changed were the Output (Scaled) Resolution and Rescale Output resolution. With that being said, I don't see the warning anymore, which would display instantly, but then go away after a few seconds. According to the stats, I still have rendering lag, but encoding lag is nonexistent. I will chime in again if I notice any anomalies, because I haven't had the time to do a full gameplay video since "fixing" this. I'm just happy after years of seeing that warning, it's gone (for now).

My PC Specs:

Intel Core Ultra 7
32GB RAM
RTX 5060Ti (16GB VRAM)

My old PC would produce the same error which was a 1660Ti and a decade old processor. I would like to think my newer PC would be capable of capturing when my older PC was able to do it. I also assume capturing from a console would be overall less taxing than recording in OBS while playing a Steam game at the same time?

I also personally don't try to play games on Ultra settings, I usually shoot for something medium-high settings. A lot of times my eye balls cannot tell the difference from running games at 80% to 98% GPU utilization, so my brain says the trade off of slightly better visuals is more placebo than some major leap. To each their own, but I don't need to max out my hardware at Ultra settings or 2K/4K when the monitor is 3ft from my face. I also assume the less demanding a game is the better OBS will perform? I am perfectly fine at 1080p or lesser visuals at a higher resolution as long as I can maintain steady FPS at 60/90/120Hz. My eyes prefer more atmospheric elements like weather, lighting, shadows than higher pixel count when it's so close. I don't care much for Lumen, Nanite or Ray Tracing.

Also, outputting at 1080p means smaller file sizes, quicker edits, renders and upload times.

5 Upvotes

7 comments sorted by

2

u/skilletjlcskilletjbc 4d ago

Wait, you're upscaling from 900p canvas back to 1080p on output? That's wild but if it works it works. That flicker you described is probably the encoder choking on a frame then catching up, I've seen the same when the GPU gets tapped out.

Your specs should crush 1080p60 recording no problem, so even console capture causing hiccups makes me think it's more about how OBS and the game fight for GPU time. Have you tried running OBS as admin? Windows sometimes starves it of resources otherwise. Also curious what happens if you cap your in-game framerate instead of letting it run uncapped, that alone fixed weird stuttering for me.

1

u/thegametb 4d ago

I have tried the admin compatibility approach. It's hard to tell, because it's not a guarantee every time. Which is good for my sanity, but bad for troubleshooting lol. I get a potential bottleneck if I'm playing something demanding natively on PC like AC Shadows, but I do not expect it when I'm capturing from elgato and that's the only thing open on my PC minus File Explorer and Notepad. We'll see if this holds up or not, hoping this weekend I can get some recordings done to test this out.

2

u/Lynnalia 4d ago

This post doesn't make sense in more than one way. I think you've simply not accounted for other factors.

outputting at 1080p means smaller file sizes

Compare to... when you were already outputting at 1080p? I'm so confused.

OBS blinks

Quite frankly this shouldn't be happening at all. Weird and concerning.

Encoder settings

If what you're seeing is encoder overload, this is your main thing to change. You don't need a Slow preset, you're already using Constant QP (which is good). I'd go to P1 and turn off lookahead, multipass, and adaptive quantization. Those being on will all add extra load and potentially add up to encoder overload. You'll still have a good quality video (CQP number is mainly in charge of that), it might just be slightly larger.

However, you're not wrong that that alone really shouldn't be causing overload. Without OBS open l, I'd open Task Manager, go to the Performance tab, go to the GPU tab, and see if the graph for Video Encode is anything above 0%. It shouldn't be. If it is, something else is encoding in the background, which might explain things.

But of course, if you actually want help rather than playing with settings randomly and hoping something works, you can always post a link to a log from a recording session from OBS directly. It has much more complete and accurate info. We're happy to help!

1

u/thegametb 4d ago

Is this what you were asking about?

https://obsproject.com/logs/V1qRyY43kq2kwXxC

1

u/Lynnalia 4d ago

Yes

One thing that stood out was that you have a filter for Nvidia Audio Effects. For reasons unknown to me, these can sometimes cause bewildering and unexpected performance issues. You may want to try removing it (not just disabling it) and see if it improves.

I do see that you're having stalls even with the lighter encode settings. This is a bit odd. I do wonder if the very large amount of VST filters added to various sources has anything to do with it (I don't think it should but it's quite possible!). If you're not using all those, it might be worth pruning them.

*aside: I had no idea the iZotope mouth de-click could work live/real-time. Do you find that useful? I considered it a while ago but found conflicting experiences for live usage vs. post production. Also got very conflicting leads on pricing :/

1

u/thegametb 3d ago

I'll have to check and see which filters I am not using and report back.

I found it less of a hassle using it in OBS than in DaVinci Resolve. It's not perfect, but I purposely didn't want to refine it too much and get words or sounds chopped up by filters.

Trying to remember years back, I think using it while editing, it would create a track, but I didn't like where it was dumping these separate tracks to. It's fine when creating since it auto inserts it in to your timeline, but God forbid you have to manually find them.

Thank you for your help!

0

u/tcdoey 3d ago

I think your keyframe interval should be 2 sec, not zero. That might intermittently choke things. This is pretty complex. If you've already solved it I won't dig in. Also, at first glance I think your rescaling pipeline is likely inefficient, but I'd have to look into it further.