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.9.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.9-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: thumbsup-0.9.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.9.tar.gz
Algorithm Hash digest
SHA256 6366735e1ee28b7b9ddca634a77bf6bea0335add20d8d62d86af3d2cf319d373
MD5 f4c816a3a3f20f7a21449071d2cb499d
BLAKE2b-256 9a6b8d79a80adb6724862a0789fcf8f157eedb4d31266a4d11e6282b822e1995

See more details on using hashes here.

File details

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

File metadata

  • Download URL: thumbsup-0.9-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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 f869fff1474b239669c036be21ed4dc013321327f6b73a3ae2960fc14274e22d
MD5 4aabc5d8b2c50e7b348fa4e24540dfa1
BLAKE2b-256 8d5af0253912a20ff0e8a91717c8405070c8383a5ecef46a788fc7ea85988476

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