Media editing method and device, equipment and storage medium

By displaying the editing interface of live photos in the media editing method and device, and playing multiple image frames in response to user operations, the problem that traditional still photo editing does not support live photos is solved, and efficient editing and preview of live photos is achieved.

CN119597186APending Publication Date: 2025-03-11BEIJING ZITIAO NETWORK TECH CO LTD

Patent Information

Application Number
CN202411691501.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-22
Publication Date
2025-03-11

AI Technical Summary

Technical Problem

Traditional still photos cannot effectively support the editing of live photos, which affects the user experience.

Method used

A method and device for media editing are provided, an editing interface for displaying a live photo, including a preview area, playing multiple image frames in response to user operations, and displaying the editing results of the cover image when the operation is over or the playback is completed.

Benefits of technology

It realizes the editing ability of live photos, supports playing live photos in the preview area, viewing the editing results of cover images and multiple image frames, and improves editing efficiency and flexibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119597186A_ABST
    Figure CN119597186A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to a media editing method and device, equipment and a storage medium. The method comprises the steps that an editing interface of a live photo is displayed, the editing interface comprises a preview area, and the preview area presents a cover editing result of a cover image of the live photo; in response to receiving a first operation associated with the preview area, playing a plurality of image frames of the live photo to display an editing result of the plurality of image frames; and in response to the completion of the first operation or the completion of playing of the plurality of image frames, displaying a cover editing result of the cover image of the live photo in the preview area.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly, to methods, devices, apparatuses, and computer-readable storage media for media editing. Background Art

[0002] Live Photos, also known as Live Photos, can not only record static images, but also capture short dynamic video and audio clips before and after the image is taken. Compared with traditional static photos, Live Photos can provide a richer scene experience and enhance the expressiveness of photos through an additional time dimension. Summary of the invention

[0003] In a first aspect of the present disclosure, a method for media editing is provided. The method includes: displaying an editing interface of a live photo, the editing interface including a preview area, the preview area presenting a cover editing result of a cover image of the live photo; in response to receiving a first operation associated with the preview area, playing multiple image frames of the live photo to display the editing result of the multiple image frames; and in response to the first operation ending or the multiple image frames being played, displaying the cover editing result of the cover image of the live photo in the preview area.

[0004] In a second aspect of the present disclosure, a device for media editing is provided. The device includes: a display module configured to display an editing interface of a live photo, the editing interface including a preview area, the preview area presenting a cover editing result of a cover image of the live photo; a playback module configured to play a plurality of image frames of the live photo in response to receiving a first operation associated with the preview area to display the editing result of the plurality of image frames; and a switching module configured to display the cover editing result of the cover image of the live photo in the preview area in response to the first operation ending or the plurality of image frames being played.

[0005] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit. When the instructions are executed by the at least one processing unit, the device executes the method of the first aspect.

[0006] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect.

[0007] It should be understood that the contents described in this content section are not intended to limit the key features or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:

[0009] Figure 1 A schematic diagram showing an example environment in which embodiments according to the present disclosure may be implemented;

[0010] FIG. 2A to FIG. 2H shows an example interface according to some embodiments of the present disclosure;

[0011] Figure 3 A flowchart illustrating an example process of media editing according to some embodiments of the present disclosure;

[0012] Figure 4 A schematic structural block diagram showing an example apparatus for media editing according to some embodiments of the present disclosure; and

[0013] Figure 5 A block diagram of an electronic device capable of implementing various embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0014] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0015] It should be noted that the titles of any sections / subsections provided herein are not restrictive. Various embodiments are described throughout this article, and any type of embodiment may be included under any section / subsection. In addition, the embodiments described in any section / subsection may be combined in any manner with any other embodiments described in the same section / subsection and / or different sections / subsections.

[0016] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part 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". Other explicit and implicit definitions may be included below. The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may be included below.

