Question / Help Can't get a smooth stream, "Choppy" etc no matter what i do

Kim Strandberg

New Member
So i've been trying with alot of different games but the stream always end up a little choppy compared to what other streamers achieve.

13:02:34: ==============================================================
13:02:34:
13:02:34:
13:02:34: Profiler CPU results:
13:02:34:
13:02:34: ==============================================================
13:02:34: video thread frame - [cpu time: avg 0.891 ms, total 31.2 ms] [avg calls per frame: 1]
13:02:34: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
13:02:34: | GPU download and conversion - [cpu time: avg 0.445 ms, total 15.6 ms] [avg calls per frame: 1]
13:02:34: | | flush - [cpu time: avg 0.445 ms, total 15.6 ms] [avg calls per frame: 1]
13:02:34: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 0]
13:02:34: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 0]
13:02:34: Convert444Threads - [cpu time: avg 1.114 ms, total 31.2 ms] [avg calls per frame: 2]
13:02:34: | Convert444toNV12 - [cpu time: avg 1.114 ms, total 31.2 ms] [avg calls per frame: 2]
13:02:34: encoder thread frame - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
13:02:34: | sending stuff out - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
13:02:34: ==============================================================
13:02:34:
13:02:34: =====Stream End: 2015-11-02, 13:02:34=================================================
13:02:35: =====Stream Start: 2015-11-02, 13:02:35===============================================
13:02:35: Multithreaded optimizations: On
13:02:35: Base resolution: 1920x1080
13:02:35: Output resolution: 1280x720
13:02:35: ------------------------------------------
13:02:35: Loading up D3D10 on NVIDIA GeForce GTX 670 (Adapter 1)...
13:02:36: ------------------------------------------
13:02:36: Audio Format: 48000 Hz
13:02:36: ------------------------------------------
13:02:36: Audio Channels: 2 Ch
13:02:36: Playback device {0.0.0.00000000}.{6b77e76f-a9bd-45ca-bb07-9593ef521357}
13:02:36: ------------------------------------------
13:02:36: Using desktop audio input: Speakers (Realtek High Definition Audio)
13:02:36: Global Audio time adjust: 0
13:02:36: ------------------------------------------
13:02:36: Using auxilary audio input: Microphone (2- HD Webcam C525)
13:02:36: Mic time offset: 0
13:02:36: ------------------------------------------
13:02:36: Audio Encoding: AAC
13:02:36: bitrate: 128
13:02:36: Using text output
13:02:36: ------------------------------------------
13:02:36: device: Logitech HD Webcam C525,
13:02:36: device id \\?\usb#vid_046d&pid_0826&mi_02#6&21a0764&0&0002#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
13:02:36: chosen type: I420, usingFourCC: false, res: 1600x896 - 1600x896, frameIntervals: 333333-2000000
13:02:36: use buffering: false - 0, fourCC: 'I420'
13:02:36: audio device: Disable,
13:02:36: audio device id Disabled,
13:02:36: audio time offset 0,
13:02:36:
13:02:37: Using directshow input
13:02:37: Using graphics capture
13:02:37: Using Video Source
13:02:37: Scene buffering time set to 700
13:02:37: ------------------------------------------
13:02:37: Video Encoding: x264
13:02:37: fps: 30
13:02:37: width: 1280, height: 720
13:02:37: preset: faster
13:02:37: profile: main
13:02:37: keyint: 250
13:02:37: CBR: yes
13:02:37: CFR: no
13:02:37: max bitrate: 2500
13:02:37: buffer size: 2500
13:02:37: ------------------------------------------
13:02:39: Using RTMP service: Twitch
13:02:39: Server selection: rtmp://live-arn.twitch.tv/app
13:02:39: Interface: Killer e2200 Gigabit Ethernet Controller (ethernet, 1000 mbps)
13:02:40: Completed handshake with rtmp://live-arn.twitch.tv/app in 440 ms.
13:02:40: SO_SNDBUF was at 8192
13:02:40: SO_SNDBUF is now 65536
13:02:43: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 0 / 335872)
13:02:49: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
13:02:49: New Scene
13:02:49: Using text output
13:02:49: Using bitmap image
13:02:50: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 0 / 335872)
13:03:36: CUDA loaded successfully
13:03:36: 1 CUDA capable devices found
13:03:36: [ GPU #0 - < GeForce GTX 670 > has Compute SM 3.0, NVENC Available ]
13:04:22: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 524288 (buffer: 0 / 335872)
13:05:03: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
13:05:03: New Scene
13:05:03: Using text output
13:05:03: Using graphics capture
13:05:03: Trying to hook process: isaac-ng.exe
13:05:04: SharedTexCapture hooked
13:06:09: GraphicsCaptureSource::NewCapture: eliminating old capture
13:06:09: SharedTexCapture hooked
13:08:36: GraphicsCaptureSource::NewCapture: eliminating old capture
13:08:36: SharedTexCapture hooked
13:33:34: Total frames encoded: 55666, total frames duplicated: 54 (0.10%)
13:33:34: Total frames rendered: 55658, number of late frames: 13 (0.02%) (it's okay for some frames to be late)
13:33:34: ~RTMPPublisher: Packet flush completed in 129 ms
13:33:34: ~RTMPPublisher: Send thread terminated in 1 ms
13:33:34: RTMPPublisher::SocketLoop: Graceful loop exit
13:33:34: ~RTMPPublisher: Socket thread terminated in 1 ms
13:33:34:
13:33:34: Profiler time results:
13:33:34:
13:33:34: ==============================================================
13:33:34: video thread frame - [100%] [avg time: 1.506 ms] [children: 37.5%] [unaccounted: 62.5%]
13:33:34: | scene->Preprocess - [26.8%] [avg time: 0.404 ms]
13:33:34: | GPU download and conversion - [10.6%] [avg time: 0.16 ms] [children: 10.2%] [unaccounted: 0.398%]
13:33:34: | | flush - [9.76%] [avg time: 0.147 ms]
13:33:34: | | CopyResource - [0.332%] [avg time: 0.005 ms]
13:33:34: | | conversion to 4:2:0 - [0.133%] [avg time: 0.002 ms]
13:33:34: Convert444Threads - [100%] [avg time: 0.49 ms] [children: 99.6%] [unaccounted: 0.408%]
13:33:34: | Convert444toNV12 - [99.6%] [avg time: 0.488 ms]
13:33:34: encoder thread frame - [100%] [avg time: 0.665 ms] [children: 4.96%] [unaccounted: 95%]
13:33:34: | sending stuff out - [4.96%] [avg time: 0.033 ms]
13:33:34: ==============================================================
13:33:34:
13:33:34:
13:33:34: Profiler CPU results:
13:33:34:
13:33:34: ==============================================================
13:33:34: video thread frame - [cpu time: avg 0.158 ms, total 8845.26 ms] [avg calls per frame: 1]
13:33:34: | scene->Preprocess - [cpu time: avg 0.056 ms, total 3120.02 ms] [avg calls per frame: 1]
13:33:34: | GPU download and conversion - [cpu time: avg 0.024 ms, total 1388.41 ms] [avg calls per frame: 1]
13:33:34: | | flush - [cpu time: avg 0.021 ms, total 1170.01 ms] [avg calls per frame: 1]
13:33:34: | | CopyResource - [cpu time: avg 0.001 ms, total 78 ms] [avg calls per frame: 1]
13:33:34: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 31.201 ms] [avg calls per frame: 1]
13:33:34: Convert444Threads - [cpu time: avg 0.462 ms, total 51495.9 ms] [avg calls per frame: 2]
13:33:34: | Convert444toNV12 - [cpu time: avg 0.461 ms, total 51324.3 ms] [avg calls per frame: 2]
13:33:34: encoder thread frame - [cpu time: avg 0.047 ms, total 2620.82 ms] [avg calls per frame: 1]
13:33:34: | sending stuff out - [cpu time: avg 0.005 ms, total 280.801 ms] [avg calls per frame: 1]
13:33:34: ==============================================================
13:33:34:
13:33:34: =====Stream End: 2015-11-02, 13:33:34=================================================
13:33:34: ~RTMPPublisher: Final socket shutdown completed in 236 ms
13:33:34: Average send payload: 6385 bytes, average send interval: 20 ms
13:33:34: Number of times waited to send: 0, Waited for a total of 0 bytes
13:33:34: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
13:33:34: Number of bytes sent: 572118794
Here is the last log file when i was streaming this > http://www.twitch.tv/kimstrandberg/v/23633108 < session just a couple of minutes ago.
 

Harold

Active Member
the x264 presets in settings are listed in order of processor impact, lowest impact (ultrafast) to highest impact.
Stuttering being worse on veryfast instead of faster indicates other problems in your system.
 

Kim Strandberg

New Member
Superfast log - https://gist.github.com/3f8551b4a36b6a7bc99c & Video - http://www.twitch.tv/kimstrandberg/v/23638400
Veryfast log - https://gist.github.com/65b93fb2847fa9c8acd1 & Video - http://www.twitch.tv/kimstrandberg/v/23638858
Faster log - https://gist.github.com/232f62e5e13a986bc6ef & Video - http://www.twitch.tv/kimstrandberg/v/23639493

Here is my PC Specc, do i hav e to high expectations ? Do you think the quality is fine ?
Imo the faster preset gives better quality then superfast, veryfast is in between. Stutters might be the wrong word for it, i mean it's just getting "blurrier" the "faster" preset i chose.

Motherboard: MSI Z97-G45 GAMING
CPU: Intel Core i5 4690K (OC'd to 4,3 GHz)
Cpu Cooler: Cooler Master Hyper 212 EVO
GFX: Nvidia 670GTX MSI (Reference Cooler)
Cooler Master 120mm Sickle Flow Blue LED x4
Chassi:Aerocool Strike-X Advance White
RAM: Corsair Dominator 12 GB (4x3) 1866 Mhz
HDD 1: Samsung EVO 840 120 GB
HDD 2: Hitachi 2 TB 7200 RPM
PSU: Chieftech 750W Modular
1st Monitor: ACER S220HQL Screen
2nd Monitor: Andersson LED24511HD
Mouse: Mission SG GGM 3.1
Keyboard: Mission SG GGK 3.0 (With O-Rings)
Mic: BM 700 with Shockmount
Webcam: Logitech C525 x2
Controller: PS3 DualShock 3
 
Last edited:

Harold

Active Member
Keyframe interval needs to be 2s for streaming.

And 60fps needs between 50% and 100% more bitrate compared to 30fps to maintain picture quality. You might end up with less blur if you go 30fps stream.
 

Kim Strandberg

New Member
Keyframe interval needs to be 2s for streaming.

And 60fps needs between 50% and 100% more bitrate compared to 30fps to maintain picture quality. You might end up with less blur if you go 30fps stream.

Ok, what exactly is keyframe interval ?
What is the maximum bitrate ? I got 100/100 mpbs internet so i guess it's the viewers that limits the max i can go.
Is it worth changing the filter from Bilinear to something different ? Does that increase kbp/s needed ?

Maybe the only way to know for sure is to continue my tests hehe..
 
Top