All of my arcade video management scripts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ffmpeg-essentials/audiomerge_direct.bat

7 lines
318 B

@echo off
IF "%5"=="" GOTO HAVE_0
1 year ago
ffmpeg -i %1 -i %2 -i %3 -filter_complex "[0]volume=0[a];[1]adelay=%4|%4,volume=0.4[b];[2]adelay=%4|%4,volume=2[c];[a][b][c]amix=3" -c:v copy -ac 2 %5
GOTO DONE
:HAVE_0
ffmpeg -i %1 -i %2 -filter_complex "[0]volume=0.2[1]adelay=%3|%3,volume=1[b];[0][b]amix=2" -c:v copy -ac 2 %4
:DONE