Skip to main content

Tools to transcode, inspect and convert videos.

Project description

PyPI version PyPI - Python Version Python Code Checker codecov

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
  • Convert 4k to 1080p
  • 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

  1. Install Python 3.11 and Poetry
  2. Clone this repository. git clone https://github.com/natelandau/vid-cleaner
  3. Install the Poetry environment with poetry install.
  4. Activate your Poetry environment with poetry shell.
  5. 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
  • 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 linters
    • poe test runs all tests with Pytest
  • Run poetry add {package} from within the development environment to install a run time dependency and add it to pyproject.toml and poetry.lock.
  • Run poetry remove {package} from within the development environment to uninstall a run time dependency and remove it from pyproject.toml and poetry.lock.
  • Run poetry update from within the development environment to upgrade all dependencies to the latest versions allowed by pyproject.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.3.1.tar.gz (33.3 kB view details)

Uploaded Source

Built Distribution

vid_cleaner-0.3.1-py3-none-any.whl (34.0 kB view details)

Uploaded Python 3

File details

Details for the file vid_cleaner-0.3.1.tar.gz.

File metadata

  • Download URL: vid_cleaner-0.3.1.tar.gz
  • Upload date:
  • Size: 33.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.8 Linux/6.5.0-1015-azure

File hashes

Hashes for vid_cleaner-0.3.1.tar.gz
Algorithm Hash digest
SHA256 16ed7c56c217a66c126f86bde3761e7064f186f480faf06eed6c0e4659c9e7a8
MD5 838fa049def28273b4a3c9f2001f46cd
BLAKE2b-256 6bd4514f2cd3403a982f6473acdf7bca66e3a25ed88211d71926cf3fc405a777

See more details on using hashes here.

File details

Details for the file vid_cleaner-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: vid_cleaner-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 34.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.8 Linux/6.5.0-1015-azure

File hashes

Hashes for vid_cleaner-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fafd595309ed1911eb86ea50ae248cd0c111724e32803d690b9deb88f66caccc
MD5 06f7cb95b77c7015688c2822b4e60df0
BLAKE2b-256 f90f5cdbd65d1adf5f58f958e5be7b7eda170f235486f2d3b453e61e7834addd

See more details on using hashes here.

Supported by

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