Question / Help OBS increasing CPU usage after 2h+ stream

HighStyled

New Member
Hello :)
A few days ago I switched from xsplit to OBS, because it has better recording system. I livestream and I like to have a backup on my hard drive, to make some work with it for YouTube. My problem is - and I don't know if it's something rare, or just a bug in newer versions of OBS - that after a longer stream OBS just starts lagging and dropping frames. I guess the local record is the problem, because the file gets corrupted everytime OBS goes full lag.

I'm streaming in 1080p60fps (yeah, I know, technically it's awful, but I love the quality it gives and my viewers love it too :P). OBS uses around 50-60% of my i7 2600 when I start stream. After around 2 hours + OBS starts using 90-100% of my CPU. It destroys the video file, also it is so laggy that sometimes it crashes itself. When it doesn't crash, just restarting stream doesn't help. It will lag anyways. I have to shut down OBS and start it again, and after that I have no more problems for another two hours.

Is this something known or something new? I'm at work currently, when I'm back at home I can post some logs of course.

btw. I think it can be kinda important info, I'm using 2pc setup, the streaming PC is just OBS+TeamSpeak+Reaper, nothing else, so basically OBS can do whatever the hell it wants with my i7 2600. There were no problems of this kind with xsplit (but there were other problems, xsplit sucks with my avermedia extremecap) ;)

I've tested the latest beta version of OBS aswell, same problem unfortunately.

EDIT: Aight I just found a way to make sure recording to HDD creates the problem. I just found the recording splitter, I'll test it out, if it helps, I'll make sure to let you know here.

Thanks for any help guys. :)
HighStyled

http://hitbox.tv/highstyled
 
Last edited:

dayzru

New Member
Having the same CPU usage increasing.
Starting the stream with 20-30% CPU. After 4 hours streaming CPU gains 90-100%.

Video recording on/off did not help
H.264 preset medium to veryfast did not help (having "medium" was a purpose of dedicated streaming PC)
Changing FPS and bitrate did not help (720p 3500@60 and 2000@30)

Hardware I'm running OBS with:

Streaming PC:
CPU Intel Core i7-4770K @ 4.2 GHz.
Motherboard ASRock H87 Pro4
RAM 8Gb DDR3 1600MHz, Crucial CT51264BA160BJ x 2
SSD Kingston V+200 SVP200S3 120GB
HDD external 500GB firewire
Video Intel HD Graphics 4600 (for display)
Video Asus EAH4350 Silent (OBS dedicated)
Video capture AVerMedia LiveGamerHD Lite (C985) - video from gaming GTX660
Video capture AVerTV CaptureHD (H727) x 2 (external HDMI laptop 720p + camera 1080i)
Audio capture ESI Juli@
Camera Logitech C310 + Creative VFO220
Display Philips 192EL (18'')
Display mount Kromax OFFICE-3
Case ? (the old one)
Power Supply ATX Winard 700W
Operating system Win7 64x
Streaming Open Broadcaster Software x64 (OBS)
Plugins NightDev, SNAZ

Also running Avast free antivirus.

I'll try tweaking other settings and will come back here with some results.
Can't wait for the cross-platform version of OBS.

Some of log analyses say
"Slow sources detected". I really have all my external sources as global sources.

"Late frames detected (60%)" That was when I tried 60FPS.

I feel like I need a better GPU on a streaming PC. Asus EAH4350 Silent is used 99% if used as the only GPU. That's why I used internal GPU for a display.

Using less external devices could help me.

That is one of the worst log files: https://gist.github.com/anonymous/fcaf27df6f991fdb9889

I like dealing with hardware, that's why I'm having these issues )
 

dayzru

New Member
Having the same CPU usage increasing.
Starting the stream with 20-30% CPU. After 4 hours streaming CPU gains 90-100%.

Ok, I'm back with good news.

Now OBS is working well for me. I stream for 10 hours and have no problems with high CPU usage on streaming PC.

I was analyzing logs and came out with idea to improve the stream settings.

I removed the "slow device" which was "Creative VFO220". It was giving late frames.
I started using my Logitech C310 with a smaller resolution (352x288), as I almost never use that at full-screen.
I went from 60FPS stream back to to 30FPS. Now I don't have any late frames.

So now I can do 2 different quality streams with 2 instances of OBS (How: https://obsproject.com/forum/resour...-stream-and-record-at-different-qualities.74/) I'm recording video at the same time. No problems with that.

I believe, I need to get better GPU for the streaming PC to be able to stream 60FPS. That's because I have so many external devices, that are calculated with GPU.

Now the log analyzer says only this:

Multiple video cards detected (I'm fine with that, that was made for the reason)
Excessive audio bitrate (I want this. Don't want 128 with my Rode NT1)
Slower preset in use (That's OK with dedicated streaming PC)
Possible slow server (The server I'm using has 13ms ping for me)

Thank you.
And always watch your log files, all you need is there.
 
Top