Today, I merged a truly amazing feature that Benjamin M. Schwartz has been working on in the past few weeks in PiTiVi: alignment of clips based on waveform analysis. From commit aa68410…’s description:
The auto-aligner shifts clips into the timeline so that their contents are synchronized. It works by analyzing the audio track’s volume as it changes over time, under the assumption that when there are multiple recordings of a single event, they will be loud, or quiet, at the same time.
I wish I had that, back when I edited my LGM talk a few months ago. Let’s say you have a bunch of video footage and sound recordings of the same event, like this:
What you do is:
- Put the “clip that starts first” at the top of the timeline*
- Select the relevant clips
- Press the “Align” button
- Wait while our highly accurate shark-mounted lasers position your clips
So you go from this:
…with the click of a button. Very handy for multicam shots, conference recordings and multi-mic setups. Next up on the list: making it faster.
Please test this feature and see how it works out for you! In the testing I’ve done so far, it has been pretty accurate with all sorts of media files. If you can find cases where it isn’t able to sync up your audio correctly, please provide some sample files for us to play with.
Update: Benjamin wrote a nice post about his work on this feature (for the more technically-inclined among you) and his experience with the PiTiVi community. Technical discussions should probably happen as comments on his blog post.
*: Currently, the autoalign feature always considers the first selected clip at the top to be the “primary” clip; this means that if you’re flush at the beginning of the timeline and your topmost clip is not the one that starts the earliest, it won’t work properly. Patches or suggestions to make this more intuitive and fool-proof are welcome.
Latest posts by Jeff (see all)
- Painting two old friends—Tintin vs Sephiroth - June 11, 2017
- Defence against the Dark Arts involves controlling your hardware - March 18, 2017
- Reviewing the Librem 15 - January 10, 2017