Last active
December 26, 2015 05:29
Revisions
-
adamvr revised this gist
Oct 23, 2013 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,6 @@ #!/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] -
Adam Rudd created this gist
Oct 22, 2013 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ #!/bin/sh cat | sed "s/^\(.*\)$/'\1'/" | sed 's/^/file /' | ffmpeg -f concat -i - -acodec copy -vcodec copy "$1"