Skip to content

Instantly share code, notes, and snippets.

@kirill578
Created June 17, 2018 22:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kirill578/4f85390c946ec04a44c1b9c3642677cf to your computer and use it in GitHub Desktop.
Save kirill578/4f85390c946ec04a44c1b9c3642677cf to your computer and use it in GitHub Desktop.
ffmpeg -i 1.MP4 -i 2.MP4 -filter_complex "[0:v]setpts=0.25*PTS[v0];[0:a]atempo=2.0,atempo=2.0[a0];[1:v]setpts=0.25*PTS[v1];[1:a]atempo=2.0,atempo=2.0[a1];[v0] [a0] [v1] [a1] concat=n=2:v=1:a=1 [v] [a]" -map "[v]" -map "[a]" output.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment