How to capture audio with FreeBSD?

Dave freebsd01 at dgmm.net
Thu Dec 14 19:23:46 UTC 2017


On Wednesday 13 December 2017 15:17:33 Jan Beich wrote:
> "Onno K." <onno.k at gmx.com> writes:
> 
> > # aplay -l
> > aplay: device_list:273: no soundcards found...
> > # arecord -l
> > arecord: device_list:273: no soundcards found...
> 
> ALSA on FreeBSD doesn't support direct hardware access, it uses plugins
> such as OSS, Jack, PulseAudio. Try instead:
> 
> $ pkg install ffmpeg
> $ ffmpeg -f oss -i /dev/dsp foo.wav
> <Type Q or Ctrl+C to quit>
> $ ffmpeg -i foo.wav -f oss /dev/dsp
> <Type Q or Ctrl+C to quit>

But do be aware that FFMPeG doesn't do mp3 encoding out of the box
if that is required.  You need to make config install and select lame or
twolame options.



More information about the freebsd-multimedia mailing list