WO2024251224A1 - 音乐视频生成方法、装置、电子设备及存储介质 - Google Patents

音乐视频生成方法、装置、电子设备及存储介质 Download PDF

Info

Publication number
WO2024251224A1
WO2024251224A1 PCT/CN2024/097900 CN2024097900W WO2024251224A1 WO 2024251224 A1 WO2024251224 A1 WO 2024251224A1 CN 2024097900 W CN2024097900 W CN 2024097900W WO 2024251224 A1 WO2024251224 A1 WO 2024251224A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
music
music video
target music
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2024/097900
Other languages
English (en)
French (fr)
Inventor
宋益明
赵艺林
郑志鹏
徐舜杨
茅克盾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to EP24818755.1A priority Critical patent/EP4727143A1/en
Priority to AU2024283714A priority patent/AU2024283714A1/en
Publication of WO2024251224A1 publication Critical patent/WO2024251224A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47205End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • H04N21/4394Processing of audio elementary streams involving operations for analysing the audio stream, e.g. detecting features or characteristics in audio streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44016Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving splicing one content stream with another content stream, e.g. for substituting a video clip
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8106Monomedia components thereof involving special audio data, e.g. different tracks for different languages
    • H04N21/8113Monomedia components thereof involving special audio data, e.g. different tracks for different languages comprising music, e.g. song in MP3 format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8549Creating video summaries, e.g. movie trailer

Definitions

  • the embodiments of the present disclosure relate to a music video generation method, device, electronic device and storage medium.
  • the embodiments of the present disclosure provide a music video generation method, device, electronic device and storage medium to simplify the editing operation of the music video and improve the generation efficiency of the music video.
  • an embodiment of the present disclosure provides a method for generating a music video, the method comprising:
  • determining a target music material and a target music video template corresponding to the music video generation operation In response to a music video generation operation in a music video editing interface, determining a target music material and a target music video template corresponding to the music video generation operation;
  • a target music video is generated based on the target music material and the target music video template, and the target music video is displayed.
  • the present disclosure also provides a music video generation device, the device comprising:
  • a music video generation response module used to respond to a music video generation operation in the music video editing interface and determine a target music material and a target music video template corresponding to the music video generation operation;
  • the target music video generation module is used to generate a target music video based on the target music material and the target music video template, and display the target music video.
  • an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:
  • processors one or more processors
  • a storage device for storing one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the music video generation method as described in any of the embodiments of the present disclosure.
  • the embodiments of the present disclosure further provide a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to execute the music video generation method as described in any one of the embodiments of the present disclosure.
  • FIG. 1a is a schematic diagram of a flow chart of a music video generation method provided by an embodiment of the present disclosure
  • FIG1b is a schematic diagram of a music video editing interface provided by an embodiment of the present disclosure.
  • FIG2a is a schematic diagram of a flow chart of another music video generation method provided by an embodiment of the present disclosure.
  • FIG2b is a timing diagram of a music video generation method provided by an embodiment of the present disclosure.
  • FIG3 is a structural block diagram of a music video generating device provided by an embodiment of the present disclosure.
  • FIG. 4 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure.
  • the term “including” and its variations are open-ended, i.e., “including but not limited to”.
  • the term “based on” means “based at least in part on”.
  • the term “one embodiment” means “at least one embodiment”.
  • the term “another embodiment” means “at least one additional embodiment”; the term “some embodiments” means “at least some embodiments”.
  • the relevant definitions of other terms will be given in the following description.
  • the technical solution disclosed in the present invention may be applied to any interface that needs to produce a music video, for example, it may be applied to a scenario where a user creates a music video.
  • FIG1a is a flowchart of a music video generation method provided by an embodiment of the present disclosure.
  • This embodiment can be applied to any music video generation scenario supported by the Internet, and is used to make music videos.
  • the method can be executed by a music video generation device, which can be implemented in the form of software and/or hardware, and the hardware can be an electronic device, such as a mobile terminal, a PC, or a server.
  • Any music video generation scenario is usually implemented by the cooperation of a client and a server.
  • the method provided by this embodiment can be executed by a server, a client, or a combination of a client and a server.
  • the method of this embodiment includes:
  • the device for executing the music video generation method can be integrated into the application software that supports the music video generation function, and the software can be installed in the electronic device.
  • the electronic device can be a mobile terminal or a PC.
  • the application software can be a type of software for video processing, and its specific application software will not be described one by one here, as long as it can realize the editing and processing of music videos. It can also be a specially developed application program to implement the software for music video editing, or it can be integrated in the corresponding page, and the user can realize the generation of music videos through the page integrated in the PC.
  • the present invention provides a method based on music
  • the technical idea of generating music videos with music video templates In general, it provides users with music video templates of various types and styles. When users need to generate music videos, they can directly select music video templates and import music materials to automatically generate music videos.
  • a music video generation operation can be triggered.
  • the music video generation device determines the music material and music video template associated with the music video generation operation based on the detected music video generation operation, and uses the music material associated with the music video operation as the target music material and the music video template associated with the music video generation operation as the target music video template.
  • the music material can be any music-related material, such as songs, instrumental music, etc., which is not limited here.
  • the method before responding to the music video generation operation in the music video editing interface, the method further includes:
  • the music video editing interface includes a material import control, a music video template selection control, and a music video generation control;
  • the step of generating a music video in response to the music video editing interface includes:
  • the music video editing interface is displayed based on the music video generation demand triggered by the user.
  • the user can initiate the music video generation demand by triggering the "New" control in the music video generation device, and the music video generation device displays the music video editing interface after detecting the music video generation demand initiated by the user.
  • the music video editing in the embodiment of the present disclosure requires the selection of music materials and music templates.
  • the music video editing interface may include a material import control, a music video template selection control, and a music video generation control; wherein the material import control is used to import music materials, the music video template selection control is used to select a music video template, and the music video generation control is used to trigger the music video generation operation.
  • the user when generating a music video, the user can click the material import control in the music video editing interface, select the material and import it; click the music video template selection control in the music video editing interface, select the music video template provided to the user, and then click the music video generation control to initiate the music video generation operation.
  • the music video generation device detects the music video generation operation, it determines the music material imported by the user as the target music material and determines the music video template selected by the user as the target music video template.
  • the music video editing interface can be a web page interface or a mobile application interface, which is not limited here. In other words, users can make music videos on the web page or on the mobile application. Music video production on mobile terminal.
  • the music video generation operation in response to the music video editing interface is executed by the front end of the music video editing device, that is, the front end is provided for the user to import music and select a music video template.
  • S120 Generate a target music video based on the target music material and the target music video template, and display the target music video.
  • a target music video is generated based on the target music material and the target music video template, and the target music video is displayed on a music video editing interface.
  • the music video template is a music video of a fixed pattern, but there are replaceable parts in the fixed pattern, namely, fillable template elements.
  • the fillable template elements of the music video template can be set to lyrics elements and audio elements.
  • the target music video can be generated based on the target music material and the target music video template by filling the fillable template elements of the target music video template with the target music video, and rendering to obtain the target music video.
  • the lyrics of the target music material can be filled in the lyrics area of the target music video template, and the audio of the target music material can be filled in the audio area of the target music video template to obtain a draft file of the target music video, and the draft file of the target music video can be rendered to obtain the target music video.
  • the rendering of the target music video may refer to the rendering method in the related art, which will not be elaborated here.
  • the cloud editing component may be called to realize the rendering of the target music video.
  • the music video editing interface is a browser page
  • the browser page also includes a video display interface
  • the displaying of the target music video includes: displaying the target music video on the video display interface.
  • a method for editing music videos on a web page can be provided, and the user can import music and select video templates on the music video rendering interface in the browser page. After the browser generates the target music video based on the music imported by the user and the selected video template, the target music video is displayed on the video display page in the browser page. Editing the music video on the browser page and synchronously displaying the music video effects on the mobile terminal can make the editing of the music video clearer and faster.
  • FIG1b is a schematic diagram of a music video editing interface provided by an embodiment of the present disclosure.
  • FIG1b schematically shows a schematic diagram of an interface for making a music video on a browser page.
  • FIG1b shows a browser page, which includes a music video editing guide interface, a music video Editing interface and video display interface.
  • the music video editing guide interface is the music video production part, which is used to guide users to produce music videos.
  • the music video editing interface is the configuration template part
  • the video display interface is the music video display part.
  • Users can configure music videos in the configuration template, including song selection and video template selection. Users can import videos in the components corresponding to song anchors and select video templates in the components corresponding to video templates. After the user imports the video and selects the template, the browser detects the music video generation operation, generates the corresponding target music video, and displays the target music video in the music video display component on the browser page.
  • a target music video is generated based on a target music material and a target music video template.
  • the target music video can be generated based on the complete target music material or based on part of the target music material.
  • the generating a target music video based on the target music material and the target music video template includes:
  • a target music video is generated based on the video generation segment, the segment lyrics and the target music video template.
  • the video generation segment corresponding to the target music material can be determined, and the target music video can be generated based on the video generation segment.
  • the video generation segment can be the complete target music material or a partial segment of the target music material.
  • the target music material is a song
  • the audio part and the lyrics part of the target music material are required to generate the target music video.
  • the target music video is generated based on the video generation segment, in order to ensure the synchronization of lyrics and audio, it is necessary to extract the lyrics of the segment corresponding to the video generation segment, and then generate the target music video based on the video generation segment, the segment lyrics and the target music video template.
  • the video production segment can be filled in the audio area of the target music video template
  • the segment lyrics can be filled in the lyrics area of the target music video template to generate a target music video with synchronized audio and lyrics.
  • the segment lyrics can be extracted from the video generation segment as the segment lyrics, or the material lyrics of the target music material can be directly extracted, and the lyrics corresponding to the video generation segment are extracted from the material lyrics as the segment lyrics.
  • determining the segment lyrics corresponding to the video generation segment includes:
  • the lyrics of the target music material can be first extracted as the lyrics time information, and the lyrics corresponding to the video generation segment can be extracted from the lyrics as the segment lyrics.
  • the lyrics time information in the target music material is first extracted, and then the segment lyrics are determined from the lyrics time information.
  • the extraction of the video generation segment and the extraction of the lyrics time information can be performed asynchronously to speed up the processing.
  • the extraction of the lyrics time information can be performed by the lyrics extraction method in the related art, which is not limited here.
  • the lyrics information corresponding to the time period of the music material in the lyrics time information is used as the segment lyrics.
  • the lyrics of the segment can be extracted from the lyrics time information based on the music material time period of the video generation segment in the target music material.
  • the start time of the target music material can be set as 0, the music material time period of the video generation segment in the target music material can be determined, and the accelerated music material time period can be (a, b), and the lyrics corresponding to the time period (a, b) in the lyrics time information can be used as the lyrics of the segment.
  • the duration of a target music video may be limited due to limited processing capability or other circumstances.
  • a video generation segment corresponding to the target music material may be determined based on the material type of the target music material. Accordingly, the step of determining the video generation segment corresponding to the target music material includes:
  • a corresponding video generation segment in the target music material is determined, wherein the material type is a clipping type or a non-clipping type.
  • the duration of edited music materials and unedited music materials is different, and the duration of target music videos directly generated based on the edited music materials and unedited music materials is also different. If the duration of the target music video is limited, the video generation segment corresponding to the target music material can be determined by the editing type or non-editing type of the target music material.
  • the material type of the target music material can be determined based on the material attributes of the target music material. For example, when a user imports a material, the type of the imported material is selected, and the selected type is stored as the type of the imported material in the material attributes of the imported material. When the material type of the target music material needs to be determined, the material attributes of the target music material can be queried to determine it.
  • the material type of the target music material can also be determined based on the material duration of the target music material. When the music material imported by the user is a complete song, the song duration is generally longer, while the edited material is generally shorter. Based on this, a duration threshold can be pre-set, and the material type of the target music material is determined based on the duration threshold.
  • the step of determining the corresponding video generation segment in the target music material according to the material type of the target music material includes:
  • the material type of the target music material is a clip type, using the target music material as the video generation segment;
  • the material type of the target music material is a non-editing type
  • a chorus segment of the target music material is extracted as the video generation segment.
  • the target music material When the material type of the target music material is a clip type, it means that the duration of the target music material is relatively short and meets the video duration limit of the target music video, then the target music material can be used as a video generation segment; when the material type of the target music material is a non-clip type, it means that the duration of the target music material is relatively long and does not meet the video duration limit of the target music video, then the chorus segment in the target music material can be extracted as a video generation segment.
  • the extraction of the chorus segment of the target music material may refer to the relevant chorus segment extraction method, which is not limited here.
  • the generation of the target music video based on the target music material and the target music video template can be performed by the front end or by the back end/server, and there is no limitation here.
  • the generation of the target music video based on the target music material and the target music video template can be performed by the back end/server, which can increase the generation speed of the template music video.
  • the displaying of the target music video comprises:
  • a video preview request is received from the front end polling, and after generating the target music video, the target music video is sent to the front end for display based on the video preview request.
  • the triggering of the music video generation operation can be performed by the user at the front end.
  • the front end After the user triggers the music video generation operation at the front end, the front end sends the music video generation operation to the back end.
  • the back end generates a corresponding music video task identifier based on the received music video generation operation and returns it to the front end.
  • the front end generates a video preview request carrying the music video task identifier and sends it to the back end.
  • the front end needs to poll and send video preview requests.
  • the front end can be a browser page or the front end of the mobile application, which is not limited here.
  • the technical solution of the disclosed embodiment determines the target music material and the target music video template corresponding to the music video generation operation in response to the music video generation operation in the music video editing interface; generates the target music video based on the target music material and the target music video template, and displays the target music video.
  • FIG2a is a flow chart of another music video generation method provided by an embodiment of the present disclosure.
  • FIG2a provides an optional embodiment based on the above embodiment.
  • this embodiment provides a series of fixed templates, and selecting one of them can automatically realize the lyrics recognition, lyrics subtitles and generation of corresponding music videos in the target music material. Using the method provided by this embodiment, there is no need to worry about the complicated video production process, and music videos can be produced quickly in batches.
  • the music video generation method provided in FIG. 2a includes:
  • the user can select a template from the template list as a target music video template.
  • S210 importing the target music material and S220 selecting the music video template can be executed by the front end, that is, the front end interacts with the user to allow the user to select music and music video templates.
  • the chorus part of the target music material is edited to obtain the high-frequency clips as the video generation clips.
  • the target music video is rendered based on the video generation segment, the segment lyrics and the target music video template.
  • some steps in S230 determining whether editing is needed, S240 high-heat editing, S250 generating lyrics and S260 rendering video can be executed by the front end or the back end.
  • the embodiment of the present disclosure adopts the back end execution to improve the generation speed of the template music video.
  • FIG2b is a timing diagram of a music video generation method provided by an embodiment of the present disclosure.
  • the music video generation method provided by an embodiment of the present disclosure is implemented through the interaction between the front end and the back end.
  • the front end is mainly used to interact with the user for the user to select music and templates.
  • the back end mainly processes the music and template selected by the user, performs high-heat editing, generates lyrics, and then generates a video.
  • the user first initiates a request to create a video at the front end. After the back end receives the request to create a video, it generates a task identifier and returns it to the front end.
  • the front end generates a video preview request including the task identifier and polls and sends it to the back end.
  • the process of generating a video at the back end mainly includes: performing high-heat editing on the target music material by calling the high-heat editing module to obtain the song duration and high-heat clips of the target music material; performing lyrics recognition and arranging on the target music material by calling the lyrics recognition module; determining the target lyrics based on the duration corresponding to the high-heat clip, and rendering the high-heat clip and the corresponding lyrics based on the target video template by calling the cloud editing module to obtain the video; after obtaining the video at the back end, after receiving the video preview request initiated by the front end, the video is sent to the front end for display by the front end.
  • This embodiment provides music video templates for users, allowing users to select music video templates to generate music videos, thereby lowering the threshold for music video production and improving the efficiency of music video production.
  • FIG3 is a structural block diagram of a music video generation device provided by an embodiment of the present disclosure, which can execute the music video generation method provided by any embodiment of the present disclosure, and has the functional modules and beneficial effects corresponding to the execution method.
  • the device specifically includes: a music video generation response module 310 and a target music video generation module 320, wherein:
  • a music video generation response module 310 for responding to a music video generation operation in a music video editing interface, and determining a target music material and a target music video template corresponding to the music video generation operation;
  • the target music video generation module 320 is used to generate a target music video based on the target music material and the target music video template, and display the target music video.
  • the technical solution of the disclosed embodiment is to respond to the music video generation operation in the music video editing interface through the music video generation response module 310, and determine the target music material and the target music video template corresponding to the music video generation operation; the target music video generation module 320 generates a target music video based on the target music material and the target music video template, and displays the target music video.
  • the target music video generation module 320 is specifically used for:
  • a target music video is generated based on the video generation segment, the segment lyrics and the target music video template.
  • the target music video generation module 320 is specifically used for:
  • the segment lyrics are determined based on the video generation segment and the lyrics time information.
  • the target music video generation module 320 is specifically used for:
  • the lyrics information corresponding to the time period of the music material in the lyrics time information is used as the segment lyrics.
  • the target music video generation module 320 is specifically used for:
  • a corresponding video generation segment in the target music material is determined, wherein the material type is a clipping type or a non-clipping type.
  • the target music video generation module 320 is specifically used for:
  • the target music material is generating segments for the video
  • the material type of the target music material is a non-editing type
  • a chorus segment of the target music material is extracted as the video generation segment.
  • the device also includes an editing interface display module for:
  • the music video editing interface includes a material import control, a music video template selection control, and a music video generation control;
  • the music video generation response module 310 is specifically used for:
  • the music video generation device provided in the embodiments of the present disclosure can execute the music video generation method provided in any embodiment of the present disclosure, and has the functional modules and beneficial effects corresponding to the execution method.
  • FIG4 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure.
  • a schematic diagram of the structure of an electronic device 400 suitable for implementing an embodiment of the present disclosure is shown.
  • the terminal device in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (e.g., vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc.
  • the electronic device shown in FIG4 is merely an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.
  • the electronic device 400 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage device 408 to a random access memory (RAM) 403.
  • a processing device e.g., a central processing unit, a graphics processing unit, etc.
  • RAM random access memory
  • various programs and data required for the operation of the electronic device 400 are also stored.
  • the processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404.
  • An edit/output (I/O) interface 405 is also connected to the bus 404.
  • an input device 406 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.
  • Output device 407 such as a liquid crystal display (LCD), a speaker, a vibrator, etc.
  • storage device 408 such as a magnetic tape, a hard disk, etc.
  • communication device 409 can allow electronic device 400 to communicate with other devices wirelessly or by wire to exchange data.
  • FIG. 4 shows electronic device 400 with various devices, it should be understood that it is not required to implement or have all the devices shown. More or fewer devices may be implemented or provided instead.
  • an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart.
  • the computer program can be downloaded and installed from a network through a communication device 409, or installed from a storage device 408, or installed from a ROM 402.
  • the processing device 401 the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
  • the electronic device provided in the embodiment of the present disclosure and the music video generation method provided in the above embodiment belong to the same inventive concept.
  • the technical details not fully described in this embodiment can be referred to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
  • the embodiment of the present disclosure provides a computer storage medium on which a computer program is stored.
  • the program is executed by a processor, the music video generation method provided by the above embodiment is implemented.
  • the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two.
  • the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above.
  • Computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device or device.
  • the client and server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network).
  • HTTP HyperText Transfer Protocol
  • Examples of communication networks include a local area network ("LAN”), a wide area network ("WAN”), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
  • the computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
  • the computer-readable medium carries one or more programs.
  • the electronic device When the one or more programs are executed by the electronic device, the electronic device:
  • determining a target music material and a target music video template corresponding to the music video generation operation In response to a music video generation operation in a music video editing interface, determining a target music material and a target music video template corresponding to the music video generation operation;
  • a target music video is generated based on the target music material and the target music video template, and the target music video is displayed.
  • Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages.
  • the program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server.
  • the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
  • LAN local area network
  • WAN wide area network
  • Internet service provider e.g., AT&T, MCI, Sprint, EarthLink, MSN, GTE, etc.
  • each square box in the block diagram and/or the flow chart, and the combination of the square boxes in the block diagram and/or the flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments described in the present disclosure may be implemented by software or hardware.
  • the name of a unit does not limit the unit itself in some cases.
  • the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".
  • exemplary types of hardware logic components include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
  • FPGAs field programmable gate arrays
  • ASICs application specific integrated circuits
  • ASSPs application specific standard products
  • SOCs systems on chips
  • CPLDs complex programmable logic devices
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment.
  • a machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • a machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing.
  • a more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read-only memory
  • EPROM or flash memory erasable programmable read-only memory
  • CD-ROM portable compact disk read-only memory
  • CD-ROM compact disk read-only memory
  • magnetic storage device or any suitable combination of the foregoing.
  • Example 1 provides a method for generating a music video, the method comprising:
  • determining a target music material and a target music video template corresponding to the music video generation operation In response to a music video generation operation in a music video editing interface, determining a target music material and a target music video template corresponding to the music video generation operation;
  • a target music video is generated based on the target music material and the target music video template, and the target music video is displayed.
  • Example 2 provides a music video generation method, further comprising:
  • the generating a target music video based on the target music material and the target music video template comprises:
  • a target music video is generated based on the video generation segment, the segment lyrics and the target music video template.
  • Example 3 provides a music video generation method, further comprising:
  • Determining the lyrics of the segment corresponding to the video generation segment includes:
  • the segment lyrics are determined based on the video generation segment and the lyrics time information.
  • Example 4 provides a music video generation method, further comprising:
  • the step of determining the segment lyrics based on the video generation segment and the lyrics time information includes:
  • the lyrics information corresponding to the time period of the music material in the lyrics time information is used as the segment lyrics.
  • Example 5 provides a music video generation method, further comprising:
  • the step of determining the video generation segment corresponding to the target music material comprises:
  • a corresponding video generation segment in the target music material is determined, wherein the material type is a clipping type or a non-clipping type.
  • Example 6 provides a music video generation method, further comprising:
  • the step of determining, according to the material type of the target music material, a corresponding video generation segment in the target music material comprises:
  • the material type of the target music material is a clip type, using the target music material as the video generation segment;
  • the material type of the target music material is a non-editing type
  • a chorus segment of the target music material is extracted as the video generation segment.
  • Example 7 provides a music video generation method, further comprising:
  • the method further includes:
  • the music video editing interface includes a material import control, a music video template selection control, and a music video generation control;
  • the step of generating a music video in response to the music video editing interface includes:
  • Example 8 provides a music video generating device, including:
  • a music video generation response module used to respond to a music video generation operation in the music video editing interface and determine a target music material and a target music video template corresponding to the music video generation operation;
  • the target music video generation module is used to generate and display the target music video based on the target music material and the target music video template.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

