Created
December 17, 2015 08:57
-
-
Save xarimanx/d882ef1753fbe0277849 to your computer and use it in GitHub Desktop.
ffmpeg video join
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
mkfifo intermediate1.mpg | |
mkfifo intermediate2.mpg | |
ffmpeg -i vv1.mp4 -qscale:v 1 -y intermediate1.mpg < /dev/null & | |
ffmpeg -i vv2.mp4 -qscale:v 1 -y intermediate2.mpg < /dev/null & | |
cat intermediate1.mpg intermediate2.mpg |\ | |
ffmpeg -f mpeg -i - -c:v mpeg4 -acodec libmp3lame output.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment