musicfit
Fit a music track to a video and lay it under the video, such as a launch film, a product demo, an ad, a reel or a Remotion or HyperFrames composition. Makes the track exactly as long as the cut by cutting or looping whole bars, lands its drop on a chosen second, ends it with a fade that resolves on a beat, ducks it under a voice-over, sets its loudness, writes every beat and bar as frame numbers, and with the video given writes the video with the track under it. Use it whenever a track (from a music model, a library or the user) has to fit a video's length, has to go under a finished video, or the cuts should land on the beat.
Target: Design & content creation. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original English text
Topics in the source
- musicfit
- Fit a track
- Lay it under a video
- Use the result
- When it goes wrong
Music models ignore the length you ask for, and a track cut at the video's last frame stops mid-bar. musicfit edits the track the way a music editor would: it finds the beats and bar lines, cuts or loops whole bars where they sound alike, puts the drop where the video needs it and lets the music end on a beat. is this skill's folder. The script needs Node 22 or newer and ffmpeg 4.4 or newer on the machine; it installs nothing and needs no API key. A run takes a few seconds, and with a long --video a minute or more. A run needs memory, more the longer the fit and the track, and the longer a voice or the video's own sound, which are read to their end even where they run on past the fit: a 10 minute fit of a 10 minute track took 0.9 to 1 GB, 1.2 GB with --video, 1.4 to 1.5 GB with --voice and 1.7 GB with a voice and the video's own sound, and a 20 second fit took 0.8 GB with a voice that ran on 10 minutes past it. --length is the video's length: seconds (32), frames (960f, at --fps) or minutes (1:05). --hit is the second the drop should land on, for example the logo reveal. Leave it out and the track keeps its own ending; a short fit can then start later in the track, so its drop may
This is an excerpt. Refer to the complete source and its current requirements.
- Source repository
- EminBudak/musicfit
- Source file
- skills/musicfit/SKILL.md
- Fixed revision
- 79ae0166b794f0dea1dac6b6f44a556a78bd4059
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: EminBudak/musicfit · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-11T09:01:02.376Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.