Skip to content

Instantly share code, notes, and snippets.

@zilmarinen
Created May 10, 2021 11:58
Show Gist options
  • Select an option

  • Save zilmarinen/77b13e21ab53c9d0821dedbb615967a5 to your computer and use it in GitHub Desktop.

Select an option

Save zilmarinen/77b13e21ab53c9d0821dedbb615967a5 to your computer and use it in GitHub Desktop.
Gource command for exporting and compressing time-lapse video
gource -s .06 -1280x720 --time-scale 4 --seconds-per-day 1 --auto-skip-seconds .1 --multi-sampling --stop-at-end --key --highlight-users --hide mouse,progress,files,filenames,dirnames --file-idle-time 0 --max-files 0 --background-colour 000000 --font-size 21 --output-ppm-stream - --output-framerate 30 | avconv -y -r 30 -f image2pipe -vcodec ppm -i - -b 65536K movie.mp4 && ffmpeg -i movie.mp4 -b:v 3048780 -vcodec libx264 -crf 24 output.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment