Skip to content

Instantly share code, notes, and snippets.

@TerryFunggg
Created June 8, 2021 14:28
Show Gist options
  • Save TerryFunggg/05da32f51460b930a8d37d9f562ebcef to your computer and use it in GitHub Desktop.
Save TerryFunggg/05da32f51460b930a8d37d9f562ebcef to your computer and use it in GitHub Desktop.
how to use ffmpeg to record video

Recode video screen size 1366x768, rate 25, audio input by default, Output video call output.mkv

ffmpeg -video_size 1366x768 -framerate 25 -f x11grab -i :0.0 -f pulse -ac 2 -i default output.mkv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment