Video generation method, device, equipment and storage medium

By presenting multiple canvases and allowing users to select and integrate multimedia materials, the method enriches the joint shooting function, improving user experience in video creation.

JP2024533733AActive Publication Date: 2024-09-12BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
JP2024518853
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-09-28
Filing Date
2022-09-19
Publication Date
2024-09-12
Estimated Expiration
2042-09-19

Smart Images

  • Figure 2024533733000001
    Figure 2024533733000001
Patent Text Reader

Abstract

The present disclosure provides a video generation method, apparatus, device, and storage medium, the method including: presenting at least two canvases on a shooting page in response to a trigger operation on a preset collaborative shooting control on the shooting page; determining corresponding multimedia material for each canvas of the at least two canvases; and generating a collaborative shooting result video based on the multimedia material corresponding to each canvas.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This disclosure is filed on September 28, 2021, entitled "VIDEO GENERATION METHOD, APPARATUS, DEVICE, AND STORAGE MEDIUM", and claims priority to 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, the collaborative shooting function of video has been used by more and more users.

[0004] Currently, the realization process of 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 to jump to the shooting page, and then the user completes collaborative shooting with this shot video by the shooting device, and obtains a collaborative shooting result video with this shot video.

[0005] The current video collaborative shooting function can only realize the shared shooting of shot videos in information streams, and the shared shooting function is too single, which affects the user's experience of playing the shared shooting function. Therefore, how to enrich the video collaborative shooting function and improve the user's usage experience is currently a technical problem 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, and for each canvas on a shooting page, a corresponding multimedia material is respectively determined, thereby realizing a collaborative shooting function of generating a collaborative shooting result video based on the multimedia material 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, the 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 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 determining module for determining corresponding multimedia material for each canvas of the at least two canvases; and a generating module for generating a collaborative shoot 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 instructions stored thereon that, when executed on a terminal device, cause the terminal device to implement the 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 apparatus realizing the method when the processor executes the computer program.

[0011] According to a fifth aspect, the present disclosure provides a computer program product, the computer program product comprising computer programs / instructions which, when executed by a processor, effectuate the above method. Effect 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] The embodiment of the present disclosure provides a video generating method, which firstly 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, respectively 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 the collaborative shooting function of generating a collaborative shooting result video based on the multimedia materials of each canvas by respectively determining corresponding multimedia materials for each canvas on the shooting page, thereby enriching the collaborative shooting function of the video, and thereby improving the user's usage experience. [Brief description 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 or related technologies of the present disclosure, the following briefly introduces drawings that need to be used in the embodiments or related technology description, and it is obvious that those skilled in the art can also derive other drawings based on these drawings without exerting creative efforts. [Figure 1] 1 is a flowchart of a video generation method according to an embodiment of the present disclosure. [Diagram 2] FIG. 2 is a schematic diagram of a capture page according to an embodiment of the present disclosure. [Diagram 3] FIG. 13 is a schematic diagram of another capture page according to an embodiment of the present disclosure. [Figure 4] FIG. 2 is a schematic diagram of an album page according to an embodiment of the present disclosure. [Diagram 5] FIG. 13 is a schematic diagram of another capture page according to an embodiment of the present disclosure. [Figure 6] FIG. 13 is a schematic diagram of another capture page according to an embodiment of the present disclosure. [Figure 7] FIG. 13 is a schematic diagram of a video cropping page according to an embodiment of the present disclosure. [Figure 8] FIG. 2 is a schematic diagram of a video editing page according to an embodiment of the present disclosure. [Figure 9] FIG. 2 is a structural schematic diagram of a video generating device according to an embodiment of the present disclosure. [Figure 10] FIG. 2 is a structural schematic diagram of a video generating device according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0016] In order to make the above objectives, features and advantages of the present disclosure more clearly understandable, the present disclosure will be further described below. It should be noted that, unless there is a conflict, the features in the embodiments and embodiments of the present disclosure can be combined with each other.

[0017] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure; however, the present disclosure may be embodied in other ways than those described herein, and it is apparent that the embodiments in the specification are merely some embodiments of the present disclosure, but not all of the 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 playing the collaborative shooting function of the video.

