Media editing method and apparatus, device, storage medium, and computer program product
By providing a template switching interface in the media editing system, which displays multiple candidate editing templates, the problem of template mismatch after users select a video template is solved, resulting in a more efficient editing experience.
Patent Information
- Application Number
- PCT/CN2025/103308
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-06-28
- Filing Date
- 2025-06-25
- Publication Date
- 2026-01-02
AI Technical Summary
In existing technologies, after a user selects a video editing template, the template may not meet expectations, making it difficult to efficiently obtain more suitable candidate editing templates.
By presenting the first media editing results interface, responding to preset operations, providing a template switching interface, displaying multiple candidate editing templates, including candidate templates determined based on the materials and the current template, and allowing users to select and apply a new editing template.
It improves the efficiency of media editing, allowing users to quickly switch to a template that better matches the current editing scenario, thus enhancing the editing experience.
Smart Images

Figure CN2025103308_02012026_PF_FP_ABST
Abstract
Description
Method, apparatus, device and storage medium for media editing
[0001] The present application claims priority to the Chinese patent application No. 202410870061.7, filed on June 28, 2024, entitled “Method, apparatus, device and storage medium for media editing”, the whole content of which is incorporated herein by reference. TECHNICAL FIELD
[0002] Example embodiments of the present disclosure generally relate to the field of computer, and in particular, to a method, apparatus, device, computer readable storage medium and computer program product for media editing. BACKGROUND
[0003] Media editing tools can help people to perform various types of editing operations on media files. Taking a video editing scenario as an example, a user can generate a video content by importing multiple video materials and selecting a video template. SUMMARY
[0004] In a first aspect of the present disclosure, a method for media editing is provided. The method comprises: presenting a media editing interface of a first media editing result, the first media editing result being generated by applying a first editing template to a set of materials; in response to receiving a preset operation, presenting a template switching interface, the template switching interface presenting a plurality of candidate editing templates, the plurality of candidate editing templates including a candidate editing template determined based on the set of materials and a candidate editing template determined based on the first editing template; and in response to a selection of a second editing template from the plurality of candidate editing templates, applying the second editing template to the set of materials.
[0005] In a second aspect of the present disclosure, an apparatus for media editing is provided. The apparatus comprises: a first presentation module configured to present a media editing interface of a first media editing result, the first media editing result being generated by applying a first editing template to a set of materials; a second presentation module configured to, in response to receiving a preset operation, present a template switching interface, the template switching interface presenting a plurality of candidate editing templates, the plurality of candidate editing templates including a candidate editing template determined based on the set of materials and a candidate editing template determined based on the first editing template; and a template application module configured to, in response to a selection of a second editing template from the plurality of candidate editing templates, apply the second editing template to the set of materials.
[0006] In a third aspect of the present disclosure, an electronic device is provided. The device comprises at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. The instructions, when executed by the at least one processing unit, cause the device to perform the method of the first aspect.
[0007] In a fourth aspect of the disclosure, a computer-readable storage medium is provided. The computer-readable storage medium has stored thereon a computer program, the computer program being executable by a processor to implement the method of the first aspect.
[0008] In a fifth aspect of the disclosure, a computer program product is provided. The computer program product comprises a computer program executable by a processing unit, the computer program comprising instructions for performing the method of the first aspect.
[0009] It should be understood that nothing in the Summary is to be construed as a limitation on the scope of the embodiments of the disclosure or the present disclosure. Other features, aspects, and advantages of the disclosure will become apparent from the following detailed description, figures and claims. BRIEF DESCRIPTION OF DRAWINGS
[0010] The above and other features, aspects and advantages of embodiments of the disclosure will become more apparent from the following detailed description, taken in conjunction with the accompanying drawings, in which like reference numerals denote like elements, and wherein:
[0011] FIG. 1 shows a schematic diagram of an example environment in which embodiments according to the present disclosure can be implemented;
[0012] FIG. 2 shows a flowchart of an example management editing task process according to some embodiments of the disclosure;
[0013] FIGS. 3A to 3C show example interfaces according to some embodiments of the disclosure;
[0014] FIG. 4 shows a schematic diagram of a process of determining a candidate editing template according to some embodiments of the disclosure;
[0015] FIG. 5 shows a schematic structural block diagram of an example apparatus for media editing according to some embodiments of the disclosure; and
[0016] FIG. 6 shows a block diagram of an electronic device capable of implementing embodiments of the disclosure. DETAILED DESCRIPTION
[0017] Embodiments of the disclosure will be described below in greater detail with reference to the accompanying drawings. While certain embodiments of the disclosure are shown in the drawings, it should be understood that the disclosure can be embodied in various forms and should not be construed as being limited to the embodiments set forth herein; rather, these embodiments are provided so as to more completely and thoroughly understand the disclosure. It should be understood that the drawings and embodiments of the disclosure are merely for illustrative purposes and are not intended to limit the scope of protection of the disclosure.
[0018] It should be noted that the headings provided herein are for convenience only and are not to be construed as limiting. Various embodiments are described herein, and any type of embodiment can be included under any section heading. Furthermore, embodiments described in any section can be combined with any other embodiments described under the same section heading and / or a different section heading.
[0019] In the description of embodiments of the disclosure, the term "includes" and its derivatives, such as "including" should be understood in an open way, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". The following can also include other explicit and implicit definitions. The terms "first", "second", etc. can refer to different or same objects. The following can also include other explicit and implicit definitions.
[0020] In embodiments of the disclosure, data related to users, acquisition and / or use of data, etc. can be involved. These aspects all comply with corresponding laws and regulations and relevant provisions. In embodiments of the disclosure, all data collection, acquisition, processing, processing, forwarding, use, etc. are carried out on the premise that the user is aware of and confirms. Accordingly, in the implementation of embodiments of the disclosure, the type of data or information that can be involved, the scope of use, the use scenario, etc. should be notified to the user and the authorization of the user should be obtained according to the relevant laws and regulations through appropriate means. The specific notification and / or authorization method can vary according to the actual situation and application scenario, and the scope of the disclosure is not limited in this respect.
[0021] In the specification and embodiments of the disclosure, if personal information processing is involved, it will be processed on the premise of legality (for example, obtaining the consent of the subject of personal information, or being necessary for the performance of a contract, etc.), and only within the prescribed or agreed range. Users refuse to process personal information other than the necessary information required for basic functions, which will not affect the user's use of basic functions.
[0022] As briefly mentioned above, people utilize video templates to quickly create video content. However, in some cases, after a particular template is selected to process the material, such template can not meet the user's expectations. As such, the user desires to efficiently obtain a more matching template.
[0023] Embodiments of the present disclosure propose a scheme for media editing. According to the scheme, a media editing interface of a first media editing result can be presented, the first media editing result being generated by applying a first editing template to a set of media materials; in response to receiving a preset operation, a template switching interface is presented, the template switching interface presenting a plurality of candidate editing templates, the plurality of candidate editing templates including a candidate editing template determined based on the set of media materials and a candidate editing template determined based on the first editing template; and in response to a selection of a second editing template from the plurality of candidate editing templates, the second editing template is applied to the set of media materials.
[0024] In this way, embodiments of the present disclosure can provide candidate editing templates that are more matched to the current editing scenario for users to use.
[0025] Various example implementations of the scheme are described in further detail below in conjunction with the accompanying drawings.
[0026] Example Environment
[0027] FIG. 1 illustrates a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. As shown in FIG. 1, the example environment 100 can include an electronic device 110.
[0028] In the example environment 100, the electronic device 110 can run an application 120 that supports interface interaction. The application 120 can be any suitable type of application for interface interaction, examples of which can include, but are not limited to, a media editing application or any other suitable application with media editing capability. A user 140 can interact with the application 120 via the electronic device 110 and / or its attached devices.
[0029] In the environment 100 of FIG. 1, if the application 120 is in an active state, the electronic device 110 can present, through the application 120, an interface 150 for supporting interface interaction.
[0030] In some embodiments, the electronic device 110 communicates with the server 130 to enable provisioning of services of the application 120. The electronic device 110 can be any type of mobile terminal, fixed terminal, or portable terminal including a mobile handset, a tablet computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a palmtop computer, a portable gaming terminal, a VR / AR device, a Personal Communication System (PCS) terminal, a personal navigation device, a Personal Digital Assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an electronic book device, a game device, or any combination thereof, including an accessory or peripheral device for the foregoing, or any combination thereof. In some embodiments, the electronic device 110 can also support any type of interface to a user (such as “wearable” circuitry, etc.).
[0031] The server 130 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks, and basic cloud computing services such as big data and artificial intelligence platforms. The server 130 may, for example, include a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, and the like. The server 130 can provide background services for the application 120 in the electronic device 110 that supports a virtual scene.
[0032] A communication connection can be established between the server 130 and the electronic device 110. The communication connection can be established by wired or wireless means. The communication connection can include, but is not limited to, a Bluetooth connection, a mobile network connection, a Universal Serial Bus (USB) connection, a Wireless Fidelity (WiFi) connection, and the like, and embodiments of the present disclosure are not limited in this regard. In embodiments of the present disclosure, the server 130 and the electronic device 110 can implement signaling interaction through the communication connection therebetween.
[0033] It should be understood that the structure and function of the various elements in the environment 100 are described for illustrative purposes only, and do not imply any limitation on the scope of the present disclosure.
[0034] Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.
[0035] Example process
[0036] FIG. 2 illustrates a flowchart of an example process 200 for media editing, according to some embodiments of the present disclosure. The process 200 can be implemented at the electronic device 110. The process 200 is described below with reference to FIG. 1.
[0037] As shown in FIG. 2, at block 210, the electronic device 110 presents a media editing interface of a first media editing result, the first media editing result being generated by applying a first editing template to a set of media assets.
[0038] The process 200 is described below with reference to FIGS. 3A-3C. FIGS. 3A-3C illustrate example interfaces 300A-300C, according to some embodiments of the present disclosure. The interfaces 300A-300C can be presented by the electronic device 110.
[0039] As shown in FIG. 3A, the electronic device 110 can display a media editing interface 300A, and can display a first media editing result 305 in the media editing interface 300A. The first media editing result 305 may, for example, include a video draft or video content.
[0040] In some embodiments, the first media editing result 305 may, for example, be generated by applying a first editing template to a set of media assets specified by a user. Such a set of media assets may, for example, include media assets imported by the user. Accordingly, the first editing template may, for example, include a template selected by the user, or may, for example, be a template determined based on a set of editing templates.
[0041] At block 220, in response to receiving the preset operation, the electronic device 110 presents a template switching interface, the template switching interface presenting a plurality of candidate editing templates, the plurality of candidate editing templates including a candidate editing template determined based on the set of media assets and a candidate editing template determined based on the first editing template.
[0042] Referring to FIG. 3A, the electronic device 110 may, for example, receive a selection of the bottom “Templates” tab, and may, for example, present a template switching interface 300B as shown in FIG. 3B. As shown in FIG. 3B, the electronic device 110 may, for example, display a plurality of candidate editing templates 315, e.g., candidate editing template 315-1, candidate editing template 315-2, and candidate editing template 315-3 (individually or collectively referred to as candidate editing templates 315), in the media switching interface 300B. The specific determination process of the plurality of candidate editing templates 315 is described in detail below with reference to FIG. 4.
[0043] As shown in FIG. 3B, the electronic device 110 may, for example, also display a first editing template 310 corresponding to the first media editing result 305 at a preset position of the interface 300B. In some embodiments, the first editing template 310 can be fixedly displayed at the position.
[0044] For example, the electronic device 110 can adjust the display position of the plurality of candidate editing templates 315, e.g., move left or move right, based on the user’s swipe operation on the plurality of candidate editing templates 315. In some embodiments, the electronic device 110 can keep displaying the first editing template 310 at the preset position during the movement of the plurality of candidate editing templates 315.
[0045] At block 230, in response to the selection of the second editing template from the plurality of candidate editing templates, the electronic device 110 applies the second editing template to the set of media assets.
[0046] As shown in FIG. 3C, the electronic device 110 can receive the selection of the candidate editing template 315-1 (also referred to as the second editing template 315-1), and can apply the second editing template 315-1 to the set of media assets corresponding to the media editing interface 300A.
[0047] In some embodiments, the electronic device 110 can further receive the selection of the determination button 320 to update the media editing interface 300A. Further, the electronic device 110 can present a second media editing result in the media editing interface 300A, where the second media editing result is generated by applying the second editing template 315-1 to the set of media assets.
[0048] In some embodiments, the electronic device 110 can further display the media preview content 325 in the interface 300C, where the media preview content is generated by applying the second editing template 315-1 to the set of media assets.
[0049] As an example, the media preview content 325 can include video content generated by applying the video template to the set of media assets. Additionally, the electronic device 110 can further receive the tap operation on the second editing template 315-1 to play the video content or pause the playing of the video content in the interface 300C.
[0050] Based on the above interaction process, embodiments of the present disclosure can support the user to quickly switch to other templates that match the current editing scenario, thereby improving the efficiency of media editing.
[0051] The determination process of the plurality of candidate editing templates 315 will be further described below with reference to FIG. 4. In some embodiments, the plurality of candidate editing templates 315 can be determined by the server 130 or other electronic devices. For the convenience of description, the process shown in FIG. 4 will be described below with the server 130 as an example.
[0052] As shown in FIG. 4, the server 130 can perform multiple recall processes, e.g., a first recall process 405, a second recall process 410, a third recall process 415, and a fourth recall process 420.
[0053] In some embodiments, the first recall process 405 and the second recall process 410 can include a material-based recall. Specifically, the server 130 can determine the first set of editing templates from the template set based on a set of materials.
[0054] Specifically, in the first recall process 405, the server 130 may, for example, recall one or more editing templates that match based on the label information of the set of materials. In the second recall process 410, the server 130 may, for example, recall one or more editing templates that are similar to the feature representation of the set of materials based on the feature representation of the set of materials. The label information and the feature representation of the materials can be collectively referred to as the material description information of the materials.
[0055] In some embodiments, the third recall process 415 can include determining a second set of editing templates from the template set based on the current applied first editing template 310. For example, the server 130 can determine the second set of editing templates from the template set based on the template description information of the first editing template 310.
[0056] In some embodiments, the template description information includes at least one of the following: export information (e.g., the number of exports) of the first editing template 310, screen information (e.g., screen elements in the template) of the first editing template 310, user information (e.g., other templates exported by the user who exported the first editing template) associated with the first editing template 310. In this way, through the third recall process 415, the server 130 can recall one or more other editing templates that are similar to the first editing template 310.
[0057] In some embodiments, the fourth recall process 420 can recall one or more editing templates based on the user's operations in the media editing interface.
[0058] Further, the server 130 can also determine the plurality of candidate editing templates 315 based on the recalled templates (including the first set of editing templates and the second set of editing templates).
[0059] In some embodiments, the server 130 can also perform a template filtering process 425 to filter out templates whose usage constraints do not match the set of materials from the recalled plurality of editing templates to determine a third set of editing templates.
[0060] In some embodiments, such usage constraints can indicate a number constraint and / or a duration constraint of the required materials of the template. For example, the number of required materials of some templates can be greater than the current number of materials; or, the time length of the material filling position of some templates can be greater than the maximum time length of the current materials. In this case, such templates will not be applied to the current materials, and thus, can be filtered out after recall accordingly.
[0061] Further, the server 130 can also perform a template coarse ranking process 430. In the template coarse ranking process 430, the server 130 can rank the third set of editing templates based on evaluation information of the third set of editing templates to determine a fourth set of editing templates. Such evaluation information can include, for example, scores of each template in the third set of editing templates. In some embodiments, to improve the proportion of candidate editing templates that match the materials and candidate editing templates that are similar to the current template, the server 130 can also increase the evaluation information of the templates recalled by the first, second, and third recall processes 405, 410, and 415.
[0062] Further, the server 130 can determine a plurality of candidate editing templates based on the fourth set of editing templates. Specifically, the server 130 can further adjust the priority of at least one editing template in the fourth set of editing templates, for example, in a template fine ranking process 435, to determine the plurality of candidate editing templates 315.
[0063] In some embodiments, the server 130 can increase the priority of templates that have the same template feature as the first editing template. Such template features can be determined based on, for example, scene tags of the templates. For example, such scene tags can describe the usage scenarios of the templates.
[0064] For example, such template features can indicate the theme scenarios of the templates, such as holiday templates. As another example, such template features can indicate the character scenarios of the templates, such as boy templates. As yet another example, such template features can indicate the time scenarios of the templates, such as winter templates.
[0065] In some embodiments, the server 130 can increase the priority of templates that match the frame information and / or the cumulative duration information of the set of materials. For example, when the frame ratio of the set of materials is 4:3, the server 130 can increase the priority of templates that also have a frame ratio of 4:3, thereby increasing the matching degree of the recommended templates. As another example, the server 130 can also increase the priority of templates that match the cumulative duration of the materials to reduce the materials segments that need to be discarded when filling the templates.
[0066] Based on the template recall process described above, embodiments of the present disclosure are able to determine candidate editing templates that are more matched to the current scenario. This may, for example, enable the recommended candidate editing templates 315 to include both templates determined based on the material and templates determined based on the first editing template 310.
[0067] Based on the above process, embodiments of the present disclosure are able to provide candidate editing templates that are more matched to the current editing scenario for use by the user.
[0068] Example apparatus and device
[0069] Embodiments of the present disclosure also provide a corresponding apparatus for implementing the above-described methods or processes. FIG. 5 shows a schematic structural block diagram of an example apparatus 500 for media editing, according to certain embodiments of the present disclosure. The apparatus 500 can be implemented as or included in the electronic device 110. Various modules / components in the apparatus 500 can be implemented by hardware, software, firmware, or any combination thereof.
[0070] As shown in FIG. 5, the apparatus 500 includes a first presentation module 510 configured to present a media editing interface of a first media editing result, the first media editing result being generated by applying a first editing template to a set of material; a second presentation module 520 configured to present, in response to receiving a preset operation, a template switching interface, the template switching interface presenting a plurality of candidate editing templates, the plurality of candidate editing templates including a candidate editing template determined based on the set of material and a candidate editing template determined based on the first editing template; and a template application module 530 configured to apply, in response to a selection of a second editing template from the plurality of candidate editing templates, the second editing template to the set of material.
[0071] In some embodiments, the apparatus 500 further includes an adjustment module configured to display the first editing template at a preset position of the template switching interface; and in response to a sliding operation for the plurality of candidate editing templates, adjust a display position of the plurality of candidate editing templates while keeping the first editing template displayed at the preset position.
[0072] In some embodiments, the apparatus 500 further includes an update module configured to update the media editing interface to present a second media editing result, the second media editing result being generated by applying the second editing template to the set of material.
[0073] In some embodiments, the apparatus 500 further includes a preview module configured to display, in the template switching interface, media preview content, the media preview content being generated by applying the second editing template to the set of material.
[0074] In some embodiments, the media preview content comprises video content, and the apparatus 500 further comprises a play control module configured to play or pause the video content in the template switching interface in response to the preset operation on the second editing template.
[0075] In some embodiments, the plurality of candidate editing templates are determined based on a process comprising: determining a first set of editing templates from the template set based on the set of clips; determining a second set of editing templates from the template set based on the first editing template; and determining the plurality of candidate editing templates based on the first set of editing templates and the second set of editing templates.
[0076] In some embodiments, determining the first set of editing templates from the template set based on the set of clips comprises: determining the first set of editing templates from the template set based on clip description information of the set of clips, the clip description information comprising label information and / or feature representation of the clips.
[0077] In some embodiments, determining the second set of editing templates from the template set based on the first editing template comprises: determining the second set of editing templates from the template set based on template description information of the first editing template, the template description information comprising at least one of: export information of the first editing template, frame information of the first editing template, user information associated with the first editing template.
[0078] In some embodiments, determining the plurality of candidate editing templates based on the first set of editing templates and the second set of editing templates comprises: filtering templates whose usage constraints do not match the set of clips from the first set of editing templates and the second set of editing templates to determine a third set of editing templates; ranking the third set of editing templates based on evaluation information of the third set of editing templates to determine a fourth set of editing templates; and determining the plurality of candidate editing templates based on the fourth set of editing templates.
[0079] In some embodiments, the usage constraints indicate number constraints and / or duration constraints of clips required by the templates.
[0080] In some embodiments, determining the plurality of candidate editing templates based on the ranked third set of editing templates comprises: adjusting a priority of at least one editing template in the fourth set of editing templates to determine the plurality of candidate editing templates, wherein the at least one editing template comprises: a template having a same template feature as the first editing template; and / or a template matching frame information and / or cumulative duration information of the set of clips.
[0081] In some embodiments, the template feature indicates at least one of: a theme scene of the first editing template; a character scene of the first editing template; a time scene of the first editing template.
[0082] FIG. 6 illustrates a block diagram of an electronic device 600 in which one or more embodiments of the disclosure can be implemented. It should be understood that the electronic device 600 illustrated in FIG. 6 is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. The electronic device 600 illustrated in FIG. 6 can be used to implement the electronic device 110 of FIG. 1.
[0083] As illustrated in FIG. 6, the electronic device 600 is in the form of a general electronic device. Components of the electronic device 600 can include, but are not limited to, one or more processors or processing units 610, a memory 620, a storage device 630, one or more communication units 640, one or more input devices 650, and one or more output devices 660. The processing unit 610 can be a real or virtual processor and capable of executing various processing according to programs stored in the memory 620. In a multi-processor system, multiple processing units execute computer-executable instructions in parallel to improve parallel processing capability of the electronic device 600.
[0084] The electronic device 600 typically includes a number of computer storage media. Such media can be any available media that is accessible by the electronic device 600 and includes both volatile and non-volatile media, removable and non-removable media. The memory 620 can be a volatile memory (e.g., registers, cache, random access memory (RAM)), a non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read only memory (EEPROM), flash memory), or some combination thereof. The storage device 630 can be a removable or non-removable media and can include machine-readable media such as a flash drive, a magnetic disk drive, or any other media that can be used to store information and / or data and can be accessed by the electronic device 600.
[0085] The electronic device 600 can further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in FIG. 6, a disk drive for reading from or writing to a removable, non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable, non-volatile optical disk (e.g., a CD-ROM) can be provided. In such instances, each drive can be connected to the bus (not shown) by one or more data media interfaces. The memory 620 can include a computer program product 625 having one or more program modules configured to carry out the various methods or actions of the various embodiments of the present disclosure.
[0086] The communication unit 640 enables communication through communication media with other electronic devices. Additionally, the functionality of the components of the electronic device 600 can be implemented in a single computing cluster or a plurality of computer machines that are capable of communicating over a communication connection. As such, the electronic device 600 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.
[0087] The input device 650 can be one or more input devices, such as a mouse, a keyboard, a trackball, etc. The output device 660 can be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 600 can also communicate with one or more external devices (not shown), such as a storage device, a display device, etc., through the communication unit 640, as necessary, with one or more devices that enable a user to interact with the electronic device 600, or with any device (e.g., a network card, a modem, etc.) that enables the electronic device 600 to communicate with one or more other electronic devices. Such communication can be carried out via an input / output (I / O) interface (not shown).
[0088] According to an example implementation of the present disclosure, a computer readable storage medium is provided having computer executable instructions stored thereon, where the computer executable instructions are executed by a processor to implement the method described above. According to an example implementation of the present disclosure, a computer program product is also provided that is tangibly stored on a non-transitory computer readable medium and includes computer executable instructions, where the computer executable instructions are executed by a processor to implement the method described above.
[0089] Various aspects of the disclosure are now described with reference to the drawings. In general, the drawings described below are diagrammatic and schematic representations of actual or conceptual structures and processes, and are not limiting of the scope of the present disclosure. In the drawings, the same reference numerals are used to represent similar or like items.
[0090] These computer readable program instructions can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks. These computer readable program instructions can also be stored in a computer readable storage medium that can include a non-transitory computer readable storage medium that can direct a computer, a programmable data processing apparatus, and / or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including a manufacture including instructions which implement aspects of the function / act specified in the flowchart and / or block diagram block or blocks.
[0091] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer, other programmable data processing apparatus, or other device implement the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0092] The flow diagrams and block diagrams in the attached figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various implementations of the present disclosure. In this regard, each block in the flow diagrams and block diagrams can represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logic functions (s). It should also be noted that in some alternative implementations, the functions noted in the block 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 flowchart illustrations, and combinations thereof, can be implemented by a dedicated hardware-based system that performs the specified functions or acts or combinations of
[0093] implementations have been described above, the description is intended to be illustrative, and not restrictive, and is not intended to exclude other implementations from the scope of the implementations disclosed herein. Many modifications and variations to the implementations described herein are possible and are within the scope of the implementations described herein. The order or sequence of any process or method can be different from that described. Any referenced method can include additional steps not included in the foregoing process or method. The inclusion of an additional step does not preclude the existence or potential of an additional step. Any process or method can also include steps not included in the foregoing process or method. The inclusion of an additional step does not preclude the existence or potential of an additional step. Any process or method can be combined with another process or method. The inclusion of an additional process or method does not preclude the existence or potential of an additional process or method. The terminology used herein is for the purpose of describing particular implementations only and is not intended to be limiting.
Claims
1. A method for media editing, comprising: presenting a media editing interface of a first media editing result, the first media editing result being generated by applying a first editing template to a set of media; in response to receiving a preset operation, presenting a template switching interface, the template switching interface presenting a plurality of candidate editing templates, the plurality of candidate editing templates including a candidate editing template determined based on the set of media and a candidate editing template determined based on the first editing template; and in response to a selection of a second editing template of the plurality of candidate editing templates, applying the second editing template to the set of media.
2. The method of claim 1, further comprising: displaying the first editing template at a preset position of the template switching interface; and in response to a sliding operation for the plurality of candidate editing templates, adjusting a display position of the plurality of candidate editing templates while keeping the first editing template displayed at the preset position.
3. The method of claim 1, further comprising: updating the media editing interface to present a second media editing result, the second media editing result being generated by applying the second editing template to the set of media.
4. The method of claim 1, further comprising: displaying media preview content in the template switching interface, the media preview content being generated by applying the second editing template to the set of media.
5. The method of claim 4, wherein the media preview content comprises video content, and the method further comprises: in response to a preset operation for the second editing template, playing or pausing playing the video content in the template switching interface.
6. The method of claim 1, wherein the plurality of candidate editing templates are determined based on the following processes: determining a first set of editing templates from a template set based on the set of media; determining a second set of editing templates from the template set based on the first editing template; and determining the plurality of candidate editing templates based on the first set of editing templates and the second set of editing templates.
7. The method of claim 6, wherein determining a first set of editing templates from a template set based on the set of media comprises: determining the first set of editing templates from the template set based on media description information of the set of media, the media description information comprising tag information and / or feature representation of media.
8. The method of claim 6, wherein determining a second set of editing templates from the template set based on the first editing template comprises: determining the second set of editing templates from the template set based on template description information of the first editing template, the template description information comprising at least one of the following: derivation information of the first editing template, screen information of the first editing template, user information associated with the first editing template.
9. The method of claim 6, wherein determining the plurality of candidate editing templates based on the first set of editing templates and the second set of editing templates comprises: filtering, from the first set of editing templates and the second set of editing templates, templates whose usage constraints do not match the set of materials, to determine a third set of editing templates; ranking the third set of editing templates based on evaluation information of the third set of editing templates, to determine a fourth set of editing templates; and determining the plurality of candidate editing templates based on the fourth set of editing templates.
10. The method of claim 9, wherein the usage constraints indicate a number constraint and / or a duration constraint of materials required by a template.
11. The method of claim 9, wherein determining the plurality of candidate editing templates based on the ranked third set of editing templates comprises: adjusting a priority of at least one editing template in the fourth set of editing templates, to determine the plurality of candidate editing templates, wherein the at least one editing template comprises: a template having a same template feature as the first editing template; and / or a template matching frame information and / or accumulated duration information of the set of materials.
12. The method of claim 11, wherein the template feature indicates at least one of: a theme scene of the first editing template; a character scene of the first editing template; a time scene of the first editing template.
13. An apparatus for media editing, comprising: a first presentation module configured to present a media editing interface of a first media editing result, the first media editing result being generated by applying a first editing template to a set of materials; a second presentation module configured to present, in response to receiving a preset operation, a template switching interface, the template switching interface presenting a plurality of candidate editing templates, the plurality of candidate editing templates including candidate editing templates determined based on the set of materials and candidate editing templates determined based on the first editing template; and a template application module configured to apply, in response to a selection of a second editing template from the plurality of candidate editing templates, the second editing template to the set of materials.
14. An electronic device, comprising: at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions, when executed by the at least one processing unit, causing the electronic device to perform the method according to any one of claims 1-12.
15. A computer-readable storage medium having stored thereon a computer program, the computer program being executable by a processor to implement the method according to any one of claims 1-12.
16. A computer program product tangibly stored in a computer storage medium and comprising computer-executable instructions that, when executed by a device, cause the device to perform the method according to any one of claims 1-12.
Citation Information
Patent Citations
Video editing processing method and device and electronic equipment
CN111835986A
Video editing method and device, equipment and medium
CN113852767A
Video generation method and device, electronic equipment and storage medium
CN116266856A
Multimedia editing template recommendation method and device, electronic equipment and medium
CN117453931A
Video material editing method and device
CN117857719A