Created
December 29, 2015 13:25
-
-
Save jessetan/5aa5e87da4185ab4365e to your computer and use it in GitHub Desktop.
Place two videos side by side in new video using ffmpeg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ffmpeg -i test1.mp4 -vf "[in] scale=iw/2:ih/2, pad=2*iw:ih [left]; movie=test2.mp4, scale=iw/2:ih/2 [right]; [left][right] overlay=main_w/2:0 [out]" Output.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment