How do you lower the frames missed due to rendering lag and, specifically, skipped frames due to encoding lag? (2024)

T

Ttaunt

New Member
  • Dec 3, 2022
  • #1

It's really high for me and I usually play Minecraft and even going down to 20 FPS (which is the lowest you can go without it being slow in-game) it's still lagging and I don't know why. Specifically, the skipped frames due to encoding lag is really high, it's at 20% or more on average and I only have OBS, Minecraft, and Spotify up.

.norman.

Member
  • Dec 4, 2022
  • #2

Wiki - Troubleshooting Guides | OBS

This page has moved to https://obsproject.com/kb/category/2.

How do you lower the frames missed due to rendering lag and, specifically, skipped frames due to encoding lag? (2)obsproject.com


Please post a log with your issue! Here's how...

OBS Studio creates a log file each time you run it which contains very useful diagnostic information. Without a log file, it's much harder for any support volunteers to figure out problems and your post may be ignored. To upload a log file, go to the Help menu > Log Files > Upload Last Log...

How do you lower the frames missed due to rendering lag and, specifically, skipped frames due to encoding lag? (3)obsproject.com

T

Ttaunt

New Member
  • Dec 4, 2022
  • #3

https://obsproject.com/logs/QHlfjuc5HohZYX_-

here's the log file

.norman.

Member
  • Dec 5, 2022
  • #4

i would turn off game bar and game dvr in windows settings. run obs as administrator and fix the issue where you have a game capture and a display capture in the same scene (Gaming UwU) these cause issues when in the same scene.

when you upload the next log, make sure that it is a complete session. exit and restart OBS, start a stream or recording as you would normally, allow for at least 30 seconds of streaming or recording before ending the stream/recording, then upload that log file.

T

Ttaunt

New Member
  • Dec 6, 2022
  • #5

.norman. said:

i would turn off game bar and game dvr in windows settings. run obs as administrator and fix the issue where you have a game capture and a display capture in the same scene (Gaming UwU) these cause issues when in the same scene.

when you upload the next log, make sure that it is a complete session. exit and restart OBS, start a stream or recording as you would normally, allow for at least 30 seconds of streaming or recording before ending the stream/recording, then upload that log file.

It's doing pretty good now, there was a lot of grainyness and some glitches but other wise it was find. Something else notable was that there was a second option to end stream labeled "disk delay" in parentheses. Here's the log file: https://obsproject.com/logs/mw_1GbzZa1s3aKB4

.norman.

Member
  • Dec 7, 2022
  • #6

Ttaunt said:

It's doing pretty good now, there was a lot of grainyness and some glitches but other wise it was find. Something else notable was that there was a second option to end stream labeled "disk delay" in parentheses. Here's the log file: https://obsproject.com/logs/mw_1GbzZa1s3aKB4

you still have game bar and game dvr enabled in windows. these should be turned off as it adds more workload to the GPU. you also have stream delay enabled, unless you need this for some reason you should turn it off as well. this is likely the reason you get the "disk delay" in parentheses. Settings -> Advanced -> Stream Delay.

you are also still not running OBS as adminstrator.

L

Lawrence_SoCal

Active Member
  • Dec 8, 2022
  • #7

Running OBS as Admin deals with a specific GPU priority scheduling issue (so I heard), at risk of issues if following good practice of NOT running as local admin.
I have no need to run OBS as local admin, and unless having the specific issue, i don't recommend it.
And if local admin is alternate profile, lots of OBS settings will need to be re-done, as they are saved by default in user profile space. not a big deal, but something to be aware of

.norman.

Member
  • Dec 8, 2022
  • #8

Lawrence_SoCal said:

Running OBS as Admin deals with a specific GPU priority scheduling issue (so I heard), at risk of issues if following good practice of NOT running as local admin.
I have no need to run OBS as local admin, and unless having the specific issue, i don't recommend it.
And if local admin is alternate profile, lots of OBS settings will need to be re-done, as they are saved by default in user profile space. not a big deal, but something to be aware of

you do not need to be logged in to the Administrator account on your computer to run OBS as administrator. you can simply right click on the link and select 'run as administrator' alternatively you can edit the shortcut to always run as administrator. doing so has no effect on your settings in OBS and nothing at all to do with profiles. running as administrator does allow OBS priority in the system. if someone is having issues with rendering lag or other missed frames, allowing OBS every advantage to succeed is absolutely recommended.

L

Lawrence_SoCal

Active Member
  • Dec 9, 2022
  • #9

.norman. said:

you do not need to be logged in to the Administrator account on your computer to run OBS as administrator. you can simply right click on the link and select 'run as administrator' alternatively you can edit the shortcut to always run as administrator. doing so has no effect on your settings in OBS and nothing at all to do with profiles.

1. I didn't say log on as admin to RUNAS admin
2. as for no effect on OBS settings - that isn't always true - depends on whether local user account is admin using UAC (which is silly, near worthless/pointless, imo [shared with those with cyber-security expertise]), or better practice is standard user account with separate admin account. If the later, then (RUNAS) running OBS as Admin DOES involve a different user profile ... standard Windows OS practice since at least WinNT4 (90s), if not earlier (don't recall if same with NT3.5). In case you are unaware, when using RUNAS (command line or right-click) and run an APp in an alternate security context, that app will use the user profile associated with that account.

And, if dealing with rendering/encoding issues, then sometimes, you don't have a choice (which I acknowledged).. but running as admin should be a worst-case fallback option. It is a terrible practice to make it an up-front recommendation. And, from I've seen rarely truly required if one adjust other settings appropriately. In my experience, most folks on this forum who recommend running OBS as admin, are often speaking to technically unsophisticated users and fail to mention the caveats and risks associated (or, in your case, appear to not even understand the OS implications). so definitely NOT absolutely recommended (unless one prioritizes OBS output over all else, and user is okay with risking compromising the entire OS, and therefore any personal data on it. I've read of plenty of such folks that re-install the OS fresh up once a year or more.. and for some gamers, that may be fine due to piss-poor game code causing its own OS issues.. but again, such implications should be disclosed to folks when making the recommendation or it is irresponsible, from my perspective).

We may need to agree to disagree on running OBS as admin. Otherwise, I appreciate your volunteering your time assisting on this forum

A

AaronD

Active Member
  • Dec 9, 2022
  • #10

Ttaunt said:

It's really high for me and I usually play Minecraft and even going down to 20 FPS (which is the lowest you can go without it being slow in-game) it's still lagging and I don't know why. Specifically, the skipped frames due to encoding lag is really high, it's at 20% or more on average and I only have OBS, Minecraft, and Spotify up.

Might just be a wording thing, but it sounds to me like you're turning down the framerate in the game, and you've said nothing about the framerate in OBS. Those are two different things, and the OBS one is what determines the deadline to finish each frame. Miss that deadline, and you have to drop the next one.

T

Ttaunt

New Member
  • Dec 11, 2022
  • #11

.norman. said:

you still have game bar and game dvr enabled in windows. these should be turned off as it adds more workload to the GPU. you also have stream delay enabled, unless you need this for some reason you should turn it off as well. this is likely the reason you get the "disk delay" in parentheses. Settings -> Advanced -> Stream Delay.

you are also still not running OBS as adminstrator.

I've tried turning off game bar and game DVR but it already says that game bar is turned off and I don't know how to turn off game DVR so if you could please explain that to me that would be great.

T

Ttaunt

New Member
  • Dec 12, 2022
  • #12

AaronD said:

Might just be a wording thing, but it sounds to me like you're turning down the framerate in the game, and you've said nothing about the framerate in OBS. Those are two different things, and the OBS one is what determines the deadline to finish each frame. Miss that deadline, and you have to drop the next one.

No, it isn't the game. It's perfectly fine on my side of things but when I look at Twitch while I'm playing and the VODS it's laggy. The skipped frames is also going, at some times, over 50% so I definitely think its OBS

A

AaronD

Active Member
  • Dec 13, 2022
  • #13

Ttaunt said:

No, it isn't the game. It's perfectly fine on my side of things but when I look at Twitch while I'm playing and the VODS it's laggy. The skipped frames is also going, at some times, over 50% so I definitely think its OBS

YES! There's ALSO a framerate setting in OBS. SEPARATE FROM THE GAME. Turn THAT framerate down, and the game back up if you like.

How do you lower the frames missed due to rendering lag and, specifically, skipped frames due to encoding lag? (7)

A good enough computer shouldn't need that, but it sounds like you're taxing yours.

Last edited:

You must log in or register to reply here.

How do you lower the frames missed due to rendering lag and, specifically, skipped frames due to encoding lag? (2024)

FAQs

How do you lower the frames missed due to rendering lag and, specifically, skipped frames due to encoding lag? ›

Skipped frames due to encoding lag

How do I reduce encoding lag in OBS? ›

Reduce your output resolution

If you see the message “Encoding overloaded” in OBS, your CPU is probably choking on the encoding. Consider turning down video settings. By scaling the resolution down, you're telling OBS to shrink the video before sending it to the encoder, thus putting less pressure on your CPU.

How to fix skipped frames in OBS? ›

Dropped Frames And General Connection Issues
  1. Network-related. Dynamic bitrate. Lower your bitrate. Change stream server. ...
  2. Software-related. Check your anti-virus/internet security software. Check bundled network software. Update network drivers.
  3. Hardware-related. Avoid streaming over Wi-Fi. Check your firewall/router.

What is the difference between rendering lag and encoding lag in OBS? ›

Rendering lag means that video are busy with drawing of something. Encoding lag means that encoder preset (resolution/framerate etc) is too high for this particular task and encoder cannot complete frame encoding in time.

What is the difference between skipped frames and lagged frames? ›

Lagged frames are caused by a compositor overload, and common with high GPU usage. Skipped frames occur when the encoder is overloaded, often with high CPU usage. Dropped frames occur when network issues exist and could be caused by servers or equipment.

How to fix frames missed due to rendering lag? ›

Frames missed due to rendering lag

Rendering lag is primarily caused by high GPU usage. You can see live GPU usage in Windows Task Manager or Activity Monitor in MacOS. You can reduce the GPU workload by reducing the number of videos and graphical overlays in your scenes.

How do I reduce lag in OBS? ›

Lower the Amount of Bitrate. Streamers tend to employ higher bitrates to improve video quality, which might result in missing frames. Your connection to the server may be cut if you drop too many frames. Lowering the bitrate solves the problem of missing frames, allowing OBS to avoid video lag.

How to fix choppy video OBS? ›

If you're wondering how to make OBS less laggy:
  1. Check your hardware.
  2. Lower the video's bitrate.
  3. Whitelist OBS in your security software.
  4. Switch to a stable network.
  5. Use a wired connection.
  6. Correctly configure OBS settings.
  7. Close unnecessary processes.
Jun 27, 2024

Why is OBS lowering my FPS? ›

Some OBS sources (for example browser sources, media playback or webcam access) need CPU power and rendering your scene is using GPU power. This increased load on CPU/GPU is all there, even if you just start OBS without recording/streaming. So a reduction in FPS has to be expected.

What encoder settings should I use for OBS? ›

To sum up, a working Output setting for recording would be “H. 264” for the encoder, “mp4” for recording format, “CBR” for rate control, 4000 Kbps for bitrate, “2” for keyframe interval, and “high” for the profile.

How do I make OBS encoding faster? ›

Launch OBS and go to 'Settings'. Select 'Output'. From the 'Streaming' block, change the encoder preset from 'veryfast' to 'superfast' or 'ultrafast'.

Should I use CBR or VBR in OBS? ›

The bottom line is that CBR is more consistent and reliable for time-sensitive encoding, and VBR produces higher-quality results. CBR is the best option for live streaming, whereas constrained VBR is the best option for on-demand video upload.

How do you stop skipped frames? ›

How to Fix Dropped Frames When Streaming
  1. Check the Speed of Your Internet Service. ...
  2. Improve your Wi-Fi. ...
  3. Use a wired connection. ...
  4. Close apps that can cause performance issues. ...
  5. Check your stream settings. ...
  6. Change your encoder. ...
  7. Troubleshoot your webcam. ...
  8. Upgrade your computer.
Feb 9, 2022

How do I fix frame lag? ›

Easy Fixes for Low FPS
  1. Close background processes. Use the Task Manager (shortcut: CTRL+SHIFT+ESC), then click the CPU and Memory tabs to see what's using large chunks of your CPU or RAM.
  2. Update the game. ...
  3. Update your graphics drivers. ...
  4. Search for player tweaks and mods. ...
  5. Repair your install.

Does lowering frame rate reduce lag? ›

Low fps is undesirable because it can make your games look choppy, blurry, and laggy. Low fps can also increase input lag, which can make your games feel sluggish and unresponsive. Low fps can also cause stuttering, which is a sudden drop or spike in fps that can disrupt your gameplay and immersion.

What should my OBS encoder settings be? ›

To sum up, a working Output setting for recording would be “H. 264” for the encoder, “mp4” for recording format, “CBR” for rate control, 4000 Kbps for bitrate, “2” for keyframe interval, and “high” for the profile.

Should I turn on hardware encoding OBS? ›

Hardware encoders, as opposed to the included x264 software encoder, are generally recommended for best performance as they take the workload off the CPU and to a specialised component in the GPU that can perform video encoding more efficiently.

Top Articles
Latest Posts
Article information

Author: Margart Wisoky

Last Updated:

Views: 5821

Rating: 4.8 / 5 (58 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Margart Wisoky

Birthday: 1993-05-13

Address: 2113 Abernathy Knoll, New Tamerafurt, CT 66893-2169

Phone: +25815234346805

Job: Central Developer

Hobby: Machining, Pottery, Rafting, Cosplaying, Jogging, Taekwondo, Scouting

Introduction: My name is Margart Wisoky, I am a gorgeous, shiny, successful, beautiful, adventurous, excited, pleasant person who loves writing and wants to share my knowledge and understanding with you.