spcd/spcd.sh

32 lines
528 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 \
2024-09-08 11:24:38 +00:00
--font-scale 1.5 \
--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 10:00:24 +00:00
--seconds-per-day 4.0 \
2024-09-08 09:53:42 +00:00
--start-date "2024-08-18" \
2024-09-08 11:34:13 +00:00
--viewport "1280x720" \
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