Date: Thu, 14 Dec 2017 19:23:43 +0000 From: Dave <freebsd01@dgmm.net> To: freebsd-multimedia@freebsd.org Subject: Re: How to capture audio with FreeBSD? Message-ID: <11306056.b4aiv1Cy1A@amd.asgard.uk> In-Reply-To: <374e-af0i-wny@FreeBSD.org> References: <trinity-b639b15a-c1a2-426d-b47a-69ab299dbcc3-1513171390323@3c-app-mailcom-bs16> <374e-af0i-wny@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 13 December 2017 15:17:33 Jan Beich wrote: > "Onno K." <onno.k@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?11306056.b4aiv1Cy1A>