Question / Help Choppy stream quality at all quality levels

brollebol

New Member
Hey guys,

I've been messing with OBS over the past 2 days and I can't seem to get a smooth stream going. The stream quality I choose doesn't seem to have any affect on the choppiness on my stream and its been quite frustrating.

My specs:

Intel i5 2500k stock
AMD HD6950 stock
8GB DDR3 1333mhz
Internet: 120 down 6 up

I have recorded 2 small clips of me playing my favorite game of all time, Ghost Recon, to reduce the load on my CPU (this game can run on a Pentium 2).

360p

Code:
21:42:32: =====Stream Start: 2014-05-14, 21:42:32===============================================
21:42:32:   Multithreaded optimizations: On
21:42:32:   Base resolution: 1920x1080
21:42:32:   Output resolution: 640x360
21:42:32: ------------------------------------------
21:42:32: Loading up D3D10 on AMD Radeon HD 6900 Series (Adapter 1)...
21:42:32: ------------------------------------------
21:42:32: Audio Format: 48000 Hz
21:42:32: ------------------------------------------
21:42:32: Audio Channels: 2 Ch
21:42:32: Playback device Default
21:42:32: ------------------------------------------
21:42:32: Using desktop audio input: Speakers (Realtek High Definition Audio)
21:42:32: Global Audio time adjust: 0
21:42:32: ------------------------------------------
21:42:32: Audio Encoding: AAC
21:42:32:     bitrate: 128
21:42:32: Using Monitor Capture
21:42:32: Scene buffering time set to 700
21:42:32: ------------------------------------------
21:42:32: Video Encoding: x264
21:42:32:     fps: 30
21:42:32:     width: 640, height: 360
21:42:32:     preset: veryfast
21:42:32:     profile: high
21:42:32:     keyint: 60
21:42:32:     CBR: yes
21:42:32:     CFR: yes
21:42:32:     max bitrate: 800
21:42:32:     buffer size: 800
21:42:32: ------------------------------------------
21:42:34: Using RTMP service: Twitch / Justin.tv
21:42:34:   Server selection: rtmp://live-ams.justin.tv/app
21:42:34:   Interface: Realtek PCIe GBE Family Controller (ethernet, 1000 mbps)
21:42:34: Completed handshake with rtmp://live-ams.justin.tv/app in 359 ms.
21:42:35: SO_SNDBUF was at 8192
21:42:35: SO_SNDBUF is now 65536
21:42:44: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 0 / 131072)
21:43:51: Total frames encoded: 2349, total frames duplicated: 360 (15.33%)
21:43:51: Total frames rendered: 2284, number of late frames: 71 (3.11%) (it's okay for some frames to be late)
21:43:51: RTMPPublisher::SocketLoop: Graceful loop exit
21:43:51: Average send payload: 3329 bytes, average send interval: 28 ms
21:43:51: Number of times waited to send: 0, Waited for a total of 0 bytes
21:43:51: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
21:43:51: Number of bytes sent: 8862987
21:43:51:
21:43:51: Profiler time results:
21:43:51:
21:43:51: ==============================================================
21:43:51: video thread frame - [100%] [avg time: 20.109 ms] [children: 91.5%] [unaccounted: 8.46%]
21:43:51: | scene->Preprocess - [90.6%] [avg time: 18.224 ms]
21:43:51: | GPU download and conversion - [0.91%] [avg time: 0.183 ms] [children: 0.796%] [unaccounted: 0.114%]
21:43:51: | | flush - [0.706%] [avg time: 0.142 ms]
21:43:51: | | CopyResource - [0.0646%] [avg time: 0.013 ms]
21:43:51: | | conversion to 4:2:0 - [0.0249%] [avg time: 0.005 ms]
21:43:51: Convert444Threads - [100%] [avg time: 0.141 ms] [children: 96.5%] [unaccounted: 3.55%]
21:43:51: | Convert444toNV12 - [96.5%] [avg time: 0.136 ms]
21:43:51: encoder thread frame - [100%] [avg time: 0.442 ms] [children: 4.75%] [unaccounted: 95.2%]
21:43:51: | sending stuff out - [4.75%] [avg time: 0.021 ms]
21:43:51: ==============================================================
21:43:51:
21:43:51:
21:43:51: Profiler CPU results:
21:43:51:
21:43:51: ==============================================================
21:43:51: video thread frame - [cpu time: avg 5.32 ms, total 12152.5 ms] [avg calls per frame: 1]
21:43:51: | scene->Preprocess - [cpu time: avg 4.084 ms, total 9328.86 ms] [avg calls per frame: 1]
21:43:51: | GPU download and conversion - [cpu time: avg 0.075 ms, total 171.601 ms] [avg calls per frame: 1]
21:43:51: | | flush - [cpu time: avg 0.04 ms, total 93.6 ms] [avg calls per frame: 1]
21:43:51: | | CopyResource - [cpu time: avg 0.013 ms, total 31.2 ms] [avg calls per frame: 1]
21:43:51: | | conversion to 4:2:0 - [cpu time: avg 0.006 ms, total 15.6 ms] [avg calls per frame: 1]
21:43:51: Convert444Threads - [cpu time: avg 0.127 ms, total 577.203 ms] [avg calls per frame: 2]
21:43:51: | Convert444toNV12 - [cpu time: avg 0.127 ms, total 577.203 ms] [avg calls per frame: 2]
21:43:51: encoder thread frame - [cpu time: avg 0.013 ms, total 31.2 ms] [avg calls per frame: 1]
21:43:51: | sending stuff out - [cpu time: avg 0.006 ms, total 15.6 ms] [avg calls per frame: 1]
21:43:51: ==============================================================
21:43:51:
21:43:51: =====Stream End: 2014-05-14, 21:43:51=================================================

1080p

Code:
21:48:17: =====Stream Start: 2014-05-14, 21:48:17===============================================
21:48:17:   Multithreaded optimizations: On
21:48:17:   Base resolution: 1920x1080
21:48:17:   Output resolution: 1920x1080
21:48:17: ------------------------------------------
21:48:17: Loading up D3D10 on AMD Radeon HD 6900 Series (Adapter 1)...
21:48:17: ------------------------------------------
21:48:17: Audio Format: 48000 Hz
21:48:17: ------------------------------------------
21:48:17: Audio Channels: 2 Ch
21:48:17: Playback device Default
21:48:17: ------------------------------------------
21:48:17: Using desktop audio input: Speakers (Realtek High Definition Audio)
21:48:17: Global Audio time adjust: 0
21:48:17: ------------------------------------------
21:48:17: Audio Encoding: AAC
21:48:17:     bitrate: 128
21:48:17: Using Monitor Capture
21:48:17: Scene buffering time set to 700
21:48:17: ------------------------------------------
21:48:17: Video Encoding: x264
21:48:17:     fps: 30
21:48:17:     width: 1920, height: 1080
21:48:17:     preset: veryfast
21:48:17:     profile: high
21:48:17:     keyint: 60
21:48:17:     CBR: yes
21:48:17:     CFR: yes
21:48:17:     max bitrate: 3200
21:48:17:     buffer size: 3200
21:48:17: ------------------------------------------
21:48:19: Using RTMP service: Twitch / Justin.tv
21:48:19:   Server selection: rtmp://live-ams.justin.tv/app
21:48:19:   Interface: Realtek PCIe GBE Family Controller (ethernet, 1000 mbps)
21:48:19: Completed handshake with rtmp://live-ams.justin.tv/app in 341 ms.
21:48:20: SO_SNDBUF was at 8192
21:48:20: SO_SNDBUF is now 65536
21:48:22: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 0 / 425984)
21:48:23: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 0 / 425984)
21:49:29: Total frames encoded: 2159, total frames duplicated: 236 (10.93%)
21:49:29: Total frames rendered: 2137, number of late frames: 29 (1.36%) (it's okay for some frames to be late)
21:49:30: RTMPPublisher::SocketLoop: Graceful loop exit
21:49:30: Average send payload: 8399 bytes, average send interval: 20 ms
21:49:30: Number of times waited to send: 0, Waited for a total of 0 bytes
21:49:30: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
21:49:30: Number of bytes sent: 28483683
21:49:30:
21:49:30: Profiler time results:
21:49:30:
21:49:30: ==============================================================
21:49:30: video thread frame - [100%] [avg time: 19.75 ms] [children: 93.5%] [unaccounted: 6.45%]
21:49:30: | scene->Preprocess - [91.6%] [avg time: 18.084 ms]
21:49:30: | GPU download and conversion - [1.98%] [avg time: 0.392 ms] [children: 1.88%] [unaccounted: 0.106%]
21:49:30: | | flush - [1.79%] [avg time: 0.353 ms]
21:49:30: | | CopyResource - [0.0658%] [avg time: 0.013 ms]
21:49:30: | | conversion to 4:2:0 - [0.0253%] [avg time: 0.005 ms]
21:49:30: Convert444Threads - [100%] [avg time: 1.205 ms] [children: 99.2%] [unaccounted: 0.83%]
21:49:30: | Convert444toNV12 - [99.2%] [avg time: 1.195 ms]
21:49:30: encoder thread frame - [100%] [avg time: 2.702 ms] [children: 1.48%] [unaccounted: 98.5%]
21:49:30: | sending stuff out - [1.48%] [avg time: 0.04 ms]
21:49:30: ==============================================================
21:49:30:
21:49:30:
21:49:30: Profiler CPU results:
21:49:30:
21:49:30: ==============================================================
21:49:30: video thread frame - [cpu time: avg 4.058 ms, total 8673.66 ms] [avg calls per frame: 1]
21:49:30: | scene->Preprocess - [cpu time: avg 3.212 ms, total 6864.05 ms] [avg calls per frame: 1]
21:49:30: | GPU download and conversion - [cpu time: avg 0.065 ms, total 140.401 ms] [avg calls per frame: 1]
21:49:30: | | flush - [cpu time: avg 0.036 ms, total 78.001 ms] [avg calls per frame: 1]
21:49:30: | | CopyResource - [cpu time: avg 0.014 ms, total 31.2 ms] [avg calls per frame: 1]
21:49:30: | | conversion to 4:2:0 - [cpu time: avg 0.007 ms, total 15.6 ms] [avg calls per frame: 1]
21:49:30: Convert444Threads - [cpu time: avg 1.259 ms, total 5319.63 ms] [avg calls per frame: 2]
21:49:30: | Convert444toNV12 - [cpu time: avg 1.251 ms, total 5288.43 ms] [avg calls per frame: 2]
21:49:30: encoder thread frame - [cpu time: avg 2.116 ms, total 4524.03 ms] [avg calls per frame: 1]
21:49:30: | sending stuff out - [cpu time: avg 0.021 ms, total 46.8 ms] [avg calls per frame: 1]
21:49:30: ==============================================================
21:49:30:
21:49:30: =====Stream End: 2014-05-14, 21:49:30=================================================

I couldn't include any more information because of the word limit, but please ask any questions you have.

Thanks in advance!
 

Sapiens

Forum Moderator
Please provide a complete log file. Help > Log Files > Upload last Log File. Copy the URL and paste it here.
 

Sapiens

Forum Moderator
In Windows 7, Aero should be enabled when using window capture sources, and monitor capture should be avoided completely. If you're capturing a DX9/10/11 or OpenGL game, game capture will offer the best performance. Streaming at 1080p will be too much for your CPU in many cases, something closer to 720p will work better.
 

brollebol

New Member
I posted a 360p video with the same choppy quality as the 1080p one I posted, there is no difference at all. I've also streamed VLC Windowed instances in 360p with the same choppy video quality.

Also when streaming the 1080p video my CPU cores never went over 80% and were around 50% average. I understand I cannot stream 1080p HQ content with my CPU but it seems to me that my CPU is not the issue here
 
Last edited:

Sapiens

Forum Moderator
Window capture with Aero disabled and monitor capture will both deliver very poor performance in Windows 7 regardless of your other settings. Please adjust things accordingly, test again, and if the problem continues post an updated log.
 

AndehX

Member
This is probably the same thing that happens on twitch. the flash player, when viewing a stream live, for some reason is terrible, but when watching the recording back later, it looks fine. This is a common problem experienced by everyone who streams on twitch, and apparently justin as well. There isn't anything you can do about it im afraid.
 
Top