$\mathrm{W}^{2}$: V ariable-Length V ideo-to- M usic Generation
- 12 March 2026
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Multimedia
- Vol. PP (15209210) , 1-12
Abstract
The composition of soundtracks for videos is a highly integrated process that synthesizes artistic creativity with technical expertise. It involves the precise synchronization of musical elements with the visual component to effectively enhance the artistic quality of the video. Herein, we aimed to generate harmonious and temporally aligned music based on video content, assisting artists in soundtrack composition. Existing approaches predominantly generate music based on human motion data from fixed-length videos, limiting their applicability. To overcome this limitation, we propose an autoregressive unit diffusion model, $\mathbf {W^{2}}$, for variable-length video-to-music generation. $\mathbf {W^{2}}$ segments videos and music into unified temporal units and employs a diffusion model to generate music units conditioned on structured video information and contextual music information. It then autoregressively generates coherent and consistent music sequences. This model employs structured video condition information, obtained through global encoding, to effectively generate music units that consistently align with the video content. At the same time, contextual music condition information is used to ensure the generation of a continuous sequence of music units matching the duration of the video. Unlike prior models relying on human skeletal features, $\mathbf {W^{2}}$ can be applied to not only dance videos but also free-style videos. Experimental results show that $\mathbf {W^{2}}$ generates music that is temporally synchronized and semantically aligned with visual content.Keywords
This publication has 35 references indexed in Scilit:
- MuMu-LLaMA: Multi-modal music understanding and generation via large language modelsExpert Systems with Applications, 2025
- Diff-BGM: A Diffusion Model for Video Background Music Generation2024
- Video2Music: Suitable music generation from videos using an Affective Multimodal Transformer modelExpert Systems with Applications, 2024
- EDGE: Editable Dance Generation From Music2023
- Quantized GAN for Complex Music Generation from Dance Videos2022
- High-Resolution Image Synthesis with Latent Diffusion Models2022
- Foley Music: Learning to Generate Music from Videos2020
- Realtime Multi-person 2D Pose Estimation Using Part Affinity Fields2017
- Deep Residual Learning for Image Recognition2016
- U-Net: Convolutional Networks for Biomedical Image Segmentation2015