Add timelapse scripts
This commit is contained in:
commit
8c80a14539
7
caputure_timelapse
Executable file
7
caputure_timelapse
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
gphoto2 \
|
||||
--capture-image-and-download \
|
||||
--set-config "/main/imgsettings/imageformat=5" \
|
||||
--filename "frames/"%Y%m%d-%H-%M-%S.%C \
|
||||
--interval "10"
|
4
process_timelapse
Executable file
4
process_timelapse
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
# https://medium.com/@sekhar.rahul/creating-a-time-lapse-video-on-the-command-line-with-ffmpeg-1a7566caf877
|
||||
|
||||
ffmpeg -framerate 30 -pattern_type glob -i "$1/*.jpg" -s:v 2592x1728 -c:v libx264 -crf 17 -pix_fmt yuv420p my-timelapse.mp4
|
Loading…
x
Reference in New Issue
Block a user