Bug Report Microphone not working - Intermitent

WhatNoWebsite

New Member
Hi

I was using v0.57 and moved to 0.59 but now for some strange reason the mic does not record on every stream.

Sometimes it does, sometimes it doesn't and I can't seem to find out why as now and then I will simply shut down OBS and restart and it will work, other times it won't.

I have to record and see if the audio got grabbed.

Thought you might like to know.
 

WhatNoWebsite

New Member
Update...

I set the mic and speakers to default in the hope that this would resolve the issues but on the subsequent recording I did there was no audio.

In the one immediately after it recorded the mic for about 20 seconds and then cut out.

Very odd... I did another test and after just 6 seconds it cut out but when I rolled a YouTube video in the background all of a sudden it started streaming audio and also the mic.

I tested again immediately afterwards and no cut outs at all with mic.
 

R1CH

Forum Admin
Developer
Check your scene buffering time in advanced - you may need to raise it, especially if your log refers to late segments.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Could you also post a log of this? If it is a buffering issue, it'll usually indicate such in the log file. This happens on rare occasions due to the audio subsystem being a bit.. sub-par.
 

WhatNoWebsite

New Member
Thanks for the quick response guys. For now at least it seems to be OK but the audio sync issue, although only minor is driving me nuts. I'm unsure whether it's the mic that's lagging or the video. The log file would indicate the mic has an issue, here it is:

