Question / Help Crackling audio on OBS but not capturing from ffmpeg or QuickTime

sixmoney

New Member
I have a MacBook Pro (13-inch, 2017) running Mojave 10.14.6 and use OBS version 24.0.6

When I capture audio from an USB mic from obs there is a periodic crackling sound. While if using the same Mic I capture from ffmpeg or from Quicktime there is no issue at all. The mic is a cheap Gyvazla reported by OBS as "AK5371"

Also if I record from the internal mic of the macbook there is no crackling (using quicktime or using OBS)

Here are the two recordings (captured roughly simultaneously), I extracted the audio from the obs recording (blank video...)
obs: https://drive.google.com/file/d/19FiE_PBQWRLmZYmz1ibPUnLGBfn5kc9e/view?usp=sharing
ffmpeg: https://drive.google.com/file/d/1wP3V0UBmnPhBF4YmfdFMTjaxWGz165CO/view?usp=sharing

ffmpeg capture:
ffmpeg -f avfoundation -i ":0" -acodec aac -b 96k outmic.mp4
I tried using 44k and 48k in capture but apparently this is not helping.
Thank you for your help
 

Narcogen

Active Member
Does it also happen if you record in simple output mode to a video format with a blank screen, and play it back in VLC?
 

sixmoney

New Member
Thanks for replying, as I said the linked audio was obtained capturing the mic only creating a black video. I extracted the audio for convenience. The captured video is a black screen (no video sources) and the sound I have linked. This video played either on quicktime or on VLC has those crackling artifacts. The weird thing is that if I capture the mic with quicktime or with ffmpeg I hear it perfectly fine (quality is also much better than the internal mic obviously).
 

Narcogen

Active Member
Then I would check that OBS and your audio devices are set to the same sample rate (all 44.1 or all 48.0).
 
Top