Really bad stream lag last night

Not sure if this was just a coincidence — I streamed last night and was dropping frames like crazy. The bandwidth bars at the bottom of OBS were red and showed only around 2000kbs. The only thing I changed for this stream was installing the Aitum plugin, but I have streaming disabled. I’m only using it for recording. Screenshots attached. Not sure if it was my ISP last night, or something about the Aitum plugin. I’ve never had issues like this before, so I thought I’d ask!
No description
No description
No description
No description
No description
No description
6 Replies
jenks
jenks4mo ago
(I don't have the log file from when I was streaming) Here is my current log https://obsproject.com/logs/hWwP2WCUBuIzo0mH I'm also using multi rtmp, but the lag was happening when just streaming to Twitch as well
MEE6
MEE64mo ago
GG @jenks, you just advanced to level 4 !
HunterAP
HunterAP4mo ago
Unless you deleted them yourself, you can still look at previous logs under Help -> Log Files -> Show Log Files This is kind of hard to follow with out many outputs you have, but here's the general recommendation: 1. For YT Streaming, use either NVENC AV1 or NVENC HEVC. Set the bitrate up to 14mbps (but that's not completely necessary) and set the preset to P1 or P2. 2. For Twitch streaming or other platforms that only accept H.264, use NVENC H.264 with 7.5mbps bitrate and preset p5 3. For recording in AV1, use NVENC AV1 with CQP rate control, a CQ value between 18-22 (lower is higher quality but takes up more disk space), and use preset P1
jenks
jenks4mo ago
Unfortunately I run a batch script to backup my stream, and part of the batch script is to clear the logs I’ll definitely try those settings though, thank you for responding Do you think there’s any reason to switch my main output to YouTube instead of Twitch, and then multi rtmp to Twitch as my secondary stream? Right now my main output is Twitch and I use multi rtmp to send to YT, but I could reverse that if there’s a benefit. Either way I can set custom encoding settings for each stream separately, but just was curious also, why p1 or p2? i'm just thrown off by the thing that says "lower quality" in those settings. I don't know much about it though Sorry to bombard -- any recommendation for multipass settings?
HunterAP
HunterAP4mo ago
Idk about switching the main / multi RTMP outputs, I don't think it'd matter much Think about presets like this: You set some sort of bitrate or quality target. Presets use more resources to make better decisions on how to use the bitrate. Presets are how efficient the encoding is When you're using AV1, you can afford to just raise the bitrate or CQ level without negatively impacting the quality or performance. AV1 is already so bitrate efficient that using higher presets is only useful if you're trying to archive files into as small a size as possible. Raising the bitrate / CQ level does not impact the encoder's performance For twitch which only currently accepts H.264, it's not an efficient codec and needs all the help it can get to look good at 8mbps, so a higher preset is recommended there
jenks
jenks4mo ago
that makes total sense, thank you for explaining that! i wonder if i should try something higher than p5 for twitch Re RTMP -- Addie had mentioned using YT as the primary if you want to upscale YT to 4K, because he said you couldn't do that in the plugin. However it does look like there's a "resolution" setting in the multi rtmp plugin, so I wonder if I could still set the resolution to 4k there and it would work the same way (But i digress) I figured something out -- i checked resource monitor and applemobiledeviceservice.exe is eating a TON of my network....i have 5gb ethernet, and a speed test was showing 100mbs up/down. I unplugged my phone from my PC and now i'm getting normal speeds again I use my phone for my webcam, but this has never happened before Update: I fixed it by unplugging my iPhone from my PC and connecting to Camo over Wifi instead of USB. Stream went great last night