Question / Help Streaming Team Fortress 2

MicroPenguin

New Member
Hi, I am having trouble streaming Team Fortress 2. It only works when I run the game in Windows mode. In full screen, only the cursor and audio are captured.

Here is a screenshot:
HDbtc.jpg



Log:
Code:
21:31:59: Open Broadcaster Software v0.583b - 32bit (´・ω・`)
21:31:59: -------------------------------
21:31:59: CPU Name: Intel(R) Core(TM) i7-3940XM CPU @ 3.00GHz
21:31:59: CPU Speed: 3192MHz
21:31:59: Physical Memory:  4095MB Total, 3948MB Free
21:31:59: stepping id: 9, model 58, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
21:31:59: monitor 1: pos={0, 0}, size={1920, 1080}
21:31:59: Windows Version: 6.1 Build 7601 S
21:31:59: Aero is Enabled
21:31:59: -------------------------------
21:31:59: OBS Modules:
21:31:59: Base Address     Module
21:31:59: 00090000         OBS.exe
21:31:59: 5CE90000         OBSApi.dll
21:31:59: 749F0000         DShowPlugin.dll
21:31:59: 74A30000         GraphicsCapture.dll
21:31:59: 6C750000         NoiseGate.dll
21:31:59: 6C700000         PSVPlugin.dll
21:31:59: ------------------------------------------
21:31:59: Adapter 1
21:31:59:   Video Adapter: Intel(R) HD Graphics 4000
21:31:59:   Video Adapter Dedicated Video Memory: 67108864
21:31:59:   Video Adapter Shared System Memory: 1711276032
21:31:59:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
21:31:59: ------------------------------------------
21:31:59: Adapter 2
21:31:59:   Video Adapter: NVIDIA Quadro K2000M 
21:31:59:   Video Adapter Dedicated Video Memory: 2091712512
21:31:59:   Video Adapter Shared System Memory: 2203189248
21:31:59: =====Stream Start: 2013-11-13, 21:31:59===============================================
21:31:59:   Multithreaded optimizations: On
21:31:59:   Base resolution: 1920x1080
21:31:59:   Output resolution: 1920x1080
21:31:59: ------------------------------------------
21:31:59: Loading up D3D10 on Intel(R) HD Graphics 4000...
21:31:59: ------------------------------------------
21:31:59: Audio Format: 48000hz
21:31:59: Playback device Default
21:31:59: ------------------------------------------
21:31:59: Using desktop audio input: Speaker/HP (Realtek High Definition Audio)
21:31:59: ------------------------------------------
21:31:59: Using auxilary audio input: Microphone (Realtek High Definition Audio)
21:31:59: ------------------------------------------
21:31:59: Audio Encoding: AAC
21:31:59:     bitrate: 128
21:31:59: Using graphics capture
21:31:59: Scene buffering time set to 700
21:31:59: ------------------------------------------
21:31:59: Video Encoding: x264
21:31:59:     fps: 30
21:31:59:     width: 1920, height: 1080
21:31:59:     preset: veryfast
21:31:59:     profile: high
21:31:59:     keyint: 250
21:31:59:     CBR: yes
21:31:59:     CFR: yes
21:31:59:     max bitrate: 1000
21:31:59:     buffer size: 1000
21:31:59: ------------------------------------------
21:31:59: MMDeviceAudioSource: Frequency for device 'Speaker/HP (Realtek High Definition Audio)' is 384000, samples per sec is 48000
21:31:59: MMDeviceAudioSource: Frequency for device 'Microphone (Realtek High Definition Audio)' is 384000, samples per sec is 48000
21:32:03: SharedTexCapture hooked
21:32:09: GraphicsCaptureSource::NewCapture:  eliminating old capture
21:32:09: SharedTexCapture hooked
21:33:10: Total frames encoded: 2120, total frames duplicated: 14 (0.66%)
21:33:10: Total frames rendered: 2114, number of late frames: 2 (0.09%) (it's okay for some frames to be late)
21:33:11: 
21:33:11: Profiler time results:
21:33:11: 
21:33:11: ==============================================================
21:33:11: video thread frame - [100%] [avg time: 0.816 ms] [children: 10.5%] [unaccounted: 89.5%]
21:33:11: | scene->Preprocess - [0.245%] [avg time: 0.002 ms]
21:33:11: | GPU download and conversion - [10.3%] [avg time: 0.084 ms] [children: 8.58%] [unaccounted: 1.72%]
21:33:11: | | flush - [2.57%] [avg time: 0.021 ms]
21:33:11: | | CopyResource - [5.76%] [avg time: 0.047 ms]
21:33:11: | | conversion to 4:2:0 - [0.245%] [avg time: 0.002 ms]
21:33:11: Convert444Threads - [100%] [avg time: 2.421 ms] [children: 99.6%] [unaccounted: 0.413%]
21:33:11: | Convert444toNV12 - [99.6%] [avg time: 2.411 ms]
21:33:11: encoder thread frame - [100%] [avg time: 1.912 ms]
21:33:11: ==============================================================
21:33:11: 
21:33:11: 
21:33:11: Profiler CPU results:
21:33:11: 
21:33:11: ==============================================================
21:33:11: video thread frame - [cpu time: avg 0.051 ms, total 109.2 ms] [avg calls per frame: 1]
21:33:11: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
21:33:11: | GPU download and conversion - [cpu time: avg 0.014 ms, total 31.2 ms] [avg calls per frame: 1]
21:33:11: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
21:33:11: | | CopyResource - [cpu time: avg 0.014 ms, total 31.2 ms] [avg calls per frame: 1]
21:33:11: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
21:33:11: Convert444Threads - [cpu time: avg 2.366 ms, total 9890.46 ms] [avg calls per frame: 2]
21:33:11: | Convert444toNV12 - [cpu time: avg 2.366 ms, total 9890.46 ms] [avg calls per frame: 2]
21:33:11: encoder thread frame - [cpu time: avg 1.263 ms, total 2652.02 ms] [avg calls per frame: 1]
21:33:11: ==============================================================
21:33:11: 
21:33:11: =====Stream End: 2013-11-13, 21:33:11=================================================


CaptureHookLog:
Code:
2013-11-13, 21:31:59: we're booting up: 
21:31:59: D3D9 Present
21:31:59: D3D9EndScene called
21:31:59: D3DPRESENT_PARAMETERS {
21:31:59: 	BackBufferWidth: 1280
21:31:59: 	BackBufferHeight: 720
21:31:59: 	BackBufferFormat: D3DFMT_A8R8G8B8
21:31:59: 	BackBufferCount: 1
21:31:59: 	MultiSampleType: D3DMULTISAMPLE_NONE
21:31:59: 	MultiSampleQuality: 0
21:31:59: 	SwapEffect: D3DSWAPEFFECT_DISCARD
21:31:59: 	hDeviceWindow: 12452990
21:31:59: 	Windowed: false
21:31:59: 	EnableAutoDepthStencil: true
21:31:59: 	AutoDepthStencilFormat: D3DFMT_D24S8
21:31:59: 	Flags: None
21:31:59: 	FullScreen_RefreshRateInHz: 50
21:31:59: 	PresentationInterval: 2147483648
21:31:59: };
21:31:59: successfully set up d3d9 hooks
21:31:59: NV Capture available
21:31:59: FBO available
21:31:59: GL Present
21:31:59: (half life scientist) everything..  seems to be in order
21:32:03: D3D9Present called
21:32:03: DoD3D9GPUHook: success - d3d9ex
21:32:03: D3DSURFACE_DESC {
21:32:03: 	Format: D3DFMT_A8R8G8B8
21:32:03: 	Type: D3DRTYPE_SURFACE
21:32:03: 	Usage: D3DUSAGE_RENDERTARGET 
21:32:03: 	Pool: D3DPOOL_DEFAULT
21:32:03: 	MultiSampleType: D3DMULTISAMPLE_NONE
21:32:03: 	MultiSampleQuality: 0
21:32:03: 	Width: 1280
21:32:03: 	Height: 720
21:32:03: };
21:32:03: successfully capturing d3d9 frames via GPU
21:32:08: D3D9Reset called
21:32:08: ---------------------- Cleared D3D9 Capture ----------------------
21:32:09: successfully set up d3d9 hooks
21:32:09: D3D9EndScene called
21:32:09: D3D9Present called
21:32:09: DoD3D9GPUHook: success - d3d9ex
21:32:09: D3DSURFACE_DESC {
21:32:09: 	Format: D3DFMT_A8R8G8B8
21:32:09: 	Type: D3DRTYPE_SURFACE
21:32:09: 	Usage: D3DUSAGE_RENDERTARGET 
21:32:09: 	Pool: D3DPOOL_DEFAULT
21:32:09: 	MultiSampleType: D3DMULTISAMPLE_NONE
21:32:09: 	MultiSampleQuality: 0
21:32:09: 	Width: 1280
21:32:09: 	Height: 720
21:32:09: };
21:32:09: successfully capturing d3d9 frames via GPU
21:33:10: ---------------------- Cleared D3D9 Capture ----------------------
21:33:10: received restart event, capturing
21:33:11: DoD3D9GPUHook: success - d3d9ex
21:33:11: D3D9EndScene called
21:33:11: D3D9Present called
21:33:14: ---------------------- Cleared D3D9 Capture ----------------------
21:33:14: D3D9EndScene called
21:33:14: D3D9Present called
 

MicroPenguin

New Member
Thank you so much!
Everything is working perfectly now, you have saved me from a lot of headache. :)
This link should be included in the Twitch OBS FAQ, I'm sure a lot of laptop users are having the same problem.
 

alpinlol

Active Member
you should still downscale your resolution since a 1k bitrate wont really do its job on 1080p especially with a fps game

*just as a sidenote ;D
 
Top