Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save colinrotherham/cbd3d5a289af73f54b85f081359b8b23 to your computer and use it in GitHub Desktop.
Save colinrotherham/cbd3d5a289af73f54b85f081359b8b23 to your computer and use it in GitHub Desktop.
Gource
// Output raw video frames (ppm file)
gource -f -1280x720 --stop-at-end --disable-progress -e 0.006 --bloom-multiplier 0.70 --multi-sampling --auto-skip-seconds 1 --seconds-per-day 0.5 --output-ppm-stream - > ~/Desktop/filename.ppm &
// Generate video from frames
ffmpeg -f image2pipe -vcodec ppm -i ~/Desktop/filename.ppm -an -pass 1 -vcodec libx264 -b 1000000 -pix_fmt yuv420p -threads 0 ~/Desktop/filename.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment