Question / Help Image Freezes On The First Frame When Streaming?

TokyoHEARTS

New Member
When I try to stream my games to Twitch, the image freezes on one of the first few frames. I've checked over my settings a million times. It happens with everything. But when I record rather than stream, it works fine. Any help?

P.S. Here's a log file.

Code:
18:13:26: Open Broadcaster Software v0.612b - 32bit (´・ω・`)
18:13:26: -------------------------------
18:13:26: CPU Name: AMD A8-5550M APU with Radeon(tm) HD Graphics
18:13:26: CPU Speed: 2096MHz
18:13:26: Physical Memory:  3293MB Total, 820MB Free
18:13:26: stepping id: 1, model 19, family 21, type 0, extmodel 0, extfamily 3, HTT 1, logical cores 4, total cores 4
18:13:26: monitor 1: pos={0, 0}, size={1600, 900}
18:13:26: Windows Version: 6.2 Build 9200 
18:13:26: Aero is Enabled
18:13:26: -------------------------------
18:13:26: OBS Modules:
18:13:26: Base Address     Module
18:13:26: 00C30000         OBS.exe
18:13:26: 68380000         OBSApi.dll
18:13:26: 70C90000         DShowPlugin.dll
18:13:26: 70EB0000         GraphicsCapture.dll
18:13:26: 70D30000         NoiseGate.dll
18:13:26: 70CD0000         PSVPlugin.dll
18:13:26: ------------------------------------------
18:13:26: Adapter 1
18:13:26:   Video Adapter: AMD Radeon HD 8550G
18:13:26:   Video Adapter Dedicated Video Memory: 790290432
18:13:26:   Video Adapter Shared System Memory: 1458145280
18:13:26:   Video Adapter Output 1: pos={0, 0}, size={1600, 900}, attached=true
18:13:27: =====Stream Start: 2014-02-26, 18:13:27===============================================
18:13:27:   Multithreaded optimizations: On
18:13:27:   Base resolution: 1600x900
18:13:27:   Output resolution: 1600x900
18:13:27: ------------------------------------------
18:13:27: Loading up D3D10 on AMD Radeon HD 8550G (Adapter 1)...
18:13:28: ------------------------------------------
18:13:28: Audio Format: 48000hz
18:13:28: Playback device {0.0.0.00000000}.{c0ba8b7f-7d24-4866-b2dc-1d676a48601a}
18:13:28: ------------------------------------------
18:13:28: Using desktop audio input: Speaker/HP (Realtek High Definition Audio)
18:13:30: ------------------------------------------
18:13:30: Using auxilary audio input: Microphone (Realtek High Definition Audio)
18:13:30: ------------------------------------------
18:13:30: Audio Encoding: AAC
18:13:30:     bitrate: 96
18:13:30: Using graphics capture
18:13:31: Scene buffering time set to 700
18:13:31: ------------------------------------------
18:13:31: Video Encoding: x264
18:13:31:     fps: 30
18:13:31:     width: 1600, height: 900
18:13:31:     preset: veryfast
18:13:31:     profile: main
18:13:31:     keyint: 60
18:13:31:     CBR: yes
18:13:31:     CFR: yes
18:13:31:     max bitrate: 1000
18:13:31:     buffer size: 1000
18:13:31: ------------------------------------------
18:13:31: Warning - OBSCapture::Start: Unable to create the file stream. Check the file path in Broadcast Settings.
18:13:33: SharedTexCapture hooked
18:13:36: Using RTMP service: Twitch / Justin.tv
18:13:36:   Server selection: rtmp://live-iad.justin.tv/app
18:13:36:   Interface: Realtek RTL8188EE 802.11bgn Wi-Fi Adapter (802.11, 177 mbps)
18:13:36: Completed handshake with rtmp://live-iad.justin.tv/app in 542 ms.
18:13:37: SO_SNDBUF was at 65536
18:13:37: SO_SNDBUF is now 65536
18:13:41: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 674 / 140288)
18:14:10: RTMPPublisher::SocketLoop: Stalled for 3765 ms to write 4717 bytes (buffer: 0 / 140288), unstable connection?
18:14:30: RTMPPublisher::SocketLoop: Stalled for 2292 ms to write 536 bytes (buffer: 0 / 140288), unstable connection?
18:14:34: RTMPPublisher::SocketLoop: Stalled for 3995 ms to write 8632 bytes (buffer: 0 / 140288), unstable connection?
18:14:51: RTMPPublisher::SocketLoop: Stalled for 2868 ms to write 37270 bytes (buffer: 0 / 140288), unstable connection?
18:14:54: RTMPPublisher::SocketLoop: Stalled for 1981 ms to write 342 bytes (buffer: 0 / 140288), unstable connection?
18:15:14: RTMPPublisher::SocketLoop: Stalled for 5199 ms to write 4773 bytes (buffer: 0 / 140288), unstable connection?
18:15:41: RTMPPublisher::SocketLoop: Stalled for 2990 ms to write 262 bytes (buffer: 0 / 140288), unstable connection?
18:15:47: RTMPPublisher::SocketLoop: Stalled for 6121 ms to write 446 bytes (buffer: 0 / 140288), unstable connection?
18:15:53: RTMPPublisher::SocketLoop: Stalled for 4291 ms to write 4576 bytes (buffer: 0 / 140288), unstable connection?
18:16:23: RTMPPublisher::SocketLoop: Stalled for 1732 ms to write 4462 bytes (buffer: 0 / 140288), unstable connection?
18:16:25: RTMPPublisher::SocketLoop: Stalled for 1818 ms to write 580 bytes (buffer: 0 / 140288), unstable connection?
18:16:27: RTMPPublisher::SocketLoop: Stalled for 1605 ms to write 542 bytes (buffer: 0 / 140288), unstable connection?
18:16:30: RTMPPublisher::SocketLoop: Stalled for 3245 ms to write 8629 bytes (buffer: 0 / 140288), unstable connection?
18:17:05: RTMPPublisher::SocketLoop: Stalled for 3937 ms to write 4820 bytes (buffer: 0 / 140288), unstable connection?
18:17:39: RTMPPublisher::SocketLoop: Stalled for 1769 ms to write 4783 bytes (buffer: 0 / 140288), unstable connection?
18:19:46: RTMPPublisher::SocketLoop: Stalled for 2198 ms to write 4841 bytes (buffer: 0 / 140288), unstable connection?
18:19:49: RTMPPublisher::SocketLoop: Stalled for 2482 ms to write 645 bytes (buffer: 0 / 140288), unstable connection?
18:20:34: RTMPPublisher::SocketLoop: Stalled for 2292 ms to write 4511 bytes (buffer: 0 / 140288), unstable connection?
18:20:36: RTMPPublisher::SocketLoop: Stalled for 2767 ms to write 531 bytes (buffer: 0 / 140288), unstable connection?
18:20:45: Total frames encoded: 5671, total frames duplicated: 5572 (98.25%)
18:20:45: Number of frames skipped due to encoder lag: 5554 (97.94%)
18:20:45: Total frames rendered: 105, number of late frames: 22 (20.95%) (it's okay for some frames to be late)
18:20:45: RTMPPublisher::SocketLoop: Graceful loop exit
18:20:46: Average send payload: 4127 bytes, average send interval: 68 ms
18:20:46: Number of times waited to send: 0, Waited for a total of 0 bytes
18:20:46: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
18:20:46: Number of bytes sent: 25611379
18:20:46: 
18:20:46: Profiler time results:
18:20:46: 
18:20:46: ==============================================================
18:20:46: video thread frame - [100%] [avg time: 31.571 ms] [children: 41.2%] [unaccounted: 58.8%]
18:20:46: | scene->Preprocess - [0.0253%] [avg time: 0.008 ms]
18:20:46: | GPU download and conversion - [41.2%] [avg time: 13.004 ms] [children: 7.15%] [unaccounted: 34%]
18:20:46: | | flush - [3.99%] [avg time: 1.26 ms]
18:20:46: | | CopyResource - [3.07%] [avg time: 0.97 ms]
18:20:46: | | conversion to 4:2:0 - [0.0887%] [avg time: 0.028 ms]
18:20:46: Convert444Threads - [100%] [avg time: 8.453 ms] [children: 99.2%] [unaccounted: 0.769%]
18:20:46: | Convert444toNV12 - [99.2%] [avg time: 8.388 ms]
18:20:46: encoder thread frame - [100%] [avg time: 76.184 ms] [children: 0.427%] [unaccounted: 99.6%]
18:20:46: | sending stuff out - [0.427%] [avg time: 0.325 ms]
18:20:46: ==============================================================
18:20:46: 
18:20:46: 
18:20:46: Profiler CPU results:
18:20:46: 
18:20:46: ==============================================================
18:20:46: video thread frame - [cpu time: avg 2.971 ms, total 312.002 ms] [avg calls per frame: 1]
18:20:46: | scene->Preprocess - [cpu time: avg 0.148 ms, total 15.6 ms] [avg calls per frame: 1]
18:20:46: | GPU download and conversion - [cpu time: avg 0.445 ms, total 46.801 ms] [avg calls per frame: 1]
18:20:46: | | flush - [cpu time: avg 0.445 ms, total 46.801 ms] [avg calls per frame: 1]
18:20:46: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
18:20:46: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
18:20:46: Convert444Threads - [cpu time: avg 5.597 ms, total 951.605 ms] [avg calls per frame: 2]
18:20:46: | Convert444toNV12 - [cpu time: avg 5.597 ms, total 951.605 ms] [avg calls per frame: 2]
18:20:46: encoder thread frame - [cpu time: avg 10.911 ms, total 61651.6 ms] [avg calls per frame: 1]
18:20:46: | sending stuff out - [cpu time: avg 0.201 ms, total 1138.81 ms] [avg calls per frame: 1]
18:20:46: ==============================================================
18:20:46: 
18:20:46: =====Stream End: 2014-02-26, 18:20:46=================================================


Last game capture log:
2014-02-26, 18:13:31: we're booting up: 
18:13:31: CaptureThread: attached to process RobloxPlayerBeta.exe
18:13:32: D3D9 Present
18:13:32: D3D9EndScene called
18:13:32: D3DPRESENT_PARAMETERS {
18:13:32: 	BackBufferWidth: 800
18:13:32: 	BackBufferHeight: 599
18:13:32: 	BackBufferFormat: D3DFMT_X8R8G8B8
18:13:32: 	BackBufferCount: 1
18:13:32: 	MultiSampleType: D3DMULTISAMPLE_NONE
18:13:32: 	MultiSampleQuality: 0
18:13:32: 	SwapEffect: D3DSWAPEFFECT_DISCARD
18:13:32: 	hDeviceWindow: 1376826
18:13:32: 	Windowed: true
18:13:32: 	EnableAutoDepthStencil: true
18:13:32: 	AutoDepthStencilFormat: D3DFMT_D24S8
18:13:32: 	Flags: None
18:13:32: 	FullScreen_RefreshRateInHz: 0
18:13:32: 	PresentationInterval: 2147483648
18:13:32: };
18:13:32: successfully set up d3d9 hooks
18:13:32: D3D9Present called
18:13:32: (half life scientist) everything..  seems to be in order
18:13:32: DoD3D9GPUHook: success
18:13:33: D3DSURFACE_DESC {
18:13:33: 	Format: D3DFMT_X8R8G8B8
18:13:33: 	Type: D3DRTYPE_SURFACE
18:13:33: 	Usage: D3DUSAGE_RENDERTARGET 
18:13:33: 	Pool: D3DPOOL_DEFAULT
18:13:33: 	MultiSampleType: D3DMULTISAMPLE_NONE
18:13:33: 	MultiSampleQuality: 0
18:13:33: 	Width: 800
18:13:33: 	Height: 599
18:13:33: };
18:13:33: successfully capturing d3d9 frames via GPU
18:15:21: D3D9Reset called
18:15:21: ---------------------- Cleared D3D9 Capture ----------------------
18:15:21: D3DPRESENT_PARAMETERS {
18:15:21: 	BackBufferWidth: 1600
18:15:21: 	BackBufferHeight: 837
18:15:21: 	BackBufferFormat: D3DFMT_X8R8G8B8
18:15:21: 	BackBufferCount: 1
18:15:21: 	MultiSampleType: D3DMULTISAMPLE_NONE
18:15:21: 	MultiSampleQuality: 0
18:15:21: 	SwapEffect: D3DSWAPEFFECT_DISCARD
18:15:21: 	hDeviceWindow: 1376826
18:15:21: 	Windowed: true
18:15:21: 	EnableAutoDepthStencil: true
18:15:21: 	AutoDepthStencilFormat: D3DFMT_D24S8
18:15:21: 	Flags: None
18:15:21: 	FullScreen_RefreshRateInHz: 0
18:15:21: 	PresentationInterval: 2147483648
18:15:21: };
18:15:21: successfully set up d3d9 hooks
18:15:22: D3D9EndScene called
18:15:22: D3D9Present called
18:15:22: DoD3D9GPUHook: success
18:20:45: ---------------------- Cleared D3D9 Capture ----------------------
18:20:45: D3D9EndScene called
18:20:45: D3D9Present called

18:44:04: Memory Leaks Were Detected.
18:44:04:
 

hilalpro

Member
Your CPU is not good enough for streaming games at 900p unfortunately. Go to settings>video and downscale your resolution by something like 2.5 you may also want to run the 64bit version of to help with encoding performance.
 

dodgepong

Administrator
Community Helper
After what update? OBS hasn't released an update in over a month, other than the latest test version which is a voluntary download.
 
Top