I just started streaming with OBS on Twitch but unfortunatly it seems to be that I can't stream very smoothly on Twitch.
OBS looks fine, no problems with that I guess. I tried analyzing it with 'R1CH' his website but it doesn't say anything bad, so I have no idea how I can improve or better my stream.
Does anyone know how I can fix it, and make the stream stop lagging on twitch?
These were the results, the only thing I can mention is that the Availability is Poor to both continents.
PS: I've listed a recent low below.
17:22:50: =====Stream Start: 2015-04-07, 17:22:50===============================================
17:22:50: Multithreaded optimizations: On
17:22:50: Base resolution: 1366x768
17:22:50: Output resolution: 908x512
17:22:50: ------------------------------------------
17:22:50: Nvidia optimus detected, second adapter selected, ignoring useless second adapter, I guess.
17:22:50: Loading up D3D10 on Intel(R) HD Graphics 4000 (Adapter 1)...
17:22:50: ------------------------------------------
17:22:50: Audio Format: 48000 Hz
17:22:50: ------------------------------------------
17:22:50: Audio Channels: 2 Ch
17:22:50: Playback device Default
17:22:50: ------------------------------------------
17:22:50: Using desktop audio input: Speakers (Realtek High Definition Audio)
17:22:50: Global Audio time adjust: 0
17:22:50: ------------------------------------------
17:22:50: Using auxilary audio input: Microphone (Realtek High Definition Audio)
17:22:50: Mic time offset: 0
17:22:50: ------------------------------------------
17:22:50: Audio Encoding: AAC
17:22:50: bitrate: 192
17:22:50: Using text output
17:22:50: Using Window Capture
17:22:50: Scene buffering time set to 700
17:22:50: ------------------------------------------
17:22:50: Video Encoding: x264
17:22:50: fps: 30
17:22:50: width: 908, height: 512
17:22:50: preset: veryfast
17:22:50: profile: main
17:22:50: keyint: 60
17:22:50: CBR: yes
17:22:50: CFR: yes
17:22:50: max bitrate: 1700
17:22:50: buffer size: 1700
17:22:50: ------------------------------------------
17:22:52: Using RTMP service: Twitch
17:22:52: Server selection: rtmp://live-ams.twitch.tv/app
17:22:52: Interface: Realtek PCIe GBE Family-controller (ethernet, 100 mbps)
17:22:53: Completed handshake with rtmp://live-ams.twitch.tv/app in 858 ms.
17:22:53: SO_SNDBUF was at 65536
17:22:54: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 0 / 241664)
17:22:54: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 0 / 241664)
17:26:06: Using text output
17:50:04: FlushBufferedVideo: Flushing 2 packets over 33 ms
17:50:04: Total frames encoded: 48981, total frames duplicated: 50 (0.10%)
17:50:04: Number of frames skipped due to encoder lag: 2 (0.00%)
17:50:04: Total frames rendered: 49001, number of late frames: 4 (0.01%) (it's okay for some frames to be late)
17:50:04:
17:50:04: Profiler time results:
17:50:04:
17:50:04: ==============================================================
17:50:04: video thread frame - [100%] [avg time: 0.95 ms] [children: 54.8%] [unaccounted: 45.2%]
17:50:04: | scene->Preprocess - [33.7%] [avg time: 0.32 ms]
17:50:04: | GPU download and conversion - [21.2%] [avg time: 0.201 ms] [children: 17.8%] [unaccounted: 3.37%]
17:50:04: | | flush - [12.3%] [avg time: 0.117 ms]
17:50:04: | | CopyResource - [4.95%] [avg time: 0.047 ms]
17:50:04: | | conversion to 4:2:0 - [0.526%] [avg time: 0.005 ms]
17:50:04: Convert444Thread - [100%] [avg time: 0.904 ms] [children: 98.2%] [unaccounted: 1.77%]
17:50:04: | Convert444toNV12 - [98.2%] [avg time: 0.888 ms]
17:50:04: encoder thread frame - [100%] [avg time: 1.178 ms] [children: 6.2%] [unaccounted: 93.8%]
17:50:04: | sending stuff out - [6.2%] [avg time: 0.073 ms]
17:50:04: ==============================================================
17:50:04:
17:50:04:
17:50:04: Profiler CPU results:
17:50:04:
17:50:04: ==============================================================
17:50:04: video thread frame - [cpu time: avg 0.37 ms, total 18156.3 ms] [avg calls per frame: 1]
17:50:04: | scene->Preprocess - [cpu time: avg 0.03 ms, total 1515.63 ms] [avg calls per frame: 1]
17:50:04: | GPU download and conversion - [cpu time: avg 0.159 ms, total 7828.13 ms] [avg calls per frame: 1]
17:50:04: | | flush - [cpu time: avg 0.096 ms, total 4734.38 ms] [avg calls per frame: 1]
17:50:04: | | CopyResource - [cpu time: avg 0.041 ms, total 2015.63 ms] [avg calls per frame: 1]
17:50:04: | | conversion to 4:2:0 - [cpu time: avg 0.004 ms, total 234.375 ms] [avg calls per frame: 1]
17:50:04: Convert444Thread - [cpu time: avg 0.862 ms, total 42234.4 ms] [avg calls per frame: 1]
17:50:04: | Convert444toNV12 - [cpu time: avg 0.854 ms, total 41828.1 ms] [avg calls per frame: 1]
17:50:04: encoder thread frame - [cpu time: avg 0.418 ms, total 20484.4 ms] [avg calls per frame: 1]
17:50:04: | sending stuff out - [cpu time: avg 0.045 ms, total 2250 ms] [avg calls per frame: 1]
17:50:04: ==============================================================
17:50:04:
17:50:04: =====Stream End: 2015-04-07, 17:50:04=================================================
17:50:04: ~RTMPPublisher: Packet flush completed in 122 ms
17:50:04: ~RTMPPublisher: Send thread terminated in 0 ms
17:50:04: RTMPPublisher::SocketLoop: Graceful loop exit
17:50:04: ~RTMPPublisher: Socket thread terminated in 0 ms
17:50:18: ~RTMPPublisher: Final socket shutdown completed in 14065 ms
17:50:18: Average send payload: 4758 bytes, average send interval: 20 ms
17:50:18: Number of times waited to send: 0, Waited for a total of 0 bytes
17:50:18: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
17:50:18: Number of bytes sent: 386916441
18:01:45: Terminating 0x3e8
18:01:45: Terminating 0x5a8
18:01:45: Terminating 0x12f0
18:01:45: Terminating 0x18bc
OBS looks fine, no problems with that I guess. I tried analyzing it with 'R1CH' his website but it doesn't say anything bad, so I have no idea how I can improve or better my stream.
Does anyone know how I can fix it, and make the stream stop lagging on twitch?
These were the results, the only thing I can mention is that the Availability is Poor to both continents.
PS: I've listed a recent low below.
17:22:50: =====Stream Start: 2015-04-07, 17:22:50===============================================
17:22:50: Multithreaded optimizations: On
17:22:50: Base resolution: 1366x768
17:22:50: Output resolution: 908x512
17:22:50: ------------------------------------------
17:22:50: Nvidia optimus detected, second adapter selected, ignoring useless second adapter, I guess.
17:22:50: Loading up D3D10 on Intel(R) HD Graphics 4000 (Adapter 1)...
17:22:50: ------------------------------------------
17:22:50: Audio Format: 48000 Hz
17:22:50: ------------------------------------------
17:22:50: Audio Channels: 2 Ch
17:22:50: Playback device Default
17:22:50: ------------------------------------------
17:22:50: Using desktop audio input: Speakers (Realtek High Definition Audio)
17:22:50: Global Audio time adjust: 0
17:22:50: ------------------------------------------
17:22:50: Using auxilary audio input: Microphone (Realtek High Definition Audio)
17:22:50: Mic time offset: 0
17:22:50: ------------------------------------------
17:22:50: Audio Encoding: AAC
17:22:50: bitrate: 192
17:22:50: Using text output
17:22:50: Using Window Capture
17:22:50: Scene buffering time set to 700
17:22:50: ------------------------------------------
17:22:50: Video Encoding: x264
17:22:50: fps: 30
17:22:50: width: 908, height: 512
17:22:50: preset: veryfast
17:22:50: profile: main
17:22:50: keyint: 60
17:22:50: CBR: yes
17:22:50: CFR: yes
17:22:50: max bitrate: 1700
17:22:50: buffer size: 1700
17:22:50: ------------------------------------------
17:22:52: Using RTMP service: Twitch
17:22:52: Server selection: rtmp://live-ams.twitch.tv/app
17:22:52: Interface: Realtek PCIe GBE Family-controller (ethernet, 100 mbps)
17:22:53: Completed handshake with rtmp://live-ams.twitch.tv/app in 858 ms.
17:22:53: SO_SNDBUF was at 65536
17:22:54: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 0 / 241664)
17:22:54: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 0 / 241664)
17:26:06: Using text output
17:50:04: FlushBufferedVideo: Flushing 2 packets over 33 ms
17:50:04: Total frames encoded: 48981, total frames duplicated: 50 (0.10%)
17:50:04: Number of frames skipped due to encoder lag: 2 (0.00%)
17:50:04: Total frames rendered: 49001, number of late frames: 4 (0.01%) (it's okay for some frames to be late)
17:50:04:
17:50:04: Profiler time results:
17:50:04:
17:50:04: ==============================================================
17:50:04: video thread frame - [100%] [avg time: 0.95 ms] [children: 54.8%] [unaccounted: 45.2%]
17:50:04: | scene->Preprocess - [33.7%] [avg time: 0.32 ms]
17:50:04: | GPU download and conversion - [21.2%] [avg time: 0.201 ms] [children: 17.8%] [unaccounted: 3.37%]
17:50:04: | | flush - [12.3%] [avg time: 0.117 ms]
17:50:04: | | CopyResource - [4.95%] [avg time: 0.047 ms]
17:50:04: | | conversion to 4:2:0 - [0.526%] [avg time: 0.005 ms]
17:50:04: Convert444Thread - [100%] [avg time: 0.904 ms] [children: 98.2%] [unaccounted: 1.77%]
17:50:04: | Convert444toNV12 - [98.2%] [avg time: 0.888 ms]
17:50:04: encoder thread frame - [100%] [avg time: 1.178 ms] [children: 6.2%] [unaccounted: 93.8%]
17:50:04: | sending stuff out - [6.2%] [avg time: 0.073 ms]
17:50:04: ==============================================================
17:50:04:
17:50:04:
17:50:04: Profiler CPU results:
17:50:04:
17:50:04: ==============================================================
17:50:04: video thread frame - [cpu time: avg 0.37 ms, total 18156.3 ms] [avg calls per frame: 1]
17:50:04: | scene->Preprocess - [cpu time: avg 0.03 ms, total 1515.63 ms] [avg calls per frame: 1]
17:50:04: | GPU download and conversion - [cpu time: avg 0.159 ms, total 7828.13 ms] [avg calls per frame: 1]
17:50:04: | | flush - [cpu time: avg 0.096 ms, total 4734.38 ms] [avg calls per frame: 1]
17:50:04: | | CopyResource - [cpu time: avg 0.041 ms, total 2015.63 ms] [avg calls per frame: 1]
17:50:04: | | conversion to 4:2:0 - [cpu time: avg 0.004 ms, total 234.375 ms] [avg calls per frame: 1]
17:50:04: Convert444Thread - [cpu time: avg 0.862 ms, total 42234.4 ms] [avg calls per frame: 1]
17:50:04: | Convert444toNV12 - [cpu time: avg 0.854 ms, total 41828.1 ms] [avg calls per frame: 1]
17:50:04: encoder thread frame - [cpu time: avg 0.418 ms, total 20484.4 ms] [avg calls per frame: 1]
17:50:04: | sending stuff out - [cpu time: avg 0.045 ms, total 2250 ms] [avg calls per frame: 1]
17:50:04: ==============================================================
17:50:04:
17:50:04: =====Stream End: 2015-04-07, 17:50:04=================================================
17:50:04: ~RTMPPublisher: Packet flush completed in 122 ms
17:50:04: ~RTMPPublisher: Send thread terminated in 0 ms
17:50:04: RTMPPublisher::SocketLoop: Graceful loop exit
17:50:04: ~RTMPPublisher: Socket thread terminated in 0 ms
17:50:18: ~RTMPPublisher: Final socket shutdown completed in 14065 ms
17:50:18: Average send payload: 4758 bytes, average send interval: 20 ms
17:50:18: Number of times waited to send: 0, Waited for a total of 0 bytes
17:50:18: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
17:50:18: Number of bytes sent: 386916441
18:01:45: Terminating 0x3e8
18:01:45: Terminating 0x5a8
18:01:45: Terminating 0x12f0
18:01:45: Terminating 0x18bc