From 48f6479b5809b380b6d5a6cceb99de8007abe85e Mon Sep 17 00:00:00 2001 From: Peter Hedenskog Date: Fri, 28 Apr 2017 09:37:05 +0200 Subject: [PATCH] generate output name using input --- tools/combineVideos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/combineVideos.sh b/tools/combineVideos.sh index 877a56dd4..889bb6877 100755 --- a/tools/combineVideos.sh +++ b/tools/combineVideos.sh @@ -16,7 +16,7 @@ fi TMP_VIDEO_DIR=tmp-video FILE1=$(basename $1) FILE2=$(basename $2) -OUTPUT_FILE=${3:-output_slow.mp4} +OUTPUT_FILE=${3:-$(basename $1 .mp4)-vs-$(basename $2)} SLOWDOWN=5.0 # Move the videos to a tmp dir so it is easy to mount them in Docker