Has anyone been able to record stable 8K using OBS?

ClunkTheBand

New Member
There is thread on here where another user tried to figure this out, but the results seemed inconclusive. Though they did point out that NVIDIA Shadowplay has no issue doing it (so why can't OBS?)

Our scenario is that we're trying to record our studio from multiple angles in order to make a music video. So far we have four seperate 4K cameras feeding in through HDMI and a CamLink Pro, arranged in a 2x2 grid that comes out to a 8K resolution. All of that is working just fine. The issues arise once we press record. So far it's proven impossible to get a stable framerate under a variety of different settings. We've done A LOT of tests. Some details:

* Our graphics card is a 1660 Super, which has the latest generation of NVENC chip
* We're using h.265 since h.264 can't go higher than 4K and ProRes has absurd file sizes
* We're recording using the Lossless preset, which puts the least stress possible on the encoder
* We have a solid state drive

And yet we drop frames.

Nothing within our setup is bottlenecking, and yes we're running OBS as administrator and all our drivers and firmwares are up to date. When I say we're "not bottlenecking" I mean we're not even close. In a lot of our tests, were dropping frames when the CPU/GPU loads are like 27% and 45%. Plenty of headroom. So that makes me think the issue is something with either OBS or possibly the FFmpeg settings. Though I lean towards OBS because we got choppy frames even when I reset OBS and chose their built-in lossless setting (no advanced encoder settings.) In theory, that should be the cleanest slate and lightest load possible (since lossless does the least compression work.) But it still dropped frames.

It just doesn't follow logically that this doesn't work. It should be simple. If Shadowplay can record 8K at 30 frames while someone plays some 8K game or maybe even streams simultaneously then why can't OBS handle recording some simple camera inputs, while we're running no other programs? The PC is just sitting there with 27% CPU load and dropping frames. Very frustrating.

Here is the log file from our latest round of tests - https://obsproject.com/logs/wSPPyuMRZ3QzrgV6 The first two are where we attempted 8K. The rest are where we downscaled to 4K (which also didn't work.)

If anyone has any experience recording 8K, or any advice at all, it would be very appreciated.
 

Tomasz Góral

Active Member
It was, you didn't draw any conclusions.
ShadowPlay uses VFR (variable frame rate) and OBS and FFMPEG do not, they use CFR (fixed frame rate), your hardware is too weak to keep the frame rate constant for 8K resolution.
 

FerretBomb

Active Member
CBR, VBR, and CQP deal with bitrate.
CFR and VFR deal with whether the framerate is supposed to be constant, or is adaptable.

That said, Shadowplay is MUCH lighter-weight as it doesn't do any significant amount of compositing, and has access to nVidia's "secret sauce" back-end proprietary code that allows it to have near-zero-cost framebuffer access. It's barest-bones functionality with direct proprietary access. Yes, it's going to perform better in extreme situations. But it's limited in doing anything other than precisely the one thing it does. OBS has far more functionality, so more overhead involved.

10:45:06.962: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 198 (26.9%)
10:45:06.963: ==== Recording Stop ================================================
10:45:06.963: Video stopped, number of skipped frames due to encoding lag: 623/677 (92.0%)
Your logfile shows a significant amount of rendering lag, which means that each frame was not able to be composited in time to be delivered to the encoder.
It also shows a 92% encoding lag rate, which means that the GPU is being overwhelmed entirely for some reason.

My first suspicion would be that you could be flooding out your PCIe bus. Make sure your GPU is running in x16 mode (using a tool like GPU-Z and simulating some load with the button in-program so the card doesn't drop its connection speed down to an idle state). Lossless recording will also make this MUCH worse, as while it lightens the GPU encoding load (which a Turing NVENC core should be able to handle) it MASSIVELY increases the filesizes and throughput required. I'd go with the Quality preset (NOT Max Quality!), though the Performance or Max Performance presets could also be worth testing.
 

ClunkTheBand

New Member
OBS has far more functionality, so more overhead involved.
Good point.
you could be flooding out your PCIe bus. Make sure your GPU is running in x16 mode (using a tool like GPU-Z
Turns out we were running in x8...thank you so much!
Lossless recording will also make this MUCH worse, as while it lightens the GPU encoding load (which a Turing NVENC core should be able to handle) it MASSIVELY increases the filesizes and throughput required.
Interesting. Tomorrow we're going to run more tests and let you know what we find

Thanks again for a great reply
 
Top