[0017] The embodiments of the present disclosure may involve user data, data acquisition and / or use, etc. These aspects are subject to the corresponding laws, regulations and relevant provisions. In the embodiments of the present disclosure, all data collection, acquisition, processing, processing, forwarding, use, etc. are carried out on the premise that the user knows and confirms. Accordingly, when implementing each embodiment of the present disclosure, the type, scope of use, usage scenario, etc. of the data or information that may be involved should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with the relevant laws and regulations. The specific notification and / or authorization method can vary according to the actual situation and application scenario, and the scope of the present disclosure is not limited in this respect.

[0018] In this specification and the embodiments, if personal information processing is involved, it will be processed on the premise of having a legal basis (such as obtaining the consent of the subject of personal information, or it is necessary to perform a contract, etc.), and will only be processed within the scope of regulations or agreements. If a user refuses to process personal information other than the necessary information for basic functions, it will not affect the user's use of basic functions.

[0019] Compared with traditional static photos, Live Photos can provide a richer scene experience and enhance the expressiveness of photos through the additional time dimension. However, traditional solutions cannot effectively support the editing of Live Photos, which greatly affects the user experience of Live Photos.

[0020] The embodiments of the present disclosure provide a media editing solution. According to the solution, an editing interface of a live photo can be displayed, the editing interface includes a preview area, and the preview area presents the cover editing result of the cover image of the live photo. Further, in response to receiving a first operation associated with the preview area, multiple image frames of the live photo can be played to display the editing results of the multiple image frames. Additionally, in response to the end of the first operation or the completion of the playback of multiple image frames, the cover editing result of the cover image of the live photo can be displayed in the preview area.

[0021] In this way, the embodiments of the present disclosure can provide the editing capability of the live photo, and can support playing the live photo in the preview area to view the editing results of the cover image and multiple image frames. In this way, the embodiments of the present disclosure can improve the editing efficiency of the live photo.

[0022] Various example implementations of the solution are described in detail below in conjunction with the accompanying drawings.

[0023] Example Environment

[0024] Figure 1 1 is a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. Figure 1 As shown, example environment 100 may include electronic device 110 .

[0025] In this example environment 100, the electronic device 110 may run an application 120 that supports interface interaction. The application 120 may be any suitable type of application for interface interaction, examples of which may include, but are not limited to, video applications, media editing applications, or other suitable applications. The user 140 may interact with the application 120 via the electronic device 110 and / or its attached devices.

[0026] exist Figure 1 In the environment 100, if the application 120 is in an active state, the electronic device 110 can present an interface 150 for supporting interface interaction through the application 120.

[0027] In some embodiments, the electronic device 110 communicates with the server 130 to provide services for the application 120. The electronic device 110 can be any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a handheld computer, a portable game terminal, a VR / AR device, a personal communication system (PCS) device, 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 receiver, an e-book device, a game device, or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. In some embodiments, the electronic device 110 can also support any type of interface for the user (such as a "wearable" circuit, etc.).

[0028] The server 130 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as 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 big data and artificial intelligence platforms. The server 130 may include, for example, a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, etc. The server 130 may provide background services for the application 120 that supports content presentation in the electronic device 110.

[0029] A communication connection may be established between the server 130 and the electronic device 110. The communication connection may be established in a wired manner or a wireless manner. The communication connection may include, but is not limited to, a Bluetooth connection, a mobile network connection, a Universal Serial Bus (USB) connection, a Wireless Fidelity (WiFi) connection, etc., and the embodiments of the present disclosure are not limited in this respect. In the embodiments of the present disclosure, the server 130 and the electronic device 110 may implement signaling interaction through the communication connection between the two.

[0030] It should be understood that the structure and function of the various elements in the environment 100 are described for exemplary purposes only and do not imply any limitation on the scope of the present disclosure.

[0031] Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.

[0032] Example Interaction

[0033] The following will refer to FIG. 2A to FIG. 2H To describe some example interaction processes according to embodiments of the present disclosure. FIG. 2A to FIG. 2H Example interfaces 200A to 200H according to some embodiments of the present disclosure are shown. Interfaces 200A to 200H may be composed of, for example, Figure 1 The electronic device 110 is provided as shown.

[0034] like Figure 2A As shown, the electronic device 110 may present an interface 200A, for example. The interface 200A may be an editing interface for the live photo 205. As an example, the electronic device 110 may receive a user's editing request for the live photo 205, and may display the following accordingly: Figure 2A Editing interface 200A is shown.

[0035] like Figure 2AAs shown, the editing interface 200A may include a preview area 210. The preview area 210 may, for example, present the editing result of the Live Photo 205. In some embodiments, the preview area 210 may, for example, initially present the cover editing result of the cover image of the Live Photo 205. It should be understood that such cover editing result includes an unedited cover image.

[0036] like Figure 2A As shown, the interface 200A may also include one or more editing components to support editing operations for the live image 205. As an example, the interface 200A may include a track component 215 corresponding to the live photo 205. As shown, the track component 215 may display at least part of the image frames of the multiple video frames of the live photo 205.

[0037] Further, the electronic device 110 may receive an endpoint adjustment operation on the track component 215, and may adjust the length of the live photo 205 based on the endpoint adjustment operation. Specifically, the electronic device 110 may receive, for example, a right move operation on the left endpoint of the track component 215 and / or a left move operation on the right endpoint, and crop the live photo 205 accordingly.

[0038] In addition, if Figure 2B As shown, the electronic device 110 may also receive a selection of a target image frame 220 in at least a portion of the image frames displayed by the track component 215, and may present a cover setting portal accordingly. Accordingly, the electronic device 110 may receive a user's selection of the cover setting portal, and may set the selected target image frame 220 as the cover image of the live photo 205.

[0039] Additionally, in response to the target image frame 220 being set as the cover image of the live photo, the electronic device 110 may also present a restoration entry (e.g., “Restore default cover”) in the interface 200B. Further, the electronic device 110 may receive a selection of the restoration entry and may restore the initial cover image of the live photo 205.

[0040] In the case where the cover image is replaced or restored, the preview area 210 may, for example, update the displayed cover image accordingly.

[0041] In some embodiments, the electronic device 110 may also support the user to edit the cover image and / or multiple image frames of the live photo 205. Figure 2C As shown, the electronic device 110 may present a group of candidate media resources, such as template resources 225 , in the editing interface 200C.

[0042] The following will take the template resource 225 as an example of a media resource to describe an example process of using media resources to edit the live photo 205. In some embodiments, such media resources may also include sticker resources, filter resources, special effect resources, etc.

[0043] Further, the electronic device 110 may receive a user's selection of the template resource 225, and may apply the target media resource 225 to the cover image and / or multiple image frames of the live photo 205. Further, after receiving a request to apply the template resource 225, the electronic device 110 may apply the effect corresponding to the template resource 225 to the cover image and / or multiple image frames of the live photo 205. In some embodiments, the electronic device 110 may apply the first effect indicated by the template resource 225 to the multiple image frames, and the electronic device 110 may apply the second effect indicated by the template resource 225 to the cover image. In some embodiments, the first effect and the second effect may be the same effect.

[0044] In other embodiments, the first effect may be different from the second effect. For example, the template resource 225 may specify a specific effect applied to the cover image, and may specify another effect applied to multiple image frames.

[0045] As an example, the electronic device 110 may provide media resources specific to the Live Photo. Figure 2D As shown, the electronic device 110 may provide media resources specific to the Live Photo, such as special effect resources 230. Further, the electronic device 110 may receive a selection of the special effect resources 230 and may trigger the application of the special effect resources 230 to the Live Photo. In some embodiments, the special effect resources 230 may, for example, specify different processing effects for the cover image and multiple image frames, respectively.

[0046] Thus, the embodiments of the present disclosure may support editing of multiple image frames in a live photo, and may support separate editing of a cover image and multiple image frames, thereby improving the efficiency and flexibility of editing live photos.

[0047] In some embodiments, the template resource 225 may also indicate a first transition effect from the cover image to a starting image frame in the plurality of image frames. Alternatively or additionally, the template resource 225 may also indicate a second transition effect from an ending image frame in the plurality of image frames to the cover image.

[0048] In this way, the embodiments of the present disclosure may also support editing the switching effect of the Live Photo 205 between presenting the cover image switching and playing the image frame.

[0049] In some embodiments, the electronic device 110 may also receive a picture adjustment request via the editing interface. Further, the electronic device 110 may apply at least one adjustment parameter corresponding to the picture adjustment request to the cover image and / or multiple image frames of the live photo 205 .

[0050] like Figure 2E As shown, the electronic device 110 can support providing a portrait adjustment component and can receive a portrait adjustment request for a live photo. Accordingly, the electronic device 110 can present a Figure 2F The parameter configuration controls shown are used to support the electronic device 110 to modify the adjustment parameters.

[0051] Additionally, if Figure 2G As shown, the electronic device 110 may also support adding various types of sticker materials to the live photo, such as graphic stickers or text stickers, etc. Accordingly, such sticker materials may be added to multiple image frames of the live photo, for example.

[0052] As mentioned above, the preview area 210 may, for example, present the cover editing result of the cover image. Figure 2H As shown, the electronic device 110 may also receive a first operation associated with the preview area 210 , and may accordingly play multiple image frames of the live photo 205 to display the editing results of the multiple image frames.

[0053] As an example, the first operation may include a long press operation on the preview area 210. For example, the user may trigger the playback of multiple image frames of the live photo 205 by long pressing the preview area 210 or the cover image.

[0054] As another example, the first operation may also include a triggering operation for a play control in the preview area. For example, the user may trigger the playing of multiple image frames of the live photo 205 by clicking a play button in the preview area 210 .

[0055] It is understandable that when a display instruction is received, the editing interface 200 is displayed, or the live photo 205 is imported, multiple image frames of the live photo 205 are played once by default, and after the playback is completed, the preview area 210 can automatically switch back to displaying the cover image. If the user wants to play the live photo 205 again, it can be implemented through, for example, the first operation.

[0056] In some embodiments, the electronic device 110 may also present a progress indication element 235 in the preview area 210 accordingly to indicate the playback progress of the multiple image frames.

[0057] Further, in response to the first operation ending or the multiple image frames being played, the electronic device 110 may switch the preview area 210 to display the cover editing result of the cover image of the live photo. For example, if the user ends the long press operation or the multiple image frames are played, the preview area 210 may automatically switch back to displaying the cover image.

[0058] In this way, the embodiments of the present disclosure can support providing a consistent interactive experience in the preview area of ​​the editing interface, thereby reducing the user's interactive learning cost and improving editing efficiency.

[0059] In some embodiments, when multiple image frames are updated based on the media resources described above, the preview area 210 can update the editing results of the multiple image frames accordingly to facilitate the user to perceive the effects of the media resources corresponding to the multiple image frames.

[0060] In some embodiments, the embodiments of the present disclosure may also support editing of live photos through a track editor. Specifically, the live photo may be associated with a first media segment and a second media segment in the track editor, wherein the first media segment corresponds to a cover image, and the second media segment corresponds to a plurality of image frames.

[0061] As an example, the first media segment may have a preset time length, and the second media segment may correspond to a time length of a plurality of image frames.

[0062] Further, when an editing operation associated with a live photo is received via the editing interface, an editing track corresponding to the target type of the editing operation can be determined from the track editor. For example, such editing tracks may include special effects tracks, sticker tracks, filter tracks, and lights.

[0063] Furthermore, a first effect segment corresponding to the first media segment and / or a second effect segment corresponding to the second media segment can be created in the editing track. Thus, the embodiments of the present disclosure can implement the application of the same or different effects to the cover image and multiple image frames, thereby improving the flexibility of live image editing.

[0064] In this way, the embodiments of the present disclosure can provide the editing capability of the live photo, and can support playing the live photo in the preview area to view the editing results of the cover image and multiple image frames. In this way, the embodiments of the present disclosure can improve the editing efficiency of the live photo.

[0065] Example Process

[0066] Figure 3FIG. 3 is a flow chart showing an example information interaction process 300 according to some embodiments of the present disclosure. The process 300 may be implemented at the electronic device 110. Figure 1 Process 300 is described.

[0067] like Figure 3 As shown, in box 310, the electronic device 110 displays an editing interface of the live photo, and the editing interface includes a preview area, and the preview area presents the cover editing result of the cover image of the live photo.

[0068] In block 320 , in response to receiving the first operation associated with the preview area, the electronic device 110 plays the plurality of image frames of the live photo to display the editing results of the plurality of image frames.

[0069] In block 330 , in response to the first operation ending or the multiple image frames being played, the electronic device 110 displays the cover editing result of the cover image of the Live Photo in the preview area.

[0070] In some embodiments, the first operation further includes: a long press operation on the preview area; or a trigger operation on a play control in the preview area.

[0071] In some embodiments, the editing interface further includes a track component corresponding to the live photo, and the track component displays at least a portion of the image frames in the plurality of video frames.

[0072] In some embodiments, process 300 further includes: receiving an endpoint adjustment operation on the track component; and adjusting a length of the live photo based on the endpoint adjustment operation.

[0073] In some embodiments, process 300 further includes: in response to selection of a target image frame in at least a portion of the image frames of the track component, presenting a cover setting entry; and in response to selection of the cover setting entry, setting the target image frame as a cover image of the live photo.

[0074] In some embodiments, process 300 further includes: in response to the target image frame being set as the cover image of the Live Photo, presenting a restoration portal; and in response to selection of the restoration portal, restoring the original cover image of the Live Photo.

[0075] In some embodiments, process 300 further includes: presenting a set of candidate media assets in the editing interface; and in response to a selection of a target media asset from the set of candidate media assets, applying the target media asset to the plurality of image frames.

[0076] In some embodiments, applying the target media resource to the plurality of image frames comprises: applying a first effect indicated by the target media resource to the plurality of image frames, and applying a second effect indicated by the target media resource to the cover image.

[0077] In some embodiments, the target media resource further indicates at least one of the following: a first transition effect from the cover image to a starting image frame among the plurality of image frames; a second transition effect from an ending image frame among the plurality of image frames to the cover image.

[0078] In some embodiments, the target media resource includes a template resource, a sticker resource, or a filter resource.

[0079] In some embodiments, process 300 further includes: in response to the target media resource being applied to the plurality of image frames, updating the editing results of the plurality of image frames.

[0080] In some embodiments, the process 300 further includes: receiving a picture adjustment request via an editing interface; and applying at least one adjustment parameter corresponding to the picture adjustment request to the plurality of image frames.

[0081] In some embodiments, process 300 further includes: in response to the multiple image frames of the live photo being played, presenting a progress indication element in the preview area to indicate the playback progress of the multiple image frames.

[0082] In some embodiments, the Live Photo is associated with a first media segment and a second media segment in a track editor, the first media segment corresponding to the cover image and the second media segment corresponding to the plurality of image frames.

[0083] In some embodiments, process 300 also includes: receiving an editing operation associated with the live photo via an editing interface; determining, from a track editor, an editing track corresponding to a target type of the editing operation; and creating a first effect segment corresponding to the first media segment and / or a second effect segment corresponding to the second media segment in the editing track.

[0084] Example devices and equipment

[0085] The embodiments of the present disclosure also provide corresponding devices for implementing the above methods or processes. Figure 4 A schematic structural block diagram of an example apparatus 400 for media editing according to some embodiments of the present disclosure is shown. The apparatus 400 may be implemented as or included in the electronic device 110. Each module / component in the apparatus 400 may be implemented by hardware, software, firmware, or any combination thereof.

[0086] like Figure 4As shown, the device 400 includes a display module 410, which is configured to display an editing interface of the live photo, the editing interface includes a preview area, and the preview area presents the cover editing result of the cover image of the live photo; a playback module 420, which is configured to play multiple image frames of the live photo in response to receiving a first operation associated with the preview area to display the editing results of the multiple image frames; and a switching module 430, which is configured to display the cover editing result of the cover image of the live photo in the preview area in response to the end of the first operation or the completion of the playback of the multiple image frames.

[0087] In some embodiments, the first operation further includes: a long press operation on the preview area; or a trigger operation on a play control in the preview area.

[0088] In some embodiments, the editing interface further includes a track component corresponding to the live photo, and the track component displays at least a portion of the image frames in the plurality of video frames.

