Question / Help OBS Stuttering when recording I444&RGB but is fine in NV12&I420?

LightSpeedYT

New Member
When recording in NV12 or I420, my color red is super fuzzy, and just looks really bad. I found that recording in i444 or RGB made the reds look a lot nicer. However, this caused OBS to no longer record at a steady 60fps, and it stuttered like crazy, making playback unwatchable. I'm not really sure why this is happening, so any help is appreciated.

https://obsproject.com/logs/txjahaMgTdwc2iUe
strangely, the log says RGBA, even though I was using i444.

EDIT: SOLVED my own problem lol! I just thought that OBS might be actually having a problem with the fact that i am using lossless compression; I switched to a CQP of 14 and very similar quality with no problems!!
 
Last edited:

Narcogen

Active Member
As far as I know NV12 is the only suggested color format to use for recording. Full, rather than partial, will also not look right on many displays.

Regarding performance issues:

08:36:20.292: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds
08:36:20.362: adding 23 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
08:38:08.274: adding 23 milliseconds of audio buffering, total audio buffering is now 69 milliseconds
08:46:42.889: adding 23 milliseconds of audio buffering, total audio buffering is now 92 milliseconds
08:47:32.095: adding 46 milliseconds of audio buffering, total audio buffering is now 139 milliseconds
08:55:42.969: adding 464 milliseconds of audio buffering, total audio buffering is now 603 milliseconds


This is indicative of overall system overload.

08:36:20.450: Loaded scenes:
08:36:20.450: - scene 'Scene':
08:36:20.450: - source: 'ow' (game_capture)
08:36:20.450: - source: 'world of warships' (game_capture)
08:36:20.450: - source: 'desktop 2' (monitor_capture)
08:36:20.450: - source: 'desktop 1' (monitor_capture)
08:36:20.450: - source: 'Video Capture Device' (dshow_input)


Multiple captures in a single scene (two game, two display, and a video source) are not recommended as they negatively impact performance.

08:41:50.300: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 146 (10.2%)

Sessions that show "rendering lag" mean that OBS tried to get access to the GPU to render a frame before encoding it, and could not because the GPU was busy. Fixes for this include turning Windows 10 Game Mode off if it is on, reducing fidelity in other applications or capping framerate.

08:41:50.425: Video stopped, number of skipped frames due to encoding lag: 336/1406 (23.9%)

Encoding lag means that the encoder you've chosen (either CPU or GPU) cannot process frames as fast as it needs to in order to meet the settings you've asked for. My understanding is that different color spaces may change the amount of load.

2-pass 1080p60 with CQP 0 is a lot of load.

I would also check that your drivers are up to date, and that your GPU is in the proper slot and properly seated; if not, it may not perform as well as it can.
 

LightSpeedYT

New Member
As far as I know NV12 is the only suggested color format to use for recording. Full, rather than partial, will also not look right on many displays.

Regarding performance issues:

08:36:20.292: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds
08:36:20.362: adding 23 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
08:38:08.274: adding 23 milliseconds of audio buffering, total audio buffering is now 69 milliseconds
08:46:42.889: adding 23 milliseconds of audio buffering, total audio buffering is now 92 milliseconds
08:47:32.095: adding 46 milliseconds of audio buffering, total audio buffering is now 139 milliseconds
08:55:42.969: adding 464 milliseconds of audio buffering, total audio buffering is now 603 milliseconds


This is indicative of overall system overload.

08:36:20.450: Loaded scenes:
08:36:20.450: - scene 'Scene':
08:36:20.450: - source: 'ow' (game_capture)
08:36:20.450: - source: 'world of warships' (game_capture)
08:36:20.450: - source: 'desktop 2' (monitor_capture)
08:36:20.450: - source: 'desktop 1' (monitor_capture)
08:36:20.450: - source: 'Video Capture Device' (dshow_input)


Multiple captures in a single scene (two game, two display, and a video source) are not recommended as they negatively impact performance.

08:41:50.300: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 146 (10.2%)

Sessions that show "rendering lag" mean that OBS tried to get access to the GPU to render a frame before encoding it, and could not because the GPU was busy. Fixes for this include turning Windows 10 Game Mode off if it is on, reducing fidelity in other applications or capping framerate.

08:41:50.425: Video stopped, number of skipped frames due to encoding lag: 336/1406 (23.9%)

Encoding lag means that the encoder you've chosen (either CPU or GPU) cannot process frames as fast as it needs to in order to meet the settings you've asked for. My understanding is that different color spaces may change the amount of load.

2-pass 1080p60 with CQP 0 is a lot of load.

I would also check that your drivers are up to date, and that your GPU is in the proper slot and properly seated; if not, it may not perform as well as it can.

huh. the obs log is showing all kinds of wierd. heres the latest log: https://obsproject.com/logs/j2vuytBx8AxHkcJf (everything looks good, no lag/stuttering) But i assure you that i only have 3 sources on (
1548428761463.png
) and my gpu is defenitely performing fine! (https://www.userbenchmark.com/UserRun/14083583) but thanks for your help! overall my recordings are looking much nicer now. However, I have one more question. Is it possible to record the video and audio to two completely different files? For some reason, davinci resolve doesnt detect any video from my recordings; i tried all sorts of different containers. However, i read somewhere that importing the video and audio seperately fixed this--is this possible to do in obs?? If not then i guess ill have to use a different editing software :(
 

Narcogen

Active Member
Not as far as I know, no. You'd have to record audio separately and then sync it in your editing program.

You should be able to record multitrack audio in MKV and then remux it to mp4 with OBS (from the File menu) afterwards. I have imported these files into DaVinci and FCPX and they work. Just make sure you've assigned the tracks the way you want in the mixer.
 
Top