Skip to main content

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.25 for 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.

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

thumbsup-0.8.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

thumbsup-0.8-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file thumbsup-0.8.tar.gz.

File metadata

  • Download URL: thumbsup-0.8.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for thumbsup-0.8.tar.gz
Algorithm Hash digest
SHA256 b71f87cfed7b30a82fdb220c5c07b08940ce808b92dba93c7a377eada040dddf
MD5 0a12acef302cfd6dbc5daa85f3116c77
BLAKE2b-256 133b041cf7edeba1bd5efb1df2bc1a335d6d32a821b0dc993057750a1dc267b7

See more details on using hashes here.

File details

Details for the file thumbsup-0.8-py3-none-any.whl.

File metadata

  • Download URL: thumbsup-0.8-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

Hashes for thumbsup-0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 c96065de7ad2fbd76ca2d0daceb825c390e5f7f4adb2d1159f4ab27e1adedc64
MD5 21568ddd3a7530fbc09863d46ca4ce3d
BLAKE2b-256 4461de7fa1e6bbbd897a6e862896e7d54b137cd8238e682290d457eba6f597ad

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page