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