From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ekaitz Zarraga Subject: ffmpeg and alsa/pulseaudio Date: Tue, 07 Apr 2020 11:54:35 +0000 Message-ID: Reply-To: Ekaitz Zarraga Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:56562) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLmoT-0001D8-LG for help-guix@gnu.org; Tue, 07 Apr 2020 07:54:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jLmoS-00067H-6c for help-guix@gnu.org; Tue, 07 Apr 2020 07:54:41 -0400 Received: from mail-40134.protonmail.ch ([185.70.40.134]:43430) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jLmoR-00066G-Os for help-guix@gnu.org; Tue, 07 Apr 2020 07:54:40 -0400 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: "help-guix\\@gnu.org" Hi, I'm trying to make a screencast with ffmpeg and I'm having issues. I had a screen recording script on the past, based on alsa, but it's not wo= rking in guix because it looks like ffmpeg wasn't compiled with alsa. Is th= at true? Is there something I missing to activate alsa on ffmpeg? This is the command I was running: ffmpeg \ -y -f x11grab -draw_mouse 1 -framerate 25 -video_size 1920x1080 -i $DIS= PLAY \ -f alsa -ac 2 -i default \ -pix_fmt yuv420p -c:v libx264 -preset veryfast \ -c:a libmp3lame -q:v 1 -s 1920x1080 -f matroska \ output.mkv I tried to make it with pulseaudio replacing alsa by pulse in the command b= ut the audio is distorted. It sounds very fast. Any idea? Do you use ffmpeg for screen recording too? Thanks