How to capture audio with FreeBSD?

Jan Beich jbeich at FreeBSD.org
Thu Dec 14 22:51:36 UTC 2017


Dave <freebsd01 at dgmm.net> writes:

> 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.

Maybe read archives instead of hijacking an unrelated thread.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223974


More information about the freebsd-multimedia mailing list