FloatImg/experiment/tripla.sh

23 lines
340 B
Bash
Raw Normal View History

2021-05-26 20:31:52 +11:00
#!/bin/bash
GRABOPT=" -v -d /dev/video0 -n 1 -u "
SPOOL=${HOME}/TMP
for capture in red green blue
do
grabvidseq "${GRABOPT}" -o "${SPOOL}/${capture}.fimg"
# sleep 1
done
ls -rtl "${SPOOL}"
./muxplanes "${SPOOL}/red.fimg" \
"${SPOOL}/green.fimg" \
"${SPOOL}/blue.fimg" \
yo.fimg
echo $0 "got a" $?
fimgstats -v yo.fimg