Record screen with ffmpeg

Asked

Viewed 519 times

0

What is the command of ffmpeg that records the computer screen, because before it had a command via command line that made this recording without need of other software, only pure ffmpeg.

  • https://trac.ffmpeg.org/wiki/Capture/Desktop

1 answer

2

How about:

$ ffmpeg -f x11grab -s 1280x720 -r 25 -i :0.0 -q:v 5 video.mkv

Where:

$ ffmpeg -f x11grab -s <Resolucao> -r <Quadros Por Segundo> -i :0.0 -q:v <Qualidade de Video 1-5> <Arquivo de Saida>

Browser other questions tagged

You are not signed in. Login or sign up in order to post.