[0089] In some embodiments, the apparatus 400 further includes an adjustment module configured to: receive an endpoint adjustment operation on the track component; and adjust the length of the live photo based on the endpoint adjustment operation.

[0090] In some embodiments, the device 400 also includes a setting module configured to: present a cover setting entry in response to selection of a target image frame in at least part of the image frames of the track component; and set the target image frame as the cover image of the live photo in response to selection of the cover setting entry.

[0091] In some embodiments, the apparatus 400 further comprises a restoration module configured to: present a restoration portal in response to the target image frame being set as the cover image of the live photo; and restore the original cover image of the live photo in response to selection of the restoration portal.

[0092] In some embodiments, the apparatus 400 further includes a first application module configured to: present a group of candidate media resources in an editing interface; and in response to selection of a target media resource from the group of candidate media resources, apply the target media resource to multiple image frames.

[0093] In some embodiments, applying the target media resource to the plurality of image frames comprises: applying a first effect indicated by the target media resource to the plurality of image frames, and applying a second effect indicated by the target media resource to the cover image.

[0094] In some embodiments, the target media resource further indicates at least one of the following: a first transition effect from the cover image to a starting image frame among the plurality of image frames; a second transition effect from an ending image frame among the plurality of image frames to the cover image.

[0095] In some embodiments, the target media resource includes a template resource, a sticker resource, or a filter resource.

[0096] In some embodiments, the apparatus 400 further includes an updating module configured to: in response to the target media resource being applied to the multiple image frames, update the editing results of the multiple image frames.

[0097] In some embodiments, the apparatus 400 further includes a second application module configured to: receive a picture adjustment request via an editing interface; and apply at least one adjustment parameter corresponding to the picture adjustment request to the plurality of image frames.

[0098] In some embodiments, the apparatus 400 further includes a progress display module configured to: in response to a plurality of image frames of the live photo being played, present a progress indication element in the preview area to indicate the playing progress of the plurality of image frames.

[0099] In some embodiments, the Live Photo is associated with a first media segment and a second media segment in a track editor, the first media segment corresponding to the cover image and the second media segment corresponding to the plurality of image frames.

[0100] In some embodiments, process 300 also includes an editing module configured to: receive an editing operation associated with the live photo via an editing interface; determine, from a track editor, an editing track corresponding to a target type of the editing operation; and create a first effect segment corresponding to the first media segment and / or a second effect segment corresponding to the second media segment in the editing track.

[0101] The modules included in the device 400 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units can be implemented using software and / or firmware, such as machine executable instructions stored on a storage medium. In addition to or as an alternative to machine executable instructions, some or all of the modules in the device 400 can be implemented at least in part by one or more hardware logic components. As an example and not limitation, exemplary types of hardware logic components that can be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0102] like Figure 5As shown, the electronic device 500 is in the form of a general electronic device. The components of the electronic device 500 may include, but are not limited to, one or more processors or processing units 510, a memory 520, a storage device 530, one or more communication units 540, one or more input devices 550, and one or more output devices 560. The processing unit 510 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 520. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the electronic device 500.

[0103] The electronic device 500 typically includes a plurality of computer storage media. Such media may be any accessible media that is accessible to the electronic device 500, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 520 may be a volatile memory (e.g., registers, caches, random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 530 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a disk, or any other medium, which may be capable of being used to store information and / or data and may be accessed within the electronic device 500.

[0104] The electronic device 500 may further include additional removable / non-removable, volatile / non-volatile storage media. Figure 5 As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. The memory 520 may include a computer program product 525 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.

[0105] The communication unit 540 implements communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 500 can be implemented in a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device 500 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.

[0106] The input device 550 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 560 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 500 may also communicate with one or more external devices (not shown) through the communication unit 540 as needed, such as a storage device, a display device, etc., communicate with one or more devices that allow a user to interact with the electronic device 500, or communicate with any device that allows the electronic device 500 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).

[0107] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.

[0108] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices, equipment, and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0109] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0110] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable data processing apparatus, or other device implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0111] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.

[0112] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the various implementations disclosed herein.

Claims

