commit du soir, espoir

This commit is contained in:
Tonton Th
2025-02-04 01:06:18 +01:00
parent aed3fa6cf7
commit 3117141b52
18 changed files with 125 additions and 81 deletions

View File

@@ -5,7 +5,8 @@ set -eu
visual_sleep ()
{
for foo in $(seq 0 $1) ; do
printf '*'
local bar=$(( $1 - foo ))
printf "%4d" $bar
sleep 1
done
echo

View File

@@ -72,7 +72,7 @@ faire_le_titre ()
{
echo "faire le titre"
local NBRE=280
local NBRE=320
local SRC="frames/passage/00099.png"
local GRAY="/dev/shm/tmp-titre.png"
@@ -84,7 +84,7 @@ do
convert ${GRAY} \
-gravity north \
-font $FONTE \
-pointsize 146 \
-pointsize 140 \
-kerning 6 \
-fill $TEXTCOL \
-strokewidth 3 -stroke $STROKOL \
@@ -122,7 +122,7 @@ do
-pointsize 48 \
-strokewidth 1 \
-gravity south \
-annotate +0+140 "${datetime}" \
-annotate +0+110 "${datetime}" \
${TMP}
# identify ${TMP}
copy_a_file ${TMP}

View File

@@ -10,7 +10,7 @@ SEQNAME="$1"
echo "Running $0 $SEQNAME" >> WS/log
DIMS="-W$Img_Width -H$Img_Height"
POVOPT="+q9 +A -d ${DIMS} -WT6"
POVOPT="+q9 +A0.02 -d ${DIMS} -WT5"
echo $POVOPT ; echo ; sleep 2
TMPIMG=/dev/shm/${SEQNAME}-tmp.png
@@ -36,16 +36,18 @@ do
-font Courier-Bold \
-pointsize 16 \
-fill ${TEXTCOL} \
-gravity south \
-annotate +0+5 "$txt" \
-gravity south-west \
-annotate +12+5 "$txt" \
${img}
fin=$(date +%s)
echo
echo ${SEQNAME} $frame $(( fin - debut )) | \
tee -a WS/mp4.timing
echo ; sleep 3
printf "%-12s %4d %4d\n" \
${SEQNAME} $frame $(( fin-debut )) | \
tee -a WS/mp4.timing
echo ; sleep 2
done
date --utc > WS/$SEQNAME.done
echo
ff_encodage $SEQNAME wip-${SEQNAME}.mp4