Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Dec 2017 23:51:29 +0100
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Dave <freebsd01@dgmm.net>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: How to capture audio with FreeBSD?
Message-ID:  <8te4-3oum-wny@FreeBSD.org>
In-Reply-To: <11306056.b4aiv1Cy1A@amd.asgard.uk> (Dave's message of "Thu, 14 Dec 2017 19:23:43 %2B0000")
References:  <trinity-b639b15a-c1a2-426d-b47a-69ab299dbcc3-1513171390323@3c-app-mailcom-bs16> <374e-af0i-wny@FreeBSD.org> <11306056.b4aiv1Cy1A@amd.asgard.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Dave <freebsd01@dgmm.net> writes:

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

Maybe read archives instead of hijacking an unrelated thread.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8te4-3oum-wny>