Multimedia generation method and apparatus, and terminal device

By scanning the template-encoded image with a terminal device and filling the page slots with multimedia, and generating touch-sensitive controls, new multimedia content is generated based on the template and the selected multimedia. This solves the problem of high complexity in multimedia generation operations and improves efficiency and user experience.

WO2026061033A1PCT designated stage Publication Date: 2026-03-26BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-06-20
Publication Date
2026-03-26

AI Technical Summary

Technical Problem

In existing technologies, generating multimedia content based on multimedia templates involves high operational complexity, resulting in low generation efficiency.

Method used

The terminal device scans the coded image of the template, displays a page containing a collection of multimedia, fills the slots on the page with the multimedia selected by the user, and generates new multimedia content based on the template and the selected multimedia after the control becomes touchable.

Benefits of technology

It reduces the operational complexity of multimedia generation, improves generation efficiency and user experience, and enhances the flexibility and accuracy of multimedia editing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025102403_26032026_PF_FP_ABST
    Figure CN2025102403_26032026_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present disclosure are a multimedia generation method and apparatus, and a terminal device. The multimedia generation method comprises: in response to scanning a coded image of a template, displaying a page, the page comprising a first multimedia set; and in response to selecting one or more first multimedia in the first multimedia set, generating second multimedia on the basis of the one or more first multimedia and the template.
Need to check novelty before this filing date? Find Prior Art

Description

Multimedia generation method, device and terminal equipment

[0001] Cross-reference to Related Applications

[0002] This application claims priority to Chinese Patent Application No. 202411312199.1, entitled "Multimedia generation method, device and terminal equipment", filed on September 19, 2024, which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0003] Embodiments of the present disclosure relate to the field of multimedia technology, and in particular, to a multimedia generation method, device and terminal equipment. BACKGROUND

[0004] In the field of multimedia editing, a user can improve the efficiency of multimedia editing through a multimedia template. For example, the user can edit multiple videos using a video template, and thus a new video can be obtained. SUMMARY

[0005] Embodiments of the present disclosure provide a multimedia generation method, device and terminal equipment.

[0006] In a first aspect, embodiments of the present disclosure provide a multimedia generation method, comprising:

[0007] In response to scanning of an encoded image of a template, displaying a page, the page comprising a set of first multimedia;

[0008] In response to selection of one or more first multimedia in the set of first multimedia, generating a second multimedia based on the one or more first multimedia and the template.

[0009] In a second aspect, embodiments of the present disclosure provide a multimedia generation device, comprising a display module and a generation module, wherein:

[0010] The display module is configured to, in response to scanning of an encoded image of a template, display a page, the page comprising a set of first multimedia;

[0011] The generation module is configured to, in response to selection of one or more first multimedia in the set of first multimedia, generate a second multimedia based on the one or more first multimedia and the template.

[0012] In a third aspect, the present disclosure provides a terminal equipment comprising a processor and a memory.

[0013] The memory stores computer execution instructions.

[0014] The processor executes the computer-executed instructions stored in the memory, so that the at least one processor executes the multimedia generation method as described in the first aspect and various possible aspects related to the first aspect.

[0015] In a fourth aspect, the present disclosure provides a computer-readable storage medium, and the computer-readable storage medium stores computer-executed instructions, and when a processor executes the computer-executed instructions, the multimedia generation method as described in the first aspect and various possible aspects related to the first aspect is implemented.

[0016] In a fifth aspect, the present disclosure provides a computer program product, and the computer program product includes a computer program, and when a processor executes the computer program, the multimedia generation method as described in the first aspect and various possible aspects related to the first aspect is implemented. BRIEF DESCRIPTION OF DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the prior art, the drawings needed to be used in the embodiments or the prior art description will be briefly introduced. Obviously, the drawings in the following description are some embodiments of the present disclosure, and other drawings can be obtained by those skilled in the art without creative labor.

[0018] FIG. 1 is a schematic diagram of an application scenario provided by an embodiment of the present disclosure;

[0019] FIG. 2 is a flowchart of a multimedia generation method provided by an embodiment of the present disclosure;

[0020] FIG. 3 is a schematic diagram of a process of obtaining an encoded image provided by an embodiment of the present disclosure;

[0021] FIG. 4 is a schematic diagram of a process of displaying a page provided by an embodiment of the present disclosure;

[0022] FIG. 5 is a schematic diagram of another process of displaying a page provided by an embodiment of the present disclosure;

[0023] FIG. 6 is a schematic diagram of another process of displaying a page provided by an embodiment of the present disclosure;

[0024] FIG. 7 is a schematic diagram of a process of generating a second multimedia provided by an embodiment of the present disclosure;

[0025] FIG. 8 is a schematic diagram of another process of generating a second multimedia provided by an embodiment of the present disclosure;

[0026] FIG. 9 is a schematic diagram of a process of regenerating a second multimedia provided by an embodiment of the present disclosure;

[0027] FIG. 10 is a schematic diagram of a method of displaying a slot provided by an embodiment of the present disclosure;

[0028] FIG. 11 is a schematic diagram of a slot according to an embodiment of the present disclosure;

[0029] FIG. 12 is a process diagram of a multimedia generation method according to an embodiment of the present disclosure;

[0030] FIG. 13 is a structural diagram of a multimedia generation apparatus according to an embodiment of the present disclosure;

[0031] FIG. 14 is a structural diagram of a terminal device according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0032] At present, a terminal device needs to download a multimedia template based on a link associated with the multimedia template, and load the multimedia template in a multimedia application, and a user can add an image or a video in the multimedia template, and thus obtain multimedia content related to the multimedia template. However, in the above method, the operation complexity is high, and the generation efficiency of the multimedia content is low.

[0033] The exemplary embodiments will be described in detail herein below with reference to the drawings. Unless otherwise indicated, the same numbers on different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present disclosure. Instead, they are merely examples of apparatuses and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0034] It can be understood that, before using the technical solutions disclosed in the embodiments of the present disclosure, the type, use range, use scenario, and the like of personal information involved in the present disclosure should be informed to the user and the authorization of the user should be obtained through appropriate means according to relevant laws and regulations.

