this is now a better tool
This commit is contained in:
1 parent
f5929e8ee7
commit
23be7c2590
1 file changed
+6
-3
@@ -6,6 +6,8 @@ source tools/config.sh
|
|||||||
source tools/fonctions.sh
|
source tools/fonctions.sh
|
||||||
|
|
||||||
SEQNAME="$1"
|
SEQNAME="$1"
|
||||||
|
echo ; banner $SEQNAME ; sleep 15
|
||||||
|
|
||||||
LAST="WS/$SEQNAME.last"
|
LAST="WS/$SEQNAME.last"
|
||||||
|
|
||||||
if [ ! -r $LAST ]
|
if [ ! -r $LAST ]
|
||||||
@@ -15,12 +17,12 @@ fi
|
|||||||
|
|
||||||
NEXT=$(head -1 $LAST)
|
NEXT=$(head -1 $LAST)
|
||||||
|
|
||||||
count=$(( ($RANDOM % 42) + 60 ))
|
count=$(( ($RANDOM % 42) + 80 ))
|
||||||
printf "mk1seq %-10s %5d %5d\n" $SEQNAME $NEXT $count >> WS/log
|
printf "mk1seq %-10s %5d %5d\n" $SEQNAME $NEXT $count >> WS/log
|
||||||
|
|
||||||
DIMS="-W$Img_Width -H$Img_Height"
|
DIMS="-W$Img_Width -H$Img_Height"
|
||||||
NBFR=" Declare=NbFrames=$NBFRAMES "
|
NBFR=" Declare=NbFrames=$NBFRAMES "
|
||||||
POVOPT="+q9 +A -v -d ${DIMS} ${NBFR} -WT4"
|
POVOPT="+q9 +A -v -d ${DIMS} ${NBFR} -WT3"
|
||||||
# echo $NBFR
|
# echo $NBFR
|
||||||
# echo $POVOPT ; echo ; sleep 2
|
# echo $POVOPT ; echo ; sleep 2
|
||||||
|
|
||||||
@@ -50,7 +52,7 @@ do
|
|||||||
# echo $frame $img $txt
|
# echo $frame $img $txt
|
||||||
convert ${TMPIMG} \
|
convert ${TMPIMG} \
|
||||||
-font Courier-Bold \
|
-font Courier-Bold \
|
||||||
-pointsize 60 \
|
-pointsize 58 \
|
||||||
-kerning 8 \
|
-kerning 8 \
|
||||||
-strokewidth 1 \
|
-strokewidth 1 \
|
||||||
-fill ${STROKOL} -stroke ${TEXTCOL} \
|
-fill ${STROKOL} -stroke ${TEXTCOL} \
|
||||||
@@ -71,6 +73,7 @@ done
|
|||||||
date --utc > WS/$SEQNAME.done
|
date --utc > WS/$SEQNAME.done
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
sleep 10
|
||||||
ff_encodage $SEQNAME wip-${SEQNAME}.mp4
|
ff_encodage $SEQNAME wip-${SEQNAME}.mp4
|
||||||
|
|
||||||
echo "build '$SEQNAME' done" | tee -a WS/log
|
echo "build '$SEQNAME' done" | tee -a WS/log
|
||||||
|
|||||||
Reference in new issue
Block a user