Skip to content

Instantly share code, notes, and snippets.

@josephsamela
Created December 20, 2018 03:51
Show Gist options
  • Save josephsamela/438526c588329ec9e97cd19f9e43bbef to your computer and use it in GitHub Desktop.
Save josephsamela/438526c588329ec9e97cd19f9e43bbef to your computer and use it in GitHub Desktop.
ffmpeg screencast
#!/bin/bash
ffmpeg -f x11grab -framerate 30 -video_size 1680x1050 -i :1.0 -vcodec libx264 -pix_fmt yuv420p -threads 0 -vf "scale=1280:720" output.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment