https://github.com/red5d/avsync
A tool for helping find audio/video offsets for synchronization.
https://github.com/red5d/avsync
Last synced: 12 months ago
JSON representation
A tool for helping find audio/video offsets for synchronization.
- Host: GitHub
- URL: https://github.com/red5d/avsync
- Owner: Red5d
- Created: 2020-11-12T04:50:10.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-11-12T05:01:34.000Z (over 5 years ago)
- Last Synced: 2025-03-02T18:33:57.290Z (over 1 year ago)
- Language: Python
- Size: 1000 Bytes
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# avsync
A tool for helping find audio/video offsets for synchronization.
This was built for use in synchronizing the audio and video in a livestreaming setup.
## Usage
Use a test video with visual cues and timings like the one mentioned here (not this actual YouTube video): https://www.youtube.com/watch?v=LXY69tuBfV4
Play the video (with audio) on your phone/laptop/whatever and record the audio and video of it through your livestreaming setup.
Process the recorded video with this tool:
./sync_frames.sh "RecordedTestVideo.mp4"
It will find the 10 highest audio amplitude "peaks" and output the image from the video from the time that each peak occurs in the video. You can then look at the resulting images to determine the correct audio/video offset to use.
## Dependencies
* python3
* pydub python module
* ffmpeg