Skip to content

Screen recording audio management

Fabio Zito edited this page Oct 2, 2024 · 14 revisions

Since the version 2 of FIT we have been using Qt Multimedia for screen video and audio recording. However, each OS handles speakers in its own way, so to record audio in the same way you need to install third-party software, in particular for Windows and macOS:

  1. VB-CABLE Virtual Audio Device to handle speaker driver (currently, a free version is available for both Windows and macOS);
  2. FFmpeg used to join the recorded audio and video files.

Below are the steps to install/uninstall and configure these software.

Windows and macOS

1 Install FFmpeg

To install the FFmpeg go to ffmpeg.org download the package according to your OS and follow the instructions.

2 Install VB-CABLE

To install the VB-CABLE virtual audio device go to vb-audio.com download the package according to your OS and follow the instructions.

3 Set VB-CABLE as main output speaker

Don't worry if when you activate VB-CABLE you don't hear the audio, it means it's working.

When you enable VB-CABLE, you won't hear the audio output from your speakers or headphones, as the audio is being sent to a virtual cable instead of your usual output device. In case you want to monitor or hear the sound again, you can configure a "listening" device or check the routing settings within your sound control panel.

Windows 11 macOS
Set VB-CABLE as main output speaker on Windows 11 Set VB-CABLE as main output speaker on macOS

4 Uninstall VB-CABLE on macOS

Automatic way

Run the script below created by @remarkablemark

sudo /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/remarkablemark/vb-cable-uninstall-macos/master/uninstall.sh)"

Manual way(*)

  1. Delete the VBCable.driver directory from the /Library/Audio/Plug-Ins/HAL/ directory:

sudo rm -rf /Library/Audio/Plug-Ins/HAL/VBCable.driver/

  1. Verify the directory is no longer there:

find /Library/Audio/Plug-Ins/HAL/ -type d -iname 'vbcable*' -maxdepth 1

  1. Delete the VB-CABLE Control Panel.app file from the /Applications/VB-Audio/ directory:

rm '/Applications/VB-Audio/VB-CABLE Control Panel.app'

  1. OR delete the entire /Applications/VB-Audio/ directory:

rm -rf /Applications/VB-Audio/

  1. Delete the com.vbaudio.vbcable.plist file from the /Library/Preferences/ directory:

sudo rm -rf /Library/Preferences/com.vbaudio.vbcable.plist

  1. Delete the com.vbaudio.vbcableagent.plist file from the /Library/LaunchDaemons/ directory:

sudo rm -rf /Library/LaunchDaemons/com.vbaudio.vbcableagent.plist

(*)Copied from remarkablemark.org