[0019] Therefore, the embodiment of the present disclosure provides a video generating method, which firstly 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, respectively determines corresponding multimedia materials for each canvas among the at least two canvases, and generates a collaborative shooting result video according to the multimedia materials corresponding to each canvas. As can be seen, the video generating method according to the embodiment of the present disclosure realizes the collaborative shooting function of generating a collaborative shooting result video based on the multimedia materials of each canvas by respectively determining corresponding multimedia materials for each canvas on the shooting page, thereby enriching the collaborative shooting function of video, and thereby improving the user's usage experience.

[0020] Based on this, an embodiment of the present disclosure provides a video generating method, and referring to FIG. 1, there is shown a flowchart of a video generating 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 a preset collaborative photography control on the photography page may be any operation for a preset collaborative photography control, such as an operation of clicking on a 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] As shown in Fig. 3, it is a schematic diagram of another shooting page according to an embodiment of the present disclosure, and after receiving a trigger operation on the preset collaborative shooting control on the shooting page shown in Fig. 2, the display effect of the shooting page shown in Fig. 2 as described above can be switched to the display effect of the shooting page shown in Fig. 3. Here, the shooting page shown in Fig. 3 is a shooting 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 photography preview screen, i.e., the current input screen of the camera of the photography device, is displayed by default on the left canvas. In addition, to notify the user that multimedia material can be photographed or uploaded for the selected canvas, the left canvas may display a presentation information such as "Click to select canvas, photograph or upload". Specifically, the presentation information may be displayed on the left canvas in the form of bubbles.

[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 realize a selection for the canvas, instead of the default selection of the canvas.

[0028] S102: For each of the at least two canvases, corresponding multimedia material is 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 order, and specifically, the embodiment of the present disclosure does not limit the order in which multimedia material is determined for each canvas.

[0031] In the embodiment of the present disclosure, before determining the corresponding multimedia material for each canvas, the canvas is first selected, so that the canvas is in a selected state. Generally, the user can click any one of the canvases on the shooting page to realize the selection for the canvas, and then determine the multimedia material for the selected canvas.

[0032] Hereinafter, if a first canvas is included among multiple canvases presented on a photography page, the first canvas may be any one of the canvases presented on this photography 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 Fig. 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 Fig. 3 are canvas A (left side) and canvas B (right side), and the first canvas may be 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, it is possible to jump from the current photography page to the album page.

[0036] As shown in Figure 4, it is a schematic diagram of an album page according to an embodiment of the present disclosure, in which 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 the 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, in response to a triggering operation of a capture control on the capture page, multimedia material corresponding to the first canvas can be determined.

[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, if two canvases are presented on the shooting page shown in Fig. 3, respectively, namely 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] The canvas B (right side) shown in Figure 3 can also be understood by referring to the above-mentioned multimedia material determination method, and will not be described further here. It should be noted that after determining the multimedia material corresponding to the canvas A, the system automatically switches to the selection state for the canvas B, and the user can further realize the determination of the multimedia material of the canvas B in the selection state by clicking the album entry or clicking the shooting 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, a user 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 material duration among the multimedia materials corresponding to each canvas on the shooting page to generate a collaborative shooting result video, in which the collaborative 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 length of the collaborative photography result video, and video materials longer than this length are trimmed.

[0045] In addition, for an image material, a video corresponding to the image material is generated based on the shortest time length, and the video can be combined with other video materials to form a joint shooting result video, where the image material is displayed on each frame video screen in the video corresponding to the image material.

[0046] In another embodiment, if 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 time length 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 time length of the current photography mode. Or, the playback time length of the collaborative photography result video may be determined based on the time length of the current photography mode of the photography page and the time length of the currently selected music. For example, the playback time length of the collaborative photography result video is equal to the shortest time length of the time length of the current photography mode and the time length of the currently selected music.

[0047] For example, assuming that 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 s, and the duration of the currently selected music is 10 s, in some embodiments, a collaborative shooting result video is generated for the three image materials based on the shortest duration of 10 s between the duration of the current shooting mode and the duration of the currently selected music, where each frame in the collaborative shooting result video displays an image material corresponding to each of the three canvases.

[0048] In one embodiment, first, a video corresponding to each image material corresponding to each canvas is generated, 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. Then, the videos of the image materials corresponding to each canvas are synthesized as a joint shooting result video.

[0049] In another embodiment, image material corresponding to each canvas is 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] The video generating method according to the embodiment of the present disclosure responds to a trigger operation on a preset collaborative shooting control on a shooting page by presenting at least two canvases on the shooting page, determining corresponding multimedia materials for each of the at least two canvases, and generating a collaborative shooting result video based on the multimedia materials corresponding to each canvas. As can be seen, by determining corresponding multimedia materials for each canvas on the shooting page of the embodiment of the present disclosure, a collaborative shooting function of generating a collaborative shooting result video based on the multimedia materials on each canvas is realized, enriching the collaborative shooting function of the video, and thereby improving the user's usage experience.

