Fix merge-audio script

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
pull/5/head v1.3.17
Bensuperpc 1 year ago
parent 65c46094a6
commit f404f3567b
  1. 2
      Makefile
  2. 2
      audio/merge-audio.sh

@ -20,7 +20,7 @@
#//////////////////////////////////////////////////////////////
PROJECT_NAME := scripts
SHELL := bash
VERSION := 1.3.16
VERSION := 1.3.17
RM := rm
all: install

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

Loading…
Cancel
Save