Media editing method and device, equipment and storage medium

By creating a cover image and media segments corresponding to multiple images in the track editor, the inconvenience of editing live photos in traditional solutions is solved, enabling more efficient and flexible editing operations and improving the user experience.

CN122086293APending Publication Date: 2026-05-26BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
BEIJING ZITIAO NETWORK TECH CO LTD
Filing Date
2024-11-22
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

Traditional solutions cannot effectively support editing of live photos, affecting the user experience.

Method used

Use the track editor to create a first media segment and a second media segment corresponding to the live photo, which correspond to the cover image and multiple images respectively. Then, use the editor to perform editing operations and generate the editing results.

Benefits of technology

It improves the flexibility and efficiency of editing live photos, enhancing the user's editing experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122086293A_ABST
    Figure CN122086293A_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 provided herein includes: receiving an editing request associated with a live photo; in response to the editing request, creating a first media segment and a second media segment corresponding to the live photo in a track editor, the first media segment corresponding to a cover image of the live photo and the second media segment corresponding to a plurality of images of the live photo; and in response to the received editing operation of the live photo, editing the first media segment and / or the second media segment by using a track editor to generate an editing result of the live photo.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The exemplary embodiments disclosed herein relate generally to the field of computers, and more particularly to methods, apparatus, devices and computer-readable storage media for media editing. Background Technology

[0002] Live photos, also known as live images, not only record still images but also capture brief moments of video and audio before and after the image is taken. Compared to traditional still photos, live photos offer a richer experience of the scene, enhancing the expressiveness of the photograph through the added dimension of time. Summary of the Invention

[0003] In a first aspect of this disclosure, a method for media editing is provided. The method includes: receiving an editing request associated with a live photograph; in response to the editing request, creating a first media segment and a second media segment corresponding to the live photograph in a track editor, the first media segment corresponding to a cover image of the live photograph, and the second media segment corresponding to multiple images of the live photograph; and in response to receiving an editing operation related to the live photograph, editing the first media segment and / or the second media segment using the track editor to generate an edited result for the live photograph.

[0004] In a second aspect of this disclosure, an apparatus for media editing is provided. The apparatus includes: a receiving module configured to receive an editing request associated with a live photograph; a creating module configured to, in response to the editing request, create a first media segment and a second media segment corresponding to the live photograph in a track editor, the first media segment corresponding to a cover image of the live photograph, and the second media segment corresponding to multiple images of the live photograph; and an editing module configured to, in response to receiving an editing operation related to the live photograph, edit the first media segment and / or the second media segment using the track editor to generate an edited result of the live photograph.

[0005] In a third aspect of this disclosure, an electronic device is provided. The device includes 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. When executed by the at least one processing unit, the instructions cause the device to perform the method of the first aspect.

[0006] In a fourth aspect of this disclosure, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program that can be executed by a processor to implement the method of the first aspect.

[0007] It should be understood that the content described in this content section is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description

[0008] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. In the drawings, the same or similar reference numerals denote the same or similar elements, wherein:

[0009] Figure 1 A schematic diagram is shown of an example environment in which embodiments of the present disclosure may be implemented;

[0010] Figure 2A Example interfaces according to some embodiments of this disclosure are shown;

[0011] Figure 2B An example track editor according to some embodiments of this disclosure is shown;

[0012] Figure 3 A flowchart illustrating an example process for media editing according to some embodiments of this disclosure is shown;

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

[0014] Figure 5 A block diagram of an electronic device capable of implementing several embodiments of the present disclosure is shown. Detailed Implementation

[0015] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.

[0016] It should be noted that the headings of any section / subsection provided herein are not limiting. Various embodiments are described throughout this document, and embodiments of any type may be included under any section / subsection. Furthermore, embodiments described in any section / subsection may be combined in any way with any other embodiments described in the same section / subsection and / or different sections / subsections.

[0017] In the description of embodiments of this disclosure, the term "comprising" and similar terms should be understood as open-ended inclusion, 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". Other explicit and implicit definitions may also be included below. The terms "first", "second", etc., may refer to different or the same objects. Other explicit and implicit definitions may also be included below.

[0018] The embodiments of this disclosure may involve user data, data acquisition, and / or use. All of these aspects comply with applicable laws, regulations, and relevant provisions. In the embodiments of this disclosure, all data collection, acquisition, processing, manipulation, forwarding, and use are conducted with the user's knowledge and confirmation. Accordingly, in implementing the embodiments of this disclosure, the type, scope of use, and usage scenarios of any data or information that may be involved should be communicated to the user and their authorization obtained in accordance with relevant laws and regulations through appropriate means. The specific methods of notification and / or authorization may vary depending on the actual situation and application scenario, and the scope of this disclosure is not limited in this respect.

[0019] In this specification and the embodiments, any processing of personal information will be carried out only under the premise of legality (such as obtaining the consent of the personal information subject, or being necessary for the performance of a contract), and will only be carried out within the scope stipulated or agreed upon. A user's refusal to process personal information other than that necessary for basic functions will not affect the user's use of basic functions.

[0020] Compared to traditional still photos, live photos offer a richer scene experience, enhancing their expressiveness through the added dimension of time. However, traditional methods cannot effectively support editing of live photos, which significantly impacts the user experience.

[0021] Embodiments of this disclosure propose a media editing scheme. The scheme includes: receiving an editing request associated with a live photo; in response to the editing request, creating a first media segment and a second media segment corresponding to the live photo in a track editor, the first media segment corresponding to a cover image of the live photo, and the second media segment corresponding to multiple images of the live photo; and in response to receiving an editing operation related to the live photo, editing the first media segment and / or the second media segment using the track editor to generate an edited result for the live photo.

[0022] In this way, the embodiments of this disclosure can utilize a track editor to support editing operations on live photos, thereby increasing editing flexibility and improving editing efficiency.

[0023] The following section provides a detailed description of various example implementations of this scheme, with reference to the accompanying drawings.

[0024] Example Environment

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

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

[0027] exist Figure 1 In environment 100, if application 120 is active, electronic device 110 can use application 120 to present interface 150 for supporting interface interaction.

[0028] In some embodiments, electronic device 110 communicates with server 130 to provide services to application 120. Electronic device 110 can be any type of mobile terminal, fixed terminal, or portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, handheld computers, portable gaming terminals, VR / AR devices, personal communication system (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio / video players, digital cameras / camcorders, positioning devices, television receivers, radio receivers, e-book devices, gaming devices, or any combination thereof, including accessories and peripherals of these devices or any combination thereof. In some embodiments, electronic device 110 can also support any type of user-facing interface (such as "wearable" circuitry).

[0029] Server 130 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks, and big data and artificial intelligence platforms. Server 130 may include, for example, computing systems / servers such as mainframes, edge computing nodes, computing devices in a cloud environment, etc. Server 130 can provide backend services for applications 120 that support content presentation in electronic devices 110.

[0030] A communication connection can be established between server 130 and electronic device 110. This communication connection can be established via wired or wireless means. The communication connection may include, but is not limited to, Bluetooth, mobile network, Universal Serial Bus (USB), and Wireless Fidelity (WiFi) connections; the embodiments of this disclosure are not limited in this respect. In the embodiments of this disclosure, server 130 and electronic device 110 can achieve signaling interaction through the communication connection between them.

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

[0032] The following description will continue with reference to the accompanying drawings, which will provide some exemplary embodiments of this disclosure.

[0033] Editing live photos

[0034] Figure 2A An example interface 200A according to some embodiments of the present disclosure is shown. Interface 200A may, for example, be provided by... Figure 1 The electronic device 110 shown is provided.

[0035] In some examples, electronic device 110 can receive editing requests associated with live photo 210 and can present, for example, Figure 2A The editing interface 200A is shown. In the editing interface 200A, the electronic device 110 can receive editing operations for the live photo 210. For example, the electronic device 110 can apply a specified template resource 220 to the live photo 210. Accordingly, such a target resource 220 can be applied simultaneously, for example, to the cover image and multiple image frames of the live photo 210.

[0036] The following will be referenced Figure 2B This describes how the Track Editor 200B is used to support the editing of live photos. Figure 2BAn example track editor 200B according to some embodiments of the present disclosure is shown.

[0037] like Figure 2B As shown, the electronic device 110 can create a first media segment 232 and a second media segment 234 corresponding to the live photo in the track editor 200B in response to an editing request from the live photo 210. In some embodiments, the track editor 200B may include, for example, a multi-track editor, and the electronic device 110 can create a first media segment 232 corresponding to the cover image and a second media segment 234 corresponding to multiple image frames in the main track 230.

[0038] In some embodiments, the first media segment 232 may have a preset first time length. Additionally, the second media segment corresponds to a second time length of multiple image frames.

[0039] Furthermore, in response to receiving an editing operation with the live photo 210, the electronic device 110 can use the track editor 200B to edit the first media segment 232 and / or the second media segment 234 to generate the edited result of the live photo 210.

[0040] Specifically, upon receiving an editing operation, the electronic device 110 can determine the editing track corresponding to the target type of the editing operation from the track editor 200B. For example... Figure 2B As shown, the track editor 200B can be associated with multiple editing tracks, such as sticker track 240, filter track 250, and motion effects track 260.

[0041] Furthermore, the electronic device 110 can determine the corresponding editing track based on the type of editing operation. For example, if the received editing operation is to add a sticker to a live photo, the electronic device 110 can determine that the sticker track 240 corresponds to that operation.

[0042] Furthermore, the electronic device 110 can create a first effect segment corresponding to the first media segment and / or a second effect segment corresponding to the second media segment within the defined editing track. Taking the sticker track 240 as an example, the electronic device 110 can create effect segments 242 and 244 with sticker material. Effect segment 242 can be defined in the first media segment 232, allowing the corresponding sticker material to be added to the cover image of the live photo. Effect segment 244 can correspond to the second media segment 234, allowing the corresponding sticker material to be added to multiple image frames of the live photo.

[0043] In some embodiments, if the type of the editing operation corresponds to a first set of preset types, then the first effect segment and the second effect segment can correspond to the same effect. For example, if the editing operation corresponds to a sticker addition operation, a filter application operation, etc., then the two effect segments in the sticker track 240 can correspond to the same sticker material, or the two effect segments 252 and 254 in the filter track 250 can correspond to the same filter material.

[0044] In some embodiments, if the type of the editing operation corresponds to a second set of preset types, the first effect segment and the second effect segment may also correspond to different effects.

[0045] like Figure 2B As shown, the multi-track editor 200B may also include a motion effects track 260, for example. For instance, if an editing operation instructs the application of motion effects resource 280 to a live photograph, the electronic device 110 can create a static effects segment 262 corresponding to the cover image and motion effects segments 264 corresponding to multiple image frames in the motion effects track 260.

[0046] As an example, static effect segment 262 may correspond to static effect 266, which may be different from dynamic effect 268 corresponding to dynamic effect segment 264. Specifically, electronic device 110 can determine effect resources 270 and 272 from dynamic effect resource 280 to create static effect segment 262 and dynamic effect segment 264 respectively. Thus, the editing result of dynamic effect resource 280 can include two parts: static effect segment 282 and dynamic effect segment 284.

[0047] In this way, the embodiments of this disclosure can utilize a track editor to support editing operations on live photos, thereby increasing editing flexibility and improving editing efficiency.

[0048] In some embodiments, the electronic device 110 can manage the data of live photos based on the identification information of the live photos. For example, each live photo can be associated with a unique identifier, and the electronic device 110 can obtain first data corresponding to the cover image and second data corresponding to multiple image frames based on the identification information of the live photos. Further, the electronic device 110 can create a first media segment and a second media segment corresponding to the live photos in the track editor based on the obtained first and second data, thereby completing the tracking of media content.

[0049] Furthermore, in response to the editing of the first media segment and / or the second media segment, the electronic device 110 can also update the first data of the cover image and / or the second data of multiple image frames based on the identification information.

[0050] In some embodiments, the electronic device 110 may also draw live photos in a relevant interface based on a first media segment or a second media segment created in the track editor 200B. Such an interface may include, but is not limited to, the editing interface 200A.

[0051] Specifically, the electronic device 110 can determine the display state of the live photograph on the corresponding interface, wherein the display state indicates whether the target interface displays a cover image or multiple image frames. Accordingly, the electronic device 110 can use a first media segment or a second media segment corresponding to the display state to draw the live photograph on the target interface.

[0052] In some other embodiments, the electronic device 110 may also utilize two different views to display the cover image and multiple image frames respectively. For example, the first view may correspond to the cover image, and the second view may correspond to the multiple image frames.

[0053] In this way, the view corresponding to the cover image can load quickly, reducing initial loading time. Conversely, multiple image frames can be preloaded in the background. In this way, embodiments of this disclosure can improve the preview performance of live photos. In some embodiments, the first and second views are also associated with a preset view switching animation. Thus, utilizing the split view, embodiments of this disclosure can achieve smoother transitions in the switching animation, providing a more fluid transition effect and reducing stuttering. Furthermore, embodiments of this disclosure can also support custom transition animations, enhancing the interactive experience.

[0054] Example process

[0055] Figure 3 A flowchart of an example information interaction process 300 according to some embodiments of the present disclosure is shown. Process 300 can be implemented at electronic device 110. Reference is made below. Figure 1 Describe the process 300.

[0056] like Figure 3 As shown, in box 310, electronic device 110 receives an editing request associated with a live photograph.

[0057] In box 320, in response to an editing request, electronic device 110 creates a first media segment and a second media segment in the track editor that correspond to the live photo. The first media segment corresponds to the cover image of the live photo, and the second media segment corresponds to multiple images of the live photo.

[0058] In box 330, in response to receiving an editing operation with the live photo, the electronic device 110 edits the first media segment and / or the second media segment using a track editor to generate the edited result of the live photo.

[0059] In some embodiments, the first media segment has a preset first time length, and the second media segment corresponds to a second time length of a plurality of image frames.

[0060] In some embodiments, process 300 further includes: in response to receiving an editing operation, determining from a track editor an editing track corresponding to the target type of the editing operation; and creating in the editing track a first effect segment corresponding to a first media segment and / or a second effect segment corresponding to a second media segment.

[0061] In some embodiments, creating a first effect segment corresponding to a first media segment and / or a second effect segment corresponding to a second media segment in an editing track includes: in response to a target type matching a first set of preset types, creating a first effect segment and a second effect segment corresponding to the same effect in an editing track; or in response to a target type matching a second set of preset types, creating a first effect segment corresponding to a first effect and a second effect segment corresponding to a second effect in an editing track, wherein the first effect is different from the second effect.

[0062] In some embodiments, creating a first media segment and a second media segment corresponding to a live photo in a track editor includes: obtaining first data corresponding to a cover image and second data corresponding to multiple image frames based on the identification information of the live photo; and creating a first media segment and a second media segment corresponding to the live photo in a track editor based on the first data and the second data.

[0063] In some embodiments, process 300 further includes: in response to the editing of the first media segment and / or the second media segment, updating the first data and / or the second data based on the identification information.

[0064] In some embodiments, process 300 further includes: drawing a live photograph of the target interface using a first media segment or a second media segment.

[0065] In some embodiments, drawing a live photo in a target interface using a first media segment or a second media segment includes: determining the display state of the live photo in the target interface, the display state indicating that the target interface presents a cover image or multiple image frames; and drawing the live photo in the target interface using a media segment corresponding to the display state.

[0066] In some embodiments, the target interface includes a first view corresponding to the cover image and a second view corresponding to a plurality of image frames.

[0067] In some embodiments, the first view and the second view are also associated with a preset view switching animation.

[0068] Example devices and equipment

[0069] Embodiments of this disclosure also provide corresponding apparatus for implementing the above methods or processes. Figure 4 A schematic structural block diagram of an example device 400 for media editing according to certain embodiments of the present disclosure is shown. Device 400 may be implemented as or included in electronic device 110. Various modules / components in device 400 may be implemented by hardware, software, firmware, or any combination thereof.

[0070] like Figure 4 As shown, the apparatus 400 includes: a receiving module 410 configured to receive an editing request associated with a live photo; a creation module 420 configured to, in response to the editing request, create a first media segment and a second media segment corresponding to the live photo in a track editor, the first media segment corresponding to a cover image of the live photo and the second media segment corresponding to multiple images of the live photo; and an editing module 430 configured to, in response to receiving an editing operation associated with the live photo, edit the first media segment and / or the second media segment using the track editor to generate an edited result of the live photo.

[0071] In some embodiments, the first media segment has a preset first time length, and the second media segment corresponds to a second time length of a plurality of image frames.

[0072] In some embodiments, the apparatus 400 further includes an effects creation module configured to, in response to receiving an editing operation, determine from a track editor an editing track corresponding to the target type of the editing operation; and create in the editing track a first effects segment corresponding to a first media segment and / or a second effects segment corresponding to a second media segment.

[0073] In some embodiments, the effect creation module is further configured to: in response to a target type matching a first set of preset types, create a first effect segment and a second effect segment in the editing track corresponding to the same effect; or in response to a target type matching a second set of preset types, create a first effect segment corresponding to the first effect and a second effect segment corresponding to the second effect in the editing track, wherein the first effect is different from the second effect.

[0074] In some embodiments, the creation module 420 is further configured to: obtain first data corresponding to the cover image and second data corresponding to multiple image frames based on the identification information of the live photo; and create a first media segment and a second media segment corresponding to the live photo in the track editor based on the first data and the second data.

[0075] In some embodiments, the device 400 further includes an update module configured to update the first data and / or the second data based on identification information in response to the editing of the first media segment and / or the second media segment.

[0076] In some embodiments, the device 400 further includes a drawing module configured to draw a live photograph of the target interface using a first media segment or a second media segment.

[0077] In some embodiments, the drawing module is further configured to determine the display state of the live photo in the target interface, the display state indicating that the target interface presents a cover image or multiple image frames; and to draw the live photo in the target interface using media segments corresponding to the display state.

[0078] In some embodiments, the target interface includes a first view corresponding to the cover image and a second view corresponding to a plurality of image frames.

[0079] In some embodiments, the first view and the second view are also associated with a preset view switching animation.

[0080] The modules included in 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 device 400 can be implemented at least partially by one or more hardware logic components. By way of 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), system-on-a-chip (SoCs), complex programmable logic devices (CPLDs), and so on.

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

[0082] Electronic device 500 typically includes multiple computer storage media. Such media can be any accessible media that is accessible to electronic device 500, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 520 can be volatile memory (e.g., registers, cache, random access memory (RAM)), non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. Storage device 530 can be removable or non-removable media and can include machine-readable media, such as flash drives, disks, or any other media that can be used to store information and / or data and can be accessed within electronic device 500.

[0083] Electronic device 500 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not explicitly stated... Figure 5 As shown, disk drives for reading from or writing to removable, non-volatile disks (e.g., "floppy disks") and optical disk drives for reading from or writing to removable, non-volatile optical disks can be provided. In these cases, each drive can be connected to a bus (not shown) via one or more data media interfaces. Memory 520 may include computer program product 525 having one or more program modules configured to perform various methods or actions of various embodiments of this disclosure.

[0084] Communication unit 540 enables communication with other electronic devices via a communication medium. Additionally, the functionality of components of electronic device 500 can be implemented using a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, electronic device 500 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.

[0085] Input device 550 can be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 560 can be one or more output devices, such as a monitor, speaker, printer, etc. Electronic device 500 can also communicate with one or more external devices (not shown) via communication unit 540 as needed. These external devices include storage devices, display devices, etc., and can communicate with one or more devices that enable user interaction with electronic device 500, or with any device that enables electronic device 500 to communicate with one or more other electronic devices (e.g., network card, modem, etc.). Such communication can be performed via input / output (I / O) interface (not shown).

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

