add a "start from here" option
This commit is contained in:
parent
f737579090
commit
72d99f9400
@ -6,8 +6,14 @@ source tools/config.sh
|
||||
source tools/fonctions.sh
|
||||
|
||||
SEQNAME="$1"
|
||||
START=0
|
||||
|
||||
echo "Running $0 $SEQNAME" >> WS/log
|
||||
if [ $# == 2 ]
|
||||
then
|
||||
START=$2
|
||||
fi
|
||||
|
||||
echo "$0 $SEQNAME from $START" >> WS/log
|
||||
|
||||
DIMS="-W$Img_Width -H$Img_Height"
|
||||
POVOPT="+q9 +A0.02 -d ${DIMS} -WT5"
|
||||
@ -15,7 +21,7 @@ echo $POVOPT ; echo ; sleep 2
|
||||
|
||||
TMPIMG=/dev/shm/${SEQNAME}-tmp.png
|
||||
|
||||
for frame in $(seq 0 $((NBFRAMES-1)))
|
||||
for frame in $(seq $START $((NBFRAMES-1)))
|
||||
do
|
||||
|
||||
img=$(printf "frames/%s/%05d.png" $SEQNAME $frame)
|
||||
|
Loading…
Reference in New Issue
Block a user