Skip to content

Instantly share code, notes, and snippets.

@edwardtoday
Last active May 19, 2025 03:00
Show Gist options
  • Save edwardtoday/6230790 to your computer and use it in GitHub Desktop.
Save edwardtoday/6230790 to your computer and use it in GitHub Desktop.
ffmpeg encoding command with x264 and fdk_aac
#!/usr/bin/env sh
ffmpeg -i $1 -c:v libx264 -crf 18 -preset veryslow -tune film -c:a libfdk_aac -vbr 5 $2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment