Skip to content

Instantly share code, notes, and snippets.

View Benitoite's full-sized avatar
🇺🇸
¡Packaging for macOS notaryservices!

Richard E Barber Benitoite

🇺🇸
¡Packaging for macOS notaryservices!
View GitHub Profile
@Benitoite
Benitoite / macos-app-icon.md
Created September 10, 2023 04:19 — forked from jamieweavis/macos-app-icon.md
How to create an .icns macOS app icon
@Benitoite
Benitoite / timelapse.md
Last active June 13, 2021 23:14 — forked from alexellis/timelapse.md
ffmpeg time-lapse

Convert sequence of JPEG images to MP4 video

ffmpeg -r 24 -pattern_type glob -i '*.JPG' DSC_%04d.JPG -s hd1080 -vcodec libx264 timelapse.mp4

  • -r 24 - output frame rate
  • -pattern_type glob -i '*.JPG' - all JPG files in the current directory
  • -i DSC_%04d.JPG - e.g. DSC_0397.JPG
  • -s hd1080 - 1920x1080 resolution

Slower, better quality