From owner-freebsd-questions@freebsd.org Wed Dec 13 14:17:43 2017 Return-Path: Delivered-To: freebsd-questions@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 C1B84E9FC68; Wed, 13 Dec 2017 14:17:43 +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 A3DF272896; Wed, 13 Dec 2017 14:17:43 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id E3BFB3D8D; Wed, 13 Dec 2017 14:17:42 +0000 (UTC) From: Jan Beich To: "Onno K." Cc: Freebsd-multimedia@freebsd.org, freebsd-questions@freebsd.org Subject: Re: How to capture audio with FreeBSD? References: Date: Wed, 13 Dec 2017 15:17:33 +0100 Message-ID: <374e-af0i-wny@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Dec 2017 14:17:43 -0000 "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