Skip to main content

Add sound to a video

Project description

vidtoolz-add-sound

PyPI Changelog Tests License

Add sound to a video

Installation

First install vidtoolz.

pip install vidtoolz

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

vidtoolz install vidtoolz-add-sound

Usage

type vid addsound --help to get help

usage: vid addsound [-h] [-s START_TIME] [-o OUTPUT] [-v VOLUME] [--no-loop]
                    video audio

Add sound to a video

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

options:
  -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, --output OUTPUT
                        Sound file to add
  -v VOLUME, --volume VOLUME
                        Percentage to lower the original audio (0-100),
                        Default 30
  --no-loop             If set, the sound will not be looped to match video
                        duration.

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd vidtoolz-add-sound
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

python -m pytest

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_add_sound-0.0.3.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

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

vidtoolz_add_sound-0.0.3-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file vidtoolz_add_sound-0.0.3.tar.gz.

File metadata

  • Download URL: vidtoolz_add_sound-0.0.3.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for vidtoolz_add_sound-0.0.3.tar.gz
Algorithm Hash digest
SHA256 b20e872c332f1f6b1f6c6cba94848527b95ce587a5cc452452d49bc3826a1d5a
MD5 7547022c0408543225b890a380ada149
BLAKE2b-256 2e0bbdbabe9f264842ccbe87afcb3a997a4428e96776b3104a1d5093b3e7aa6b

See more details on using hashes here.

Provenance

The following attestation bundles were made for vidtoolz_add_sound-0.0.3.tar.gz:

Publisher: publish.yml on sukhbinder/vidtoolz-add-sound

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_add_sound-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for vidtoolz_add_sound-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bd5161b3f8d958a5b72d5fcfdebd0911eb400768f5575d7e89b2b7a4f2b99250
MD5 d95a8a5e7415b59f1111c6d168938fd0
BLAKE2b-256 f0d1a2dd67f050f8b2d2c089c41d64e6a94bd292adc6b160225ac48aaa5341be

See more details on using hashes here.

Provenance

The following attestation bundles were made for vidtoolz_add_sound-0.0.3-py3-none-any.whl:

Publisher: publish.yml on sukhbinder/vidtoolz-add-sound

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