Audio Sync & Merge — add audio tracks from a secondary video file into a primary video file, automatically syncing them to match timing.
Useful when you have two recordings of the same content (e.g., different camera angles, different language dubs, PAL vs NTSC releases) and want to combine the audio tracks into a single file. AudioSync detects the timing difference between the two recordings using audio fingerprinting, then merges the selected audio tracks with the correct offset and speed adjustment.
AudioSync uses a multi-stage alignment pipeline:
t1 = a * t2 + b using RANSAC to find the speed ratio and offset.
docker run -p 5000:5000 -v /path/to/videos:/videos dockdv/audiosync:latest
Then open http://localhost:5000.
services:
audiosync:
image: dockdv/audiosync:latest
ports:
- 5000:5000
volumes:
- /path/to/videos:/videos
# - /usr/local/bin/ffmpeg:/usr/local/bin/ffmpeg:ro
# - /usr/local/bin/ffprobe:/usr/local/bin/ffprobe:ro
environment:
# - FFMPEG_PATH=/usr/local/bin/ffmpeg
# - FFPROBE_PATH=/usr/local/bin/ffprobe
restart: unless-stopped
| Variable | Description |
|---|---|
FFMPEG_PATH | Custom path to ffmpeg binary |
FFPROBE_PATH | Custom path to ffprobe binary |
MKVMERGE_PATH | Custom path to mkvmerge binary |
https://github.com/dockdv/AudioSync
Content type
Image
Digest
sha256:51392c538…
Size
252.2 MB
Last updated
5 months ago
docker pull dockdv/audiosync