tedthebellhop
New Member
I have a Focusrite Scarlett 18i8 that I'm using for music production as well as streaming via OBS. I've been using it for audio output with no issues, but when I switched from a Blue Yeti (USB) to an XLR mic, I noticed artifacts in the mic audio captured by OBS. My recordings in any other application are clear as day - including voice recorder, Reaper, and using the "Listen to this device" feature in Windows. The problem presents itself in both recorded files as well as live streaming via Twitch. I just stumbled across the Audio Monitoring settings inside of OBS and when I enable monitoring on the microphone input, the static goes away and it's perfectly clean.
Due to that list bit of behavior, combined with the mic working perfectly in every other app, it really smells like a bug. Log file below - I took one short recording with monitoring disabled that exhibited the issue, then enabled "Monitor Only (Mute output)" and recorded another clip which did not exhibit the issue.
Any help would be appreciated!
Due to that list bit of behavior, combined with the mic working perfectly in every other app, it really smells like a bug. Log file below - I took one short recording with monitoring disabled that exhibited the issue, then enabled "Monitor Only (Mute output)" and recorded another clip which did not exhibit the issue.
Code:
18:09:03.599: CPU Name: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
18:09:03.599: CPU Speed: 3400MHz
18:09:03.599: Physical Cores: 4, Logical Cores: 8
18:09:03.599: Physical Memory: 16325MB Total, 11513MB Free
18:09:03.599: Windows Version: 10.0 Build 14393 (revision: 953; 64-bit)
18:09:03.599: Running as administrator: false
18:09:03.599: Aero is Enabled (Aero is always on for windows 8 and above)
18:09:03.599: Portable mode: false
18:09:03.607: OBS 19.0.2 (64bit, windows)
18:09:03.607: ---------------------------------
18:09:03.607: ---------------------------------
18:09:03.607: audio settings reset:
18:09:03.607: samples per sec: 44100
18:09:03.607: speakers: 2
18:09:03.608: ---------------------------------
18:09:03.608: Initializing D3D11...
18:09:03.608: Available Video Adapters:
18:09:03.609: Adapter 1: NVIDIA GeForce GTX 980 Ti
18:09:03.609: Dedicated VRAM: 2105212928
18:09:03.609: Shared VRAM: 4264230912
18:09:03.609: output 1: pos={0, 0}, size={1920, 1080}, attached=true
18:09:03.609: output 2: pos={-1920, 13}, size={1920, 1080}, attached=true
18:09:03.611: Loading up D3D11 on adapter NVIDIA GeForce GTX 980 Ti (0)
18:09:03.635: D3D11 loaded successfully, feature level used: 45056
18:09:04.213: ---------------------------------
18:09:04.213: video settings reset:
18:09:04.213: base resolution: 1920x1080
18:09:04.213: output resolution: 1280x720
18:09:04.213: downscale filter: Bicubic
18:09:04.213: fps: 30/1
18:09:04.213: format: NV12
18:09:04.214: Audio monitoring device:
18:09:04.214: name: Default
18:09:04.214: id: default
18:09:04.214: ---------------------------------
18:09:04.215: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
18:09:04.218: [CoreAudio encoder]: Adding CoreAudio AAC encoder
18:09:04.219: [AMF] Encountered Exception during AMF initialization: Unable to load 'amfrt64.dll', error code 126.
18:09:04.219: Failed to initialize module 'enc-amf.dll'
18:09:04.224: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
18:09:04.225: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
18:09:04.225: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
18:09:04.225: Failed to load 'en-US' text for module: 'obs-browser.dll'
18:09:04.225: [browser_source: 'Version: 1.29.0']
18:09:04.227: NVENC supported
18:09:04.269: Couldn't find VLC installation, VLC video source disabled
18:09:04.272: No blackmagic support
18:09:04.291: ---------------------------------
18:09:04.291: Loaded Modules:
18:09:04.291: win-wasapi.dll
18:09:04.291: win-mf.dll
18:09:04.291: win-dshow.dll
18:09:04.291: win-decklink.dll
18:09:04.291: win-capture.dll
18:09:04.291: vlc-video.dll
18:09:04.291: text-freetype2.dll
18:09:04.291: rtmp-services.dll
18:09:04.291: obs-x264.dll
18:09:04.291: obs-vst.dll
18:09:04.291: obs-transitions.dll
18:09:04.291: obs-text.dll
18:09:04.291: obs-qsv11.dll
18:09:04.291: obs-outputs.dll
18:09:04.291: obs-filters.dll
18:09:04.291: obs-ffmpeg.dll
18:09:04.291: obs-browser.dll
18:09:04.291: image-source.dll
18:09:04.291: frontend-tools.dll
18:09:04.291: enc-amf.dll
18:09:04.291: coreaudio-encoder.dll
18:09:04.291: ==== Startup complete ===============================================
18:09:04.297: All scene data cleared
18:09:04.297: ------------------------------------------------
18:09:04.314: WASAPI: Device 'Focusrite USB (Focusrite USB Audio)' initialized
18:09:04.327: WASAPI: Device 'Focusrite USB (Focusrite USB Audio)' initialized
18:09:04.327: source 'Mic/Aux' enabled push-to-talk
18:09:04.339: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds
18:09:04.549: Switched to scene 'Intermission'
18:09:04.550: ------------------------------------------------
18:09:04.550: Loaded scenes:
18:09:04.550: - scene 'Intermission':
18:09:04.550: - source: 'Starting Soon' (image_source)
18:09:04.550: - source: 'Gonna Start Soon' (text_gdiplus)
18:09:04.550: - source: 'Stream Begins Shortly' (text_gdiplus)
18:09:04.550: - source: 'KapChat' (browser_source)
18:09:04.550: - scene 'PUBG Stream':
18:09:04.550: - source: 'PUBG' (game_capture)
18:09:04.550: - source: 'KapChat' (browser_source)
18:09:04.550: ------------------------------------------------
18:09:24.335: ---------------------------------
18:09:24.335: [x264 encoder: 'simple_h264_stream'] preset: veryfast
18:09:24.336: [x264 encoder: 'simple_h264_stream'] settings:
18:09:24.336: rate_control: CBR
18:09:24.336: bitrate: 2500
18:09:24.336: buffer size: 2500
18:09:24.336: crf: 0
18:09:24.336: fps_num: 30
18:09:24.336: fps_den: 1
18:09:24.336: width: 1280
18:09:24.336: height: 720
18:09:24.336: keyint: 60
18:09:24.336: vfr: off
18:09:24.336:
18:09:24.336: [x264 encoder: 'simple_h264_stream'] custom settings: scenecut=0
18:09:24.341: [CoreAudio AAC: 'simple_aac']: settings:
18:09:24.341: mode: AAC
18:09:24.341: bitrate: 160
18:09:24.341: sample rate: 44100
18:09:24.341: cbr: on
18:09:24.341: output buffer: 1536
18:09:24.344: ==== Recording Start ===============================================
18:09:24.345: [ffmpeg muxer: 'simple_file_output'] Writing file 'C:/Users/mike/Videos/2017-06-13 18-09-24.flv'...
18:09:32.188: [ffmpeg muxer: 'simple_file_output'] Output of file 'C:/Users/mike/Videos/2017-06-13 18-09-24.flv' stopped
18:09:32.188: Output 'simple_file_output': stopping
18:09:32.188: Output 'simple_file_output': Total encoded frames: 235
18:09:32.188: Output 'simple_file_output': Total drawn frames: 236
18:09:32.189: ==== Recording Stop ================================================
18:09:37.037: User changed audio monitoring for source 'Mic/Aux' to: monitor only
18:09:44.544: ---------------------------------
18:09:44.544: [x264 encoder: 'simple_h264_stream'] preset: veryfast
18:09:44.544: [x264 encoder: 'simple_h264_stream'] settings:
18:09:44.544: rate_control: CBR
18:09:44.544: bitrate: 2500
18:09:44.544: buffer size: 2500
18:09:44.544: crf: 0
18:09:44.544: fps_num: 30
18:09:44.544: fps_den: 1
18:09:44.544: width: 1280
18:09:44.544: height: 720
18:09:44.544: keyint: 60
18:09:44.544: vfr: off
18:09:44.544:
18:09:44.545: [x264 encoder: 'simple_h264_stream'] custom settings: scenecut=0
18:09:44.550: [CoreAudio AAC: 'simple_aac']: settings:
18:09:44.550: mode: AAC
18:09:44.550: bitrate: 160
18:09:44.550: sample rate: 44100
18:09:44.550: cbr: on
18:09:44.550: output buffer: 1536
18:09:44.554: ==== Recording Start ===============================================
18:09:44.554: [ffmpeg muxer: 'simple_file_output'] Writing file 'C:/Users/mike/Videos/2017-06-13 18-09-44.flv'...
18:09:50.921: [ffmpeg muxer: 'simple_file_output'] Output of file 'C:/Users/mike/Videos/2017-06-13 18-09-44.flv' stopped
18:09:50.921: Output 'simple_file_output': stopping
18:09:50.921: Output 'simple_file_output': Total encoded frames: 190
18:09:50.921: Output 'simple_file_output': Total drawn frames: 191
18:09:50.921: ==== Recording Stop ================================================
18:09:53.110: ==== Shutting down ==================================================
18:09:53.116: Switched to scene '(null)'
18:09:53.118: WASAPI: Device 'Focusrite USB (Focusrite USB Audio)' Terminated
18:09:53.120: WASAPI: Device 'Focusrite USB (Focusrite USB Audio)' Terminated
18:09:53.141: All scene data cleared
18:09:53.141: ------------------------------------------------
18:09:53.204: Freeing OBS context data
18:09:53.232: == Profiler Results =============================
18:09:53.232: run_program_init: 1011.81 ms
18:09:53.232: ┣OBSApp::AppInit: 9.419 ms
18:09:53.232: ┃ ┗OBSApp::InitLocale: 0.912 ms
18:09:53.232: ┗OBSApp::OBSInit: 996.702 ms
18:09:53.232: ┣obs_startup: 0.9 ms
18:09:53.232: ┗OBSBasic::OBSInit: 974.862 ms
18:09:53.233: ┣OBSBasic::InitBasicConfig: 0.306 ms
18:09:53.233: ┣OBSBasic::ResetAudio: 0.203 ms
18:09:53.233: ┣OBSBasic::ResetVideo: 605.497 ms
18:09:53.233: ┣OBSBasic::InitOBSCallbacks: 0.004 ms
18:09:53.233: ┣OBSBasic::InitHotkeys: 0.039 ms
18:09:53.233: ┣obs_load_all_modules: 77.552 ms
18:09:53.233: ┃ ┣obs_init_module(coreaudio-encoder.dll): 3.058 ms
18:09:53.233: ┃ ┣obs_init_module(enc-amf.dll): 0.443 ms
18:09:53.233: ┃ ┣obs_init_module(frontend-tools.dll): 1.244 ms
18:09:53.233: ┃ ┣obs_init_module(image-source.dll): 0.003 ms
18:09:53.233: ┃ ┣obs_init_module(obs-browser.dll): 0.045 ms
18:09:53.233: ┃ ┣obs_init_module(obs-ffmpeg.dll): 0.454 ms
18:09:53.233: ┃ ┣obs_init_module(obs-filters.dll): 0.008 ms
18:09:53.233: ┃ ┣obs_init_module(obs-outputs.dll): 0.005 ms
18:09:53.233: ┃ ┣obs_init_module(obs-qsv11.dll): 37.39 ms
18:09:53.233: ┃ ┣obs_init_module(obs-text.dll): 0.331 ms
18:09:53.233: ┃ ┣obs_init_module(obs-transitions.dll): 0.003 ms
18:09:53.233: ┃ ┣obs_init_module(obs-vst.dll): 0.001 ms
18:09:53.233: ┃ ┣obs_init_module(obs-x264.dll): 0.001 ms
18:09:53.233: ┃ ┣obs_init_module(rtmp-services.dll): 0.196 ms
18:09:53.233: ┃ ┣obs_init_module(text-freetype2.dll): 0.029 ms
18:09:53.233: ┃ ┣obs_init_module(vlc-video.dll): 0.029 ms
18:09:53.233: ┃ ┣obs_init_module(win-capture.dll): 0.047 ms
18:09:53.233: ┃ ┣obs_init_module(win-decklink.dll): 1.918 ms
18:09:53.233: ┃ ┣obs_init_module(win-dshow.dll): 0.895 ms
18:09:53.233: ┃ ┣obs_init_module(win-mf.dll): 16.25 ms
18:09:53.233: ┃ ┣obs_init_module(win-wasapi.dll): 0.005 ms
18:09:53.233: ┃ ┗reset_win32_symbol_paths: 0.075 ms
18:09:53.233: ┣OBSBasic::ResetOutputs: 4.999 ms
18:09:53.233: ┣OBSBasic::CreateHotkeys: 0.027 ms
18:09:53.233: ┣OBSBasic::InitService: 0.099 ms
18:09:53.233: ┣OBSBasic::InitPrimitives: 0.214 ms
18:09:53.233: ┗OBSBasic::Load: 252.577 ms
18:09:53.233: obs_hotkey_thread(25 ms): min=0.002 ms, median=0.006 ms, max=13.425 ms, 99th percentile=4.608 ms, 100% below 25 ms
18:09:53.233: audio_thread(Audio): min=0 ms, median=0.067 ms, max=3.439 ms, 99th percentile=0.642 ms
18:09:53.233: ┗receive_audio: min=0.002 ms, median=0.37 ms, max=3.38 ms, 99th percentile=0.709 ms, 0.277753 calls per parent call
18:09:53.233: ┣buffer_audio: min=0 ms, median=0.001 ms, max=0.022 ms, 99th percentile=0.009 ms
18:09:53.233: ┗do_encode: min=0.103 ms, median=0.366 ms, max=3.374 ms, 99th percentile=0.705 ms
18:09:53.233: ┗encode(simple_aac): min=0.101 ms, median=0.352 ms, max=0.871 ms, 99th percentile=0.624 ms
18:09:53.233: obs_video_thread(33.3333 ms): min=0.309 ms, median=0.624 ms, max=199.064 ms, 99th percentile=9.676 ms, 99.9317% below 33.333 ms
18:09:53.233: ┣tick_sources: min=0.001 ms, median=0.007 ms, max=198.217 ms, 99th percentile=0.094 ms
18:09:53.233: ┣render_displays: min=0 ms, median=0.116 ms, max=15.576 ms, 99th percentile=3.083 ms
18:09:53.233: ┗output_frame: min=0.304 ms, median=0.5 ms, max=17.189 ms, 99th percentile=0.889 ms
18:09:53.233: ┣gs_context(video->graphics): min=0.126 ms, median=0.343 ms, max=17.048 ms, 99th percentile=0.853 ms
18:09:53.233: ┃ ┣render_video: min=0.02 ms, median=0.043 ms, max=16.977 ms, 99th percentile=0.433 ms
18:09:53.233: ┃ ┃ ┣render_main_texture: min=0.003 ms, median=0.019 ms, max=0.091 ms, 99th percentile=0.042 ms
18:09:53.233: ┃ ┃ ┣render_output_texture: min=0.002 ms, median=0.008 ms, max=0.09 ms, 99th percentile=0.016 ms
18:09:53.233: ┃ ┃ ┣render_convert_texture: min=0.001 ms, median=0.008 ms, max=0.038 ms, 99th percentile=0.015 ms
18:09:53.233: ┃ ┃ ┗stage_output_texture: min=0 ms, median=0.004 ms, max=16.916 ms, 99th percentile=0.378 ms
18:09:53.233: ┃ ┣download_frame: min=0 ms, median=0.267 ms, max=15.271 ms, 99th percentile=0.489 ms
18:09:53.233: ┃ ┗gs_flush: min=0.017 ms, median=0.023 ms, max=16.189 ms, 99th percentile=0.123 ms
18:09:53.233: ┗output_video_data: min=0.132 ms, median=0.155 ms, max=0.532 ms, 99th percentile=0.239 ms
18:09:53.233: video_thread(video): min=0.001 ms, median=0.001 ms, max=7.311 ms, 99th percentile=1.058 ms
18:09:53.233: ┗receive_video: min=0 ms, median=0.59 ms, max=7.309 ms, 99th percentile=1.105 ms, 0.292266 calls per parent call
18:09:53.233: ┗do_encode: min=0.533 ms, median=0.59 ms, max=7.308 ms, 99th percentile=1.105 ms
18:09:53.233: ┗encode(simple_h264_stream): min=0.518 ms, median=0.55 ms, max=1.127 ms, 99th percentile=1.08 ms
18:09:53.233: =================================================
18:09:53.233: == Profiler Time Between Calls ==================
18:09:53.233: obs_hotkey_thread(25 ms): min=24.877 ms, median=25.204 ms, max=38.338 ms, 87.7687% within ±2% of 25 ms (0% lower, 12.2313% higher)
18:09:53.233: obs_video_thread(33.3333 ms): min=3.686 ms, median=33.333 ms, max=199.071 ms, 99.112% within ±2% of 33.333 ms (0.478142% lower, 0.409836% higher)
18:09:53.233: =================================================
18:09:53.253: Number of memory leaks: 9
Any help would be appreciated!