[0087] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.

[0088] 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 apparatus to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.

[0089] Computer-readable program instructions can 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, thereby causing the instructions that execute on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.

[0090] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0091] Various implementations of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is chosen to best explain the principles, practical applications, or improvements to technology in the market, or to enable others skilled in the art to understand the various implementations disclosed herein.

Claims

1. A method for media editing, comprising: Receive edit requests associated with live photos; In response to the editing request, a first media segment and a second media segment corresponding to the live photo are created in the track editor. The first media segment corresponds to the cover image of the live photo, and the second media segment corresponds to multiple images of the live photo. as well as In response to receiving an editing operation related to the live photo, the first media segment and / or the second media segment are edited using the track editor to generate the edited result of the live photo.

2. The method according to claim 1, wherein the first media segment has a preset first time length, and the second media segment corresponds to a second time length of the plurality of image frames.

3. The method according to claim 1, further comprising: In response to receiving the edit operation, the edit track corresponding to the target type of the edit operation is determined from the track editor; as well as 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.

4. The method of claim 3, wherein 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 comprises: In response to the target type matching a first set of preset types, a first effect segment and a second effect segment corresponding to the same effect are created in the editing track; or In response to the target type matching a second set of preset types, a first effect segment corresponding to the first effect and a second effect segment corresponding to the second effect are created in the editing track, wherein the first effect is different from the second effect.

5. The method according to claim 1, wherein creating a first media segment and a second media segment corresponding to the live photo in the track editor comprises: Based on the identification information of the live photo, obtain the first data corresponding to the cover image and the second data corresponding to the multiple image frames; as well as Based on the first data and the second data, create the first media segment and the second media segment corresponding to the live photo in the track editor.

6. The method according to claim 5, further comprising: In response to the editing of the first media segment and / or the second media segment, the first data and / or the second data are updated based on the identification information.

7. The method according to claim 1, further comprising: The live photo in the target interface is drawn using the first media segment or the second media segment.

8. The method of claim 7, wherein drawing the live photo in the target interface using the first media segment or the second media segment comprises: Determine the display status of the live photo on the target interface, and the display status instructs the target interface to present the cover image or the multiple image frames; as well as Using media segments corresponding to the displayed state, the live photo in the target interface is drawn.

9. The method according to claim 8, wherein the target interface includes a first view corresponding to the cover image and a second view corresponding to the plurality of image frames.

10. The method of claim 9, wherein the first view and the second view are further associated with a preset view switching animation.

11. An apparatus for media editing, comprising: The receiving module is configured to receive editing requests associated with live photos; A creation module is configured to, in response to the editing request, create a first media segment and a second media segment in the track editor corresponding to the live photo, wherein the first media segment corresponds to the cover image of the live photo and the second media segment corresponds to multiple images of the live photo; as well as The editing module is configured to, in response to receiving an editing operation related to the live photo, edit the first media segment and / or the second media segment using the track editor to generate an edited result of the live photo.

12. An electronic device, comprising: At least one processing unit; as well as 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 causing the electronic device to perform the method according to any one of claims 1 to 10 when executed by the at least one processing unit.

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