Tools to transcode, inspect and convert videos.
Project description
Vid Cleaner
Tools to transcode, inspect and convert videos. This package provides convenience wrappers around ffmpeg and ffprobe to make it easier to work with video files. The functionality is highly customized to my personal workflows and needs. I am sharing it in case it is useful to others.
Features
- Remove commentary tracks and subtitles
- Remove unwanted audio and subtitle tracks
- Convert to H.265 or VP9
- Downmix from surround to create missing stereo streams with custom filters to improve quality
- Removes unwanted audio and subtitle tracks, optionally keeping the original language audio track
- Create clips from a video file
Install
Before installing vid-cleaner, the following dependencies must be installed:
To install vid-cleaner, run:
pip install vid-cleaner
Usage
Run vidcleaner --help
to see the available commands and options.
Contributing
Setup: Once per project
- Install Python 3.11 and Poetry
- Clone this repository.
git clone https://github.com/natelandau/vid-cleaner
- Install the Poetry environment with
poetry install
. - Activate your Poetry environment with
poetry shell
. - Install the pre-commit hooks with
pre-commit install --install-hooks
.
Developing
- This project follows the Conventional Commits standard to automate Semantic Versioning and Keep A Changelog with Commitizen.
- When you're ready to commit changes run
cz c
- When you're ready to commit changes run
- Run
poe
from within the development environment to print a list of Poe the Poet tasks available to run on this project. Common commands:poe lint
runs all linterspoe test
runs all tests with Pytest
- Run
poetry add {package}
from within the development environment to install a run time dependency and add it topyproject.toml
andpoetry.lock
. - Run
poetry remove {package}
from within the development environment to uninstall a run time dependency and remove it frompyproject.toml
andpoetry.lock
. - Run
poetry update
from within the development environment to upgrade all dependencies to the latest versions allowed bypyproject.toml
.
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
vid_cleaner-0.2.0.tar.gz
(32.2 kB
view details)
Built Distribution
File details
Details for the file vid_cleaner-0.2.0.tar.gz
.
File metadata
- Download URL: vid_cleaner-0.2.0.tar.gz
- Upload date:
- Size: 32.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.7 Linux/6.2.0-1018-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b80ba155427032357932455ea821a5188a11a3a91c4bac2ff1bc3f27873c882 |
|
MD5 | 31c5032170ee2021ef133c80a1d6f4f4 |
|
BLAKE2b-256 | f3ddfb9747da71323611a82d746f6794e8cca978854ffd5ea311f3861fd356b0 |
File details
Details for the file vid_cleaner-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: vid_cleaner-0.2.0-py3-none-any.whl
- Upload date:
- Size: 33.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.7 Linux/6.2.0-1018-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2966efd3e6821b4a489ffba1270e8dd4a7aa835c743c7b0153ba190e60e4959e |
|
MD5 | 0bfd908fe2a2b95a59a1c6f0643abfaf |
|
BLAKE2b-256 | ce32e223186942d06c4b680de8e9a3eab9a2a4cf841a7d9fd76a432e1d0ec593 |