Skip to main content

CLI tools for editing videos in python. A plugin based approach.

Project description

PyPI Changelog Tests License

vidtoolz

Make videos using python. A plugin-based CLI toolset for editing, authering videos, built with python.

Overview

vidtoolz is a collection of command-line tools designed to make videos and edit videos easier. The project takes a plugin-based approach, allowing users to extend its functionality by creating custom plugins.

After installing vidtoolz, install any of the following plugins.

VidToolz Plugins

Plugins cli name Description
vidtoolz-hum-hai-rahi h2r Tools for Hum Hai Rahi channel
vidtoolz-trim trim Trim video using ffmpeg
vidtoolz-add-text addtext Add text to a video file
vidtoolz-apply-fadein-fadeout fadeinout Apply fade-in fade-out effects on videos
vidtoolz-youtube-chapters chapters Write formatted YouTube chapters with text inputs
vidtoolz-noise-and-echo echo Apply noise reduction and echo effect
vidtoolz-beats beats Get beats from an MP3 song
vidtoolz-apply-greenscreen greenscreen Apply greenscreen video on top of a video
vidtoolz-shorts shorts Create shorts from long-form videos
vidtoolz-intro intro Create intro video from a series of videos
vidtoolz-replace-audio repaudio Replace audio for a video file
vidtoolz-vignette vignette Apply vignette on video
vidtoolz-volume volume Increase or decrease volume
vidtoolz-add-sound addsound Add sound to a video
vidtoolz-concat concat Concatenate videos using ffmpeg

To get help, just type vidtoolz or its shortcut vid to access the cli.

vidtoolz --help 

or

vid --help

This will show all the plugins installed.

usage: vid [-h]
           {plugins,install,trim,addtext,chapters,beats,greenscreen,shorts,repaudio,addsound,concat}
           ...

Video Tools for editing videos using python

positional arguments:
 plugins              Get all listed plugins
 install              Install plugins in the same environemnt as vidtoolz
 trim                 Trim video using ffmpeg
 addtext              Add text to a video file
 chapters             Write formated youtube chapters with text inputs
 beats                Get beats from a mp3 song
 greenscreen          Apply greenscreen video on top of a video
 shorts               Create shorts from long form videos
 repaudio             Replace audio for a video file
 addsound             Add sound to a video
 concat               Concat videos using ffmpeg 

optional arguments:
  -h, --help            show this help message and exit

To install a plugin, just type

vid install vidtoolz-trim

vidtoolz-help

Features

  • A simple and intuitive CLI interface
  • Extensive plugin support for customizing and extending the toolset
  • Integration with popular Python libraries and frameworks
  • Support for multiple Python versions (>=3.9)

Requirements

  • Python 3.9 or later
  • The pluggy library for plugin management

Installation

pip install vidtoolz

Developing your plugin


You'll need to have cookiecutter installed.

pipx install cookiecutter

Regular pip will work OK too.

Usage

Run cookiecutter gh:sukhbinder/vidtoolz-plugin and then answer the prompts. Here's an example run:

cookiecutter gh:sukhbinder/vidtoolz-plugin

This will show this. Fill this and the template is ready. Just add your code.

plugin_name []: vidtoolz plugin template demo
description []: Demonstrating https://github.com/sukhbinder/vidtoolz-plugin
hyphenated [vidtoolz-plugin-template-demo]:
underscored [vidtoolz_plugin_template_demo]:
github_username []: sukhbinder
author_name []: Sukhbinder Singh

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

vidtoolz-0.1.2.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

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

vidtoolz-0.1.2-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file vidtoolz-0.1.2.tar.gz.

File metadata

  • Download URL: vidtoolz-0.1.2.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for vidtoolz-0.1.2.tar.gz
Algorithm Hash digest
SHA256 8cc21979a0e55543e5f12aa2dae50be8db6cd3024ae746460fffb2fc54977ee6
MD5 c2bf64b0293f4f50bb71517621e94165
BLAKE2b-256 001ed39848d80c37cd030111e994a48fac6dfd25094364d7e28e88ba4ead3110

See more details on using hashes here.

Provenance

The following attestation bundles were made for vidtoolz-0.1.2.tar.gz:

Publisher: publish.yml on sukhbinder/vidtoolz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vidtoolz-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: vidtoolz-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for vidtoolz-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 18749df3c7cb996a6020535ffff5ef014b69f4165bae48581eec8b46b97d56de
MD5 057ae56035851c17ae6f3e6075ec87f6
BLAKE2b-256 177d6ed1f0b8ca00243b2cc56c5e0d2ef46213a00d74a4384703ec516c903bf5

See more details on using hashes here.

Provenance

The following attestation bundles were made for vidtoolz-0.1.2-py3-none-any.whl:

Publisher: publish.yml on sukhbinder/vidtoolz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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