Skip to main content

A nightlapse maker for GoPro

Project description

NightPro for GoPro

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

$ nightpro -i <input_folder> -o <output_name> -s <size> -r <rate>
  • input_folder: required
  • output_name: optional, default nightpro, do not include .mp4 in the name
  • size: optional, default full size
  • rate: optional, default 32

Installation

pip3 install ___

Maunal Installation

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

python3 setup.py install 

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 -i ./folder once.

$ ffmpeg -r 32 -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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nightpro-for-gopro-1.0.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

nightpro_for_gopro-1.0.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file nightpro-for-gopro-1.0.0.tar.gz.

File metadata

  • Download URL: nightpro-for-gopro-1.0.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for nightpro-for-gopro-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f55af5ff7bd9d243813d520b9a031a5ae05368f35f2b761e0c014b9b47990089
MD5 64ae14eda7bfedd2583e0b922843ab6f
BLAKE2b-256 63e49fcfb16618ac540cb5fea81cf0bda672d81ed842437ac2f62b5af3f100e2

See more details on using hashes here.

File details

Details for the file nightpro_for_gopro-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: nightpro_for_gopro-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for nightpro_for_gopro-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 56389805a88a2e72c05caffa0822df473a13c52ab98544a459d9b82ff3e6c8da
MD5 704630c216d1bf8076e3d54190f0fda9
BLAKE2b-256 4c3a4e022519fc67ad777335c80390edb7774090887d92f35818ded62aec65d1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page