Video generation method and apparatus, device, and storage medium
By obtaining text information and multimedia materials, combined with video editing draft and template matching technology, videos that meet user needs are generated, which solves user needs for diversified video generation methods and improves user experience.
Patent Information
- Application Number
- PCT/CN2023/136857
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-23
- Filing Date
- 2023-12-06
- Publication Date
- 2024-10-31
AI Technical Summary
Users' requirements for video generation methods are becoming more and more diverse, and existing technology is difficult to meet the diverse video generation needs, resulting in limited improvement in user experience.
By obtaining the text information and multimedia materials used to describe the video effect requirements, a target video that meets the video effect requirements is generated. The video effect is composed of multimedia materials, including video materials and image materials. Video editing drafts and template matching are used to achieve video generation. .
It enriches the video generation method, improves the user experience, and can generate videos that meet video effect requirements according to user needs.
Smart Images

Figure CN2023136857_31102024_PF_FP_ABST
Abstract
Description
Video generation method, device, equipment and storage medium
[0001] This application claims priority to the Chinese invention patent application filed on April 23, 2023, entitled “A video generation method, device, equipment and storage medium” and application number 202310446304.X. The entire contents of that application are incorporated by reference into this application. Technical Field
[0002] The present disclosure relates to the field of data processing, and in particular to a video generation method, apparatus, device, and storage medium. Background Art
[0003] With the continuous development of video processing technology, users' requirements for video generation methods are becoming more and more diverse. Therefore, how to enrich video generation methods to meet users' diverse video generation requirements and improve user experience is a technical problem that needs to be solved urgently.
[0004] Summary of the Invention
[0005] In order to solve the above technical problems, the present disclosure provides a video generation method, device, equipment and storage medium, which can enrich the video generation method and improve the user experience.
[0006] In a first aspect, the present disclosure provides a video generation method, the method comprising:
[0007] Obtaining first text information; wherein the first text information is used to describe video effect requirements;
[0008] Acquiring at least one multimedia material;
[0009] A target video is generated based on the first text information and the at least one multimedia material; wherein the target video presents the at least one multimedia material, the video effect of the target video meets the video effect requirements described in the first text information, and the target video is used to present a combination of at least one video clip, and the at least one video clip is formed based on each image material in the at least one multimedia material, and the each image material includes a video material and / or an image material.
[0010] In an optional implementation, generating a target video based on the first text information and the at least one multimedia material includes:
[0011] generating a video editing draft based on the first text information and the at least one multimedia material; wherein the video editing draft includes the at least one multimedia material and editing information, the editing information is used to indicate an editing operation for the at least one multimedia material, the editing operation is used to at least edit each image material in the at least one multimedia material into the at least one video clip, and the video editing effect corresponding to the editing operation and / or the at least one multimedia material meets the video effect requirements described in the first text information;
[0012] A target video is generated according to the video editing draft.
[0013] In an optional implementation manner, generating a video editing draft based on the first text information and the at least one multimedia material includes:
[0014] Determining at least one video editing template based on the first text information and the at least one multimedia material; wherein the editing effect of the at least one video editing template meets the video effect requirements described in the first text information;
[0015] Apply the editing operation indicated by the target video editing template in the at least one video editing template to the at least one multimedia material to generate a video editing draft.
[0016] In an optional implementation, determining at least one video editing template based on the first text information and the at least one multimedia material includes:
[0017] extracting feature tags of the first text information and the at least one multimedia material respectively;
[0018] At least one video editing template is obtained by matching the first text information and the feature tags of the at least one multimedia material with the available video editing templates, and the at least one video editing template includes a first video editing template that matches the feature tags of the first text information and a second video editing template that matches the feature tags of the at least one multimedia material.
[0019] In an optional implementation, obtaining at least one multimedia material includes:
[0020] Matching a first multimedia material from at least one multimedia material in a user material set based on an analysis result of the first text information;
[0021] And / or, based on the analysis result of the first text information, generating a second multimedia material from at least one multimedia material; wherein the at least one multimedia material meets the video effect requirement described in the first text information.
[0022] In an optional implementation manner, before obtaining the first text information, the method further includes:
[0023] In response to an import operation for at least one multimedia material, displaying a text input box;
[0024] Accordingly, the obtaining of the first text information includes:
[0025] Based on the text input box, first text information is received.
[0026] In an optional implementation manner, before receiving the first text message based on the text input box, the method further includes:
[0027] Displaying at least one video tag; wherein the video tag is used to represent a video effect;
[0028] Accordingly, receiving the first text information based on the text input box includes:
[0029] Based on an operation of adding a target video tag among the at least one video tag to the text input box, first text information is acquired.
[0030] In an optional implementation manner, after determining at least one video editing template based on the first text information and the at least one multimedia material, the method further includes:
[0031] Selecting a third video editing template from the at least one video editing template and presenting the template on a preview page of video editing effects, so that the preview page is used to preview a video effect obtained by importing the at least one multimedia material into the third video editing template, and an update recommendation control is provided on the preview page;
[0032] In response to the triggering operation for the update recommendation control, a fourth video editing template is selected from the at least one video editing template, and the fourth video editing template is used to replace the third video editing template presented on the preview page, so that the preview page is used to preview the video effect obtained by importing the at least one multimedia material into the fourth video editing template.
[0033] In an optional implementation manner, after determining at least one video editing template based on the first text information and the at least one multimedia material, the method further includes:
[0034] displaying a fifth video editing template among the at least one video editing template on a preview page;
[0035] In response to a text adjustment operation on the first text information on the preview page, obtaining adjusted text information;
[0036] Determining a second video editing template set based on the adjusted text information and the at least one multimedia material;
[0037] The fifth video editing template displayed on the preview page is replaced by the sixth video editing template in the second video editing template set.
[0038] In an optional implementation manner, before determining the second video editing template set based on the adjusted text information and the at least one multimedia material, the method further includes:
[0039] receiving a material adjustment operation for the at least one multimedia material, and obtaining an adjusted multimedia material;
[0040] Accordingly, determining a second video editing template set based on the adjusted text information and the at least one multimedia material includes:
[0041] A second video editing template set is determined based on the adjusted text information and the adjusted multimedia material.
[0042] In a second aspect, the present disclosure provides a video generation device, the device comprising:
[0043] A first acquisition module is configured to acquire first text information, wherein the first text information is used to describe video effect requirements;
[0044] A second acquisition module, configured to acquire at least one multimedia material;
[0045] A generation module is used to generate a target video based on the first text information and the at least one multimedia material; wherein the target video presents the at least one multimedia material, the video effect of the target video meets the video effect requirements described in the first text information, and the target video is used to present a combination of at least one video clip, and the at least one video clip is formed based on each image material in the at least one multimedia material, and the each image material includes video material and / or image material.
[0046] In a third aspect, the present disclosure provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, and when the instructions are executed on a terminal device, the terminal device implements the above method.
[0047] In a fourth aspect, the present disclosure provides a video generation device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above method when executing the computer program.
[0048] In a fifth aspect, the present disclosure provides a computer program product, which includes a computer program / instructions, and the computer program / instructions implement the above method when executed by a processor.
[0049] The technical solution provided by the embodiments of the present disclosure has at least the following advantages compared with the prior art:
[0050] The embodiments of the present disclosure provide a video generation method, specifically, obtaining first text information for describing video effect requirements, and obtaining at least one multimedia material; then, generating a target video based on the first text information and the at least one multimedia material; wherein the target video presents the at least one multimedia material, the video effect of the target video meets the video effect requirements described in the first text information, and the target video is used to present a combination of at least one video clip, wherein the at least one video clip is formed based on each image material in the at least one multimedia material, and the each image material includes a video material and / or an image material. It can be seen that the embodiments of the present disclosure can generate a target video that meets the video effect requirements described in the first text information based on obtaining the first text information and the multimedia material, thereby enriching the video generation method and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0052] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0053] FIG1 is a flow chart of a video generation method provided by an embodiment of the present disclosure;
[0054] FIG2 is a schematic diagram of a material selection page provided by an embodiment of the present disclosure;
[0055] FIG3 is a schematic diagram of another material selection page provided in an embodiment of the present disclosure;
[0056] FIG4 is a flow chart of another video generation method provided by an embodiment of the present disclosure;
[0057] FIG5 is a flowchart of another video generation method provided by an embodiment of the present disclosure;
[0058] FIG6 is a schematic diagram of a preview page provided by an embodiment of the present disclosure;
[0059] FIG7 is a schematic structural diagram of a video generating device provided by an embodiment of the present disclosure;
[0060] FIG8 is a schematic structural diagram of a video generating device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0061] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features therein can be combined with each other in the absence of conflict.
[0062] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0063] With the continuous development of video processing technology, users' requirements for video generation methods are becoming increasingly diverse. To this end, the embodiments of the present disclosure provide a video generation method that, by analyzing text information describing video effect requirements, can generate target videos that meet the required video effect, enriching the video generation methods and thus improving the user experience.
[0064] Specifically, in the video generation method provided by the embodiment of the present disclosure, first text information for describing the video effect requirements and at least one multimedia material are obtained; then, based on the first text information and the at least one multimedia material, a target video is generated. The at least one multimedia material is presented in the target video, and the video effect of the target video meets the video effect requirements described in the first text information. In addition, the target video is used to present a combination of at least one video clip, and the at least one video clip is formed based on the image material in the at least one multimedia material obtained, and the image material may include video material and / or image material. It can be seen that the embodiment of the present disclosure can generate a target video that meets the video effect requirements described in the first text information based on the acquisition of the first text information and the multimedia material, enriching the video generation method and thus improving the user experience.
[0065] Based on this, an embodiment of the present disclosure provides a video generation method. Referring to FIG1 , which is a flow chart of a video generation method provided by an embodiment of the present disclosure, the method includes:
[0066] S101: Acquire first text information.
[0067] The first text information is used to describe video effect requirements.
[0068] In the embodiment of the present disclosure, the first text information may be text information input by a user. Specifically, the method of inputting the text information is not limited. For example, the first text information may be input through voice input, keyboard input, or text information import, etc.
[0069] The first text information is text information that can describe the video effect requirements. Optionally, the video effect requirements described in the first text information can be requirements for the video style type, such as "comic style." The video effect requirements described in the first text information can also be requirements for the video display content, such as "warm summer, tender afternoon." This disclosed embodiment does not specifically limit the video effect requirements described in the first text information.
[0070] S102: Acquire at least one multimedia material.
[0071] Before generating the target video, the embodiment of the present disclosure also needs to obtain multimedia materials, which may include pictures, videos, audio, etc.
[0072] In an optional embodiment, multimedia materials can be obtained through user import. As shown in FIG2 , which is a schematic diagram of a material selection page provided in an embodiment of the present disclosure, the material selection page displays various multimedia materials in the user's material collection. Upon receiving an import operation for at least one multimedia material, the at least one imported multimedia material is obtained. Furthermore, upon receiving an import operation for at least one multimedia material, a text input box may be triggered to be displayed. As shown in FIG2 , after multimedia material 201 is imported, a text input box 202 is displayed on the material selection page. A first text message may be entered into text input box 202, thereby obtaining the first text message.
[0073] In addition, at least one video tag may also be displayed on the material selection page while the text input box is displayed. For example, multiple video tags, such as the video tag "Comic Style," are displayed below text input box 301 as shown in FIG3 . Selecting a target video tag from the displayed video tags triggers the addition of the target video tag to text input box 301, thereby obtaining the first text message. The target video tag added to text input box 301 may include one or more video tags displayed on the material selection page.
[0074] Specifically, the first text information may include only the target video tag, or only the text information input by the user, or may include both the target video tag and the text information input by the user.
[0075] In another optional implementation, at least one multimedia material may be obtained based on analysis of the first text information. Alternatively, at least one multimedia material may be matched from a user material collection based on the analysis results of the first text information. Specifically, the first text information is semantically analyzed using a natural language analysis algorithm, and based on the analysis results, at least one multimedia material is matched from the user material collection and subsequently used to generate the target video.
[0076] In addition, at least one multimedia material can be generated based on the analysis results of the first text information. Specifically, the first text information is semantically analyzed through a natural language analysis algorithm, and multimedia materials such as pictures, video clips, and audio are generated based on the analysis results, which are subsequently used to generate the target video.
[0077] In the embodiment of the present disclosure, based on the analysis result of the first text information, the multimedia materials matched from the user material set and the generated multimedia materials all meet the video effect requirements described in the first text information.
[0078] S103: Generate a target video based on the first text information and the at least one multimedia material.
[0079] Among them, the target video presents the at least one multimedia material, the video effect of the target video meets the video effect requirements described in the first text information, the target video is used to present a combination of at least one video clip, and the at least one video clip is formed based on each image material in the at least one multimedia material, and the image material includes video material and / or image material.
[0080] In the embodiment of the present disclosure, after obtaining the first text information and at least one multimedia material, the target video is generated using the first text information and the at least one multimedia material. The specific video generation method will be specifically described in subsequent embodiments and will not be repeated here.
[0081] In the video generation method provided by the embodiment of the present disclosure, first text information for describing the video effect requirements and at least one multimedia material are obtained; then, based on the first text information and the at least one multimedia material, a target video is generated. The at least one multimedia material is presented in the target video, and the video effect of the target video meets the video effect requirements described in the first text information. In addition, the target video is used to present a combination of at least one video clip, and the at least one video clip is formed based on the image material in the at least one multimedia material obtained, and the image material may include video material and / or image material. It can be seen that the embodiment of the present disclosure can generate a target video that meets the video effect requirements described in the first text information based on the acquisition of the first text information and the multimedia material, enriching the video generation method and thus improving the user experience.
[0082] On the basis of the above embodiments, the present disclosure further provides a video generation method. Referring to FIG4 , which is a flow chart of another video generation method provided by the present disclosure, the video generation method specifically includes:
[0083] S401: Acquire first text information; wherein, the first text information is used to describe video effect requirements.
[0084] S402: Acquire at least one multimedia material.
[0085] In the embodiment of the present disclosure, the method of obtaining the first text information and at least one multimedia material can be understood with reference to the above embodiment, and will not be described in detail here.
[0086] S403: Generate a video editing draft based on the first text information and the at least one multimedia material.
[0087] In which, the video editing draft includes the at least one multimedia material and editing information, the editing information is used to indicate the editing operation for the at least one multimedia material, the editing operation is at least used to edit each image material in the at least one multimedia material into the at least one video clip, and the video editing effect corresponding to the editing operation and / or the at least one multimedia material meets the video effect requirements described in the first text information.
[0088] In the embodiment of the present disclosure, after the first text information and at least one multimedia material are acquired, a video editing draft is generated based on an analysis of the first text information, or a comprehensive analysis of the first text information and the at least one multimedia material.
[0089] The video editing draft includes obtaining at least one multimedia material and editing information, the editing information being used to indicate an editing operation for the at least one multimedia material, the editing operation being used to edit at least individual image materials within the at least one multimedia material into one or more video clips, wherein a video clip may include one image material or a combination of multiple image materials. The video editing effect corresponding to the editing operation indicated by the editing information meets the video effect requirements described in the first text information, and the multimedia materials in the video editing draft also meet the video effect requirements described in the first text information.
[0090] In an optional embodiment, the editing information included in the video editing draft can be used to indicate an editing operation determined based on an analysis of the first text information. For example, if the first text information is "Warm summer, tender afternoon", then analysis of the first text information can determine that the editing operation indicated by the editing information includes adding an A filter to one or more video clips, etc.
[0091] In another optional embodiment, the editing information included in the video editing draft may be used to indicate editing operations determined based on analysis of multimedia materials imported by the user. For example, if the multimedia materials imported by the user include summer vacation photos, video clips, etc., the editing information may be used to indicate, through analysis of the multimedia materials imported by the user, that the editing operation indicated includes, for example, adding a B filter to one or more video clips.
[0092] Combining the above two implementations, the editing information included in the video editing draft can be used to indicate editing operations, which may include editing operations determined based on the analysis of the first text information and multimedia materials imported by the user. The specific methods are described in the above two implementations and will not be repeated here.
[0093] In another optional embodiment, the editing information included in the video editing draft can be used to indicate editing operations, including editing operations indicated by a target video editing template, wherein the editing operations indicated by the target video editing template are used to edit the acquired multimedia material. The target video editing template can be a video editing template selected by the user or a video editing template determined based on analysis of the first text information. The target video editing template is described in detail in subsequent embodiments.
[0094] S404: Generate a target video according to the video editing draft.
[0095] In an embodiment of the present disclosure, after a video editing draft is generated based on the acquired first text information and multimedia material, further editing operations may be performed on the video editing draft, such as adjusting all or part of the editing information in the video editing draft.
[0096] In an optional embodiment, a video editing draft is displayed on a preview page, and in response to an export operation for the video editing operation, a target video is generated based on the video editing draft, wherein the video effect of the exported target video meets the video effect requirement described in the first text information.
[0097] In the video generation method provided by the embodiments of the present disclosure, after obtaining first text information describing the video effect requirements and multimedia materials, a video editing draft is generated based on the first text information and multimedia materials. Furthermore, a target video that meets the video effect requirements described in the first text information is generated based on the video editing draft. Thus, the embodiments of the present disclosure generate video editing operations based on the first text information and multimedia materials, and then generate a target video that meets the video effect requirements described in the first text information based on the video editing draft, thereby enriching the video generation method and improving the user experience.
[0098] Based on the above embodiments, the present disclosure further provides a video generation method. Referring to FIG5 , which is a flow chart of another video generation method provided by the present disclosure, the video generation method includes:
[0099] S501: Acquire first text information; wherein the first text information is used to describe video effect requirements;
[0100] S502: Acquire at least one multimedia material.
[0101] In the embodiment of the present disclosure, the method of obtaining the first text information and at least one multimedia material can still be understood with reference to the above embodiment, and will not be repeated here.
[0102] S503: Determine at least one video editing template based on the first text information and the at least one multimedia material.
[0103] The editing effect of the at least one video editing template meets the video effect requirement described in the first text information.
[0104] In an optional embodiment, after obtaining the first text information and multimedia material, the feature tags of the first text information and the multimedia material are extracted respectively, and then, based on the feature tags of the first text information and the at least one multimedia material, they are matched with the available video editing templates to obtain at least one video editing template, and the at least one video editing template includes a first video editing template that matches the feature tags of the first text information and a second video editing template that matches the feature tags of the at least one multimedia material.
[0105] In an optional embodiment, the feature tags corresponding to the first text information and the multimedia material are matched with available video editing templates in a template library to obtain at least one successfully matched video editing template, wherein the editing effect of the successfully matched video editing template meets the video effect requirements described in the first text information.
[0106] Furthermore, after obtaining the video editing template that matches the feature tag of the first text information and the video editing template that matches the feature tag of the multimedia material, the video editing templates corresponding to the two are mixed, and the mixed video editing templates can be displayed on the preview page.
[0107] As shown in Figure 6, a schematic diagram of a preview page provided in an embodiment of the present disclosure is shown, wherein a preset number of video editing templates are displayed in the lower area 601 of the preview page. The preset number of video editing templates is determined based on the acquired first text information and at least one multimedia material. The user can trigger the display of more video editing templates on the preview page by swiping horizontally in the lower area 601. For example, a swipe to the left can trigger the display of more video editing templates from the right side of the preview page. The video editing templates that are pulled out for display are also determined based on the acquired first text information and at least one multimedia material.
[0108] In an optional embodiment, a third video editing template is selected from at least one acquired video editing template and presented on a preview page of the video editing effect, so that the preview page is used to preview the video effect obtained by importing at least one acquired multimedia material into the third video editing template, and an update recommendation control is provided on the preview page; wherein, the third video editing template can be any selected video editing template displayed on the preview page.
[0109] In response to a triggering operation on the update recommendation control, a fourth video editing template is selected from the at least one video editing template, and the fourth video editing template is used to replace the third video editing template presented on the preview page, so that the preview page is used to preview the video effect obtained by importing the at least one multimedia material into the fourth video editing template. The fourth video editing template used to replace the third video editing template can be one of the at least one video editing templates determined based on the first text information and the at least one acquired multimedia material.
[0110] In an optional implementation, if the video editing template displayed on the preview page cannot meet the current user's requirements for the video editing template, then the current user can trigger the update display of the video editing template displayed on the preview page by triggering the "change batch" control 602 set on the preview page.
[0111] Specifically, the first video editing template in the first video editing template set is displayed on the preview page. The first video editing template set is composed of at least one video editing template determined based on the first text information and at least one multimedia material. A preset number of video editing templates in the first video editing template set are displayed on the preview page. As shown in FIG6 , the lower area 601 of the preview page displays a preset number of video editing templates, including the first video editing template. The first video editing template can be any video editing template displayed on the preview page. In response to a trigger operation for an update recommendation control on the preview page (as shown in FIG6 , a "change batch" control 602), the first video editing template displayed on the preview page is replaced with a second video editing template in the first video editing template set. That is, in response to a trigger operation for an update recommendation control on the preview page, the video editing template currently displayed on the preview page is replaced with a preset number of video editing templates in the first video editing template set, thereby updating the video editing template so that the user can generate a target video based on the updated video editing template displayed on the preview page.
[0112] S504: Apply the editing operation indicated by the target video editing template in the at least one video editing template to the at least one multimedia material to generate a video editing draft.
[0113] In an embodiment of the present disclosure, in response to a selection operation of a target video editing template among at least one video editing template displayed on a preview page, the editing operation indicated by the target video editing template is applied to the acquired multimedia material to generate a video editing operation.
[0114] In actual applications, users can also trigger switching operations for video editing templates. Specifically, the preview effect of the video editing draft applying any video editing template (such as video editing template A) is displayed in the preview window 603 on the preview page. Users can trigger the preview effect of the video editing draft applying video editing template B in the preview window 603 by selecting other video editing templates (such as video editing template B).
[0115] In another optional implementation, on the preview page, the user can also make adjustments to the first text information based on the preview effect of the video editing draft, so as to generate a video editing draft that meets the user's video effect requirements.
[0116] Specifically, a video editing template determined based on the initial first text information and multimedia material is displayed on the preview page. After receiving a text adjustment operation on the initial first text information, the adjusted text information is obtained. Then, based on the adjusted text information and multimedia material, a video editing template that meets the video effect requirements described in the adjusted text information is re-determined. The user can generate a video editing draft that meets the video effect requirements described in the adjusted text information based on the re-determined video editing template.
[0117] In one optional embodiment, a fifth video editing template from the at least one video editing template is displayed on the preview page; the fifth video editing template is any video editing template determined based on the first text information and the multimedia material. In response to a text adjustment operation on the first text information on the preview page, adjusted text information is obtained; then, based on the adjusted text information and the multimedia material, a second video editing template set is redefined; and the fifth video editing template displayed on the preview page is replaced with a sixth video editing template from the second video editing template set. The sixth video editing template is any video editing template redefined based on the adjusted text information and the multimedia material.
[0118] Based on the above content, on the preview page, the user can also adjust not only the first text information but also the multimedia material according to the preview effect of the video editing draft, so as to generate a video editing draft that meets the user's video effect requirements.
[0119] In one optional embodiment, a material adjustment operation is received for initial multimedia material to obtain adjusted multimedia material; the adjusted multimedia material may include all or part of the multimedia material in the initial multimedia material, and the material adjustment operation may include operations such as adding, deleting, or replacing the material in the initial multimedia material. A second set of video editing templates is determined based on the adjusted text information and the adjusted multimedia material. The video editing templates in the second set of video editing templates are newly determined based on the first text information (or the adjusted text information) and the adjusted multimedia material.
[0120] S505: Generate a target video according to the video editing draft.
[0121] In the disclosed embodiment, after generating a video editing draft, the target video can be generated by triggering an export operation on the video editing draft. In addition, the generated target video can be saved locally or in the cloud, or a publishing operation can be triggered for the target video.
[0122] In the video generation method provided by the embodiment of the present disclosure, a video editing template that meets the video effect requirements is determined based on text information and multimedia materials that describe the video effect requirements, and then the target video is generated based on the video editing template, which enriches the video generation method and improves the user experience.
[0123] Based on the above method embodiment, the present disclosure further provides a video generation device. Referring to FIG7 , which is a schematic structural diagram of a video generation device provided in an embodiment of the present disclosure, the device includes:
[0124] The first acquisition module 701 is used to acquire first text information; wherein the first text information is used to describe the video effect requirements;
[0125] A second acquisition module 702 is configured to acquire at least one multimedia material;
[0126] Generation module 703 is used to generate a target video based on the first text information and the at least one multimedia material; wherein, the target video presents the at least one multimedia material, the video effect of the target video meets the video effect requirements described in the first text information, and the target video is used to present a combination of at least one video clip, and the at least one video clip is formed based on each image material in the at least one multimedia material, and the each image material includes video material and / or image material.
[0127] In an optional implementation, the generating module includes:
[0128] A first generation submodule is configured to generate a video editing draft based on the first text information and the at least one multimedia material; wherein the video editing draft includes the at least one multimedia material and editing information, the editing information is configured to indicate an editing operation for the at least one multimedia material, the editing operation is configured to at least edit each image material in the at least one multimedia material into the at least one video clip, and the video editing effect corresponding to the editing operation and / or the at least one multimedia material meets the video effect requirements described in the first text information;
[0129] The second generating submodule is used to generate a target video according to the video editing draft.
[0130] In an optional implementation, the second generation submodule includes:
[0131] A first determining submodule is configured to determine at least one video editing template based on the first text information and the at least one multimedia material; wherein the editing effect of the at least one video editing template meets the video effect requirements described in the first text information;
[0132] The third generating submodule is configured to apply the editing operation indicated by the target video editing template in the at least one video editing template to the at least one multimedia material to generate a video editing draft.
[0133] In an optional implementation, the first determining submodule includes:
[0134] an extraction submodule, configured to extract feature tags of the first text information and the at least one multimedia material respectively;
[0135] The first matching submodule is used to match the available video editing templates based on the first text information and the feature tags of the at least one multimedia material to obtain at least one video editing template, wherein the at least one video editing template includes a first video editing template that matches the feature tags of the first text information and a second video editing template that matches the feature tags of the at least one multimedia material.
[0136] In an optional implementation, the second acquisition module includes:
[0137] a second matching submodule, configured to match a first multimedia material from at least one multimedia material in a user material set based on an analysis result of the first text information;
[0138] and / or,
[0139] The fourth generating submodule is configured to generate a second multimedia material from at least one multimedia material based on the analysis result of the first text information; wherein the at least one multimedia material meets the video effect requirement described in the first text information.
[0140] In an optional embodiment, the device further includes:
[0141] A first display module, configured to display a text input box in response to an import operation on at least one multimedia material;
[0142] Accordingly, the first acquisition module is specifically configured to:
[0143] Based on the text input box, first text information is received.
[0144] In an optional embodiment, the device further includes:
[0145] A second display module is configured to display at least one video tag; wherein the video tag is configured to represent a video effect;
[0146] Accordingly, the first acquisition module is specifically configured to:
[0147] Based on an operation of adding a target video tag among the at least one video tag to the text input box, first text information is acquired.
[0148] In an optional embodiment, the device further includes:
[0149] a third display module, configured to select a third video editing template from the at least one video editing template and present the template on a preview page of the video editing effect, so that the preview page is used to preview the video effect obtained by importing the at least one multimedia material into the third video editing template, and an update recommendation control is provided on the preview page;
[0150] The first replacement module is used to select a fourth video editing template from the at least one video editing template in response to a trigger operation for the update recommendation control, and use the fourth video editing template to replace the third video editing template presented on the preview page, so that the preview page is used to preview the video effect obtained by importing the at least one multimedia material into the fourth video editing template.
[0151] In an optional embodiment, the device further includes:
[0152] a fourth display module, configured to display a fifth video editing template among the at least one video editing template on a preview page;
[0153] a first adjustment module, configured to obtain adjusted text information in response to a text adjustment operation on the first text information on the preview page;
[0154] A first determining module, which determines a second video editing template set based on the adjusted text information and the at least one multimedia material;
[0155] The second replacement module is used to replace the fifth video editing template displayed on the preview page with the sixth video editing template in the second video editing template set.
[0156] In an optional embodiment, the device further includes:
[0157] a second adjustment module, configured to receive a material adjustment operation for the at least one multimedia material and obtain an adjusted multimedia material;
[0158] Accordingly, the first base determination module is specifically configured to:
[0159] A second video editing template set is determined based on the adjusted text information and the adjusted multimedia material.
[0160] The video generation device provided by the embodiment of the present disclosure obtains first text information for describing video effect requirements, and obtains at least one multimedia material; then, based on the first text information and the at least one multimedia material, a target video is generated; wherein the at least one multimedia material is presented in the target video, the video effect of the target video meets the video effect requirements described in the first text information, and the target video is used to present a combination of at least one video clip, and the at least one video clip is formed based on each image material in the at least one multimedia material, and the each image material includes a video material and / or an image material. It can be seen that the embodiment of the present disclosure can generate a target video that meets the video effect requirements described in the first text information based on the acquisition of the first text information and the multimedia material, enriching the video generation method and thus improving the user experience.
[0161] In addition to the above-mentioned method and apparatus, the embodiments of the present disclosure further provide a computer-readable storage medium, which stores instructions. When the instructions are executed on a terminal device, the terminal device implements the video generation method described in the embodiments of the present disclosure.
[0162] The embodiments of the present disclosure further provide a computer program product, which includes a computer program / instructions. When the computer program / instructions are executed by a processor, the video generation method described in the embodiments of the present disclosure is implemented.
[0163] In addition, the embodiment of the present disclosure further provides a video generating device, as shown in FIG8 , which may include:
[0164] Processor 801, memory 802, input device 803, and output device 804. The number of processors 801 in the video generation device can be one or more, and Figure 8 uses one processor as an example. In some embodiments of the present disclosure, the processor 801, memory 802, input device 803, and output device 804 can be connected via a bus or other means, wherein Figure 8 uses the bus connection as an example.
[0165] The memory 802 can be used to store software programs and modules. The processor 801 executes the various functional applications and data processing of the video generation device by running the software programs and modules stored in the memory 802. The memory 802 may primarily include a program storage area and a data storage area. The program storage area may store an operating system, at least one application required for a function, and the like. Furthermore, the memory 802 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state memory device. The input device 803 may be used to receive input digital or character information and generate signal input related to user settings and function control of the video generation device.
[0166] Specifically in this embodiment, the processor 801 will load the executable files corresponding to the processes of one or more applications into the memory 802 according to the following instructions, and the processor 801 will run the applications stored in the memory 802, thereby realizing the various functions of the above-mentioned video generation device.
[0167] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.
[0168] The foregoing description is intended only to provide specific embodiments of the present disclosure, intended to enable those skilled in the art to understand and implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the embodiments described herein, but rather to be construed in the broadest manner consistent with the principles and novel features disclosed herein.
Claims
1. A video generation method, It is characterized in that The method comprises: Acquire first text information; wherein the first text information is used to describe video effect requirements; Acquiring at least one multimedia material; A target video is generated based on the first text information and the at least one multimedia material; wherein the target video presents the at least one multimedia material, the video effect of the target video meets the video effect requirement described in the first text information, and the target video is used to present a combination of at least one video clip, wherein the at least one video clip is formed based on each image material in the at least one multimedia material, and the each image material includes a video material and / or an image material.
2. The method according to claim 1, It is characterized in that The step of generating a target video based on the first text information and the at least one multimedia material includes: Based on the first text information and the at least one multimedia material, a video editing draft is generated; wherein the video editing draft includes the at least one multimedia material and editing information, the editing information is used to indicate an editing operation for the at least one multimedia material, and the editing operation is at least used to edit each image material in the at least one multimedia material into the at least one video clip; the video editing effect corresponding to the editing operation and / or the at least one multimedia material meets the video effect requirements described in the first text information; A target video is generated according to the video editing draft.
3. The method according to claim 1, It is characterized in that The step of generating a video editing draft based on the first text information and the at least one multimedia material includes: Determine at least one video editing template based on the first text information and the at least one multimedia material; wherein the editing effect of the at least one video editing template meets the video effect requirement described in the first text information; The editing template indicated by the target video editing template in the at least one video editing template The editing operation is applied to the at least one multimedia material to generate a video editing draft.
4. The method according to claim 3, It is characterized in that The determining at least one video editing template based on the first text information and the at least one multimedia material includes: extracting feature tags of the first text information and the at least one multimedia material respectively; At least one video editing template is obtained by matching the feature tags of the first text information and the at least one multimedia material with the available video editing templates, wherein the at least one video editing template includes a first video editing template that matches the feature tags of the first text information and a second video editing template that matches the feature tags of the at least one multimedia material.
5. The method according to claim 1, It is characterized in that The obtaining of at least one multimedia material comprises: Based on the analysis result of the first text information, matching a first multimedia material from at least one multimedia material in the user material set; and / or, Based on the analysis result of the first text information, a second multimedia material in at least one multimedia material is generated; wherein the at least one multimedia material meets the video effect requirement described in the first text information.
6. The method according to claim 1, It is characterized in that Before obtaining the first text information, the method further includes: In response to an import operation for at least one multimedia material, displaying a text input box; Correspondingly, the obtaining of the first text information includes: Based on the text input box, first text information is received.
7. The method according to claim 6, It is characterized in that Before receiving the first text message based on the text input box, the method further includes: Displaying at least one video tag; wherein the video tag is used to represent the video effect; Correspondingly, receiving the first text information based on the text input box includes: Based on adding a target video tag in the at least one video tag to the text Operation of the input box to obtain the first text information.
8. The method according to claim 3, It is characterized in that After determining at least one video editing template based on the first text information and the at least one multimedia material, the method further includes: Selecting a third video editing template from the at least one video editing template and presenting it on a preview page of video editing effects, so that the preview page is used to preview the video effect obtained by importing the at least one multimedia material into the third video editing template, and an update recommendation control is provided on the preview page; In response to a trigger operation for the update recommendation control, a fourth video editing template is selected from the at least one video editing template, and the fourth video editing template is used to replace the third video editing template presented on the preview page, so that the preview page is used to preview the video effect obtained by importing the at least one multimedia material into the fourth video editing template.
9. The method according to claim 3, It is characterized in that After determining at least one video editing template based on the first text information and the at least one multimedia material, the method further includes: Displaying a fifth video editing template among the at least one video editing template on a preview page; In response to a text adjustment operation on the first text information on the preview page, obtaining adjusted text information; Determining a second video editing template set based on the adjusted text information and the at least one multimedia material; The fifth video editing template displayed on the preview page is replaced by the sixth video editing template in the second video editing template set.
10. The method according to claim 9, It is characterized in that Before determining the second video editing template set based on the adjusted text information and the at least one multimedia material, the method further includes: receiving a material adjustment operation for the at least one multimedia material, and obtaining an adjusted multimedia material; Accordingly, determining a second video editing template set based on the adjusted text information and the at least one multimedia material includes: Based on the adjusted text information and the adjusted multimedia material, a second video editing template set is determined.
11. A video generating device, It is characterized in that The device comprises: A first acquisition module is used to acquire first text information; wherein the first text information is used to describe video effect requirements; A second acquisition module, used to acquire at least one multimedia material; A generation module is used to generate a target video based on the first text information and the at least one multimedia material; wherein the target video presents the at least one multimedia material, the video effect of the target video meets the video effect requirements described in the first text information, and the target video is used to present a combination of at least one video clip, wherein the at least one video clip is formed based on each image material in the at least one multimedia material, and the each image material includes a video material and / or an image material.
12. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores instructions, and when the instructions are executed on a terminal device, the terminal device implements the method according to any one of claims 1 to 10.
13. A video processing device, It is characterized in that include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method according to any one of claims 1 to 10 is implemented.
Citation Information
Patent Citations
Method and device for generating edited video
CN110996017A
Video generation method and device, equipment and storage medium
CN113518160A
Video editing method and device, equipment and storage medium
CN115442539A
Template-based multimedia editor and editing method thereof
US20070083851A1
Video editing system and method
US20180096708A1
