Question / Help Can't stream in 60 FPS.

CardinalNote

New Member
Whenever I try to stream with 40 - 60 FPS (I can stream with 25, but I haven't tried with 30, 35 yet) obs just stops responding, or more specifically, it just freezes, it doesn't say "Open Broadcaster is not responding" and such. I've tried looking this up at Google but it seems I'm the only on with this problem. :U halp
 

CardinalNote

New Member
Code:
18:01:44: Open Broadcaster Software v0.591b - 64bit ( ^ω^)
18:01:44: -------------------------------
18:01:44: CPU Name: Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz
18:01:44: CPU Speed: 3093MHz
18:01:44: Physical Memory:  8174MB Total, 3641MB Free
18:01:44: stepping id: 7, model 42, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 2
18:01:44: monitor 1: pos={0, 0}, size={1920, 1080}
18:01:44: monitor 2: pos={1920, 0}, size={1920, 1080}
18:01:44: monitor 3: pos={-1920, 0}, size={1920, 1080}
18:01:44: Windows Version: 6.1 Build 7601 S
18:01:44: Aero is Enabled
18:01:44: -------------------------------
18:01:44: OBS Modules:
18:01:44: Base Address     Module
18:01:44: 000000003FDE0000 OBS.exe
18:01:44: 00000000EAE60000 OBSApi.dll
18:01:44: 00000000FA3C0000 DShowPlugin.dll
18:01:44: 00000000FA0C0000 GraphicsCapture.dll
18:01:44: 00000000FA410000 NoiseGate.dll
18:01:44: 00000000FA4D0000 PSVPlugin.dll
18:01:44: ------------------------------------------
18:01:44: Adapter 1
18:01:44:   Video Adapter: NVIDIA GeForce GTX 660 Ti
18:01:44:   Video Adapter Dedicated Video Memory: 3155886080
18:01:44:   Video Adapter Shared System Memory: 4017129472
18:01:44:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
18:01:44:   Video Adapter Output 2: pos={1920, 0}, size={1920, 1080}, attached=true
18:01:44:   Video Adapter Output 3: pos={-1920, 0}, size={1920, 1080}, attached=true
18:01:44: =====Stream Start: 2013-12-20, 18:01:44===============================================
18:01:44:   Multithreaded optimizations: On
18:01:44:   Base resolution: 1920x1080
18:01:44:   Output resolution: 1920x1080
18:01:44: ------------------------------------------
18:01:44: Loading up D3D10 on NVIDIA GeForce GTX 660 Ti (Adapter 1)...
18:01:44: ------------------------------------------
18:01:44: Audio Format: 48000hz
18:01:44: Playback device {0.0.0.00000000}.{9fc1f7be-bf18-415a-974a-492649310c6d}
18:01:44: ------------------------------------------
18:01:44: Using desktop audio input: Speakers (Realtek High Definition Audio)
18:01:44: ------------------------------------------
18:01:44: Using auxilary audio input: Microphone (Samson C01U              )
18:01:44: ------------------------------------------
18:01:44: Audio Encoding: AAC
18:01:44:     bitrate: 160
18:01:44: Using graphics capture
18:01:44: Scene buffering time set to 400
18:01:44: ------------------------------------------
18:01:44: Video Encoding: x264
18:01:44:     fps: 60
18:01:44:     width: 1920, height: 1080
18:01:44:     preset: slow
18:01:44:     profile: high
18:01:44:     keyint: 120
18:01:44:     CBR: yes
18:01:44:     CFR: no
18:01:44:     max bitrate: 900
18:01:44:     buffer size: 900
18:01:44: ------------------------------------------
18:01:44: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 384000, samples per sec is 48000
18:01:44: MMDeviceAudioSource: Frequency for device 'Microphone (Samson C01U              )' is 176400, samples per sec is 44100
18:01:44: Syncing audio to video time (WARNING: you should not be doing this if you are just having webcam desync, that's a separate issue)
18:01:44: SharedTexCapture hooked
18:01:47: Using RTMP service: Twitch / Justin.tv
18:01:47:   Server selection: rtmp://live-arn.justin.tv/app
18:01:47:   Interface: Intel(R) 82579V Gigabit Network Connection (ethernet, 100 mbps)
18:01:48: Completed handshake with rtmp://live-arn.justin.tv/app in 390 ms.
18:01:49: SO_SNDBUF was at 8192
18:01:49: SO_SNDBUF is now 65536
18:01:56: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 0 / 135168)
18:02:01: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 0 / 135168)
18:02:11: Total frames encoded: 732, total frames duplicated: 641 (87.57%)
18:02:11: Number of frames skipped due to encoder lag: 637 (87.02%)
18:02:11: Total frames rendered: 99, number of late frames: 1 (1.01%) (it's okay for some frames to be late)
18:02:11: RTMPPublisher::SocketLoop: Graceful loop exit
18:02:12: Average send payload: 2775 bytes, average send interval: 44 ms
18:02:12: Number of times waited to send: 0, Waited for a total of 0 bytes
18:02:12: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
18:02:12: Number of bytes sent: 1193470
18:02:12: 
18:02:12: Profiler time results:
18:02:12: 
18:02:12: ==============================================================
18:02:12: video thread frame - [100%] [avg time: 2.24 ms] [children: 12.4%] [unaccounted: 87.6%]
18:02:12: | scene->Preprocess - [0.0446%] [avg time: 0.001 ms]
18:02:12: | GPU download and conversion - [12.3%] [avg time: 0.276 ms] [children: 11.4%] [unaccounted: 0.893%]
18:02:12: | | flush - [5.04%] [avg time: 0.113 ms]
18:02:12: | | CopyResource - [6.34%] [avg time: 0.142 ms]
18:02:12: | | conversion to 4:2:0 - [0.0446%] [avg time: 0.001 ms]
18:02:12: Convert444Thread - [100%] [avg time: 1.854 ms] [children: 99.3%] [unaccounted: 0.701%]
18:02:12: | Convert444toNV12 - [99.3%] [avg time: 1.841 ms]
18:02:12: encoder thread frame - [100%] [avg time: 35.684 ms]
18:02:12: ==============================================================
18:02:12: 
18:02:12: 
18:02:12: Profiler CPU results:
18:02:12: 
18:02:12: ==============================================================
18:02:12: video thread frame - [cpu time: avg 0.787 ms, total 78 ms] [avg calls per frame: 1]
18:02:12: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
18:02:12: | GPU download and conversion - [cpu time: avg 0.157 ms, total 15.6 ms] [avg calls per frame: 1]
18:02:12: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
18:02:12: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
18:02:12: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
18:02:12: Convert444Thread - [cpu time: avg 1.808 ms, total 124.8 ms] [avg calls per frame: 1]
18:02:12: | Convert444toNV12 - [cpu time: avg 1.808 ms, total 124.8 ms] [avg calls per frame: 1]
18:02:12: encoder thread frame - [cpu time: avg 2.511 ms, total 1778.41 ms] [avg calls per frame: 1]
18:02:12: ==============================================================
18:02:12: 
18:02:12: =====Stream End: 2013-12-20, 18:02:12=================================================


Last game capture log:
2013-12-20, 18:01:44: we're booting up: 
18:01:44: CaptureThread: attached to process Hearthstone.exe
18:01:44: D3D9 Present
18:01:44: D3D9EndScene called
18:01:44: D3DPRESENT_PARAMETERS {
18:01:44: 	BackBufferWidth: 1840
18:01:44: 	BackBufferHeight: 1000
18:01:44: 	BackBufferFormat: D3DFMT_A8R8G8B8
18:01:44: 	BackBufferCount: 1
18:01:44: 	MultiSampleType: D3DMULTISAMPLE_NONE
18:01:44: 	MultiSampleQuality: 0
18:01:44: 	SwapEffect: D3DSWAPEFFECT_DISCARD
18:01:44: 	hDeviceWindow: 7930880
18:01:44: 	Windowed: true
18:01:44: 	EnableAutoDepthStencil: false
18:01:44: 	AutoDepthStencilFormat: D3DFMT_D24S8
18:01:44: 	Flags: None
18:01:44: 	FullScreen_RefreshRateInHz: 0
18:01:44: 	PresentationInterval: 1
18:01:44: };
18:01:44: successfully set up d3d9 hooks
18:01:44: D3D9Present called
18:01:44: DXGI Present
18:01:44: DoD3D9GPUHook: success
18:01:44: D3DSURFACE_DESC {
18:01:44: 	Format: D3DFMT_A8R8G8B8
18:01:44: 	Type: D3DRTYPE_SURFACE
18:01:44: 	Usage: D3DUSAGE_RENDERTARGET 
18:01:44: 	Pool: D3DPOOL_DEFAULT
18:01:44: 	MultiSampleType: D3DMULTISAMPLE_NONE
18:01:44: 	MultiSampleQuality: 0
18:01:44: 	Width: 1840
18:01:44: 	Height: 1000
18:01:44: };
18:01:44: successfully capturing d3d9 frames via GPU
18:01:45: NV Capture available
18:01:45: FBO available
18:01:45: GL Present
18:01:45: (half life scientist) everything..  seems to be in order
18:02:11: ---------------------- Cleared D3D9 Capture ----------------------
18:02:11: D3D9EndScene called
18:02:11: D3D9Present called
 

alpinlol

Active Member
1080p at first is not going to happen with this cpu especially not with 60 fps also for what reason did you change the scene buffering? from 700 down to 400?
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
400 was an older defeault a long time ago, he might have installed it a long time back but never used it.

Also, yea, you'll want to use more downscale for that processor. If you only have 900 bitrate to spare for video, I'd recommend 2.0
 

Sapiens

Forum Moderator
No, currently 1080p60 is not going to work well under any circumstances, and certainly not with your bitrate limitations. If your maximum available upstream bandwidth is around 1 Mbps you should be targeting a stream resolution closer to 360p or 480p.
 

FerretBomb

Active Member
But yeah, an i3 isn't going to likely even be able to handle 720p@30, much less 1080 at all, even less at 60fps (very, VERY few systems can run 1080@60, and it tends to cause Twitch's video player to **** the bed anyway, so isn't recommended even with a dual-box casting setup).

You're asking a mouse to pull an oxcart full of cement. It ain't going to work.
 

Boildown

Active Member
The proper way to see how well you can stream is to find something that does work and then gradually increase the settings until things start to go wrong, then back it off a little.

So to start with, go small. 360p resolution. 30 frames per second. Set your preset to Very Fast instead of Slow. Set your audio bitrate down to 128. Turn Constant Frame Rate to On / Yes. Set all your audio devices to 44100 instead of a mix of 44100 and 48000 (including OBS).

Once that's set, stream for five minutes doing the fastest action possible in whatever game you're playing. Look at the log file. When these percentages:

18:02:11: Total frames encoded: 732, total frames duplicated: 641 (87.57%)
18:02:11: Number of frames skipped due to encoder lag: 637 (87.02%)
18:02:11: Total frames rendered: 99, number of late frames: 1 (1.01%) (it's okay for some frames to be late)

... Are all at 1% or lower, then your stream is ok. If they're very close to 0%, you can increase some settings and test over again. If any of these percentages are still over 1%, then you need to reduce settings more... if you've done what I said and this is the case, try using SuperFast or UltraFast preset. If none of that works, your computer can't run both the game and the stream at the same time.
 
Top