generate output name using input

This commit is contained in:
Peter Hedenskog 2017-04-28 09:37:05 +02:00
parent bbcc6c2824
commit 48f6479b58
1 changed files with 1 additions and 1 deletions

View File

@ -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