Question / Help Tips for obs streaming

Shuswi

New Member
So i have recently been streaming on obs and i have been experimenting with my bit rate and my scaled resolution i got it to a point where it looks better but still looks a bit jittery when i stream i have 4000 bit rate with 1152x648 resolution and a nvenc new encoder i have a ryzen 3 and a gtx 1050 also i have a 200 download speed and a 4 upload speed
 

carlmmii

Active Member
If you only have 4mbps upload with your ISP, then you need to use less than 4000kbps for your encoding bitrate. It's not a guaranteed throughput -- you need to account for variability in your upload speed, as well as all other processes/devices that need to upload data over your connection.

With that, it would help if you included a log file to verify that it your jitter issue is purely a cause of bitrate, or if there's another underlying problem.
 

carlmmii

Active Member
Ok, so your frame loss is nearly entirely due to your bandwidth limitation. Going to 6000kbps is definitely not possible, as you probably saw -- all attempts result in ~60% frame loss. Even your 2500kbps test had 11% frame drop, so you may need to drop even lower....

Another thing is apparently you're using wifi.
Code:
14:57:15.885: [rtmp stream: 'adv_stream'] Interface: Intel(R) Dual Band Wireless-AC 3168 (802.11, 433 mbps)
If at all possible, use a wired connection. Streaming requires a very constant connection, and even if wifi has the throughput necessary for overall speed, it does NOT have the required reliability, which can result in frame drop even at very low bitrates.
 

Shuswi

New Member
Oh ok that makes sense i will try to get a power line adapter for wired connection but thank you so much for the input but do you think you have any more tips to improve my quality
 

carlmmii

Active Member
Just a few.
- Update to the latest OBS version (25.0.1 currently)
- Run OBS as Administrator (this should help eliminate the slight rendering lag you have)
- Turn Psycho Visual Tuning off in your encoding settings (this should eliminate any further encoding lag)

Just a side note, since I see there was one test in particular in the logs... If you need to drop framerate to achieve a good enough quality for the low bitrate, then drop straight to 30fps. Don't try to use an intermediate framerate like 48fps -- this will always look jittery on playback, as it has mismatched framerate on capture, and then even more mismatched framerate on playback.
 

Shuswi

New Member
Just wondering when i get wired connection what should i use for my resolution and bit rate if i have like a 8 upload speed, and i have like 4 people on the internet but there not doing very intensive stuff
 

carlmmii

Active Member
Your first concern should be your bitrate. The only way to really know for sure is to do testing. As I said, just because you may get a reported 8mbps, that's not going to be the guaranteed upload speed that you can rely on at all times. Set your encoder bitrate to a value you want to test, and use the feature in OBS's "Stream" settings tab to perform a bandwidth test, then start a stream. This will behave just like a regular stream, but it will only go to twitch's test servers -- nothing will actually go out to your channel. Repeat until you've found where you can reliably get 0 dropped frames.

Another thing you can enable is dynamic bitrate. This is a setting in the advanced tab, which should attempt to lower the bitrate if it detects that it's having problems with data throughput.

Once you've determined what your bitrate is, then you can decide on what resolution and framerate to output with. If you're limited to below 3000kbps, then honestly your best bet would be to stick with 1280x720 at 30fps. The tradeoff between framerate and actual image quality is very subjective, but around this area the quality loss becomes very apparent, and even if it's a smooth 60fps, it's a smooth 60fps of blocky distorted blurs.

If by some chance you're limited to 2000kbps or below, then you'll probably want to experiment with different resolutions other than standard. The jump from 720p down to 480p is quite severe, but as you've found, twitch will allow you to use in-between resolutions, just as long as they're 16:9 aspect ratio.
 
Top