Skip to content

Instantly share code, notes, and snippets.

@keijiro
Last active August 4, 2019 15:31
Show Gist options
  • Save keijiro/52e23ba21239e10db7d5f7829bd76bae to your computer and use it in GitHub Desktop.
Save keijiro/52e23ba21239e10db7d5f7829bd76bae to your computer and use it in GitHub Desktop.
How to record desktop on Linux (Ubuntu) with ffmpeg
ffmpeg -f x11grab -framerate 30 -video_size 1920x1080 -i :1+0,0 -c:v huffyuv -an desktop.avi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment