time lapse movies
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
CAMS=$(ls ./pics)
|
||||
SCALE="640"
|
||||
|
||||
for CAM in $CAMS
|
||||
do
|
||||
ffmpeg -framerate 2 -pattern_type glob -i "./pics/$CAM/$CAM-*.jpg" -c:v libx264 -r 30 \
|
||||
-vf "drawtext=fontfile=/usr/share/fonts/truetype/noto/NotoSans-Light.ttf:text='${CAM}':fontcolor=white:fontsize=15:box=1:boxcolor=black@0.5:boxborderw=5:x=(w-text_w)/2:y=(h-text_h)/2" \
|
||||
-vf "scale=${SCALE}:-2" ${CAM}_${SCALE}.mp4
|
||||
done
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user