Hi, I tried looking for a solution for this but I couldn't find any on this forum or elsewhere. I'm having the issue where using game capture as a source for Battlefield 3 results in a black screen on the stream. I've tried the hotkey fix which doesn't seem to do anything. I am aware that I also seem to be getting massive late frames but I would like to solve this problem first. Here is my log
Code:
20:04:45: Settings::Video: Disabling Aero
20:05:40: Open Broadcaster Software v0.554b - 64bit ( ^ω^)
20:05:40: -------------------------------
20:05:40: CPU Name: Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz
20:05:40: CPU Speed: 2798MHz
20:05:40: Physical Memory: 8183MB Total, 3824MB Free
20:05:40: stepping id: 5, model 14, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 8, total cores 4
20:05:40: monitor 1: pos={0, 0}, size={1920, 1080}
20:05:40: monitor 2: pos={-1280, -74}, size={1280, 1024}
20:05:40: Windows Version: 6.1 Build 7601 S
20:05:40: Aero is Disabled
20:05:40: -------------------------------
20:05:40: OBS Modules:
20:05:40: Base Address Module
20:05:40: 000000003F8A0000 OBS.exe
20:05:40: 00000000EED50000 OBSApi.dll
20:05:40: 00000000F5D60000 DShowPlugin.dll
20:05:40: 00000000F6060000 GraphicsCapture.dll
20:05:40: 00000000F7540000 NoiseGate.dll
20:05:40: 00000000F6040000 PSVPlugin.dll
20:05:40: ------------------------------------------
20:05:40: Adapter 1
20:05:40: Video Adapter: NVIDIA GeForce GTX 260
20:05:40: Video Adapter Dedicated Video Memory: 911605760
20:05:40: Video Adapter Shared System Memory: 3354996736
20:05:40: =====Stream Start: 2013-09-24, 20:05:40===============================================
20:05:40: Multithreaded optimizations: On
20:05:40: Base resolution: 1920x1080
20:05:40: Output resolution: 1280x720
20:05:40: ------------------------------------------
20:05:40: Loading up D3D10 on NVIDIA GeForce GTX 260...
20:05:40: C:/Users/bavvb/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture.pShader.blob
20:05:41: C:/Users/bavvb/AppData/Roaming/OBS/shaderCache/shaders/DrawSolid.pShader.blob
20:05:41: C:/Users/bavvb/AppData/Roaming/OBS/shaderCache/shaders/DownscaleBilinear1YUV.pShader.blob
20:05:41: Playback device Default
20:05:41: ------------------------------------------
20:05:41: Using desktop audio input: Speakers (Creative SB X-Fi)
20:05:41: ------------------------------------------
20:05:41: Using auxilary audio input: Microphone (USB Audio Device)
20:05:41: ------------------------------------------
20:05:41: Audio Encoding: AAC
20:05:41: bitrate: 128
20:05:41: Using graphics capture
20:05:41: C:/Users/bavvb/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture_ColorAdjust.pShader.blob
20:05:41: Using custom x264 settings: "keyint=120"
20:05:41: ------------------------------------------
20:05:41: Video Encoding: x264
20:05:41: fps: 60
20:05:41: width: 1280, height: 720
20:05:41: preset: veryfast
20:05:41: CBR: yes
20:05:41: CFR: yes
20:05:41: max bitrate: 3500
20:05:41: buffer size: 3500
20:05:41: ------------------------------------------
20:05:41: MMDeviceAudioSource: Frequency for device 'Speakers (Creative SB X-Fi)' is 384000, samples per sec is 48000
20:05:41: MMDeviceAudioSource: Frequency for device 'Microphone (USB Audio Device)' is 64000, samples per sec is 16000
20:05:43: Using RTMP service: Twitch / Justin.tv
20:05:43: Server selection: rtmp://live-lax.justin.tv/app
20:05:43: Interface: Realtek RTL8168D/8111D Family PCI-E Gigabit Ethernet NIC (NDIS 6.20) (ethernet, 100 mbps)
20:05:44: SO_SNDBUF was at 8192
20:05:44: SO_SNDBUF is now 65536
Warning -- D3D10Texture::CreateFromSharedHandle: Failed to open shared handle, result = 0x8007000E
Warning -- SharedTexCapture::Init: Could not create shared texture
20:06:29: Total frames rendered: 301, number of late frames: 266 (88.37%) (it's okay for some frames to be late)
20:06:29: Total duplicated frames to ensure constant framerate: 2532 (841.20%)
20:06:29: RTMPPublisher::SocketLoop: Graceful loop exit
20:06:29: Number of times waited to send: 0, Waited for a total of 0 bytes
20:06:29: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
20:06:29:
20:06:29: Profiler results:
20:06:29:
20:06:29: ==============================================================
20:06:29: frame - [100%] [avg time: 156.985 ms (cpu time: avg 32.236 ms, total 9703.13 ms)] [avg calls per frame: 1] [children: 100%] [unaccounted: 0.00319%]
20:06:29: | frame preprocessing and rendering - [1.11%] [avg time: 1.742 ms (cpu time: avg 0.726 ms, total 218.75 ms)] [avg calls per frame: 1] [children: 0.00127%] [unaccounted: 1.11%]
20:06:29: | | scene->Preprocess - [0.00127%] [avg time: 0.002 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 1]
20:06:29: | video encoding and uploading - [98.9%] [avg time: 155.238 ms (cpu time: avg 31.509 ms, total 9484.38 ms)] [avg calls per frame: 1] [children: 97.8%] [unaccounted: 1.11%]
20:06:29: | | flush - [0.179%] [avg time: 0.281 ms (cpu time: avg 0.103 ms, total 31.25 ms)] [avg calls per frame: 1]
20:06:29: | | CopyResource - [72%] [avg time: 112.969 ms (cpu time: avg 5.45 ms, total 1640.63 ms)] [avg calls per frame: 0]
20:06:29: | | conversion to 4:2:0 - [0.0108%] [avg time: 0.017 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 0]
20:06:29: | | call to encoder - [25.3%] [avg time: 39.761 ms (cpu time: avg 25.799 ms, total 7765.63 ms)] [avg calls per frame: 9]
20:06:29: | | sending stuff out - [0.295%] [avg time: 0.463 ms (cpu time: avg 0.103 ms, total 31.25 ms)] [avg calls per frame: 9]
20:06:29: | Convert444Threads - [200%] [avg time: 313.327 ms (cpu time: avg 3.945 ms, total 1187.5 ms)] [avg calls per frame: 1]
20:06:29: ==============================================================
20:06:29:
20:06:29: =====Stream End: 2013-09-24, 20:06:29=================================================
Last game capture log:
2013-09-24, 20:05:49: we're booting up:
20:05:49: D3D9 Present
20:05:49: DXGI Present
20:05:49: (half life scientist) everything.. seems to be in order
20:05:49: DXGI: Found D3D 11
20:05:49: setting up d3d11 data
20:05:49: ---------------------- Cleared D3D11 Capture ----------------------
20:05:49: found dxgi format (dx11) of: 28, size: {1920, 1018}, multisampled: false
20:05:49: DoD3D11Hook: success
20:05:49: successfully capturing d3d11 frames via GPU