本公开实施例提供了一种音乐视频生成方法、装置、电子设备及存储介质,该方法包括:响应于音乐视频编辑界面中的音乐视频生成操作,确定所述音乐视频生成操作对应的目标音乐素材和目标音乐视频模板;基于所述目标音乐素材和所述目标音乐视频模板生成目标音乐视频,并展示所述目标音乐视频。本实施例通过在为用户提供音乐视频模板,使得在用户进行音乐视频的编辑时,仅需导入音乐素材,选中音乐视频模板,即可生成对应的音乐视频,简化了音乐视频的编辑操作,提高了音乐视频的生成效率。

Description

音乐视频生成方法、装置、电子设备及存储介质
本申请要求于2023年6月8日提交的中国专利申请第202310679262.4的优先权,该中国专利申请的全文通过引用的方式结合于此以作为本申请的一部分。
技术领域
本公开实施例涉及一种音乐视频生成方法、装置、电子设备及存储介质。
背景技术
目前需要制作音乐视频时,通常需要视频制作人员需要较高的视频编辑及音乐编辑基础,导致音乐视频制作费时费力,效果差。
发明内容
本公开实施例提供了一种音乐视频生成方法、装置、电子设备及存储介质,以简化音乐视频的编辑操作,提高音乐视频的生成效率。
第一方面,本公开实施例提供了一种音乐视频生成方法,该方法包括:
响应于音乐视频编辑界面中的音乐视频生成操作,确定所述音乐视频生成操作对应的目标音乐素材和目标音乐视频模板;
基于所述目标音乐素材和所述目标音乐视频模板生成目标音乐视频,并展示所述目标音乐视频。
第二方面,本公开实施例还提供了一种音乐视频生成装置,该装置包括:
音乐视频生成响应模块,用于响应于音乐视频编辑界面中的音乐视频生成操作,确定所述音乐视频生成操作对应的目标音乐素材和目标音乐视频模板;
目标音乐视频生成模块,用于基于所述目标音乐素材和所述目标音乐视频模板生成目标音乐视频,并展示所述目标音乐视频。
第三方面,本公开实施例还提供了一种电子设备,所述电子设备包括:
一个或多个处理器;
存储装置,用于存储一个或多个程序,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如本公开实施例任一所述的音乐视频生成方法。
第四方面,本公开实施例还提供了一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行如本公开实施例任一所述的音乐视频生成方法。
附图说明
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。
图1a为本公开实施例所提供的一种音乐视频生成方法的流程示意图;
图1b是本公开实施例提供的一种音乐视频编辑界面的示意图;
图2a为本公开实施例所提供的又一种音乐视频生成方法的流程示意图;
图2b为本公开实施例所提供的一种音乐视频生成方法的时序示意图;
图3为本公开实施例所提供的一种音乐视频生成装置的结构框图;
图4为本公开实施例所提供的一种电子设备的结构示意图。
具体实施方式
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实 施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
在介绍本技术方案之前,可以先对应用场景进行示例性说明。可以将本公开技术方案应用在任意需要制作音乐视频的界面中,例如可以是应用在用户创作音乐视频场景下。
图1a为本公开实施例所提供的一种音乐视频生成方法的流程示意图,本实施例可适用于在互联网所支持的任意音乐视频生成场景中,用于制作音乐视频时的情形。该方法可以由音乐视频生成装置来执行,该装置可以通过软件和/或硬件的形式实现,该硬件可以是电子设备,如移动终端、PC端或服务器等。任意音乐视频生成的场景通常是由客户端和服务器来配合实现的,本实施例所提供的方法可以由服务端来执行,客户端来执行,或者是客户端和服务端的配合来执行。
如图1a,本实施例的方法包括:
S110、响应于音乐视频编辑界面中的音乐视频生成操作,确定所述音乐视频生成操作对应的目标音乐素材和目标音乐视频模板。
其中,执行本公开实施例提供的音乐视频生成方法的装置,可以集成在支持音乐视频生成功能的应用软件中,且该软件可以安装至电子设备中,可选的,电子设备可以是移动终端或者PC端等。应用软件可以是对视频处理的一类软件,其具体的应用软件在此不再一一赘述,只要可以实现音乐视频的编辑处理即可。还可以是专门研发的应用程序,来实现音乐视频编辑的软件中,亦或是集成在相应的页面中,用户可以通过PC端中集成的页面来实现音乐视频的生成。
为解决相关技术中用户在制作音乐视频时,需要对音乐、视频进行相应的处理操作,音乐视频制作难的技术问题,本公开实施例中,提供了一种基于音 乐视频模板生成音乐视频的技术思路。整体来说,为用户提供各种类型、各种风格的音乐视频模板,当用户需要生成音乐视频时,直接选择音乐视频模板、导入音乐素材即可自动生成音乐视频。
一个实施例中,用户导入音乐素材、选中音乐视频模板后,可以触发音乐视频生成操作,音乐视频生成装置基于检测到的音乐视频生成操作,确定音乐视频生成操作关联的音乐素材和音乐视频模板,并将音乐视频操作关联的音乐素材作为目标音乐素材,将音乐视频生成操作关联的音乐视频模板作为目标音乐视频模板。其中,音乐素材可以为任意音乐相关的素材,如歌曲、纯音乐等,在此不做限定。
在本发明的一种实施方式中,在响应于音乐视频编辑界面中的音乐视频生成操作之前,还包括:
展示所述音乐视频编辑界面,其中,所述音乐视频编辑界面包括素材导入控件、音乐视频模板选择控件和音乐视频生成控件;
相应的,所述响应于音乐视频编辑界面中的音乐视频生成操作,包括:
响应于对所述音乐视频生成控件的触发操作。
可选的,在用户发起音乐视频生成操作之前,基于用户触发的音乐视频生成需求展示音乐视频编辑界面。示例性的,用户可以通过触发音乐视频生成装置中的“新建”控件发起音乐视频生成需求,音乐视频生成装置检测到用户发起的音乐视频生成需求后,展示音乐视频编辑界面。可以理解的是,本公开实施例中的音乐视频编辑需要音乐素材和音乐模板的选择,基于此,音乐视频编辑界面中可以包括素材导入控件、音乐视频模板选择控件和音乐视频生成控件;其中,素材导入控件用于导入音乐素材,音乐视频模板选择控件用于选择音乐视频模板,音乐视频生成控件用于触发音乐视频生成操作。相应的,用户在生成音乐视频时,可以点击音乐视频编辑界面中的素材导入控件,选中素材并导入;点击音乐视频编辑界面中的音乐视频模板选择控件,选择为用户提供的音乐视频模板,然后点击音乐视频生成控件,发起音乐视频生成操作,则音乐视频生成装置检测到音乐视频生成操作后,确定用户导入的音乐素材作为目标音乐素材,确定用户选择的音乐视频模板作为目标音乐视频模板。其中,音乐视频编辑界面可以为网页端的界面,也可以为应用程序移动端的界面,在此不做限定。也就是说,用户可以在网页上进行音乐视频的制作,也可以在移 动端进行音乐视频的制作。
在该步骤中,响应于音乐视频编辑界面中的音乐视频生成操作由音乐视频编辑装置的前端执行,也就是说,在前端供用户导入音乐及选择音乐视频模板。
S120、基于所述目标音乐素材和所述目标音乐视频模板生成目标音乐视频,并展示所述目标音乐视频。
确定目标音乐素材和目标音乐视频模板后,基于目标音乐素材和目标音乐视频模板生成目标音乐视频,并在音乐视频编辑界面展示该目标音乐视频。
可以理解的是,音乐视频模板为固定模式的音乐视频,但该固定模式中存在可替换的部分,即可填充模板元素。考虑到不同音乐的音乐视频的音频不同、歌词也不同,可以将音乐视频模板的可填充模板元素设置为歌词元素和音频元素。基于此,基于目标音乐素材和目标音乐视频模板生成目标音乐视频可以为,将目标音乐视频填充在目标音乐视频模板的可填充模板元素,渲染得到目标音乐视频。具体的,可以将目标音乐素材的歌词填充在目标音乐视频模板的歌词区域,将目标音乐素材的音频填充在目标音乐视频模板的音频区域,得到目标音乐视频的草稿文件,将目标音乐视频的草稿文件渲染得到目标音乐视频。
可选的,目标音乐视频的渲染可以参照相关技术中的渲染方式,在此不在赘述,如可以调用云剪辑组件实现目标音乐视频的渲染。
在本公开的一种实施方式中,所述音乐视频编辑界面为浏览器页面,所述浏览器页面还包括视频展示界面,所述展示所述目标音乐视频,包括:在所述视频展示界面展示所述目标音乐视频。可选的,可以提供一种在网页上进行音乐视频编辑的方式,用户可以在浏览器页面中的音乐视频渲染界面进行音乐的导入、视频模板的选择,浏览器基于用户导入的音乐和选择的视频模板生成目标音乐视频后,在浏览器页面中的视频展示页面进行目标音乐视频的展示。在浏览器页面上进行音乐视频的编辑,并同步展示移动端的音乐视频效果同步展示,能够使得音乐视频的编辑更加清晰、快捷。
图1b是本公开实施例提供的一种音乐视频编辑界面的示意图。图1b中示意性的展示出了,在浏览器页面进行音乐视频制作的界面示意图。图1b所展示的是浏览器页面,该浏览器页面中包括音乐视频编辑引导界面、音乐视频 编辑界面和视频展示界面。具体的,音乐视频编辑引导界面为制作音乐视频部分,用于引导用户进行音乐视频的制作,音乐视频编辑界面为配置模板部分,视频展示界面为音乐视频展示部分。用户可以在配置模板中进行音乐视频的配置,具体包括歌曲的选择和视频模板的选择,用户可以在歌曲锚点对应的组件中导入视频,在视频模板对应的组件中进行视频模板的选择,用户导入视频并选择模板后,浏览器检测到音乐视频生成操作后,生成对应的目标音乐视频,并在浏览器页面中的音乐视频展示组件将目标音乐视频进行展示。
在本实施例中,基于目标音乐素材和目标音乐视频模板生成目标音乐视频,可以为基于完整的目标音乐素材生成目标音乐视频,也可以为基于部分目标因为素材生成目标音乐视频。
在本公开的一种实施方式中,所述基于所述目标音乐素材和所述目标音乐视频模板生成目标音乐视频,包括:
确定所述目标音乐素材对应的视频生成片段,以及所述视频生成片段对应的片段歌词;
基于所述视频生成片段、所述片段歌词和所述目标音乐视频模板生成目标音乐视频。
可以基于音乐视频的生成需求,确定目标音乐素材对应的视频生成片段,基于视频生成片段生成目标音乐视频。其中,视频生成片段可以为完整的目标音乐素材,也可以为目标音乐素材中的部分片段。根据上述实施例可知,当目标音乐素材为歌曲时,生成目标音乐视频需要目标音乐素材的音频部分和歌词部分。若基于视频生成片段生成目标音乐视频,为保证歌词和音频的同步,需要提取出视频生成片段对应的片段歌词,然后基于视频生成片段、片段歌词和目标音乐视频模板生成目标音乐视频。可选的,可以将视频生产片段填充在目标音乐视频模板的音频区域,将片段歌词填充在目标音乐视频模板的歌词区域,生成音频和歌词同步的目标音乐视频。
其中,片段歌词可以在确定视频生成片段后,提取视频生成片段的歌词作为片段歌词,也可以直接提取目标音乐素材的素材歌词,从素材歌词中提取视频生成片段对应的歌词作为片段歌词。
在本公开的一种实施方式中,确定所述视频生成片段对应的片段歌词,包括:
提取所述目标音乐素材中的歌词时间信息,其中,所述歌词时间信息包括歌词信息和所述歌词信息对应的时间轴;
基于所述视频生成片段和所述歌词时间信息确定所述片段歌词。
可选的,可以先提取目标音乐素材的素材歌词作为歌词时间信息,从素材歌词中提取视频生成片段对应的歌词作为片段歌词。先提取目标音乐素材中的歌词时间信息,再从歌词时间信息中确定片段歌词,可以异步执行视频生成片段的提取和歌词时间信息的提取,加快处理速度。其中,歌词时间信息的提取可以通过相关技术中的歌词提取打轴方式,在此不再限定。
在上述方案的基础上,所述基于所述视频生成片段和所述歌词时间信息确定所述片段歌词,包括:
确定所述视频生成片段在所述目标音乐素材中的音乐素材时间段;
将所述歌词时间信息中与所述音乐素材时间段对应的歌词信息作为所述片段歌词。
可选的,可以基于视频生成片段在目标音乐素材中的音乐素材时间段,从歌词时间信息中提取片段歌词。示例性的,可以将目标音乐素材的起始时间即为0,确定视频生成片段在目标音乐素材中的音乐素材时间段,加速音乐素材时间段为(a,b),则将歌词时间信息中与时间段(a,b)对应的歌词作为片段歌词。
在音乐视频的生成场景,可能由于处理能力有限或其他情况导致目标音乐视频的时长受限的情形,在目标音乐视频的时长受限的情况下,可以基于目标音乐素材的素材类型确定目标音乐素材对应的视频生成片段,相应的,所述确定所述目标音乐素材对应的视频生成片段,包括:
根据所述目标音乐素材的素材类型,确定所述目标音乐素材中对应的视频生成片段,其中,所述素材类型为剪辑类型或非剪辑类型。
考虑到用户在导入音乐素材时,可能会存在提前剪辑音乐素材的情况,可以理解的是,已剪辑的音乐素材和未剪辑的音乐素材的时长不同,直接基于已剪辑的音乐素材和未剪辑的音乐素材生成的目标音乐视频的时长也不同。则在目标音乐视频的时长有限时,可以通过目标音乐素材的剪辑类型或非剪辑类型,确定目标音乐素材对应的视频生成片段。
可选的,目标音乐素材的素材类型可以基于目标音乐素材的素材属性确 定,如在用户导入素材时,选择导入素材的类型,将选择的类型作为导入素材的类型存储至导入素材的素材属性中,当需要确定目标音乐素材的素材类型时,可以查询目标音乐素材的素材属性确定。可选的,目标音乐素材的素材类型还可以基于目标音乐素材的素材时长确定,当用户导入的音乐素材为完整的歌曲时,其歌曲时长一般较长,而剪辑的素材一般较短,基于此,可以预先设置时长阈值,基于时长阈值确定目标音乐素材的素材类型。具体的,当目标音乐素材的素材时长长于时长阈值时,确定目标音乐素材的素材类型为非剪辑类型,当目标音乐素材的素材时长短于时长阈值时,确定目标音乐素材的素材类型为剪辑类型。
在上述方案的基础上,所述根据所述目标音乐素材的素材类型,确定所述目标音乐素材中对应的视频生成片段,包括:
当所述目标音乐素材的素材类型为剪辑类型时,将所述目标音乐素材作为所述视频生成片段;
当所述目标音乐素材的素材类型为非剪辑类型时,提取所述目标音乐素材的副歌片段作为所述视频生成片段。
当目标音乐素材的素材类型为剪辑类型时,说明目标音乐素材的时长较短,符合目标音乐视频的视频时长限制,则可以将目标音乐素材作为视频生成片段;当目标音乐素材的素材类型为非剪辑类型时,说明目标音乐素材的时长较长,不符合目标音乐视频的视频时长限制,则可以提取目标音乐素材中的副歌片段作为视频生成片段。
其中,目标音乐素材的副歌片段的提取可以参照相关的副歌片段提取方式,在此不做限制。
在该步骤中,基于目标音乐素材和目标音乐视频模板生成目标音乐视频可以由前端执行,也可以由后端/服务器执行,在此不做限制。可选的,基于目标音乐素材和目标音乐视频模板生成目标音乐视频可以由后端/服务器执行,可以提高模板音乐视频的生成速度。
在本公开的一种实施方式中,所述音乐视频生成操作是通过前端触发的,所述方法还包括:生成音乐视频任务标识,并将所述音乐视频任务标识发送至前端,以使前端基于所述视频任务标识生成视频预览请求;
所述展示所述目标音乐视频,包括:
接收前端轮询发送的视频预览请求,并在生成所述目标音乐视频后,基于所述视频预览请求将所述目标音乐视频发送至前端进行展示。
可选的,触发音乐视频生成操作可以由用户在前端执行,用户在前端触发音乐视频生成操作后,前端将音乐视频生成操作发送至后端,后端基于接收到的音乐视频生成操作生成对应的音乐视频任务标识返回至前端,前端生成携带音乐视频任务标识的视频预览请求,并发送至后端,考虑到音乐视频的生成需要一定时间的处理,可能存在前端发送视频预览请求后,后端并未生成目标音乐视频的情形,因此需要前端轮询发送视频预览请求,在后端生成目标音乐视频后,再次接收到前端发送的视频预览请求时,将生成的目标音乐视频发送至前端,由前端展示。其中,前端可以为浏览器页面,也可以为应用程序移动端的前端,在此不做限定。
本公开实施例的技术方案,通过响应于音乐视频编辑界面中的音乐视频生成操作,确定所述音乐视频生成操作对应的目标音乐素材和目标音乐视频模板;基于所述目标音乐素材和所述目标音乐视频模板生成目标音乐视频,并展示所述目标音乐视频,通过在为用户提供音乐视频模板,使得在用户进行音乐视频的编辑时,仅需导入音乐素材,选中音乐视频模板,即可生成对应的音乐视频,简化了音乐视频的编辑操作,提高了音乐视频的生成效率。
图2a为本公开实施例所提供的又一种音乐视频生成方法的流程示意图,图2a在上述实施例的基础上,提供一种可选实施例。
整体来说,本实施例通过提供一系列固定模板,选择其一便可自动实现目标音乐素材中歌词识别、歌词字幕打轴并生成对应的音乐视频。使用本实施例提供的方法,无需关心冗杂的视频制作流程,可以快速批量制作音乐视频。
如图2a所示,图2a中提供的音乐视频生成方法包括:
S210、导入目标音乐素材。
音乐创作者用户可以将其创作的音乐作为目标音乐素材导入。
S220、选择音乐视频模板。
用户可以从模板列表中选择一个模板作为目标音乐视频模板。
其中,S210导入目标音乐素材和S220选择音乐视频模板可以由前端执行,即在前端与用户进行交互,供用户选择音乐及音乐视频模板。
S230、判断是否需要剪辑。
若是,则执行S240;若否,则执行S250后执行S260。
S240、高热剪辑。
对目标音乐素材进行副歌部分剪辑,得到高热片段作为视频生成片段。
S250、生成歌词。
提取完整歌词后,过滤得到视频生成片段对应的片段歌词。
S260、渲染视频。
基于视频生成片段、片段歌词和目标音乐视频模板渲染得到目标音乐视频。
其中,S230判断是否需要剪辑、S240高热剪辑、S250生成歌词和S260渲染视频中的部分步骤可以由前端执行,也可以由后端执行,本公开实施例采用由后端执行,可以提高模板音乐视频的生成速度。
图2b为本公开实施例所提供的一种音乐视频生成方法的时序示意图,如图2b所示,本公开实施例提供的音乐视频生成方法通过前端与后端的交互实现。其中,前端主要用于与用户进行交互,供用户选择音乐和模板。后端主要用户处理用户选择的音乐和模板,进行高热剪辑、生成歌词后生成视频。具体的,首先由用户在前端发起创建视频请求,后端接收到创建视频请求后,生成任务标识返回至前端,前端生成包括任务标识的视频预览请求并轮询发送至后端,后端未生成视频时,不向前端反馈信息。后端生成视频的流程主要包括:通过调用高热剪辑模块对目标音乐素材进行高热剪辑,得到目标音乐素材的歌曲时长和高热片段;通过调用歌词识别模块对目标音乐素材进行歌词识别并打轴;基于高热片段对应的时长确定目标歌词,并通过调用云剪辑模块,基于目标视频模板对高热片段和对应的歌词进行渲染,得到视频;在后端得到视频后,再接收到前端发起的视频预览请求后,将视频发送至前端,由前端进行展示。
本实施例通过为用户提供音乐视频模板,由用户选择音乐视频模板生成音乐视频,降低了音乐视频制作门槛,提升了音乐视频的制作效率。
图3为本公开实施例所提供的一种音乐视频生成装置的结构框图,可执行本公开任意实施例所提供的音乐视频生成方法,具备执行方法相应的功能模块和有益效果。如图3所示,该装置具体包括:音乐视频生成响应模块310和目标音乐视频生成模块320,其中:
音乐视频生成响应模块310,用于响应于音乐视频编辑界面中的音乐视频生成操作,确定所述音乐视频生成操作对应的目标音乐素材和目标音乐视频模板;
目标音乐视频生成模块320,用于基于所述目标音乐素材和所述目标音乐视频模板生成目标音乐视频,并展示所述目标音乐视频。
本公开实施例的技术方案,通过音乐视频生成响应模块310响应于音乐视频编辑界面中的音乐视频生成操作,确定所述音乐视频生成操作对应的目标音乐素材和目标音乐视频模板;目标音乐视频生成模块320基于所述目标音乐素材和所述目标音乐视频模板生成目标音乐视频,并展示所述目标音乐视频,通过在为用户提供音乐视频模板,使得在用户进行音乐视频的编辑时,仅需导入音乐素材,选中音乐视频模板,即可生成对应的音乐视频,简化了音乐视频的编辑操作,提高了音乐视频的生成效率。
在上述各技术方案的基础上,目标音乐视频生成模块320具体用于:
确定所述目标音乐素材对应的视频生成片段,以及所述视频生成片段对应的片段歌词;
基于所述视频生成片段、所述片段歌词和所述目标音乐视频模板生成目标音乐视频。
在上述各技术方案的基础上,目标音乐视频生成模块320具体用于:
提取所述目标音乐素材中的歌词时间信息,其中,所述歌词时间信息包括歌词信息和所述歌词信息对应的时间轴;
基于所述视频生成片段和所述歌词时间信息确定所述片段歌词。
在上述各技术方案的基础上,目标音乐视频生成模块320具体用于:
确定所述视频生成片段在所述目标音乐素材中的音乐素材时间段;
将所述歌词时间信息中与所述音乐素材时间段对应的歌词信息作为所述片段歌词。
在上述各技术方案的基础上,目标音乐视频生成模块320具体用于:
根据所述目标音乐素材的素材类型,确定所述目标音乐素材中对应的视频生成片段,其中,所述素材类型为剪辑类型或非剪辑类型。
在上述各技术方案的基础上,目标音乐视频生成模块320具体用于:
当所述目标音乐素材的素材类型为剪辑类型时,将所述目标音乐素材作 为所述视频生成片段;
当所述目标音乐素材的素材类型为非剪辑类型时,提取所述目标音乐素材的副歌片段作为所述视频生成片段。
在上述各技术方案的基础上,装置还包括编辑界面展示模块,用于:
展示所述音乐视频编辑界面,其中,所述音乐视频编辑界面包括素材导入控件、音乐视频模板选择控件和音乐视频生成控件;
相应的,音乐视频生成响应模块310具体用于:
响应于对所述音乐视频生成控件的触发操作。
本公开实施例所提供的音乐视频生成装置可执行本公开任意实施例所提供的音乐视频生成方法,具备执行方法相应的功能模块和有益效果。
值得注意的是,上述装置所包括的各个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本公开实施例的保护范围。
图4为本公开实施例所提供的一种电子设备的结构示意图。下面参考图4,其示出了适于用来实现本公开实施例的电子设备(例如图4中的终端设备或服务器)400的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图4示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图4所示,电子设备400可以包括处理装置(例如中央处理器、图形处理器等)401,其可以根据存储在只读存储器(ROM)402中的程序或者从存储装置408加载到随机访问存储器(RAM)403中的程序而执行各种适当的动作和处理。在RAM 403中,还存储有电子设备400操作所需的各种程序和数据。处理装置401、ROM 402以及RAM 403通过总线404彼此相连。编辑/输出(I/O)接口405也连接至总线404。
通常,以下装置可以连接至I/O接口405:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置406;包括例如 液晶显示器(LCD)、扬声器、振动器等的输出装置407;包括例如磁带、硬盘等的存储装置408;以及通信装置409。通信装置409可以允许电子设备400与其他设备进行无线或有线通信以交换数据。虽然图4示出了具有各种装置的电子设备400,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置409从网络上被下载和安装,或者从存储装置408被安装,或者从ROM 402被安装。在该计算机程序被处理装置401执行时,执行本公开实施例的方法中限定的上述功能。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
本公开实施例提供的电子设备与上述实施例提供的音乐视频生成方法属于同一发明构思,未在本实施例中详尽描述的技术细节可参见上述实施例,并且本实施例与上述实施例具有相同的有益效果。
本公开实施例提供了一种计算机存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述实施例所提供的音乐视频生成方法。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算 机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:
响应于音乐视频编辑界面中的音乐视频生成操作,确定所述音乐视频生成操作对应的目标音乐素材和目标音乐视频模板;
基于所述目标音乐素材和所述目标音乐视频模板生成目标音乐视频,并展示所述目标音乐视频。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计 算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定,例如,第一获取单元还可以被描述为“获取至少两个网际协议地址的单元”。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
根据本公开的一个或多个实施例,示例一提供了一种音乐视频生成方法,该方法包括:
响应于音乐视频编辑界面中的音乐视频生成操作,确定所述音乐视频生成操作对应的目标音乐素材和目标音乐视频模板;
基于所述目标音乐素材和所述目标音乐视频模板生成目标音乐视频,并展示所述目标音乐视频。
根据本公开的一个或多个实施例,示例二提供了一种音乐视频生成方法,还包括:
所述基于所述目标音乐素材和所述目标音乐视频模板生成目标音乐视频,包括:
确定所述目标音乐素材对应的视频生成片段,以及所述视频生成片段对应的片段歌词;
基于所述视频生成片段、所述片段歌词和所述目标音乐视频模板生成目标音乐视频。
根据本公开的一个或多个实施例,示例三提供了一种音乐视频生成方法,还包括:
确定所述视频生成片段对应的片段歌词,包括:
提取所述目标音乐素材中的歌词时间信息,其中,所述歌词时间信息包括歌词信息和所述歌词信息对应的时间轴;
基于所述视频生成片段和所述歌词时间信息确定所述片段歌词。
根据本公开的一个或多个实施例,示例四提供了一种音乐视频生成方法,还包括:
所述基于所述视频生成片段和所述歌词时间信息确定所述片段歌词,包括:
确定所述视频生成片段在所述目标音乐素材中的音乐素材时间段;
将所述歌词时间信息中与所述音乐素材时间段对应的歌词信息作为所述片段歌词。
根据本公开的一个或多个实施例,示例五提供了一种音乐视频生成方法,还包括:
所述确定所述目标音乐素材对应的视频生成片段,包括:
根据所述目标音乐素材的素材类型,确定所述目标音乐素材中对应的视频生成片段,其中,所述素材类型为剪辑类型或非剪辑类型。
根据本公开的一个或多个实施例,示例六提供了一种音乐视频生成方法,还包括:
所述根据所述目标音乐素材的素材类型,确定所述目标音乐素材中对应的视频生成片段,包括:
当所述目标音乐素材的素材类型为剪辑类型时,将所述目标音乐素材作为所述视频生成片段;
当所述目标音乐素材的素材类型为非剪辑类型时,提取所述目标音乐素材的副歌片段作为所述视频生成片段。
根据本公开的一个或多个实施例,示例七提供了一种音乐视频生成方法,还包括:
在响应于音乐视频编辑界面中的音乐视频生成操作之前,还包括:
展示所述音乐视频编辑界面,其中,所述音乐视频编辑界面包括素材导入控件、音乐视频模板选择控件和音乐视频生成控件;
相应的,所述响应于音乐视频编辑界面中的音乐视频生成操作,包括:
响应于对所述音乐视频生成控件的触发操作。
根据本公开的一个或多个实施例,示例八提供了一种音乐视频生成装置,包括:
音乐视频生成响应模块,用于响应于音乐视频编辑界面中的音乐视频生成操作,确定所述音乐视频生成操作对应的目标音乐素材和目标音乐视频模板;
目标音乐视频生成模块,用于基于所述目标音乐素材和所述目标音乐视频模板生成目标音乐视频并展示。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文 中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。

Claims (12)

  1. 一种音乐视频生成方法,包括:
    响应于音乐视频编辑界面中的音乐视频生成操作,确定所述音乐视频生成操作对应的目标音乐素材和目标音乐视频模板;
    基于所述目标音乐素材和所述目标音乐视频模板生成目标音乐视频,并展示所述目标音乐视频。
  2. 根据权利要求1所述的方法,其中,所述基于所述目标音乐素材和所述目标音乐视频模板生成目标音乐视频,包括:
    确定所述目标音乐素材对应的视频生成片段,以及所述视频生成片段对应的片段歌词;
    基于所述视频生成片段、所述片段歌词和所述目标音乐视频模板生成目标音乐视频。
  3. 根据权利要求2所述的方法,其中,确定所述视频生成片段对应的片段歌词,包括:
    提取所述目标音乐素材中的歌词时间信息,其中,所述歌词时间信息包括歌词信息和所述歌词信息对应的时间轴;
    基于所述视频生成片段和所述歌词时间信息确定所述片段歌词。
  4. 根据权利要求3所述的方法,其中,所述基于所述视频生成片段和所述歌词时间信息确定所述片段歌词,包括:
    确定所述视频生成片段在所述目标音乐素材中的音乐素材时间段;
    将所述歌词时间信息中与所述音乐素材时间段对应的歌词信息作为所述片段歌词。
  5. 根据权利要求2-4任一项所述的方法,其中,所述确定所述目标音乐素材对应的视频生成片段,包括:
    根据所述目标音乐素材的素材类型,确定所述目标音乐素材中对应的视频生成片段,其中,所述素材类型为剪辑类型或非剪辑类型。
  6. 根据权利要求5所述的方法,其中,所述根据所述目标音乐素材的素材类型,确定所述目标音乐素材中对应的视频生成片段,包括:
    当所述目标音乐素材的素材类型为剪辑类型时,将所述目标音乐素材作 为所述视频生成片段;
    当所述目标音乐素材的素材类型为非剪辑类型时,提取所述目标音乐素材的副歌片段作为所述视频生成片段。
  7. 根据权利要求1-6任一项所述的方法,其中,在响应于音乐视频编辑界面中的音乐视频生成操作之前,还包括:
    展示所述音乐视频编辑界面,其中,所述音乐视频编辑界面包括素材导入控件、音乐视频模板选择控件和音乐视频生成控件;
    相应的,所述响应于音乐视频编辑界面中的音乐视频生成操作,包括:
    响应于对所述音乐视频生成控件的触发操作。
  8. 根据权利要求1所述的方法,其中,所述音乐视频编辑界面为浏览器页面,所述浏览器页面还包括视频展示界面,所述展示所述目标音乐视频,包括:
    在所述视频展示界面展示所述目标音乐视频。
  9. 根据权利要求1-8任一项所述的方法,其中,所述音乐视频生成操作是通过前端触发的,所述方法还包括:
    生成音乐视频任务标识,并将所述音乐视频任务标识发送至前端,以使前端基于所述视频任务标识生成视频预览请求;
    所述展示所述目标音乐视频,包括:
    接收前端轮询发送的视频预览请求,并在生成所述目标音乐视频后,基于所述视频预览请求将所述目标音乐视频发送至前端进行展示。
  10. 一种音乐视频生成装置,包括:
    音乐视频生成响应模块,用于响应于音乐视频编辑界面中的音乐视频生成操作,确定所述音乐视频生成操作对应的目标音乐素材和目标音乐视频模板;
    目标音乐视频生成模块,用于基于所述目标音乐素材和所述目标音乐视频模板生成目标音乐视频,并展示所述目标音乐视频。
  11. 一种电子设备,包括:
    一个或多个处理器;
    存储装置,用于存储一个或多个程序,其中,
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或 多个处理器实现如权利要求1-9中任一所述的音乐视频生成方法。
  12. 一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行如权利要求1-9中任一所述的音乐视频生成方法。
PCT/CN2024/097900 2023-06-08 2024-06-07 音乐视频生成方法、装置、电子设备及存储介质 Ceased WO2024251224A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP24818755.1A EP4727143A1 (en) 2023-06-08 2024-06-07 Music video generation method and apparatus, and electronic device and storage medium
AU2024283714A AU2024283714A1 (en) 2023-06-08 2024-06-07 Music video generation method and apparatus, and electronic device and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202310679262.4 2023-06-08
CN202310679262.4A CN116708946A (zh) 2023-06-08 2023-06-08 一种音乐视频生成方法、装置、电子设备及存储介质

Publications (1)

Publication Number Publication Date
WO2024251224A1 true WO2024251224A1 (zh) 2024-12-12

Family

ID=87833493

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2024/097900 Ceased WO2024251224A1 (zh) 2023-06-08 2024-06-07 音乐视频生成方法、装置、电子设备及存储介质

Country Status (4)

Country Link
EP (1) EP4727143A1 (zh)
CN (1) CN116708946A (zh)
AU (1) AU2024283714A1 (zh)
WO (1) WO2024251224A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116708946A (zh) * 2023-06-08 2023-09-05 北京字跳网络技术有限公司 一种音乐视频生成方法、装置、电子设备及存储介质
CN119729143A (zh) * 2023-09-27 2025-03-28 北京字跳网络技术有限公司 流媒体生成方法、装置及终端设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111683209A (zh) * 2020-06-10 2020-09-18 北京奇艺世纪科技有限公司 混剪视频的生成方法、装置、电子设备及计算机可读存储介质
CN111935537A (zh) * 2020-06-30 2020-11-13 百度在线网络技术(北京)有限公司 音乐短片视频生成方法、装置、电子设备和存储介质
CN112911379A (zh) * 2021-01-15 2021-06-04 北京字跳网络技术有限公司 视频生成方法、装置、电子设备和存储介质
US20210312948A1 (en) * 2019-02-28 2021-10-07 Vertigo Media, Inc. System and Method for Compiling User-Generated Videos
CN115065840A (zh) * 2022-06-07 2022-09-16 北京达佳互联信息技术有限公司 一种信息处理方法、装置、电子设备及存储介质
CN116708946A (zh) * 2023-06-08 2023-09-05 北京字跳网络技术有限公司 一种音乐视频生成方法、装置、电子设备及存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210312948A1 (en) * 2019-02-28 2021-10-07 Vertigo Media, Inc. System and Method for Compiling User-Generated Videos
CN111683209A (zh) * 2020-06-10 2020-09-18 北京奇艺世纪科技有限公司 混剪视频的生成方法、装置、电子设备及计算机可读存储介质
CN111935537A (zh) * 2020-06-30 2020-11-13 百度在线网络技术(北京)有限公司 音乐短片视频生成方法、装置、电子设备和存储介质
CN112911379A (zh) * 2021-01-15 2021-06-04 北京字跳网络技术有限公司 视频生成方法、装置、电子设备和存储介质
CN115065840A (zh) * 2022-06-07 2022-09-16 北京达佳互联信息技术有限公司 一种信息处理方法、装置、电子设备及存储介质
CN116708946A (zh) * 2023-06-08 2023-09-05 北京字跳网络技术有限公司 一种音乐视频生成方法、装置、电子设备及存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4727143A1

