CPU Spiking and Overheating MacBook Pro 2012

Gateway

New Member
Hi, I have been noticing lately that when doing FB streams of more than 20 minutes that my cpu starts to spike along with the heat on my Macbook. I was wondering what settings people where using and what I may be able to try out since at times it hovers around 20% but then spikes to 60% and higher causing video lag.

Settings are usually:

  • Stream: Facebook Live
  • Output: Advance
  • Encoder: x264
  • Rate Control: CBR
  • Keyframe interval: 2
  • CPU Usage: Veryfast
  • Profile: None
  • Tune: None
  • Audio Bitrate: 128
  • Video Base: 1280x720
  • Output Scaled: 1280x720
  • Downscaler: Bicubic
  • Framerate: 30fps

Im also using the iPhone 11 Max Pro (iPhone OBS App).

Thoughts?
 

twindux

Member
have you tried using Advanced and Hardware encoding?

Here are my settings to YouTube Live at 1080p30 fps (no scaling)

Works solidly every week.

Screen Shot 2020-10-27 at 12.56.25 AM.jpg
 

Lawrence_SoCal

Active Member
For 720p streaming, 4000 or so kpbs is plenty for bitrate
I'm not a Mac user, but I tried to stream a simple USB webcam, pre-recorded videos and a USB webcam on a 5yr old Windows gaming laptop and it choked terribly. Stream encoding is hard work, so without know your details more, I'd expect to have to optimize your system and settings for good performance. I'd expect you to have a heavily used CPU

See the pinned post on posting your logs so those far more knowledgeable can help you
Also, I'm guessing you are using the camera on the iPhone and sending that over Wi-Fi to be decoded on MacBook then re-encoded by OBS for streaming. Right? if so, ugh.. that's even more work for your CPU... just something to be aware of
It would seem to me, not knowing any better, that you are asking a LOT of an 8 yr old laptop (more than I'd expect to work without really optimizing and dropping settings... but I'm also a OBS newbie... so take other's input over mine)
 

twindux

Member
For 720p streaming, 4000 or so kpbs is plenty for bitrate
I'm not a Mac user, but I tried to stream a simple USB webcam, pre-recorded videos and a USB webcam on a 5yr old Windows gaming laptop and it choked terribly. Stream encoding is hard work, so without know your details more, I'd expect to have to optimize your system and settings for good performance. I'd expect you to have a heavily used CPU

See the pinned post on posting your logs so those far more knowledgeable can help you
Also, I'm guessing you are using the camera on the iPhone and sending that over Wi-Fi to be decoded on MacBook then re-encoded by OBS for streaming. Right? if so, ugh.. that's even more work for your CPU... just something to be aware of
It would seem to me, not knowing any better, that you are asking a LOT of an 8 yr old laptop (more than I'd expect to work without really optimizing and dropping settings... but I'm also a OBS newbie... so take other's input over mine)
the iPhone OBS app works via USB, or you can use NDI for wireless. By USB, it's a solid performer....I've gone three iPhones as cameras when we were able to shoot from the floor and much preferred the picture. Now we use the PTZ Optics camera from the balcony. More camera shots, but much less quality.

but the iPhone OBS app is great software.
 

Gateway

New Member
Thanks guys for the replies.. so a few things.

Ill work on getting a log file.

  • I use obs camera with usb, works great
  • the cpu seems to start rising sometime after like 10 minutes and I cant get it to go down.
  • I have disabled all other apps and only really have OBS and the iPhone Camera via USB working.
 

twindux

Member
I always ask this when I hear of CPU overuse...do you use Studio Mode? That is, the two views side by side in the preview space? If so, that has 100% of the time killed my CPU. But it happens early on, not 10 minutes later.

Also, on an older computer, if you're using Multiview....that can cause a bit fo extra CPU use.

I mean, another big CPU pig is rescaling, which you're not using. Also, and I'm sure you already checked this, but make sure your input devices are set to 720P before they get into your computer, so your computer doesn't have to convert. in OBS Camera, it's in the settings
 
Top