Skip to content

Instantly share code, notes, and snippets.

@wteuber
Created September 16, 2026 17:40
Show Gist options
  • Select an option

  • Save wteuber/7eaf9150b2754d63bbd9bb44434a7277 to your computer and use it in GitHub Desktop.

Select an option

Save wteuber/7eaf9150b2754d63bbd9bb44434a7277 to your computer and use it in GitHub Desktop.
Reduce screen recording video size mov2mp4
ffmpeg -i ~/Desktop/Screen\ Recording\ 2026-09-16\ at\ 18.23.31.mov \
-vf "fps=30,scale=1920:-2:flags=lanczos" \
-c:v libx264 -preset slow -crf 23 \
-c:a aac -b:a 128k \
-movflags +faststart \
~/Desktop/Screen\ Recording\ 2026-09-16\ at\ 18.23.31.mov.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment