Skip to content

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

License

Notifications You must be signed in to change notification settings

sukhbinder/vidtoolz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 Description
h2r Tools for Hum Hai Rahi channel
trim Trim video using ffmpeg
addtext Add text to a video file
fadeinout Apply fade-in fade-out effects on videos
chapters Write formatted YouTube chapters with text inputs
echo Apply noise reduction and echo effect
beats Get beats from an MP3 song
greenscreen Apply greenscreen video on top of a video
shorts Create shorts from long-form videos
intro Create intro video from a series of videos
repaudio Replace audio for a video file
vignette Apply vignette on video
volume Increase or decrease volume
addsound Add sound to a video
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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages