Video generation method and device, equipment and medium
By entering video style and shooting summary information, the video generation method of displaying matching shooting scenes and material information is solved, and the problem of cumbersome acquisition of material information in short video shooting is improved, and the shooting efficiency and video quality are improved.
Patent Information
- Application Number
- CN202311279283.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-28
- Publication Date
- 2025-03-28
AI Technical Summary
During the process of shooting short videos, users need to manually set the shooting material information of each shooting scene. The operation is cumbersome and may not be comprehensive enough, resulting in low shooting efficiency and unsatisfactory video effects.
Provides a video generation method, by inputting video style and shooting summary information, displaying the shooting editing interface, including matching shooting scenes and material information. Users can shoot based on this information and generate target video.
It simplifies the process of obtaining shooting material information, improves shooting efficiency and video quality, and meets users' needs for video effects.
Smart Images

Figure CN119729150A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of artificial intelligence technology, and in particular to a video generation method, device, equipment and medium. Background Art
[0002] At present, short videos are widely used in all walks of life. For example, users shoot short video stories related to an item in order to promote the item.
[0003] However, in the process of shooting short videos, users are required to set the shooting material information corresponding to each shooting scene, such as shooting background, character dialogue, character props, etc. The operation is rather cumbersome, and the manually set shooting material information may not be comprehensive enough, resulting in low short video shooting efficiency and the shooting video effect fails to meet the needs. Summary of the invention
[0004] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a video generation method, device, equipment and medium.
[0005] The present disclosure provides a video generation method, the method comprising:
[0006] In response to the input video style and shooting summary information, displaying a shooting editing interface, wherein the shooting editing interface includes: at least one shooting scene, and shooting material information corresponding to the shooting scene, wherein the shooting material information matches the video style and the shooting summary information and is used to indicate multimedia information required for the shooting scene when shooting;
[0007] Acquire shooting setting information corresponding to the at least one shooting scene;
[0008] In response to a shooting trigger operation on the shooting editing interface, shooting is performed based on the shooting setting information and the shooting material information corresponding to the at least one shooting scene to generate a target video.
[0009] In an optional implementation manner, the method further includes:
[0010] Acquire at least one shooting scene based on the scene processing instruction and the video style feedback, and shooting material information corresponding to the shooting scene;
[0011] The scene processing instruction is generated based on the shooting summary information and preset shooting scene elements.
[0012] In an optional implementation manner, the shooting material information includes: environment description information and character dialogue information, wherein:
[0013] The environment description information and the character dialogue information are extracted from the original text information by parsing the scene processing instructions to obtain original text information based on a first model that matches the video style.
[0014] In an optional implementation manner, the shooting material information further includes: shooting background, wherein:
[0015] The shooting background is generated by processing the environment description information based on a second model that matches the video style, wherein the shooting background includes: an image background or a video background.
[0016] In an optional implementation manner, the shooting material information further includes: character props, wherein:
[0017] The character props are generated by processing the character description information extracted from the original text information based on a second model that matches the video style.
[0018] In an optional implementation manner, the shooting material information corresponding to the shooting scene displayed on the shooting editing interface includes:
[0019] In response to a selection operation of a target shooting scene in the at least one shooting scene, displaying target environment description information and target character dialogue information corresponding to the target shooting scene in a first area in the shooting editing interface, wherein the shooting duration of the target shooting scene is determined based on the length of the target character dialogue information; and
[0020] A target shooting background corresponding to the target scene is displayed in a second area in the shooting editing interface, wherein the target shooting background matches the environmental description information.
[0021] In an optional implementation manner, the method further includes:
[0022] In response to a modification and update operation on the target environment description information, updating and displaying a target shooting background matching the modified target environment description information in the second area;
[0023] and / or,
[0024] In response to the modification and update operation on the target character dialogue information, the shooting duration of the target shooting scene is updated based on the length of the modified target character dialogue information.
[0025] In an optional implementation manner, displaying a role indication area on the target shooting background further includes:
[0026] In response to a triggering operation on a role setting control in the shooting editing interface, acquiring role characteristic information set corresponding to the role indication area;
[0027] The target character is determined according to the character feature information, and the target character is associated with the character indication area and displayed during shooting.
[0028] In an optional implementation manner, the method further includes:
[0029] In response to the scene adding operation, adding a new shooting scene and shooting material information corresponding to the new shooting scene to the shooting editing interface; and / or,
[0030] In response to a deletion operation on a target shooting scene in the at least one shooting scene, the target shooting scene and target shooting material information corresponding to the target shooting scene are deleted in the shooting editing interface.
[0031] In an optional implementation manner, the shooting setting information includes: a continuous mode and an interval mode, and the shooting based on the shooting setting information corresponding to the at least one shooting scene and the shooting material information includes:
[0032] In response to setting the plurality of shooting scenes to the continuous mode, automatically switching to the next shooting scene after the shooting time of the current shooting scene is reached based on the shooting material information of the current shooting scene, and continuing shooting based on the shooting material information of the next shooting scene;
[0033] or,
[0034] In response to setting multiple shooting scenes to the interval mode, shooting is stopped after the shooting time of the current shooting scene is reached based on the shooting material information of the current shooting scene, and the next shooting scene is jumped to based on the switching instruction of the next shooting scene, and shooting is continued based on the shooting material information of the next shooting scene.
[0035] In an optional implementation manner, the shooting setting information includes: a character prop mode, and the shooting based on the shooting setting information corresponding to the at least one shooting scene and the shooting material information includes:
[0036] In response to setting the target character to a partial prop mode, rendering the partial props and the target character during shooting; or,
[0037] In response to setting the target character to the all-props mode, the target character is subjected to matting technology processing during shooting, and the matting result and all the props are rendered; or,
[0038] In response to setting the target character to the virtual prop mode, the virtual prop is controlled and processed according to the skeletal movement information of the reference character during shooting.
[0039] In an optional implementation manner, the shooting setting information includes: a person mode and an empty shot mode, and the shooting based on the shooting setting information corresponding to the at least one shooting scene and the shooting material information includes:
[0040] In response to setting the target shooting scene to the person mode, when shooting, the background picture or background video corresponding to the target shooting scene is set as the background, and the person in the camera is placed in the foreground; or
[0041] In response to setting the target shooting scene to the empty shot mode, the background picture or background video corresponding to the target shooting scene is set as the foreground during shooting, and the person in the camera is hidden in the shooting scene.
[0042] The present disclosure also provides a video generation device, the device comprising:
[0043] A display module is used to display a shooting editing interface in response to the input video style and shooting summary information, wherein the shooting editing interface includes: at least one shooting scene, and shooting material information corresponding to the shooting scene, wherein the shooting material information matches the video style and the shooting summary information, and is used to indicate the multimedia information required for the shooting scene when shooting;
[0044] A first acquisition module, used to acquire shooting setting information corresponding to the at least one shooting scene;
[0045] A generation module is used to respond to a shooting trigger operation on the shooting editing interface, shoot based on the shooting setting information corresponding to the at least one shooting scene and the shooting material information to generate a target video.
[0046] An embodiment of the present disclosure also provides an electronic device, comprising: a processor; a memory for storing executable instructions of the processor; the processor is used to read the executable instructions from the memory and execute the instructions to implement the video generation method provided in the embodiment of the present disclosure.
[0047] The embodiment of the present disclosure further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is used to execute the video generation method provided by the embodiment of the present disclosure.
[0048] Compared with the prior art, the technical solution provided by the disclosed embodiment has the following advantages: the video generation solution provided by the disclosed embodiment displays a shooting editing interface in response to the input video style and shooting summary information, wherein the shooting editing interface includes: at least one shooting scene, and shooting material information corresponding to the shooting scene, wherein the shooting material information matches the video style and shooting summary information, and is used to indicate the multimedia information required for the shooting scene when shooting; obtaining shooting setting information corresponding to at least one shooting scene; in response to the shooting trigger operation on the shooting editing interface, shooting is performed based on the shooting setting information and shooting material information corresponding to at least one shooting scene to generate a target video. With the above technical solution, the user only needs to input the shooting summary information and select the video style to obtain the multimedia information required for shooting, which improves the effect and efficiency of obtaining the shooting material information, and based on the user's trigger, the target video can be generated by shooting according to the shooting setting information and shooting material information corresponding to the shooting scene, which further improves the video shooting effect under the video scene and meets the user's use needs. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0050] Figure 1 A schematic diagram of a flow chart of a video generation method provided by an embodiment of the present disclosure;
[0051] Figure 2 A flowchart of another video generation method provided by an embodiment of the present disclosure;
[0052] Figure 3a A schematic diagram of a video style provided by an embodiment of the present disclosure;
[0053] Figure 3b A schematic diagram of a shooting summary information input page provided in an embodiment of the present disclosure;
[0054] Figure 4a A schematic diagram of a shooting and editing interface provided by an embodiment of the present disclosure;
[0055] Figure 4b A schematic diagram of another shooting and editing interface provided by an embodiment of the present disclosure;
[0056] Figure 4c A schematic diagram of another shooting and editing interface provided by an embodiment of the present disclosure;
[0057] Figure 5aA schematic diagram of a video shooting interface provided by an embodiment of the present disclosure;
[0058] Figure 5b A schematic diagram of another shooting interface provided by an embodiment of the present disclosure;
[0059] Figure 6a A schematic diagram of another shooting and editing interface provided by an embodiment of the present disclosure;
[0060] Figure 6b A schematic diagram of another video shooting interface provided by an embodiment of the present disclosure;
[0061] Figure 7 A schematic diagram of the structure of a video generating device provided by an embodiment of the present disclosure;
[0062] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0063] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0064] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0065] The term "including" and its variations used herein are open inclusions, 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.
[0066] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0067] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0068] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0069] Figure 1 The flowchart of a video generation method provided by an embodiment of the present disclosure is shown in FIG. 1 , which can be executed by a video generation device, wherein the device can be implemented by software and / or hardware and can generally be integrated in an electronic device. Figure 1 As shown, the method includes:
[0070] Step 101: In response to input video style and shooting summary information, a shooting editing interface is displayed, wherein the shooting editing interface includes: at least one shooting scene, and shooting material information corresponding to the shooting scene, wherein the shooting material information matches the video style and the shooting summary information, and is used to indicate the multimedia information required for the shooting scene during shooting.
[0071] Among them, the video style can determine the picture style of the generated video. For example, if the video style is magic style, the picture style of the generated video is a magic-type video picture; wherein the video style can be a pre-trained video style model provided to the user for selection, such as a video style model trained by related subjects, or a video style model generated by training data provided by a specific user (such as a user with subject features).
[0072] The disclosed embodiments do not limit the method for inputting video styles. For example, a plurality of different video styles, such as magic style, pastoral style, etc., are displayed on a display interface, and a user's selection of any one of the video styles is received and determined as the input video style. Another example is that a video style input control is displayed on a display interface, a user triggers the video style input control, and a file of related video styles is imported to determine the input video style.
[0073] In the disclosed embodiment, the shooting summary information can be input according to the actual shooting scene requirements. The disclosed embodiment does not limit the input method of the shooting summary information. For example, an input box is displayed on the display interface, and an example "generate a story about little A riding a pig to fly" is displayed below the input box, so that the user can enter the shooting summary information in the input box, such as "fighting the elves and wizards in the castle ruins"; for another example, the user inputs the shooting summary information "generate a story about little B making trouble in heaven" through voice.
[0074] In the disclosed embodiment, the shooting editing interface is displayed to include at least one shooting scene, and shooting material information corresponding to the shooting scene, wherein the shooting material information is used to indicate the multimedia information required for the shooting scene during shooting, such as one or more of the environment description information, character dialogue information, shooting background (image background or video background), character props, etc.
[0075] In the disclosed embodiment, the shooting material information is matched with the video style and the shooting summary information. That is, the video style and the shooting summary information may be sent to a server, and the server determines at least one shooting scene and the shooting material information corresponding to each shooting scene according to the video style and the shooting summary information. The video style and the shooting summary information may also be sent to a server, and the server generates a scene processing instruction according to the shooting summary information and preset shooting scene elements, and then determines at least one shooting scene and the shooting material information corresponding to each shooting scene according to the video style and the scene processing instruction.
[0076] In an embodiment of the present disclosure, a shooting editing interface is displayed in response to input video style and shooting summary information, including: receiving the video style based on a user's selection operation on a preset video style list on a display page, and receiving shooting summary information based on text information input by the user into a text input box on the display page, acquiring one or more shooting scenes matching the video style and the shooting summary information, and shooting material information corresponding to each shooting scene, and displaying them on the shooting editing interface.
[0077] In the embodiments of the present disclosure, there are many ways to display the shooting material information corresponding to the shooting scene on the shooting editing interface. In some embodiments, in response to the selection operation of the target shooting scene in at least one shooting scene, the target environment description information and the target character dialogue information corresponding to the target shooting scene are displayed in the first area of the shooting editing interface, and the target shooting background corresponding to the target scene is displayed in the second area of the shooting editing interface. In other embodiments, in response to the selection operation of the target shooting scene in at least one shooting scene, the target shooting background and character props corresponding to the target scene are displayed in the shooting editing interface, and the target environment description information corresponding to the target shooting scene is voice broadcast. The above methods are only examples of the shooting material information corresponding to the shooting scene displayed on the shooting editing interface, and the present disclosure does not specifically limit the methods of displaying the shooting material information corresponding to the shooting scene on the shooting editing interface.
[0078] Step 102: Acquire shooting setting information corresponding to at least one shooting scene.
[0079] The shooting setting information includes one or more of continuous mode, interval mode, role prop mode, person mode and empty shot mode, and one shooting scene may correspond to one or more of the shooting setting information.
[0080] In the embodiments of the present disclosure, there are many ways to obtain shooting setting information corresponding to at least one shooting scene, such as obtaining multiple shooting scene settings as continuous mode and target character settings as partial prop mode; another example is obtaining multiple shooting scene settings as interval mode, target character settings as virtual prop mode and target shooting scene settings as empty shot mode; the specific settings are selected according to the actual application scenario.
[0081] Step 103: In response to a shooting trigger operation on the shooting editing interface, shooting is performed based on shooting setting information and shooting material information corresponding to at least one shooting scene to generate a target video.
[0082] In the disclosed embodiments, there are many ways to perform shooting based on shooting setting information and shooting material information corresponding to at least one shooting scene. In a first embodiment, in response to setting multiple shooting scenes to a continuous mode, after the shooting time of the current shooting scene is reached based on the shooting material information of the current shooting scene, the shooting is automatically switched to the next shooting scene, and shooting is continued based on the shooting material information of the next shooting scene; in a second embodiment, in response to setting multiple shooting scenes to an interval mode, after the shooting time of the current shooting scene is reached based on the shooting material information of the current shooting scene, shooting is stopped, and the next shooting scene is jumped to based on the switching instruction of the next shooting scene, and shooting is continued based on the shooting material information of the next shooting scene.
[0083] In a third embodiment, in response to setting the target character to partial prop mode, partial props and the target character are rendered during shooting; in a fourth embodiment, in response to setting the target character to full prop mode, the target character is processed by matting technology during shooting, and the matting result and all props are rendered. In a fifth embodiment, in response to setting the target character to virtual prop mode, the virtual props are controlled according to the skeletal motion information of the reference character during shooting.
[0084] In a sixth embodiment, in response to setting the target shooting scene to a person mode, the background picture or background video corresponding to the target shooting scene is set as the background during shooting, and the person in the camera is placed in the foreground; in a seventh embodiment, in response to setting the target shooting scene to an empty mirror mode, the background picture or background video corresponding to the target shooting scene is set as the foreground during shooting, and the person in the camera is hidden in the shooting scene.
[0085] The above is merely an example of a method of shooting based on shooting setting information and shooting material information corresponding to at least one shooting scene. The embodiments of the present disclosure do not specifically limit the method of shooting based on shooting setting information and shooting material information corresponding to at least one shooting scene.
[0086] The video generation solution provided by the disclosed embodiment displays a shooting editing interface in response to the input video style and shooting summary information, wherein the shooting editing interface includes: at least one shooting scene, and shooting material information corresponding to the shooting scene, wherein the shooting material information matches the video style and shooting summary information, and is used to indicate the multimedia information required for the shooting scene when shooting; obtaining shooting setting information corresponding to at least one shooting scene; in response to a shooting trigger operation on the shooting editing interface, shooting is performed based on the shooting setting information and shooting material information corresponding to at least one shooting scene to generate a target video. With the above technical solution, the user only needs to input the shooting summary information and select the video style to obtain the multimedia information required for shooting, which improves the effect and efficiency of obtaining the shooting material information, and based on the user's trigger, the target video can be generated by shooting according to the shooting setting information and shooting material information corresponding to the shooting scene, which further improves the video shooting effect under the video scene and meets the user's usage needs.
[0087] In some embodiments, the video generation method may further include: obtaining at least one shooting scene based on scene processing instructions and video style feedback, and shooting material information corresponding to the shooting scene; wherein the scene processing instructions are generated based on shooting summary information and preset shooting scene elements.
[0088] In the embodiments of the present disclosure, in some implementations, the shooting summary information is analyzed, such as whether the shooting summary information includes the number of scenes, environmental description information, etc. The shooting summary information includes all the required shooting scene elements, which can be directly processed by the first model with a text generation function according to the video style and the shooting summary information to obtain at least one shooting scene and shooting material information corresponding to the shooting scene and feed it back to the terminal device.
[0089] In other embodiments, the video style and shooting summary information can be sent to the server, and the server can analyze the shooting summary information and supplement the shooting summary information according to the preset shooting scene elements, such as the number of scenes, environmental description information, character dialogue information, etc., to obtain the scene processing instruction, and then process it through the first model according to the scene processing instruction and the video style to obtain at least one shooting scene and the shooting material information corresponding to the shooting scene and feedback to the terminal device, that is, the first model can generate a text including environmental description information, character dialogue information, etc. according to the scene processing instruction. Among them, the shooting scene elements can be selected and set according to the actual application shooting needs, such as the specific number of scenes, the number of characters, etc., to further meet the needs of multiple scenes and enhance the user experience.
[0090] It is understandable that there are many kinds of shooting material information corresponding to the shooting scenes, such as environment description information, character dialogue information, shooting background, character props, etc. Different shooting material information generation methods can be selected and set according to the application scenario.
[0091] In some embodiments, the shooting material information includes: environment description information and character dialogue information, wherein the environment description information and the character dialogue information are based on a first model that matches the video style, and the scene processing instructions are parsed to obtain original text information and extracted from the original text information.
[0092] Specifically, a first model matching the video style is obtained, and then the scene processing instruction is parsed and processed by the first model to obtain original text information, and then the environment description information and the character dialogue information are extracted from the original text information.
[0093] For example, the input video style is a family leisure style. The scene processing instructions are parsed and processed by the first model, and the obtained environment description information is "at home, the sun is shining, and the kitten is lying on the sofa", and the character dialogue information is "protagonist: baby, come and give you something delicious", "kitten: (a gentle meow)".
[0094] In other implementations, the shooting material information also includes: shooting background, which is generated by processing the environment description information based on a second model that matches the video style, wherein the shooting background includes: image background or video background.
[0095] Specifically, after generating the environment description information according to the first model, a second model matching the video style is obtained to process the environment description information to generate an image background or a video background as the shooting background. The second model can generate an image or a video according to an instruction, and can generate an image or a video with a similar style according to a picture or a video. The image size information can also be pre-set, so that the shooting background generated by the second model according to the environment description information and the preset image size can further meet the user's needs.
[0096] In some further implementations, the shooting material information further includes: character props, where the character props are generated by processing character description information extracted from original text information based on a second model that matches the video style.
[0097] Specifically, the original text information generated according to the first model includes the character description information, and the second model matching the video style is obtained to process the character description information to generate character props, such as jewelry props, virtual props, partial props and full body props, etc., to further improve the generated video effect.
[0098] It should be noted that the original text information generated by parsing the first model can be divided into multiple shooting scenes, and each shooting scene is parsed to obtain shooting material information such as environment description information, character description information, character dialogue information, etc. If there is no shooting material information of a certain shooting scene, it is supplemented by the first model.
[0099] It should be noted that character props do not need to be generated based on the AI model, but can be bound to the video style and directly made into a specific prop package for calling. When users can choose a character, they can choose the corresponding character props, further improving the efficiency and effect of video generation.
[0100] In the above scheme, scene processing instructions are generated through shooting summary information and preset shooting scene elements, so that shooting scenes are generated according to the scene processing instructions and video styles, and shooting material information such as environment description information, character dialogue information, shooting background and character props corresponding to the shooting scene are displayed on the shooting editing interface, further improving the diversity of shooting material information and thus enhancing the user experience.
[0101] In some embodiments, the video generation method may further include: in response to a scene adding operation, adding a new shooting scene and shooting material information corresponding to the new shooting scene in the shooting editing interface; and / or, in response to a deletion operation of a target shooting scene in at least one shooting scene, deleting the target shooting scene and the target shooting material information corresponding to the target shooting scene in the shooting editing interface.
[0102] Specifically, users can edit (such as delete, modify, etc.) existing shooting scenes and shooting material information corresponding to the shooting scenes, such as environment description information, character dialogue information, etc., and can also add new shooting scenes and shooting material information corresponding to the new shooting scenes.
[0103] In the above scheme, users can edit existing shooting scenes by themselves, such as deleting one or more existing shooting scenes, and editing or regenerating the environment description information, character dialogue information and other shooting material information corresponding to one or more existing shooting scenes through the first model, and the second model can process the regenerated environment description information to generate new image backgrounds, video backgrounds and other shooting backgrounds. In addition, new shooting scenes and shooting material information corresponding to new shooting scenes can be added to further meet users' personalized needs, enhance users' shooting experience, and video generation effects.
[0104] Figure 2 This is a flow chart of another video generation method provided in an embodiment of the present disclosure. Based on the above embodiment, this embodiment further optimizes the above video generation method.
[0105] like Figure 2 As shown, the method includes:
[0106] Step 201: Receive video style and shooting summary information.
[0107] For example, Figure 3a A schematic diagram of a video style provided for an embodiment of the present disclosure shows a schematic diagram of a video style selection page, wherein the video style selection page includes video style 1 and video style 2, wherein video style 1 and video style 2 are set in the form of pictures, and when a user triggers video style 1 and video style 2, a terminal device can receive a trigger operation for inputting a video style, and perform subsequent operations such as displaying a display page for inputting shooting summary information.
[0108] For example, Figure 3b A schematic diagram of a shooting summary information input page provided in an embodiment of the present disclosure is shown in the figure, including an input text box and sample information, such as "Please refer to Xiao Hong and Xiao Hui to generate a story of havoc in heaven" and "This is an example", and the user can enter shooting summary information as needed, such as "Generate a story of Xiao A riding a pig to fly" as shown in the figure. As shooting summary information, the figure also includes a "Generate Script" control.
[0109] Step 202: Obtain at least one shooting scene based on the scene processing instruction and the video style feedback, and shooting material information corresponding to the shooting scene; wherein the scene processing instruction is generated based on the shooting summary information and preset shooting scene elements.
[0110] Specifically, the video style and shooting summary information can be sent to the server, and the server generates a scene processing instruction based on the shooting summary information and preset shooting scene elements, and then determines at least one shooting scene and the shooting material information corresponding to each shooting scene based on the video style and the scene processing instruction.
[0111] Specifically, a first model matching the video style is obtained, and then the scene processing instructions are parsed through the first model to obtain original text information, and then the environment description information and character dialogue information are extracted from the original text information; after the environment description information is generated according to the first model, a second model matching the video style is obtained to process the environment description information to generate an image background or a video background as a shooting background; a second model matching the video style is obtained to process the character description information to generate character props.
[0112] It should be noted that if the original text information generated by the first model does not meet the requirements of obtaining environment description information, character dialogue information, and subsequent character props, etc., it can be processed multiple times so that the obtained original text information can subsequently obtain environment description information, character dialogue information, and subsequent character props, etc., to ensure the subsequent generation of video effects and further meet the user's shooting needs.
[0113] Step 203, in response to a selection operation of a target shooting scene in at least one shooting scene, displaying target environment description information and target character dialogue information corresponding to the target shooting scene in a first area in the shooting editing interface, wherein the shooting duration of the target shooting scene is determined based on the length of the target character dialogue information.
[0114] Step 204: Display a target shooting background corresponding to the target scene in a second area of the shooting editing interface, wherein the target shooting background matches the environmental description information.
[0115] For example, Figure 4a A schematic diagram of a shooting and editing interface provided for an embodiment of the present disclosure is shown in the figure. As shown in the figure, the first area displays the target environment description information as "at home, the sun is shining, and the kitten is lying on the sofa", and the character dialogue information is "protagonist: baby, come and give you something delicious", "kitten: (a gentle meow)", and the shooting time of the scene can be determined based on the length of the target character dialogue information, and can also be adjusted and set according to user needs.
[0116] in addition, Figure 4a The second area in the shooting editing interface shown shows the target shooting background corresponding to the target scene, and the target shooting background matches the environmental description information. The figure also includes the scene duration 9S (seconds) of the target scene, the picture position control (adjust the background picture or background video to the foreground or background), the save control, the shooting control, the edit current shooting scene control, the add new shooting scene control and the role setting control.
[0117] In an embodiment of the present disclosure, in response to a modification and update operation on the target environment description information, the target shooting background matching the modified target environment description information is updated and displayed in the second area; and / or, in response to a modification and update operation on the target character dialogue information, the shooting duration of the target shooting scene is updated based on the length of the modified target character dialogue information.
[0118] For example, Figure 4a The trigger operation of editing the current shooting scene control is shown in the display interface. Figure 4b The re-editing interface shown can be used to input new target environment description information and / or new target character dialogue information, such as Figure 4b The target character dialogue information is modified to "Music: Piano background music, Protagonist: Come on, baby, let me comb your hair" and "Kitten: (meowing softly)", and the shooting time of the target shooting scene can also be updated according to the length of the modified target character dialogue information. The figure also includes the use control and the regenerate clip control. Thus, according to the result of the modification and update operation of the target character dialogue information, Figure 4c shown.
[0119] In an embodiment of the present disclosure, displaying a character indication area on a target shooting background also includes: in response to a triggering operation on a character setting control in a shooting editing interface, obtaining character characteristic information set corresponding to the character indication area; determining a target character based on the character characteristic information, and displaying the target character in association with the character indication area during shooting.
[0120] For example, Figure 4a The triggering operations of the character setting controls "Add left exit character" and "Add right exit character" shown can obtain the character feature information corresponding to the character indication area, determine the target character according to the character feature information, and associate the target character with the character indication area during shooting. The character feature information includes information such as the character's age and gender.
[0121] Step 205: In response to the scene adding operation, a new shooting scene and shooting material information corresponding to the new shooting scene are added to the shooting editing interface.
[0122] For example, Figure 4aThe trigger operation of adding a new shooting scene control is shown, adding a new shooting scene, and shooting material information corresponding to the new shooting scene.
[0123] Step 206: In response to a deletion operation on a target shooting scene in at least one shooting scene, the target shooting scene and target shooting material information corresponding to the target shooting scene are deleted in the shooting editing interface.
[0124] Specifically, the target shooting scene in the at least one shooting scene may be deleted, and the target shooting material information corresponding to the target shooting scene may be deleted while the target shooting scene is deleted.
[0125] After step 204, step 205 and / or step 206 may be executed. The execution order of step 204 to step 206 may be determined according to actual conditions. Figure 2 These are examples only.
[0126] Step 207: In response to setting the multiple shooting scenes to continuous mode, automatically switch to the next shooting scene after the shooting time of the current shooting scene based on the shooting material information of the current shooting scene is reached, and continue shooting based on the shooting material information of the next shooting scene.
[0127] Step 208, in response to setting the multiple shooting scenes to interval mode, stop shooting after the shooting time of the current shooting scene is reached based on the shooting material information of the current shooting scene, jump to the next shooting scene based on the switching instruction of the next shooting scene, and continue shooting based on the shooting material information of the next shooting scene.
[0128] Specifically, the shooting duration can be automatically generated based on the character dialogue information, or it can be set as needed. When shooting, each shooting scene can automatically switch to the next shooting scene after reaching the preset shooting time. You can also turn off the automatic switching function and choose to manually switch to the next shooting scene by clicking the screen during shooting.
[0129] Step 209: In response to setting the target character to a partial prop mode, rendering is performed on the partial props and the target character during shooting.
[0130] Step 210, in response to setting the target character to the all-props mode, the target character is processed by matting technology during shooting, and the matting result and all props are rendered.
[0131] Step 211: In response to setting the target character to the virtual prop mode, the virtual prop is controlled and processed according to the skeletal motion information of the reference character during shooting.
[0132] It can be understood that the original text information generated by the first model and different shooting methods correspond to different prop types, such as jewelry props (such as a hat), full-body props (such as a whole body image with bone points) and virtual props (such as a little bear); among them, virtual props can be pre-set.
[0133] For example, if you choose to shoot with ornaments and props, you can use human faces and human bodies, and after recognizing the human face, you can present the generated character props, such as Figure 5a The display result of rendering the hat prop and the target character during shooting is shown.
[0134] For example, if you choose to shoot with a full-body prop, the generated body remains unchanged, and the matting technology is used to only cut out the face position and put it on the generated body, such as Figure 5b As shown, when shooting, the target character is processed by the keying technology, and the keying result and all props are rendered to display the result.
[0135] In addition, during shooting, the virtual props are controlled, processed and displayed according to the skeletal movement information of the reference character, thereby meeting the user's diverse shooting needs and improving the video shooting experience.
[0136] Step 212: In response to setting the target shooting scene to the person mode, a background picture or background video corresponding to the target shooting scene is set as the background during shooting, and the person in the camera is placed in the foreground.
[0137] Step 213: In response to setting the target shooting scene to the empty shot mode, a background image or background video corresponding to the target shooting scene is set as the foreground during shooting, and the person in the camera is hidden in the shooting scene.
[0138] Specifically, if a person is needed to play a certain role, the background picture or background video corresponding to the target shooting scene needs to be set as the background; if a person is not needed to play a certain role, the background picture or background video corresponding to the target shooting scene is set as the foreground (that is, the background picture or background video appears in the foreground), and the person in the camera is hidden in the shooting scene.
[0139] For example, Figure 4a The picture position control display interface in the shooting editing interface shown is as follows Figure 6a As shown, select scene attributes, such as "People Scene", "Empty Shot" and "Cancel" as shown in the figure, and the note information "Select a people scene to shoot people in the scene, select an empty shot, there will be no people."
[0140] For example, if you choose to shoot with virtual props, the picture uses the "foreground", presents the generated virtual image on the background, recognizes human body movements, and allows the human body to control the movements of the virtual image while the human body does not appear on the picture, for example Figure 6b When shooting, the background picture or background video corresponding to the target shooting scene is set as the foreground, the person in the camera is hidden in the shooting scene, and the virtual prop bear is displayed.
[0141] Thus, the target video can be generated by shooting according to the aforementioned shooting setting information and shooting material information.
[0142] In the generated target video, the character dialogue can be played through speech synthesis, or the voice dialogue input by the user can be converted into text through speech-to-text technology and displayed in the target video, further meeting user needs and improving video shooting effects.
[0143] In the above scheme, the video shooting background, shooting characters and other shooting material information are generated through the input shooting summary information and the selected video style, and different props can be used for shooting, which improves the shooting efficiency and the video shooting effect, meets the user's needs and improves the user experience.
[0144] After step 204, step 207 or step 208 and / or step 209 or step 210 or step 211 and / or step 212 or step 213 may be executed. The execution order of step 204 to step 213 may be determined according to actual conditions. Figure 2 These are examples only.
[0145] Figure 8 Schematic diagram of the structure of a video generation device provided by an embodiment of the present disclosure. The device can be implemented by software and / or hardware and can generally be integrated into an electronic device. Figure 8 As shown, the device comprises:
[0146] The display module 301 is used to display a shooting editing interface in response to the input video style and shooting summary information, wherein the shooting editing interface includes: at least one shooting scene, and shooting material information corresponding to the shooting scene, wherein the shooting material information matches the video style and the shooting summary information, and is used to indicate the multimedia information required for the shooting scene when shooting;
[0147] A first acquisition module 302, configured to acquire shooting setting information corresponding to the at least one shooting scene;
[0148] The generating module 303 is used to generate a target video by performing shooting based on the shooting setting information and the shooting material information corresponding to the at least one shooting scene in response to a shooting trigger operation on the shooting editing interface.
[0149] Optionally, the device further comprises:
[0150] A second acquisition module, used to acquire at least one shooting scene based on the scene processing instruction and the video style feedback, and shooting material information corresponding to the shooting scene;
[0151] The scene processing instruction is generated based on the shooting summary information and preset shooting scene elements.
[0152] Optionally, the shooting material information includes: environment description information and character dialogue information, wherein:
[0153] The environment description information and the character dialogue information are extracted from the original text information by parsing the scene processing instructions to obtain original text information based on a first model that matches the video style.
[0154] Optionally, the shooting material information also includes: shooting background, where:
[0155] The shooting background is generated by processing the environment description information based on a second model that matches the video style, wherein the shooting background includes: an image background or a video background.
[0156] Optionally, the shooting material information also includes: character props, where:
[0157] The character props are generated by processing the character description information extracted from the original text information based on a second model that matches the video style.
[0158] Optionally, the shooting display module is specifically used for:
[0159] In response to a selection operation of a target shooting scene in the at least one shooting scene, displaying target environment description information and target character dialogue information corresponding to the target shooting scene in a first area in the shooting editing interface, wherein the shooting duration of the target shooting scene is determined based on the length of the target character dialogue information; and
[0160] A target shooting background corresponding to the target scene is displayed in a second area in the shooting editing interface, wherein the target shooting background matches the environmental description information.
[0161] Optionally, the device further comprises:
[0162] An updating module, configured to update and display, in the second area, a target shooting background matching the modified target environment description information in response to a modification and update operation on the target environment description information;
[0163] and / or,
[0164] The updating module is further used to update the shooting duration of the target shooting scene based on the length of the modified target character dialogue information in response to the modification and update operation of the target character dialogue information.
[0165] Optionally, displaying a role indication area on the target shooting background further includes:
[0166] In response to a triggering operation on a role setting control in the shooting editing interface, acquiring role characteristic information set corresponding to the role indication area;
[0167] The target character is determined according to the character feature information, and the target character is associated with the character indication area and displayed during shooting.
[0168] Optionally, the device further comprises:
[0169] an adding module, configured to add a new shooting scene and shooting material information corresponding to the new shooting scene in the shooting editing interface in response to a scene adding operation; and / or,
[0170] The deleting module is used to delete the target shooting scene and the target shooting material information corresponding to the target shooting scene in the shooting editing interface in response to a deletion operation on the target shooting scene in the at least one shooting scene.
[0171] Optionally, the shooting setting information includes: a continuous mode and an interval mode, and the generating module 303 is used to:
[0172] In response to setting the plurality of shooting scenes to the continuous mode, automatically switching to the next shooting scene after the shooting time of the current shooting scene is reached based on the shooting material information of the current shooting scene, and continuing shooting based on the shooting material information of the next shooting scene;
[0173] or,
[0174] In response to setting multiple shooting scenes to the interval mode, shooting is stopped after the shooting time of the current shooting scene is reached based on the shooting material information of the current shooting scene, and the next shooting scene is jumped to based on the switching instruction of the next shooting scene, and shooting is continued based on the shooting material information of the next shooting scene.
[0175] Optionally, the shooting setting information includes: a character prop mode, and the generating module 303 is specifically used to:
[0176] In response to setting the target character to a partial prop mode, rendering the partial props and the target character during shooting; or,
[0177] In response to setting the target character to the all-props mode, the target character is subjected to matting technology processing during shooting, and the matting result and all the props are rendered; or,
[0178] In response to setting the target character to the virtual prop mode, the virtual prop is controlled and processed according to the skeletal movement information of the reference character during shooting.
[0179] Optionally, the shooting setting information includes: a person mode and an empty shot mode, and the generating module 303 is specifically used to:
[0180] In response to setting the target shooting scene to the person mode, when shooting, the background picture or background video corresponding to the target shooting scene is set as the background, and the person in the camera is placed in the foreground; or
[0181] In response to setting the target shooting scene to the empty shot mode, the background picture or background video corresponding to the target shooting scene is set as the foreground during shooting, and the person in the camera is hidden in the shooting scene.
[0182] The video generating device provided in the embodiments of the present disclosure can execute the video generating method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
[0183] The embodiments of the present disclosure also provide a computer program product, including a computer program / instruction, which implements the video generation method provided by any embodiment of the present disclosure when the computer program / instruction is executed by a processor.
[0184] Figure 8 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Figure 8 , which shows a schematic diagram of the structure of an electronic device 400 suitable for implementing the embodiment of the present disclosure. The electronic device 400 in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 8 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0185] like Figure 8 As shown, 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 into a random access memory (RAM) 403. In the RAM 403, 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 input / output (I / O) interface 405 is also connected to the bus 404.
[0186] Typically, the following devices may be connected to the I / O interface 405: 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.; an output device 407 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 408 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 409. The communication device 409 may allow the electronic device 400 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 8 The electronic device 400 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0187] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, 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. In such an embodiment, 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. When the computer program is executed by the processing device 401, the above-mentioned functions defined in the video generation method of the embodiment of the present disclosure are executed.
[0188] It should be noted that the computer-readable medium disclosed above 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. More specific examples of 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. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0189] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (Hyper Text Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). 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.
[0190] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0191] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: receives an information display trigger operation from a user during video playback; obtains at least two target information associated with the video; displays a first target information among the at least two target information in an information display area on a playback page of the video, wherein the size of the information display area is smaller than the size of the playback page; receives a first switching trigger operation from a user, and switches the first target information displayed in the information display area to the second target information among the at least two target information.
[0192] 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. In cases involving a remote computer, 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).
[0193] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0194] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.
[0195] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used 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.
[0196] In the context of the present disclosure, 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.
[0197] According to one or more embodiments of the present disclosure, the present disclosure provides an electronic device, including:
[0198] processor;
[0199] a memory for storing instructions executable by the processor;
[0200] The processor is used to read the executable instructions from the memory and execute the instructions to implement any video generation method provided in the present disclosure.
[0201] According to one or more embodiments of the present disclosure, the present disclosure provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is used to execute any of the video generating methods provided by the present disclosure.
[0202] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0203] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0204] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A video generation method, characterized in that: include: In response to the input video style and shooting summary information, displaying a shooting editing interface, wherein the shooting editing interface includes: at least one shooting scene, and shooting material information corresponding to the shooting scene, wherein the shooting material information matches the video style and the shooting summary information and is used to indicate multimedia information required for the shooting scene when shooting; Acquire shooting setting information corresponding to the at least one shooting scene; In response to a shooting trigger operation on the shooting editing interface, shooting is performed based on the shooting setting information and the shooting material information corresponding to the at least one shooting scene to generate a target video.
2. The method according to claim 1, characterized in that: Also includes: Acquire at least one shooting scene based on the scene processing instruction and the video style feedback, and shooting material information corresponding to the shooting scene; The scene processing instruction is generated based on the shooting summary information and preset shooting scene elements.
3. The method according to claim 2, characterized in that The shooting material information includes: environment description information and character dialogue information, wherein: The environment description information and the character dialogue information are extracted from the original text information by parsing the scene processing instructions to obtain original text information based on a first model that matches the video style.
4. The method according to claim 3, characterized in that The shooting material information also includes: shooting background, where: The shooting background is generated by processing the environment description information based on a second model that matches the video style, wherein the shooting background includes: an image background or a video background.
5. The method according to claim 3, characterized in that: The shooting material information also includes: character props, among which, The character props are generated by processing the character description information extracted from the original text information based on a second model that matches the video style.
6. The method according to claim 1, characterized in that The shooting material information corresponding to the shooting scene displayed on the shooting editing interface includes: In response to a selection operation of a target shooting scene in the at least one shooting scene, displaying target environment description information and target character dialogue information corresponding to the target shooting scene in a first area in the shooting editing interface, wherein the shooting duration of the target shooting scene is determined based on the length of the target character dialogue information; and A target shooting background corresponding to the target scene is displayed in a second area in the shooting editing interface, wherein the target shooting background matches the environmental description information.
7. The method according to claim 6, characterized in that Also includes: In response to a modification and update operation on the target environment description information, updating and displaying a target shooting background matching the modified target environment description information in the second area; and / or, In response to the modification and update operation on the target character dialogue information, the shooting duration of the target shooting scene is updated based on the length of the modified target character dialogue information.
8. The method according to claim 6, characterized in that Displaying a role indication area on the target shooting background also includes: In response to a triggering operation on a role setting control in the shooting editing interface, acquiring role characteristic information set corresponding to the role indication area; The target character is determined according to the character feature information, and the target character is associated with the character indication area and displayed during shooting.
9. The method according to claim 1, characterized in that: Also includes: In response to the scene adding operation, adding a new shooting scene and shooting material information corresponding to the new shooting scene in the shooting editing interface; and / or, In response to a deletion operation on a target shooting scene in the at least one shooting scene, the target shooting scene and target shooting material information corresponding to the target shooting scene are deleted in the shooting editing interface.
10. The method according to claim 1, characterized in that The shooting setting information includes: a continuous mode and an interval mode, and the shooting based on the shooting setting information corresponding to the at least one shooting scene and the shooting material information includes: In response to setting the plurality of shooting scenes to the continuous mode, automatically switching to the next shooting scene after the shooting time of the current shooting scene is reached based on the shooting material information of the current shooting scene, and continuing shooting based on the shooting material information of the next shooting scene; or, In response to setting multiple shooting scenes to the interval mode, shooting is stopped after the shooting time of the current shooting scene is reached based on the shooting material information of the current shooting scene, and the next shooting scene is jumped to based on the switching instruction of the next shooting scene, and shooting is continued based on the shooting material information of the next shooting scene.
11. The method according to claim 1, characterized in that: The shooting setting information includes: a character prop mode, and the shooting based on the shooting setting information corresponding to the at least one shooting scene and the shooting material information includes: In response to setting the target character to a partial prop mode, rendering the partial props and the target character during shooting; or, In response to setting the target character to the all-props mode, the target character is subjected to matting technology processing during shooting, and the matting result and all the props are rendered; or, In response to setting the target character to the virtual prop mode, the virtual prop is controlled and processed according to the skeletal movement information of the reference character during shooting.
12. The method according to claim 1, characterized in that The shooting setting information includes: a person mode and an empty shot mode, and the shooting based on the shooting setting information corresponding to the at least one shooting scene and the shooting material information includes: In response to setting the target shooting scene to the person mode, a background picture or background video corresponding to the target shooting scene is set as the background during shooting, and the person in the camera is placed in the foreground; or In response to setting the target shooting scene to the empty shot mode, the background picture or background video corresponding to the target shooting scene is set as the foreground during shooting, and the person in the camera is hidden in the shooting scene.
13. A video generating device, characterized in that: include: A display module is used to display a shooting editing interface in response to the input video style and shooting summary information, wherein the shooting editing interface includes: at least one shooting scene, and shooting material information corresponding to the shooting scene, wherein the shooting material information matches the video style and the shooting summary information, and is used to indicate the multimedia information required for the shooting scene when shooting; A first acquisition module, used to acquire shooting setting information corresponding to the at least one shooting scene; A generation module is used to respond to a shooting trigger operation on the shooting editing interface, shoot based on the shooting setting information corresponding to the at least one shooting scene and the shooting material information to generate a target video.
14. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the instructions to implement the video generation method described in any one of claims 1-12.
15. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program is used to execute the video generation method described in any one of claims 1 to 12.
Citation Information
Patent Citations
Video generation method and system based on interactive guidance and cloud enhanced rendering
CN110012237A
Method for automatically shooting and generating mobile terminal short video advertisement based on mechanical arm
CN111629269A
Data processing method and device, electronic equipment and storage medium
CN112819933A
Shooting material management method, electronic equipment and system
CN114979459A
Video shooting information acquisition method and video shooting and processing indication method
CN115701093A