help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ffmpeg and alsa/pulseaudio


From: Leo Famulari
Subject: Re: ffmpeg and alsa/pulseaudio
Date: Thu, 28 May 2020 21:34:34 -0400

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?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]