Beat Sync Video Montage
Operator: Abdulla Al Fahad. How tools are built and checked
A montage feels right when the picture changes on the beat, and wrong when it is a few frames off. Placing every cut by hand against a waveform is the slow part. Here the page measures the song's tempo, finds where the beats fall, and cuts your clips and photos on them: on every beat for a fast edit, or every 4 or 8 beats for one that breathes.
Photos get a slow zoom or pan, videos continue from where their last use stopped, and the cuts can be played back as clicks over the song before anything is recorded.
Key features
- Beat detection for a song up to 6 minutes, with a start point, a length of 5 to 120 seconds and a nudge of up to 120 ms either way
- Cuts on every 1, 2, 4 or 8 beats, in the order the clips are listed or shuffled with a seed, with no clip repeated back to back
- Up to 24 clips: videos up to 500 MB and photos up to 30 MB, with Ken Burns zoom in, zoom out, pan or a mix at 5 to 40% strength
- Output shapes of 16:9, 9:16, 1:1 and 4:5 at 540, 720 or 1080 pixels on the short side, recorded as MP4 where the browser can, otherwise WebM
How beats become cuts
The beat grid is a constant tempo. The tempo comes from the same estimator as the BPM Detector (50 to 220 BPM), and the phase is the position inside one beat where the song's onset strength is greatest, averaged over the whole track. The onset envelope peaks about 30 ms before a sharp attack, so the grid is moved that much later, and the beat nudge is there for anything the average misses.
A song with a steady drum machine or a click-quantised DAW export fits one grid well. A live recording whose tempo drifts, or a track with a tempo change, will slip off the grid after a while, which shows as cuts that wander away from the ticks in Hear the cuts. Unlike the Photo Slideshow Maker or Merge Videos here, which place clips back to back at fixed lengths, the lengths here come from the song's beats and the song is the soundtrack.
How it works
Cuts fall on the first beat after the start and then every N beats from it. A cut that would leave a segment shorter than 0.35 seconds is skipped, and the count of skipped cuts is shown. Clips are assigned in list order, or from a shuffled deck: every clip is used once before any repeats, and a new deck never starts with the clip that just played.
A video clip's in-point is where its previous use stopped, wrapping to the start when it runs out, so a long clip used five times shows five different stretches. A clip shorter than its segment holds its last frame. Photos are cropped to the output shape and zoomed over the length of their segment.
Common use cases
- A wedding recap: 20 clips and 4 photos cut on every 8 beats of a slow song for 90 seconds, in the order they happened.
- A 30-second Reel from a trip: nine videos and photos on a 9:16 canvas, a cut every 2 beats at 120 BPM (one second apart), shuffled with seed 3.
- A product teaser with photos only: motion set to Zoom in at 20%, a cut every 4 beats.
- A sports highlight at 140 BPM cut on every beat, where 0.43 s segments keep every clip to a single moment.
How to use this tool
- Choose the song and wait for the tempo and first beat to appear.
- Add videos and photos, put them in order with Up and Down, and remove any you do not want.
- Pick the start point, length, how often to cut and, if you like, Shuffle.
- Drag the preview slider, then press Hear the cuts to listen to the ticks against the song.
- Choose the shape, size, photo motion and quality, and press Render montage; it records in real time, so keep the tab visible.
Example
A song at 128 BPM whose first beat is at 0.42 s, with five clips, cut every 4 beats for 30 seconds
In order, no shuffle; three videos (12 s, 8 s and 20 s) and two photosThe cut plan
A beat lasts 0.469 s, so 4 beats last 1.875 s. Cuts fall at 0.42, 2.29, 4.17, 6.04, 7.92 s and on, giving 17 segments (the first is 0.42 s, the last 1.46 s, the rest 1.875 s).
The first video is used in segments 1 and 6, and its second use starts 0.42 s into the clip, where the first use ended.
Cutting on every beat instead gives 64 segments of 0.469 s.Tips for best results
- Cut every 4 beats at the start of a song, then switch to every 2 or 1 for the chorus by making a second montage of the chorus with the start point set to it and joining the two in a video editor.
- The zoom is spread over the whole segment, so on a segment under a second it barely moves; set the motion to None there and keep it for the longer cuts.
- Press Reshuffle until the first clip is one you want to open on; the same seed always gives the same order.
Common pitfalls
Rendering is a real-time recording of a canvas, so a 60-second montage takes at least 60 seconds, and a hidden tab pauses the recording.
A photo of more than 50 megapixels is turned away from the size in its header, before the browser spends memory decoding it; resize it first.
Common errors and how to fix them
- No steady tempo was found in this track
- The song has no clear pulse for the estimator, such as ambient music or a freely played piano piece. Choose a track with a beat.
- A video is 600 MB; videos up to 500 MB are accepted
- Trim or compress it first, or pick a shorter clip from it.
- The browser could not open this video
- Its codec is not supported by this browser. An MP4 (H.264) or WebM copy usually plays.
Best practices
- Order clips so the strongest opens the montage: with every-4-beat cuts the first segment is the first clip.
- Check the preview slider at three or four times before rendering; a clip with a long fade in its first seconds looks black on a short cut.
Frequently asked questions
Why is the first segment shorter than the others?
Cuts fall on the first beat after the start point and then every N beats from it, so the stretch before that first beat becomes a short opening segment: 0.42 s in the 128 BPM example, against 1.875 s for the rest.
Will the cuts stay on the beat for a live-played song?
Only while its tempo stays steady. The grid has one tempo, so a drummer who speeds up through a song will drift away from the cuts; Hear the cuts shows this before you render.