Git Product home page Git Product logo

nightpro-for-gopro's Introduction

NightPro for GoPro

Run nightpro to automatically make nightlapse videos from your GoPro's nightlapse images.

Installation

pip3 install nightpro-for-gopro

Be sure to install ffmpeg as well.

Maunal Installation

Clone this repository, then run this from the repository's directory.

python3 setup.py install 

Usage

Just run nightpro from the folder containing your nightlapse files. Nightpro will find all of the starter photos for the series and run ffmpeg on them. There are also several optional arguments that can be passed in.

nightpro -i <input_folder> -o <output_name> -s <size> -r <rate>
Argument Optional Description Default
input_folder yes path to folder containing nightlapse photos current folder (.)
output_name yes name of the video file to be created, names will have -<starting photo number>.mp4 appened nightpro
size yes size can be specified in WxH format full size
rate yes framerate 32

ffmpeg

NightPro is a wrapper for this ffmpeg command, which turns a series of images into a timelapse video. Nightpro defaults much of this command and automatically finds the start numbers for you. That way to run the command below multiple times, you only have to run nightpro once.

ffmpeg -r 32 -start_number <number> -i ./<folder>/G00%d.JPG -vcodec libx264 -pix_fmt yuv420p <name>.mp4

-vcodec libx264 -pix_fmt yuv420p ensures compatability with Quicktime

nightpro-for-gopro's People

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.