Skip to main content

Tools to transcode, inspect and convert videos.

Project description

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
  • 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.1.1.tar.gz (31.9 kB view details)

Uploaded Source

Built Distribution

vid_cleaner-0.1.1-py3-none-any.whl (32.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vid_cleaner-0.1.1.tar.gz
  • Upload date:
  • Size: 31.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.6 Linux/6.2.0-1016-azure

File hashes

Hashes for vid_cleaner-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8054774094eab073bc8ba0efbf44edb6ad581558342f7276a46b8897de4e4615
MD5 b47ad460dce18e8cf88ca29843546dce
BLAKE2b-256 468d231351b93eef5e770a2d4e5c5644e4f030490e1bc08690f9bdfed43dbb91

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vid_cleaner-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 32.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.6 Linux/6.2.0-1016-azure

File hashes

Hashes for vid_cleaner-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1a300b39c5802860f84d1c61dbd9ec8eb700dccebeb4e45800045dc14a819259
MD5 a75fefdfda5df65aa04272b2ae8d3e62
BLAKE2b-256 6769f5015b760ef0d9e578a04569b8610fcda76406b3461e62818cb921d4afd7

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