2020-04-02 23:49:10 +11:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# -----------------------------------------------------
|
|
|
|
|
2022-05-15 05:49:59 +11:00
|
|
|
FIMG="bar.fimg"
|
2020-04-02 23:49:10 +11:00
|
|
|
CAM="/dev/video0"
|
|
|
|
|
2022-05-15 05:49:59 +11:00
|
|
|
clear
|
|
|
|
|
2020-04-02 23:49:10 +11:00
|
|
|
# -----------------------------------------------------
|
2022-05-15 05:49:59 +11: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 23:49:10 +11:00
|
|
|
|
2022-05-15 05:49:59 +11:00
|
|
|
echo
|
|
|
|
echo ================ METADATA ====================
|
|
|
|
../tools/fimgmetadata -v timestamp $FIMG
|
|
|
|
echo
|
|
|
|
../tools/fimgmetadata -v all $FIMG
|
2020-04-02 23:49:10 +11:00
|
|
|
|
|
|
|
# -----------------------------------------------------
|