Begin an assembly script for the example videos to put on youtube.

This commit is contained in:
mmcw-dev 2018-12-22 01:02:02 -05:00
parent d2e33bd8de
commit 835c3eb2fd
1 changed files with 15 additions and 0 deletions

15
examples_assemble.sh Normal file
View File

@ -0,0 +1,15 @@
#!/bin/bash
declare -a arr=("frameloom" "Basic usage")
## now loop through the above array
for i in "${!arr[@]}"
do
echo "Generating title $i"
ffmpeg -f lavfi -i color=c=black:s=1920x1080:d=2.0 -r 24 -vf \
"drawtext=fontfile=/path/to/font.ttf:fontsize=62: \
fontcolor=white:x=(w-text_w)/2:y=(h-text_h)/2:text='$arr'" \
-y -c:v prores_ks -profile:v 3 \
examples/title_$i.mov
done