spcd/spcd.sh

32 lines
519 B
Bash
Raw Normal View History

2024-09-08 00:22:18 +00:00
#! /usr/bin/env sh
gource \
2024-09-08 15:51:03 +00:00
--auto-skip-seconds 0.25 \
2024-09-08 11:36:38 +00:00
--date-format "%Y / %m / %d ⋅ %H : %M : %S" \
2024-09-08 11:43:23 +00:00
--disable-input \
2024-09-08 13:32:28 +00:00
--font-scale 2.5 \
2024-09-08 11:24:38 +00:00
--frameless \
2024-09-08 00:22:18 +00:00
--hide mouse,usernames \
--highlight-dirs \
--key \
2024-09-08 11:33:30 +00:00
--multi-sampling \
2024-09-08 00:22:18 +00:00
--output-framerate 60 \
--output-ppm-stream - \
2024-09-08 15:51:03 +00:00
--seconds-per-day 0.6 \
2024-09-08 13:39:09 +00:00
--stop-at-end \
2024-09-08 13:00:31 +00:00
--viewport "1920x1080" \
2024-09-08 00:22:18 +00:00
| \
ffmpeg \
-codec:v ppm \
-format image2pipe \
-framerate 120 \
-i - \
-codec:v libx264 \
-preset veryslow \
2024-09-08 15:51:03 +00:00
-qp 28 \
2024-09-08 00:22:18 +00:00
-movflags \
+faststart \
-pix_fmt yuv420p \
-y \
spcd.mp4