creation of chunks directory if it doesn't exist and rename the webcam receiver to have a clearar name

This commit is contained in:
Joe Tretter
2022-09-06 11:12:10 -05:00
parent d65d1800c9
commit f8de654574
2 changed files with 2 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
#/bin/bash #/bin/bash
mkdir -p chunks
echo extracting frames echo extracting frames
ffmpeg -loglevel 24 -stats -i input.mp4 /tmp/$$.out%05d.png ffmpeg -loglevel 24 -stats -i input.mp4 /tmp/$$.out%05d.png
echo done, processing frames echo done, processing frames

View File

@@ -1,4 +1,5 @@
#/bin/bash #/bin/bash
mkdir -p chunks
while /bin/true;do while /bin/true;do
fswebcam -q -r 800x800 a.png fswebcam -q -r 800x800 a.png
#dta=$(fswebcam -q -r 1280x720 - | zbarimg -q --raw --nodbus -) #dta=$(fswebcam -q -r 1280x720 - | zbarimg -q --raw --nodbus -)