Skip to content

Instantly share code, notes, and snippets.

@harishkannarao
Created September 8, 2026 10:00
Show Gist options
  • Select an option

  • Save harishkannarao/a009acf584b75cf59e156816de6634a1 to your computer and use it in GitHub Desktop.

Select an option

Save harishkannarao/a009acf584b75cf59e156816de6634a1 to your computer and use it in GitHub Desktop.
Useful ffmpeg commands

Concat 2 video files of same video resolution and same audio codec

ffmpeg -f concat -safe 0 -i <(printf "file '%s'\n" "$HOME/Downloads/clip1.mov" "$HOME/Downloads/clip2.mov") -c copy $HOME/Downloads/output.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment