Question / Help Can I get some dev recommendations for my settings?

OhCoolStoryBruh

New Member
I've tried numerous combinations of settings in both OBS Studio and Classic. However, no matter what I've tried so far, my Twitch broadcast appears to lag for my viewers despite not dropping any frames in-game and having minimal to no FPS drops reported by OBS. I'm able to use NVIDIA Shadowcast excellently with no problems at 1.5mbps bitrate and 480p resolution. Despite trying to use these exact settings while adjusting other options (such as Process Priority, CPU Usage Preset, and setting Keyframe Interval to '2', I'm still unable to have a good looking stream for my viewers.

I would stick to Shadowcast, but it is very limited in outside plugins, which is something I love about OBS and which makes me want to continue trying to use it.

After all this trial and error, I'm left frustrated with my inability to provide a good stream with OBS despite having no issue with NVIDIA Shadowcast. I'm hoping a dev or other OBS project member could go through my log file and offer me any solutions to my problem. I am currently on an MSI Ge62 Apache Pro Laptop and the game I am most concerned with streaming is Rocket League if that information also helps. Thank you in advance for taking the time to help me out.
 

Attachments

  • 2016-10-28 19-46-32.txt
    12.4 KB · Views: 26

HeyArnoldUK

New Member
your recording setting needs to be on RGB not NV12 also try using bicular setting not Lanczos.. turn your fps to 30fps and turn it up to 720p.. bitrat should 3500 to 4000kbps depend on your upload speed.. mine is 12mbps upload so mine is 4000kbps.. your streaming preset should be on ultra.. the faster it is the less cpu is uses.. and keyframe interval is 2 for twitch and 3 for youtube live streaming
 

RytoEX

Forum Admin
Forum Moderator
Developer
your recording setting needs to be on RGB not NV12 also try using bicular setting not Lanczos.. turn your fps to 30fps and turn it up to 720p.. bitrat should 3500 to 4000kbps depend on your upload speed.. mine is 12mbps upload so mine is 4000kbps.. your streaming preset should be on ultra.. the faster it is the less cpu is uses.. and keyframe interval is 2 for twitch and 3 for youtube live streaming
RGB is really only useful for lossless recordings. It should not be used for streaming.

Twitch recommends about 2500 Kbps for non-partners, and they also recommend not going above 3500 Kbps for video for non-partners. Anything over 3500 Kbps is not designed to be handled properly by their system, and could result in disciplinary action.

The log shows they're streaming to Twitch and that their Keyframe Interval is already set to 2.


@OhCoolStoryBruh
In your log:
19:50:01.502: Output 'adv_stream': Number of skipped frames due to encoding lag: 11 (0.2%)
19:50:01.502: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 287 (5.6%)
[...]
19:51:38.039: Output 'adv_stream': Number of skipped frames due to encoding lag: 1427 (27.9%)
19:51:38.039: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 455 (8.9%)
[...]
19:56:18.268: Output 'adv_stream': Number of skipped frames due to encoding lag: 372492475 (26.1%)
19:56:18.268: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 878 (16.1%)
Your PC is struggling to keep up with encoding and rendering before it even gets to the streaming part. I would also recommend changing your FPS to 30 and keeping your encoder preset at veryfast (default) instead of anything lower. Aside from that, you could lower Rocket League's graphics settings or make sure your laptop's power settings and graphics card settings are set for maximum performance.

19:50:41.961: Failed to initialize obs video (-4) with graphics_module='libobs-d3d11.dll', retrying with graphics_module='libobs-opengl.dll'
This line is a bit concerning. Have you had any noticeable graphics issues? Have you checked DxDiag?

Nvidia Shadowplay is a different program than OBS Studio, so I would not expect them to work the same. I'm pretty sure that Shadowplay does a lot less work than OBS to produce its output.
 

OhCoolStoryBruh

New Member
This line is a bit concerning. Have you had any noticeable graphics issues? Have you checked DxDiag?

Not sure if I used the quote right lol. But no, I have not had any noticeable graphics issues on Rocket League or any other game I've tried to play. What problem would that line represent?

Also, my laptops power settings plan is set to Gaming as I have searched through multiple links from Google searches and could find nothing comparing the Gaming plan to the High Performance plan, so I stuck with Gaming since I didn't know which would be better. I'll try again tomorrow using the High Performance plan. As for the graphics cards settings, how would I do that? Through NVIDIA Control Panel?
 

RytoEX

Forum Admin
Forum Moderator
Developer
It's just an error that I don't think I've seen before. It seems odd to me that Direct3D 11 would suddenly fail mid-session. Run "dxdiag" from your Start Menu. See if it shows any errors.

I'm not sure about "Gaming" vs. "High Performance". The "Gaming" plan probably came with your laptop from the manufacturer/retailer. You'd have to examine the differences between the two plans to see what the differences are.

Yes, graphics card settings for you would be in the Nvidia Control Panel.
 

OhCoolStoryBruh

New Member
It's just an error that I don't think I've seen before. It seems odd to me that Direct3D 11 would suddenly fail mid-session. Run "dxdiag" from your Start Menu. See if it shows any errors.

DxDiag showed no errors, but I was not attempting to stream at the time, do you think it would be different if I ran the test while also streaming?
 

RytoEX

Forum Admin
Forum Moderator
Developer
No, that shouldn't matter. It was just an oddity. The OpenGL renderer is more resource intensive on Windows, so ideally you'd want to use the Direct3D 11 renderer and not have it fail.
 

OhCoolStoryBruh

New Member
No, that shouldn't matter. It was just an oddity. The OpenGL renderer is more resource intensive on Windows, so ideally you'd want to use the Direct3D 11 renderer and not have it fail.

Interesting. Well, I tried lowering the graphics quality on Rocket League and that seemed to solve the issue. I was hoping I wouldn't have to do that and thought maybe there would be some combination of settings that would be perfect for me, but at least I'm able to stream now haha. Thanks for your help!
 
Top