From owner-freebsd-multimedia@freebsd.org Thu Dec 14 22:51:36 2017 Return-Path: Delivered-To: freebsd-multimedia@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0BD18E929C6 for ; Thu, 14 Dec 2017 22:51:36 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DDF2F7D52D; Thu, 14 Dec 2017 22:51:35 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id 2E4CC8D34; Thu, 14 Dec 2017 22:51:35 +0000 (UTC) From: Jan Beich To: Dave Cc: freebsd-multimedia@freebsd.org Subject: Re: How to capture audio with FreeBSD? References: <374e-af0i-wny@FreeBSD.org> <11306056.b4aiv1Cy1A@amd.asgard.uk> Date: Thu, 14 Dec 2017 23:51:29 +0100 In-Reply-To: <11306056.b4aiv1Cy1A@amd.asgard.uk> (Dave's message of "Thu, 14 Dec 2017 19:23:43 +0000") Message-ID: <8te4-3oum-wny@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Dec 2017 22:51:36 -0000 Dave writes: > On Wednesday 13 December 2017 15:17:33 Jan Beich wrote: > >> "Onno K." 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 >> >> $ ffmpeg -i foo.wav -f oss /dev/dsp >> > > 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