Generate startrail images and videos from a project's image sequence. The script guides you through selecting a project, choosing a frame range, optional compression, and output types (startrail image, startrail video, starmotion video), with optional Instagram-compatible outputs.
/projects/<project>/
images/
compressed/ (auto-created if you choose to compress)
result/ (auto-created for outputs)
The script requires /projects to exist.
- Create a new project folder under
/projects. - Put your source images inside the
images/folder.
Example:
mkdir -p /projects/my_night_shoot/images
cp /path/to/your/images/*.jpg /projects/my_night_shoot/images/This repo uses uv and Python 3.11+.
git clone https://github.com/midlajc/startrail.git
cd startrailuv syncuv run cmd/startrails.py- Project selection
- Start/end range of images
- Compress images first?
- Outputs to generate
- If any video: desired duration (seconds)
- Instagram-compatible versions?
All outputs are written under:
/projects/<project>/result
Instagram versions end with _insta and are resized to max 1080px on the long side to reduce Instagram recompression.