pfeueue...
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
SPOOL="$HOME/TMP"
|
||||
mkdir "$SPOOL"
|
||||
|
||||
NBRE=279
|
||||
POVOPT=" -w768 -h576 +q9 +a -d "
|
||||
NBRE=599
|
||||
POVOPT=" -w1280 -h960 +q9 -a -d "
|
||||
SRCFILE="train.pov"
|
||||
|
||||
for idx in $(seq 0 $NBRE)
|
||||
@@ -13,7 +13,7 @@ do
|
||||
outfile=$(printf "%s/%04d.png" $SPOOL $idx)
|
||||
horloge=$(echo "$idx / $NBRE" | bc -l)
|
||||
|
||||
printf "%-20s %.3f\n" $outfile $horloge
|
||||
printf "%-20s %.4f\n" $outfile $horloge
|
||||
|
||||
povray -i${SRCFILE} ${POVOPT} -K${horloge} -o${outfile}
|
||||
|
||||
@@ -21,6 +21,6 @@ done
|
||||
|
||||
ffmpeg -nostdin \
|
||||
-loglevel error \
|
||||
-y -r 30 -f image2 -i $SPOOL/%04d.png \
|
||||
-y -r 25 -f image2 -i $SPOOL/%04d.png \
|
||||
-c:v libx264 -pix_fmt yuv420p \
|
||||
$SPOOL/foo.mp4
|
||||
|
||||
Reference in New Issue
Block a user