[0035] For example, in response to receiving an active request of a user, prompt information is sent to the user to explicitly prompt the user that the operation requested to be performed will need to obtain and use personal information of the user. Thus, the user can autonomously select whether to provide personal information to a terminal device, an application program, a server, or a storage medium, and the like software or hardware that performs the operation of the technical solutions of the present disclosure according to the prompt information.

[0036] As an optional but non-limiting implementation, in response to receiving an active request of a user, the manner of sending prompt information to the user may, for example, be a pop-up window manner, and the prompt information may, for example, be presented in the pop-up window in a text manner. In addition, the pop-up window may, for example, carry a selection control for the user to select “agree” or “disagree” to provide personal information to the terminal device.

[0037] It can be understood that the above notification and user authorization obtaining process is only illustrative, and does not limit the implementation of the present disclosure, and other ways that meet relevant laws and regulations can also be applied to the implementation of the present disclosure.

[0038] For ease of understanding, the concepts related to the embodiments of the present disclosure are described below.

[0039] Terminal device: a device with wireless transceiver function. The terminal device can be deployed on land, including indoor or outdoor, handheld, wearable or vehicle-mounted. The terminal device can be a mobile phone, a tablet computer, a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a vehicle-mounted terminal device, a wireless terminal in self driving, a wireless terminal device in remote medical, a wireless terminal device in smart grid, a wireless terminal device in transportation safety, a wireless terminal device in smart city, a wireless terminal device in smart home, a wearable terminal device, etc. The terminal device related to the embodiments of the present disclosure can also be referred to as a terminal, a user equipment (UE), an access terminal device, a vehicle-mounted terminal, an industrial control terminal, a UE unit, a UE station, a mobile station, a mobile station, a remote station, a remote terminal device, a mobile device, a UE terminal device, a wireless communication device, a UE agent or a UE apparatus, etc. The terminal device can also be fixed or mobile.

[0040] In the related art, a user can reduce the difficulty of multimedia editing and improve the efficiency of multimedia editing through a multimedia template. For example, a video template can be used to edit multiple videos to obtain a new video, which can include multiple videos and special effects associated with the video template. Currently, a terminal device needs to download a multimedia template based on the link of the multimedia template, and load the multimedia template in a multimedia application. The user can add images or videos in the multimedia template to obtain a second multimedia associated with the multimedia template. For example, a terminal device can download a video template from a server and load the video template in a video application. The user can add at least one video in the video template to obtain a new video. However, in the above method, the complexity of obtaining the multimedia template is high, the operation complexity of multimedia editing is high, and the generation efficiency of the multimedia is low.

[0041] To solve the technical problems in the related art, the embodiment of the disclosure provides a multimedia generation method. A terminal device can display a page in response to scanning of an encoded image of a template. The page can include a first multimedia set. The terminal device can also display a slot in the page. In response to selection of one or more first multimedia in the first multimedia set, the terminal device fills the first multimedia in the slot. If each slot is filled with the first multimedia, the control state of a second multimedia generation control in the page changes from an un-touchable state to a touchable state. In response to touch of the generation control, the terminal device generates a second multimedia based on the one or more first multimedia and the template. In the above method, the terminal device can quickly display a page associated with the template by scanning the encoded image of the template. Since the page can also include a slot, a user can quickly select appropriate first multimedia based on the slot. This can reduce the operation complexity of generating the second multimedia, improve the generation efficiency of the second multimedia, and improve the user experience. In other words, this can reduce the operation complexity of generating the multimedia, improve the generation efficiency of the multimedia, and improve the user experience.

[0042] Next, in combination with FIG. 1, the application scenario of the embodiment of the disclosure is described.

[0043] FIG. 1 is a schematic diagram of an application scenario provided by the embodiment of the disclosure. Please refer to FIG. 1, which includes a terminal device. The page displayed by the terminal device is a code scanning page. The code scanning page includes a two-dimensional code scanned by the terminal device. The terminal device can recognize the two-dimensional code and obtain an image template of the two-dimensional code. The terminal device can display an album. The album can include image A, image B, image C, image D, image E, and image F.

[0044] Please refer to FIG. 1. After the user selects image A and image B, the terminal device can synthesize image G based on the image template, image A, and image B, and display the image editing result. The upper left corner of image G is image A, and the lower right corner of image G is image B. In this way, the terminal device can obtain the image template based on scanning of the two-dimensional code, and quickly display the album based on scanning of the two-dimensional code. Therefore, it is convenient for the user to select relevant image materials and obtain the image editing result, reduces the complexity of image editing, and improves the efficiency of image editing.

[0045] It should be noted that FIG. 1 is only an example of the embodiment of the disclosure, and is not a limitation of the embodiment of the disclosure.

[0046] The technical solutions of the present disclosure and how the technical solutions of the present disclosure solve the above technical problems will be described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes can not be described again in some embodiments. The embodiments of the present disclosure will be described below with reference to the drawings.

[0047] FIG. 2 is a flowchart of a multimedia generation method according to an embodiment of the present disclosure. Referring to FIG. 2, the method can include:

[0048] S201, in response to scanning of an encoded image of a template, displaying a page, the page including a set of first multimedia.

[0049] The execution subject of the embodiments of the present disclosure can be a terminal device, or a multimedia generation apparatus in the terminal device. The multimedia generation apparatus can be implemented based on software, or implemented based on a combination of software and hardware, and the embodiments of the present disclosure do not limit this.

[0050] The template can be used for multimedia creation. For example, the template can include pre-designed animation effects, text styles, color combinations, transition effects, music, and other elements, and the terminal device can automatically generate images or videos based on the template, user-selected photos or videos.

[0051] The type of the template can include an image template type and a video template type. For example, the template can be an image template, or the template can be a video template. The image template can be a pre-defined image layout or design framework, and the image template can include a plurality of pre-set graphical elements, text styles, and layout structures. A user can quickly generate an image that conforms to a pre-set style corresponding to the image template through the image template. The video template can be a pre-made video structure and content framework, and the video template can include a plurality of video segments, animation effects, background music, and other elements. A user can quickly generate a video that conforms to a pre-set style corresponding to the video template through the video template.

[0052] The encoded image can be an image generated based on editing technology. For example, the encoded image can be a bar code, a two-dimensional code, or the like, and the embodiments of the present disclosure do not limit this.

[0053] The encoded image can be an encoded image of the template. For example, the terminal device can encode the download link of the template by using an encoding technology to obtain an encoded image. When the terminal device scans the encoded image, the terminal device can automatically download the template. For example, the terminal device can encode the template by using an encoding technology to obtain an encoded image. When the terminal device scans the encoded image, the terminal device can obtain the template. For example, the terminal device can scan a two-dimensional code based on a multimedia application (such as a video editing application or an image editing application) to obtain the template.

[0054] Optionally, the encoded image can further include an identifier indicating a type of the template. The terminal device can determine the type of the template corresponding to the encoded image based on the identifier. For example, the terminal device can scan a two-dimensional code based on a multimedia application. If the terminal device obtains an identifier 1, the terminal device can determine that the two-dimensional code is a two-dimensional code of a video template. If the terminal device obtains an identifier 0, the terminal device can determine that the two-dimensional code is a two-dimensional code of an image template.

[0055] It should be noted that the terminal device can determine the type of the template based on any feasible implementation manner (for example, if the terminal device scans an encoded image to obtain a video template, the terminal device can determine that the encoded image is an encoded image of a video template, and the type of the template is a video template type. If the terminal device scans an encoded image to obtain an image template, the terminal device can determine that the encoded image is an encoded image of an image template, and the type of the template is an image template type). The present embodiment does not limit this.

[0056] Next, the process of obtaining the encoded image is described in combination with FIG. 3.

[0057] FIG. 3 is a process schematic diagram of obtaining an encoded image according to an embodiment of the present disclosure. Please refer to FIG. 3, which includes a terminal device. The page displayed by the terminal device can be a page to be tested. The page can include a template to be tested, a template to be tested 2, a template to be tested 3, a template to be tested 4, and a template to be tested 5 (before the template is put online, the terminal device can test the template to improve the compatibility and stability of the template).

[0058] Please refer to FIG. 3. When a user clicks a selection control (three dots) associated with the template to be tested 1, a window can be popped up at the bottom of the page. The window includes a preview control (previewing the template to be tested 1 in the current page), a control for sharing a two-dimensional code, a deletion control (deleting the template to be tested 1), and a control for jumping to an application to preview the template (previewing the template to be tested 1 in the application).

[0059] Please refer to FIG. 3, when the user clicks the control of sharing the two-dimensional code, the terminal device can generate the two-dimensional code of the template 1 to be tested, and display the two-dimensional code in the page. A new window can be popped up at the bottom of the page, and the window is used for sharing the two-dimensional code. The window can include a control of sharing to other users, a control of publishing the two-dimensional code, and a control of saving the two-dimensional code to the album. In this way, the terminal device can obtain the encoding image of the template, and improve the accuracy of the encoding image.

[0060] The scanning can be used to read the information of the encoding image. For example, the encoding image can include the information of the template (such as a download link of the template, an identifier indicating the type of the template, etc.). Therefore, when the terminal device scans the encoding image, the information of the encoding image can be read to obtain the information of the template.

[0061] It should be noted that the terminal device can scan the encoding image through a multimedia application (such as a video application and an image application), or scan the encoding image through other applications. When the terminal device scans the encoding image through other applications, the terminal device can jump from the other applications to the multimedia application.

[0062] The page can include a set of first multimedia. For example, the page can include one first multimedia, or can include a plurality of first multimedia. The embodiments of the present disclosure do not limit this.

[0063] The first multimedia can include images and / or videos. For example, the first multimedia can include images, the first multimedia can also include videos, and the first multimedia can further include images and videos. For example, the page can include at least one image, or the page can include at least one video, or the page can include at least one image and at least one video.

[0064] Optionally, the page can be an album of the terminal device, or the page can include an album of the terminal device (such as embedding an album of the terminal device in the page). The embodiments of the present disclosure do not limit this. For example, if the terminal device determines that the page includes images and does not include videos, the terminal device can determine that the page is an album of images. If the terminal device determines that the page includes videos and does not include images, the terminal device can determine that the page is an album of videos. If the terminal device determines that the page can include images and videos, the terminal device can determine that the page is an album of images and videos.

[0065] The terminal device can display the page based on the following possible implementation manners in response to scanning of the encoded image of the template: determining the type of the template, determining the set of first multimedia in the page based on the type of the template, and displaying the page based on the set of first multimedia. In this way, the terminal device can flexibly adjust the content in the page based on the type of the template, thereby improving the display flexibility of the page.

[0066] The type of the template can be an image template type or a video template type. Alternatively, the terminal device can determine the type of the template based on the encoded image (for example, the encoded image includes an identifier indicating the type of the template), or can obtain the template (for example, a video template or an image template) of the encoded image to obtain the type of the template, which is not limited in the embodiments of the present disclosure.

[0067] The terminal device can determine the set of first multimedia of the page based on the type of the template, and determine or generate the page based on the set of first multimedia. After the terminal device determines or generates the page, the terminal device can display the page. For example, the page can be a generated page, and the terminal device can determine the page in the generated page based on the type of the template. The page can also be a page generated in real time based on the type of the template, which is not limited in the embodiments of the present disclosure.

[0068] The terminal device can determine the set of first multimedia of the page based on the type of the template. Specifically, if the type of the template is an image template type, the terminal device can determine that the first multimedia in the set of first multimedia is an image. If the type of the template is a video template type, the terminal device can determine that the first multimedia in the set of first multimedia is a video, or the first multimedia in the set of first multimedia includes an image and a video. In this way, the terminal device can automatically adapt the set of first multimedia of the page based on the type of the template, thereby ensuring the rationality and consistency of the page.

[0069] For example, if the type of the template is an image template type, the terminal device can determine that the page includes an image and does not include a video. If the type of the template is a video template type, the terminal device can determine that the page includes a video and does not include an image, or the terminal device can determine that the page includes an image and a video.

[0070] The following describes the process of displaying the page in conjunction with FIGS. 4-6.

[0071] FIG. 4 is a process diagram of displaying a page according to an embodiment of the present disclosure. Referring to FIG. 4, a terminal device is included. The page displayed by the terminal device is a code scanning page. The code scanning page includes a two-dimensional code. After the terminal device successfully scans the code, the template of the two-dimensional code is determined as an image template. The terminal device can jump from the code scanning page to a photo album. The photo album can include image A, image B, image C, and image D.

[0072] FIG. 5 is another process diagram of displaying a page according to an embodiment of the present disclosure. Referring to FIG. 5, a terminal device is included. The page displayed by the terminal device is a code scanning page. The code scanning page includes a two-dimensional code. After the terminal device successfully scans the code, the template of the two-dimensional code is determined as a video template. The terminal device can jump from the code scanning page to a photo album. The photo album can include video A, video B, video C, and video D.

[0073] FIG. 6 is another process diagram of displaying a page according to an embodiment of the present disclosure. Referring to FIG. 6, a terminal device is included. The page displayed by the terminal device is a code scanning page. The code scanning page includes a two-dimensional code. After the terminal device successfully scans the code, the template of the two-dimensional code is determined as a video template. The terminal device can jump from the code scanning page to a photo album. The photo album can include video A, image B, image C, and video D.

[0074] In this way, the terminal device can display the page flexibly based on the type of the template of the encoded image, improve the display effect of the page, facilitate the user to edit the multimedia, improve the efficiency of editing the multimedia, and improve the user experience.

[0075] S202, in response to selection of one or more first multimedia in the set of first multimedia, generating a second multimedia based on the one or more first multimedia and the template.

[0076] The one or more first multimedia can be first multimedia selected by the user in the set of first multimedia. For example, the set of first multimedia includes first multimedia 1, first multimedia 2, and first multimedia 3. If the user touches first multimedia 1 and first multimedia 2, the terminal device can determine that the first multimedia selected by the user are first multimedia 1 and first multimedia 2.

[0077] The second multimedia can be an image or a video, and the second multimedia is associated with the template and the selected one or more first multimedia. For example, if the selected one or more first multimedia includes an image, the second multimedia can be an image, if the selected one or more first multimedia includes a video, the second multimedia can be a video, and if the selected one or more first multimedia includes an image and a video, the second multimedia can be a video. For example, the template includes special effect 1 and special effect 2, the selected one or more first multimedia includes video 3 and video 4, and the terminal device can generate video 5 based on the template, video 3 and video 4, wherein video 5 includes video 3 and video 4, and video 5 includes special effect 1 and special effect 2.

[0078] In response to the selection of the one or more first multimedia in the set of first multimedia, the terminal device can fill the one or more first multimedia in the slot in response to a touch control on the one or more first multimedia. In this way, the user can accurately determine the first multimedia to be filled based on the slot, reducing the complexity of the operation and improving the user experience.

[0079] The slot can be a position or area in the template that is pre-set for inserting or replacing specific content (such as video, audio, subtitles, pictures, etc.). For example, a video template includes 10 slots, and the terminal device can insert 10 videos in the 10 slots to obtain a new video, which can include the 10 videos, and the new video includes video editing materials in the video template (such as special effects, filters, and stickers, etc.).

[0080] The page can further include a generation control of the second multimedia. In response to the selection of the one or more first multimedia in the set of first multimedia, the terminal device can generate the second multimedia based on the following possible implementation manners: if each slot is filled with the first multimedia, the control state of the generation control changes from an un-touchable state to a touchable state, and in response to a touch control on the generation control, the second multimedia is generated based on the one or more first multimedia and the template.

[0081] The generation control can be used to generate the second multimedia. For example, when the slots are not filled, the control state of the generation control is in an un-touchable state, and when the slots are filled, the control state of the generation control is in a touchable state. For example, a video template can include 10 slots, and if the terminal device fills 9 slots with videos, the generation control is un-touchable, and if the terminal device fills 10 slots with videos, the generation control is touchable. The user clicks the generation control, and the terminal device can run the video template filled with 10 videos to obtain a new video.

[0082] Optionally, since the type of the template includes the image template type and the video template type, the terminal device generates the second multimedia in the following two cases:

[0083] Case 1: the type of the template is the video template type, and the second multimedia is a video.

[0084] If the type of the template is the video template type, the terminal device can generate the second multimedia based on the template and the one or more first multimedia, and the second multimedia is a video.

[0085] The terminal device can generate the second multimedia based on the information of the template and the selected one or more first multimedia. For example, if the template is a video template, the information of the video template can include basic elements and layouts required for video production. For example, the information of the video template can include backgrounds, animations, transition effects, etc. The terminal device can parse the video template to obtain the information of the video template.

[0086] The terminal device can run the video template after filling the selected one or more first multimedia in the slot (the slot associated with the video template), and thus can obtain the second multimedia, which is a video including the one or more first multimedia and special effects of the video template.

[0087] Next, the process of generating the second multimedia by the terminal device in this case will be described in conjunction with FIG. 7.

[0088] FIG. 7 is a process diagram of generating a second multimedia according to an embodiment of the present disclosure. Please refer to FIG. 7, which includes a terminal device. The page displayed by the terminal device includes an album, slot 1, slot 2, and a generation control. The album can include video A, video B, video C, and video D. The generation control is a non-touchable control. When the user selects video A, slot 1 is filled with video A. When the user selects video B, slot 2 is filled with video B, and the generation control is converted from a non-touchable control to a touchable control. When the user clicks the generation control, the terminal device can generate a video including video A and video B.

[0089] Case 2: the type of the template is the image template type, and the second multimedia is an image.

[0090] If the type of the template is the image template type, the terminal device can generate a target video based on the template and the one or more first multimedia, and determine a video frame image in the target video as the second multimedia.

[0091] The template information of the image template can include basic elements and layouts required for video production. For example, the template information can include backgrounds, stickers, etc. The terminal device can parse the image template to obtain the template information of the image template.

[0092] After the terminal device fills the first multimedia associated with the image template in the slot of the image template, the terminal device can run the image template, and thus can obtain a target video. The terminal device can determine any frame of the target video as the second multimedia. For example, after the terminal device runs the image template, the terminal device can obtain a target video, and can determine the first frame of the target video as the second multimedia, or can determine the last frame of the target video as the second multimedia. The embodiments of the present disclosure do not limit this.

[0093] Next, the process in which the terminal device generates the second multimedia in this case is described in combination with FIG. 8.

