Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ffmpeg -y -ss 0 -i video.mp4 -i video2.mp4 -filter_complex '[0:v]concat=n=1:v=1:a=0 [v]; [1:a]concat=n=1:v=0:a=1 [a]' -map '[v]' -map '[a]' -codec:v libx264 -pix_fmt yuv420p -preset fast -strict -2 -t 736 result.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment