bunch of stuff
This commit is contained in:
parent
a832a46772
commit
66b7a0ee5f
16 changed files with 239 additions and 111 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue