all working i think
This commit is contained in:
@ -1,10 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
# end the loop
|
||||
rm $WORKING_DIR/run
|
||||
sleep 5
|
||||
rm $RUN_FILE
|
||||
rm $WORKING_DIR/*temp*.jpg
|
||||
|
||||
# create timelapse
|
||||
/bin/ffmpeg -r 30 -pattern_type glob -i "$WORKING_DIR/*.jpg" \
|
||||
-vf "scale=1920x1080" -vcodec libx264 /$WORKING_DIR/00-timelapse.mp4
|
||||
/bin/ffmpeg -r 30 -pattern_type glob -i "$WORKING_DIR/*.jpg" -vf "scale=1920x1080" -vcodec libx264 /$WORKING_DIR/00-timelapse.mp4 &
|
||||
|
||||
|
||||
Reference in New Issue
Block a user