[0094] FIG. 8 is a schematic diagram of another process in which the terminal device generates the second multimedia according to an embodiment of the present disclosure. Please refer to FIG. 8, which includes a terminal device. The page displayed by the terminal device includes an album, a slot E, a slot F, and a generation control. The album can include image A, image B, image C, and image D. The generation control is a non-touchable control. When the user selects image A, the slot E is filled with image A. When the user selects image B, the slot F is filled with image B. The generation control is converted from a non-touchable control to a touchable control. When the user clicks the generation control, the terminal device can generate a video including image A and image B. The terminal device can extract the first frame of the video to obtain the second multimedia.

[0095] In this way, the terminal device can automatically generate the second multimedia matching the special effect of the template and the first multimedia selected by the user based on the template and the first multimedia selected by the user, reduce the complexity of operation, and improve the efficiency of generating the second multimedia.

[0096] Optionally, after the terminal device generates the second multimedia, the terminal device can display the second multimedia. For example, if the second multimedia is an image, the terminal device can display the image after generating the image. If the second multimedia is a video, the terminal device can display the video after generating the video. The user can click the video to play the video, or the terminal device can play the video after generating the video, thereby reducing the complexity of operation.

[0097] Optionally, the page in which the terminal device displays the second multimedia can further include a return control. When the user clicks the return control, the terminal device can return to the page. The user can reselect the first multimedia in the page, and thus re-generate the second multimedia. In this way, the flexibility of multimedia editing can be improved.

[0098] Next, the process in which the terminal device re-generates the second multimedia is described in combination with FIG. 9.

[0099] FIG. 9 is a process diagram of regenerating a second multimedia according to an embodiment of the present disclosure. Please refer to FIG. 9, which shows a terminal device. The terminal device displays a page 901, which includes a photo album, a generation control and two slots. The photo album can include image A, image B, image C and image D. The first slot is filled with image A, and the second slot is filled with image B.

[0100] Please refer to FIG. 9, when the user clicks the generation control, the terminal device can generate image E, and jump from the page 901 to a page 902. The page 902 can include image E, the left half of which is the left half of image A, and the right half of which is the right half of image B. The page 902 can also include a return control.

[0101] Please refer to FIG. 9, when the user clicks the return control, the terminal device jumps from the page 902 to the page 901. When the user selects image A and image C in the page 901 and clicks the generation control again, the terminal device can generate image F, and jump from the page 901 to a page 903. The page 903 can include image F, the left half of which is the left half of image A, and the right half of which is the right half of image C. In this way, the user can flexibly edit images, reduce the complexity of operation, and thus improve the flexibility of image editing and the efficiency of image editing.

[0102] The embodiment of the present disclosure provides a multimedia generation method. The terminal device can determine the type of a template in response to scanning the encoded image of the template. If the type of the template is an image template type, it is determined that the set of first multimedia includes images. If the type of the template is a video template type, it is determined that the set of first multimedia includes videos. Alternatively, it is determined that the set of first multimedia includes images and videos. A page including the set of first multimedia is displayed. The terminal device can display slots in the page. In response to selecting one or more first multimedia in the set of first multimedia, the selected one or more first multimedia are filled in the slots. If each slot is filled with a first multimedia, the control state of a generation control of a second multimedia of the page changes from an un-touchable state to a touchable state. In response to a touch operation on the generation control, a second multimedia is generated based on the one or more first multimedia and the template. In this way, the terminal device can reduce the operation complexity of generating a second multimedia, enhance interactivity, improve user experience, improve the generation efficiency of the second multimedia, and display a page matched with the template when the type of the template is different, so as to facilitate the user to select the first multimedia filled in the template, improve the flexibility and accuracy of multimedia editing.

[0103] On the basis of the embodiment shown in FIG. 2, the method of displaying slots in a page in the multimedia generation method is described below in combination with FIG. 10.

[0104] FIG. 10 is a schematic diagram of a method of displaying slots according to an embodiment of the present disclosure. Please refer to FIG. 10, which comprises the following steps.

[0105] S1001, obtaining information of a template.

[0106] Optionally, the terminal device can scan the encoded image to obtain a download link of the template and download the template. The terminal device can analyze the template to obtain the information of the template.

[0107] It should be noted that the terminal device can obtain the information of the template based on any feasible implementation manner, which is not limited in the present disclosure.

[0108] S1002, determining the number of slots and the type of slots based on the information of the template.

[0109] The number of slots can indicate the number of first multimedia required by the template. For example, if the number of slots associated with a video template is 10, then the number of videos required when the user edits a video through the video template is 10.

[0110] The type of slots includes slots for filling images and slots for filling videos. For example, if the type of slots is slots for filling images, then the slots can only be filled with images and cannot be filled with videos. If the type of slots is slots for filling videos, then the slots can only be filled with videos and cannot be filled with images.

[0111] It should be noted that the type of slots can also be any other type, such as slots for filling audios, slots for filling texts, etc., which is not limited in the present disclosure.

[0112] It should be noted that the type of slots can also be a multimedia type. If the type of slots is a multimedia type, then the slots can be filled with any multimedia material such as videos, images, audios, and texts, which is not limited in the present disclosure.

[0113] It should be noted that the number of slots and the type of each slot can be pre-set in the information of the template. The terminal device can obtain the number of slots and the type of each slot in the information of the template. The terminal device can also obtain the number of slots and the type of each slot based on any feasible implementation manner, which is not limited in the present disclosure.

[0114] S1003, displaying slots in a page based on the number of slots and the type of slots.

[0115] Optionally, after determining the number of slots and the types of the slots, the terminal device can display each slot in the page. For example, if the number of slots is 2, one of the slots is a slot for filling an image, and the other slot is a slot for filling a video, the terminal device can display slot 1 and slot 2 at the bottom of the page, where slot 1 can include the text "image" and slot 2 can include the text "video". In this way, the user can be facilitated to select the first multimedia to fill the slot, the operation complexity can be reduced, and the user experience can be improved.

[0116] Optionally, the terminal device can display the slots in the page based on the following possible implementation manners: determining the limitation information of the slots based on the types of the slots, and displaying the slots in the page based on the number of the slots, the types of the slots, and the limitation information of the slots.

[0117] The limitation information can be used to limit the image or the video to fill the slot. The terminal device can display the number of the slots, the types of the slots, and the limitation information of the slots in the page, thereby improving the quality of the second multimedia and improving the efficiency of generating the second multimedia.