1. A method for media editing, comprising: Displaying an editing interface of the live photo, the editing interface comprising a preview area, the preview area presenting a cover editing result of the cover image of the live photo; In response to receiving a first operation associated with the preview area, playing a plurality of image frames of the live photo to display editing results of the plurality of image frames; as well as In response to the first operation being ended or the plurality of image frames being played being completed, the cover editing result of the cover image of the live photo is displayed in the preview area.

2. The method according to claim 1, wherein the first operation comprises: Long press operation on the preview area; or A trigger operation on a playback control in the preview area. 3 . The method according to claim 1 , wherein the editing interface further comprises a track component corresponding to the live photo, the track component displaying at least a portion of the image frames of the plurality of video frames.

4. The method according to claim 3, further comprising: receiving an endpoint adjustment operation for the track component; as well as Based on the endpoint adjustment operation, a length of the Live Photo is adjusted.

5. The method according to claim 3, further comprising: In response to selection of a target image frame in the at least a portion of the image frames of the track component, presenting a cover setting portal; as well as In response to selection of the cover setting entry, the target image frame is set as a cover image of the live photo.

6. The method according to claim 5, further comprising: In response to the target image frame being set as the cover image of the Live Photo, presenting a restoration portal; as well as In response to selection of the restoration entry, an initial cover image of the Live Photo is restored.

7. The method according to claim 1, further comprising: presenting a set of candidate media resources in the editing interface; as well as In response to selection of a target media asset from the set of candidate media assets, the target media asset is applied to the plurality of image frames.

8. The method of claim 7, wherein applying the target media resource to the plurality of image frames comprises: A first effect indicated by the target media resource is applied to the plurality of image frames, and a second effect indicated by the target media resource is applied to the cover image.

9. The method according to claim 7, wherein the target media resource further indicates at least one of the following: a first transition effect from the cover image to a starting image frame among the plurality of image frames; A second transition effect from an end image frame among the multiple image frames to the cover image. 10 . The method according to claim 7 , wherein the target media resource comprises a template resource, a sticker resource or a filter resource.

11. The method according to claim 7, further comprising: In response to the target media resource being applied to the plurality of image frames, editing results of the plurality of image frames are updated.

12. The method according to claim 1, further comprising: Receiving a picture adjustment request via the editing interface; as well as Applying at least one adjustment parameter corresponding to the picture adjustment request to the multiple image frames.

13. The method according to claim 1, further comprising: In response to the multiple image frames of the live photo being played, a progress indication element is presented in the preview area to indicate a progress of playing the multiple image frames.

14. The method of claim 1, wherein the Live Photo is associated with a first media segment and a second media segment in a track editor, the first media segment corresponding to the cover image, and the second media segment corresponding to the plurality of image frames.

15. The method according to claim 14, further comprising: receiving, via the editing interface, an editing operation associated with the Live Photo; Determining, from the track editor, an edit track corresponding to a target type of the edit operation; as well as A first effect segment corresponding to the first media segment and / or a second effect segment corresponding to the second media segment is created in the editing track.

16. An apparatus for media editing, comprising: A display module configured to display an editing interface of the live photo, wherein the editing interface includes a preview area, wherein the preview area presents a cover editing result of the cover image of the live photo; a playing module, configured to play the plurality of image frames of the live photo in response to receiving a first operation associated with the preview area, so as to display the editing results of the plurality of image frames; as well as The switching module is configured to display the cover editing result of the cover image of the live photo in the preview area in response to the first operation being completed or the multiple image frames being played.

17. An electronic device comprising: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 15 when executed by the at least one processing unit.

18. A computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the method according to any one of claims 1 to 15 when executed by a processor.

Citation Information

Patent Citations

  • Devices, methods, and graphical user interfaces for navigating, displaying, and editing media items with multiple display modes

    CN110383229A

  • Video processing method and device

    CN115002337A

  • Media content generation method, media content display method and related equipment

    CN117519544A

  • Video editing method and device, equipment and medium

    CN118741242A

  • Dynamic picture processing method, electronic equipment and computer readable storage medium

    CN118963624A

Cited By

  • Media editing method and apparatus, device, storage medium, and program product

    WO2026108998A1