Method and system for automatically generating video content under driving of susceptible music signal
The automatic generation method of video content driven by susceptible music signals solves the problems of insufficient video content diversity, quality, and lack of synchronization in the existing technology, realizes automated music video generation, and ensures the synchronization and high quality of video and music. output.
Patent Information
- Application Number
- CN202410973095.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2024-10-22
AI Technical Summary
In existing music video generation methods, the diversity of video content is limited, video quality is difficult to guarantee, audio and video synchronization functions are lacking, and users need to manually write scripts and edit videos, which increases complexity and workload.
The automatic generation method of video content driven by susceptible music signals is used to achieve automated music video generation through music signal preprocessing, theme and music clip generation scripts, video clip generation and rhythm synchronization. Specific steps include music signal segmentation, music description generation, video script generation, application of text-to-image and image-to-video models, as well as dynamic beat matching and time warping to ensure synchronization of video and music.
It realizes automatic music video generation, improves the diversity and coherence of video content, ensures the synchronization of audio and video, reduces user operation complexity and time cost, and generates music videos with high quality and narrative.
Smart Images

Figure CN118828090A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of music video processing, and in particular relates to a method and system for automatically generating video content driven by susceptible music signals. Background Art
[0002] Existing music video generation methods can be divided into two categories according to the video source, namely retrieval-based and generative methods. Retrieval-based methods use features such as lyrics, music emotions, and video colors to retrieve feature-matching videos / music from existing video sources / music sources. For example, Wuqin Liu et al. [1] proposed a framework for music-driven generative film montage, which uses contrastive learning to align and estimate the emotional similarity between music clips and movie shots in a multimodal latent space to match the input music with the movie shot with the highest emotional similarity; Sarah Gross et al. [2] retrieved music videos of the same category from a video database based on the genre of the input music, and applied the K-Means algorithm to cluster the color histogram features of the video, then randomly selected several clustering categories and synthesized them with the input music into a music video. Generative methods use large model technology to generate video content based on input lyrics, music, or text prompts. For example, GenerativeDisco[3] introduced the Stable Diffusion Videos model and GPT-4 to generate stylized music videos based on user input prompts and music; Music2Video[4] used the Wav2CLIP model and the CLIP model to encode music and lyrics into latent representations to guide the VQ-GAN model to generate videos.
[0003] [1] Wu-Qin Liu, Min-Xuan Lin, Hai-Bin Huang, Chong-Yang Ma, Yu Song, Wei-Ming Dong, and Chang-Sheng Xu. 2023. Emotion-Aware Music Driven Movie Montage. 38, 3 (may 2023), 540–553. https: / / doi.org / 10.1007 / s11390-023-3064-6
[0004] [2]Sarah Gross,Xingxing Wei,and Jun Zhu.2019.Automatic RealisticMusic Video Generation from Segments of Youtube Videos.ArXiv abs / 1905.12245(2019).https: / / api.semanticscholar.org / CorpusID:168170034
[0005] [3]Vivian Liu,Tao Long,Nathan Raw,and Lydia B.Chilton.2023.GenerativeDisco:Text-to-Video Generation for Music Visualization.ArXiv abs / 2304.08551(2023).https: / / api.semanticscholar.org / CorpusID:258187320
[0006] [4]Joel Jang, Sumin Shin, and Yoonjeon Kim. 2022. Music2Video: Automatic Generation of Music Video with fusion of audio and text. ArXiv abs / 2201.03809(2022). https: / / api.semanticscholar.org / CorpusID:245853828.
[0007] Retrieval-based methods obtain video clips from a predefined limited repository, so the content diversity of music videos is highly limited. Although generative methods can generate videos of arbitrary content, their video animations have low coherence and difficult to guarantee visual quality. In addition, they usually rarely provide the function of automatic synchronization of music and video, which is crucial for the generation of music videos. Manual audio and video editing will take up a lot of users' time. On the other hand, retrieval-based methods only focus on feature matching and ignore the coherence and narrative of the content. Although generative methods can control the generated video content through user-entered prompts, the task of writing music video scripts and breaking them down into prompts still needs to be completed by users. These shortcomings have set a capability threshold for the generation of music videos and increased the workload and complexity of users. Summary of the invention
[0008] The technical problem to be solved by the present invention is to provide a method and system for automatically generating video content driven by a susceptible music signal, which solves the problems in the prior art that the diversity of video content is limited, the video quality is difficult to guarantee, there is a lack of audio and video synchronization, and the narrative of the video content is ignored.
[0009] The present invention adopts the following technical solutions to solve the above technical problems:
[0010] The automatic generation method of video content driven by susceptible music signals first pre-processes the music signal and divides it into several music clips; secondly, a music video script incorporating music semantics is generated from the theme and the music clips; then, a video clip is generated for each scene in the music video script; finally, the rhythm of these video clips and music clips are synchronized and they are synthesized into a music video.
[0011] The specific process of preprocessing the music signal is as follows:
[0012] According to the rule of "cutting by rhythm", the music is segmented according to its beat, and each music clip will correspond to a video scene; the target duration of the segmented music clip is initially set, and the local maximum value in the starting intensity of the beat is identified as the segmentation point, and segmentation is performed iteratively until the average duration of the music clip approaches the target duration of the segmented music clip;
[0013] The music description model is applied to generate corresponding descriptions for each music clip. Each description includes the genre, instrument, vocal, emotion, rhythm, culture and timbre characteristics of the corresponding music clip, providing contextual semantic information about the music.
[0014] The generation of music video scripts includes the following steps:
[0015] Step a: Input the description of the theme and music clip into a large language model;
[0016] Step b: Expand the topic T input by the user into a script containing multiple scene prompts, which is expressed by the following formula:
[0017]
[0018] Among them, I (1) Represents the script generation instructions input into LLM, Contains N scene cues in the script, where N is the number of music clips;
[0019] Step c: rewrite the script by adding music description to obtain a script that matches the music semantics, which is expressed by the following formula:
[0020]
[0021] Among them, I (2) is the rewrite instruction input to LLM, M n The music description corresponding to the nth music segment;
[0022] Step d: Generate five style keywords for the script to unify the style of the music video. The generation process is represented by the following formula:
[0023]
[0024] The style keywords are spliced after each scene prompt in the rewritten script to obtain the final generated music video script, which is specifically expressed as follows:
[0025]
[0026] in, is the prompt for rewriting the nth representative scene in the script, 1≤n≤N, N is the number of music clips, and K is the set of five style keywords.
[0027] The video generation first uses a text-to-image model to convert scene prompts in the script into images; then, an image-to-video model is used to generate video clips from these images.
[0028] Synchronizing the rhythm of the video clip with the music clip and synthesizing them into a music video includes the following steps:
[0029] Step 1: Visual rhythm extraction: extract visual rhythm features by capturing sudden and obvious deceleration, obtain visual impact envelope, and extract visual beats based on the visual impact envelope;
[0030] Step 2: Dynamic beat matching: align the visual beat sequence and the music beat sequence through a dynamic programming algorithm, establish a one-to-one pairing between the visual beat and the music beat, obtain the matching beat pair based on the best path found, and derive the target time of the visual beat frame from it;
[0031] Step 3: Time regularization: after determining the target time of the visual beat frame, calculate the target time of the remaining video frames to achieve time regularization of all video frames in the original video.
[0032] Step 4: interpolation. After the original video frames are regularized to the target time, the interpolation model is used to generate intermediate frames to fill the unfilled frame gaps in the synchronized video and increase the frame rate.
[0033] Step 5: When all music clips and video clips are synchronized, all synchronized videos are spliced together to finally generate a multi-scene music video.
[0034] The specific process of step 3 is as follows:
[0035] Step 3.1: Use linear interpolation to estimate the visual envelope at time t between the i-th frame and the j-th frame.
[0036]
[0037] Step 3.2: Replace the original time with the target time to estimate the visual envelope at time t in the regularized video
[0038]
[0039] Step 3.3: Given the kth frame between two adjacent beat frames, v′ p ≤k≤v′ p+1 , defines the envelope pulse I between adjacent frames k :
[0040]
[0041] Step 3.4: Set the following objective function to achieve smooth transition between beat frames:
[0042]
[0043] Where Var represents the variance. For any k, if I k =I k+1 , the objective function reaches the minimum value; u v (·) is the average envelope of the visual beat, and G(·) is the time warping function, which represents the target time of the video frame in the synchronized video.
[0044] The G(t k ) By solving the following linear system, we can calculate the target time of the intermediate frame and achieve the time regularization of all video frames in the original video.
[0045] G(t k )=G(t k+1 )α k +G(t k+2 )β k , k = v′ p ,v′ p +1,...,v′ p+1 -2,
[0046]
[0047] The video content automatic generation system driven by susceptible music signals includes a preprocessing module, a script generation module, a video generation module, and a synchronization module; wherein the preprocessing module divides the input music and theme into multiple music clips according to the rhythm, and generates a corresponding music description for each music clip;
[0048] The script generation module takes the theme and music description as input and generates a narrative script that is consistent with the music semantics;
[0049] The video generation module takes the script as input, first generates static images, and then generates video clips corresponding to each music clip based on the images;
[0050] The synchronization module uses an audio and video synchronization algorithm to match the rhythm of each video with the corresponding music clip, generating a music video clip with a coordinated picture rhythm and music rhythm; finally, all the clips are spliced together to generate a complete music video.
[0051] Compared with the prior art, the present invention has the following beneficial effects:
[0052] 1. The goal of this application MV-Crafter is to implement a system that can automatically complete the three main steps of music video generation: generation of music video scripts, video generation, and synchronization of music and video.
[0053] 2. The system is a simple interactive system that allows users to control the script content and video scene content in the generation process through text input and key operations, thereby ensuring the controllability of the generation process.
[0054] 3. It can generate a video script that matches the sensitive music signal and has a narrative, solving the difficulty of users writing scripts; and generate video clips with diverse content and coherent pictures through a large video generation model. In addition, the system also uses an audio and video synchronization algorithm to automatically synchronize the rhythm of music and video, solving the skill threshold and time issues required for audio and video editing. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 This is a flow chart of the MV-Crafter method of the present invention.
[0056] Figure 2 Generate an example graph for the inventive script.
[0057] Figure 3 It is a schematic diagram of dynamic music video synchronization of the present invention.
[0058] Figure 4 It is a schematic diagram for visualizing the dynamic music video synchronization result of the present invention.
[0059] Figure 5 It is a qualitative comparison diagram of the dynamic music video synchronization of the present invention.
[0060] Figure 6It is a schematic diagram of the scoring of the music video of the present invention in terms of rhythm synchronization, video theme relevance, video music relevance, video narrative, and overall quality.
[0061] Figure 7 Schematic diagram of the ablation study results of the script generation module of the present invention.
[0062] Figure 8 It is a schematic diagram of the display interface of the system of the present invention. DETAILED DESCRIPTION
[0063] The structure and working process of the present invention will be further described below in conjunction with the accompanying drawings.
[0064] This solution proposes MV-Crafter, which is a method and system for automatically generating video content driven by susceptible music signals. It can automatically generate rhythmically synchronized and semantically matched music videos based on susceptible music signals and themes preferred by users. It integrates an interactive interface that allows users to control the generation process through clicks and text interactions, as well as a pipeline for automatically generating music videos. This pipeline takes the music and text themes that users are susceptible to as input, gradually generates video scripts and video clips, and synchronizes the generated video with the input music to finally generate a complete music video.
[0065] The automatic generation method of video content driven by susceptible music signals first pre-processes the music signal and divides it into several music clips; secondly, a music video script incorporating music semantics is generated from the theme and the music clips; then, a video clip is generated for each scene in the music video script; finally, the rhythm of these video clips and music clips are synchronized and they are synthesized into a music video.
[0066] Specific embodiments, such as Figures 1 to 8 As shown,
[0067] The method for automatically generating video content driven by susceptible music signals comprises the following steps:
[0068] The first step is preprocessing;
[0069] Music videos are usually long videos with multiple scenes. According to the "cut by beat" rule, they are segmented according to the beat of the music, and each music clip corresponds to a video scene.
[0070] Music videos are usually long videos with multiple scenes, where each music clip corresponds to a video scene. In order to condition the music clips to generate video scenes, we first segment the uploaded music according to the music rhythm, and iteratively identify the local maximum of the rhythm intensity as the segmentation point until the average duration of the music clip is close to the bar duration Δbar = 4Δbeat = 4*60 / bpm. This segmentation method meets two criteria: 1. According to the "cut by rhythm" rule, the segmentation point should coincide with the strong rhythm. 2. The duration of the video scene is usually associated with the bar duration.
[0071] We then applied the Transformer-based music description model LP-MusicCaps to generate a music description for each music clip. Each description includes the genre, instrument, vocal, emotion, rhythm, culture, and timbre characteristics of the corresponding music clip, providing contextual semantics about the music.
[0072] Step 2: Generate music video script;
[0073] In this module, the descriptions of the topic and music clips are input into a large language model (LLM) to generate a script that incorporates musical semantics. This process generates a script containing several scene cues, each describing a scene, and also generates five style keywords to ensure the style coherence of the generated music video. Given the challenges faced by LLM in capturing long-distance context, a three-step prompting method is designed to gradually guide the LLM. The process consists of three main steps: (1) expanding the user-input topic into a script containing multiple scenes; (2) rewriting the script by incorporating music descriptions; and (3) generating style keywords for the script to produce the final music video script.
[0074] (1) Theme-based script generation
[0075] The topic input by the user may cover elements such as characters, plots, and backgrounds. LLM's powerful generalization ability can be used to expand a simple topic T into a coherent story. Here, LLM is used to generate scene prompts equal to the number of music clips. The process can be defined as follows:
[0076]
[0077] I (1) Represents the script generation instructions input into LLM, Contains N scene cues in the script, 1≤n≤N, where N is the number of music clips.
[0078] (2) Rewrite the script based on the music description
[0079] In order to match the video content with the music style, the script generation needs to consider the music semantics. Therefore, the LLM is guided to rewrite the generated script S according to the corresponding music description M. (1) ,
[0080]
[0081] Among them, I (2) is the rewrite instruction input to LLM, M n The music description corresponding to the nth music segment, Represents the nth scene cue in a rewritten script, which incorporates the musical description of the initial scene cue.
[0082] (3) Generating style keywords
[0083] After generating a script incorporating the musical description, the LLM is guided to generate the same (2) Let K denote the set of five style keywords, I (3) Indicates instructions for generating keywords related to visual style. The generation process can be defined as:
[0084]
[0085] In order to ensure the consistency of style between different scenes, the keywords will be spliced after each scene prompt in the rewritten script, and finally the complete music video script S is obtained.
[0086]
[0087] Step 3: Video generation;
[0088] In this module, video clips are generated according to each scene prompt in the script. Video generation models are mainly divided into two categories: text-to-video and image-to-video. If a text-to-video model is used, the user must wait for the entire video generation process and then edit the unsatisfactory generation results. If the text-to-image model is used to generate images, and then the image-to-video model is used to generate video clips, the user can preview and edit the generated images, and then complete the video generation based on the images when the user is satisfied. Considering the high time cost of video generation, the second method was chosen to allow users to preview and edit the visual content. Specifically, we used an advanced text-to-image model to convert the scenes in the script into images. Then, an advanced image-to-video model was used to generate video clips based on these images.
[0089] Step 4: Dynamic music video synchronization;
[0090] After the video generation module processes the generated script, N video clips are obtained. The next step is to synchronize the rhythm of these clips with the music clips and synthesize them into a music video. The key to rhythm synchronization is to match and align the video beats with the music beats, but because the AI-generated video has a small number of frames and a low frame rate, the number of visual beats that can be extracted is limited and the amplitude is not obvious. When the number of music beats is larger, if a one-to-many pairing strategy is adopted, it will cause repeated frames in the synchronized video. Therefore, this scheme proposes a music video synchronization method that can avoid repeated frames. A rule-based visual rhythm extraction method is introduced, and then a dynamic beat matching algorithm is used to align the visual beats with the music beats. In addition, we designed a time warping strategy to enhance the alignment effect, and used interpolation technology to achieve smoother video synchronization. The core idea is to determine the target time G(t) in the synchronized video after the time t in the original video has been regularized.
[0091] Define a time warping function G: Represents the time when the frame at time t in the original video appears in the synchronized video.
[0092] like Figure 3 As shown in Figure 1, the process starts with detecting and matching key visual beat frames with the music beats. Then, the remaining frames are warped to the target time based on the visual envelope. Finally, interpolation techniques are applied to obtain smoother video synchronization.
[0093] (1) Visual rhythm extraction;
[0094] According to the method described in VisBeat, visual rhythm features are extracted by capturing sudden and obvious decelerations. Specifically, a histogram is calculated, which is a two-dimensional matrix D(i,θ) that represents the magnitude of visual changes at different angles:
[0095]
[0096] Among them, F i (x,y) means use The optical flow field of the i-th frame calculated by the algorithm, N bins represents the number of angle bins, which is set to 12 in this embodiment. Next, calculate each bin b (1≤b≤N bins ) deceleration D F (i,b), and D F The positive values in the column are summed to obtain the visual impact envelope u v (i)
[0097] D F (i,b)=D(i,b)-D(i-1,b) (7)
[0098]
[0099] This embodiment uses a window of 0.125 seconds to identify local maxima in the visual impulse envelope and selects them as visual beats if the portion by which they exceed their local mean is greater than 10% of the global maximum of the impulse envelope.
[0100] (2) Dynamic beat matching;
[0101] In extracting visual beats {v c}, we use dynamic programming to combine it with the music beat {m d}match. Assuming that the visual beat is less than the musical beat |{v c}|<|{m d}|, establish one-to-one pairings between all visual beats and music beats, allowing for unpaired music beats. Under these constraints, the following cumulative distance γ(c,d) is obtained:
[0102]
[0103] in, and represent the average envelope of visual beat and music beat respectively; and Represents visual beat v c and music beats d The moment of time. v and T m are the duration of the video clip and the music clip respectively. v and u m has been normalized to [0,1]. When the music beats are less than the visual beats, the positions of the music beat sequence and the visual beat sequence in the equation are swapped.
[0104] After solving the dynamic programming problem, we get the best matching beat pair {v′ p ,m′ p}, and deduce the regularization of the beat frames from it:
[0105]
[0106] in, It's time The target time is 1≤p≤P, where P represents the number of matching beat pairs.
[0107] (3) Time regularity;
[0108] Once the target time of the visual beat frame is determined, the vCalculate the target time for the remaining frames. Specifically, first use linear interpolation to estimate the visual envelope at the intermediate time t between the i-th frame and the j-th frame:
[0109]
[0110] Next, replace the original time with the target time to estimate the visual envelope at time t in the regularized synchronized video
[0111]
[0112] Given the kth frame (v′) between two adjacent beat frames p ≤k≤v′ p+1 ), the envelope pulse between adjacent frames is defined as I k :
[0113]
[0114] In order to emphasize the synchronization of the beat frames, a smooth visual transition is required between the beat frames, which means that the visual impulse between each frame should be stable. Therefore, an objective function is set:
[0115]
[0116] where Var represents the variance; for any k, if I k =I k+1 , equation (15) will reach a minimum. In this case, G(t k ), obtain the target time of the intermediate frame, and realize the time regularization of all video frames in the original video. The linear system equation is as follows:
[0117] G(t k )=G(t k+1 )α k +G(t k+2 )β k , k = v′ p ,v′ p +1,...,v′ p+1 -2, (16)
[0118]
[0119] (4) Interpolation;
[0120] After converting all video frames in the original video to the target time, there are still unfilled frames in the synchronized video. The interpolation model RIFE is used to generate intermediate frames to fill the gaps and increase the frame rate to 24 to achieve a smoother visual effect. Using the interpolation model, the generation of synchronized video is achieved. Figure 4This is an example result generated by the proposed method, showing the good alignment of the music beat and the visual beat after synchronization. (a) The time warping curve shows the mapping relationship from the original time t to the target time G(t), and the dots represent the matching of the visual beat and the music beat. (b) is a comparison of the envelope curves of the original video, music, and synchronized video. The detected beats are marked with dots (·), and the matching beat pairs are marked with circles.
[0121] In order to further verify the overall quality of the music videos generated by this scheme, this scheme was compared with other music video generation methods, and evaluated from multiple perspectives such as visual effects, music relevance, and synchronization through quantitative evaluation and user experiments. In addition, to further verify the effectiveness of the script generation module, an ablation experiment was conducted on the module and verified through a user experiment.
[0122] The details are as follows:
[0123] (1) Quantitative evaluation
[0124] Baseline systems: Due to the lack of music video generation pipelines based on text topics and music, two baselines were built based on existing frameworks: Generative Disco+LLM and Music2Video+LLM. These frameworks lack music segmentation and script generation capabilities, so music beats extracted by librosa are used to segment the music, and GPT-4 is guided by one-step instructions to generate scripts directly based on text topics. The generated scripts are input into Generative Disco and Music2Video, replacing the visual description and lyrics in the original framework input, respectively.
[0125] Experimental Materials: We collected 20 music pieces with different tempos from Spotify and YouTube, ranging from 69 to 166 bpm (beats per minute), with an average duration of 80.5 seconds, covering ten genres, including pop, electronic, country, classical, dance, soul, hip-hop, classical, Christmas, and funk. We designed a corresponding text topic (with an average length of 14 words) for each piece of music according to the emotion, genre, and cultural background of the music, thus preparing 20 music-topic pairs.
[0126] Quantitative evaluation metrics: The above methods were evaluated in two aspects. First, the Beat Alignment Score was introduced to evaluate the degree of synchronization between music and video. Second, the CLIPSIM metric was used to verify the degree of match between the video content and the input subject.
[0127] Analysis of experimental results: Compared with the baseline system, MV-Crafter achieved the highest scores in both indicators, as shown in Table 1, which proves that this scheme can generate music videos with the best rhythm and the best matching between video content and theme.
[0128] Table 1
[0129]
[0130] (2) User Experiment 1: Music Video Quality Assessment
[0131] Baseline systems: In this experiment, three baseline systems were used. The first is the GenerativeDisco+LLM and Music2Video+LLM systems mentioned above. In addition, an SVD (stable video diffusion) + LLM is introduced as the third baseline system. Compared with MV-Crafter, this baseline system uses the same video generation model and large language model. But the difference is that when generating a script, only one-step instruction is used to generate the script according to the text topic (the same as the first two baselines), and the audio and video synchronization module is omitted. The purpose of introducing this baseline is to eliminate the potential impact of using different generation models on the results.
[0132] Experimental Materials: Six music pieces were collected from Spotify, covering four different genres with tempos ranging from 69 to 166 bpm. Corresponding text topics were designed for each piece of music based on the emotion, genre, and cultural background of the music to ensure the diversity of the themes of the final music videos. Subsequently, three baseline systems and MV-Crafter were used to generate music videos based on the music-theme pairs, generating a total of 24 music videos with an average length of 53 seconds.
[0133] Experimental indicators: Five indicators are introduced to evaluate the quality of music videos, namely:
[0134] - Synchronization degree: Estimate the degree of synchronization between the video rhythm and the music rhythm;
[0135] -Topic Relevance: Estimates how relevant the video content is to the input topic.
[0136] - Music Relevance: Estimates how well the visual style (e.g., lighting, color, layout) matches the musical style (e.g., genre, emotion, tempo).
[0137] - Narrative: Estimate the logical coherence of video scenes.
[0138] -Quality: Estimate the overall quality of the music video.
[0139] Experimental participants: 30 participants aged between 21 and 45 were selected, including 13 males and 17 females. These participants included students, researchers, and engineers from different majors, covering fields such as design, computer science, and electronic engineering. Their proficiency in music video production was distributed as follows: 17 novices (56.7%), 9 beginners (30.0%), and 4 proficient (13.3%).
[0140] Experimental process and tasks: Participants were guided to watch each music video and rate it through an online questionnaire. The generated music videos were divided into 6 groups according to the input music. Each group included 4 music videos generated by the baseline system and MV-Crafter. The order of display of videos in each group was random. Participants were told that all videos were generated by artificial intelligence and were asked to provide subjective ratings after watching the music videos, using a 5-point Likert scale (1 = "very bad", 5 = "very good") involving five indicators.
[0141] Experimental results analysis: A one-way ANOVA analysis was performed on the scoring results, revealing significant differences between all indicators (p<.001). Subsequently, a post hoc Tukey multiple comparison test was performed to examine the pairwise differences between MV-Crafter and other baseline systems. The results showed that MV-Crafter was significantly better than other baselines in terms of thematic relevance, musical relevance, narrative, and overall quality (p<.001). In terms of synchronization, MV-Crafter and Generative Disco+LLM were significantly better than SVD+LLM.
[0142] (3) User Experiment 2: Ablation Study on Script Generation
[0143] Baseline system: The music video script generation module in this system was ablated to obtain two baseline methods. The first baseline method (B1: w / o style keywords) ablated the style keyword generation step in the script generation module, and finally generated a script without style keywords. The second baseline method (B2: w / o music captions, style keywords) further ablated the step of rewriting the script based on the music description, and only generated the script based on the theme, and finally generated a script without introducing music description and excluding style keywords.
[0144] Experimental Materials: Five different genres of music were collected from Spotify, and corresponding themes were designed for each piece of music. Then, a total of 15 music video scripts were generated using three different methods. Considering that the scripts include multiple prompts describing video scenes, rather than narrative texts, in order to facilitate participants' intuitive comparison, a list of scene images was generated using StableDiffusion-XL based on the prompts in the scripts to visualize each script.
[0145] Experimental indicators:
[0146] - Musical relevance: How well the visual style (e.g., lighting, color) and the musical style (e.g., genre, emotion, and rhythm) are related. This metric evaluates the effectiveness of introducing musical descriptions (descriptions about the genre, instrument, vocals, emotion, rhythm, culture, and timbre of the music) into the script generation process.
[0147] -Content coherence: The content coherence of the scene image converted from the generated script. This indicator is used to evaluate the effectiveness of script generation in narrative coherence.
[0148] -Style consistency: The style consistency of the scene image converted from the generated script. This indicator is used to evaluate the effect of integrating style keywords in script generation.
[0149] Experimental Participants: Twenty participants aged between 18 and 28 years old were selected, including 12 females and 8 males.
[0150] Experimental process and tasks: Participants compared and rated the scene images generated by the baseline method and the script generation method in MV-Crafter through an online questionnaire. The scene images in the questionnaire were randomly arranged. The corresponding music was played while the scene images were displayed. After the participants listened to the music and browsed the scene images, they were required to rate them according to a 5-point Likert scale (1 = "very bad", 5 = "very good").
[0151] Analysis of experimental results: The questionnaire results were subjected to a one-way difference analysis and post hoc Tukey test to determine the pairwise differences between the baseline method after ablation and the script generation method of this scheme. The results show that the method of this scheme is significantly better than the two baseline methods in terms of content coherence, style consistency and music relevance. It can be concluded that the third step in the script generation method, that is, the addition of style keywords, effectively ensures the consistency of video style; the introduction of music description in the second step effectively integrates music information into the video content. Overall, the three-step script generation module designed in this scheme can generate music video scripts with coherent content, consistent style and matching music.
[0152] Based on the above experimental results, the following conclusions can be drawn:
[0153] MV-Crafter significantly improves the overall quality of music videos. First, the script generation module perfectly matches the video style with the music style by integrating the music description, while enhancing the narrative and style coherence of the video content. Second, the use of a large video generation model ensures the high quality of the video picture. Finally, the audio and video synchronization algorithm effectively couples the video rhythm with the music rhythm, generating a high-quality, coherent and rhythmic music video.
[0154] The video content automatic generation system driven by susceptible music signals includes a preprocessing module, a script generation module, a video generation module, and a synchronization module; wherein the preprocessing module divides the input music and theme into multiple music clips according to the rhythm, and generates a corresponding music description for each music clip;
[0155] The script generation module takes the theme and music description as input and generates a narrative script that is consistent with the music semantics;
[0156] The video generation module takes the script as input, first generates static images, and then generates video clips corresponding to each music clip based on the images;
[0157] The synchronization module uses an audio and video synchronization algorithm to match the rhythm of each video with the corresponding music clip, generating a music video clip with a coordinated picture rhythm and music rhythm; finally, all the clips are spliced together to generate a complete music video.
[0158] The interactive interface consists of the following parts:
[0159] Upload music, enter the theme of the video in the input box, and click the Generate Script button to automatically generate the music video script;
[0160] Display and edit the script. Each line represents each scene prompt in the script, and users can edit it freely.
[0161] Video scene preview: thumbnails of generated scene images will be displayed in order on the timeline, and users can double-click the image they want to modify;
[0162] Scene editing: Double-click to pop up the scene editing window. Users can modify the scene prompt and generate multiple replaceable pictures. Select a satisfactory picture to replace the original scene picture.
[0163] Generate and play music videos. Click the Generate Music Video button at the bottom of the play window. The system will generate a music video and automatically display it in the play window.
[0164] Those skilled in the art should understand that they can implement variations by combining the prior art and the above embodiments. Such variations do not affect the essence of the present solution and are not described in detail here.
[0165] It should be understood that the present solution is not limited to the above-mentioned specific implementation methods, and the devices and structures not described in detail should be understood to be implemented in a common manner in the art; any technician familiar with the art can use the above-disclosed methods and technical contents to make many possible changes and modifications to the technical solution of the present solution without departing from the scope of the technical solution of the present solution, or modify it into an equivalent embodiment with equivalent changes, which does not affect the essential content of the present solution. Therefore, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present solution without departing from the content of the technical solution of the present solution still falls within the scope of protection of the technical solution of the present solution.
Claims
1. A method for automatically generating video content driven by susceptible music signals, characterized in that: First, the music signal is preprocessed and segmented into several music clips. Second, a music video script incorporating music semantics is generated from the theme and the music clips. Then, a video clip is generated for each scene in the music video script. Finally, the video clips are synchronized with the music clips and synthesized into a music video.
2. The method for automatically generating video content driven by a susceptible music signal according to claim 1, characterized in that: The specific process of preprocessing the music signal is as follows: According to the "cut by rhythm" rule, the music is segmented according to its beat, and each music clip will correspond to a video scene; the target duration of the segmented music clip is initially set, and the local maximum value in the starting intensity of the beat is identified as the segmentation point, and segmentation is performed iteratively until the average duration of the music clip approaches the target duration of the segmented music clip; The music description model is applied to generate corresponding descriptions for each music clip.
3. The method for automatically generating video content driven by susceptible music signals according to claim 2, characterized in that: Each description includes the genre, instrument, vocal, mood, rhythm, culture, and timbre characteristics of the corresponding music clip, providing contextual semantic information about the music.
4. The method for automatically generating video content driven by a susceptible music signal according to claim 1, characterized in that: The generation of music video scripts includes the following steps: Step a: Input the description of the theme and music clip into a large language model; Step b: Expand the topic T input by the user into a script containing multiple scene prompts, which is expressed by the following formula: Among them, I (1) Represents the script generation instructions input into LLM, Contains N scene cues in the script, where N is the number of music clips; Step c: rewrite the script by adding music description to obtain a script that matches the music semantics, which is expressed by the following formula: Among them, I (2) is the rewrite instruction input to LLM, M n The music description corresponding to the nth music segment; Step d: Generate five style keywords for the script to unify the visual style of the music video. The generation process is expressed by the following formula:
5. The method for automatically generating video content driven by a susceptible music signal according to claim 4, characterized in that: The style keywords are spliced after each scene prompt in the rewritten script to obtain the final music video script, which is specifically expressed as follows: in, is the prompt for rewriting the nth representative scene in the script, 1≤n≤N, N is the number of music clips, and K is the set of five style keywords.
6. The method for automatically generating video content driven by a susceptible music signal according to claim 5, characterized in that: The video generation first uses a text-to-image model to convert scene prompts in the script into images; then, an image-to-video model is used to generate video clips based on these images.
7. The method for automatically generating video content driven by a susceptible music signal according to claim 1, characterized in that: Synchronizing the rhythm of the video clip with the music clip and synthesizing them into a music video includes the following steps: Step 1: Visual rhythm extraction: extract visual rhythm features by capturing sudden and obvious deceleration, obtain visual impact envelope, and extract visual beats based on the visual impact envelope; Step 2: Dynamic beat matching: align the visual beat sequence and the music beat sequence through a dynamic programming algorithm, establish a one-to-one pairing between the visual beat and the music beat, obtain the matching beat pair based on the solved optimal path, and derive the target time of the visual beat frame from it; Step 3: Time regularization: after determining the target time of the visual beat frame, calculate the target time of the remaining video frames to achieve time regularization of all video frames in the original video. Step 4: interpolation. After the original video frames are regularized to the target time, the interpolation model is used to generate intermediate frames to fill the unfilled frame gaps in the synchronized video and increase the frame rate. Step 5: When all music clips and video clips are synchronized, all synchronized videos are spliced together to finally generate a multi-scene music video.
8. The method for automatically generating video content driven by a susceptible music signal according to claim 7, characterized in that: The specific process of step 3 is as follows: Step 3.1: Use linear interpolation to estimate the visual envelope at time t between the i-th frame and the j-th frame. Step 3.2: Replace the original time with the target time to estimate the visual envelope at time t in the regularized synchronized video Step 3.3: Given the kth frame between two adjacent beat frames, v′ p ≤k≤v′ p+1 , defines the envelope pulse I between adjacent frames k : Step 3.4: Set the following objective function to achieve smooth transition between beat frames: Where Var represents the variance. For any k, if I k =I k+1 , the objective function reaches the minimum value; u v (·) is the average envelope of the visual beat, and G(·) is the time warping function, which represents the target time of the video frame in the synchronized video.
9. The method for automatically generating video content driven by a susceptible music signal according to claim 8, characterized in that: The G(t k ) By solving the following linear system, we can calculate the target time of the intermediate frame and achieve the time regularization of all video frames in the original video. G(t k )=G(t k+1 )α k +G(t k+2 )β k ,k=v′ p ,v′ p +1,...,v′ p+1 -2, 10. A video content automatic generation system driven by susceptible music signals, characterized in that: It includes a preprocessing module, a script generation module, a video generation module, and a synchronization module; wherein the preprocessing module divides the input music and theme into multiple music clips according to the rhythm, and generates a corresponding music description for each music clip; The script generation module takes the theme and music description as input and generates a narrative script that is consistent with the music semantics; The video generation module takes the script as input, first generates static images, and then generates video clips corresponding to each music clip based on the images; The synchronization module uses an audio and video synchronization algorithm to match the rhythm of each video with the corresponding music clip, generating a music video clip with a coordinated picture rhythm and music rhythm; finally, all the clips are spliced together to generate a complete music video.
Citation Information
Cited By
AIGC multi-mode audio-visual content creation method and system
CN119299806A
A method and system for creating AIGC multimodal audiovisual content
CN119299806B
Music video generation method and device, equipment and storage medium
CN121691838A
Multimedia video generation method and apparatus, and computer-readable storage medium
WO2026090838A1