[0051] Based on the content of the above embodiment, the embodiment of the present disclosure further provides a method for determining multimedia materials 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 in a photography page, and then determine multimedia materials corresponding to the first canvas from the album page according to the duration of the current photography mode on the photography page.

[0052] Here, the time length of the current shooting mode is the longest shooting time length of the video supported by the current shooting mode, and as shown in FIG. 3, the time lengths of three shooting modes, 15s, 30s, and 1min, are displayed on the shooting page. After the current shooting mode is determined, the time length of the shooting mode corresponding to the current shooting mode is determined as the time length of the current shooting mode. The user can determine the time length of the current shooting mode according to his / her needs, for example, if the user wants to shoot a video not longer than 15s, the user can select the time length of the current shooting mode of 15s.

[0053] The first canvas may be any one of at least two canvases presented on the shooting 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 shooting page. For convenience of description, the first canvas is hereinafter referred to as canvas A.

[0054] In one embodiment, the multimedia material corresponding to the canvas A can be determined from the album page according to the duration of the current shooting mode of the shooting page, where the duration of the multimedia material corresponding to the canvas A is not longer than the duration of the current shooting mode. For example, if the duration of the current shooting mode of the shooting page is 30s, a video not longer than 30s can be selected from the album page as the multimedia material corresponding to the canvas A.

[0055] As shown in Figure 5, it is a schematic diagram of another shooting page according to an embodiment of the present disclosure, in which the time length of the current shooting mode on the shooting page is 30s, and for canvas A (left side) on the shooting page, the user can determine one 22s 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 30s from an album page, by trimming the video material, the time length corresponding to the trimmed video material is no longer longer than 30s, and the trimmed video material can be determined as the multimedia material corresponding to the canvas A. The specific trimming process can be referred to the embodiment described later, and will not be further described 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 a time length of the current capture mode and a 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 time length of the current shooting mode is 30s, the time length of the currently selected music is 10s, and the shortest time length determined by the time length of the current shooting mode and the time length of the currently selected music is 10s, then a video material not longer than 10s can be selected from the album page as the multimedia material corresponding to the canvas A. Also, if a user selects a video material longer than 10s from the album page, by trimming this video material, the time length corresponding to the trimmed video material will not be longer than 10s, and the trimmed video material can be determined as the multimedia material corresponding to the canvas A. The specific trimming process can be referred to the embodiment described later, and will not be further described here.

[0061] The embodiment of the present disclosure can not only determine the multimedia material corresponding to the canvas A from the album page, but also determine the multimedia material corresponding to the canvas A according to the shooting manner. Specifically, the implementation manner of determining the multimedia material corresponding to the 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 minimum length of the current capture mode and the length of the currently selected music. In particular, the length of time of the multimedia material that the camera can capture may be understood by referring to the above description regarding determining the length of the multimedia material corresponding to the first canvas from the album page, and will not be further described here.

[0063] In practical application, after determining 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 the 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 generating 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 of 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, the first selected canvas on the shooting page is canvas C, and 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 multiple canvases presented on the shooting page include 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 already determined multimedia materials on the shooting page, where the second canvas is any one of the multiple 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, the corresponding multimedia material can be determined for canvas B from the album page. Specifically, when the second canvas is in a selected state, in response to a trigger operation on an album entry in the photography page, the album page is displayed, and the multimedia material corresponding to the second canvas is determined from the album page based on the shortest duration of the video material among the multimedia materials already determined in the photography page. Specifically, the shortest duration not longer than the duration of the video material among the multimedia materials already determined is selected as the multimedia material corresponding to the second canvas from the album page.

[0070] As shown in Fig. 6, which is a schematic diagram of another shooting page according to an embodiment of the present disclosure, the time length of the multimedia material determined for canvas C (left side) in the shooting page is 22s. For canvas B (right side) in the shooting page, a video material not longer than 22s can be selected from the album page as the multimedia material corresponding to canvas B. As shown in Fig. 6, a video material of 12s 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 22 s 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 made the multimedia material corresponding to canvas B.

[0073] If the duration of the already determined multimedia material in canvas C on the shooting page is 22 seconds, and a 52-second video on the album page is determined as the multimedia material corresponding to canvas B, then since the duration corresponding to the multimedia material corresponding to canvas B is greater than 22 seconds, 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, a 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 already determined. For example, if the shortest length of video material among the multimedia materials already determined is 22 seconds, then the video length that can be shot by the camera for canvas B is not greater than 22 seconds, and after the camera completes shooting, video material or image material obtained by shooting that has a length of not greater than 22 seconds can be determined as the multimedia material corresponding to canvas B.

[0077] The present disclosure provides a video generation method, which determines corresponding multimedia material for each canvas on a shooting page based on the shortest video material duration among the already determined multimedia materials on the shooting page, respectively, to avoid the multimedia material determined for a canvas occupying too many system resources, 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 scheme 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 that falls within the trimming criteria box as the trimmed multimedia material, where a duration of the multimedia material that falls within the trimming criteria box is no greater than a shortest duration of video material among the already determined multimedia materials on the capture page.

[0080] Specifically, in response to a selection operation on a multimedia material on the album page shown in Fig. 4, a jump can be made from the album page to a 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 criterion box. Specifically, a video segment within the trimming criterion box is determined as the trimmed multimedia material.

[0081] 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 video segment that is within the trimming criteria 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 that is 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 any video material among the multimedia materials already determined on the capture page, and the duration of any video segment that falls within the trimming criterion box is not greater than the shortest duration of any video material among the multimedia materials already determined on the capture page.

[0084] Referring to FIG. 7, a schematic diagram of a video trimming page according to an embodiment of the present disclosure.

[0085] Assuming that the multimedia material corresponding to the canvas C is 22s, and the multimedia material selected for the canvas B from the album page is 52s, this multimedia material can be trimmed according to the video trimming page shown in Fig. 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 realize the selection of the multimedia material corresponding to the canvas B.

[0086] Specifically, a video frame screen 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 and is 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 trimming process of 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, the 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 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 corresponding to the switching operation.

[0089] In the embodiment 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 square 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 any one of the above layout display methods is received, the currently displayed layout of the canvas on the photographing page can be switched to the layout display method corresponding to the selection operation.

[0091] After determining the corresponding multimedia materials for each canvas in the shooting page, a collaborative shooting result video is generated according to 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 two canvases presented in a top-bottom layout manner are displayed on the video editing page. After the user clicks the "Post diary" or "Next step" control, the user can post the generated collaborative shooting result video.

[0092] In one embodiment, the layout display mode may 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 his / her preference. For example, the layout display mode on the shooting page shown in Fig. 6 is a left-right layout mode, and the layout display mode on the shooting page shown in Fig. 6 can be switched to a top-bottom layout mode by selecting the layout switch.

[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's usage experience.

[0094] According to an embodiment of the above method, the present disclosure further provides a video generating device. Referring to FIG. 9, a structural schematic diagram of a video generating device according to an embodiment of the present disclosure, the device includes: 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 determining 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 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 further comprises: 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, in response to a trigger operation on a photography control on the photography page, a multimedia material corresponding to the first canvas 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 submodule: 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, according to a time length of a current shooting mode of the shooting page, multimedia material corresponding to the first canvas from the album 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 for determining a 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 determining 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 further comprises: and a fifth determination sub-module for determining a multimedia material of the second canvas based on a shortest duration of a video material among the already determined multimedia materials in the shooting page, where the already determined multimedia materials include a video material.

[0100] In one embodiment, the fifth determination submodule comprises: 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 duration of video material among the multimedia materials already determined in the shooting page.

[0101] In one embodiment, the fifth determination submodule comprises: and a seventh determination submodule for determining, when the second canvas is in a selected state, a multimedia material corresponding to the second canvas based on the shortest duration of video material among the multimedia materials already determined on the shooting page in response to a trigger operation on a shooting control on the shooting page.

[0102] In one embodiment, the decision module comprises: 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 for multimedia material in 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, where the time length of the multimedia material within the trimming criterion box is not greater than the shortest time length of the video material among the multimedia materials already determined in the shooting page.

[0104] In one embodiment, the generation module comprises: The display device further includes a presentation sub-module for, 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 post-switching display layout corresponding to the switching operation.

[0105] In one embodiment, the generation module comprises: The first generating sub-module further includes: a first generating sub-module for synthesizing the multimedia materials corresponding to each of the at least two canvases according to the shortest video material duration among the multimedia materials corresponding to each of 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 the 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 canvas on the shooting page, thereby enriching the collaborative shooting function of the video, and thereby improving the user's usage experience.

[0107] In addition to the above methods and apparatus, embodiments of the present disclosure further provide a computer-readable storage medium having instructions stored therein, which, when executed by a terminal device, causes the terminal device to realize 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, the computer program product including computer programs / instructions, which, when executed by a processor, implement the video generation method according to the embodiment of the present disclosure.

[0109] Moreover, an embodiment of the present disclosure further provides a video generating device, as shown in FIG. The video generating 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 generating device may be one or more, with one processor being exemplified in Fig. 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 another manner, with the example of being connected by a bus in Fig. 10.

[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, thereby executing various functional applications and data processing of the video production device. The memory 1002 may mainly include a program storage area and a data storage area. Here, the program storage area can store an operating system, an application program required for at least one function, etc. In addition, the memory 1002 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk memory device, a 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 in accordance with the following instructions, and the processor 1001 executes the application programs stored in the memory 1002, thereby realizing various functions of the above-mentioned video generation device.

[0112] It should be explained that in this specification, relational terms such as, for example, "first" and "second" are used only to distinguish one entity or operation from another, without necessarily requiring or implying any such actual relationship or order between those entities or operations. And the terms "comprise", "include", "includes" or any other variant thereof are intended to cover a non-exclusive "comprise", whereby a process, method, article or device that includes a set of elements not only includes those elements, but also includes other elements not expressly listed, or further includes 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 above are only specific embodiments of the present disclosure, which can be understood or realized by those skilled in the art. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not limited to these 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 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 shoot result video based on multimedia materials corresponding to each of the at least two canvases.

2. The at least two canvases include a first canvas, Determining corresponding multimedia material for each canvas of the at least two canvases includes: determining, when the first canvas is in a selected state, a multimedia material corresponding to the first canvas based on an album page corresponding to an album entry in the photography page; or 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. determining, when the first canvas is in a selected state, a multimedia material corresponding to the first canvas based on an album page corresponding to an album entry in the photography page; 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 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 duration 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 a 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 duration of a current shooting mode of the shooting page and a duration of a 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 canvas of the at least two canvases includes: determining the multimedia material of the second canvas based on a minimum duration of video material among the multimedia materials already determined for the capture 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 a minimum video material duration among the multimedia materials already determined in the shooting page; 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 determining a multimedia material from the album page that corresponds to the second canvas based on a shortest length of video material among the multimedia materials already determined in the photography page.

8. determining the multimedia material of the second canvas based on a shortest video material duration among the multimedia materials already determined in the shooting page; 7. The method of claim 6, further comprising: in response to a trigger operation on a shooting control on the shooting page, when the second canvas is in a selected state, determining a multimedia material corresponding to the second canvas based on a shortest duration of video material among already determined multimedia materials on the shooting page.

9. The at least two canvases include a second canvas, and determining, for each canvas of the at least two canvases, corresponding multimedia material, respectively, includes: The method of claim 1, further comprising: 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 setting the trimmed multimedia material as the multimedia material corresponding to the second canvas.

10. 3. Cropping the selected multimedia material from the album page on the second canvas, displaying a video trimming page in response to a selection operation for a multimedia material on the album 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 capture page.

11. before generating a joint shooting result video based on 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 joint shooting result video based on multimedia materials corresponding to each of the at least two canvases; The method of claim 1 , further comprising: synthesizing the multimedia materials corresponding to each of the at least two canvases according to a shortest length of video material among the multimedia materials corresponding to each of the at least two canvases to generate a joint shooting result video.

13. 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 determining module for determining corresponding multimedia material for each canvas of the at least two canvases; a generation module for generating a collaborative shooting result video based on multimedia materials corresponding to each of the at least two canvases.

14. A computer readable storage medium having stored thereon instructions which, when executed on a terminal device, cause said 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, the apparatus implementing the method of any one of claims 1 to 12 when said processor executes the computer program.

16. A computer program product comprising computer programs / instructions which, when executed by a processor, cause the computer program / instructions to implement the method according to 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