Code:
07:47:52: Open Broadcaster Software v0.592b - 32bit (´・ω・`)
07:47:52: -------------------------------
07:47:52: CPU Name: Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz
07:47:52: CPU Speed: 3093MHz
07:47:52: Physical Memory:  4095MB Total, 1263MB Free
07:47:52: stepping id: 9, model 58, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
07:47:52: monitor 1: pos={0, 0}, size={1920, 1080}
07:47:52: Windows Version: 6.1 Build 7601 S
07:47:52: Aero is Enabled
07:47:52: -------------------------------
07:47:52: OBS Modules:
07:47:52: Base Address     Module
07:47:52: 01350000         OBS.exe
07:47:52: 0FE80000         OBSApi.dll
07:47:52: 692E0000         DShowPlugin.dll
07:47:52: 67CF0000         GraphicsCapture.dll
07:47:52: 69640000         NoiseGate.dll
07:47:52: 67CD0000         PSVPlugin.dll
07:47:52: ------------------------------------------
07:47:52: Adapter 1
07:47:52:   Video Adapter: NVIDIA GeForce GT 530 
07:47:52:   Video Adapter Dedicated Video Memory: 2095513600
07:47:52:   Video Adapter Shared System Memory: 2147364864
07:47:52:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
07:47:52: =====Stream Start: 2013-12-29, 07:47:52===============================================
07:47:52:   Multithreaded optimizations: On
07:47:52:   Base resolution: 1280x720
07:47:52:   Output resolution: 1280x720
07:47:52: ------------------------------------------
07:47:52: Loading up D3D10 on NVIDIA GeForce GT 530 (Adapter 1)...
07:47:52: ------------------------------------------
07:47:52: Audio Format: 48000hz
07:47:52: Playback device {0.0.0.00000000}.{db49829d-ebfb-489f-bfb5-0ba59ed2d01f}
07:47:52: ------------------------------------------
07:47:52: Using desktop audio input: Speakers (Logitech Wireless Headset)
07:47:52: ------------------------------------------
07:47:52: Using auxilary audio input: Microphone (Logitech Wireless Headset)
07:47:52: ------------------------------------------
07:47:52: Audio Encoding: AAC
07:47:52:     bitrate: 48
07:47:52: ------------------------------------------
07:47:52:     device: Logitech HD Pro Webcam C920,
07:47:52:     device id \\?\usb#vid_046d&pid_082d&mi_00#7&3b942631&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
07:47:52:     chosen type: I420, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-2000000
07:47:52:     use buffering: false - 0, fourCC: 'I420'
07:47:52:     audio device: Disable,
07:47:52:     audio device id Disabled,
07:47:52: 
07:47:53: Using directshow input
07:47:53: Scene buffering time set to 300
07:47:53: ------------------------------------------
07:47:53: Video Encoding: x264
07:47:53:     fps: 30
07:47:53:     width: 1280, height: 720
07:47:53:     preset: veryfast
07:47:53:     profile: high
07:47:53:     keyint: 60
07:47:53:     CBR: yes
07:47:53:     CFR: yes
07:47:53:     max bitrate: 5000
07:47:53:     buffer size: 300
07:47:53: ------------------------------------------
07:47:53: MMDeviceAudioSource: Frequency for device 'Speakers (Logitech Wireless Headset)' is 384000, samples per sec is 48000
07:47:53: MMDeviceAudioSource: Frequency for device 'Microphone (Logitech Wireless Headset)' is 192000, samples per sec is 48000
07:47:53: Audio timestamp for device 'Microphone (Logitech Wireless Headset)' was behind target timestamp by 290!  Had to delete audio segment.
07:47:53: Audio timestamp for device 'Microphone (Logitech Wireless Headset)' was behind target timestamp by 280!  Had to delete audio segment.
07:47:53: Audio timestamp for device 'Microphone (Logitech Wireless Headset)' was behind target timestamp by 270!  Had to delete audio segment.
07:47:53: Audio timestamp for device 'Microphone (Logitech Wireless Headset)' was behind target timestamp by 260!  Had to delete audio segment.
07:47:53: Audio timestamp for device 'Microphone (Logitech Wireless Headset)' was behind target timestamp by 250!  Had to delete audio segment.
07:47:53: Audio timestamp for device 'Microphone (Logitech Wireless Headset)' was behind target timestamp by 240!  Had to delete audio segment.
07:47:53: Audio timestamp for device 'Microphone (Logitech Wireless Headset)' was behind target timestamp by 230!  Had to delete audio segment.
07:47:53: Audio timestamp for device 'Microphone (Logitech Wireless Headset)' was behind target timestamp by 220!  Had to delete audio segment.
07:47:53: Audio timestamp for device 'Microphone (Logitech Wireless Headset)' was behind target timestamp by 210!  Had to delete audio segment.
07:47:53: Audio timestamp for device 'Microphone (Logitech Wireless Headset)' was behind target timestamp by 200!  Had to delete audio segment.
07:47:53: Audio timestamp for device 'Microphone (Logitech Wireless Headset)' was behind target timestamp by 190!  Had to delete audio segment.
07:47:53: Audio timestamp for device 'Microphone (Logitech Wireless Headset)' was behind target timestamp by 180!  Had to delete audio segment.
07:47:53: Audio timestamp for device 'Microphone (Logitech Wireless Headset)' was behind target timestamp by 170!  Had to delete audio segment.
07:47:53: Audio timestamp for device 'Microphone (Logitech Wireless Headset)' was behind target timestamp by 160!  Had to delete audio segment.
07:47:53: Audio timestamp for device 'Microphone (Logitech Wireless Headset)' was behind target timestamp by 150!  Had to delete audio segment.
07:47:53: Audio timestamp for device 'Microphone (Logitech Wireless Headset)' was behind target timestamp by 140!  Had to delete audio segment.
07:47:53: Audio timestamp for device 'Microphone (Logitech Wireless Headset)' was behind target timestamp by 130!  Had to delete audio segment.
07:47:53: Audio timestamp for device 'Microphone (Logitech Wireless Headset)' was behind target timestamp by 120!  Had to delete audio segment.
07:47:53: Audio timestamp for device 'Microphone (Logitech Wireless Headset)' was behind target timestamp by 110!  Had to delete audio segment.
07:47:53: Audio timestamp for device 'Microphone (Logitech Wireless Headset)' was behind target timestamp by 100!  Had to delete audio segment.
07:47:53: Audio timestamp for device 'Microphone (Logitech Wireless Headset)' was behind target timestamp by 90!  Had to delete audio segment.
07:47:53: Audio timestamp for device 'Microphone (Logitech Wireless Headset)' was behind target timestamp by 80!  Had to delete audio segment.
07:47:53: Audio timestamp for device 'Microphone (Logitech Wireless Headset)' was behind target timestamp by 70!  Had to delete audio segment.
07:47:53: Audio timestamp for device 'Microphone (Logitech Wireless Headset)' was behind target timestamp by 60!  Had to delete audio segment.
07:47:53: Audio timestamp for device 'Microphone (Logitech Wireless Headset)' was behind target timestamp by 50!  Had to delete audio segment.
07:47:53: Audio timestamp for device 'Microphone (Logitech Wireless Headset)' was behind target timestamp by 40!  Had to delete audio segment.
07:47:53: Audio timestamp for device 'Microphone (Logitech Wireless Headset)' was behind target timestamp by 30!  Had to delete audio segment.
07:47:53: Audio timestamp for device 'Microphone (Logitech Wireless Headset)' was behind target timestamp by 20!  Had to delete audio segment.
07:47:53: Audio timestamp for device 'Microphone (Logitech Wireless Headset)' was behind target timestamp by 10!  Had to delete audio segment.
07:48:35: Total frames encoded: 1245, total frames duplicated: 2 (0.16%)
07:48:35: Total frames rendered: 1248, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
07:48:35: 
07:48:35: Profiler time results:
07:48:35: 
07:48:35: ==============================================================
07:48:35: video thread frame - [100%] [avg time: 1.296 ms] [children: 39.3%] [unaccounted: 60.7%]
07:48:35: | scene->Preprocess - [23.5%] [avg time: 0.304 ms]
07:48:35: | GPU download and conversion - [15.8%] [avg time: 0.205 ms] [children: 13%] [unaccounted: 2.78%]
07:48:35: | | flush - [10.6%] [avg time: 0.137 ms]
07:48:35: | | CopyResource - [2.01%] [avg time: 0.026 ms]
07:48:35: | | conversion to 4:2:0 - [0.463%] [avg time: 0.006 ms]
07:48:35: Convert444Threads - [100%] [avg time: 0.471 ms] [children: 98.9%] [unaccounted: 1.06%]
07:48:35: | Convert444toNV12 - [98.9%] [avg time: 0.466 ms]
07:48:35: encoder thread frame - [100%] [avg time: 0.906 ms]
07:48:35: ==============================================================
07:48:35: 
07:48:35: 
07:48:35: Profiler CPU results:
07:48:35: 
07:48:35: ==============================================================
07:48:35: video thread frame - [cpu time: avg 0.525 ms, total 655.204 ms] [avg calls per frame: 1]
07:48:35: | scene->Preprocess - [cpu time: avg 0.012 ms, total 15.6 ms] [avg calls per frame: 1]
07:48:35: | GPU download and conversion - [cpu time: avg 0.087 ms, total 109.201 ms] [avg calls per frame: 1]
07:48:35: | | flush - [cpu time: avg 0.012 ms, total 15.6 ms] [avg calls per frame: 1]
07:48:35: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
07:48:35: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
07:48:35: Convert444Threads - [cpu time: avg 0.384 ms, total 951.606 ms] [avg calls per frame: 2]
07:48:35: | Convert444toNV12 - [cpu time: avg 0.378 ms, total 936.006 ms] [avg calls per frame: 2]
07:48:35: encoder thread frame - [cpu time: avg 0.088 ms, total 109.2 ms] [avg calls per frame: 1]
07:48:35: ==============================================================
07:48:35: 
07:48:35: =====Stream End: 2013-12-29, 07:48:35=================================================
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Yep, buffering issue. Keep incrementing "Scene buffering time" in advanced by 100 until it stops happening.
 
Top