Media editing method and apparatus, device, storage medium, and program product
By playing multiple image frames in the live photo editing interface and displaying the editing result of the cover image at the end of the operation, the problem of low efficiency in live photo editing in traditional solutions is solved, and an efficient user interaction and editing experience is achieved.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- BEIJING ZITIAO NETWORK TECH CO LTD
- Filing Date
- 2025-11-21
- Publication Date
- 2026-05-28
Smart Images

Figure CN2025136844_28052026_PF_FP_ABST
Abstract
Description
Methods, apparatus, equipment, storage media and program products for media editing
[0001] This application claims priority to Chinese Patent Application No. 202411691501.9, filed on November 22, 2024, entitled "Method, Apparatus, Device and Storage Medium for Media Editing", the entire contents of which are incorporated herein by reference. Technical Field
[0002] The exemplary embodiments disclosed herein relate generally to the field of computers, and more particularly to methods, apparatus, devices, computer-readable storage media, and computer program products for media editing. Background Technology
[0003] 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
[0004] In a first aspect of this disclosure, a method for media editing is provided. The method includes: displaying an editing interface for a live photograph, the editing interface including a preview area that presents a cover editing result of a cover image of the live photograph; in response to receiving a first operation associated with the preview area, playing multiple image frames of the live photograph to display the editing results of the multiple image frames; and in response to the end of the first operation or the completion of playback of the multiple image frames, displaying the cover editing result of the cover image of the live photograph in the preview area.
[0005] In a second aspect of this disclosure, an apparatus for media editing is provided. The apparatus includes: a display module configured to display an editing interface of a live photograph, the editing interface including a preview area displaying a cover editing result of a cover image of the live photograph; a playback module configured to play multiple image frames of the live photograph in response to receiving a first operation associated with the preview area, to display the editing result of the multiple image frames; and a switching module configured to display the cover editing result of the cover image of the live photograph in the preview area in response to the end of the first operation or the completion of playback of the multiple image frames.
[0006] In a third aspect of this disclosure, an electronic device is provided. The device includes at least one processor; and at least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor. When executed by the at least one processor, the instructions cause the device to perform the method of the first aspect.
[0007] In a fourth aspect of this disclosure, a computer-readable storage medium is provided. The computer-readable storage medium stores computer-executable instructions that can be executed by a processor to implement the method of the first aspect.
[0008] In a fifth aspect of this disclosure, a computer program product is provided, comprising a computer program executable by a processor to implement the method of the first aspect.
[0009] 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
[0010] 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:
[0011] Figure 1 shows a schematic diagram of an example environment in which embodiments of the present disclosure may be implemented;
[0012] Figures 2A to 2H illustrate example interfaces according to some embodiments of the present disclosure;
[0013] Figure 3 illustrates a flowchart of an example process for media editing according to some embodiments of the present disclosure;
[0014] Figure 4 shows a schematic structural block diagram of an example device for media editing according to some embodiments of the present disclosure; and
[0015] Figure 5 shows a block diagram of an electronic device capable of implementing several embodiments of the present disclosure. Detailed Implementation
[0016] 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.
[0017] 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.
[0018] 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.
[0019] 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.
[0020] 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.
[0021] 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.
[0022] Embodiments of this disclosure propose a media editing scheme. According to this scheme, an editing interface for a live photo can be displayed. The editing interface includes a preview area that displays 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 playback of the multiple image frames, the cover editing result of the cover image of the live photo can be displayed in the preview area.
[0023] In this way, embodiments of the present disclosure provide the ability to edit live photos and support playing live photos in a preview area to view the editing results of the cover image and multiple image frames. In this way, embodiments of the present disclosure can provide live photo editing efficiency.
[0024] The following section provides a detailed description of various example implementations of this scheme, with reference to the accompanying drawings.
[0025] Example Environment
[0026] Figure 1 illustrates a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. As shown in Figure 1, the example environment 100 may include an electronic device 110.
[0027] 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, video applications, media editing applications, or other suitable applications. User 140 can interact with application 120 via electronic device 110 and / or its attached devices.
[0028] In environment 100 of Figure 1, if application 120 is active, electronic device 110 can use application 120 to present interface 150 for supporting interface interaction.
[0029] 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).
[0030] 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.
[0031] 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.
[0032] 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.
[0033] The following description will continue with reference to the accompanying drawings, which will provide some exemplary embodiments of this disclosure.
[0034] Example Interaction
[0035] The following description refers to Figures 2A to 2H to illustrate some example interaction processes according to embodiments of the present disclosure. Figures 2A to 2H show example interfaces 200A to 200H according to some embodiments of the present disclosure, which may be provided, for example, by the electronic device 110 shown in Figure 1.
[0036] As shown in Figure 2A, the electronic device 110 may, for example, present an interface 200A. 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 accordingly display the editing interface 200A as shown in Figure 2A.
[0037] As shown in Figure 2A, the editing interface 200A may include a preview area 210. The preview area 210 may, for example, display the editing result of the live photo 205. In some embodiments, the preview area 210 may initially display the cover editing result of the cover image of the live photo 205. It should be understood that such a cover editing result includes the unedited cover image.
[0038] As shown in Figure 2A, the interface 200A may also include one or more editing components to support editing operations on 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 can display at least a portion of the image frames from multiple video frames of the live photo 205.
[0039] Furthermore, the electronic device 110 can receive endpoint adjustment operations on the track assembly 215 and can adjust the length of the live photo 205 based on the endpoint adjustment operations. Specifically, the electronic device 110 can, for example, receive a rightward shift operation of the left endpoint and / or a leftward shift operation of the right endpoint of the track assembly 215 by the user, and crop the live photo 205 accordingly.
[0040] Furthermore, as shown in FIG2B, the electronic device 110 can also receive a selection of a target image frame 220 from at least a portion of the image frames displayed by the track component 215, and can accordingly present a cover setting entry. Accordingly, the electronic device 110 can receive a user's selection of the cover setting entry, and can set the selected target image frame 220 as the cover image of the live photo 205.
[0041] Additionally, in response to the target image frame 220 being set as the cover image of the live photo, the electronic device 110 can also present a restore option (e.g., "Restore Default Cover") in the interface 200B. Furthermore, the electronic device 110 can receive a selection of the restore option and can restore the initial cover image of the live photo 205. In the event that the cover image is replaced or restored, the preview area 210 can, for example, update the displayed cover image accordingly.
[0042] In some embodiments, the electronic device 110 may also support user editing of the cover image and / or multiple image frames of the live photo 205. As shown in FIG2C, the electronic device 110 may present a set of candidate media resources, such as template resource 225, in the editing interface 200C.
[0043] The following description uses template resource 225 as an example of a media resource to illustrate an example process of editing a live photo 205 using media resources. In some embodiments, such media resources may also include, for example, sticker resources, filter resources, effects resources, etc.
[0044] Furthermore, the electronic device 110 can receive a user's selection of template resource 225 and can apply the target media resource 225 to the cover image and / or multiple image frames of the live photo 205. Further, upon receiving a request to apply template resource 225, the electronic device 110 can apply the effect corresponding to template resource 225 to the cover image and / or multiple image frames of the live photo 205. In some embodiments, the electronic device 110 can apply a first effect indicated by template resource 225 to multiple image frames, and the electronic device 110 can apply a second effect indicated by template resource 225 to the cover image. In some embodiments, the first effect and the second effect can be the same effect.
[0045] In other embodiments, the first effect may also be different from the second effect. For example, template resource 225 may specify a particular effect applied to the cover image and may specify another effect applied to multiple image frames.
[0046] As an example, electronic device 110 can provide media resources specific to a live photo. As shown in FIG2D, electronic device 110 can provide media resources specific to a live photo, such as special effects resources 230. Further, electronic device 110 can receive a selection of special effects resources 230 and can trigger the application of special effects resources 230 to the live photo. In some embodiments, special effects resources 230 can, for example, specify different processing effects for a cover image and multiple image frames respectively.
[0047] Therefore, the embodiments of this disclosure can support the editing of multiple image frames in a live photo, and can support the separate editing of the cover image and multiple image frames, thereby improving the efficiency and flexibility of editing live photos.
[0048] In some embodiments, template resource 225 may also indicate a first transition effect from the cover image to the starting image frame among a plurality of image frames. Alternatively or additionally, template resource 225 may also indicate a second transition effect from the ending image frame among a plurality of image frames to the cover image.
[0049] In this way, embodiments of the present disclosure can also support the editing of live photos 205 in the switching effect between presenting cover image switching and playing image frames.
[0050] In some embodiments, the electronic device 110 can also receive a screen adjustment request via an editing interface. Further, the electronic device 110 can apply at least one adjustment parameter corresponding to the screen adjustment request to the cover image and / or multiple image frames of the live photo 205.
[0051] As shown in Figure 2E, the electronic device 110 can support providing a portrait adjustment component and can receive portrait adjustment requests for live photos. Accordingly, the electronic device 110 can display a parameter configuration control as shown in Figure 2F to support the electronic device 110 in modifying adjustment parameters.
[0052] Additionally, as shown in Figure 2G, the electronic device 110 can also support adding various types of sticker materials to the live photo, such as graphic stickers or text stickers. Accordingly, such sticker materials can be added to multiple image frames of the live photo, for example.
[0053] As mentioned above, the preview area 210 can, for example, display the cover editing result of the cover image. In some embodiments, as shown in FIG2H, the electronic device 110 can also receive a first operation associated with the preview area 210 and can accordingly play multiple image frames of the live photo 205 to display the editing result of the multiple image frames.
[0054] As an example, the first action could include a long press on the preview area 210. For instance, a user could trigger the playback of multiple image frames of the live photo 205 by long-pressing the preview area 210 or the cover image.
[0055] As another example, the first operation could also include triggering an action on a playback control in the preview area. For instance, a user could trigger the playback of multiple image frames of the live photo 205 by clicking the play button in the preview area 210.
[0056] Understandably, upon receiving a display instruction, displaying the editing interface 200, or upon completion of importing the live photo 205, multiple image frames of the live photo 205 are played once by default. After playback, the preview area 210 can automatically switch back to displaying the cover image, for example. If the user wants to play the live photo 205 again, they can do so through, for example, the first operation.
[0057] In some embodiments, the electronic device 110 may also present a progress indicator element 235 in the preview area 210 to indicate the playback progress of multiple image frames.
[0058] Furthermore, in response to the end of the first operation or the completion of playback of multiple image frames, the electronic device 110 can 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 playback of multiple image frames is completed, the preview area 210 can automatically switch back to displaying the cover image.
[0059] In this way, embodiments of the present disclosure can support a consistent interactive experience in the preview area of the editing interface, thereby reducing the user's learning cost and improving editing efficiency.
[0060] In some embodiments, when multiple image frames are updated based on the media resources described above, the preview area 210 may update the editing results of the multiple image frames accordingly, so as to facilitate the user's perception of the effect of the media resources on the multiple image frames.
[0061] In some embodiments of this disclosure, the editing of live photos can also be supported via a track editor. Specifically, the live photos may be associated with a first media segment and a second media segment in the track editor, wherein the first media segment corresponds to the cover image and the second media segment corresponds to multiple image frames.
[0062] As an example, the first media segment may have a preset time length, and the second media segment may correspond to the time length of multiple image frames.
[0063] Furthermore, when an editing operation associated with a live photo is received via the editing interface, the editing track corresponding to the target type of the editing operation can be determined from the track editor. For example, such an editing track may include effects tracks, sticker tracks, and filter tracks.
[0064] 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, embodiments of this disclosure can apply the same or different effects to a cover image and multiple image frames, thereby improving the flexibility of live image editing.
[0065] In this way, embodiments of the present disclosure provide the ability to edit live photos and support playing live photos in a preview area to view the editing results of the cover image and multiple image frames. In this way, embodiments of the present disclosure can provide live photo editing efficiency.
[0066] Example process
[0067] Figure 3 shows a flowchart of an example information interaction process 300 according to some embodiments of the present disclosure. Process 300 can be implemented at electronic device 110. Process 300 is described below with reference to Figure 1.
[0068] As shown in Figure 3, in box 310, the electronic device 110 displays the editing interface of the live photo. The editing interface includes a preview area, which presents the cover editing result of the cover image of the live photo.
[0069] In box 320, electronic device 110, in response to receiving a first operation associated with the preview area, plays multiple image frames of the live photo to display the editing results of the multiple image frames.
[0070] In frame 330, in response to the end of the first operation or the completion of playback of multiple image frames, the electronic device 110 displays the cover editing result of the cover image of the live photo in the preview area.
[0071] In some embodiments, the first operation further includes: a long press operation on the preview area; or a trigger operation on the playback control in the preview area.
[0072] In some embodiments, the editing interface also includes a track component corresponding to a live photo, which displays at least a portion of the image frames from a plurality of video frames.
[0073] In some embodiments, process 300 further includes: receiving an endpoint adjustment operation on the track component; and adjusting the length of the live photo based on the endpoint adjustment operation.
[0074] In some embodiments, process 300 further includes: presenting a cover setting entry in response to the selection of a target image frame in at least a portion of the image frames of the track component; and setting the target image frame as the cover image of the live photograph in response to the selection of the cover setting entry.
[0075] In some embodiments, process 300 further includes: presenting a recovery entry in response to the target image frame being set as the cover image of the live photo; and restoring the initial cover image of the live photo in response to the selection of the recovery entry.
[0076] In some embodiments, process 300 further includes: presenting a set of candidate media resources in an editing interface; and applying the target media resource to multiple image frames in response to the selection of a target media resource from the set of candidate media resources.
[0077] In some embodiments, applying a target media resource to a plurality of image frames includes: 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 a cover image.
[0078] In some embodiments, the target media resource also indicates at least one of the following: a first transition effect from the cover image to the starting image frame among a plurality of image frames; and a second transition effect from the ending image frame among the plurality of image frames to the cover image.
[0079] In some embodiments, the target media resource includes template resources, sticker resources, or filter resources.
[0080] In some embodiments, process 300 further includes: updating the editing results of the multiple image frames in response to the target media resource being applied to multiple image frames.
[0081] In some embodiments, process 300 further includes: receiving a screen adjustment request via an editing interface; and applying at least one adjustment parameter corresponding to the screen adjustment request to multiple image frames.
[0082] In some embodiments, process 300 further includes: in response to the playback of multiple image frames of a live photo, presenting a progress indicator element in a preview area to indicate the playback progress of the multiple image frames.
[0083] In some embodiments, the live photo is associated with a first media segment and a second media segment in the track editor, the first media segment corresponding to the cover image and the second media segment corresponding to multiple image frames.
[0084] In some embodiments, process 300 further includes: receiving an editing operation associated with a live photo via an editing interface; determining an editing track from a track editor that corresponds to the target type of the editing operation; and creating a first effect segment corresponding to a first media segment and / or a second effect segment corresponding to a second media segment in the editing track.
[0085] Example devices and equipment
[0086] Embodiments of this disclosure also provide corresponding apparatus for implementing the methods or processes described above. Figure 4 shows a schematic structural block diagram of an example apparatus 400 for media editing according to certain embodiments of this disclosure. Apparatus 400 may be implemented as or included in electronic device 110. The various modules / components in apparatus 400 may be implemented by hardware, software, firmware, or any combination thereof.
[0087] As shown in Figure 4, the device 400 includes a display module 410 configured to display an editing interface for a live photo, the editing interface including a preview area that displays the cover editing result of the cover image of the live photo; a playback module 420 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 result of the multiple image frames; and a switching module 430 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 playback of the multiple image frames.
[0088] In some embodiments, the first operation further includes: a long press operation on the preview area; or a trigger operation on the playback control in the preview area.
[0089] In some embodiments, the editing interface also includes a track component corresponding to a live photo, which displays at least a portion of the image frames from a plurality of video frames.
[0090] In some embodiments, the device 400 further includes an adjustment module configured to: receive an endpoint adjustment operation on the track component; and adjust the length of the live photograph based on the endpoint adjustment operation.
[0091] In some embodiments, the apparatus 400 further includes a setting module configured to: present a cover setting entry in response to the selection of a target image frame in at least a portion of the image frames of the track component; and set the target image frame as the cover image of the live photograph in response to the selection of the cover setting entry.
[0092] In some embodiments, the apparatus 400 further includes a recovery module configured to: present a recovery entry in response to a target image frame being set as the cover image of a live photo; and restore the initial cover image of the live photo in response to a selection of the recovery entry.
[0093] In some embodiments, the apparatus 400 further includes a first application module configured to: present a set of candidate media resources in an editing interface; and apply the target media resource to multiple image frames in response to the selection of a target media resource from the set of candidate media resources.
[0094] In some embodiments, applying a target media resource to a plurality of image frames includes: 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 a cover image.
[0095] In some embodiments, the target media resource also indicates at least one of the following: a first transition effect from the cover image to the starting image frame among a plurality of image frames; and a second transition effect from the ending image frame among the plurality of image frames to the cover image.
[0096] In some embodiments, the target media resource includes template resources, sticker resources, or filter resources.
[0097] In some embodiments, the apparatus 400 further includes an update module configured to update the editing results of multiple image frames in response to a target media resource being applied to multiple image frames.
[0098] In some embodiments, the device 400 further includes a second application module configured to: receive a screen adjustment request via an editing interface; and apply at least one adjustment parameter corresponding to the screen adjustment request to multiple image frames.
[0099] In some embodiments, the device 400 further includes a progress display module configured to: in response to the playback of multiple image frames of a live photo, present a progress indicator element in a preview area to indicate the playback progress of the multiple image frames.
[0100] In some embodiments, the live photo is associated with a first media segment and a second media segment in the track editor, the first media segment corresponding to the cover image and the second media segment corresponding to multiple image frames.
[0101] In some embodiments, process 300 further includes an editing module configured to: receive an editing operation associated with a live photo via an editing interface; determine an editing track from a track editor corresponding to the target type of the editing operation; and create a first effect segment corresponding to a first media segment and / or a second effect segment corresponding to a second media segment in the editing track.
[0102] 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.
[0103] As shown in Figure 5, the electronic device 500 is in the form of a general-purpose electronic device. Components of the electronic device 500 may include, but are not limited to, one or more processors 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. The processor 510 may be a physical or virtual processor and is capable of performing various processes according to the program stored in memory 520. In a multiprocessor system, multiple processors execute computer-executable instructions in parallel to improve the parallel processing capability of the electronic device 500.
[0104] 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.
[0105] Electronic device 500 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in FIG. 5, 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 may be provided. In these cases, each drive may 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 the present disclosure.
[0106] 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.
[0107] 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).
[0108] 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.
[0109] 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.
[0110] 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.
[0111] 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.
[0112] 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.
[0113] 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: The editing interface for displaying live photos includes a preview area that presents the cover editing result of the cover image of the live photo. In response to receiving a first operation associated with the preview area, multiple image frames of the live photo are played to display the editing results of the multiple image frames; as well as In response to the end of the first operation or the completion of playback of the plurality of image frames, 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 the preview area; or Triggering operation on the playback control in the preview area.
3. The method according to claim 1 or 2, wherein the editing interface further includes a track component corresponding to the live photo, the track component displaying at least a portion of the image frames from the plurality of video frames.
4. The method according to claim 3, further comprising: Receive endpoint adjustment operations for the track assembly; as well as The length of the live photo is adjusted based on the endpoint adjustment operation.
5. The method according to claim 3, further comprising: In response to the selection of a target image frame from at least a portion of the image frames of the track component, a cover setting entry is presented; as well as In response to the selection of the cover setting entry, the target image frame is set as the 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, a recovery entry is presented; as well as In response to the selection of the recovery entry, the initial cover image of the live photo is restored.
7. The method according to any one of claims 1 to 6, further comprising: A set of candidate media resources is presented in the editing interface; as well as In response to the selection of a target media resource from the set of candidate media resources, the target media resource 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: The first effect indicated by the target media resource is applied to the plurality of image frames, and the second effect indicated by the target media resource is applied to the cover image.
9. The method of claim 7, wherein the target media resource further indicates at least one of the following: A first transition effect from the cover image to the starting image frame among the plurality of image frames; The second transition effect from the end image frame in the plurality of image frames to the cover image.
10. The method of claim 7, wherein the target media resource includes template resources, sticker resources, or filter resources.
11. The method of claim 7, further comprising: In response to the target media resource being applied to the plurality of image frames, the editing results of the plurality of image frames are updated.
12. The method according to any one of claims 1 to 11, further comprising: Receive screen adjustment requests via the editing interface; as well as At least one adjustment parameter corresponding to the image adjustment request is applied to the plurality of image frames.
13. The method according to any one of claims 1 to 12, further comprising: In response to the playback of the plurality of image frames of the live photo, a progress indicator element is presented in the preview area to indicate the playback progress of the plurality of image frames.
14. The method according to any one of claims 1 to 13, 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 of claim 14, further comprising: The editing interface allows users to receive editing operations associated with the live photo. From the track editor, determine the edit track corresponding to the target type of the edit operation; 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.
16. An apparatus for media editing, comprising: The display module is configured to display an editing interface for live photos, the editing interface including a preview area that presents the cover editing result of the cover image of the live photo; The playback module is configured to play multiple 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 multiple 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 end of the first operation or the completion of playback of the plurality of image frames.
17. An electronic device comprising: At least one processor; as well as At least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor, 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 processor.
18. A computer-readable storage medium having stored thereon computer-executable instructions, wherein the computer program, when executed by a processor, implements the method according to any one of claims 1 to 15.
19. A computer program product comprising a computer program, wherein the computer program, when executed by a processor, implements the method according to any one of claims 1 to 15.