Skip to content

Instantly share code, notes, and snippets.

@SubhrajitPrusty
Last active March 10, 2021 14:32
Show Gist options
  • Save SubhrajitPrusty/a96a7386f781d9e11027107ae55bedb5 to your computer and use it in GitHub Desktop.
Save SubhrajitPrusty/a96a7386f781d9e11027107ae55bedb5 to your computer and use it in GitHub Desktop.
Record screen using ffmpeg
# record for 30 seconds
# LINUX
ffmpeg -f x11grab -t 30 -i :0 -y record.mp4
# WINDOWS
ffmpeg -f gdigrab -t 30 -i desktop -y record.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment