Question / Help Can't quite get 30fps Please Help

Beffers

New Member
Hello hive mind!!! I've been fiddling with streaming creative (via display capture with overlays and webcam) as well as a game stream via an Elgato HD 60S. I am aware of the lack of direct input for the Elgato, so I've been using display capture with a crop to capture the Elgato Game Capture software age. My audio sounds great, and I don't appear to have any syncing issues between the HD 60S and my webcam/mic, which is great. However, I have tried about 15 different settings and done test streams and while I've seen improvements, I haven't been able to steadily stream a game from a console at 30 fps. I did a 2 hour stream last night with Breath of the Wild on a Switch and was holding at about 22-25. I've attached the log for that stream. I am currently only working with the "Game" Scene, as I am going to reformat the other scenes that I have to match the "Game" scene if I can get it working.

Settings for Log attached:

Video Bitrate: 1500
encoder x264
Audio bitrate 128
Base Res: 1280 x 720
Output Res: 1024 x 576
Downscale: Bilinear
FPS: 48 (i noticed that when I set the fps to 48 instead of 30 I was able to get a slightly higher FPS, and at times it got pretty close to 30)
Rate Control: CBR
CPU Usage: ultrafast

I'm at the point where I've tried a few configurations that have yielded somewhat similar results (i have been able to stay in the green with 1500, 2000, 2500 and even 3000 bitrate, but am unclear as to how that effects FPS, if at all), and my googling isn't resulting in anything super helpful anymore....

My Computer:

MacBook Pro (Retina, 15" Mid 2015)
2.2 GHz intel core i7
16 GB 1600 MHz DDR3
Intel Iris Pro 1536 MB Graphics Card

Other things:

I am using SwitchRes X to change my display from 16:10 to 16:9, I am NOT sure if this is bogging down my system or not, should I just stay with the 16:10 base resolution? I have read here in these forums that setting the base resolution to the same as the output helps a lot, and I did a test converting my display to 1280 x 720 and outputting to 1280 x 720 and it made a negligible difference when I test streamed. In the log attached, I downscaled to 1024 x 576 for shits and giggles and while the quality somewhat diminished on the picture, I appeared to be running a slightly higher framerate. Ideally, I'd like to do 720p30fps if possible.

I am working on getting a hardwire internet connection, however I live in Chattanooga and my WiFi is really good. I have 1gig wifi, and have never appeared to have any speed issues. I need to have my router moved to a different room and I wanted to make sure that it was worth it do so before I made that move.

I tried streaming just with the Elgato Game Capture, and I was able to get the game video to appear to run 720p30, the game stream looked AWESOME, BUT my vidcam and mic were very out of sync and from what I can gather, the software isn't sophisticated enough to be able to add a delay. So from what I'm guessing it's the display capture in OBS that's causing some laggy/low FPS issues?

While streaming, I am ONLY running OBS, Game Capture and my Chat Window/Chrome.

Any advice would be greatly appreciated. At the end of the day, I am working on getting a PC, I have a friend looking to sell one he built and it has great specs, but he's not quite ready to sell and I was hoping to get my macbook to run at least smoothly, even if it's a slightly lower quality stream. Thank you so much!!!!

Link to stream associated with the log:
https://www.twitch.tv/videos/231502336

EDIT: I Uploaded the wrong log. Correct Log attached.
 

Attachments

  • 2018-02-21 20-33-56.txt
    47.7 KB · Views: 16
Last edited:

Narcogen

Active Member
According to the log:

23:02:26.490: Output 'simple_stream': Total drawn frames: 162032 (344825 attempted)
23:02:26.490: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 182793 (53.0%)

Basically your Intel GPU cannot keep up. It looks like you're doing just about everything you can to reduce load (low resolution, low framerate.

Generally speaking nobody suggests wifi for streaming no matter how good it is, but I do not think this is your problem here.

Out of curiosity, if you just run some other app on the Macbook-- not Elgato's software, just something else, some old game or something, do you get a similar issue?
 

Beffers

New Member
So last night for shits and giggles, I deleted all of my other scenes except game scene, made my starting soon image a separate screen and made a few changes to bitrate (went up to 2500 and did base and output res to 720) and was able to run a constant framerate of 30. The playback on the stream had a bit of choppiness, but! the quality of the image was definitely better and despite a moment of bitrate drop and 128 dropped frames during that time, (I'm definitely gonna figure out how to hardwire my internet this weekend) it went surprisingly smoothly.... was holding steady at 30fps and at about an 8-12% CPU usage. Here is the same info from my newest stream:

21:26:57.149: Output 'adv_stream': Total frames output: 273513 (273641 attempted)
21:26:57.149: Output 'adv_stream': Total drawn frames: 273673 (273693 attempted)
21:26:57.150: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 20 (0.0%)

This macbook setup is temporary and I have JUST started streaming, so I don't need it to be super perfect, I want to do it as well as I physically can, but I am resigned to getting a PC in the very near future here.

To answer your question: if I was doing a creative stream on the old set up (meaning the settings from the original log) and was just doing full display capture, no cropping and running PS or using quicktime to capture my ipad screen, I was still at 22 fps or so. It didn't matter if it was Elgato Game Capture that was running or just the desktop.

Thank you so much for your reply!!! I really appreciate it!
 

Attachments

  • 2018-02-22 18-53-32.txt
    5.4 KB · Views: 29
Top