[0118] The terminal device determines the limitation information of the slots based on the types of the slots, which can be specifically: if the type of the slot is a slot for filling an image, the limitation information of the slot can include image content to be filled; and if the type of the slot is a slot for filling a video, the limitation information of the slot can include a video duration and / or video content to be filled.

[0119] Optionally, the image content to be filled can include a face. For example, if the image content to be filled in the limitation information of the slot is a face, the image filled in the slot needs to include a face. For example, if the image content to be filled in the limitation information of the slot is at least two faces, the image filled in the slot needs to include two faces.

[0120] Optionally, the image content to be filled can be a specific action. For example, the specific action can be an action of closing eyes, opening mouth, etc., which is not limited in the embodiments of the present disclosure. For example, if the image content to be filled in the limitation information of the slot is an action of closing eyes, the image filled in the slot needs to include the action of closing eyes; and if the image content to be filled in the limitation information of the slot is an action of opening mouth, the image filled in the slot needs to include the action of opening mouth.

[0121] Optionally, the image content to be filled can also be any content, which is not limited in the embodiments of the present disclosure.

[0122] Optionally, the video duration can be used to limit the minimum duration of the video filled in the slot. For example, if the video duration of the limit information of the slot is 10 seconds, the duration of the video filled in the slot is at least 10 seconds, and if the video duration of the limit information of the slot is 20 seconds, the duration of the video filled in the slot is at least 20 seconds.

[0123] Optionally, the video duration can also be used to limit the maximum duration of the video filled in the slot. For example, if the video duration of the limit information of the slot is 3 seconds, the duration of the video filled in the slot can be 3 seconds or less than 3 seconds.

[0124] Optionally, the video content to be filled can include a face. For example, if the video content to be filled in the limit information of the slot is a face, the video filled in the slot needs to include a face. For example, if the video content to be filled in the limit information of the slot is at least 2 faces, the video filled in the slot needs to include 2 faces.

[0125] Optionally, the video content to be filled can be a specific action. For example, the specific action can be a static action such as closing eyes, opening mouth, etc., or a dynamic action such as waving hands, shaking head, etc., which is not limited by the embodiments of the present disclosure. For example, if the video content to be filled in the limit information of the slot is the action of closing eyes, the video filled in the slot needs to include the action of closing eyes, and if the video content to be filled in the limit information of the slot is the action of waving hands, the image filled in the slot needs to include the action of waving hands.

[0126] Optionally, the video content to be filled can also be any content, which is not limited by the embodiments of the present disclosure.

[0127] It should be noted that the terminal device can determine whether the first multimedia selected by the user can be filled in the slot based on any feasible implementation manner (such as detecting whether the image includes a face, obtaining the duration of the video, etc.), which is not limited by the embodiments of the present disclosure.

[0128] In the method, the terminal device determines the type of the slot, the number of the slots, and the limit information of the slot, and displays the slot, the type of the slot, and / or the limit information of the slot in the page. The user can determine the first multimedia that can be filled in the slot based on the type of the slot and / or the limit information of the slot displayed in the page, thereby improving the accuracy of filling the first multimedia in the slot.

[0129] Next, the slot will be described in conjunction with FIG. 11.

[0130] FIG. 11 is a schematic diagram of a slot provided by an embodiment of the present disclosure. Referring to FIG. 11, slot information of a video template is included. The slot information can include slot 1, slot 2, slot 3, and slot 4. The types of slot 1 and slot 3 are types of filling images, and the types of slot 2 and slot 4 are types of filling videos. Slot 1 can fill any image, the duration of the video filled in slot 2 is at least 10 seconds, the image filled in slot 3 needs to include a face, and the video filled in slot 4 needs to include a head shaking action. In this way, the terminal device can accurately limit the first multimedia filled in the slot through the limitation information of the slot, thereby improving the accuracy of the generated second multimedia.

[0131] An embodiment of the present disclosure provides a method for displaying a slot. A terminal device can obtain information of a template, determine a number of slots and types of the slots based on the information of the template, determine limitation information of the slots based on the types of the slots, wherein if the type of a slot is a type of filling an image, the limitation information of the slot can include image content to be filled, and if the type of a slot is a type of filling a video, the limitation information of the slot can include a video duration and / or video content to be filled, and display the slots in a page based on the number of the slots, the types of the slots, and the limitation information of the slots. In this way, a user can accurately fill a first multimedia in a slot based on the types of the slots and the limitation information of the slots, thereby improving the quality of a second multimedia and improving the experience of the user.

[0132] Based on any one of the above embodiments, the process of the above multimedia generation method will be described below in combination with FIG. 12.

[0133] FIG. 12 is a process schematic diagram of a multimedia generation method provided by an embodiment of the present disclosure. Referring to FIG. 12, a terminal device is included. The displayed page of the terminal device is page 121, which can be a code scanning page. The page 121 includes a two-dimensional code scanned by the terminal device. The terminal device can identify the two-dimensional code and obtain an image template of the two-dimensional code. The terminal device can jump from the page 121 to a page 122.

[0134] Referring to FIG. 12, the page 122 can include a generation control (not touchable), an album, a slot A, a slot B, and a slot C. The album can include image 1, image 2, image 3, and image 4. Image 1 and image 2 are face images, image 3 is a mouth opening image, and image 4 is a closed eye image. The limitation information of the slot A is a mouth opening action, the limitation information of the slot B is a face, and the limitation information of the slot C is a closed eye action.

[0135] Please refer to FIG. 12, the user can click image 3, image 1 and image 4 in turn, and the terminal device can fill image 3 in slot A, fill image 1 in slot B and fill image 4 in slot C. After the slots A, B and C are all filled with images, the control state of the generated control changes from the un-touchable state to the touchable state, the user can click the generated control, and the terminal device jumps from the page 122 to the page 123.

[0136] Please refer to FIG. 12, the page 123 can be a preview page, which can include a return control and image 5. Image 5 includes image 3, image 1 and image 4. When the user clicks the return control, the terminal device jumps from the page 123 to the page 122, and when the user clicks image 3, image 2, image 4 and the generated control in turn, the terminal device can jump from the page 122 to the page 123 again.

[0137] Please refer to FIG. 12, the page 123 can include image 6, which can include image 3, image 2 and image 4. In this way, the terminal device can reduce the operation complexity of generating the second multimedia, and when the type of the template is different, the terminal device can display a page matched with the template, so as to facilitate the user to select the first multimedia to fill the template in the page, and the user can generate a new second multimedia based on the return control, improve the generation efficiency of the second multimedia, and improve the flexibility and accuracy of multimedia editing.

