Setting up the Freebsd realtime kernel module for jack and capturing the audio with obs studio
Add mac_priority to /etc/rc.conf file and load the mac_priority kernel module.
kldload mac_priority
Then add yourself to realtime group. replace username with your username
check you have been added to the realtime group
install jack
edit your /etc/rc.conf
replace username with your username
install qjackctl
freebsd mic set up
use the freebsd mixer or mixertui to set the mic input level to 100%
run jackd
replace dsp3 and dsp1 with your audio devices
obs studio add Jack Input Client
open obs studio and under the sources click the plus button and add a Jack Input Client
start qjackctl and patch the audio as shown in the video and remember to click active
note i managed to fix the audio popping issue i was having in previous videos
by switching from wayfire to dwl
Add mac_priority to /etc/rc.conf file and load the mac_priority kernel module.
Code:
sudo sysrc kld_list+="mac_priority"
kldload mac_priority
Code:
sudo kldload mac_priority
Then add yourself to realtime group. replace username with your username
Code:
sudo pw groupmod realtime -m username
check you have been added to the realtime group
Code:
grep realtime /etc/group
install jack
Code:
sudo pkg install audio/jack
edit your /etc/rc.conf
replace username with your username
Code:
jackd_enable="NO"
jackd_user="username"
jackd_rtprio="YES"
install qjackctl
Code:
sudo pkg install qjackctl
freebsd mic set up
use the freebsd mixer or mixertui to set the mic input level to 100%
run jackd
replace dsp3 and dsp1 with your audio devices
Code:
jackd -R -d oss -r 48000 -C /dev/dsp3 -P /dev/dsp1
obs studio add Jack Input Client
open obs studio and under the sources click the plus button and add a Jack Input Client
start qjackctl and patch the audio as shown in the video and remember to click active
cerberus/obs-studio/obs-jack.org at master · NapoleonWils0n/cerberus
cerberus code library. Contribute to NapoleonWils0n/cerberus development by creating an account on GitHub.
github.com
note i managed to fix the audio popping issue i was having in previous videos
by switching from wayfire to dwl