Skip to content

Instantly share code, notes, and snippets.

@pjflanagan
Last active December 6, 2020 17:06
Show Gist options
  • Save pjflanagan/bf7dcc2152b4adabe7ef7f56baa5e365 to your computer and use it in GitHub Desktop.
Save pjflanagan/bf7dcc2152b4adabe7ef7f56baa5e365 to your computer and use it in GitHub Desktop.

Merge GoPro Nightlapse Photos To Timelapse Video

This command now has a wrapper Python project that takes out the tedious parts for you.

See: NigthPro for GoPro

ffmpeg Command

This command turns a series of images into a timelapse video.

ffmpeg -r 15 -start_number <number> -i ./<folder>/G00%d.JPG -vcodec libx264 -pix_fmt yuv420p <name>.mp4
  • Replace 15 with any framerate you'd like
  • Replace <number> with the number of the first photo, this is prefaced with G00 in -i, add or remove zeros if your numbers are lower or higher
  • Replace <folder> with the name of the folder the photos are in
  • Replace <name> with the name of the output file
  • -vcodec libx264 -pix_fmt yuv420p ensures compatability with Quicktime
  • When testing add -s 640x480 before the output name to make a smaller file size and process faster
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment