spcd/spcd.sh

28 lines
429 B
Bash
Raw Normal View History

2024-09-08 00:22:18 +00:00
#! /usr/bin/env sh
gource \
--auto-skip-seconds 1 \
--date-format "%Y / %m / %d ⋅ %H : %M : %S" \
--disable-progress \
-f \
--hide mouse,usernames \
--highlight-dirs \
--key \
--output-framerate 60 \
--seconds-per-day 2.0 \
--output-ppm-stream - \
| \
ffmpeg \
-codec:v ppm \
-format image2pipe \
-framerate 120 \
-i - \
-codec:v libx264 \
-preset veryslow \
-qp 23 \
-movflags \
+faststart \
-pix_fmt yuv420p \
-y \
spcd.mp4