arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.11913cs.CV
收藏

Diff-BGM:一种用于视频背景音乐生成的扩散模型

Diff-BGM: A Diffusion Model for Video Background Music Generation

Wangxuan Institute of Computer Technology, Peking University(北京大学王选计算机研究所);Beijing Electronic Science and Technology Institute(北京电子科技学院);Beijing Institute for General Artificial Intelligence(北京通用人工智能研究院)

Sizhe Li, Yiming Qin, Minghang Zheng, Xin Jin, Yang Liu

AI总结:

针对视频背景音乐生成中的数据、控制与音画对齐难题,本文构建 BGM909 数据集与评价指标,并提出利用动态和语义特征及片段感知交叉注意力的 Diff-BGM 扩散框架。

摘要:

在剪辑视频时,一段有吸引力的背景音乐是不可或缺的。然而,视频背景音乐生成任务面临若干挑战,例如缺乏合适的训练数据集,以及难以灵活控制音乐生成过程并按顺序对齐视频与音乐。在本工作中,我们首先提出了一个高质量音乐-视频数据集 BGM909,该数据集具有详细标注和镜头检测,可提供关于视频和音乐的多模态信息。随后,我们提出了用于评估音乐质量的评价指标,包括音乐多样性以及采用检索精确率指标衡量的音乐与视频之间的对齐程度。最后,我们提出了 Diff-BGM 框架,用于为给定视频自动生成背景音乐;该框架在生成过程中使用不同信号控制音乐的不同方面,即使用动态视频特征控制音乐节奏,并使用语义特征控制旋律和氛围。我们通过引入片段感知交叉注意力层,提出按顺序对齐视频和音乐。实验验证了我们所提方法的有效性。代码和模型可在 https://github.com/sizhelee/Diff-BGM 获取。

英文摘要:

When editing a video, a piece of attractive background music is indispensable. However, video background music generation tasks face several challenges, for example, the lack of suitable training datasets, and the difficulties in flexibly controlling the music generation process and sequentially aligning the video and music. In this work, we first propose a high-quality music-video dataset BGM909 with detailed annotation and shot detection to provide multi-modal information about the video and music. We then present evaluation metrics to assess music quality, including music diversity and alignment between music and video with retrieval precision metrics. Finally, we propose the Diff-BGM framework to automatically generate the background music for a given video, which uses different signals to control different aspects of the music during the generation process, i.e., uses dynamic video features to control music rhythm and semantic features to control the melody and atmosphere. We propose to align the video and music sequentially by introducing a segment-aware cross-attention layer. Experiments verify the effectiveness of our proposed method. The code and models are available at https://github.com/sizhelee/Diff-BGM.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