Linux ffmpeg -video_size 1820x900 -framerate 25 -f x11grab -i :0.0 -t 5 output1.mp4 https://trac.ffmpeg.org/wiki/Capture/Desktop