saturday night fever is now commited

This commit is contained in:
tTh
2022-12-03 20:42:29 +01:00
parent 3c3d1c8906
commit 4853779493
11 changed files with 134 additions and 33 deletions

View File

@@ -2,7 +2,7 @@
set -e
POVOPT=" -q9 +a -W800 -H600 +WT2 -d -v "
POVOPT=" -q9 +a -W1280 -H1024 +WT2 -d -v "
SOURCE="vision.pov"
TMPF="/dev/shm/gravfield.png"
@@ -14,14 +14,20 @@ clock=$1
povray -i${SOURCE} -K${clock} $POVOPT -O${TMPF} 2> pov.stderr
timestamp=$(date | tr '01' 'Ol')
outfile=$(printf "WS/%05d.png" $clock)
timestamp=$(date -u +'%F %H:%M' | tr '01' 'Ol')
texte=$(printf "pass %04d" $clock | tr '01' 'Ol')
outfile=$(printf "WS/troid/%05d.png" $clock)
echo $timestamp $texte $outfile
convert ${TMPF} \
-pointsize 14 \
-pointsize 16 \
-font Courier-Bold \
-fill Orange \
-annotate +10+16 "$timestamp" \
-annotate +10+34 "$texte" \
-pointsize 8 \
-gravity south-west \
-annotate +10+6 "tTh & Konrad" \
${outfile}
}
@@ -31,12 +37,13 @@ for foo in $(seq 0 1999)
do
echo '............' $foo
une_passe $foo
exit
done
ffmpeg -nostdin \
-loglevel warning \
-y -r 30 -f image2 -i WS/%05d.png \
-metadata artist='---{ tTh }---' \
-y -r 30 -f image2 -i WS/trid/%05d.png \
-metadata artist='---{ tTh and Konrad }---' \
-metadata title="Experiment on Gravity Field" \
-c:v libx264 -pix_fmt yuv420p \
bar.mp4