obsproject / obs-studio

OBS Studio - Free and open source software for live streaming and screen recording
https://obsproject.com
GNU General Public License v2.0
58.8k stars 7.83k forks source link

USB Capture Card Garbled Audio (Mac) #9901

Open Paladinleeds opened 9 months ago

Paladinleeds commented 9 months ago

Operating System Info

macOS 14

Other OS

No response

OBS Studio Version

30.0.0

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/eA5yOFOWssl40SUe

OBS Studio Crash Log URL

No response

Expected Behavior

Audio to be provided properly. As per the file at https://drive.google.com/file/d/1mH0idrllqSLz0dMCAz7FiAb7_qiyRk85/view?usp=sharing

Current Behavior

Audio sounds extremely crackly and muffled, as per https://drive.google.com/file/d/1srPW2FnFX72FUagIzmpOYGzDNtdy4hS1/view?usp=sharing

Steps to Reproduce

  1. Set up CamLink or Blackmagic Design Decklink audio input
  2. Play audio through the ATEM (in my case it's a file on a HyperDeck being sent to the ATEM Mini Extreme ISO. The ATEM picks up the audio fine)

Anything else we should know?

OBS for Mac is the only software affected. Trying this in StreamLabs Desktop for Mac, OBS for Windows, or Audacity for Mac, all produce normal audio.

gxalpha commented 9 months ago

@Paladinleeds could you please try if the issue still occurs when using OBS from this Pull Request: https://github.com/obsproject/obs-studio/pull/9766 (once that finishes compiling)? See this (somewhat outdated) guide for instructions on how to do that.

Paladinleeds commented 9 months ago

@Paladinleeds could you please try if the issue still occurs when using OBS from this Pull Request: https://github.com/obsproject/obs-studio/pull/9766 (once that finishes compiling)? See this (somewhat outdated) guide for instructions on how to do that.

Hi,

So I've been able to install it using the arm64 variant (as this, I believe, is the version used for M1 chip MacBooks). The issue is still occurring using both the ATEM direct and the CamLink. Making changes to the downmixing doesn't seem to help either

Paladinleeds commented 8 months ago

I've updated to 30.0.2 and the issue still isn't fixed. Can provide new logs if required. Wish I had an idea as to what was going on though.

EDIT: As per advice from the support Discord, I have tested some older versions. 29.0.0 (ARM), 28.0.0 (ARM), 28.0.0 (x86_64) and 27.0.0 (x86_64). All are producing the exact same result. Is it possible that Apple broke something in an update?

gxalpha commented 8 months ago

@Paladinleeds could you test if recording the devices via QuickTime Player works? If it does, is OBS still broken if you switch it to 44100 kHz?

Paladinleeds commented 8 months ago

@gxalpha So, I redownloaded 30.0.2 and installed it. Tried 48KHz and 44.1KHz, same issue on both. Works fine when recorded in QuickTime Player.

gxalpha commented 8 months ago

Which exact version of the devices (CamLink, ATEM) are you using, and how are they connected to the computer?

Paladinleeds commented 8 months ago

@gxalpha So, I'm using the CamLink 4K and the ATEM Mini Extreme ISO - whenever I connect them to the computer I'm using USB-C to connect them (when using the CamLink, I have a USB-C to USB-A adapter since the CamLink doesn't have a USB-C plug)

Paladinleeds commented 7 months ago

Further update. It's definitely something borked in the Video Capture Device code. I bought an UltraStudio Recorder 3G today (don't ask...), tested that (uses Blackmagic Device input instead of Video Capture Device). Audio is fine with the UltraStudio.

For clarity, this is NOT the BETA version of OBS. I will test that later to see if anything has been fixed there.