/TimeLapseBuilder-Swift

Build a movie from jpeg images in Swift using AVFoundation

Primary LanguageSwiftMIT LicenseMIT

TimeLapseBuilder

This is a reference implementation for building time lapse videos from still images using Swift.

The core of the library is designed to be portable across iOS and macOS, and there is a sample application for each platform.

Getting started

  1. Clone this repository
  2. Open TimeLapseBuilder.xcodeproj with Xcode
  3. Select one of the sample applications from the schema list and select Product > Run

If you need help adapting this code to use in your app, I recommend posting your questions on Stack Overflow. Please open an issue if you find a bug.

Notables

  • @seanmcneil has built a Cocoapod called Spitfire based on this code.
  • Various contributors have helped to fix bugs and port this code to newer versions of Swift. You can find their comments and code on the original gist.

Contributing

If you found a bug, open an issue.

If you have a feature request, open an issue.

If you want to contribute (yay!), submit a pull request.

License

MIT license. Please see the LICENSE file for the particulars.