Screen capture on Ubuntu 16.04

I needed to make a short video of my screen. Turns out that there is a way to do this that is probably already on your system: using ffmpeg!
The full command:

ffmpeg -f alsa -i pulse -f x11grab -r 15 -s 1920x1080 -i :0.0+0,0 -vcodec mpeg4 -acodec libmp3lame -ar 48000 -qscale 0 OUTPUTFILE.avi

This works well enough for a quick screengrab. Of course, it also grabs audio, which I didn’t need, but okay.

Comments are closed.