[0138] FIG. 13 is a structural schematic diagram of a multimedia generation apparatus provided by an embodiment of the present disclosure. Please refer to FIG. 13, the multimedia generation apparatus 1300 includes a display module 1301 and a generation module 1302, wherein:

[0139] The display module 1301 is configured to display a page in response to scanning of an encoded image of a template, and the page includes a set of first multimedia.

[0140] The generation module 1302 is configured to generate a second multimedia based on one or more first multimedia and the template in response to selection of the one or more first multimedia in the set of first multimedia.

[0141] According to one or more embodiments of the present disclosure, the generation module 1302 is specifically configured to:

[0142] display slots in the page;

[0143] fill the one or more first multimedia in the slots in response to touch control of the one or more first multimedia.

[0144] According to one or more embodiments of the present disclosure, the generation module 1302 is specifically configured to:

[0145] obtaining information of the template;

[0146] determining, based on the information of the template, a number of the slots and a type of the slots, the type of the slots including a slot filled with an image and a slot filled with a video;

[0147] displaying the slots on the page based on the number of the slots and the type of the slots.

[0148] According to one or more embodiments of the present disclosure, the generating module 1302 is specifically configured to:

[0149] determining, based on the type of the slot, limitation information of the slot, the limitation information being used to limit an image or a video filled in the slot;

[0150] displaying the slots on the page based on the number of the slots, the type of the slots and the limitation information of the slots.

[0151] According to one or more embodiments of the present disclosure, the generating module 1302 is specifically configured to:

[0152] if the type of the slot is the slot filled with the image, the limitation information of the slot includes image content to be filled;

[0153] if the type of the slot is the slot filled with the video, the limitation information of the slot includes video duration and / or video content to be filled.

[0154] According to one or more embodiments of the present disclosure, the generating module 1302 is specifically configured to:

[0155] if each slot is filled with the first multimedia, a control state of the generating control changes from an un-touchable state to a touchable state;

[0156] in response to a touch on the generating control, generating the second multimedia based on the one or more first multimedia and the template.

[0157] According to one or more embodiments of the present disclosure, the displaying module 1301 is specifically configured to:

[0158] determining a type of the template, the type of the template being an image template type or a video template type;

[0159] based on the type of the template, determining a set of the first multimedia in the page, and displaying the page based on the set of the first multimedia.

[0160] According to one or more embodiments of the present disclosure, the displaying module 1301 is specifically configured to:

[0161] If the type of the template is an image template type, it is determined that the first multimedia in the set of first multimedia is an image.

[0162] If the type of the template is a video template type, it is determined that the first multimedia in the set of first multimedia is a video, or it is determined that the first multimedia in the set of first multimedia includes an image and a video.

[0163] According to one or more embodiments of the present disclosure, the display module 1301 is specifically configured to:

[0164] If the type of the template is a video template type, a second multimedia is generated based on the template and the one or more first multimedia, and the second multimedia is a video.

[0165] If the type of the template is an image template type, a target video is generated based on the template and the one or more first multimedia, and a video frame image in the target video is determined as the second multimedia.

[0166] The multimedia generation apparatus provided by the embodiments of the present disclosure can be used to execute the technical solutions of the method embodiments, and has similar implementation principles and technical effects. Details are not described herein again.

[0167] FIG. 14 is a structural schematic diagram of a terminal device according to an embodiment of the present disclosure. Referring to FIG. 14, a structural schematic diagram of a terminal device 1400 suitable for implementing the embodiments of the present disclosure is shown. The terminal device can include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a personal digital assistant (PDA), a tablet computer, a portable media player (PMP), a vehicle terminal (such as a vehicle navigation terminal), and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like. The terminal device shown in FIG. 14 is only an example, and should not bring any limitation to the functions and use range of the embodiments of the present disclosure.

[0168] As shown in FIG. 14, the terminal device 1400 can include a processing apparatus (e.g., a central processing unit, a graphics processing unit, etc.) 1401, which can perform various appropriate actions and processes according to programs stored in a Read Only Memory (ROM) 1402 or loaded into a Random Access Memory (RAM) 1403 from a storage apparatus 1408. Various programs and data required by the terminal device 1400 to operate are also stored in the RAM 1403. The processing apparatus 1401, the ROM 1402, and the RAM 1403 are connected to each other through a bus 1404. An Input / Output (I / O) interface 1405 is also connected to the bus 1404.

[0169] Generally, the following devices can be connected to the I / O interface 1405: input devices 1406 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 1407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, etc.; storage devices 1408 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 1409. The communication devices 1409 can allow the terminal device 1400 to exchange data with other devices wirelessly or through wires. Although FIG. 14 shows the terminal device 1400 with various devices, it should be understood that all of the shown devices are not required to be implemented or possessed. More or fewer devices can be alternatively implemented or possessed.

[0170] In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts can be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program carrying computer programs which contain program codes for executing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network through the communication devices 1409, or installed from the storage devices 1408, or installed from the ROM 1402. When the computer program is executed by the processing apparatus 1401, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are performed.

[0171] It should be noted that the computer readable medium in the above disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. The computer readable storage medium may, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any combination of the above. More specific examples of computer readable storage media can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, the computer readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device or apparatus. In the present disclosure, the computer readable signal medium can include a data signal carried in a baseband or as a part of a carrier wave, which carries computer readable program code. Such a propagated data signal can take many forms, including but not limited to an electromagnetic signal, an optical signal or any suitable combination of the above. The computer readable signal medium can also be any computer readable medium other than the computer readable storage medium, which can send, propagate or transmit a program for use by or in conjunction with an instruction execution system, device or apparatus. The program code contained in the computer readable medium can be transmitted by any suitable medium, including but not limited to a wire, a cable, an RF (radio frequency) or the like, or any suitable combination of the above.

[0172] The computer readable medium described above can be contained in the terminal device described above; or can exist separately and not be assembled into the terminal device.

[0173] The computer readable medium described above carries one or more programs, which, when executed by the terminal device, cause the terminal device to perform the method shown in the above embodiments.

