Question / Help Stream not getting in game sound

Redmoron

New Member
Hello,

I'm a new user to OBS and streaming applications as a whole. I've searched around on the forums for posts on similar problems but none of the solutions provided have worked for me. I'm using Rogue Legacy as a test to try out how well my stream works. Turns out my stream doesn't get the in game audio. I've tried using different audio devices but the result is always the same.

Here is the most recent log, I used my USB headset as the audio device (it is also set as the default). The stream lasted a little under a minute just for test purposes.
15:40:35: Open Broadcaster Software v0.592b - 32bit (´・ω・`)
15:40:35: -------------------------------
15:40:35: CPU Name: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
15:40:35: CPU Speed: 3400MHz
15:40:35: Physical Memory: 4095MB Total, 4095MB Free
15:40:35: stepping id: 3, model 60, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
15:40:35: monitor 1: pos={0, 0}, size={1920, 1080}
15:40:35: Windows Version: 6.1 Build 7601 S
15:40:35: Aero is Enabled
15:40:35: -------------------------------
15:40:35: OBS Modules:
15:40:35: Base Address Module
15:40:35: 00B50000 OBS.exe
15:40:35: 5B570000 OBSApi.dll
15:40:35: 73D30000 DShowPlugin.dll
15:40:35: 73E80000 GraphicsCapture.dll
15:40:35: 73D10000 NoiseGate.dll
15:40:35: 73CF0000 PSVPlugin.dll
15:40:35: ------------------------------------------
15:40:35: Adapter 1
15:40:35: Video Adapter: NVIDIA GeForce GTX 770
15:40:35: Video Adapter Dedicated Video Memory: 2087387136
15:40:35: Video Adapter Shared System Memory: 2147807232
15:40:35: Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
15:40:35: =====Stream Start: 2014-01-16, 15:40:35===============================================
15:40:35: Multithreaded optimizations: On
15:40:35: Base resolution: 1920x1080
15:40:35: Output resolution: 1920x1080
15:40:35: ------------------------------------------
15:40:35: Loading up D3D10 on NVIDIA GeForce GTX 770 (Adapter 1)...
15:40:35: ------------------------------------------
15:40:35: Audio Format: 44100hz
15:40:35: Playback device {0.0.1.00000000}.{b6b5d304-876c-4540-ab62-10eff2474b11}
15:40:35: ------------------------------------------
15:40:35: Using desktop audio input: Microphone (SteelSeries Diablo III Headset)
15:40:35: ------------------------------------------
15:40:35: Using auxilary audio input: Microphone (SteelSeries Diablo III Headset)
15:40:35: ------------------------------------------
15:40:35: Audio Encoding: AAC
15:40:35: bitrate: 160
15:40:35: Using graphics capture
15:40:35: Scene buffering time set to 700
15:40:35: ------------------------------------------
15:40:35: Video Encoding: x264
15:40:35: fps: 30
15:40:35: width: 1920, height: 1080
15:40:35: preset: veryfast
15:40:35: profile: main
15:40:35: keyint: 60
15:40:35: CBR: yes
15:40:35: CFR: yes
15:40:35: max bitrate: 1800
15:40:35: buffer size: 2000
15:40:35: ------------------------------------------
15:40:35: MMDeviceAudioSource: Frequency for device 'Microphone (SteelSeries Diablo III Headset)' is 352800, samples per sec is 44100
15:40:35: MMDeviceAudioSource: Frequency for device 'Microphone (SteelSeries Diablo III Headset)' is 352800, samples per sec is 44100
15:40:37: SharedTexCapture hooked
15:40:38: Using RTMP service: Twitch / Justin.tv
15:40:38: Server selection: rtmp://live-iad.justin.tv/app
15:40:38: Interface: Realtek PCIe GBE Family Controller (ethernet, 1000 mbps)
15:40:38: Completed handshake with rtmp://live-iad.justin.tv/app in 515 ms.
15:40:39: SO_SNDBUF was at 8192
15:40:39: SO_SNDBUF is now 65536
15:40:41: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 2697 / 250880)
15:40:45: GraphicsCaptureSource::NewCapture: eliminating old capture
15:40:45: SharedTexCapture hooked
15:41:19: GraphicsCaptureSource::NewCapture: eliminating old capture
15:41:19: SharedTexCapture hooked
15:41:39: Total frames encoded: 1870, total frames duplicated: 7 (0.37%)
15:41:39: Total frames rendered: 1873, number of late frames: 2 (0.11%) (it's okay for some frames to be late)
15:41:39: RTMPPublisher::SocketLoop: Graceful loop exit
15:41:39: Average send payload: 6121 bytes, average send interval: 25 ms
15:41:39: Number of times waited to send: 0, Waited for a total of 0 bytes
15:41:39: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
15:41:39: Number of bytes sent: 13870370
15:41:39:
15:41:39: Profiler time results:
15:41:39:
15:41:39: ==============================================================
15:41:39: video thread frame - [100%] [avg time: 0.957 ms] [children: 22.9%] [unaccounted: 77.1%]
15:41:39: | scene->Preprocess - [0.104%] [avg time: 0.001 ms]
15:41:39: | GPU download and conversion - [22.8%] [avg time: 0.218 ms] [children: 16.7%] [unaccounted: 6.06%]
15:41:39: | | flush - [14.4%] [avg time: 0.138 ms]
15:41:39: | | CopyResource - [2.09%] [avg time: 0.02 ms]
15:41:39: | | conversion to 4:2:0 - [0.209%] [avg time: 0.002 ms]
15:41:39: Convert444Threads - [100%] [avg time: 2.131 ms] [children: 99.6%] [unaccounted: 0.422%]
15:41:39: | Convert444toNV12 - [99.6%] [avg time: 2.122 ms]
15:41:39: encoder thread frame - [100%] [avg time: 2.559 ms]
15:41:39: ==============================================================
15:41:39:
15:41:39:
15:41:39: Profiler CPU results:
15:41:39:
15:41:39: ==============================================================
15:41:39: video thread frame - [cpu time: avg 0.116 ms, total 218.4 ms] [avg calls per frame: 1]
15:41:39: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:41:39: | GPU download and conversion - [cpu time: avg 0.024 ms, total 46.8 ms] [avg calls per frame: 1]
15:41:39: | | flush - [cpu time: avg 0.008 ms, total 15.6 ms] [avg calls per frame: 1]
15:41:39: | | CopyResource - [cpu time: avg 0.016 ms, total 31.2 ms] [avg calls per frame: 1]
15:41:39: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:41:39: Convert444Threads - [cpu time: avg 1.962 ms, total 7254.05 ms] [avg calls per frame: 2]
15:41:39: | Convert444toNV12 - [cpu time: avg 1.962 ms, total 7254.05 ms] [avg calls per frame: 2]
15:41:39: encoder thread frame - [cpu time: avg 1.662 ms, total 3073.22 ms] [avg calls per frame: 1]
15:41:39: ==============================================================
15:41:39:
15:41:39: =====Stream End: 2014-01-16, 15:41:39=================================================


Last game capture log:
2014-01-16, 15:40:35: we're booting up:
15:40:35: CaptureThread: attached to process RogueLegacy.exe
15:40:35: D3D9 Present
15:40:35: (half life scientist) everything.. seems to be in order
15:40:37: D3D9EndScene called
15:40:37: D3DPRESENT_PARAMETERS {
15:40:37: BackBufferWidth: 1920
15:40:37: BackBufferHeight: 1080
15:40:37: BackBufferFormat: D3DFMT_A8R8G8B8
15:40:37: BackBufferCount: 1
15:40:37: MultiSampleType: D3DMULTISAMPLE_NONE
15:40:37: MultiSampleQuality: 0
15:40:37: SwapEffect: D3DSWAPEFFECT_DISCARD
15:40:37: hDeviceWindow: 787398
15:40:37: Windowed: false
15:40:37: EnableAutoDepthStencil: false
15:40:37: AutoDepthStencilFormat: D3DFMT_UNKNOWN
15:40:37: Flags: None
15:40:37: FullScreen_RefreshRateInHz: 60
15:40:37: PresentationInterval: 1
15:40:37: };
15:40:37: successfully set up d3d9 hooks
15:40:37: D3D9Present called
15:40:37: DoD3D9GPUHook: success
15:40:37: D3DSURFACE_DESC {
15:40:37: Format: D3DFMT_A8R8G8B8
15:40:37: Type: D3DRTYPE_SURFACE
15:40:37: Usage: D3DUSAGE_RENDERTARGET
15:40:37: Pool: D3DPOOL_DEFAULT
15:40:37: MultiSampleType: D3DMULTISAMPLE_NONE
15:40:37: MultiSampleQuality: 0
15:40:37: Width: 1920
15:40:37: Height: 1080
15:40:37: };
15:40:37: successfully capturing d3d9 frames via GPU
15:40:44: D3D9Reset called
15:40:44: ---------------------- Cleared D3D9 Capture ----------------------
15:40:45: successfully set up d3d9 hooks
15:40:45: D3D9EndScene called
15:40:45: D3D9Present called
15:40:45: DoD3D9GPUHook: success
15:40:45: D3DSURFACE_DESC {
15:40:45: Format: D3DFMT_A8R8G8B8
15:40:45: Type: D3DRTYPE_SURFACE
15:40:45: Usage: D3DUSAGE_RENDERTARGET
15:40:45: Pool: D3DPOOL_DEFAULT
15:40:45: MultiSampleType: D3DMULTISAMPLE_NONE
15:40:45: MultiSampleQuality: 0
15:40:45: Width: 1920
15:40:45: Height: 1080
15:40:45: };
15:40:45: successfully capturing d3d9 frames via GPU
15:41:19: D3D9Reset called
15:41:19: ---------------------- Cleared D3D9 Capture ----------------------
15:41:19: successfully set up d3d9 hooks
15:41:19: D3D9EndScene called
15:41:19: D3D9Present called
15:41:19: DoD3D9GPUHook: success
15:41:19: D3DSURFACE_DESC {
15:41:19: Format: D3DFMT_A8R8G8B8
15:41:19: Type: D3DRTYPE_SURFACE
15:41:19: Usage: D3DUSAGE_RENDERTARGET
15:41:19: Pool: D3DPOOL_DEFAULT
15:41:19: MultiSampleType: D3DMULTISAMPLE_NONE
15:41:19: MultiSampleQuality: 0
15:41:19: Width: 1920
15:41:19: Height: 1080
15:41:19: };
15:41:19: successfully capturing d3d9 frames via GPU
15:41:38: D3D9Reset called
15:41:38: ---------------------- Cleared D3D9 Capture ----------------------
15:41:38: successfully set up d3d9 hooks
15:41:38: D3D9EndScene called
15:41:38: D3D9Present called
15:41:38: DoD3D9GPUHook: success
15:41:39: ---------------------- Cleared D3D9 Capture ----------------------
15:41:39: received restart event, capturing
15:41:39: DoD3D9GPUHook: success
15:41:39: D3D9EndScene called
15:41:39: D3D9Present called
I followed a youtube video (http://www.youtube.com/watch?v=0xCl1BD88fw) to set up OBS on my computer, his version seems a little older than the current one. If anybody knows the issue, I would be very grateful for your help.
 

dodgepong

Administrator
Community Helper
You have added your Mic as your desktop audio device, which is wrong. Uncheck the "Use input device for desktop audio" box in your Audio settings and select your Headphones instead.
 
Top