A CLI tool for generating thumbnails from video files.
Project description
Thumbsup 👍
thumbsup is a command-line tool for generating thumbnails from video files. It supports various video formats and allows you to capture frames from specified positions within the video. Ideal for quickly creating snapshots from videos for previews or documentation.
Features
- List Directory Contents: Display information about files and directories, including sizes.
- Generate Thumbnails: Create thumbnail images from videos in specified formats.
- Flexible Frame Extraction: Capture frames at specified percentages of the video's duration.
- Customizable Output: Specify the output directory and file formats to process.
Installation
You can install thumbsup via pip:
pip install thumbsup
Usage
List Directory Contents
thumbsup --ls /path/to/directory
Generate Thumbnails from a Directory
thumbsup --dir /path/to/directory --format .mp4 .mov --dest /path/to/output --at 0.25 0.5 0.75
Generate Thumbnails from a File
thumbsup --file /path/to/video.mp4 --dest /path/to/output --at 0.25 0.5 0.75
Arguments
--dir: Directory to process for video files.--ls: List information about the specified path.--file: Single file to process for thumbnails.--dest: Output directory where thumbnails will be saved.--format: Video file formats to include (e.g.,.mp4,.mov).--at: Frame positions to capture (as percentages, e.g.,0.25for 25%).
Examples
To list the contents of a directory:
thumbsup --ls /my/videos
To generate thumbnails from all .mp4 and .mov files in a directory:
thumbsup --dir /my/videos --format .mp4 .mov --dest /my/thumbnails --at 0.25 0.5 0.75
Contributing
If you want to contribute to thumbsup, please fork the repository and submit a pull request. Ensure that your contributions adhere to the project's coding standards and include appropriate tests.
License
This project is licensed under the MIT License - see the LICENSE file for details.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file thumbsup-0.7.tar.gz.
File metadata
- Download URL: thumbsup-0.7.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c267c77f46f29ab98859c14301de57044c9dd552eac470dd457a9bc4bc5523fc
|
|
| MD5 |
ba0806022fa1de8a3cd27c1e1568f163
|
|
| BLAKE2b-256 |
65abcd4d6379820e566574c768af31bc41f03f671c3c8872df2910d8c72b8580
|
File details
Details for the file thumbsup-0.7-py3-none-any.whl.
File metadata
- Download URL: thumbsup-0.7-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1eb8c2ec1567535ffbee93509ecb6b27ee2aa9b0ee656c65aae2497d0913ea75
|
|
| MD5 |
a69311a31aaa36ff13fba1047ace0129
|
|
| BLAKE2b-256 |
20dafd3493ab739fcc190583baf95c70c57456057becfc69d2f219288b24c888
|