Video generation method and system based on music rhythm, and TV on-demand method
Through deep learning models and multi-modal fusion technology, the multi-dimensional emotional characteristics of videos and music are analyzed to achieve intelligent matching of music emotions and video clip emotions, solving the problem of being unable to automatically generate videos based on music rhythm in the existing technology, and improving Accuracy and personalization of video generation.
Patent Information
- Application Number
- CN202410696433.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-05-31
AI Technical Summary
Existing technology cannot automatically complete video generation based on music rhythm. In particular, it fails to achieve intelligent matching and integration of music emotions and video clip emotions, and lacks deeply personalized content creation.
By acquiring video and music resources, we use deep learning models and multi-modal fusion technology to perform emotional analysis and matching, extract multi-dimensional emotional features of videos and music, realize automatic classification of emotional tags and logical sorting of video clips, and generate emotionally consistent Sexual video content.
It realizes the entire chain of automated processing from fine processing of video resources, intelligent emotional classification to music emotion recognition and matching, improves the accuracy and personalization of video generation, and reduces the time and difficulty of manual arrangement.
Smart Images

Figure CN118301382B
Abstract
Description
Technical Field
[0001] The invention belongs to the field of television on-demand data processing, and in particular relates to a video generation method and system based on music rhythm, and a television on-demand method. Background Art
[0002] In today's digital age, with the booming development of social media, streaming platforms and short video applications, the integration of music and video has become an important trend in content innovation. However, most existing technologies are limited to the simple synchronization of music and video, or can only generate simple visual dynamic effects based on the rhythm of music, lacking in-depth personalization. There is a growing demand for technology that can accurately match the rhythm of music with the emotions of video content, but unfortunately, there is currently no mature method or system that can automatically complete the generation of videos based on music rhythm, especially the failure to achieve intelligent matching and integration of music emotions and video clip emotions. Summary of the invention
[0003] The purpose of the present invention is to provide a method and system for generating a video based on music rhythm, and a method for on-demand television broadcasting, so as to solve the problems raised in the above-mentioned background technology.
[0004] In order to solve the above technical problems, the present invention provides the following technical solutions:
[0005] A video generation method based on music rhythm includes step 1, obtaining video resource segments, integrating and analyzing the video resource segments, performing emotion classification for each video resource segment and adding emotion tags;
[0006] Step 2, obtaining music audio data, identifying the emotion classification of the music audio data based on the rhythm of the music audio data and adding emotion tags, the specific implementation steps are: applying music information retrieval to analyze the melody lines and chord progressions of the music, and extracting emotional features by identifying melody patterns and chord progressions;
[0007] Step 3, assigning a video resource segment with the same emotion tag to the music audio data according to the emotion tag of the music audio data, and defining it as a target video resource segment;
[0008] Step 4: Analyze the logic between the target video resource segments and sort the target video resource segments, and then generate a complete target video.
[0009] Preferably, music information retrieval is applied to analyze the melody lines and chord progressions of music, including extracting the main melody lines of music through spectrum analysis and melody tracking, identifying the chord progressions in music by using harmony analysis, further distinguishing between soft and tense emotional atmospheres by calculating harmony density and dissonance, and analyzing rhythm patterns; constructing a multidimensional emotional feature vector for each piece of music, the multidimensional emotional feature vector includes quantitative values of melodic dynamics, harmonic complexity, and rhythm pattern indicators, and typical emotional association weights obtained through historical data analysis; comparing the emotional tendencies between different music passages through the emotional feature vector, and matching them with the emotional tags of the video clips to extract emotional features.
[0010] Preferably, step 1, "integrate and analyze video resource segments, classify emotions for each video resource segment and add emotion tags" specifically includes:
[0011] The acquired video resources are processed for denoising, resolution adaptation and frame rate standardization. The deep learning model is applied to analyze the video clips frame by frame to extract visual features. The background sound effects and character dialogues in the video are extracted using audio analysis.
[0012] Construct a multimodal emotion database, which contains visual and auditory feature templates corresponding to various emotions; achieve preliminary emotion classification by comparing the similarity between the features extracted from video clips and the templates in the database.
[0013] Preferably, in step 2, music audio data is acquired, emotion classification of the music audio data is identified based on the rhythm of the music audio data, and emotion tags are added. The specific implementation steps also include removing noise from the music audio; and extracting rhythm features of the audio data using short-time Fourier transform or wavelet transform.
[0014] Preferably, step 2, obtaining music audio data, identifying the emotion classification of the music audio data based on the rhythm of the music audio data and adding emotion tags, the specific implementation steps also include establishing a typical rhythm library containing different emotion categories; identifying the rhythm pattern of the music and associating the corresponding emotion by matching with the pattern in the library; using a convolutional neural network or a long short-term memory network to obtain the rhythm, melody and harmony characteristics of the music, perform emotion classification and add emotion tags.
[0015] Step 4: Analyze the logic between the target video resource segments and sort the target video resource segments, and then generate a complete target video, which specifically includes:
[0016] Obtain the scene context, character actions, and dialogue content of the target video resource clips, and establish a situational association map between video clips; identify key event nodes and transition points in the video clips through situational map analysis;
[0017] Time series analysis is used to analyze the impact of the time order of video clips on narrative logic, and machine learning is used to predict the optimal playback sequence. The sorted video sequence is then evaluated from multiple dimensions such as emotional coherence, narrative logic, and visual effect. The feedback based on the machine learning model is fine-tuned until the optimal sorting is achieved.
[0018] The system for generating video based on music rhythm includes a computer program product of instructions, which, when running on a computer, enables the computer to execute the above-mentioned method for generating video based on music rhythm.
[0019] The present application also discloses a method for on-demand television broadcasting, comprising the steps of:
[0020] The user selects the audio content that he wants to play through the TV interface or remote control, and receives a video-on-demand request;
[0021] Process the selected audio data, call the video generation method based on music rhythm, and generate a complete target video; select the complete target video and dynamically adjust the bit rate according to the user's network status, and prepare the video stream of the complete target video for digital copyright management encryption; divide the video content into multiple small data packets and transmit them to the user in real time through the Internet;
[0022] After the user receives the data packet through the TV, the decoder decompresses the video data, the audio data is decoded and played through the TV speakers, and the video is displayed on the screen.
[0023] Beneficial effects: Traditional video editing processes often rely on manual screening and editing, which is not only time-consuming and labor-intensive, but also difficult to accurately capture the subtle correspondence between music and video emotions. In contrast, the present invention uses advanced deep learning models, multimodal fusion technology and intelligent analysis algorithms to achieve full-chain automated processing from fine processing of video resources, intelligent emotional classification, to music emotion recognition and matching, to logical sorting of video clips. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 Flowchart of the method for video generation based on music rhythm. DETAILED DESCRIPTION
[0025] The following will be combined with the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0026] The present application discloses a method for generating a video based on music rhythm, comprising:
[0027] Get video resource segments, integrate and analyze video resource segments, classify emotions for each video resource segment and add emotion labels; Specific implementation steps:
[0028] The acquired video resources are processed for denoising, resolution adaptation and frame rate standardization to ensure the consistency of video clip quality and the stability of subsequent processing; deep learning models, such as 3D Convolutional Neural Networks (3D CNNs), are applied to analyze video clips frame by frame to extract visual features, including but not limited to color distribution, motion trajectory, facial expressions and scene changes; at the same time, audio analysis is used to extract background sound effects and character dialogues in the video;
[0029] Build a multimodal emotion database that contains visual and auditory feature templates corresponding to various emotions (such as happiness, sadness, anger, and surprise); achieve preliminary emotion classification by comparing the similarity between the features extracted from the video clips and the templates in the database;
[0030] Further use of recurrent neural network (RNN) or long short-term memory network (LSTM) sequence models combined with time series analysis to capture the dynamic process of emotional changes in video clips and improve the sophistication and accuracy of classification;
[0031] Based on the preliminary emotion classification, the emotion intensity analysis module is introduced to quantify the emotion intensity by calculating the statistics of the feature values (such as mean and variance), refine the emotion labels, such as "slightly happy" and "extremely sad", and assign the most appropriate emotion label to each video clip; specifically: before calculating the emotion intensity, firstly, weights are assigned to visual and auditory features (such as color saturation, curvature of facial expressions, and changes in voice intonation) based on the results of emotional psychology research and multimodal emotion analysis. These weights reflect the relative importance of each feature in different emotional expressions. For example, when expressing happiness, the amplitude of the smile (obtained through facial expression analysis) is more critical than the brightness of the background color.
[0032] Establish a set of emotional intensity quantification standard system, and define emotional intensity thresholds of various levels from "mild" to "extreme". This requires training based on a large number of labeled emotional video data sets to determine the correspondence between different feature value intervals and emotional intensity levels. For example, through historical data analysis, if the frequency and intensity of smiles in a video clip reaches a certain threshold, it can be judged as "extremely happy".
[0033] An adaptive learning mechanism is introduced to dynamically adjust the threshold of emotion intensity according to the characteristics of the video content. This means that when processing videos of different styles or cultural backgrounds, the system can automatically fine-tune the threshold settings to more accurately adapt to the subtle differences in emotional expression in different situations.
[0034] In the process of emotion intensity analysis, contextual information is incorporated, such as the trend of emotion changes before and after the video clips, key plot points, etc., to enhance the accuracy and sophistication of the judgment. For example, before and after a story turning point, even if the same expression represents different intensities of emotion, the system will understand this in combination with the context and make a more reasonable intensity judgment.
[0035] A multi-scale analysis method is used in the emotion intensity analysis, which not only considers the emotional tone of the global video clip, but also does not ignore the local subtle emotion fluctuations. This involves applying sliding window analysis on different time windows to capture the instantaneous changes and overall trends of emotion intensity.
[0036] A closed-loop feedback mechanism is built to collect users’ emotional response data to the generated videos (such as likes and comment sentiment analysis) to iteratively optimize the sentiment intensity analysis model. This helps the model to continuously learn and adapt to users’ perceived preferences for emotional expression and improve the accuracy of personalized matching.
[0037] A method for generating a video based on music rhythm also includes: acquiring music audio data, identifying the emotion classification of the music audio data based on the rhythm of the music audio data and adding an emotion tag;
[0038] Remove noise from music audio, including background noise and distortion, to ensure clear sound quality and provide pure input for subsequent sentiment analysis;
[0039] Using short-time Fourier transform (STFT) or wavelet transform, the rhythm features of audio data, including beat intensity and speed changes, are extracted, which provides a basis for understanding musical emotions;
[0040] Music information retrieval is used to analyze the melody lines and chord progressions of music, as they are key elements in expressing emotions. Emotional features are extracted by identifying melody patterns and chord progressions, such as the association between major keys and cheerful emotions and minor keys and melancholy emotions. The main melody lines of music are extracted through spectrum analysis and melody tracking, including the ups and downs, jumps and repetitive patterns of the melody. These contour features can reflect the vitality and dynamic changes of music. For example, a fast melody rise is usually associated with excitement and passion, while a slow or descending melody corresponds to calm or sad emotions.
[0041] Harmonic analysis is used to identify chord progressions in music, including the frequency and complexity of chord transitions and the use of specific chord sequences. Major chord progressions are often associated with positive and cheerful emotions, while minor chords and their unique progressions tend to express sad or contemplative emotions. In addition, by calculating harmonic density and dissonance, it is possible to further distinguish between soft and tense emotional atmospheres.
[0042] Analyze rhythmic patterns, including the intensity distribution of beats and the use of complex rhythmic patterns (e.g., triplets, syncopated rhythms); fast, regular rhythms indicate excitement or lively emotions, while slow, irregular rhythms suggest calm or heavy emotional states;
[0043] Emotional feature vector construction: A multi-dimensional emotional feature vector is constructed for each piece of music; this vector contains the quantitative values of melodic dynamics, harmonic complexity, rhythmic pattern indicators, and typical emotional association weights obtained through historical data analysis; the emotional features are extracted by comparing the emotional tendencies between different music segments through the emotional feature vector and matching them with the emotional labels of the video clips;
[0044] Build a library of typical rhythms that contain different emotional categories (such as cheerful, calm, sad, and passionate); identify the rhythmic patterns of music and associate them with corresponding emotions by matching them with the patterns in the library;
[0045] Use convolutional neural networks (CNN) or long short-term memory networks (LSTM) to obtain the rhythm, melody and harmony features of music, perform sentiment classification and add emotion labels;
[0046] We can further combine the visual emotion features extracted from the video clips with the music emotion features, and enhance the accuracy of emotion recognition through multimodal fusion technology to ensure the consistency of music and video emotion labels. Specifically:
[0047] First, feature mapping technology is used to map the visual emotional features of the video and the emotional features of the music into the same feature space. This step involves using linear transformations, kernel methods, or embedding layers in deep learning to ensure that the data of the two modalities can be compared and fused in the same dimension. At the same time, the time axis of the music and video is aligned to ensure the temporal consistency of the emotional features, which facilitates subsequent emotional matching and analysis.
[0048] The attention mechanism is introduced to weight the importance of video and music emotional features. This mechanism dynamically adjusts the contribution of the two according to the emotional intensity of the video and the emotional expression of the music at each time point. For example, in the climax of the music, the emotional features of the music will be given a higher weight; while in scenes where the emotional expression of the video is strong and clear, the emotional features of the video will be considered more.
[0049] Deep learning fusion model: Multi-layer perceptron (MLP), bidirectional LSTM or Transformer network, used to fuse the mapped multimodal features. This model can learn the complex interactive relationship between video visual features and music emotional features, and automatically optimize the feature fusion strategy through end-to-end training to achieve higher emotion recognition accuracy.
[0050] Through joint training, the model optimizes the fusion strategy of multimodal features while predicting video and music emotion labels. This includes setting loss functions, such as cross entropy loss plus consistency loss, to ensure that the video and music emotion labels output by the model are consistent, while maximizing the similarity between the two in the emotion space.
[0051] After fusion, an additional calibration module is used to perform a final emotion intensity correction on each video clip based on the combined strength of the video and music emotion features. This step ensures that the emotion expression in the generated video is consistent with the music rhythm and faithfully reflects the emotional depth of the video content.
[0052] It allows the multimodal fusion model to be iteratively optimized based on user feedback or preset emotional evaluation criteria of the final generated video. This not only improves the accuracy of emotion recognition, but also enhances the system's adaptability and personalization capabilities.
[0053] A method for generating a video based on music rhythm also includes: allocating video resource segments with the same emotion tag to the music audio data according to the emotion tag of the music audio data, and defining them as target video resource segments;
[0054] Analyze the logic between the target video resource segments and sort the target video resource segments, and then generate a complete target video. When perfecting the link of "analyzing the logic between the target video resource segments and sorting the target video resource segments, and then generating a complete target video", we will adopt the following specific implementation steps and technical means to ensure the smooth connection and logical coherence between the video segments, while maintaining a high degree of consistency with the overall technical solution:
[0055] Obtain the scene context, character actions, and dialogue content of the target video resource clips, and establish a situational association map between video clips; through situational map analysis, identify key event nodes and transition points in the video clips to provide a basis for logical sorting;
[0056] The influence of the time sequence of video clips on narrative logic is analyzed by time series analysis, and the optimal playback sequence is predicted by machine learning, so that the narrative structure of the video is more reasonable and in line with the audience's viewing habits and expectations;
[0057] The sorted video sequences are evaluated from multiple dimensions such as emotional coherence, narrative logic, and visual effects; the feedback based on the machine learning model is fine-tuned until the optimal sorting is achieved.
[0058] In addition, as an application of the present application, the present application also discloses a method for on-demand television, comprising the steps of:
[0059] User on-demand triggering: the user selects the audio content they want to play through the TV interface or remote control, and receives the on-demand request;
[0060] Music emotion analysis and video generation, immediately process the selected audio data and call the video generation method based on music rhythm, including:
[0061] Acquire music audio data, identify the emotions of the music audio data based on the rhythm of the music audio data and add emotion tags. The specific implementation steps are: apply music information retrieval to analyze the melody lines and chord progressions of the music, and extract emotional features by identifying melody patterns and chord progressions;
[0062] According to the emotion tag of the music audio data, a video resource segment with the same emotion tag is allocated to the music audio data, and is defined as a target video resource segment;
[0063] Analyze the logic between the target video resource segments and sort the target video resource segments, and then generate a complete target video; select the complete target video and dynamically adjust the bit rate according to the user's network conditions, and prepare the video stream of the complete target video and perform DRM (digital rights management) encryption to protect the content copyright;
[0064] Use streaming media technologies (such as HLS, DASH, RTMP, etc.) to split video content into multiple small data packets and transmit them to users in real time via the Internet;
[0065] After the user receives the data packet through the TV, the decoder decompresses the video data, the audio data is decoded and played through the TV speakers, and the video is displayed on the screen.
[0066] The present invention utilizes advanced deep learning models, multimodal fusion technology and intelligent analysis algorithms to realize full-chain automated processing from fine processing of video resources, intelligent emotional classification, to music emotion recognition and matching, and then to logical sorting of video clips.
[0067] The embodiments that require protection in this application include:
[0068] A video generation method based on music rhythm, reference Figure 1, including step 1, obtaining video resource segments, integrating and analyzing the video resource segments, and performing emotion classification and adding emotion labels for each video resource segment;
[0069] Step 2, obtaining music audio data, identifying the emotion classification of the music audio data based on the rhythm of the music audio data and adding emotion tags, the specific implementation steps are: applying music information retrieval to analyze the melody lines and chord progressions of the music, and extracting emotional features by identifying melody patterns and chord progressions;
[0070] Step 3, assigning a video resource segment with the same emotion tag to the music audio data according to the emotion tag of the music audio data, and defining it as a target video resource segment;
[0071] Step 4: Analyze the logic between the target video resource segments and sort the target video resource segments, and then generate a complete target video.
[0072] Preferably, music information retrieval is applied to analyze the melody lines and chord progressions of music, including extracting the main melody lines of music through spectrum analysis and melody tracking, identifying the chord progressions in music by using harmony analysis, further distinguishing between soft and tense emotional atmospheres by calculating harmony density and dissonance, and analyzing rhythm patterns; constructing a multidimensional emotional feature vector for each piece of music, the multidimensional emotional feature vector includes quantitative values of melodic dynamics, harmonic complexity, and rhythm pattern indicators, and typical emotional association weights obtained through historical data analysis; comparing the emotional tendencies between different music passages through the emotional feature vector, and matching them with the emotional tags of the video clips to extract emotional features.
[0073] Preferably, step 1, "integrate and analyze video resource segments, classify emotions for each video resource segment and add emotion tags" specifically includes:
[0074] The acquired video resources are processed for denoising, resolution adaptation and frame rate standardization. The deep learning model is applied to analyze the video clips frame by frame to extract visual features. The background sound effects and character dialogues in the video are extracted using audio analysis.
[0075] Construct a multimodal emotion database, which contains visual and auditory feature templates corresponding to various emotions; achieve preliminary emotion classification by comparing the similarity between the features extracted from video clips and the templates in the database.
[0076] Preferably, step 2, obtaining music audio data, identifying the emotion classification of the music audio data based on the rhythm of the music audio data and adding emotion tags, and the specific implementation steps also include removing noise in the music audio; using short-time Fourier transform or wavelet transform to extract the rhythm characteristics of the audio data.
[0077] Preferably, step 2, obtaining music audio data, identifying the emotion classification of the music audio data based on the rhythm of the music audio data and adding emotion tags, the specific implementation steps also include establishing a typical rhythm library containing different emotion categories; identifying the rhythm pattern of the music and associating the corresponding emotion by matching with the pattern in the library; using a convolutional neural network or a long short-term memory network to obtain the rhythm, melody and harmony characteristics of the music, perform emotion classification and add emotion tags.
[0078] Step 4: Analyze the logic between the target video resource segments and sort the target video resource segments, and then generate a complete target video, which specifically includes:
[0079] Obtain the scene context, character actions, and dialogue content of the target video resource clips, and establish a situational association map between video clips; identify key event nodes and transition points in the video clips through situational map analysis;
[0080] Time series analysis is used to analyze the impact of the time order of video clips on narrative logic, and machine learning is used to predict the optimal playback sequence. The sorted video sequence is then evaluated from multiple dimensions such as emotional coherence, narrative logic, and visual effect. The feedback based on the machine learning model is fine-tuned until the optimal sorting is achieved.
[0081] In addition, an embodiment of the present application further provides a storage medium, wherein the storage medium is used to store a computer program, and the computer program is used to execute the method provided in the above embodiment.
[0082] The embodiments of the present application also provide a computer program product including instructions, which, when executed on a computer, enables the computer to execute the method provided in the above embodiments.
[0083] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the above program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the above storage medium can be at least one of the following media: read-only memory (English: Read-only Memory, abbreviated: ROM), RAM, magnetic disk or optical disk, etc. Various media that can store program codes.
[0084] Therefore, the present application also discloses a video generation system based on music rhythm, including a computer program product of instructions, which, when executed on a computer, enables the computer to execute the above-mentioned video generation method based on music rhythm.
[0085] The present application also discloses a method for on-demand television broadcasting, comprising the steps of:
[0086] The user selects the audio content that he wants to play through the TV interface or remote control, and receives a video-on-demand request;
[0087] Process the selected audio data, call the video generation method based on music rhythm, and generate a complete target video; select the complete target video and dynamically adjust the bit rate according to the user's network status, and prepare the video stream of the complete target video for digital copyright management encryption; divide the video content into multiple small data packets and transmit them to the user in real time through the Internet;
[0088] After the user receives the data packet through the TV, the decoder decompresses the video data, the audio data is decoded and played through the TV speakers, and the video is displayed on the screen.
[0089] It should be noted that each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiments. The device and system embodiments described above are merely schematic, in which the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative work.
[0090] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed in the present application should be covered by the present application.
Claims
1. A video generation method based on music rhythm, characterized in that: The method comprises the following steps: Step 1, obtaining video resource segments, integrating and analyzing the video resource segments, classifying emotions for each video resource segment and adding emotion labels; The specific steps include: The acquired video resources are processed for denoising, resolution adaptation and frame rate standardization. The deep learning model is applied to analyze the video clips frame by frame to extract visual features. The background sound effects and character dialogues in the video are extracted using audio analysis. Build a multimodal emotion database, which contains visual and auditory feature templates corresponding to various emotions; achieve preliminary emotion classification by comparing the similarity between the features extracted from the video clips and the templates in the database; Step 2, obtain music audio data, identify the emotions of the music audio data based on the rhythm of the music audio data, and add emotion tags. The specific implementation steps are: apply music information retrieval to analyze the melody lines and chord progressions of the music, and extract emotional features by identifying melody patterns and chord progressions, including extracting the main melody lines of the music through spectrum analysis and melody tracking, using harmony analysis to identify the chord progression in the music, and further distinguishing between soft and tense emotional atmospheres by calculating harmony density and dissonance, and analyzing rhythm patterns; construct a multidimensional emotional feature vector for each piece of music, the multidimensional emotional feature vector contains quantitative values of melody dynamics, harmony complexity, and rhythm pattern indicators, and typical emotional association weights obtained through historical data analysis; compare the emotional tendencies between different music passages through the emotional feature vector, and match them with the emotional tags of the video clips to extract emotional features; Step 3, assigning a video resource segment with the same emotion tag to the music audio data according to the emotion tag of the music audio data, and defining it as a target video resource segment; Step 4: Analyze the logic between the target video resource segments and sort the target video resource segments, and then generate a complete target video, which specifically includes: Obtain the scene context, character actions, and dialogue content of the target video resource clips, and establish a situational association map between video clips; identify key event nodes and transition points in the video clips through situational association map analysis; use time series analysis to analyze the impact of the time sequence of video clips on narrative logic, use machine learning to predict the best playback sequence, and then evaluate the sorted video sequence from multiple dimensions such as emotional coherence, narrative logic, and visual effects; perform fine-tuning based on the feedback of the machine learning model until the optimal sorting is achieved.
2. The method for generating a video based on music rhythm according to claim 1, characterized in that: Step 2, obtaining music audio data, identifying the emotion classification of the music audio data based on the rhythm of the music audio data and adding emotion tags. The specific implementation steps also include removing noise from the music audio; using short-time Fourier transform or wavelet transform to extract the rhythm characteristics of the audio data.
3. The method for generating a video based on music rhythm according to claim 1, characterized in that: Step 2, obtaining music audio data, identifying the emotion classification of the music audio data based on the rhythm of the music audio data and adding emotion tags. The specific implementation steps also include establishing a typical rhythm library containing different emotion categories; identifying the rhythm pattern of the music and associating the corresponding emotion by matching with the pattern in the library; using a convolutional neural network or a long short-term memory network to obtain the rhythm, melody and harmony characteristics of the music, perform emotion classification and add emotion tags.
4. A video generation system based on music rhythm, characterized in that: A computer program product comprising instructions, when running on a computer, enables the computer to execute the method for generating a video based on music rhythm as claimed in claim 1.
5. A method for on-demand television playback, comprising the steps of: a user selecting audio content to be played through a television interface or a remote controller, receiving an on-demand request, characterized in that: Processing the selected audio data, calling the video generation method based on music rhythm described in claim 1, and generating a complete target video; Select the complete target video and dynamically adjust the bit rate according to the user's network conditions, prepare the video stream of the complete target video, and perform digital rights management encryption; divide the video content into multiple small data packets and transmit them to the user in real time via the Internet; After the user receives the data packet through the TV, the decoder decompresses the video data, the audio data is decoded and played through the TV speakers, and the video is displayed on the screen.
Citation Information
Patent Citations
Video processing method and device, electronic equipment and readable storage medium
CN113572976A
Video generation method and device, equipment and storage medium
CN114242070A
Trade music short video generation method and device
CN116320603A
Short video background music editing method based on deep learning
CN116844562A
Method and system for categorizing musical sound according to emotions
US20200286505A1
