Add ffmpeg video management scripts
This commit is contained in:
commit
ca8cd5bd76
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
*.exe
|
||||||
7
audiomerge.bat
Normal file
7
audiomerge.bat
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
@echo off
|
||||||
|
IF "%5"=="" GOTO HAVE_0
|
||||||
|
ffmpeg -i %1 -i %2 -i %3 -filter_complex "[0]volume=0.2[a];[1]adelay=%4|%4,volume=2[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
|
||||||
7
audiomerge_direct.bat
Normal file
7
audiomerge_direct.bat
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
@echo off
|
||||||
|
IF "%5"=="" GOTO HAVE_0
|
||||||
|
ffmpeg -i %1 -i %2 -i %3 -filter_complex "[0]volume=0[a];[1]adelay=%4|%4,volume=0.2[b];[2]adelay=%4|%4,volume=1[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
|
||||||
1
precrop.bat
Normal file
1
precrop.bat
Normal file
@ -0,0 +1 @@
|
|||||||
|
ffmpeg -ss %1 -i %2 -acodec copy %3
|
||||||
Loading…
x
Reference in New Issue
Block a user