Skip to main content

Replace audio for a video file

Project description

vidtoolz-replace-audio

PyPI Changelog Tests License

Replace audio for a video file

vidtoolz-replace-audio demo

Installation

First install vidtoolz.

pip install vidtoolz

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

vidtoolz install vidtoolz-replace-audio

Usage

type vidtoolz-replace-audio --help to get help

usage: vid repaudio [-h] [-o OUTPUT] [-v VOLUME] [-s STARTAT] video audio

Replace audio for a video file

positional arguments:
  video                 Path to the input video file
  audio                 Path to the audio file

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        Path to save the output video. Default None
  -v VOLUME, --volume VOLUME
                        Percentage to lower the original audio (0-100),
                        Default 30
  -s STARTAT, --startat STARTAT
                        Load audio at this time in seconds. Default 0

Development

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

cd vidtoolz-replace-audio
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_replace_audio-0.0.2.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

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

vidtoolz_replace_audio-0.0.2-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file vidtoolz_replace_audio-0.0.2.tar.gz.

File metadata

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

File hashes

Hashes for vidtoolz_replace_audio-0.0.2.tar.gz
Algorithm Hash digest
SHA256 72aee7a001a4af763e3cfbf3968a5e222b5b7212b320fa43ddc832aceaf6de96
MD5 ca4ac42a8c721895878e006eb408de72
BLAKE2b-256 e388a8c9edbfc72fc640401ffc23f57a5b740628e051c87ea9d4265b3f91968d

See more details on using hashes here.

Provenance

The following attestation bundles were made for vidtoolz_replace_audio-0.0.2.tar.gz:

Publisher: publish.yml on sukhbinder/vidtoolz-replace-audio

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_replace_audio-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for vidtoolz_replace_audio-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2508a21c6b6d1867a94701b703e3be60a8d5cb79cc28a9b5e12284824d8f7798
MD5 e398dc1960f08e9369aaca13e5cdad3f
BLAKE2b-256 a8800985f0162a1488473838b5ba16c86777da3b0b84390d488714dc9d2251cf

See more details on using hashes here.

Provenance

The following attestation bundles were made for vidtoolz_replace_audio-0.0.2-py3-none-any.whl:

Publisher: publish.yml on sukhbinder/vidtoolz-replace-audio

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