This commit is contained in:
Marc Beninca 2024-09-09 00:46:16 +02:00
parent 19b7ad4675
commit 0bb39456e2
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

55
spcd.sh
View file

@ -1,31 +1,30 @@
#! /usr/bin/env sh #! /usr/bin/env sh
gource \ gource \
--auto-skip-seconds 0.25 \ --auto-skip-seconds 0.25 \
--date-format "%Y / %m / %d ⋅ %H : %M : %S" \ --date-format "%Y / %m / %d ⋅ %H : %M : %S" \
--disable-input \ --disable-input \
--font-scale 2.5 \ --font-scale 2.5 \
--frameless \ --frameless \
--hide mouse,usernames \ --hide mouse,usernames \
--highlight-dirs \ --highlight-dirs \
--key \ --key \
--multi-sampling \ --multi-sampling \
--output-framerate 60 \ --output-framerate 60 \
--output-ppm-stream - \ --output-ppm-stream - \
--seconds-per-day 0.6 \ --seconds-per-day 0.6 \
--stop-at-end \ --stop-at-end \
--viewport "1920x1080" \ --viewport "1920x1080" |
| \ ffmpeg \
ffmpeg \ -codec:v ppm \
-codec:v ppm \ -format image2pipe \
-format image2pipe \ -framerate 120 \
-framerate 120 \ -i - \
-i - \ -codec:v libx264 \
-codec:v libx264 \ -preset veryslow \
-preset veryslow \ -qp 28 \
-qp 28 \ -movflags \
-movflags \ +faststart \
+faststart \ -pix_fmt yuv420p \
-pix_fmt yuv420p \ -y \
-y \ spcd.mp4
spcd.mp4