Created
August 2, 2021 19:04
-
-
Save meeuw/0c72380a3bad4f85d53e29d10900263b to your computer and use it in GitHub Desktop.
concatenate mp4 files
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
ls "$1/"*|sed "s%^%file $PWD/%" > /tmp/dmlist | |
ffmpeg -f concat -protocol_whitelist file,pipe -safe 0 -i /tmp/dmlist -c copy "$1.mp4" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment