How does OBS capture PulseAudio?

bholland

New Member
Hello all,

I am trying to use ffmpeg to capture video and audio on an rpi4. This started as an effort to use obs but due to the opengl and encoders only running in software, I get about 8fps where ffmpeg gets me about 55 in and I down sample to 30 fps out.

What I can't seem to get working is the pulse audio but obs did. I have an elagto hd60s+ that outputs uvc video and standard analog and digital audio. When I do something like ffmpeg -f pulse -i default out.wav, I get absolutely no sound. Even using parecord does not produce output. When I add pulse audio as an input audio source into obs, it works flawlessly.

What is obs doing differently from ffmpeg and parecord? Any advice on trying to mimic what obs does on a command line?
 
Top