This commit is contained in:
tth 2021-05-27 17:57:35 +02:00
parent 389beea6cd
commit f77a63b08c

View File

@ -1,16 +1,18 @@
#!/bin/bash
GRABOPT=" -v -d /dev/video0 -n 1 -u "
GRABOPT=" -vv -d /dev/video0 -n 400 -p 0.5 -u "
SPOOL=${HOME}/TMP
echo ; echo ; echo
for capture in red green blue
do
grabvidseq "${GRABOPT}" -o "${SPOOL}/${capture}.fimg"
# sleep 1
image=${SPOOL}/${capture}.fimg
echo grabbing $image
grabvidseq ${GRABOPT} -o $image
echo
done
ls -rtl "${SPOOL}"
./muxplanes "${SPOOL}/red.fimg" \
"${SPOOL}/green.fimg" \
"${SPOOL}/blue.fimg" \