Video Loop to Music Length Fitter

Make any short clip last exactly as long as a music track, with every loop point landing on a beat, and do it for a whole folder of clips at once.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Add the music

    Choose the song; the tempo and beats are detected automatically.

  2. 2
    Add clips

    Add one or more video clips and trim their in and out points if needed.

  3. 3
    Choose the method

    Pick loop, ping-pong, stretch or montage and keep cut on the beat on.

  4. 4
    Polish

    Set the seam blend and the fade-out, and check the preview with the music.

  5. 5
    Choose the frame

    Pick 16:9, 9:16, square or the first clip's size.

  6. 6
    Export

    Export the selected clip or montage, or batch every clip into its own MP4.

About this tool

Lyric videos, music uploads, visualizers, shop displays and social posts often need a short background clip, such as rain on a window or a drone shot, to run for the whole length of a song. Looping it by hand in an editor means copying the clip again and again, trimming the last copy and hoping the jumps do not land in awkward places. This fitter does it exactly. Load the music and one or more clips, choose how to fill the time, and every result is precisely as long as the track. The tool also finds the beat: it measures the tempo from the rhythm of note onsets and lines a beat grid up with the strongest hits, so loop points and cuts fall on beats instead of between them. Seams can be blended with a short dissolve and the end can fade to black together with the music. With several clips you can either cut a montage that cycles through them on the beat, or export every clip as its own fitted video in one batch, which is handy for a set of channel backgrounds or display loops.

Four ways to fill the music

Loop repeats the clip from the start. With cut on the beat on, each repetition is trimmed to a whole number of beats, so every jump lands on a beat. Ping-pong plays the clip forward and then backward, which hides the jump completely for slow, symmetrical motion such as clouds or water. Stretch changes the playback speed so a single pass fills the music, within the slowest and fastest speed you allow; beyond those limits it loops at the limit speed. Montage cycles through all clips, giving each one the number of beats you choose.

Beat detection

The music is converted to a spectrogram and the onset strength is measured in every frame. The tempo with the strongest periodic pattern is chosen, between 70 and 180 BPM, and the grid is shifted to the position where beats fall on strong onsets. If the detected tempo is half or double what you hear, type the right BPM, and nudge the grid if the cuts feel early or late.

Batch

Batch exports one MP4 per clip, each exactly the length of the music, with loop or ping-pong according to your choice. Clips are scaled to fill the chosen frame, and the music replaces the clips' own sound.

Limits

Tempo detection assumes a steady beat; songs with tempo changes, rubato or no drums are better cut with cut on the beat turned off. Speed changes do not blend frames, so slow motion below about half speed looks choppy. This is not a full editor: there are no titles or colour controls.

Worked example

A 3.2-second rain clip is fitted to a 2:30 song at 120 BPM, a beat every 0.5 s. With loop and cut on the beat, each pass is trimmed to 3.0 s (6 beats), so the video has 50 passes and every seam lands on a beat. In montage mode with 4 beats per shot and two clips of 5 s, each shot lasts 2 s and the clips alternate 75 times.

Quick facts

Frequently asked questions

Will the video be exactly as long as the song?

Yes. The plan always fills the music to the last frame, and the final piece is trimmed if needed.

What if the tempo is wrong?

Type the correct BPM in the tempo field and use the beat grid nudge until the orange beat marks sit on the drum hits.

Which method hides the loop best?

Ping-pong for slow, even motion such as clouds, smoke or water; blending the seams helps with loop for most other clips.

Can I use only part of a song?

Yes. Set where the music starts and turn on Use only part of the track to choose the length.

Are my files uploaded?

No. Music and clips are read in your browser and the videos are encoded on your device.

How many clips can I batch?

As many as your device's memory allows; each file is rendered and downloaded in turn.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages