spcd/spcd.sh

32 lines
529 B
Bash
Raw Normal View History

2024-09-08 00:22:18 +00:00
#! /usr/bin/env sh
gource \
2024-09-08 13:07:52 +00:00
--auto-skip-seconds 1.0 \
2024-09-08 12:14:10 +00:00
--camera-mode "overview" \
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:07:52 +00:00
--font-scale 2.0 \
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 13:07:52 +00:00
--seconds-per-day 0.8 \
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 \
-qp 23 \
-movflags \
+faststart \
-pix_fmt yuv420p \
-y \
spcd.mp4