From 5fcb208d0b4dcd5c37ab694001871c971b22ac2f Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 8 Sep 2024 02:22:18 +0200 Subject: [PATCH] spcd.sh --- spcd.sh | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 spcd.sh diff --git a/spcd.sh b/spcd.sh new file mode 100755 index 0000000..a577aed --- /dev/null +++ b/spcd.sh @@ -0,0 +1,27 @@ +#! /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