fine tuning
This commit is contained in:
parent
2f2ae51352
commit
f105d95571
@ -2,16 +2,20 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
POVOPT=" -q9 +a -W1280 -H1024 +WT2 -d -v "
|
POVOPT=" -q9 +a -W1024 -H768 +WT2 -d -v "
|
||||||
SOURCE="vision.pov"
|
SOURCE="vision.pov"
|
||||||
TMPF="/dev/shm/gravfield.png"
|
TMPF="/dev/shm/gravfield.png"
|
||||||
|
|
||||||
|
date > pov.stderr
|
||||||
|
|
||||||
# ---------------------------------------
|
# ---------------------------------------
|
||||||
|
|
||||||
une_passe ()
|
une_passe ()
|
||||||
{
|
{
|
||||||
clock=$1
|
clock=$1
|
||||||
|
|
||||||
|
cp pov.stderr old.stderr
|
||||||
|
|
||||||
povray -i${SOURCE} -K${clock} $POVOPT -O${TMPF} 2> pov.stderr
|
povray -i${SOURCE} -K${clock} $POVOPT -O${TMPF} 2> pov.stderr
|
||||||
|
|
||||||
timestamp=$(date -u +'%F %H:%M' | tr '01' 'Ol')
|
timestamp=$(date -u +'%F %H:%M' | tr '01' 'Ol')
|
||||||
@ -20,14 +24,14 @@ outfile=$(printf "WS/troid/%05d.png" $clock)
|
|||||||
echo $timestamp $texte $outfile
|
echo $timestamp $texte $outfile
|
||||||
|
|
||||||
convert ${TMPF} \
|
convert ${TMPF} \
|
||||||
-pointsize 16 \
|
-pointsize 24 \
|
||||||
-font Courier-Bold \
|
-font Courier-Bold \
|
||||||
-fill Orange \
|
-fill Orange \
|
||||||
-annotate +10+16 "$timestamp" \
|
-annotate +15+16 "$timestamp" \
|
||||||
-annotate +10+34 "$texte" \
|
-annotate +15+38 "$texte" \
|
||||||
-pointsize 8 \
|
-pointsize 16 \
|
||||||
-gravity south-west \
|
-gravity south-west \
|
||||||
-annotate +10+6 "tTh & Konrad" \
|
-annotate +15+6 "tTh & Konrad" \
|
||||||
${outfile}
|
${outfile}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -37,12 +41,11 @@ for foo in $(seq 0 1999)
|
|||||||
do
|
do
|
||||||
echo '............' $foo
|
echo '............' $foo
|
||||||
une_passe $foo
|
une_passe $foo
|
||||||
exit
|
|
||||||
done
|
done
|
||||||
|
|
||||||
ffmpeg -nostdin \
|
ffmpeg -nostdin \
|
||||||
-loglevel warning \
|
-loglevel warning \
|
||||||
-y -r 30 -f image2 -i WS/trid/%05d.png \
|
-y -r 30 -f image2 -i WS/troid/%05d.png \
|
||||||
-metadata artist='---{ tTh and Konrad }---' \
|
-metadata artist='---{ tTh and Konrad }---' \
|
||||||
-metadata title="Experiment on Gravity Field" \
|
-metadata title="Experiment on Gravity Field" \
|
||||||
-c:v libx264 -pix_fmt yuv420p \
|
-c:v libx264 -pix_fmt yuv420p \
|
||||||
|
Loading…
Reference in New Issue
Block a user