OBS keeps running but stream disconnects.

Hello,

I am running a 24/7 livestream and recently after a few days the stream simply ends but OBS is still running.
Is this a congestion problem? I know the PC is rather weak.

Logs in attachement.

Thanks for looking at it!

Vivi
 

Attachments

  • 2021-04-12_21-15-01.txt
    209.2 KB · Views: 20

qhobbes

Active Member
There's certainly congestion but OBS is doing it's job, adjusting bitrate and not dropping any frames. Get the basics out of the way:
1. Run OBS as Admin. Right click on shortcut, properties, advanced, check box, ok, apply, ok.
2. Binding to a manually chosen IP address is rarely needed. Go to Settings -> Advanced -> Network and set "Bind to IP" back to "Default".
3. Change your Output Resolution to 720 and FPS to 29.97. I can't imagine what 1080 59.97 FPS at 100 kbps looks like.
4. If available, change the encoder to Quick Sync Video (QSV)

Post new log after making those changes.
 
Hi Qhobbes,
The crash has happened again. All the changes you have listed, I have done.
Log in attachment.

Thanks,
Vivi
 

Attachments

  • 2021-05-04_16-29-25.txt
    394.6 KB · Views: 18

qhobbes

Active Member
1. In Windows 10 versions 1809 and newer, we recommend that "Game Mode" be enabled for maximum gaming performance. Game Mode can be enabled via the Windows 10 "Settings" app, under Gaming > Game Mode.
21:15:01.310: Running as administrator: false
2. Run OBS as Admin. Right click on shortcut, properties, advanced, check box, ok, apply, ok.
3. Browser hardware acceleration is currently disabled. Enabling acceleration is highly recommended due to the improvements to performance and significantly lower CPU usage for browser sources. This can be enabled in Settings -> Advanced.
4. Display Capture is the last resort. Build your scene with Game/Window/Video Device Capture.

Unless you have a specific source that is 59.94 or 29.97 FPS, change your FPS to 30. If you're playing a game, cap your game FPS at 60.
 

R1CH

Forum Admin
Developer
30000/1001 means 30000 divided by 1001 = 29.97 FPS, for compatibility with legacy broadcast systems.
 
1. In Windows 10 versions 1809 and newer, we recommend that "Game Mode" be enabled for maximum gaming performance. Game Mode can be enabled via the Windows 10 "Settings" app, under Gaming > Game Mode.
21:15:01.310: Running as administrator: false
2. Run OBS as Admin. Right click on shortcut, properties, advanced, check box, ok, apply, ok.
3. Browser hardware acceleration is currently disabled. Enabling acceleration is highly recommended due to the improvements to performance and significantly lower CPU usage for browser sources. This can be enabled in Settings -> Advanced.
4. Display Capture is the last resort. Build your scene with Game/Window/Video Device Capture.

Unless you have a specific source that is 59.94 or 29.97 FPS, change your FPS to 30. If you're playing a game, cap your game FPS at 60.
1. Game mode is ON.
2. I'm now running it as admin. I wasn't before, I think.
3. I can't enable hardware acceleration, if I do my obs.ninja catcam won't function. It was having these crashes when I've had it on too, though.
4. A display capture is exactly what I'm running right now. It's not a game. It's a capture of my desktop with audio included.

Set to 30FPS.
 
you internet connection is the problem

23:35:05.829: [rtmp stream: 'adv_stream'] bitrate decreased to: 2400
23:35:15.620: [rtmp stream: 'adv_stream'] bitrate decreased to: 1300
23:35:44.617: [rtmp stream: 'adv_stream'] bitrate decreased to: 1100
23:36:14.659: [rtmp stream: 'adv_stream'] bitrate increased to: 1550, waiting
23:36:44.691: [rtmp stream: 'adv_stream'] bitrate increased to: 2000, waiting
23:37:14.705: [rtmp stream: 'adv_stream'] bitrate increased to: 2450, waiting
23:37:23.054: [rtmp stream: 'adv_stream'] bitrate decreased to: 2100

Are you sure?
I mean, I have 2 different providers connected through ethernet cable. So if one drops out, the other should take over.
 
Hello,
The crash happened again, exactly the same way.
The stream ends, but OBS is still running (and streaming).

Logfile in attachement.
Thanks in Advance,
Vivi
 

Attachments

  • 2021-05-13_17-58-38.txt
    277.2 KB · Views: 10

Tomasz Góral

Active Member
You have old PC, 2gen intel. I think that, maybe you have hardware issue ?
Check temperature on CPU.
Second, check network connection - e.g. winMTR and put address 8.8.8.8
 
You have old PC, 2gen intel. I think that, maybe you have hardware issue ?
Check temperature on CPU.
Second, check network connection - e.g. winMTR and put address 8.8.8.8
Hi,
Internet seems ok. (See attachment).

However, my CPU temperature is also ok.
I do notice my memory is at 93%, perhaps that's causing the problem?

EDIT: in task manager, my disk is at 100%. Is that abnormal? There's room enough in it though.
 

Attachments

  • WinMTR_Result.txt
    1.3 KB · Views: 2

Lawrence_SoCal

Active Member
EDIT: in task manager, my disk is at 100%. Is that abnormal? There's room enough in it though.
Task Mgr Disk utilization of 100% simply means that the disk is constantly reading/writing. That has NOTHING to do with free disk space
Could 100% disk utilization be an issue? ... maybe.. depends
The issue is disk I/O latency and queue depth. If tasks/processes are waiting for the HDD, then yes, that can cause issues. Using Resource Monitor can provide more details, but to get meaningful info you'll need to learn about what that monitor is displaying and what it means

If I recall correctly, you also only have 4GB of RAM which is on the low end, and may be cause for virtual memory disk swapping (ie extra disk I/O)

I had an even older CPU until recently (power supply went up in smoke after 10+ years). But I didn't use that for the computationally intensive tasks of real-time video encoding. One thing I did long ago was switch to SSD as they are SO much faster than HDDs, especially for OS/App drive. But on a PC of such an age as yours (9 CPU generations old), assuming that is a HDD in your system, putting money into a new SATA SSD would be of questionable value in my mind. Now, I strongly recommend SSDs, with proper care (ie always make sure 10%+ spare space) as that will amke typical overall system performance (ie Office, emails, etc) improve greatly. But for photo/video editing, real-time video encoding, or other Apps designed for current processors, that old of a CPU will almost always struggle, at best. Up to you to balance your time [to optimize the setup you have] vs available money to upgrade
 

Tomasz Góral

Active Member
WinMTR was supposed to run until there was a break in OBS.
HDD - hmm this true problem, but change for any SSD (almost any), it can improve your comfort of operation.
Increasing the amount of ram - will also help.
 
Ok, thanks guys. I will upgrade my RAM from 4GB to 8GB this week and see how it goes.
If crashes still happen I will report back with a log.
 
Top