A Python toolbox for managing and processing videos efficiently.
Project description
VidToolbox
📌 Introduction
VidToolbox is a video processing tool that supports:
- 🔍 Retrieving video information (resolution, duration, file size)
- 📝 Generating YouTube chapter timestamps (
timestamps.txt) - 🎬 Merging multiple video files
- 🏷️ Automatically naming output files based on the folder name
This tool works on macOS and Linux, utilizing ffmpeg for video processing.
⚡ Installation
1️⃣ Install ffmpeg (if not installed)
brew install ffmpeg # macOS (Homebrew)
sudo apt install ffmpeg # Ubuntu / Debian
2️⃣ Install VidToolbox using pipx (Recommended)
pipx install --force git+https://github.com/nkliu1772/vidtoolbox.git
If pipx is not installed, run:
# For macOS (using Homebrew)
brew install pipx
pipx ensurepath
# For other systems
python3 -m pip install --user pipx
python3 -m pipx ensurepath
🚀 Usage
1️⃣ Get Video Information
vid-info /path/to/video_folder
🔹 Displays resolution, duration, and file size.
2️⃣ Generate YouTube Chapter Timestamps
vid-timestamps /path/to/video_folder
🔹 Creates timestamps.txt and prompts user for confirmation.
3️⃣ Merge Videos
vid-merge /path/to/video_folder
🔹 Confirms timestamps before merging videos.
🔹 The default output file name is the folder name, but you can specify an output file with -o:
vid-merge /path/to/video_folder -o output.mp4
📌 TODO
- Add
--outputparameter to allow specifying the output directory - Add an option to merge videos in all subdirectories automatically.
- Add
bumpversionfor automatic versioning and changelog management - Add en/zh language setting
- Add
.srtmerge support (auto shift) - Add Windows support
- Improve CLI usability
- Add GUI for better user experience
🛠️ License
This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
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 vidtoolbox-0.1.3.tar.gz.
File metadata
- Download URL: vidtoolbox-0.1.3.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6080fc8a88f9b378fe31c166f43cb21f8954dd47d317b4252f523c2e9694925e
|
|
| MD5 |
4c1cf301460342de108f146ae32b1d4c
|
|
| BLAKE2b-256 |
114c918621d5b1152ab66ebd2f8b8c8f94dde1d3a96647b88d9af2c8459ea74b
|
File details
Details for the file vidtoolbox-0.1.3-py3-none-any.whl.
File metadata
- Download URL: vidtoolbox-0.1.3-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ff7873fc51df676976715ba1c8d00c1c4a2e819a3034740e1ea747091e30a60
|
|
| MD5 |
1bcfd88254e37cfbe62fa416e58dd0ae
|
|
| BLAKE2b-256 |
a00beaec67aee72fc4846b42184cc0b5cf2b0b7ed6c09a715ce7b928ed16e524
|