Question / Help Choppy/erratic Framerate on Captured video??

Im having issues with the framerate on my capture files, basically the video is not smooth and very chop despite me picking 60fps. Here a quick video showing the issue....

https://youtu.be/FASYHLMoh6U

for instance on the map screen where the yellow square is when im playing the game that square flashes extremely fast to the point where it doesn't look like its flashing but on the capture file it flash slowly and erratically. I have tried selecting low capture resolution but get the same problem, have captured 1440p in the past without any issues.

I have uploaded my log file for that session
 

Attachments

  • 2016-02-03-2314-47.log
    6.3 KB · Views: 19

Boildown

Active Member
23:14:53: CPU Name: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz

23:14:53: stepping id: 3, model 60, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4

23:14:53: Video Adapter: NVIDIA GeForce GTX 970

23:14:53: Using custom x264 settings: "crf=15"
23:14:53: x264: VBV maxrate specified, but no bufsize, ignored
23:14:53: ------------------------------------------
23:14:53: Video Encoding: x264
23:14:53: fps: 60
23:14:53: width: 2560, height: 1440
23:14:53: preset: veryfast
23:14:53: profile: high
23:14:53: keyint: 250
23:14:53: CBR: no
23:14:53: CFR: no
23:14:53: max bitrate: 1000
23:14:53: buffer size: 0
23:14:53: quality: 17
23:14:53: ------------------------------------------
23:14:56: Trying to hook process: retroarch.exe

23:15:45: Total frames encoded: 3090, total frames duplicated: 1636 (52.94%)
23:15:45: Total frames rendered: 1495, number of late frames: 1039 (69.50%) (it's okay for some frames to be late)

Essentially you're having problems because your CPU can't keep up. Which is because you're capturing 1440p instead of 1080p. Apparently even a 4770k can't manage this.

You have a couple good options: 1) lower your preset from Very Fast to Super Fast or Ultra Fast, or 2) try to use NVEnc encoding instead of x264.

Less good option is to downscale to somewhere around 1080p. We pretty much know that a 4770k should handle that without too much trouble, but its a shame to downscale a recording to hard drive, imo.
 
Well this is the thing, i have set the resolution to 720p ands the framerate is still choppy. Ive manage to capture 1440p in the past just fine.

Regarding using NVEnc, what settings do i need to use for that?

I think it might be another program causing the problem as if i change focus from the game i notice OBS is reporting 36fps then will jump to 60fps, im not sure whats cause obs to drop to 36fps
 
Last edited:

Boildown

Active Member
In the log you posted you were not downscaling nor using a reduced base resolution.

Set NVEnc encoding, try High Performance (HP) preset to start with, use a bitrate of around 30,000 - 50,000 kbps and a buffer of either 0 or the same as your bitrate.
 
Ok i have set a custom res of 1280x720 and have edited the scene so it fit the new resolution (720p) but the framerate is still choppy!. Also for some reason when i watch the file back the video is zoomed in and the edit scene setting i change isnt being remembers for some reason.
 
Ok im trying x264 encoding, i have run RetroArch in a windows so i can see the cpu load when capture for OBS. The CPU load is reading about 10% and the framerate is still choppy, going back to the video i posted in my first post that yellow square on the map that is rapidly flash, in the retroarch window its flashing radidly constantly yet in the obs windows it slows down so you can see it clearly flashing yet the cpu load is still only 10%.

I have a G-Sync monitor, it would be this monitor thats causing issues with OBS?
 

Boildown

Active Member
Maybe, don't hear from many people running G-Sync on these forums. Its uncharted territory. What about NVEnc like I suggested? And if you don't post new log files after your new attempts, its just guesswork trying to tell you what's happening.
 
Yeah, i tried NVEnc at 720p 60fps and still got the choppy framerate. This is another video of that capture....

https://youtu.be/gvUKtUFrW5U

you'll notice that the yellow highlighted square on the map flashes erratically when the framerate drops, ive also uploaded the log for that capture.

Even at 720p im getting these issues which just doesnt seem right, especially when i have my CPU overclocked to 4.2Ghz as well
 

Attachments

  • 2016-02-04-2239-38.log
    7.2 KB · Views: 12

Boildown

Active Member
Why are you downscaling for just a recording to disk? Just save at full resolution, that's what NVEnc is good at.

Change the keyinterval to auto and the profile to High.

I don't think those "framerate drops" has anything to do with OBS.
 
I was downscaling as you suggested that capturing at 1440p wasnt recommended!....

Essentially you're having problems because your CPU can't keep up. Which is because you're capturing 1440p instead of 1080p. Apparently even a 4770k can't manage this.

So if its not OBS then any ideas what the cause is, as it happens even at 720p resolution

I mean if i quit out of the game, when i got back to the desktop i can see OBS go from 33fps to 50 and back to 60fps, so when the game it actually loaded i think for some reason OBS to only recording at 33fps, yet it reports no frame drops

EDIT: Have just tried Monitor Capture and that mode seems to work fine, not sure why Game Capture isnt working correctly then
 
Last edited:
Ok i have sorted the issue. It would appear OBS doesnt play nice with G-Sync monitors, i just disabled G-Sync and everything worked fine, no choppy framerate.

I wonder what it is about G-Sync that causes these issues and if an option can be added to OBS?
 

Boildown

Active Member
That comment was in context of encoding with x264. NVEnc "should" be able to handle 1440p encoding a lot easier, since it offloads the CPU.

As for G-Sync, as I don't have a G-Sync monitor myself (yet), and there's hardly any posts of people using it on these forums that I've seen, I have no idea. But definitely nothing will be added to OBS Classic, maybe the Multiplatform OBS eventually. But I think this is just something that may never be able to work right without some workarounds, like cloning the display, or something.
 
Well if/when G-sync monitors become more main stream, the developers of OBS will have to include some feature, otherwise OBS will be useless to owners of these type of monitors
 

VictorBurgos

New Member
In the same boat.... GSync causes major issue with OBS recording...sad that GSync has been around for so long but no fixes are available for this yet.
 
Top