Skip to content

Instantly share code, notes, and snippets.

@anxkhn
Created June 10, 2026 19:30
Show Gist options
  • Select an option

  • Save anxkhn/8a2fea2b660587cba10375816687aca0 to your computer and use it in GitHub Desktop.

Select an option

Save anxkhn/8a2fea2b660587cba10375816687aca0 to your computer and use it in GitHub Desktop.

ffmpeg -i video1.mov -i video2.mkv -filter_complex "[0:v][0:a][1:v][1:a]concat=n=2:v=1:a=1" output.mp4

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