Metadata-Version: 2.2
Name: vidtoolz-add-sound
Version: 0.0.1
Summary: Add sound to a video
Author: Sukhbinder Singh
License: Apache-2.0
Project-URL: Homepage, https://github.com/sukhbinder/vidtoolz-add-sound
Project-URL: Changelog, https://github.com/sukhbinder/vidtoolz-add-sound/releases
Project-URL: Issues, https://github.com/sukhbinder/vidtoolz-add-sound/issues
Project-URL: CI, https://github.com/sukhbinder/vidtoolz-add-sound/actions
Classifier: License :: OSI Approved :: Apache Software License
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: vidtoolz
Provides-Extra: test
Requires-Dist: pytest; extra == "test"

# vidtoolz-add-sound

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

Add sound to a video

## Installation

First install [vidtoolz](https://github.com/sukhbinder/vidtoolz).

```bash
pip install vidtoolz
```

Then install this plugin in the same environment as your vidtoolz application.

```bash
vidtoolz install vidtoolz-add-sound
```
## Usage

type ``vid addsound --help`` to get help

```bash
usage: vid addsound [-h] [-s START_TIME] [-o OUTPUT_PATH] video audio

Add sound to a video

positional arguments:
  video                 Video file to which sound has to be added.
  audio                 Sound file to add

optional arguments:
  -h, --help            show this help message and exit
  -s START_TIME, --start-time START_TIME
                        Time in seconds where audio has to be added
  -o OUTPUT_PATH, --output-path OUTPUT_PATH
                        Sound file to add
```



## Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:
```bash
cd vidtoolz-add-sound
python -m venv venv
source venv/bin/activate
```
Now install the dependencies and test dependencies:
```bash
pip install -e '.[test]'
```
To run the tests:
```bash
python -m pytest
```
