summaryrefslogtreecommitdiff
path: root/video/slideshow
diff options
context:
space:
mode:
authorTimmy Keller <tjk@tjkeller.xyz>2021-10-11 15:08:51 -0500
committerTimmy Keller <tjk@tjkeller.xyz>2021-10-11 15:08:51 -0500
commit2cf3ea2f828f6da07adff92a7dc5bce6069620ab (patch)
tree213dabd2d9301d3930f47f2a03c901dfbb100297 /video/slideshow
parent551e1c638a6a4ff2130b3c374774f6006b28467d (diff)
downloadscripts-2cf3ea2f828f6da07adff92a7dc5bce6069620ab.tar.xz
scripts-2cf3ea2f828f6da07adff92a7dc5bce6069620ab.zip
sinking
Diffstat (limited to 'video/slideshow')
-rwxr-xr-xvideo/slideshow15
1 files changed, 15 insertions, 0 deletions
diff --git a/video/slideshow b/video/slideshow
new file mode 100755
index 0000000..94c530e
--- /dev/null
+++ b/video/slideshow
@@ -0,0 +1,15 @@
+#!/bin/sh
+cat *.JPG | ffmpeg -y \
+-framerate 0.20 -loop 1 \
+-f image2pipe \
+-i - \
+-c:v h264_amf -quality quality -tune stillimage \
+-qp_i 12 -qp_p 28 -qp_b 28 \
+-vf \
+fps=1,\
+framerate=25:\
+interp_start=0:\
+interp_end=255:\
+scene=100 \
+-metadata "title"="$(pwd | sed "s/.*\///")" \
+output.mkv