Metadata-Version: 2.4
Name: vidtoolz
Version: 0.1.2
Summary: CLI tools for editing videos in python. A plugin based approach.
Home-page: https://github.com/sukhbinder/vidtoolz
Author: Sukhbinder Singh
Project-URL: Documentation, https://sukhbinder.wordpress.com
Project-URL: Issues, https://github.com/sukhbinder/vidtoolz/issues
Project-URL: CI, https://github.com/sukhbinder/vidtoolz/actions
Project-URL: Changelog, https://github.com/sukhbinder/vidtoolz/releases
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: End Users/Desktop
Classifier: Topic :: Database
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pluggy
Requires-Dist: moviepy
Requires-Dist: imageio-ffmpeg
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: project-url
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary


[![PyPI](https://img.shields.io/pypi/v/vidtoolz.svg)](https://pypi.org/project/vidtoolz/)
[![Changelog](https://img.shields.io/github/v/release/sukhbinder/vidtoolz?include_prereleases&label=changelog)](https://github.com/sukhbinder/vidtoolz/releases)
[![Tests](https://github.com/sukhbinder/vidtoolz/workflows/Test/badge.svg)](https://github.com/sukhbinder/vidtoolz/actions?query=workflow%3ATest)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/sukhbinder/vidtoolz/blob/main/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](https://pypi.org/search/?q=vidtoolz).



**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.

```bash
vidtoolz --help 
```

or

```bash
vid --help
```
This will show all the plugins installed.

```bash
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 

```bash
vid install vidtoolz-trim
```

![vidtoolz-help](https://raw.githubusercontent.com/sukhbinder/vidtoolz/refs/heads/main/vidtoolz.gif)

**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**
----------------

```bash
pip install vidtoolz
```

## Developing your plugin
------------------------

You'll need to have [cookiecutter](https://cookiecutter.readthedocs.io/) installed.

```bash
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:

```bash
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
```


