Question / Help Massive dropped frame rate

keybounce

Member
I am getting a very large dropped frame rate.
Log file (current session): https://gist.github.com/9eab1b3292060750fdfb

I have OBS generally in the 75% CPU zone, so there's about 25% spare CPU for it.
Total CPU never gets high -- idle time is over 50% 100% of the time.
Right now, for example, OBS is 54% (of one CPU) and idle is 84% (all cores).

Bandwidth: total output bandwidth is around 300 KB/s (as observed by using backblaze backup). I have it set for 1700, and actual is around 200 KB/s. I see the dropped frame rate go up even with nowhere near the bandwidth limit being hit.

Help? I have no ideas what's going on.
 

dodgepong

Administrator
Community Helper
Why did you set the x264 preset to slower? Change that back to veryfast. And why is the keyframe interval set to 5? You've got some really weird settings in that log.
 

keybounce

Member
I had the x264 set to "slower" because I figured that would mean "spend more CPU time to try to get a better quality compression". On "veryfast", the image on the stream or recording looks terrible.

Keyframe of 5 is an attempt to deal with Twitch wanting keyframes no more than every two seconds, preferrably every second -- as long as I'm dropping frames, I want to send lots of keyframes to be safe and get keyframes to twitch fast enough.
 

dodgepong

Administrator
Community Helper
The thing about slower is that, yes, it will spend more time on the CPU trying to make it look better, but it will MASSIVELY MASSIVELY MASSIVELY increase your CPU usage. And with a keyint of 5, it will definitely look bad.

You should definitely leave the keyframe interval at the value that it should be assuming zero frame drops. Increasing the keyframe interval to account for frame drops is a bad idea. Fix the frame drops, don't degrade your picture quality.

Here is a thread all about fixing dropped frames: https://obsproject.com/forum/threads/dropped-frames-disconnecting-lag-read-this-first.8870/
 
Top