Video generation method, device, equipment and storage medium
By presenting multiple canvases and determining multimedia materials for each, the method enhances collaborative video shooting functionality, addressing limitations in current systems and improving user experience.
Patent Information
- Application Number
- JP2024518853
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-09-28
- Filing Date
- 2022-09-19
- Publication Date
- 2025-09-02
- Estimated Expiration
- 2042-09-19
AI Technical Summary
Current collaborative video shooting functions are limited to short videos and lack diversity, affecting user experience.
A method that presents multiple canvases on a photography page, determines corresponding multimedia materials for each canvas, and generates a collaborative video based on these materials, enriching the shooting function.
Enriches the collaborative video shooting function by allowing diverse multimedia content integration, thereby improving user experience.
Smart Images

Figure 0007732632000001 
Figure 0007732632000002 
Figure 0007732632000003
Abstract
Description
[Technical Field]
[0001] This disclosure is filed on September 28, 2021, entitled "Video Generation Method, Apparatus, Device, and Storage Medium," and claims priority from Chinese patent application number "202111142672.2," the entire contents of which are incorporated herein by reference.
[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 technology]
[0003] With the continuous development of multimedia shot video technology, Photo composition (in this application, Joint shooting (also called The feature is being used by an increasing number of users.
[0004] Currently, the process of realizing the video collaborative shooting function includes: first, a user selects a shot video that meets the collaborative shooting conditions from the information stream, carries this shot video and jumps to the shooting page, and then the user completes collaborative shooting with this shot video using a shooting device, and obtains a collaborative shooting result video with this shot video.
[0005] The current collaborative video shooting function can only realize the collaborative shooting of short videos in the information stream, and the collaborative shooting function is too single, which affects the user's experience of playing the collaborative video function. Therefore, how to enrich the collaborative video shooting function and improve the user experience is currently a technical issue that needs to be solved urgently. Summary of the Invention [Problem to be solved by the invention]
[0006] In order to solve or at least partially solve the above technical problems, an embodiment of the present disclosure provides a video generation method, which determines corresponding multimedia materials for each canvas on a shooting page, thereby realizing a collaborative shooting function of generating a collaborative shooting result video based on the multimedia materials on each canvas, enriching the video collaborative shooting function and thereby improving the user's usage experience. [Means for solving the problem]
[0007] According to a first aspect, the present disclosure provides a video generation method, said method comprising: presenting at least two canvases on a photography page in response to a trigger operation on a preset collaborative photography control on the photography page; determining corresponding multimedia material for each of the at least two canvases; and generating a collaborative video based on the multimedia materials corresponding to each of the at least two canvases.
[0008] According to a second aspect, the present disclosure further provides a video generation device, the device comprising: a presentation module for presenting at least two canvases on a photography page in response to a trigger operation on a preset collaborative photography control on the photography page; a determination module for determining corresponding multimedia material for each of the at least two canvases; and a generating module for generating a collaborative shooting result video based on multimedia materials corresponding to each of the at least two canvases.
[0009] According to a third aspect, the present disclosure provides a computer-readable storage medium having stored thereon instructions that, when executed on a terminal device, cause the terminal device to implement the above method.
[0010] According to a fourth aspect, the present disclosure provides an apparatus, the apparatus including a memory, a processor, and a computer program stored in the memory and executable by the processor, the computer program, when executed by the processor, realizing the method described above.
[0011] According to a fifth aspect, the present disclosure provides a computer program product, the computer program product including computer programs / instructions that, when executed by a processor, implement the above method. [Effects of the Invention]
[0012] The technical solution according to the embodiments of the present disclosure has at least the following advantages over the related art:
[0013] An embodiment of the present disclosure provides a video generation method, which first presents at least two canvases on the photography page in response to a trigger operation on a preset collaborative photography control on the photography page, determines corresponding multimedia materials for each of the at least two canvases, and generates a collaborative photography result video based on the multimedia materials corresponding to each canvas. As can be seen, the video generation method according to the embodiment of the present disclosure realizes a collaborative photography function of generating a collaborative photography result video based on the multimedia materials for each canvas by determining corresponding multimedia materials for each of the canvases on the photography page, thereby enriching the collaborative video photography function and thereby improving the user experience. [Brief explanation of the drawings]
[0014] The drawings herein are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification serve to explain the principles of the present disclosure.
[0015] In order to more clearly explain the technical solutions in the embodiments of the present disclosure or related technologies, the following briefly introduces drawings that need to be used in the embodiments or related technology descriptions, and it is obvious that those skilled in the art can also derive other drawings based on these drawings without exerting any creative efforts. [Figure 1] 1 is a flowchart of a video generation method according to an embodiment of the present disclosure. [Figure 2] FIG. 1 is a schematic diagram of a capture page according to an embodiment of the present disclosure. [Figure 3] FIG. 10 is a schematic diagram of another capture page according to an embodiment of the present disclosure. [Figure 4] FIG. 1 is a schematic diagram of an album page according to an embodiment of the present disclosure. [Figure 5] FIG. 10 is a schematic diagram of another capture page according to an embodiment of the present disclosure. [Figure 6] FIG. 10 is a schematic diagram of another capture page according to an embodiment of the present disclosure. [Figure 7] FIG. 10 is a schematic diagram of a video cropping page according to an embodiment of the present disclosure. [Figure 8] FIG. 1 is a schematic diagram of a video editing page according to an embodiment of the present disclosure. [Figure 9] 1 is a structural schematic diagram of a video generation device according to an embodiment of the present disclosure; [Figure 10] 1 is a structural schematic diagram of a video production device according to an embodiment of the present disclosure; DETAILED DESCRIPTION OF THE INVENTION
[0016] In order to make the above-mentioned objects, features and advantages of the present disclosure more clearly understood, the present disclosure will be further described below. It should be noted that, unless there is a conflict, the embodiments and features in the embodiments of the present disclosure can be combined with each other.
[0017] In the following description, numerous specific details are set forth to provide a thorough understanding of the present disclosure; however, the present disclosure may be practiced in ways different from those described herein, and it is apparent that the embodiments in the specification are merely some embodiments of the present disclosure, but not all embodiments.
[0018] Currently, the collaborative shooting function is too single, and users can only realize the collaborative shooting function with a specific shot video in the information stream, which affects the user's experience of how to play the collaborative video shooting function.
[0019] Therefore, an embodiment of the present disclosure provides a video generation method, which first presents at least two canvases on the photography page in response to a trigger operation on a preset collaborative photography control on the photography page, determines corresponding multimedia materials for each of the at least two canvases, and generates a collaborative photography result video based on the multimedia materials corresponding to each canvas. As can be seen, the video generation method according to the embodiment of the present disclosure realizes a collaborative photography function of generating a collaborative photography result video based on the multimedia materials on each canvas by determining corresponding multimedia materials for each of the canvases on the photography page, thereby enriching the collaborative video photography function and thereby improving the user experience.
[0020] Based on this, an embodiment of the present disclosure provides a video generation method, and referring to FIG. 1, there is shown a flowchart of a video generation method according to an embodiment of the present disclosure, which includes:
[0021] S101: In response to a trigger operation on a preset collaborative photography control on a photography page, at least two canvases are presented on the photography page.
[0022] In an embodiment of the present disclosure, the trigger operation for the preset collaborative photography control on the photography page may be any operation for the preset collaborative photography control, such as an operation of clicking the preset collaborative photography control.
[0023] After receiving a trigger operation on a preset collaborative photography control on the photography page, at least two canvases are presented on the photography page, and in some embodiments, two canvases, three canvases, four canvases, etc. may be presented on the photography page, and embodiments of the present disclosure are not limited to the number of canvases presented on the photography page.
[0024] As shown in FIG. 2, a schematic diagram of a photography page according to an embodiment of the present disclosure, in which a preset collaborative photography control is displayed on the photography page shown in FIG. 2, and a user can trigger a display effect of presenting at least two canvases on the photography page by clicking on the preset collaborative photography control.
[0025] FIG. 3 is a schematic diagram of another photography page according to an embodiment of the present disclosure, in which after receiving a trigger operation on the preset collaborative photography control on the photography page shown in FIG. 2, the display effect of the photography page shown in FIG. 2 as described above can be switched to the display effect of the photography page shown in FIG. 3. Here, the photography page shown in FIG. 3 is a photography page on which two canvases are presented.
[0026] In one embodiment, of the two canvases presented on the photography page shown in Fig. 3, the left canvas is selected by default, and the left canvas displays a photography preview screen, i.e., the current input screen of the camera of the photography device, by default. Also, to alert the user that they can photograph or upload multimedia material for the selected canvas, a prompt saying "Click to select canvas, photograph, or upload" may be displayed on the left canvas. Specifically, this prompt may be displayed in the form of a bubble on the left canvas.
[0027] In another embodiment, when a trigger operation is received for a preset collaborative photography control on the photography page shown in FIG. 2 and the photography page shown in FIG. 2 is switched to the photography page shown in FIG. 3, the user may manually click on one of the canvases on the photography page shown in FIG. 3 to select the canvas, instead of the default selection of the canvas.
[0028] S102: For each of the at least two canvases, corresponding multimedia materials are determined.
[0029] Here, multimedia material may include image material or video material.
[0030] In an embodiment of the present disclosure, when multiple canvases are presented on a shooting page, the corresponding multimedia material can be determined for each canvas in turn, and specifically, the embodiment of the present disclosure does not limit the order in which the multimedia material is determined for each canvas.
[0031] In the embodiment of the present disclosure, for each canvas, before determining the corresponding multimedia material, the canvas is first selected, so that the canvas is in a selected state. Generally, a user can click any one of the canvases on the shooting page to select the canvas, and then determine the multimedia material for the selected canvas.
[0032] Hereinafter, if a first canvas is included in the plurality of canvases presented on the photographing page, the first canvas may be any one of the canvases presented on this photographing page.
[0033] In one embodiment, when the first canvas is in a selected state, the multimedia material corresponding to the first canvas can be determined based on the album page corresponding to the album entry in the photography page.
[0034] In one application scenario, at least two canvases presented on the shooting page include canvas A and canvas B.
[0035] As shown in Figure 3, an album entry for entering the current user's album page is set on the photography page. Assuming that the two canvases presented on the photography page shown in Figure 3 are canvas A (left side) and canvas B (right side), and the first canvas is canvas A, when canvas A is in a selected state, the user can enter the album page by clicking the album entry on the photography page. Specifically, when a click operation on the album entry is received, the user can jump from the current photography page to the album page.
[0036] 4 is a schematic diagram of an album page according to an embodiment of the present disclosure, where the album page presents the current user's multimedia materials, which may specifically include the current user's video materials and image materials. The user can determine the multimedia materials corresponding to Canvas A from the current user's multimedia materials presented on the album page.
[0037] In another embodiment, when the first canvas is in a selected state, the multimedia material corresponding to the first canvas can be determined in response to a trigger operation on a photography control on the photography page.
[0038] As shown in Fig. 3, a shooting control (also called a shooting button) is set on the shooting page, and clicking the shooting control can trigger the shooting device to start shooting. Similarly, assuming that the two canvases presented on the shooting page shown in Fig. 3 are canvas A (left side) and canvas B (right side), and the first canvas is canvas A, when canvas A is in a selected state, the user can start shooting by clicking the shooting control on the shooting page, and further determine the image material or video material obtained by shooting as the multimedia material corresponding to canvas A.
[0039] Canvas B (right side) shown in Figure 3 can also be understood by referring to the above multimedia material determination method, and will not be further described here. It should be noted that after determining the multimedia material corresponding to Canvas A, the system automatically switches to the selected state for Canvas B, and the user can further determine the multimedia material of Canvas B in the selected state by clicking the album entry or the capture control.
[0040] When two or more canvases are presented on the shooting page, after the multimedia material corresponding to one of the canvases has been determined, the system may automatically select one of the other canvases for which the multimedia material has not been determined, or the user may manually select another canvas. The embodiment of the present disclosure does not limit the canvas selection method and selection order.
[0041] In the embodiment of the present disclosure, users can customize the multimedia materials corresponding to any one of the canvases in the shooting page to enrich the collaborative video shooting function.
[0042] S103: Generate a collaborative shooting result video based on the multimedia materials corresponding to each of the at least two canvases.
[0043] In practical application, after the determination of the multimedia materials for each canvas on the shooting page is completed, the multimedia materials corresponding to each canvas on the shooting page can be synthesized according to the shortest video length among the multimedia materials corresponding to each canvas on the shooting page to generate a joint shooting result video, where the joint shooting result video includes the multimedia materials corresponding to each canvas on the shooting page.
[0044] In one embodiment, if the multimedia materials corresponding to each of the multiple canvases displayed on the photography page include video materials and image materials, the multimedia materials corresponding to each of the canvases can be synthesized based on the shortest length of the video materials among the multimedia materials corresponding to each of the canvases to generate a collaborative photography result video. Specifically, this shortest length is determined as the duration of the collaborative photography result video, and any video materials longer than this length are trimmed.
[0045] Furthermore, a video corresponding to the image material can be generated based on the shortest time length, and this video can be combined with other video materials to form a jointly shot video, where the image material is displayed on each frame of the video corresponding to the image material.
[0046] In another embodiment, assuming that the multimedia materials corresponding to each of the multiple canvases displayed on the photography page are all image materials, a collaborative photography result video is generated based on the image materials corresponding to each canvas. Here, the playback time length of the collaborative photography result video may be determined based on the duration of the current photography mode of the photography page. For example, the playback time length of the collaborative photography result video is equal to the duration of the current photography mode. Alternatively, the playback time length of the collaborative photography result video may be determined based on the duration of the current photography mode of the photography page and the duration of the currently selected music. For example, the playback time length of the collaborative photography result video is equal to the shortest duration of the current photography mode and the duration of the currently selected music.
[0047] For example, suppose three canvases are displayed on the current shooting page, where the three canvases correspond to three image materials, the duration of the current shooting mode is 30 seconds, and the duration of the currently selected music is 10 seconds. In some embodiments, a joint shooting result video is generated for the three image materials based on the shortest duration of 10 seconds between the duration of the current shooting mode and the duration of the currently selected music, where each frame in the joint shooting result video displays an image material corresponding to each of the three canvases.
[0048] In one embodiment, a video corresponding to each canvas is first generated for the image material corresponding to the canvas. Specifically, the duration of this video may be equal to the duration of the current shooting mode, or may be equal to the shortest duration between the duration of the current shooting mode and the duration of the currently selected music. Then, the videos of the image materials corresponding to each canvas are combined into a joint shooting result video.
[0049] In another embodiment, the image materials corresponding to each canvas are first composited into a single image, and then a corresponding video is generated for this image, and specifically, the duration of this video may be equal to the duration of the current shooting mode, or may be equal to the shortest duration between the duration of the current shooting mode and the duration of the currently selected music.
[0050] In accordance with an embodiment of the present disclosure, a video generation method presents at least two canvases on the shooting page in response to a trigger operation on a preset collaborative shooting control on the shooting page, determines corresponding multimedia materials for each of the at least two canvases, and generates a collaborative shooting result video based on the multimedia materials for each canvas. As can be seen, by determining corresponding multimedia materials for each of the canvases on the shooting page in accordance with an embodiment of the present disclosure, a collaborative shooting function of generating a collaborative shooting result video based on the multimedia materials for each canvas is realized, thereby enriching the collaborative video shooting function and thereby improving the user experience.
[0051] Based on the content of the above embodiment, the embodiment of the present disclosure further provides a method for determining multimedia material corresponding to a first canvas, specifically, first, when the first canvas is in a selected state, display an album page in response to a trigger operation on an album entry on a photography page, and then determine multimedia material corresponding to the first canvas from the album page based on the duration of the current photography mode on the photography page.
[0052] Here, the duration of the current shooting mode is the maximum shooting duration supported by the current shooting mode. As shown in FIG. 3, the shooting page displays three shooting mode durations: 15 seconds, 30 seconds, and 1 minute. After selecting the current shooting mode, the duration of the corresponding shooting mode is determined as the duration of the current shooting mode. The user can determine the duration of the current shooting mode according to their needs. For example, if the user wants to shoot a video no longer than 15 seconds, the user can select a duration of 15 seconds for the current shooting mode.
[0053] The first canvas may be any one of at least two canvases presented on the photographing page, and the embodiments of the present disclosure are not limited to the canvas specifically indicated by the first canvas, and in some embodiments, the first canvas may be canvas A, canvas B, or any other canvas on the photographing page. For convenience of description, the first canvas will be referred to as canvas A hereinafter.
[0054] In one embodiment, the multimedia material corresponding to Canvas A can be determined from the album page according to the duration of the current shooting mode on the shooting page, where the duration of the multimedia material corresponding to Canvas A is not longer than the duration of the current shooting mode. For example, if the duration of the current shooting mode on the shooting page is 30 seconds, a video not longer than 30 seconds can be selected from the album page as the multimedia material corresponding to Canvas A.
[0055] As shown in Figure 5, this is a schematic diagram of another photography page according to an embodiment of the present disclosure, where the time length of the current photography mode on the photography page is 30 seconds, and for canvas A (left side) on the photography page, the user can determine one 22-second video material from the current user's multimedia materials presented on the album page shown in Figure 4 above as the multimedia material corresponding to canvas A.
[0056] In addition, if a user selects a video material longer than 30 seconds from the album page, by trimming the video material, the duration corresponding to the trimmed video material will not be longer than 30 seconds, and the trimmed video material can be determined as the multimedia material corresponding to canvas A. For the specific trimming process, please refer to the embodiment described later, and no further description will be given here.
[0057] In another embodiment, the multimedia material corresponding to the first canvas can be determined from the album page based on the duration of the current capture mode on the capture page and the duration of the currently selected music.
[0058] In some embodiments, determining multimedia material corresponding to the first canvas from the album page based on the duration of the current capture mode of the capture page and the duration of the currently selected music includes determining a minimum duration from the duration of the current capture mode of the capture page and the duration of the currently selected music, and determining multimedia material corresponding to the first canvas from the album page based on the minimum duration.
[0059] Specifically, a minimum time length is determined from the time length of the current shooting mode and the time length of the currently selected music, and multimedia material is determined for the first canvas from the album page based on the minimum time length, where the time length of the multimedia material determined for the first canvas is not greater than the minimum time length.
[0060] For example, if the duration of the current shooting mode is 30 seconds, the duration of the currently selected music is 10 seconds, and the shortest duration determined by the duration of the current shooting mode and the duration of the currently selected music is 10 seconds, a video material not longer than 10 seconds can be selected from the album page as the multimedia material corresponding to canvas A. Also, if a user selects a video material longer than 10 seconds from the album page, by trimming this video material, the duration corresponding to the trimmed video material will not be longer than 10 seconds, and the trimmed video material can be determined as the multimedia material corresponding to canvas A. For specific trimming processes, please refer to the embodiments described below, and no further description will be given here.
[0061] The embodiment of the present disclosure can not only determine the multimedia material corresponding to canvas A from the album page, but also determine the multimedia material corresponding to canvas A according to the shooting manner. Specifically, the implementation manner of determining the multimedia material corresponding to canvas A according to the shooting manner is as follows:
[0062] In one embodiment, the length of time that the camera can capture may be determined based on the length of the current capture mode, and in some embodiments, the length of time that the camera can capture is not greater than the length of the current capture mode. Alternatively, the length of time that the camera can capture may be determined based on the length of the current capture mode and the length of the currently selected music, and in some embodiments, the length of time that the camera can capture is not greater than the corresponding shortest length of the current capture mode and the currently selected music. Specifically, the length of time that the camera can capture multimedia material may be understood with reference to the above description regarding determining the length of multimedia material corresponding to the first canvas from the album page, and will not be further described here.
[0063] In practical application, after determining the corresponding multimedia material for canvas A based on any one of the above methods, the determined multimedia material can be rendered on canvas A on the shooting page, so that the multimedia material can be displayed on canvas A on the shooting page.
[0064] In one embodiment, a Visual Editor Software Development Kit (VESDK) tool renders multimedia material determined for Canvas A onto Canvas A. For example, 22s of video material selected from the album page in FIG. 4 above can be rendered onto Canvas A by the VESDK tool, and the rendered Canvas A may be shown in FIG. 5.
[0065] In the video generation method according to the embodiment of the present disclosure, users can customize the multimedia materials corresponding to each canvas, enrich the material content of the collaborative shooting result video, and thereby enhance the users' collaborative shooting experience.
[0066] Based on the above embodiment, when the multimedia material is video material, in order to avoid the multimedia material determined for the canvas occupying too many system resources, the embodiment of the present disclosure provides another method for determining multimedia material for a canvas. Specifically, when determining multimedia material corresponding to a canvas other than the initially selected canvas, the duration of the multimedia material determined for this canvas can be limited based on the shortest duration of the video material among the multimedia materials already determined on the shooting page.
[0067] In one embodiment, if the first selected canvas on the shooting page is canvas C, the corresponding multimedia material can be determined based on any one of the implementation methods of the above embodiments, and no further description will be given here.
[0068] If the plurality of canvases presented on the shooting page includes a second canvas, after determining the multimedia material corresponding to canvas C on the shooting page, the corresponding multimedia material for the second canvas can be determined based on the shortest length of the video material among the multimedia materials already determined on the shooting page. Here, the second canvas is any one of the plurality of canvases presented on the shooting page that is not the first selected canvas. For convenience of description, the second canvas is referred to as canvas B.
[0069] In one embodiment, corresponding multimedia material can be determined for canvas B from the album page. Specifically, when the second canvas is in a selected state, the album page is displayed in response to a trigger operation on an album entry on the photography page, and the multimedia material corresponding to the second canvas is determined from the album page based on the shortest length of video material among the multimedia materials already determined on the photography page. Specifically, the shortest duration of the multimedia material not longer than the duration of the video material among the multimedia materials already determined is selected from the album page as the multimedia material corresponding to the second canvas.
[0070] As shown in Figure 6, which is a schematic diagram of another photography page according to an embodiment of the present disclosure, the duration of the multimedia material determined for canvas C (left side) on the photography page is 22 seconds. For canvas B (right side) on the photography page, a video material not longer than 22 seconds can be selected from the album page as the multimedia material corresponding to canvas B. As shown in Figure 6, a video material of 12 seconds is selected from the album page as the multimedia material corresponding to canvas B.
[0071] In another embodiment, if the duration of the multimedia material selected from the album page for the second canvas is greater than the shortest duration of the video material among the multimedia materials already determined on the shooting page, the multimedia material selected from the album page for the second canvas is trimmed, and the trimmed multimedia material is set as the multimedia material corresponding to the second canvas.
[0072] Specifically, if the duration of the multimedia material selected from the album page for canvas B is longer than the shortest duration of the video material among the multimedia materials already determined, for example, longer than the duration of 22 seconds of the multimedia material corresponding to canvas C shown in Figure 6 above, this multimedia material can be trimmed and the trimmed multimedia material can be used as the multimedia material corresponding to canvas B.
[0073] If the duration of the already determined multimedia material on canvas C on the photography page is 22 seconds, and a 52-second video on the album page is the multimedia material corresponding to canvas B, the duration corresponding to the multimedia material on canvas B is greater than 22 seconds. Therefore, by trimming this multimedia material, the duration of the trimmed multimedia material will no longer be greater than 22 seconds, and the trimmed multimedia material can be determined as the multimedia material corresponding to canvas B.
[0074] In another embodiment, the user can directly trigger the capture control on the capture page to capture an image or video as the multimedia material corresponding to the canvas B.
[0075] In practical application, when canvas B is in a selected state, in response to a trigger operation on the shooting control on the shooting page, the shooting device starts shooting, and the image material or video material obtained by shooting is set as the multimedia material corresponding to canvas B. Specifically, the duration of the multimedia material corresponding to canvas B can be determined based on the shortest duration of the video material among the multimedia materials already determined on the shooting page.
[0076] In one embodiment, the length of time that can be shot for canvas B is determined based on the shortest length of video material among the multimedia materials that have already been determined. For example, if the shortest length of video material among the multimedia materials that have already been determined is 22 seconds, the video length that can be shot by the camera for canvas B is no longer than 22 seconds, and after the camera has completed shooting, video material or image material obtained by shooting that has a length of no longer than 22 seconds can be determined as the multimedia material that corresponds to canvas B.
[0077] The present disclosure provides a video generation method, which determines corresponding multimedia materials for each canvas on a shooting page based on the shortest video material duration among the multimedia materials already determined on the shooting page, thereby avoiding the multimedia materials determined for the canvases from occupying too many system resources, and thereby improving the generation efficiency of the collaborative shooting result video.
[0078] For the above scenario where a multimedia material is selected from the album page shown in FIG. 4 and the multimedia material needs to be trimmed, the embodiment of the present disclosure provides a trimming method for the multimedia material.
[0079] In some embodiments, trimming the selected multimedia material from the album page to the second canvas includes, in response to a selection operation on the multimedia material on the album page, displaying a video trimming page, trimming the selected multimedia material based on a trimming criteria box, and determining a video segment within the trimming criteria box as the trimmed multimedia material, wherein the duration of the multimedia material within the trimming criteria box is not greater than the shortest duration of video material among the previously determined multimedia material on the shooting page.
[0080] Specifically, in response to a selection operation on a multimedia material on the album page shown in Fig. 4, a jump is made from the album page to the video trimming page shown in Fig. 7, and the selected multimedia material can be trimmed on the video trimming page. On the video trimming page, the selected multimedia material can be trimmed based on a trimming reference box. Specifically, a video segment within the trimming reference box is determined as the trimmed multimedia material.
[0081] In some embodiments, the length of the trimming reference box may be determined based on the duration of the current capture mode, and the duration of the video segment within the trimming reference box is not greater than the duration of the current capture mode.
[0082] In some embodiments, the length of the trimming criteria box may be determined based on the duration of the current capture mode and the duration of the currently selected music, and the duration of the video segment within the trimming criteria box is not greater than the shortest duration of the duration of the current capture mode and the duration of the currently selected music.
[0083] In some embodiments, the length of the trimming criterion box may be determined based on the shortest duration of the video material among the multimedia materials already determined on the captured page, and the duration of the video segment within the trimming criterion box is not greater than the shortest duration of the video material among the multimedia materials already determined on the captured page.
[0084] Referring to FIG. 7, a schematic diagram of a video cropping page is shown in accordance with an embodiment of the present disclosure.
[0085] Assuming that the multimedia material corresponding to Canvas C is 22s and the multimedia material selected for Canvas B from the album page is 52s, this multimedia material can be trimmed based on the video trimming page shown in Figure 7. Specifically, the user can drag the video frame screen in this multimedia material to place the video frame screen to be composited into the joint shooting result video within the trimming reference box, and in the process of dragging the video frame screen in this multimedia material, the user can select the multimedia material corresponding to Canvas B.
[0086] Specifically, a video frame image in the multimedia material can be dragged into the trimming reference box to select any video segment in the multimedia material that is 0s-52s but not longer than 22s, for example, the video segment in the trimming reference box may correspond to 10s-30s in the multimedia material, ensuring that the duration of the trimmed multimedia material is not longer than 22s.
[0087] The process of trimming multimedia material corresponding to other canvases can be understood with reference to the trimming process described above and will not be further described here.
[0088] Based on the above embodiment, an embodiment of the present disclosure can switch the display layout of at least two canvases presented on the photography page. Specifically, before generating the collaborative photography result video, in response to a switching operation on the current display layout of the at least two canvases presented on the photography page, each canvas is presented on the photography page based on a display layout after the switching operation.
[0089] In the embodiments of the present disclosure, the layout display method may include a left-right layout method, an attention-grabbing layout method, a top-bottom layout method, a top-middle-bottom layout method, a cross-shaped layout method, a pentagonal layout method, a hexagonal layout method, etc. Here, the layout display method is diversified and is not limited to the above display layout methods.
[0090] In practical application, when a selection operation of one of the above layout display modes is received, the currently displayed layout of the canvas on the photographing page can be switched to the layout display mode corresponding to this selection operation.
[0091] After determining the corresponding multimedia materials for each canvas on the shooting page, a collaborative shooting result video is generated based on the currently displayed layout of each canvas and the multimedia materials corresponding to each canvas. As shown in FIG. 8, a schematic diagram of a video editing page according to an embodiment of the present disclosure is shown, where the multimedia materials corresponding to each of the two canvases displayed in a top-bottom layout are displayed on the video editing page. After clicking the "Post to Journal" or "Next Step" control, the user can post the generated collaborative shooting result video.
[0092] In one embodiment, the layout display mode can be switched at any time before generating the collaborative shooting result video, and the user can customize the layout display mode on the shooting page according to their preferences. For example, the layout display mode on the shooting page shown in Figure 6 is a horizontal layout mode, and the layout display mode on the shooting page shown in Figure 6 can be switched to a vertical layout mode by selecting layout switching.
[0093] In the embodiments of the present disclosure, users can customize the layout display manner on the photography page according to their preferences, enriching the collaborative photography function and thereby improving the user experience.
[0094] According to an embodiment of the above method, the present disclosure further provides a video generation device. Referring to FIG. 9, there is shown a structural schematic diagram of a video generation device according to an embodiment of the present disclosure, the device comprising: a presentation module 901 for presenting at least two canvases on a photography page in response to a trigger operation on a preset collaborative photography control on the photography page; a determination module 902 for determining corresponding multimedia material for each canvas of the at least two canvases; and a generating module 903 for generating a collaborative shooting result video based on the multimedia materials corresponding to each of the at least two canvases.
[0095] In one embodiment, the at least two canvases include a first canvas, and the determination module: a first determination submodule for determining, when the first canvas is in a selected state, a multimedia material corresponding to the first canvas according to an album page corresponding to an album entry in the photography page; and a second determination sub-module for determining multimedia material corresponding to the first canvas in response to a trigger operation on a photography control on the photography page when the first canvas is in a selected state.
[0096] In one embodiment, when the first canvas is in a selected state, the first determination sub-module: a first display module for displaying an album page in response to a trigger operation on an album entry in the photography page when the first canvas is in a selected state; and a third determining sub-module for determining multimedia material corresponding to the first canvas from the album page according to a time length of a current shooting mode of the shooting page.
[0097] In one embodiment, the third decision sub-module: a fourth determining sub-module for determining multimedia material corresponding to the first canvas from the album page according to a duration of a current shooting mode of the shooting page and a duration of a currently selected music;
[0098] In one embodiment, the fourth determination sub-module is specifically used to determine the shortest time length from the time length of the current shooting mode of the shooting page and the time length of the currently selected music, and to determine the multimedia material corresponding to the first canvas from the album page based on the shortest time length.
[0099] In one embodiment, the at least two canvases include a second canvas, and the determination module: and a fifth determination sub-module for determining multimedia material of the second canvas based on the shortest duration of video material among the already determined multimedia materials on the shooting page, where the already determined multimedia materials include video material.
[0100] In one embodiment, the fifth determination sub-module: a second display module for displaying an album page in response to a trigger operation on an album entry in the photography page when the second canvas is in a selected state; and a sixth determination sub-module for determining a multimedia material corresponding to the second canvas from the album page based on the shortest video material duration among the multimedia materials already determined on the shooting page.
[0101] In one embodiment, the fifth determination sub-module: When the second canvas is in a selected state, a seventh determination submodule is included for determining, in response to a trigger operation on a shooting control on the shooting page, a multimedia material corresponding to the second canvas based on the shortest video material duration among the multimedia materials already determined on the shooting page.
[0102] In one embodiment, the decision module: The apparatus further includes a trimming submodule for trimming the multimedia material selected from the album page for the second canvas when the duration of the multimedia material selected from the album page for the second canvas is greater than the shortest duration of the video material among the multimedia materials already determined on the shooting page, and making the trimmed multimedia material the multimedia material corresponding to the second canvas.
[0103] In one embodiment, the trimming sub-module is specifically used to display a video trimming page in response to a selection operation on a multimedia material on the album page, trim the selected multimedia material based on a trimming criterion box, and determine a video segment within the trimming criterion box as the trimmed multimedia material, wherein the duration of the multimedia material within the trimming criterion box is not greater than the shortest duration of the video material among the multimedia materials already determined on the shooting page.
[0104] In one embodiment, the generation module: The display device further includes a presentation sub-module for presenting the at least two canvases on the photographing page based on a post-switched display layout corresponding to the switching operation in response to a switching operation on the current display layout of the at least two canvases.
[0105] In one embodiment, the generation module: The method further includes a first generating sub-module for synthesizing the multimedia materials corresponding to the at least two canvases according to the shortest video material duration among the multimedia materials corresponding to the at least two canvases, and generating a joint shooting result video.
[0106] The video generating device according to the embodiment of the present disclosure first presents at least two canvases on the shooting page in response to a trigger operation on a preset collaborative shooting control on the shooting page, determines corresponding multimedia materials for each of the at least two canvases, and generates a collaborative shooting result video based on the multimedia materials corresponding to each canvas. As can be seen, the video generating method according to the embodiment of the present disclosure realizes a collaborative shooting function of generating a collaborative shooting result video based on the multimedia materials on each canvas by determining corresponding multimedia materials for each of the canvases on the shooting page, thereby enriching the collaborative video shooting function and thereby improving the user experience.
[0107] In addition to the above methods and devices, embodiments of the present disclosure further provide a computer-readable storage medium having instructions stored therein, which, when executed by a terminal device, cause the terminal device to implement the video generation method described in the embodiments of the present disclosure.
[0108] An embodiment of the present disclosure further provides a computer program product, which includes computer programs / instructions that, when executed by a processor, implement the video generation method described in the embodiment of the present disclosure.
[0109] Moreover, an embodiment of the present disclosure further provides a video generating device, as shown in FIG. 10 : The video generation device may include a processor 1001, a memory 1002, an input device 1003, and an output device 1004. The number of processors 1001 in the video generation device may be one or more, with one processor being shown as an example in Figure 10. In some embodiments of the present disclosure, the processor 1001, the memory 1002, the input device 1003, and the output device 1004 may be connected by a bus or in other ways, with Figure 10 showing them connected by a bus as an example.
[0110] The memory 1002 may be used to store software programs and modules, and the processor 1001 executes the software programs and modules stored in the memory 1002 to perform various functional applications and data processing of the video production device. The memory 1002 may primarily include a program storage area and a data storage area. The program storage area may store an operating system, an application program required for at least one function, etc. The memory 1002 may include high-speed random access memory or non-volatile memory, such as at least one magnetic disk memory device, flash memory device, or other volatile solid-state memory device. The input device 1003 may be used to receive input numeric or character information and to input signals related to user settings and function control of the video production device.
[0111] Specifically, in this embodiment, the processor 1001 loads executable files corresponding to the progress of one or more application programs into the memory 1002 according to the following instructions, and the processor 1001 executes the application programs stored in the memory 1002, thereby realizing various functions of the video generation device.
[0112] It should be explained that, in this specification, relational terms such as "first" and "second" are used solely to distinguish one entity or operation from another, without necessarily requiring or implying any such actual relationship or order between those entities or operations. Furthermore, the terms "comprises," "including," or any other variant thereof, are intended to cover a non-exclusive "comprise," whereby a process, method, article, or device comprising a set of elements not only includes those elements, but also other elements not expressly listed, or further elements inherent in such process, method, article, or device. In the absence of further limitations, an element qualified by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, article, or device that includes said element.
[0113] The foregoing are merely specific embodiments of the present disclosure, which will be apparent to those skilled in the art and will enable those skilled in the art to understand or implement the present disclosure. Various modifications to these embodiments will be 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 is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. presenting at least two canvases on the photography page in response to a trigger operation on a preset photography composition control on the photography page; determining corresponding multimedia material for each of the at least two canvases; generating a shooting composition result video based on multimedia materials corresponding to each of the at least two canvases; Determining corresponding multimedia material for each of the at least two canvases includes: determining, for each canvas, corresponding multimedia material based on an album page corresponding to an album entry in the photography page; or for each canvas, determining corresponding multimedia material in response to a trigger operation on a photography control on the photography page; Video generation method.
2. the at least two canvases include a first canvas; Determining corresponding multimedia material for each of the at least two canvases includes: When the first canvas is in a selected state, determining multimedia material corresponding to the first canvas based on an album page corresponding to an album entry in the photography page; Alternatively, the method of claim 1 further comprises determining multimedia material corresponding to the first canvas in response to a trigger operation on a photography control on the photography page when the first canvas is in a selected state.
3. When the first canvas is in a selected state, determining multimedia material corresponding to the first canvas based on an album page corresponding to an album entry in the photography page; When the first canvas is in a selected state, displaying an album page in response to a trigger operation on an album entry on the photography page; and determining multimedia material corresponding to the first canvas from the album page based on a duration of a current capture mode of the capture page.
4. determining multimedia material corresponding to the first canvas from the album page according to a time length of the current shooting mode of the shooting page; The method of claim 3 , further comprising determining multimedia material corresponding to the first canvas from the album page based on a duration of a current capture mode of the capture page and a duration of currently selected music.
5. determining multimedia material corresponding to the first canvas from the album page according to a duration of the current shooting mode of the shooting page and a duration of the currently selected music; 5. The method of claim 4, further comprising: determining a minimum time length from a time length of a current shooting mode of the shooting page and a time length of currently selected music; and determining multimedia material corresponding to the first canvas from the album page based on the minimum time length.
6. the at least two canvases include a second canvas; Determining corresponding multimedia material for each of the at least two canvases includes: determining the multimedia material of the second canvas based on the shortest duration of video material among the multimedia materials already determined for the captured page; The method of claim 1 , wherein the previously determined multimedia material includes video material.
7. determining the multimedia material of the second canvas based on the shortest video material duration among the multimedia materials already determined on the shooting page; When the second canvas is in a selected state, displaying an album page in response to a trigger operation on an album entry on the photography page; 7. The method of claim 6, further comprising: determining multimedia material corresponding to the second canvas from the album page based on the shortest length of video material among the multimedia materials already determined on the photography page.
8. determining the multimedia material of the second canvas based on the shortest video material duration among the multimedia materials already determined on the shooting page; 7. The method of claim 6, further comprising: when the second canvas is in a selected state, determining, in response to a trigger operation on a shooting control on the shooting page, a multimedia material corresponding to the second canvas based on the shortest length of video material among the multimedia materials already determined on the shooting page.
9. The at least two canvases include a second canvas, and determining corresponding multimedia material for each canvas of the at least two canvases includes:
2. The method of claim 1, further comprising: trimming the multimedia material selected from the album page for the second canvas if the duration of the multimedia material selected from the album page for the second canvas is greater than the shortest duration of the video material among the multimedia materials already determined on the shooting page; and setting the trimmed multimedia material as the multimedia material corresponding to the second canvas.
10. Trimming the selected multimedia material from the album page to the second canvas includes: In response to a selection operation for a multimedia material on the album page, displaying a video trimming page, trimming the selected multimedia material based on a trimming criteria box, and determining a video segment within the trimming criteria box as the trimmed multimedia material; The method of claim 9 , wherein the duration of the multimedia material within the trimming reference box is no greater than the shortest duration of video material among the previously determined multimedia materials on the captured page.
11. before generating a shooting composition result video based on the multimedia materials corresponding to each of the at least two canvases; The method of claim 1, further comprising: in response to a switching operation on a current display layout of the at least two canvases, presenting the at least two canvases on the photography page based on a switched display layout corresponding to the switching operation.
12. generating a shooting composition result video based on multimedia materials corresponding to each of the at least two canvases, The method of claim 1, further comprising: combining the multimedia materials corresponding to the at least two canvases according to the shortest video material duration among the multimedia materials corresponding to the at least two canvases to generate a composite result video.
13. a presentation module for presenting at least two canvases on the photography page in response to a trigger operation on a preset photography composition control on the photography page; a determination module for determining corresponding multimedia material for each of the at least two canvases; a generating module for generating a shooting composition result video based on multimedia materials corresponding to each of the at least two canvases; The decision module: determining, for each canvas, corresponding multimedia material based on an album page corresponding to an album entry in the photography page; Or, for each canvas, in response to a trigger operation on a photography control on the photography page, determining corresponding multimedia material. Video generation device.
14. A computer-readable storage medium having stored thereon instructions that, when executed on a terminal device, cause the terminal device to implement the method of any one of claims 1 to 12.
15. 13. An apparatus comprising a memory, a processor, and a computer program stored in said memory and executable by said processor, said apparatus implementing the method of any one of claims 1 to 12 when said processor executes said computer program.
16. A program comprising computer instructions which, when executed by a processor, causes the program to implement the method of any one of claims 1 to 12.
Citation Information
Patent Citations
Multimedia content preview method and device
CN109151360A
Video processing method, device, equipment and storage medium
CN113395588A
Image processor
JP2013012934A
Portable terminal device, program, and electronic document generation method
JP2013042274A
Reproduction control apparatus, reproduction control method, and program
JP2014086787A