Question / Help How to achieve true 720p on OBS to YouTube Live Channel

Greetings,

I just upgraded my ISP that formerly had an upload speed of 2Mbps. It is now 5Mbps.
When I stream via OBS (to YouTube Live), I seem to only achieve a max rate around 358kb/s.

I've tried various combinations of settings but can't seem to get any higher streaming rate out of OBS.
I currently have the following OBS settings (from the log file):

Code:
17:29:32: Open Broadcaster Software v0.592b - 64bit ( ^ω^)
17:29:32: -------------------------------
17:29:32: CPU Name: Intel(R) Core(TM) i7 CPU       X 980  @ 3.33GHz
17:29:32: CPU Speed: 3341MHz
17:29:32: Physical Memory:  6134MB Total, 2899MB Free
17:29:32: stepping id: 2, model 44, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 12, total cores 6
17:29:32: monitor 1: pos={0, 0}, size={1920, 1200}
17:29:32: monitor 2: pos={1920, 0}, size={1920, 1200}
17:29:32: Windows Version: 6.1 Build 7601 S
17:29:32: Aero is Disabled
17:29:32: -------------------------------
17:29:32: OBS Modules:
17:29:32: Base Address     Module
17:29:32: 000000003F250000 OBS.exe
17:29:32: 00000000D77D0000 OBSApi.dll
17:29:32: 00000000F40A0000 DShowPlugin.dll
17:29:32: 00000000DE700000 GraphicsCapture.dll
17:29:32: 00000000DE740000 NoiseGate.dll
17:29:32: 00000000DE650000 PSVPlugin.dll
17:29:32: ------------------------------------------
17:29:32: Adapter 1
17:29:32:   Video Adapter: ATI Radeon HD 5800 Series
17:29:32:   Video Adapter Dedicated Video Memory: 2106908672
17:29:32:   Video Adapter Shared System Memory: 2948032512
17:29:32:   Video Adapter Output 1: pos={0, 0}, size={1920, 1200}, attached=true
17:29:32:   Video Adapter Output 2: pos={1920, 0}, size={1920, 1200}, attached=true
17:29:32: =====Stream Start: 2013-12-30, 17:29:32===============================================
17:29:32:   Multithreaded optimizations: On
17:29:32:   Base resolution: 1280x720
17:29:32:   Output resolution: 1280x720
17:29:32: ------------------------------------------
17:29:32: Loading up D3D10 on ATI Radeon HD 5800 Series (Adapter 1)...
17:29:32: ------------------------------------------
17:29:32: Audio Format: 48000hz
17:29:32: Playback device {0.0.0.00000000}.{f2020e3d-94ab-4966-a7c7-e8d6ab8dfdd1}
17:29:32: ------------------------------------------
17:29:32: Using desktop audio input: Speakers (Creative SB X-Fi)
17:29:32: ------------------------------------------
17:29:32: Using auxilary audio input: Line-In (Creative SB X-Fi)
17:29:32: ------------------------------------------
17:29:32: Audio Encoding: AAC
17:29:32:     bitrate: 128
17:29:32: Using bitmap image
17:29:32: Using bitmap image
17:29:32: Scene buffering time set to 700
17:29:32: ------------------------------------------
17:29:32: Video Encoding: x264
17:29:32:     fps: 20
17:29:32:     width: 1280, height: 720
17:29:32:     preset: veryfast
17:29:32:     profile: high
17:29:32:     keyint: 40
17:29:32:     CBR: no
17:29:32:     CFR: yes
17:29:32:     max bitrate: 1000
17:29:32:     buffer size: 1000
17:29:32:     quality: 8
17:29:32: ------------------------------------------
17:29:32: MMDeviceAudioSource: Frequency for device 'Speakers (Creative SB X-Fi)' is 384000, samples per sec is 48000
17:29:32: MMDeviceAudioSource: Frequency for device 'Line-In (Creative SB X-Fi)' is 384000, samples per sec is 48000
17:29:38: Total frames encoded: 100, total frames duplicated: 0 (0.00%)
17:29:38: Total frames rendered: 103, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
17:29:38: 
17:29:38: Profiler time results:
17:29:38: 
17:29:38: ==============================================================
17:29:38: video thread frame - [100%] [avg time: 0.742 ms] [children: 29.2%] [unaccounted: 70.8%]
17:29:38: | scene->Preprocess - [0.135%] [avg time: 0.001 ms]
17:29:38: | GPU download and conversion - [29.1%] [avg time: 0.216 ms] [children: 29.1%] [unaccounted: 0%]
17:29:38: | | flush - [17.4%] [avg time: 0.129 ms]
17:29:38: | | CopyResource - [2.16%] [avg time: 0.016 ms]
17:29:38: | | conversion to 4:2:0 - [9.57%] [avg time: 0.071 ms]
17:29:38: Convert444Threads - [100%] [avg time: 0.413 ms] [children: 99%] [unaccounted: 0.969%]
17:29:38: | Convert444toNV12 - [99%] [avg time: 0.409 ms]
17:29:38: encoder thread frame - [100%] [avg time: 1.718 ms]
17:29:38: ==============================================================
17:29:38: 
17:29:38: 
17:29:38: Profiler CPU results:
17:29:38: 
17:29:38: ==============================================================
17:29:38: video thread frame - [cpu time: avg 0.151 ms, total 15.6 ms] [avg calls per frame: 1]
17:29:38: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:29:38: | GPU download and conversion - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:29:38: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:29:38: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:29:38: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:29:38: Convert444Threads - [cpu time: avg 0.224 ms, total 78 ms] [avg calls per frame: 4]
17:29:38: | Convert444toNV12 - [cpu time: avg 0.224 ms, total 78 ms] [avg calls per frame: 4]
17:29:38: encoder thread frame - [cpu time: avg 1.269 ms, total 109.2 ms] [avg calls per frame: 1]
17:29:38: ==============================================================
17:29:38: 
17:29:38: =====Stream End: 2013-12-30, 17:29:38=================================================
17:29:39: =====Stream Start: 2013-12-30, 17:29:39===============================================
17:29:39:   Multithreaded optimizations: On
17:29:39:   Base resolution: 1280x720
17:29:39:   Output resolution: 1280x720
17:29:39: ------------------------------------------
17:29:39: Loading up D3D10 on ATI Radeon HD 5800 Series (Adapter 1)...
17:29:39: ------------------------------------------
17:29:39: Audio Format: 48000hz
17:29:39: Playback device {0.0.0.00000000}.{f2020e3d-94ab-4966-a7c7-e8d6ab8dfdd1}
17:29:39: ------------------------------------------
17:29:39: Using desktop audio input: Speakers (Creative SB X-Fi)
17:29:39: ------------------------------------------
17:29:39: Using auxilary audio input: Line-In (Creative SB X-Fi)
17:29:39: ------------------------------------------
17:29:39: Audio Encoding: AAC
17:29:39:     bitrate: 128
17:29:39: Using bitmap image
17:29:39: Using bitmap image
17:29:39: Scene buffering time set to 700
17:29:39: ------------------------------------------
17:29:39: Video Encoding: x264
17:29:39:     fps: 20
17:29:39:     width: 1280, height: 720
17:29:39:     preset: veryfast
17:29:39:     profile: high
17:29:39:     keyint: 40
17:29:39:     CBR: no
17:29:39:     CFR: yes
17:29:39:     max bitrate: 1000
17:29:39:     buffer size: 1000
17:29:39:     quality: 8
17:29:39: ------------------------------------------
17:29:39: MMDeviceAudioSource: Frequency for device 'Speakers (Creative SB X-Fi)' is 384000, samples per sec is 48000
17:29:39: MMDeviceAudioSource: Frequency for device 'Line-In (Creative SB X-Fi)' is 384000, samples per sec is 48000
17:29:43: Using RTMP service: Youtube
17:29:43:   Server selection: rtmp://a.rtmp.youtube.com/live2
17:29:43:   Interface: Broadcom NetLink (TM) Gigabit Ethernet #2 (ethernet, 1000 mbps)
17:29:43: Completed handshake with rtmp://a.rtmp.youtube.com/live2 in 498 ms.
17:29:45: SO_SNDBUF was at 8192
17:29:45: SO_SNDBUF is now 65536
17:29:48: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 0 / 144384)
17:30:16: Total frames encoded: 705, total frames duplicated: 0 (0.00%)
17:30:16: Total frames rendered: 709, number of late frames: 1 (0.14%) (it's okay for some frames to be late)
17:30:16: RTMPPublisher::SocketLoop: Graceful loop exit
17:30:16: Average send payload: 1651 bytes, average send interval: 41 ms
17:30:16: Number of times waited to send: 0, Waited for a total of 0 bytes
17:30:16: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
17:30:16: Number of bytes sent: 1157890
17:30:16: 
17:30:16: Profiler time results:
17:30:16: 
17:30:16: ==============================================================
17:30:16: video thread frame - [100%] [avg time: 0.691 ms] [children: 33%] [unaccounted: 67%]
17:30:16: | scene->Preprocess - [0.145%] [avg time: 0.001 ms]
17:30:16: | GPU download and conversion - [32.9%] [avg time: 0.227 ms] [children: 30.4%] [unaccounted: 2.46%]
17:30:16: | | flush - [18.5%] [avg time: 0.128 ms]
17:30:16: | | CopyResource - [1.59%] [avg time: 0.011 ms]
17:30:16: | | conversion to 4:2:0 - [10.3%] [avg time: 0.071 ms]
17:30:16: Convert444Threads - [100%] [avg time: 0.378 ms] [children: 99.2%] [unaccounted: 0.794%]
17:30:16: | Convert444toNV12 - [99.2%] [avg time: 0.375 ms]
17:30:16: encoder thread frame - [100%] [avg time: 1.48 ms]
17:30:16: ==============================================================
17:30:16: 
17:30:16: 
17:30:16: Profiler CPU results:
17:30:16: 
17:30:16: ==============================================================
17:30:16: video thread frame - [cpu time: avg 0.044 ms, total 31.2 ms] [avg calls per frame: 1]
17:30:16: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:30:16: | GPU download and conversion - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:30:16: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:30:16: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:30:16: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:30:16: Convert444Threads - [cpu time: avg 0.315 ms, total 873.602 ms] [avg calls per frame: 4]
17:30:16: | Convert444toNV12 - [cpu time: avg 0.315 ms, total 873.602 ms] [avg calls per frame: 4]
17:30:16: encoder thread frame - [cpu time: avg 0.925 ms, total 639.604 ms] [avg calls per frame: 1]
17:30:16: ==============================================================
17:30:16: 
17:30:16: =====Stream End: 2013-12-30, 17:30:16=================================================
 

Gol D. Ace

Member
For YouTube Live you want to enable CBR.

Set the FPS to 30 and use a higher bitrate (1000 kbps is a bit low for 720p).
 
CBR? If you meant CFR, I have that enabled already.

FPS was 20, changed it to 30
Increased the bitrate from 1000 kpps to 4000 kbps.

No change in resulting stream spead (as indicated on the lower-right hand corner of OBS). Still maxes out around 348kbps
 

Krazy

Town drunk
Kind of makes me question if the content you are streaming actually needs 4000 bitrate. With VBR, x264 only uses as much bitrate as it needs for a scene. Low motion/low complexity scenes don't really need that much. What are you streaming, exactly?

I mean, I guess it doesn't really matter, YouTube transcodes everything anyway.
 

Gol D. Ace

Member
Yes CBR. (Constant Bit Rate)
CFR is Constant Frame Rate.

PXbjlC1.png
 
Top