{"repo":"codonaft/sync-audio-tracks","free":true,"listed":false,"github":"https://github.com/codonaft/sync-audio-tracks","clone":"git clone https://github.com/codonaft/sync-audio-tracks.git","description":"Audio tracks synchronization command-line tool for video editors that don't support it","language":"C++","stars":78,"topics":["sound","video-editing","ffmpeg","sox","fftw","libsndfile","audio-analysis","cross-correlation","synchronization","command-line-tool"],"license":"Apache-2.0","category":"media-processing","readme_excerpt":"Sync Audio Tracks This code is based on Miles McCoo's cross-correlation implementation. It calculates a delay between two audios and produces a shifted audio. Known Limitations Paths with spaces and weird characters are unsupported . Supported Formats They depend on how SoX and FFmpeg were built for your OS (more details). If it didn't work with some format for you — try WAV as experiment. Installation Make sure these dependences are installed: - bash (tested with 4.4.23) - bc (tested with 1.06.95) - ffmpeg (tested with 4.1.3) - fftw (tested with 3.3.6 p2) - libsndfile (tested with 1.0.28) - python3 (tested with 3.6.10) - sox (tested with 14.4.2) On Debian some packages may need to be installed together with -dev packages (for instance fftw with fftw-dev ). Now compile it with Usage In this example - out.wav is a shifted version of good audio from recorder.wav - 900 is sound duration limit for analysis (in seconds) Different speed/framerate/framedrops are not supported This project is much simpler: it just computes and applies the shift (lossless, without re-encoding) without stretching/spreading parts of audio. However something like that might will help to implement it. Have a look at AudioAlign, it seems it supports these scenarios. Support I'm currently investing all my time in FOSS projects. If you found this repo useful and you want to support me, please - ⭐ it - check ⚡ here Your support keeps me going ❤️ (◕‿◕) License Apache 2.0 Copyright (C) 2018—2020 Alexander Lopat","default_branch":null,"files":null,"tree":[],"storefront":"/r/codonaft","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/codonaft/sync-audio-tracks/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}