Created
March 28, 2020 09:16
-
-
Save hailiang-wang/0b5d2b8eb1aa603405337c7359365c93 to your computer and use it in GitHub Desktop.
Revisions
-
hailiang-wang created this gist
Mar 28, 2020 .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,15 @@ #! /bin/bash ########################################### # ########################################### # constants baseDir=$(cd `dirname "$0"`;pwd) # functions # main [ -z "${BASH_SOURCE[0]}" -o "${BASH_SOURCE[0]}" = "$0" ] || return cd $baseDir rm output.mp4 ls ffmpeg -f concat -safe 0 -i mylist.txt -c copy output.mp4 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,2 @@ file 'zoom_0_0.mp4' file 'zoom_0_1.mp4'