Skip to content

Instantly share code, notes, and snippets.

@lemenkov
Created March 16, 2012 12:34
Show Gist options
  • Save lemenkov/2049881 to your computer and use it in GitHub Desktop.
Save lemenkov/2049881 to your computer and use it in GitHub Desktop.
How to record screen
ffmpeg -y -r 25 -s 1280x1024 -f x11grab -i :0.0+0,0 -vcodec libvpx ~/screen.webm
ffmpeg -y -r 25 -s 1280x1024 -f x11grab -i :0.0+0,0 -vcodec libx264 -vpre lossless_ultrafast ~/screen.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment