From 835c3eb2fd29c97b82727ab09fb7bde853eddaee Mon Sep 17 00:00:00 2001 From: mmcw-dev Date: Sat, 22 Dec 2018 01:02:02 -0500 Subject: [PATCH] Begin an assembly script for the example videos to put on youtube. --- examples_assemble.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 examples_assemble.sh diff --git a/examples_assemble.sh b/examples_assemble.sh new file mode 100644 index 0000000..15c1c8a --- /dev/null +++ b/examples_assemble.sh @@ -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 +