Skip to content

Instantly share code, notes, and snippets.

@rozap
Created November 25, 2013 02:56
Show Gist options
  • Save rozap/7635563 to your computer and use it in GitHub Desktop.
Save rozap/7635563 to your computer and use it in GitHub Desktop.
record screen with ffmpeg
ffmpeg -y -f alsa -ac 2 -i pulse -f x11grab -r 25 -s 1920x1080 -i :0.0 -vcodec libx264 -vpre lossless_ultrafast -crf 22 -acodec libmp3lame -ar 44100 -ab 126k -threads 3 ~/Desktop/screencast.mkv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment