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:
- Extract audio from both videos
- Sync the audio of both videos, using cross correlation
- Pad the audios and videos to the same length considering the delay
- Save the corresponding synced audios and videos, then mux them into a single video
- 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
- Ádám Fodor (fodorad201@gmail.com) [website]
Project details
Release history Release notifications | RSS feed
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.1.0.tar.gz
(12.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
avst-1.1.0-py3-none-any.whl
(12.4 kB
view details)
File details
Details for the file avst-1.1.0.tar.gz.
File metadata
- Download URL: avst-1.1.0.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
136e0464c0f3c9d3c725bad91c96a3c2f18706d2e72140e206e1e3c19f577f7b
|
|
| MD5 |
7953dc4ece81682c51faca1a051c410f
|
|
| BLAKE2b-256 |
e9afa07a4c3beb076d3c921ef7ff700caa48d95015da2c4bb8cd9a3c6401acd3
|
File details
Details for the file avst-1.1.0-py3-none-any.whl.
File metadata
- Download URL: avst-1.1.0-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
651726847fd309105267cf89d3976f5afd5181324959c1168c7fe3e10feedf61
|
|
| MD5 |
68842b5728228bdd5ef563ae5dd9213c
|
|
| BLAKE2b-256 |
13e1c660c905f0d97e2b5a1c4d1147de6657c2753a341e33733940846b349d09
|