Last active
December 26, 2015 05:29
-
-
Save adamvr/7100750 to your computer and use it in GitHub Desktop.
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/sh | |
cat | # read filenames from stdin | |
sed "s/^\(.*\)$/'\1'/" | # wrap each in single quotes | |
sed 's/^/file /' | # prepend file directive | |
ffmpeg -f concat -i - -acodec copy -vcodec copy "$1" # encode and store result on args[1] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment