Question / Help Choppy/Fuzzy Local Recording While Streaming

purposeplays

New Member
I don't have access to the log file currently as I've done some recording since, but I will be streaming again this Sunday to hopefully generate and upload one to help with this topic. Will add after I generate it.

I've noticed something strange about my local recording quality. It seems that when I'm both streaming and recording locally I'm getting little hiccups in the local recorded video and some slight problems with video quality. Everything is smooth enough so the quality issue itself takes a back seat here, but occasionally for about a half second to a second the video will drop in frame rate or "freeze" frame (audio continues normally). I'm not sure what's causing this. Sometimes things will play smoothly for 30 minutes or more, other times I'll get a series of these little freezes / frame jitters in the same 5 minute period.

I'm recording / streaming on a laptop system while playing the game titles externally on a desktop rig. I don't think the desktop specs come into play here, but I will list them regardless along with the laptop specs and the settings I'm using for streaming / recording in OBS. I'm fairly new to this and don't fully understand all the settings within the streaming / recording sections, but I feel like my hardware should be more than up to the task I'm presenting it unless I've really misunderstood something. Please advise if there are any obvious things I can update to better handle things. The hiccups also occur, although MUCH less frequently if at all, when I'm not streaming and solely recording, but maybe once in a two hour session if at all.

Desktop:
i5-6500 @ 3.20GHz
16GB DDR4 memory (pretty sure it's 2133 or less)
Strix Edition GTX 1060 6GB

Laptop:
i7-7700HQ @ 2.80GHz (should clock up to 3.80GHz when needed, though I don't think it ever reaches that)
8GB DDR4 memory (pretty sure it's 2400)
GTX 1050Ti 4GB
incoming video captured with Elgato HD60s (mirrored off main desktop rig, should be latency free)
recording to a standard laptop mechanical drive (could record to SSD but I'd prefer not to)

Stream Settings:
Input is 1920x1080 @ 60fps
x.264 encoding re-scaled to 1280x720
CBR @ 4500 bitrate (would push it a bit higher but upload speeds are flaky)
0 keyframe, veryfast preset

Recording Settings:
Input is 1920x1080 @ 60fps
3 audio tracks
MP4 container using NVENC h.264 encoding
CBR @ 15000 bitrate
0 keyframe, default preset, main profile, auto level
two pass encoding
2 b-frames

Other Considerations / Items:
There is a Logitech c920 face cam involved using a chroma key filter but I'm unsure it's affecting the issue here. I don't think it has hardware encoding onboard, so I assume it's piggy backing on the x.264 encoding, which is handled by CPU and thus shouldn't be interfering with the local recording under the NVENC GPU encoding. Please educate me if this assumption is incorrect.

One of the three audio tracks in the local recording is the merged voice audio and game audio track from the stream. Could this be somehow linking timing or throwing things off? If so I can drop it entirely, I just got tired of selecting audio tracks in VLC player when reviewing things, I suppose I could create another paired audio track that isn't recorded locally.
 

purposeplays

New Member
I have a log file from a recent recording I did, the stream was fairly smooth with minimal dropped frames but the local recording seems to have several video stutters that I had discussed previously. Any suggestions / assistance would be appreciated. It seems to only be a major issue when streaming and recording simultaneously and as previously stated the game play is happening on another system to ensure there are enough resources available to stream / record.
 

Attachments

  • 2018-05-15 17-47-44.txt
    21.3 KB · Views: 6

purposeplays

New Member
bump

could really use any advice at all, it feels like I've got the settings correct based off a lot of other suggestions. I don't think a 15,000 bit rate with CBR is pushing my hardware, or at least it shouldn't be.
 

purposeplays

New Member
After picking apart the log files from a few different recordings and streams I can clearly see there's encoding lag while using NVENC. That's obviously why I see stutters appearing here and there throughout my recorded videos. The question is, why do I get encoding lag when I'm using a separate system to record and stream? The streaming is handled by the CPU on x.264 and the recording is handled by the GPU using NVENC. I'm in the process of testing things with CQP instead of using CBR like I was initially, but even at 720p I got a total of 60 dropped frames due to encoding lag on the local recording during my first 30 minute test of CQP. I'm not quite understanding where I can reduce overhead aside from dropping to 30fps, but from what I've read the card should be able to easily manage 60fps if I'm not playing a game on the system at the same time.
 
Top