Skip to main content

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: optional, default to current folder
  • output_name: optional, default nightpro, do not include .mp4 in the name
  • size: optional, default full size
  • rate: optional, default 32

Installation

pip3 install nightpro-for-gopro

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 once.

$ ffmpeg -r 32 -start_number <number> -i ./<folder>/G00%d.JPG -vcodec libx264 -pix_fmt yuv420p <name>.mp4
  • Replace 32 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

Metadata

Release files for nightpro-for-gopro 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nightpro-for-gopro 1.0.1
File Size Uploaded
nightpro-for-gopro-1.0.1.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nightpro-for-gopro 1.0.1
File Interpreter ABI Platform
nightpro_for_gopro-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.7 kB

Release files / nightpro-for-gopro-1.0.1.tar.gz

Download URL nightpro-for-gopro-1.0.1.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7a0173487f61d39e7575a60f5c3f8367a204ce21da82294f8deba4e7a901a279
BLAKE2b-256 checksum
How to use checksums
d189cffac70f9de85b2c42f83f5325a32d72a8b5813fabaf2ea7704cbe3da478
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / nightpro_for_gopro-1.0.1-py3-none-any.whl

Download URL nightpro_for_gopro-1.0.1-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3a51cf0c791a1f86a5ad5284dcdfb6e0fc50514d29fc83e0d85fe78a628756b8
BLAKE2b-256 checksum
How to use checksums
8cec7b06c06f16bfd3177d8351bdaadc99e69f29bbb3a62a75211f1d17d5ab9e
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page