Previewer
Command line tool to generate montages (image previews) from video clips or folders containing images.
Install
Install ffmpeg if you want to generate previews for video clips.
$ sudo apt update
$ sudo apt install ffmpeg
Install the latest release of previewer from PyPI
$ pip3 install previewer
$ previewer --help
Or install previewer from the sources
$ pip3 install poetry
$ pip3 install git+https://github.com/essembeh/previewer
$ previewer --help
Usage
You can customize the generated image:
- change geometry (width, height, crop, fit or fill) of the thumbnails
- change the background color
- show or hide the a title
- adjust the space between thumbnails
- add a border, a shadow to thumbnails
Example: generate a preview from a video clip
We can build a preview image of a video using:
$ previewer --crop 256 --shadow --title --background lightblue "samples/Rick Astley - Never Gonna Give You Up.mp4"
🎬 Generate montage from video samples/Rick Astley - Never Gonna Give You Up.mp4 using 36 thumbnails
🍺 Montage generated ./Rick Astley - Never Gonna Give You Up.jpg
Example: generate a preview from a folder containing images
We can build a preview folder containing images like this:
$ previewer --columns 5 --polaroid --background b2967d "samples/Rick Astley - Never Gonna Give You Up"
📷 Generate montage from folder samples/Rick Astley - Never Gonna Give You Up/ containing 20 images
🍺 Montage generated ./Rick Astley - Never Gonna Give You Up.jpg
Metadata
Release files for previewer 0.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| previewer-0.9.0.tar.gz | 3.8 MB | Without provenance | Details for previewer-0.9.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| previewer-0.9.0-py3-none-any.whl | Python 3 | none | any | Details for previewer-0.9.0-py3-none-any.whl |
Total release size: 7.6 MB
Release files / previewer-0.9.0.tar.gz
| Download URL | previewer-0.9.0.tar.gz |
|---|---|
| Size | 3.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
098fe5e15efea4b36c966b2d2774b06efe68e0347ac9852f27b6df533ec08ec7
|
|
BLAKE2b-256 checksum How to use checksums |
b80724fdd26ca0d3c6d6be4cc2d8507bd3c11d8ca67763ce82688f085e5ba933
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.10.12 Linux/5.15.0-1041-azure
|
Release files / previewer-0.9.0-py3-none-any.whl
| Download URL | previewer-0.9.0-py3-none-any.whl |
|---|---|
| Size | 3.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eac04ac26cbc6510e6500de95ec7af70ca799d29dcea18eb7ca2c55a75c951e0
|
|
BLAKE2b-256 checksum How to use checksums |
539d906ad168b9c5a3bc2dc94868b9941505928e7b351109ec434ced7d1e5728
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.10.12 Linux/5.15.0-1041-azure
|
Security for previewer 0.9.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.