Skip to content

Commit

Permalink
Fix merge-audio script
Browse files Browse the repository at this point in the history
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
  • Loading branch information
bensuperpc committed Sep 29, 2021
1 parent 14af0ae commit cfaccba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#//////////////////////////////////////////////////////////////
PROJECT_NAME := scripts
SHELL := bash
VERSION := 1.3.16
VERSION := 1.3.17
RM := rm

all: install
Expand Down
2 changes: 1 addition & 1 deletion audio/merge-audio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ elif (($# == 4)); then
ffmpeg -i "$1" -i "$2" -i "$3" \
-filter_complex '[0:0][1:0][2:0]concat=n=3:v=0:a=1[out]' \
-map '[out]' "$4"
elif (($# == 6)); then
elif (($# == 5)); then
ffmpeg -i "$1" -i "$2" -i "$3" -i "$4" \
-filter_complex '[0:0][1:0][2:0][3:0]concat=n=4:v=0:a=1[out]' \
-map '[out]' "$5"
Expand Down

0 comments on commit cfaccba

Please sign in to comment.