diff options
author | Ole Kristian Lien <ole.k.lien@gmail.com> | 2009-12-10 04:36:13 +0000 |
---|---|---|
committer | Ole Kristian Lien <ole.k.lien@gmail.com> | 2009-12-10 04:36:13 +0000 |
commit | f109c2fc7c7ed195003d9deb20710b49d86f12c8 (patch) | |
tree | e41cc182f640c1e0a597f7f1e6444bf4729279c4 /tools/outro | |
parent | 2c2ff1462d288567db0cf90faa5591f0823042ff (diff) |
Fungerende intro-outro. :) Litt lese stoff og små fikser.
Diffstat (limited to 'tools/outro')
-rwxr-xr-x | tools/outro | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/tools/outro b/tools/outro index a41e4f1..a898231 100755 --- a/tools/outro +++ b/tools/outro @@ -4,7 +4,7 @@ # Author: Ole Kristian Lien # License: GNU General Public License # -# Generate outro-file to a video +# Generate outro-file with fade in/out from csv-file EXT=`echo "$1"|awk -F . '{print $NF}'` BASENAME=`basename $1 .$EXT` @@ -21,19 +21,21 @@ if [ -z "$1" ]; then fi ./image_text $1 outro-$COUNT black "TAKK TIL" -COUNT=`expr $COUNT + 1` -./image_text $1 outro-$COUNT black "TAKK TIL" -COUNT=`expr $COUNT + 1` -./image_text $1 outro-$COUNT black "TAKK TIL" +./fade $BASENAME-outro-$COUNT.png 3 black +rm $BASENAME-outro-$COUNT.png COUNT=`expr $COUNT + 1` ./image_text $1 outro-$COUNT black "$NAME" Foredragsholder +./fade $BASENAME-outro-$COUNT.png 1 black +rm $BASENAME-outro-$COUNT.png COUNT=`expr $COUNT + 1` + ./image_text $1 outro-$COUNT black "$LOCATION" Lokaler +./fade $BASENAME-outro-$COUNT.png 1 black +rm $BASENAME-outro-$COUNT.png COUNT=`expr $COUNT + 1` -# takk -# quick hack +# dirty hack oldIFS=$IFS IFS=' ' @@ -42,18 +44,21 @@ for i in $TAKK ; do HVEM=`echo "$i" | cut -d ":" -f 2` # echo "TAKK: $HVA - $HVEM" ./image_text $1 outro-$COUNT black "$HVEM" "$HVA" + ./fade $BASENAME-outro-$COUNT.png 1 black + rm $BASENAME-outro-$COUNT.png COUNT=`expr $COUNT + 1` done IFS=$IFS -# url for i in $URL ; do # echo "URL: $i" ./image_text $1 outro-$COUNT black " " - COUNT=`expr $COUNT + 1` - ./image_text $1 outro-$COUNT black "$i" - COUNT=`expr $COUNT + 1` + ./fade $BASENAME-outro-$COUNT.png 1 black + rm $BASENAME-outro-$COUNT.png + ./image_text $1 outro-$COUNT black "$i" + ./fade $BASENAME-outro-$COUNT.png 2 black + rm $BASENAME-outro-$COUNT.png COUNT=`expr $COUNT + 1` done |