Skip to main content

Audio Video Sync Tool

Project description

AVST

Audio Video Sync Tool

Description

AVST is a tool that syncs two videos based on their audio.

Steps:

  1. Extract audio from both videos
  2. Sync the audio of both videos, using cross correlation
  3. Pad the audios and videos to the same length considering the delay
  4. Save the corresponding synced audios and videos, then mux them into a single video
  5. Save the synced videos stacked vertically for easier visualization

Dependencies

  • Python >=3.11
  • ffmpeg

Additional python packages are listed in the requirements.txt file.

Install

pip install avst

Install for dev

conda create -n avst python=3.11
conda activate avst
git clone https://github.com/fodorad/AVST
cd AVST
pip install -e .

Usage

avst --video1 path/to/video1.mp4 --video2 path/to/video2.mp4

Expected outputs

Video Name Description
synced_video1.mp4 Video 1 synced to Video 2
synced_video2.mp4 Video 2 synced to Video 1
synced_session.mp4 synced_video1.mp4 and synced_video2.mp4 stacked vertically for easier visualization

Contact

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

avst-1.0.0.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

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

avst-1.0.0-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file avst-1.0.0.tar.gz.

File metadata

  • Download URL: avst-1.0.0.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for avst-1.0.0.tar.gz
Algorithm Hash digest
SHA256 32b2bf91827ac66db8ee9e30d41363b7e2a36870a2200bf5e6a74f5a9aa8edc7
MD5 d63fc407ddad29336caac6e71bb2ead8
BLAKE2b-256 8a762e50b8c3c650f04a39ade518e5b3d71db74760f2f6f574c4195b06014779

See more details on using hashes here.

File details

Details for the file avst-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: avst-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for avst-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 34aad5444661246584e211d54ec69ad85b519166a56ac0cf162c7099d35a5962
MD5 5388f72b365f570f913d7a215771f3ca
BLAKE2b-256 9cfc50a3ceb141155c8e2e16dee4ad812bbab7d6c5a86a53709a1ffaf0b03ddd

See more details on using hashes here.

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