From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id yG8DJslm0F7aGQAA0tVLHw (envelope-from ) for ; Fri, 29 May 2020 01:35:05 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id eMqMIclm0F6GEwAAbx9fmQ (envelope-from ) for ; Fri, 29 May 2020 01:35:05 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2FD5B940B30 for ; Fri, 29 May 2020 01:35:04 +0000 (UTC) Received: from localhost ([::1]:33318 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jeTvK-0007V6-2b for larch@yhetil.org; Thu, 28 May 2020 21:35:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45190) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jeTux-0007TB-EN for help-guix@gnu.org; Thu, 28 May 2020 21:34:39 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:45879) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jeTuw-0000K4-CT for help-guix@gnu.org; Thu, 28 May 2020 21:34:39 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 728058DC; Thu, 28 May 2020 21:34:36 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 28 May 2020 21:34:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=JlatugROZ/kmhV2ZqWtM5ngA FjWmj1LKQD6pG6v7/eE=; b=ZJj5JoHigU2jwiy8nqInvlaJp5jEkSrjia1Cmh0n fwiszNLGeMyJCWOgwE4aDveck++oxFKT85ccUqnZSZzDOQpeHVFNRVrktn+ULxGl JyTMJZRMRmO55QxPc0c1+XRgNRTZPxam9onJAh9jAidaO/iUrU+WX+WNZcTbQ2DN yEw= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=Jlatug ROZ/kmhV2ZqWtM5ngAFjWmj1LKQD6pG6v7/eE=; b=CdaNGGrvlCKnjHZaASNyrd u8mTq3eXj8fhdkBB7uPesi5XwDq4xbHekoPI5ICJf/HpB3OVY8Noeyy+dG57uYEn HzZrQWqkCvqa/LYK8qxiL4UzR1xpRSZLb0pJclZsH0GDB98wW8V1qEoP2kbDsSdL TowIIOCJOfqGiEwcykQjiCHVpVu4P49+tL4oXdOJ7ThPq4RFa1Fz+1eOh1ejGl1a NsCQp00+DJ3aFkNOR4nv3hcvHRHm6hD/omvGPlE8IebXaO2Q/jucHOG3G3V51gWv 864sKXs10/3FDi4HOA+sDRWeatXAsDt2mB6hsZ8X1i1AatGXWDYm+fTQ1xFJeFQA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedruddvjedggeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefnvghoucfh rghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucggtffrrghtth gvrhhnpeeukeektdffvddtudegjeegtdevhfeufeeivdejiedtieegtdevjedvjeehffev gfenucfkphepjeeirdduvdegrddufeekrdeifeenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: from localhost (c-76-124-138-63.hsd1.pa.comcast.net [76.124.138.63]) by mail.messagingengine.com (Postfix) with ESMTPA id 90F313280065; Thu, 28 May 2020 21:34:35 -0400 (EDT) Date: Thu, 28 May 2020 21:34:34 -0400 From: Leo Famulari To: Ekaitz Zarraga Subject: Re: ffmpeg and alsa/pulseaudio Message-ID: <20200529013434.GH5443@jasmine.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=64.147.123.25; envelope-from=leo@famulari.name; helo=wout2-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/28 20:56:21 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "help-guix\\@gnu.org" Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=famulari.name header.s=mesmtp header.b=ZJj5JoHi; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=CdaNGGrv; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -1.21 X-TUID: AxAiB/Qi3U54 On Tue, Apr 07, 2020 at 11:54:35AM +0000, Ekaitz Zarraga wrote: > 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 working in guix because it looks like ffmpeg wasn't compiled with alsa. Is that 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 $DISPLAY \ > -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 this but it failed with ":0: Invalid argument". That's the $DISPLAY variable. Do you know what it should say?