Also Published As

Publication number Publication date
CN116708946A (zh) 2023-09-05
AU2024283714A1 (en) 2025-08-28
EP4727143A1 (en) 2026-04-15

Similar Documents

Publication Publication Date Title
US12592014B2 (en) Media content processing method and apparatus, device, and storage medium
WO2024251224A1 (zh) 音乐视频生成方法、装置、电子设备及存储介质
CN110769309A (zh) 用于展示音乐点的方法、装置、电子设备和介质
CN113038234B (zh) 视频的处理方法、装置、电子设备和存储介质
CN115633206A (zh) 媒体内容展示方法、装置、设备及存储介质
CN108132945A (zh) 用于生成报表的方法和装置
WO2023109813A1 (zh) 视频生成方法、装置、电子设备和存储介质
CN114363686A (zh) 多媒体内容的发布方法、装置、设备、介质和程序产品
CN115186194A (zh) 信息推荐方法、装置、电子设备及存储介质
WO2024140270A1 (zh) 特效展示方法、装置、电子设备及存储介质
WO2022184077A1 (zh) 文档编辑的方法、装置、终端及非暂时性存储介质
WO2020220773A1 (zh) 图片预览信息的显示方法、装置、电子设备及计算机可读存储介质
WO2023169356A1 (zh) 图像处理方法、装置、设备及存储介质
WO2025185040A1 (zh) 媒体内容的生成方法、装置、电子设备、存储介质和程序产品
WO2023143071A2 (zh) 内容展示方法、装置、电子设备及存储介质
CN118132056A (zh) 页面开发方法、装置、设备及存储介质
WO2025087029A1 (zh) 一种多媒体内容的播放方法、装置、电子设备及存储介质
US20240103802A1 (en) Method, apparatus, device and medium for multimedia processing
WO2022184037A1 (zh) 文档处理方法、装置、设备和介质
WO2024104336A1 (zh) 一种信息采集方法、装置、存储介质及电子设备
CN114997124A (zh) 表格内容处理方法、装置、设备、存储介质
WO2024046484A1 (zh) 视频生成方法、装置、设备、存储介质和程序产品
US20240103928A1 (en) Information processing method and apparatus for animation resource, device, medium and product
WO2025189960A1 (zh) 特效编辑方法、装置、电子设备、存储介质及程序产品
CN114520928B (zh) 显示信息生成方法、信息显示方法、装置和电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 24818755

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: AU2024283714

Country of ref document: AU

ENP Entry into the national phase

Ref document number: 2024283714

Country of ref document: AU

Date of ref document: 20240607

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 2024818755

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2024818755

Country of ref document: EP

Effective date: 20260108

ENP Entry into the national phase

Ref document number: 2024818755

Country of ref document: EP

Effective date: 20260108

ENP Entry into the national phase

Ref document number: 2024818755

Country of ref document: EP

Effective date: 20260108

ENP Entry into the national phase

Ref document number: 2024818755

Country of ref document: EP

Effective date: 20260108

ENP Entry into the national phase

Ref document number: 2024818755

Country of ref document: EP

Effective date: 20260108

WWP Wipo information: published in national office

Ref document number: 2024818755

Country of ref document: EP