Question / Help No sound when streaming to file

ZKtheMAN

New Member
Hello all,

I want to record StarCraft 2 games for upload to YouTube, but whenever I stream ANYTHING, no sound comes out. NO SOUND. Not the microphone, not the speakers, absolutely NO SOUND.

I don't really know what I 'm doing wrong, so people of the Internet, if you would help, I would be most grateful.

Sincerely,
ZKtheMAN
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Posting a log would generally be a good thing to do (instructions are at the top of the forums)

If you have a headset or anything like that you may just have to set the audio devices in audio settings.
 

ZKtheMAN

New Member
No, I have all the setting pointed to the cruddy microphone I have.
And it doesn't seem to be an error or anything to involve a log file, unless the log file records the video and sound input too. The video files just don't have any sound in them.
 

dodgepong

Administrator
Community Helper
The log records configuration settings that could be problematic. Just post the log, even if it's to prove that there's nothing worth seeing in the log.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Yea, please post a log if possible, it may show errors/etc, it's as easy as going to the settings menu in obs, clicking "open log folder", opening a recent log, and pasting it here onto the forums.
 

ZKtheMAN

New Member
The Log for two such occasions. I think. If you understand any of this, then please help.

Code:
13:53:40: Open Broadcaster Software v0.57b - 32bit (´・ω・`)
13:53:40: -------------------------------
13:53:40: CPU Name: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
13:53:40: CPU Speed: 3392MHz
13:53:40: Physical Memory:  4095MB Total, 4095MB Free
13:53:40: stepping id: 3, model 12, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
13:53:40: monitor 1: pos={0, 0}, size={1600, 900}
13:53:40: Windows Version: 6.2 Build 9200 
13:53:40: Aero is Enabled
13:53:40: -------------------------------
13:53:40: OBS Modules:
13:53:40: Base Address     Module
13:53:40: 00DE0000         OBS.exe
13:53:40: 68530000         OBSApi.dll
13:53:40: 68740000         DShowPlugin.dll
13:53:40: 67FE0000         GraphicsCapture.dll
13:53:40: 67FC0000         NoiseGate.dll
13:53:40: 67FA0000         PSVPlugin.dll
13:53:40: ------------------------------------------
13:53:40: Adapter 1
13:53:40:   Video Adapter: AMD Radeon HD 7570
13:53:40:   Video Adapter Dedicated Video Memory: 1059811328
13:53:40:   Video Adapter Shared System Memory: 3235090432
13:53:40: =====Stream Start: 2013-09-28, 13:53:40===============================================
13:53:40:   Multithreaded optimizations: On
13:53:40:   Base resolution: 1600x900
13:53:40:   Output resolution: 1600x900
13:53:40: ------------------------------------------
13:53:40: Loading up D3D10 on AMD Radeon HD 7570...
13:53:40: ------------------------------------------
13:53:40: Audio Format: 48000hz
13:53:40: Playback device Default
13:53:40: ------------------------------------------
13:53:40: Using desktop audio input: Speakers (USB Audio Device)
13:53:40: ------------------------------------------
13:53:40: Audio Encoding: MP3
13:53:40:     bitrate: 128
13:53:40: Using graphics capture
13:53:40: ------------------------------------------
13:53:40: Video Encoding: x264
13:53:40:     fps: 30
13:53:40:     width: 1600, height: 900
13:53:40:     preset: veryfast
13:53:40:     profile: high
13:53:40:     keyint: 250
13:53:40:     CBR: yes
13:53:40:     CFR: yes
13:53:40:     max bitrate: 940
13:53:40:     buffer size: 564
13:53:40: ------------------------------------------
13:53:40: MMDeviceAudioSource: Frequency for device 'Speakers (USB Audio Device)' is 352800, samples per sec is 44100
13:53:45: Total frames encoded: 122, total frames duplicated: 0 (0.00%)
13:53:45: Total frames rendered: 124, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
13:53:45: 
13:53:45: Profiler time results:
13:53:45: 
13:53:45: ==============================================================
13:53:45: video thread frame - [100%] [avg time: 0.904 ms] [children: 0.332%] [unaccounted: 99.7%]
13:53:45: | scene->Preprocess - [0.332%] [avg time: 0.003 ms]
13:53:45: GPU download and conversion - [100%] [avg time: 0.259 ms] [children: 92.3%] [unaccounted: 7.72%]
13:53:45: | flush - [76.1%] [avg time: 0.197 ms]
13:53:45: | CopyResource - [13.5%] [avg time: 0.035 ms]
13:53:45: | conversion to 4:2:0 - [2.7%] [avg time: 0.007 ms]
13:53:45: Convert444Threads - [100%] [avg time: 1.253 ms] [children: 99.1%] [unaccounted: 0.878%]
13:53:45: | Convert444toNV12 - [99.1%] [avg time: 1.242 ms]
13:53:45: encoder thread frame - [100%] [avg time: 2.544 ms]
13:53:45: ==============================================================
13:53:45: 
13:53:45: 
13:53:45: Profiler CPU results:
13:53:45: 
13:53:45: ==============================================================
13:53:45: video thread frame - [cpu time: avg 0.252 ms, total 31.25 ms] [avg calls per frame: 1]
13:53:45: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
13:53:45: GPU download and conversion - [cpu time: avg 0.126 ms, total 15.625 ms] [avg calls per frame: 1]
13:53:45: | flush - [cpu time: avg 0.126 ms, total 15.625 ms] [avg calls per frame: 1]
13:53:45: | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
13:53:45: | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
13:53:45: Convert444Threads - [cpu time: avg 1.337 ms, total 296.875 ms] [avg calls per frame: 2]
13:53:45: | Convert444toNV12 - [cpu time: avg 1.337 ms, total 296.875 ms] [avg calls per frame: 2]
13:53:45: encoder thread frame - [cpu time: avg 2.272 ms, total 250 ms] [avg calls per frame: 1]
13:53:45: ==============================================================
13:53:45: 
13:53:45: =====Stream End: 2013-09-28, 13:53:45=================================================
13:54:02: =====Stream Start: 2013-09-28, 13:54:02===============================================
13:54:02:   Multithreaded optimizations: On
13:54:02:   Base resolution: 1600x900
13:54:02:   Output resolution: 1600x900
13:54:02: ------------------------------------------
13:54:02: Loading up D3D10 on AMD Radeon HD 7570...
13:54:02: ------------------------------------------
13:54:02: Audio Format: 48000hz
13:54:02: Playback device Default
13:54:02: ------------------------------------------
13:54:02: Using desktop audio input: Speakers (USB Audio Device)
13:54:02: ------------------------------------------
13:54:02: Audio Encoding: MP3
13:54:02:     bitrate: 128
13:54:02: Using graphics capture
13:54:02: ------------------------------------------
13:54:02: Video Encoding: x264
13:54:02:     fps: 30
13:54:02:     width: 1600, height: 900
13:54:02:     preset: veryfast
13:54:02:     profile: high
13:54:02:     keyint: 250
13:54:02:     CBR: yes
13:54:02:     CFR: yes
13:54:02:     max bitrate: 940
13:54:02:     buffer size: 564
13:54:02: ------------------------------------------
13:54:02: MMDeviceAudioSource: Frequency for device 'Speakers (USB Audio Device)' is 352800, samples per sec is 44100
13:54:02: SharedTexCapture hooked
14:24:27: Total frames encoded: 54749, total frames duplicated: 6 (0.01%)
14:24:27: Total frames rendered: 54752, number of late frames: 1 (0.00%) (it's okay for some frames to be late)
14:24:27: 
14:24:27: Profiler time results:
14:24:27: 
14:24:27: ==============================================================
14:24:27: video thread frame - [100%] [avg time: 0.398 ms] [children: 0.251%] [unaccounted: 99.7%]
14:24:27: | scene->Preprocess - [0.251%] [avg time: 0.001 ms]
14:24:27: GPU download and conversion - [100%] [avg time: 0.068 ms] [children: 80.9%] [unaccounted: 19.1%]
14:24:27: | flush - [67.6%] [avg time: 0.046 ms]
14:24:27: | CopyResource - [10.3%] [avg time: 0.007 ms]
14:24:27: | conversion to 4:2:0 - [2.94%] [avg time: 0.002 ms]
14:24:27: Convert444Threads - [100%] [avg time: 0.677 ms] [children: 99.3%] [unaccounted: 0.739%]
14:24:27: | Convert444toNV12 - [99.3%] [avg time: 0.672 ms]
14:24:27: encoder thread frame - [100%] [avg time: 1.314 ms]
14:24:27: ==============================================================
14:24:27: 
14:24:27: 
14:24:27: Profiler CPU results:
14:24:27: 
14:24:27: ==============================================================
14:24:27: video thread frame - [cpu time: avg 0.003 ms, total 171.875 ms] [avg calls per frame: 1]
14:24:27: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
14:24:27: GPU download and conversion - [cpu time: avg 0 ms, total 46.875 ms] [avg calls per frame: 1]
14:24:27: | flush - [cpu time: avg 0 ms, total 31.25 ms] [avg calls per frame: 1]
14:24:27: | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
14:24:27: | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
14:24:27: Convert444Threads - [cpu time: avg 0.88 ms, total 96437.5 ms] [avg calls per frame: 2]
14:24:27: | Convert444toNV12 - [cpu time: avg 0.879 ms, total 96296.9 ms] [avg calls per frame: 2]
14:24:27: encoder thread frame - [cpu time: avg 0.99 ms, total 54218.8 ms] [avg calls per frame: 1]
14:24:27: ==============================================================
14:24:27: 
14:24:27: =====Stream End: 2013-09-28, 14:24:27=================================================


Last game capture log:
2013-09-28, 13:54:02: we're booting up: 
13:54:02: D3D9 Present
13:54:02: NV Capture available
13:54:02: FBO available
13:54:02: GL Present
13:54:02: (half life scientist) everything..  seems to be in order
13:54:02: SwapBuffers(738277478) Called
13:54:02: setting up gl data
13:54:02: share device: 39004344
13:54:02: share texture: 39169840
13:54:02: share device handle: 124363904
13:54:02: share texture handle: 147859584
13:54:02: DoGLGPUHook: success
13:54:02: wglSwapBuffers(738277478) Called
14:24:27: stop requested, terminating gl capture
14:24:27: ---------------------- Cleared OpenGL Capture ----------------------
14:24:27: wglSwapBuffers(738277478) Called
14:24:27: setting up gl data
14:24:27: SwapBuffers(738277478) Called
 

dodgepong

Administrator
Community Helper
Is there a reason you're using MP3 audio? AAC is better in pretty much every way.

Also, I see that the audio device is set to 44.1khz while your OBS audio is set to 48khz. If switching to AAC doesn't fix it, the try making those match and see if that helps at all.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
MP3 can have issues with some decoders. Switch to AAC and see if that helps first.
 
Top