1
0
Fork 0

bunch of stuff

This commit is contained in:
cătălin 2023-10-07 14:46:31 +02:00
commit 66b7a0ee5f
Signed by: catalin
GPG key ID: 0178DF42F43E5FD2
16 changed files with 239 additions and 111 deletions

View file

@ -25,3 +25,17 @@ function gen-secret
openssl rand -hex $argv[1]
end
function ffmerge
set input_videos
for arg in $argv
if test (string sub -l 4 $arg) = ".mp4"
set input_videos $input_videos -i $arg
else
set output $arg
end
end
ffmpeg $input_videos -filter_complex (printf "[%s] " $input_videos | sed 's/ -i / concat=n=%d:v=1:a=1 [v] [a]/') -map "[v]" -map "[a]" $output
end