parent
ca8cd5bd76
commit
9d1aa6de4c
@ -0,0 +1 @@ |
|||||||
|
ffmpeg -i %1 -ss %2 -to %3 -ac 2 %4 |
@ -1,6 +1,6 @@ |
|||||||
@echo off |
@echo off |
||||||
IF "%5"=="" GOTO HAVE_0 |
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 |
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 |
GOTO DONE |
||||||
:HAVE_0 |
: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 |
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 |
||||||
|
@ -0,0 +1,7 @@ |
|||||||
|
@echo off |
||||||
|
IF "%5"=="" GOTO HAVE_0 |
||||||
|
ffmpeg -i %1 -i %2 -i %3 -filter_complex "[0]volume=1[a];[1]adelay=%4|%4,volume=0[b];[2]adelay=%4|%4,volume=0[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 |
@ -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=3[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 |
@ -0,0 +1 @@ |
|||||||
|
ffmpeg -ss %1 -i %2 -ac 2 %3 |
@ -0,0 +1 @@ |
|||||||
|
ffmpeg -fflags +genpts -r 59.94 -i %1 -ss %2 -to %3 -c:v copy -video_track_timescale 60000 -map 0:1 -map 0:0 -ac 2 %4 |
@ -0,0 +1,4 @@ |
|||||||
|
echo Provide the time delay for when the fade in should appear (should be 10 seconds before end of video) |
||||||
|
|
||||||
|
ffmpeg -fflags +genpts -r 59.94 -i %1 -ss %2 -to %3 -c:v copy -video_track_timescale 60000 -map 0:1 -map 0:0 -ac 2 %6 |
||||||
|
ffmpeg -i %6 -loop 1 -i %5 -filter_complex "[0]afade=out:st=%4:d=10;[1]format=yuva420p,scale=-1:1080,fade=in:st=%4:d=5:alpha=1[i];[0][i]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2:shortest=1" -c:v libx264 final_%6 |
@ -1 +1 @@ |
|||||||
ffmpeg -f concat -safe 0 -i list.txt -c:v copy %1 |
ffmpeg -f concat -i list.txt -codec copy %1 |
@ -1 +1 @@ |
|||||||
ffmpeg -ss %1 -i %2 -acodec copy %3 |
ffmpeg -fflags +genpts -r 59.94 -ss %1 -i %2 -c:v copy -video_track_timescale 60000 -map 0:1 -map 0:0 -ac 2 %3 |
||||||
|
Loading…
Reference in new issue