Question / Help OBS and My internet connection

malvado

New Member
Hey all, Hope you can help me ... As the Title suggest my internet crash after sometime streaming to twitch; Sometime I can stream for hours, and others for minutes, my internet connection crashes and the only way I'm able to fix it is restarting the computer .. Maybe something wrong with the configuration? Maybe something else... Please advise ;D
Already read a couple of post so I'll send a log before ask, also if there is any other info you wish to know just ask and I will reply it; Hope you can help me; and Thanks in advance for reading me.
I had a Log from last night that seems to have more info, but it's too big to post so I paste the most recent one.

Code:
 16:06:45: Open Broadcaster Software v0.57b - 32bit (´・ω・`)
16:06:45: -------------------------------
16:06:45: CPU Name: Intel(R) Core(TM)2 Duo CPU     E7300  @ 2.66GHz
16:06:45: CPU Speed: 2666MHz
16:06:45: Physical Memory:  4095MB Total, 3115MB Free
16:06:45: stepping id: 6, model 7, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 2, total cores 2
16:06:45: monitor 1: pos={0, 0}, size={1280, 768}
16:06:45: Windows Version: 6.1 Build 7601 S
16:06:45: Aero is Disabled
16:06:45: -------------------------------
16:06:45: OBS Modules:
16:06:45: Base Address     Module
16:06:45: 01370000         OBS.exe
16:06:45: 673F0000         OBSApi.dll
16:06:45: 73D50000         DShowPlugin.dll
16:06:45: 73D30000         GraphicsCapture.dll
16:06:45: 73D10000         NoiseGate.dll
16:06:45: 73C60000         PSVPlugin.dll
16:06:45: ------------------------------------------
16:06:45: Adapter 1
16:06:45:   Video Adapter: NVIDIA GeForce GTX 650
16:06:45:   Video Adapter Dedicated Video Memory: 1020985344
16:06:45:   Video Adapter Shared System Memory: 2415489024
16:06:45: =====Stream Start: 2013-09-27, 16:06:45===============================================
16:06:45:   Multithreaded optimizations: On
16:06:45:   Base resolution: 1280x768
16:06:45:   Output resolution: 1024x614
16:06:45: ------------------------------------------
16:06:45: Loading up D3D10 on NVIDIA GeForce GTX 650...
16:06:45: ------------------------------------------
16:06:45: Audio Format: 48000hz
16:06:45: Playback device Default
16:06:45: ------------------------------------------
16:06:45: Using desktop audio input: Speakers (2- High Definition Audio Device)
16:06:45: ------------------------------------------
16:06:45: Using auxilary audio input: Microphone (2- High Definition Audio Device)
16:06:45: ------------------------------------------
16:06:45: Audio Encoding: MP3
16:06:45:     bitrate: 48
16:06:45: Using Monitor Capture
16:06:45: ------------------------------------------
16:06:45: Video Encoding: x264
16:06:45:     fps: 30
16:06:45:     width: 1024, height: 614
16:06:45:     preset: ultrafast
16:06:45:     profile: high
16:06:45:     keyint: 250
16:06:45:     CBR: yes
16:06:45:     CFR: no
16:06:45:     max bitrate: 1800
16:06:45:     buffer size: 5500
16:06:45: ------------------------------------------
16:06:45: MMDeviceAudioSource: Frequency for device 'Speakers (2- High Definition Audio Device)' is 352800, samples per sec is 44100
16:06:45: MMDeviceAudioSource: Frequency for device 'Microphone (2- High Definition Audio Device)' is 768000, samples per sec is 96000
16:06:59: Total frames encoded: 408, total frames duplicated: 16 (3.92%)
16:06:59: Total frames rendered: 407, number of late frames: 4 (0.98%) (it's okay for some frames to be late)
16:07:00: Number of times waited to send: 0, Waited for a total of 0 bytes
16:07:00: Number of b-frames dropped: 0 (-1.$%), Number of p-frames dropped: 0 (-1.$%), Total 0 (-1.$%)
16:07:00: Number of bytes sent: 0
16:07:00: 
16:07:00: Profiler time results:
16:07:00: 
16:07:00: ==============================================================
16:07:00: video thread frame - [100%] [avg time: 11.79 ms] [children: 91.3%] [unaccounted: 8.65%]
16:07:00: | scene->Preprocess - [91.3%] [avg time: 10.77 ms]
16:07:00: GPU download and conversion - [100%] [avg time: 0.729 ms] [children: 50.3%] [unaccounted: 49.7%]
16:07:00: | flush - [42.2%] [avg time: 0.308 ms]
16:07:00: | CopyResource - [6.86%] [avg time: 0.05 ms]
16:07:00: | conversion to 4:2:0 - [1.23%] [avg time: 0.009 ms]
16:07:00: Convert444Thread - [100%] [avg time: 1.465 ms] [children: 99.2%] [unaccounted: 0.751%]
16:07:00: | Convert444toNV12 - [99.2%] [avg time: 1.454 ms]
16:07:00: encoder thread frame - [100%] [avg time: 2.344 ms]
16:07:00: ==============================================================
16:07:00: 
16:07:00: 
16:07:00: Profiler CPU results:
16:07:00: 
16:07:00: ==============================================================
16:07:00: video thread frame - [cpu time: avg 5.144 ms, total 2093.75 ms] [avg calls per frame: 1]
16:07:00: | scene->Preprocess - [cpu time: avg 4.606 ms, total 1875 ms] [avg calls per frame: 1]
16:07:00: GPU download and conversion - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
16:07:00: | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
16:07:00: | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
16:07:00: | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
16:07:00: Convert444Thread - [cpu time: avg 1.669 ms, total 656.25 ms] [avg calls per frame: 1]
16:07:00: | Convert444toNV12 - [cpu time: avg 1.669 ms, total 656.25 ms] [avg calls per frame: 1]
16:07:00: encoder thread frame - [cpu time: avg 1.144 ms, total 453.125 ms] [avg calls per frame: 1]
16:07:00: ==============================================================
16:07:00: 
16:07:00: =====Stream End: 2013-09-27, 16:07:00=================================================
16:10:08: =====Stream Start: 2013-09-27, 16:10:08===============================================
16:10:08:   Multithreaded optimizations: On
16:10:08:   Base resolution: 1280x768
16:10:08:   Output resolution: 1024x614
16:10:08: ------------------------------------------
16:10:08: Loading up D3D10 on NVIDIA GeForce GTX 650...
16:10:08: ------------------------------------------
16:10:08: Audio Format: 48000hz
16:10:08: Playback device Default
16:10:08: ------------------------------------------
16:10:08: Using desktop audio input: Speakers (2- High Definition Audio Device)
16:10:08: ------------------------------------------
16:10:08: Using auxilary audio input: Microphone (2- High Definition Audio Device)
16:10:08: ------------------------------------------
16:10:08: Audio Encoding: MP3
16:10:08:     bitrate: 48
16:10:08: Using Monitor Capture
16:10:08: ------------------------------------------
16:10:08: Video Encoding: x264
16:10:08:     fps: 30
16:10:08:     width: 1024, height: 614
16:10:08:     preset: ultrafast
16:10:08:     profile: high
16:10:08:     keyint: 250
16:10:08:     CBR: yes
16:10:08:     CFR: no
16:10:08:     max bitrate: 1800
16:10:08:     buffer size: 5500
16:10:08: ------------------------------------------
16:10:08: MMDeviceAudioSource: Frequency for device 'Speakers (2- High Definition Audio Device)' is 352800, samples per sec is 44100
16:10:08: MMDeviceAudioSource: Frequency for device 'Microphone (2- High Definition Audio Device)' is 768000, samples per sec is 96000
16:12:09: Using RTMP service: Twitch / Justin.tv
16:12:09:   Server selection: rtmp://live-lhr-backup.justin.tv/app
16:12:09:   Interface: Atheros L1 Gigabit Ethernet 10/100/1000Base-T Controller (ethernet, 100 mbps)
16:12:10: Completed handshake with rtmp://live-lhr-backup.justin.tv/app in 465 ms.
16:12:11: SO_SNDBUF was at 8192
16:12:11: SO_SNDBUF is now 65536
16:12:12: RTMPPublisher::Socketloop: Increasing send buffer to ISB 131072 (buffer: 422 / 236544)
16:12:36: RTMPPublisher::SendLoop: Stalled for 2311 ms to write 27693 bytes (buffer: 0 / 236544), unstable connection?
16:12:44: RTMPPublisher::SocketLoop: Received FD_CLOSE, 46 ms since last send (buffer: 0 / 236544)
16:12:44: RTMPPublisher::SocketLoop: Aborting due to FD_CLOSE, error 0
16:12:45: Total frames encoded: 4691, total frames duplicated: 1059 (22.58%)
16:12:45: Number of frames skipped due to encoder lag: 371 (7.91%)
16:12:45: Total frames rendered: 4128, number of late frames: 189 (4.58%) (it's okay for some frames to be late)
16:14:47: Average send payload: 9998 bytes, average send interval: 41 ms
16:14:47: Number of times waited to send: 0, Waited for a total of 0 bytes
16:14:47: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
16:14:47: Number of bytes sent: 8008651
16:14:47: 
16:14:47: Profiler time results:
16:14:47: 
16:14:47: ==============================================================
16:14:47: video thread frame - [100%] [avg time: 17.531 ms] [children: 80.5%] [unaccounted: 19.5%]
16:14:47: | scene->Preprocess - [80.5%] [avg time: 14.111 ms]
16:14:47: GPU download and conversion - [100%] [avg time: 4.459 ms] [children: 75.6%] [unaccounted: 24.4%]
16:14:47: | flush - [32.9%] [avg time: 1.469 ms]
16:14:47: | CopyResource - [42.3%] [avg time: 1.884 ms]
16:14:47: | conversion to 4:2:0 - [0.359%] [avg time: 0.016 ms]
16:14:47: Convert444Thread - [100%] [avg time: 2.06 ms] [children: 99.1%] [unaccounted: 0.922%]
16:14:47: | Convert444toNV12 - [99.1%] [avg time: 2.041 ms]
16:14:47: encoder thread frame - [100%] [avg time: 5.82 ms]
16:14:47: ==============================================================
16:14:47: 
16:14:47: 
16:14:47: Profiler CPU results:
16:14:47: 
16:14:47: ==============================================================
16:14:47: video thread frame - [cpu time: avg 5.662 ms, total 23375 ms] [avg calls per frame: 1]
16:14:47: | scene->Preprocess - [cpu time: avg 5.178 ms, total 21375 ms] [avg calls per frame: 1]
16:14:47: GPU download and conversion - [cpu time: avg 0.113 ms, total 468.75 ms] [avg calls per frame: 1]
16:14:47: | flush - [cpu time: avg 0.026 ms, total 109.375 ms] [avg calls per frame: 1]
16:14:47: | CopyResource - [cpu time: avg 0.045 ms, total 187.5 ms] [avg calls per frame: 1]
16:14:47: | conversion to 4:2:0 - [cpu time: avg 0.003 ms, total 15.625 ms] [avg calls per frame: 1]
16:14:47: Convert444Thread - [cpu time: avg 1.587 ms, total 6531.25 ms] [avg calls per frame: 1]
16:14:47: | Convert444toNV12 - [cpu time: avg 1.584 ms, total 6515.63 ms] [avg calls per frame: 1]
16:14:47: encoder thread frame - [cpu time: avg 1.663 ms, total 7781.25 ms] [avg calls per frame: 1]
16:14:47: ==============================================================
16:14:47: 
16:14:47: =====Stream End: 2013-09-27, 16:14:47=================================================
16:15:02: =====Stream Start: 2013-09-27, 16:15:02===============================================
16:15:02:   Multithreaded optimizations: On
16:15:02:   Base resolution: 1280x768
16:15:02:   Output resolution: 1024x614
16:15:02: ------------------------------------------
16:15:02: Loading up D3D10 on NVIDIA GeForce GTX 650...
16:15:02: ------------------------------------------
16:15:02: Audio Format: 48000hz
16:15:02: Playback device Default
16:15:02: ------------------------------------------
16:15:02: Using desktop audio input: Speakers (2- High Definition Audio Device)
16:15:02: ------------------------------------------
16:15:02: Using auxilary audio input: Microphone (2- High Definition Audio Device)
16:15:02: ------------------------------------------
16:15:02: Audio Encoding: MP3
16:15:02:     bitrate: 48
16:15:02: Using Monitor Capture
16:15:02: ------------------------------------------
16:15:02: Video Encoding: x264
16:15:02:     fps: 30
16:15:02:     width: 1024, height: 614
16:15:02:     preset: ultrafast
16:15:02:     profile: high
16:15:02:     keyint: 250
16:15:02:     CBR: yes
16:15:02:     CFR: no
16:15:02:     max bitrate: 1800
16:15:02:     buffer size: 5500
16:15:02: ------------------------------------------
16:15:02: MMDeviceAudioSource: Frequency for device 'Speakers (2- High Definition Audio Device)' is 352800, samples per sec is 44100
16:15:02: MMDeviceAudioSource: Frequency for device 'Microphone (2- High Definition Audio Device)' is 768000, samples per sec is 96000
16:17:03: Using RTMP service: Twitch / Justin.tv
16:17:03:   Server selection: rtmp://live-lhr-backup.justin.tv/app
16:17:03:   Interface: Atheros L1 Gigabit Ethernet 10/100/1000Base-T Controller (ethernet, 100 mbps)
16:17:04: Completed handshake with rtmp://live-lhr-backup.justin.tv/app in 431 ms.
16:17:05: SO_SNDBUF was at 8192
16:17:05: SO_SNDBUF is now 65536
16:17:05: RTMPPublisher::Socketloop: Increasing send buffer to ISB 131072 (buffer: 10944 / 236544)
16:18:54: RTMPPublisher::Socketloop: Increasing send buffer to ISB 262144 (buffer: 0 / 236544)
16:19:25: RTMPPublisher::SocketLoop: Received FD_CLOSE, 4061 ms since last send (buffer: 234227 / 236544)
16:19:25: RTMPPublisher::SocketLoop: Aborting due to FD_CLOSE, error 0
16:19:26: Total frames encoded: 7897, total frames duplicated: 1885 (23.87%)
16:19:26: Number of frames skipped due to encoder lag: 527 (6.67%)
16:19:26: Total frames rendered: 6880, number of late frames: 425 (6.18%) (it's okay for some frames to be late)
16:20:40: Average send payload: 7738 bytes, average send interval: 33 ms
16:20:40: Number of times waited to send: 4, Waited for a total of 16402 bytes
16:20:40: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 127 (2%), Total 127 (2%)
16:20:40: Number of bytes sent: 31860962
16:20:40: 
16:20:40: Profiler time results:
16:20:40: 
16:20:40: ==============================================================
16:20:40: video thread frame - [100%] [avg time: 21.372 ms] [children: 83.7%] [unaccounted: 16.3%]
16:20:40: | scene->Preprocess - [83.7%] [avg time: 17.892 ms]
16:20:40: GPU download and conversion - [100%] [avg time: 2.579 ms] [children: 73.7%] [unaccounted: 26.3%]
16:20:40: | flush - [25.6%] [avg time: 0.659 ms]
16:20:40: | CopyResource - [45.6%] [avg time: 1.177 ms]
16:20:40: | conversion to 4:2:0 - [2.56%] [avg time: 0.066 ms]
16:20:40: Convert444Thread - [100%] [avg time: 1.971 ms] [children: 98.8%] [unaccounted: 1.17%]
16:20:40: | Convert444toNV12 - [98.8%] [avg time: 1.948 ms]
16:20:40: encoder thread frame - [100%] [avg time: 5.692 ms]
16:20:40: ==============================================================
16:20:40: 
16:20:40: 
16:20:40: Profiler CPU results:
16:20:40: 
16:20:40: ==============================================================
16:20:40: video thread frame - [cpu time: avg 5.941 ms, total 40875 ms] [avg calls per frame: 1]
16:20:40: | scene->Preprocess - [cpu time: avg 5.448 ms, total 37484.4 ms] [avg calls per frame: 1]
16:20:40: GPU download and conversion - [cpu time: avg 0.056 ms, total 390.625 ms] [avg calls per frame: 1]
16:20:40: | flush - [cpu time: avg 0.024 ms, total 171.875 ms] [avg calls per frame: 1]
16:20:40: | CopyResource - [cpu time: avg 0.015 ms, total 109.375 ms] [avg calls per frame: 1]
16:20:40: | conversion to 4:2:0 - [cpu time: avg 0.002 ms, total 15.625 ms] [avg calls per frame: 1]
16:20:40: Convert444Thread - [cpu time: avg 1.424 ms, total 9781.25 ms] [avg calls per frame: 1]
16:20:40: | Convert444toNV12 - [cpu time: avg 1.415 ms, total 9718.75 ms] [avg calls per frame: 1]
16:20:40: encoder thread frame - [cpu time: avg 1.644 ms, total 12968.8 ms] [avg calls per frame: 1]
16:20:40: ==============================================================
16:20:40: 
16:20:40: =====Stream End: 2013-09-27, 16:20:40=================================================
 

R1CH

Forum Admin
Developer
If your entire connection is dropping, this is likely due to a buggy driver such as a network card, firewall / anti-virus or similar. OBS only makes a single TCP connection so it should not be able to interfere with your connection in this way.
 

malvado

New Member
Your logic is flossy if that was the case then it would crash anytime not just with OBS and when it's transmitting ...
At one point you are probably right maybe its blocking the port... which port does does OBS uses?
Also OBS have permission on firewalls and antivirus ...
I still think its due to any configuration.
 

R1CH

Forum Admin
Developer
OBS is stressing your connection and related software more than other programs do, so it is uncovering a fault condition. You need to fix whatever is faulty, since it is not OBS. Try uninstalling any 3rd party firewall / anti-virus (disabling often does not work).
 

Faruton

Developer
edit: r1ch said the same thing as I did.

Check your router as well if you are behind one as they are cheaply made and prone to crashing
 

malvado

New Member
Ok after a research i forward the ports, but its seems the problem got even worse.
I disabled win firewall and uninstalled antivirus just to test, and the problem persisted.
Please help me :(
 

R1CH

Forum Admin
Developer
It's probably your router failing under the load, try bypassing it. Windows firewall is perfectly fine to have enabled, unlike 3rd party ones it does not interfere with active connections.
 

malvado

New Member
Hey
Sorry for the late reply.
No;
As in it's not that, it didn't fix it.

And I cant bypass my router even if I wanted to, in my case it won't work like that since if I do that I'll lose Tv phone and wireless connections so meh. Even if that would fix the issue I would not use that solution.

This problem was actually not solved;
Tried to re-install and reset configs of OBS and it worked for a few streams but the problem returned.

This same problem is now happening with another program " Vuze "
Well I guess have to give r1ch reason in at least something; he was right about the connection being stressed it seems to work as long as a certain up/download speed is reached and after that it crashes.
But its not Firewalls or antivirus, already tried removing those and the problem continues.
What ever is faulty I did Not find it.

Also I just noticed this topic is in the wrong session; Sorry about that if possible could it be moved...?
 
Top