Highlight Video Maker
This script automatically creates a highlight reel from multiple video inputs by identifying and combining the loudest moments.
How It Works
-
Finds a Representative Video
- Chooses the shortest video as the "representative" video.
-
Detects Loudest Moments
- Analyzes the representative video to find the 10 loudest segments.
-
Applies to All Videos
- Uses the timestamps from the representative video to divide all others into clips.
- Note: This will make all videos the same length, removing the excess content from the end.
- Uses the timestamps from the representative video to divide all others into clips.
-
Combines Clips
- Merges the loudest segments using:
- The representative video’s timestamps
- A randomly selected perspective clip from the other videos
- Merges the loudest segments using:
-
Final Outputs
- A combonation of all vthe loudest clips, perspective randomly chosen
- Same as above, but with a mobile-friendly vertical aspect ratio with blurred letterboxing
- Both clips will be watermarked by an image input, with the image being slightly transparent on the standard video output and opaque on the mobile one
CLI Options
All options except --log-level are required.
$ vr-video-maker --help
Usage: vr-video-maker [OPTIONS] COMMAND [ARGS]...
Options:
--log-level Sets the logging verbosity. Choose betweenDEBUG, INFO (default), WARNING, ERROR, or CRITICAL.Can be uppercase or lowercase.
--help Show this message and exit.
Commands:
run Main function that orchestrates the video processing pipeline.
$ vr-video-maker run --help
Usage: vr-video-maker run [OPTIONS]
Main function that orchestrates the video processing pipeline.
Options:
--input-dir The input directory to get the source videos from.
--watermark-image The path of the watermark image to overlay over the final output. If not specified, no watermark will be applied. It will not be scaled, so it should be sized appropriately relative to the input.
--horiz-output-file The path to output the final video to. It should not exist and must either be an absolute path or start with "./".
--vert-output-file The path to output the final video to. It should not exist and must either be an absolute path or start with "./".
--help Show this message and exit.
Requirements
- Operating System: Linux (tested on Arch Linux, will not work on Windows-like systems)
- Dependencies: FFmpeg must be installed on the host system
Temporary Storage
- The script uses
/tmp/video-maker-cachefor temporary files. - This folder can be safely deleted after the script finishes running.
Release files for highlight-video-maker 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| highlight_video_maker-0.2.3.tar.gz | 10.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| highlight_video_maker-0.2.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.6 kB
Release files / highlight_video_maker-0.2.3.tar.gz
| Download URL | highlight_video_maker-0.2.3.tar.gz |
|---|---|
| Size | 10.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae147bc5495a06dbcb6638e963036831acc4763d092e6d6bcf7c72007e121397
|
|
BLAKE2b-256 checksum How to use checksums |
9c01efe72f9ae86bc148b3dd62ac03e61bc82799ba6ceebd310997212fa18528
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 16, 2026.
Transparency logRelease files / highlight_video_maker-0.2.3-py3-none-any.whl
| Download URL | highlight_video_maker-0.2.3-py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7663b37f3b0213cdc0c9cb7fb11bdeacbb7fbf6ce6199b43d64621d810668cc7
|
|
BLAKE2b-256 checksum How to use checksums |
01265f0592481f3addd0ab366aa6fcf0aced55bc2f37dc658c56e19a92805b84
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 16, 2026.
Transparency log