This commit is contained in:
Tonton Th 2025-12-30 08:23:11 +01:00
parent 98248e6cbb
commit 6c78be63d8
2 changed files with 11 additions and 10 deletions

View File

@ -5,6 +5,6 @@ Img_Height=720
# for imagemagick # for imagemagick
TEXTCOL="bisque" TEXTCOL="bisque"
STROKOL="SeaGreen" STROKOL="Green"
NBFRAMES=450 NBFRAMES=450

View File

@ -39,15 +39,16 @@ do
continue continue
fi fi
set -e set -e
txt=$(printf "%s %03d" ${SEQNAME} $frame | tr '01' 'ol') txt=$(printf "%s %03d" ${SEQNAME} $frame | tr '01' 'ol')
# echo $frame $img $txt # echo $frame $img $txt
convert ${TMPIMG} \ convert ${TMPIMG} \
-font Courier-Bold \ -font Courier-Bold \
-pointsize 20 \ -pointsize 22 \
-kerning 3 \ -kerning 4 \
-fill ${TEXTCOL} \ -fill ${TEXTCOL} \
-gravity north \ -strokewidth 2 -stroke $STROKOL \
-annotate +12+5 "$txt" \ -gravity north \
-annotate +12+5 "$txt" \
${img} ${img}
fin=$(date +%s) fin=$(date +%s)
echo echo
@ -62,6 +63,6 @@ echo
ff_encodage $SEQNAME wip-${SEQNAME}.mp4 ff_encodage $SEQNAME wip-${SEQNAME}.mp4
echo "build of $SEQNAME done" | tee -a WS/log echo "build of '$SEQNAME' done" | tee -a WS/log