[0174] The embodiment of the present disclosure provides a computer readable storage medium, which stores computer execution instructions, and when a processor executes the computer execution instructions, the method described above is implemented.

[0175] The embodiment of the present disclosure provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the method described above is implemented.

[0176] Computer program code for carrying out operations of the present disclosure can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).

[0177] The flow diagrams and the block diagrams in the drawings are meant as possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flow diagrams and the block diagrams can represent a module, a segment, or a portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the blocks can occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently or the blocks can sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and / or flow diagrams, and combinations thereof, can be implemented by special purpose hardware-based systems that perform the specified functions or operations, or combinations of special purpose hardware and computer instructions.

[0178] The units described in the embodiments of the present disclosure can be implemented by software, or by hardware. In some cases, the name of the unit does not constitute a limitation on the unit itself. For example, the first obtaining unit can also be described as a unit for obtaining at least two Internet protocol addresses.

[0179] The functions described above in the specification of the present disclosure can be performed by one or more hardware logic components. For example, and without limitation, illustrative types of hardware logic components that can be used include Field-programmable Gate Arrays (FPGAs), Program-specific Integrated Circuits (ASICs), Application-specific Standard Products (ASSPs), System-on-a-chip systems (SOCs), Complex Programmable Logic Devices (CPLDs), etc.

[0180] In the context of the present disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium will include one or more of: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0181] It should be noted that the modification of "one" or "a plurality of" mentioned in the present disclosure is illustrative rather than restrictive, and those skilled in the art should understand that it should be understood as "one or more" unless otherwise explicitly indicated in the context.

[0182] The names of the messages or information exchanged between the plurality of devices in the embodiments of the present disclosure are only for illustrative purposes, and are not intended to limit the scope of the messages or information.

[0183] It can be understood that the data (including but not limited to the data itself, the acquisition or use of the data) involved in the technical solution should comply with the requirements of the corresponding laws, regulations and relevant provisions. The data can include information, parameters and messages, etc., such as flow splitting indication information.

[0184] The above description is only the preferred embodiments of the present disclosure and the explanation of the applied technical principles. Those skilled in the art should understand that the disclosure range involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above technical features, and should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features disclosed in the present disclosure (but not limited to) having similar functions to form technical solutions.

[0185] Moreover, while operations are depicted in a particular order, this should not be understood as requiring such an order nor imposing a sequential order of executed operations. In certain circumstances, multitasking and parallel processing can be advantageous. Likewise, while a number of separate embodiments have been discussed above, alternate embodiments can be devised that fall within the scope of the various appended claims. Similarly, it will be appreciated that some of the above-described implementations include software components. However, one skilled in the art will recognize that any type of technology can be used as a basis for a similar implementation and let the claims are not limited to the details below.

Claims

1. A multimedia generating method, comprising: displaying a page in response to scanning an encoded image of a template, the page comprising a set of first multimedia; and generating a second multimedia based on the set of first multimedia and the template in response to selecting one or more first multimedia from the set of first multimedia. 2.The method of claim 1, wherein the generating the second multimedia based on the set of first multimedia and the template in response to selecting one or more first multimedia from the set of first multimedia comprises: displaying slots in the page; and filling the one or more first multimedia in the slots in response to touching the one or more first multimedia. 3.The method of claim 2, wherein the displaying slots in the page comprises: obtaining information of the template; determining a number of the slots and types of the slots based on the information of the template, the types of the slots comprising image-filling slots and video-filling slots; and displaying the slots in the page based on the number of the slots and the types of the slots. 4.The method of claim 3, wherein the displaying the slots in the page based on the number of the slots and the types of the slots comprises: determining limit information of the slots based on the types of the slots, the limit information being used to limit images or videos filled in the slots; and displaying the slots in the page based on the number of the slots, the types of the slots and the limit information of the slots. 5.The method of claim 4, wherein the determining limit information of the slots based on the types of the slots comprises: if the type of a slot is an image-filling slot, the limit information of the slot comprises image content to be filled in the slot; and if the type of a slot is a video-filling slot, the limit information of the slot comprises video duration and / or video content to be filled in the slot. The generating the second multimedia based on the set of first multimedia and the template comprises: if each slot has been filled with the first multimedia, a control state of a generating control changes from an untouchable state to a touchable state; and generating the second multimedia based on the set of first multimedia and the template in response to touching the generating control. 7.The method of any one of claims 1-5, wherein the displaying the page comprises: determining a type of the template, the type of the template being an image template type or a video template type; and determining the set of first multimedia in the page based on the type of the template, and displaying the page based on the set of first multimedia. 8.The method of claim 7, wherein the determining the set of first multimedia in the page based on the type of the template comprises: if the type of the template is the image template type, determining first multimedia in the set of first multimedia as images; and if the type of the template is the video template type, determining first multimedia in the set of first multimedia as videos, or determining first multimedia in the set of first multimedia to comprise images and videos. ​ ​ ​ ​ ​ ​ ​ ​ 6. The method of any of claims 2-5, wherein the page further comprises a generation control for the second multimedia. ​ ​ ​ ​ ​ ​ ​ ​ ​ 9. The method of claim 8, wherein the generating the second multimedia based on the one or more first multimedia and the template comprises: if the template is of a video template type, generating a second multimedia based on the template and the one or more first multimedia, the second multimedia being a video; if the template is of an image template type, generating a target video based on the template and the one or more first multimedia, and determining a video frame image in the target video as the second multimedia.

10. A multimedia generating apparatus comprising a display module and a generating module, wherein: the display module is configured to display a page comprising a set of first multimedia in response to a scan of an encoded image of a template; the generating module is configured to generate a second multimedia based on one or more first multimedia in the set of first multimedia and the template in response to a selection of the one or more first multimedia.

11. A terminal device comprising: a processor and a memory; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, so that the processor performs the multimedia generating method of any one of claims 1-9.

12. A computer-readable storage medium having stored therein computer-executable instructions that, when executed by a processor, perform the multimedia generating method of any one of claims 1-9.

13. A computer program product comprising a computer program that, when executed by a processor, performs the multimedia generating method of any one of claims 1-9.

Citation Information

Patent Citations

  • Video playing method and device

    CN106658114A

  • Page generation method and device and electronic equipment

    CN114860238A

  • Data processing method and device based on two-dimensional code recognition template

    CN116304222A