I tried running the Linux version of Hollow Knight from GoG under FreeBSD 13-RC4. It ran great despite some Mesa-related errors in the console. I thought it would be fun to record a video as a demo of gaming on FreeBSD. I first tried simplescreenrecorder. There was some lag in the game during recording, but it recorded the video just fine. But there was no sound in the recording. A forum post and a Facebook user I discussed the issue with both suggested OBS Studio, so I tried that too. I started the game and added the source "Window Capture (Xcomposite)" and began recording. The first thing I noticed was the total or near-total lack of lag in the game due to OBS as compared to simplescreenrecorder. In any case, the video recorded fine, but, just as before, there was no sound in the recording. I tried changing the settings in OBS to record audio at 44100 instead of 48000 because I read somewhere that there at least used to be a bug in Pulseaudio regarding a mismatch in sample rates. That didn't help. I thought perhaps I just needed to add the audio stream seperately, so I added "Audio Output Capture (Pulseaudio)" to the sources list and chose /dev/dsp0 which was the only option other than "default". Again there was no audio in the recording.
So I'm stumped. Does anyone have any suggestions about the cause and fix for there being no audio in the recordings? Audio is just fine from the laptop while playing the game.
So I'm stumped. Does anyone have any suggestions about the cause and fix for there being no audio in the recordings? Audio is just fine from the laptop while playing the game.