Skip to main content

VidTally: A beautiful CLI tool to tally durations of MP4 files in a folder

Project description

Video Duration Tool

A simple CLI tool to calculate durations of MP4 files in a folder.

Installation

pip install .

Usage

video-duration /path/to/your/folder

Requirements

  • Python 3.6+
  • ffmpeg (required for ffprobe, which extracts video metadata). This must be installed separately on your system and available in your PATH.

Installing ffmpeg

  • macOS: Use Homebrew: brew install ffmpeg. If you don't have Homebrew, install it from https://brew.sh/.

  • Windows: Download the latest build from https://ffmpeg.org/download.html (choose a "Windows builds from gyan.dev" or similar). Extract it, add the bin folder to your system PATH (search online for "add to PATH on Windows"), and restart your terminal.

  • Linux (Ubuntu/Debian): sudo apt update && sudo apt install ffmpeg.

  • Linux (Fedora): sudo dnf install ffmpeg.

  • Other platforms: Visit https://ffmpeg.org/download.html for binaries or package manager instructions.

If ffmpeg is not installed, the tool will print an error with these instructions.

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

vidtally-0.1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

vidtally-0.1.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file vidtally-0.1.0.tar.gz.

File metadata

  • Download URL: vidtally-0.1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for vidtally-0.1.0.tar.gz
Algorithm Hash digest
SHA256 12dd9524a5e15b4d7174abf549ddd01acaf04c6c990b3690f28589753e21cd1e
MD5 e13fc173828f194a2c5a8a6934eb4a10
BLAKE2b-256 e4ab59ab027102248bb3e5be83c2e3fb7fafa0a0d30db5b300052f8b530b06af

See more details on using hashes here.

File details

Details for the file vidtally-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: vidtally-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for vidtally-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 27a40f1c5d7f9dcca83c6790c22763eb6c53a7535d08208a455019018381133b
MD5 18e8f9078d1169c7041ad51ec9c47d5d
BLAKE2b-256 527ccd4c6e8f7851b4bb1a03494ff78fa744e362a6c6ba6347ac52fb9331c002

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