2020-04-02 14:49:10 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# -----------------------------------------------------
|
|
|
|
|
2022-05-14 20:49:59 +02:00
|
|
|
FIMG="bar.fimg"
|
2020-04-02 14:49:10 +02:00
|
|
|
CAM="/dev/video0"
|
|
|
|
|
2022-05-14 20:49:59 +02:00
|
|
|
clear
|
|
|
|
|
2020-04-02 14:49:10 +02:00
|
|
|
# -----------------------------------------------------
|
2022-05-14 20:49:59 +02:00
|
|
|
SEQ=" -n 60 -p 0 "
|
|
|
|
./grabvidseq -vv -m -d $CAM $SEQ -o $FIMG
|
|
|
|
|
|
|
|
echo ; echo ================= STATS ======================
|
|
|
|
../tools/fimgstats -v $FIMG
|
|
|
|
|
|
|
|
exit
|
2020-04-02 14:49:10 +02:00
|
|
|
|
2022-05-14 20:49:59 +02:00
|
|
|
echo
|
|
|
|
echo ================ METADATA ====================
|
|
|
|
../tools/fimgmetadata -v timestamp $FIMG
|
|
|
|
echo
|
|
|
|
../tools/fimgmetadata -v all $FIMG
|
2020-04-02 14:49:10 +02:00
|
|
|
|
|
|
|
# -----------------------------------------------------
|