Media editing method and apparatus, device, and storage medium

By allowing multiple editing tasks to be created and managed simultaneously in the media editing tool and displaying the task progress, the problem of editing operations in the existing technology needs to be executed serially, improving editing efficiency and user experience.

WO2025161696A1PCT designated stage Publication Date: 2025-08-07BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/137858
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-01-31
Filing Date
2024-12-09
Publication Date
2025-08-07

AI Technical Summary

Technical Problem

Existing media editing tools are inefficient when performing multiple editing operations and need to wait for the previous editing task to complete before subsequent operations are initiated.

Method used

It allows multiple editing tasks to be created and managed at the same time, and displays task progress through the task panel, supports users to initiate editing requests asynchronously, and uses the task management system for unified management and priority configuration.

Benefits of technology

Improve the efficiency of media editing, and users can handle multiple editing tasks at the same time without waiting for the previous task to complete, enhancing users' perception and management capabilities of task status.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024137858_07082025_PF_FP_ABST
    Figure CN2024137858_07082025_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure relate to a media editing method and apparatus, a device, and a storage medium. The method provided by the present disclosure comprises: in response to a first editing operation triggered for a first media material, creating a first editing task corresponding to the first editing operation, and adding the first editing task into a task list; in the case that the first editing task is not completed, in response to a second editing operation triggered for a second media material, creating a second editing task corresponding to the second editing operation, and adding the second editing task into the task list; and displaying a task panel on the basis of a received preset operation, the task panel being used for displaying task information, and the task information indicating the execution progress of a plurality of editing tasks in the task list. In this way, the embodiments of the present disclosure can support a user to create a plurality of editing tasks related to a plurality of media materials at the same time, and the user can conveniently perceive the states of the plurality of editing tasks, thereby improving the media editing efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Media editing method, device, equipment and storage medium

[0001] This application claims priority to the Chinese invention patent application entitled “Method, apparatus, device and storage medium for media editing” and application number 202410140962.0, filed on January 31, 2024. The entire contents of that application are incorporated herein by reference. Technical Field

[0002] 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

[0003] Media editing tools can help people perform various types of editing operations on media files. Taking video editing as an example, media editing tools can support users to perform various types of editing on video files, such as anti-shake, denoising, etc.

[0004] Generally speaking, editing of media content involves the execution of multiple operations. How to effectively manage and execute such editing operations will affect the efficiency of media editing. Summary of the Invention

[0005] In a first aspect of the present disclosure, a method for media editing is provided. The method includes: in response to a first editing operation triggered on a first media material, creating a first editing task corresponding to the first editing operation and adding the first editing task to a task list; in response to a second editing operation triggered on a second media material, if the first editing task has not been completed, creating a second editing task corresponding to the second editing operation and adding the second editing task to the task list; and based on a received preset operation, displaying a task panel for displaying task information, the task information indicating the execution progress of multiple editing tasks in the task list, the multiple editing tasks including the first editing task and the second editing task.

[0006] In a second aspect of the present disclosure, a device for media editing is provided. The device includes: a first creation module configured to, in response to a first editing operation triggered on a first media material, create a first editing task corresponding to the first editing operation and add the first editing task to a task list; a second creation module configured to, in response to a second editing operation triggered on a second media material, create a second editing task corresponding to the second editing operation and add the second editing task to the task list if the first editing task has not been completed; and a panel display module configured to, based on a received preset operation, display a task panel for displaying task information, the task panel indicating the execution progress of multiple editing tasks in the task list, the multiple editing tasks including the first editing task and the second editing task.

[0007] 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 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.

[0008] 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.

[0009] It should be understood that the content described in this summary section is not intended to limit the key features or important features of the embodiments of the present disclosure, nor is it 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

[0010] 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:

[0011] FIG1 shows a schematic diagram of an example environment in which embodiments according to the present disclosure may be implemented;

[0012] FIG2 illustrates a flow chart of an example management editing task process according to some embodiments of the present disclosure;

[0013] 3A to 3C illustrate example interfaces according to some embodiments of the present disclosure;

[0014] 4A to 4D illustrate example interfaces according to some embodiments of the present disclosure;

[0015] FIG5 shows a schematic diagram of a task management system according to some embodiments of the present disclosure;

[0016] FIG6 shows a schematic structural block diagram of an example apparatus for media editing according to some embodiments of the present disclosure; and

[0017] FIG7 shows a block diagram of an electronic device capable of implementing various embodiments of the present disclosure. DETAILED DESCRIPTION

[0018] The following describes embodiments of the present disclosure in more detail 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 limited to the embodiments described herein. Rather, 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 for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.

[0019] It should be noted that the titles of any section / subsection provided herein are not limiting. Various embodiments are described throughout this document, and any type of embodiment may be included under any section / subsection. Furthermore, 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 in different sections / subsections.

[0020] 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.

[0021] The embodiments of the present disclosure may involve user data, data acquisition and / or use, etc. These aspects shall comply with 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 is aware of and confirms them. Accordingly, when implementing the various embodiments of the present disclosure, the types, scope of use, and usage scenarios 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 may vary according to the actual situation and application scenario, and the scope of the present disclosure is not limited in this respect.

[0022] If this specification and the solutions in the examples involve the processing of personal information, such processing will be done only with a legitimate basis (such as with the consent of the subject of personal information or as necessary for the performance of a contract) and only within the prescribed or agreed scope. A user's refusal to process personal information other than that required for basic functions will not affect the user's use of basic functions.

[0023] As briefly mentioned above, editing media content involves executing multiple editing operations. Some traditional media editing solutions only support executing these multiple editing operations serially. This requires users to wait for the previous editing task to complete before initiating subsequent editing operations, which greatly affects editing efficiency.

[0024] Embodiments of the present disclosure provide a solution for media editing. According to this solution, in response to a first editing operation triggered on a first media material, a first editing task corresponding to the first editing operation can be created and added to a task list. Furthermore, in response to a second editing operation triggered on a second media material, if the first editing task has not yet been completed, a second editing task corresponding to the second editing operation can be created and added to a task list.

[0025] Furthermore, based on the received preset operation, a task panel may be displayed, where the task panel is used to display task information, where the task information indicates the execution progress of multiple editing tasks in the task list, where the multiple editing tasks include a first editing task and a second editing task.

[0026] In this way, the embodiments of the present disclosure can support users in creating multiple editing tasks for multiple media materials at the same time, and facilitate users to perceive the status of multiple editing tasks, thereby improving the efficiency of media editing.

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

[0028] Sample Environment

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

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

[0031] In the environment 100 of FIG. 1 , if the application 120 is in an active state, the electronic device 110 may present an interface 150 for supporting interface interaction through the application 120 .

[0032] In some embodiments, the electronic device 110 communicates with the server 130 to enable the provision of 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 broadcast receiver, an e-book device, a gaming device or any combination thereof, 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.).

[0033] The server 130 may be a standalone physical server, a server cluster or distributed system consisting 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. For example, the server 130 may include a computing system / server such as a mainframe, an edge computing node, a computing device in a cloud environment, and the like. The server 130 may provide background services for the application 120 that supports virtual scenes in the electronic device 110.

[0034] A communication connection may be established between the server 130 and the electronic device 110. The communication connection may be established in a wired or 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.

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

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

[0037] Example Process

[0038] 2 shows a flow chart of an example process 200 for media editing according to some embodiments of the present disclosure. Process 200 may be implemented at electronic device 110. Process 200 is described below with reference to FIG1.

[0039] As shown in FIG. 2 , in block 210 , in response to a first editing operation triggered on a first media material, the electronic device 110 creates a first editing task corresponding to the first editing operation and adds the first editing task to a task list.

[0040] The following describes process 200 with reference to Figures 3A to 3C and Figures 4A to 4D. Figures 3A to 3C illustrate example media editing interfaces 300A to 300C according to some embodiments of the present disclosure, and Figures 4A to 4D illustrate example media editing interfaces 400A to 400D according to some embodiments of the present disclosure. Interfaces 300A to 300C and 400A to 400D may be provided by electronic device 110 shown in Figure 1.

[0041] As shown in Figure 3A, interface 300A may correspond to an editing interface for media content 305. As an example, such media content 305 may include image content or video content. For example, electronic device 110 may receive a user's request to edit a certain media segment in the video content.

[0042] As shown in the figure, the electronic device 110 can provide editing portals corresponding to various types of editing operations in the interface 300A. For example, taking the editing operation of "keying" as an example, the electronic device 110 can receive the user's selection of the portal 310 to receive the user's first editing operation triggered on the media content 305 or the first media material in the media content 305 (for example, the first segment of the video) to execute the editing request of "keying".

[0043] In some embodiments, the electronic device 110 may create a first editing task corresponding to the first editing operation and add the first editing task to the task list. The process of creating and adding editing tasks will be described in detail below.

[0044] In some embodiments, as shown in Figure 3B, after receiving the first editing task being added to the task list, the electronic device 110 can display addition information 315 in the interface 300B to indicate that the first editing task corresponding to the editing request (for example, the "cutout" task) has been added to the task list.

[0045] Additionally, the electronic device 110 may further display a cancel control for canceling the first editing task in association with the added information 315. As an example, after receiving a trigger for the cancel control, the electronic device 110 may delete the first editing task from the task list.

[0046] 3C , after not receiving a trigger for the cancel control within a preset period, the electronic device 110 may display a status element 320 in the interface 300C. The status element 320 may be used to indicate the processing status of a group of editing tasks to be completed.

[0047] 3C as an example, when only the "keying" editing task is currently to be processed, the electronic device 110 can use the status element 320 to display the number of editing tasks in the group and the processing progress of the editing tasks. For example, the electronic device 110 can use a progress bar to represent the overall processing progress of the editing tasks.

[0048] In some embodiments, the electronic device 110 may, for example, utilize a unified display component to display the added information 315 and the status element 320. As an example, upon receiving a new edit request, the electronic device 110 may, for example, stop displaying the status element 320 and correspondingly present the added information 315 corresponding to the new edit request, and after a predetermined period of time, display the updated status element 320.

[0049] 2 , in block 220 , the electronic device 110 creates a second editing task corresponding to the second editing operation and adds the second editing task to the task list in response to a second editing operation triggered on a second media material when the first editing task is not completed.

[0050] In some embodiments, the electronic device 110 may receive multiple editing requests initiated by the user at the same time and may create multiple editing tasks accordingly.

[0051] As an example, when the first editing task is waiting to be executed or is being executed, the electronic device 110 may create a second editing task for the second media material based on a second editing operation triggered by the user for the second media material.

[0052] In some embodiments, the first media material and the second media material may be the same media material, for example, the same video clip. That is, the electronic device 110 may support the user initiating a new editing request for a specific media material and creating and adding a new editing task when an existing editing task for the specific media material is not completed.

[0053] In some embodiments, the first media material and the second media material may be different media materials. That is, the electronic device 110 may support the user to initiate a new editing request for another media material and create and add a new editing task when an existing editing task for a specific media material is not completed.

[0054] In some embodiments, the electronic device 110 may update the status elements displayed in the interface accordingly based on the processing status of the multiple editing tasks added to the task list.

[0055] Continuing to refer to Figure 4A, as an example, when the electronic device 110 currently has multiple pending editing tasks, the electronic device 110 can use the status element 405 to represent the processing status of the multiple pending editing tasks. For example, the number of pending editing tasks is 10, and the processing progress of these 10 editing tasks can be represented by a progress bar.

[0056] Continuing to refer to Figure 2, in box 230, the electronic device 110 displays a task panel based on the received preset operation, where the task panel is used to display task information, where the task information indicates the execution progress of multiple editing tasks in the task list, where the multiple editing tasks include a first editing task and a second editing task.

[0057] In some embodiments, electronic device 110 may receive a user's selection of status element 405 and may accordingly present a task panel 410 as shown in FIG4B . As shown in FIG4B , task panel 410 may present task information of multiple editing tasks to be completed to indicate the execution progress of multiple editing tasks.

[0058] As shown, for example, 10 editing tasks are currently in a pending state, including editing tasks 415-1 to 415-6 (individually or collectively referred to as editing tasks 415). The electronic device 110 can also display other editing tasks based on a sliding operation in the task panel 410.

[0059] 4B , the electronic device 110 may display multiple description items corresponding to multiple editing tasks. For example, a row of information in the task panel 410 may correspond to one description item.

[0060] As shown in FIG4B , taking editing task 415 - 1 as an example, its corresponding description item may include, for example, an identifier corresponding to the editing task 415 - 1 (e.g., “intelligent cutout”). Additionally, the description item may also include the processing progress of the editing task 415 - 1 (e.g., “40%”).

[0061] In some embodiments, the electronic device 110 may update such description items according to a preset period, for example, to present the real-time processing status of the group of editing tasks 415 through the task panel 410 .

[0062] 4B , the electronic device 110 may also provide one or more controls associated with the description item to control the execution of the corresponding editing task. For example, the electronic device 110 may provide a stop execution control associated with each description item to cancel the corresponding editing task.

[0063] 4C , when the editing task 415 - 3 is completed, the electronic device 110 may update the description item corresponding to the editing task 415 - 3 to indicate that the editing task 415 - 3 is completed. For example, the electronic device 110 may display a corresponding icon to indicate that the editing task is completed.

[0064] In some embodiments, the electronic device 110 may stop displaying the description item corresponding to the editing task 415 - 3 in the task panel 410 after the editing task 415 - 3 is completed for a predetermined period of time.

[0065] In some embodiments, the electronic device 110 may also synchronously update the status element 405 to, for example, update the number of pending editing tasks and the processing progress.

[0066] In some embodiments, some editing tasks may fail to execute. For example, as shown in FIG4D , editing task 415 - 3 may fail to execute. Accordingly, electronic device 110 may update the description item corresponding to editing task 415 - 3 to indicate that editing task 415 - 3 failed to execute.

[0067] Additionally, the electronic device 110 may provide a re-execution control for triggering re-execution of the editing task 415 - 3 in association with the description item of the editing task 415 - 3 .

[0068] In some embodiments, when the pending editing tasks include an editing task that failed to execute, the electronic device 110 may also update the status element 405. As an example, the electronic device 110 may display an indicator (e.g., a small red dot above the number) to indicate that at least one editing task failed to execute.

[0069] Based on the process described above, embodiments of the present disclosure can indicate the execution status of the currently pending editing task through the status element and / or the task panel 410 , thereby helping to improve media editing efficiency.

[0070] In some embodiments, the electronic device 110 may determine the display order of the multiple description items corresponding to the multiple editing tasks 415 in the task panel 410 .

[0071] In some embodiments, the electronic device 110 may determine the display order of corresponding description items according to the execution status of the plurality of editing tasks 415. Such execution status may include, for example, to be executed, in progress, or failed to execute.

[0072] As an example, the description item corresponding to the editing task that failed to execute has a higher display priority. As another example, the description item corresponding to the task being executed and the editing task to be executed may have a lower display priority.

[0073] In some embodiments, when no editing tasks are executed, the electronic device 110 may further sort the multiple description items based on the creation time of each editing task. For example, description items corresponding to editing tasks with earlier creation times may have higher display priorities.

[0074] Alternatively, the electronic device 110 may further sort the multiple description items based on the execution order of the editing tasks, for example, description items corresponding to editing tasks with a higher execution order may have a higher display priority.

[0075] Based on this approach, the embodiments of the present disclosure can help users obtain the status of editing tasks more efficiently.

[0076] In some embodiments, the size information of the task panel 410 can be adaptively adjusted according to the number of editing tasks to be processed. As an example, when the task panel 410 is triggered to be displayed, the electronic device 110 can determine the size of the task panel, for example, the display height, according to the number of editing tasks currently to be processed.

[0077] Furthermore, when the task panel 410 is kept displayed, the electronic device 110 may maintain the display size of the task panel. For example, using FIG. 4C as an example, after the electronic device 110 stops displaying the description item corresponding to the editing task 415-3, the electronic device 110 will not adjust the height of the task panel 410.

[0078] As mentioned above, the media content may include, for example, video content. Accordingly, the editing task mentioned above may correspond to, for example, a specific media segment in the video content.

[0079] In some embodiments, electronic device 110 may support concurrent creation of multiple editing tasks, independent of whether previous editing tasks have been completed. For example, electronic device 110 may support a user initiating different types of edit requests for the same media segment, thereby creating different editing tasks for the same media segment. As another example, electronic device 110 may also support a user initiating multiple edit requests for different media segments.

[0080] In this way, the embodiments of the present disclosure can support users to initiate editing requests asynchronously without having to pay attention to whether the previous editing request has been completed, thereby improving the efficiency of media editing.

[0081] The above embodiment describes the example process of the present disclosure using status element 320 and status element 405 as examples. In some embodiments, electronic device 110 may also display a task panel based on a user's request to view the task panel, so as to display the status elements of one or more editing tasks to be processed in the task panel. For example, electronic device 110 may not directly display status element 320 and / or status element 405 in the editing interface, but may display the task panel based on a preset operation of the user and use the task panel to display the status elements.

[0082] The specific process of creating and executing an editing task will be further described below with reference to Figure 5. Figure 5 shows a schematic diagram of a task management system 500 according to some embodiments of the present disclosure.

[0083] 5 , the task management system 500 may provide multiple editing functions, such as functions 505 - 1 to 505 -N (individually or collectively referred to as functions 505 ). When a user initiates an editing request, the task management system 500 may determine that the corresponding function 505 is triggered.

[0084] In some embodiments, the task management system 500 can create a task instance of the editing task based on the received editing request.

[0085] Traditionally, the electronic device 110 needs to call an underlying algorithm corresponding to a specific function to perform the corresponding editing operation. However, such an approach will result in each editing operation needing to be performed serially.

[0086] As shown in FIG5 , the task management system 500 may include an algorithm service 510 that provides a unified service interface for different functions 505. Specifically, the algorithm service 510 may, for example, encapsulate the underlying algorithms corresponding to the different functions 505. When creating a corresponding task instance, the algorithm service 510 may utilize the algorithm interface corresponding to the edit request to create a task instance for managing the execution of the corresponding edit task. The task instance may, for example, be recycled upon completion of the corresponding edit task.

[0087] Furthermore, the task management system 500 may add the created task instance to a unified task list (also referred to as a task queue in some scenarios) at 515. Traditionally, different task lists need to be created for different functions 505. By creating task instances, the task management system 500 may provide a unified task list to support adding different types of editing tasks and / or editing tasks for different media materials to the unified task list for unified management.

[0088] By utilizing a task list for task management, embodiments of the present disclosure can reduce resource overhead of switching between threads, thereby improving the efficiency of task management.

[0089] In some embodiments, the multiple editing tasks in the task list can be divided into multiple groups of editing tasks based on the media materials being processed, for example, a first group of editing tasks for a first media material and a second group of editing tasks for a second media material. In some embodiments, the multiple groups of editing tasks for multiple media materials can be executed in parallel.

[0090] In some embodiments, the task management system 500 may also determine the execution order of the editing tasks in the task list.

[0091] Specifically, the task management system 500 may determine the priority of the first editing task based on the task type of the editing task in the task list. Further, the task management system 500 may determine the execution order of the editing task in the task list based at least on the priority.

[0092] In some embodiments, the types of editing tasks may include, for example, a first type, wherein the product of the first type of editing task is indicative information about an existing media file. For example, editing tasks such as chroma keying, anti-shake, and subject lock do not directly generate video content, but generate indicative information about the video content, which corresponds to the first type. Additionally, the types of editing tasks may also include a second type, wherein the product of the second type of editing task is a new media file. For example, the product of editing tasks such as reverse playback, gameplay, frame interpolation, noise elimination, and destrobing is a new video file, which corresponds to the second type. In some embodiments, the priority of the second type may, for example, be higher than that of the first type.

[0093] In some embodiments, the task management system 500 may further support the user to configure various types of priorities, and may determine the priority corresponding to the editing task based on such configuration information.

[0094] Furthermore, the task management system 500 can determine the execution order of the editing tasks based on a comparison of the priorities of the editing tasks in the task list. Taking the first editing task being added to the task list as an example, the task management system 500 can compare the priority of the first editing task with the priorities of other existing editing tasks to determine the execution order of the first editing task.

[0095] In one example, if the priority of the existing editing task is higher than the priority of the first editing task, the task management system 500 may execute the editing tasks normally according to the order in which they were added.

[0096] In another example, if the priority of the existing editing task is lower than that of the first editing task, the task management system 500 may prioritize executing the first editing task, which may cause the existing editing task to be suspended or need to be re-executed.

[0097] In yet another example, if the priority of the existing editing task is the same as the priority of the first editing task, the task management system 500 may determine the execution order based on the coupling relationship between the editing tasks.

[0098] In some embodiments, the task management system 500 may determine a coupling relationship between the first editing task and at least one other editing task in the task list. Further, the task management system 500 may determine an execution order of the first editing task in the task list based on the priority and coupling relationship of the first editing task.

[0099] In some embodiments, the coupling relationship between editing tasks may include a first relationship, indicating that the first editing task triggers the cancellation of at least one other editing task. Alternatively or additionally, the coupling relationship may further include a second relationship, indicating that the first editing task triggers the re-execution of at least one other editing task. Alternatively or additionally, the coupling relationship may further include a third relationship, indicating that the first editing task can be executed synchronously with at least one other editing task.

[0100] In some embodiments, the coupling relationship between editing tasks can be determined based on configuration information, for example. In this way, embodiments of the present disclosure can support the configuration of coupling relationships between different task types, thereby enabling more flexible execution of media editing.

[0101] As a specific example, the priority of the "UHD Image Quality" task can be the same as the priority of the "Noise Reduction" task, and both are higher than the priority of the "Anti-Shake" task. From a coupling perspective, the "UHD Image Quality" task and the "Noise Reduction" task can be executed concurrently, causing the "Anti-Shake" task to need to be re-executed.

[0102] In one example, the electronic device 110 may receive the "anti-shake" task, "noise removal" task, and "ultra-clear image quality" task added by the user to the segment S. Accordingly, the electronic device 110 may control the editing tasks to be executed accordingly according to the following logic.

[0103] Specifically, after the "noise elimination" task is triggered, since the priority of the "noise elimination" task is higher than the "anti-shake" task, the electronic device 110 will execute the "noise elimination" task, suspend the "anti-shake task", and re-run the "anti-shake" task after the "noise elimination" task is completed.

[0104] Furthermore, after the "ultra-clear image quality" task is triggered, if the "noise elimination" task is being executed, since the "noise elimination" task and the "ultra-clear image quality" task have an overlapping coupling relationship, the electronic device 110 can execute the "noise elimination" task normally.

[0105] After the "noise reduction" task is completed, the electronic device 110 can execute the "ultra-clear image quality" task based on the "noise reduction" video, thereby superimposing the effect. Furthermore, based on the coupling relationship, the electronic device 110 will re-run the "anti-shake" task after completing the "ultra-clear image quality" task.

[0106] Based on the above process, the embodiment of the present disclosure allows users to freely submit multiple editing requests without having to pay attention to the logical relationship between such editing requests, thereby improving the efficiency of media editing.

[0107] Example devices and equipment

[0108] Embodiments of the present disclosure also provide corresponding apparatuses for implementing the above-described methods or processes. FIG6 shows a schematic structural block diagram of an example apparatus 600 for media editing according to certain embodiments of the present disclosure. Apparatus 600 may be implemented as or included in electronic device 110. Each module / component in apparatus 600 may be implemented by hardware, software, firmware, or any combination thereof.

[0109] As shown in Figure 6, the device 600 includes a first creation module 610, which is configured to create a first editing task corresponding to the first editing operation and add the first editing task to the task list in response to a first editing operation triggered on a first media material; a second creation module 620, which is configured to create a second editing task corresponding to the second editing operation and add the second editing task to the task list in response to a second editing operation triggered on a second media material when the first editing task has not been completed; and a panel display module 630, which is configured to display a task panel based on a received preset operation, where the task panel is used to display task information, where the task information indicates the execution progress of multiple editing tasks in the task list, where the multiple editing tasks include the first editing task and the second editing task.

[0110] In some embodiments, the device 600 also includes a status display module, which is configured to: present a status element in the editing interface, and the status element indicates at least one of the following: the number of multiple editing tasks; the processing progress of multiple editing tasks; an indicator used to indicate that at least one editing task among the multiple editing tasks has failed to execute.

[0111] In some embodiments, the panel display module 630 is further configured to display a task panel based on a trigger operation on the state element.

[0112] In some embodiments, the status element is displayed in the target component, and the status display module is further configured to: within a first time period when an editing request is received, display addition information using the target component to indicate that the first editing task is added to the task list, and the target component also includes a cancel control for canceling the first editing task; and in response to not receiving a trigger for the cancel control within the first time period, display the status element using the target component.

[0113] In some embodiments, the task panel includes a plurality of descriptive items corresponding to a plurality of editing tasks.

[0114] In some embodiments, the panel display module 630 is further configured to: present at least one control associated with the first description item in the task panel, where the at least one control is used to control the execution of the editing task corresponding to the first description item.

[0115] In some embodiments, the at least one control includes at least one of: stopping execution of the control; and re-executing the control.

[0116] In some embodiments, multiple description items are sorted in the task panel based on at least one of the following: the execution status of each editing task, the execution status including: pending, executing or failed; the creation time of each editing task; the execution order of each editing task.

[0117] In some embodiments, the device 600 also includes an update module configured to: update the second description item corresponding to the second editing task in response to the completion of the second editing task among multiple editing tasks; and stop displaying the second description item in the task panel after a second period of time.

[0118] In some embodiments, when the task panel is triggered to be displayed, the size of the task panel is determined based on at least the number of the plurality of editing tasks; and when the task panel is kept displayed, the size of the task panel does not change due to stopping displaying the second description item.

[0119] In some embodiments, the first creation module 610 is further configured to: based on the editing request, create a task instance corresponding to the first editing task to manage the execution of the first editing task, wherein the task instance is recycled in response to completion of the execution of the first editing task.

[0120] In some embodiments, the first creation module 610 is further configured to: call a service interface corresponding to the editing request to create a task instance using an algorithm interface corresponding to the editing request.

[0121] In some embodiments, the first creation module 610 is further configured to: determine the priority of the first editing task based on the task type of the first editing task; and determine the execution order of the first editing task in the task list based at least on the priority.

[0122] In some embodiments, the task types include: a first type, wherein the product of the first type of editing task is instruction information about an existing media file; or a second type, wherein the product of the second type of editing task is a new media file.

[0123] Among them, the priority corresponding to the second type is higher than that of the first type.

[0124] In some embodiments, the first creation module 610 is further configured to: determine the coupling relationship between the first editing task and at least one other editing task in the task list; and determine the execution order of the first editing task in the task list based on the priority and coupling relationship of the first editing task.

[0125] In some embodiments, the coupling relationship includes at least one of the following: a first relationship, indicating that the first editing task triggers at least one other editing task to be canceled; a second relationship, indicating that the first editing task triggers at least one other editing task to be re-executed; a third relationship, indicating that the first editing task can be executed synchronously with at least one other editing task.

[0126] In some embodiments, the task list includes a first set of editing tasks related to a first media material and a second set of editing tasks related to a second media material, and the first set of editing tasks and the second set of editing tasks can be performed in parallel.

[0127] FIG7 shows a block diagram of an electronic device 700 in which one or more embodiments of the present disclosure may be implemented. It should be understood that the electronic device 700 shown in FIG7 is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. The electronic device 700 shown in FIG7 can be used to implement the electronic device 110 of FIG1 .

[0128] As shown in FIG7 , electronic device 700 is a general-purpose electronic device. Components of electronic device 700 may include, but are not limited to, one or more processors or processing units 710, memory 720, storage device 730, one or more communication units 740, one or more input devices 750, and one or more output devices 760. Processing unit 710 may be a real or virtual processor and is capable of performing various processes according to programs stored in memory 720. In a multi-processor system, multiple processing units execute computer-executable instructions in parallel to enhance the parallel processing capabilities of electronic device 700.

[0129] The electronic device 700 typically includes a plurality of computer storage media. Such media can be any accessible media that can be obtained by the electronic device 700, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 720 can be a volatile memory (e.g., registers, cache, random access memory (RAM)), a non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 730 can be a removable or non-removable medium and can include a machine-readable medium, such as a flash drive, a disk, or any other medium that can be used to store information and / or data and can be accessed within the electronic device 700.

[0130] The electronic device 700 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in FIG. 7 , a disk drive for reading from or writing to a removable, non-volatile disk (e.g., a “floppy disk”) and an optical drive for reading from or writing to a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to a bus (not shown) by one or more data media interfaces. The memory 720 may include a computer program product 725 having one or more program modules configured to perform various methods or actions of various embodiments of the present disclosure.

[0131] The communication unit 740 enables communication with other electronic devices via a communication medium. Additionally, the functions of the components of the electronic device 700 can be implemented as a single computing cluster or multiple computing machines that can communicate via a communication connection. Thus, the electronic device 700 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.

[0132] Input device 750 may be one or more input devices, such as a mouse, keyboard, or trackball. Output device 760 may be one or more output devices, such as a display, a speaker, or a printer. Electronic device 700 may also communicate with one or more external devices (not shown) via communication unit 740 as needed, such as storage devices, display devices, or the like, with one or more devices that allow a user to interact with electronic device 700, or with any device that allows electronic device 700 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).

[0133] 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.

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

[0135] 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, such that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device is generated that implements the functions / actions specified in one or more blocks in the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, where these instructions cause the computer, programmable data processing device, and / or other device to operate in a specific manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing various aspects of the functions / actions specified in one or more blocks in the flowchart and / or block diagram.

[0136] 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, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0137] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple implementations of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a part for a module, program segment or instruction, and a part for a module, program segment or instruction comprises one or more executable instructions for realizing the logical function of the specification. In some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the 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.

[0138] While various implementations of the present disclosure have been described above, the foregoing description is intended to be illustrative, not exhaustive, and not 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 selected to best explain the principles of the implementations, their practical applications, or improvements to existing technologies, or to enable others skilled in the art to understand the various implementations disclosed herein.

Claims

1. A method for media editing, comprising: In response to a first editing operation triggered on a first media material, creating a first editing task corresponding to the first editing operation and adding the first editing task to a task list; If the first editing task is not completed, in response to a second editing operation triggered on a second media material, creating a second editing task corresponding to the second editing operation and adding the second editing task to the task list; as well as Based on the received preset operation, a task panel is displayed, where the task panel is used to display task information, where the task information indicates the execution progress of multiple editing tasks in the task list, where the multiple editing tasks include the first editing task and the second editing task.

2. The method according to claim 1, further comprising: A status element is presented in the editing interface, the status element indicating at least one of the following: the number of the plurality of editing tasks; the processing progress of the plurality of editing tasks; An indicator is used to indicate that at least one editing task among the multiple editing tasks has failed to execute.

3. The method of claim 2, wherein displaying the task panel comprises: Based on a trigger operation on the state element, the task panel is displayed.

4. The method according to claim 2, wherein the status element is displayed in the target component, and displaying the status element in the media editing interface comprises: within a first time period after receiving the editing request, displaying, using the target component, adding information to indicate that the first editing task is added to a task list, the target component further comprising a cancel control for canceling the first editing task; as well as In response to not receiving a trigger for the cancel control within the first period of time, displaying the status element using the target component. The method according to claim 1 , wherein the task panel includes a plurality of description items corresponding to the plurality of editing tasks.

6. The method according to claim 5, further comprising: In the task panel, at least one control is presented in association with the first description item, and the at least one control is used to control the execution of the editing task corresponding to the first description item.

7. The method of claim 6, wherein the at least one control comprises at least one of the following: Stop executing the control; Re-execute the control.

8. The method of claim 5, wherein the plurality of descriptive items are sorted in the task panel based on at least one of: The execution status of each editing task, including: pending execution, in progress, or failed execution; The creation time of each editing task; The order in which editing tasks are performed.

9. The method according to claim 5, further comprising: In response to completion of execution of a second editing task among the plurality of editing tasks, updating a second description item corresponding to the second editing task; as well as After a second period of time, the second description item is stopped from being displayed in the task panel.

10. The method according to claim 9, wherein: When the task panel is triggered to be displayed, the size of the task panel is determined based on at least the number of the plurality of editing tasks; and In a case where the task panel is kept displayed, the size of the task panel does not change due to the cessation of displaying the second description item.

11. The method according to claim 1, wherein creating the first editing task comprises: Based on the editing request, a task instance corresponding to the first editing task is created to manage execution of the first editing task, wherein the task instance is recycled in response to completion of execution of the first editing task.

12. The method according to claim 11, wherein creating a task instance corresponding to the first editing task comprises: The service interface corresponding to the editing request is called to create the task instance by using the algorithm interface corresponding to the editing request.

13. The method according to claim 11, further comprising: determining a priority of the first editing task based on a task type of the first editing task; as well as An execution order of the first editing tasks in the task list is determined based at least on the priority.

14. The method according to claim 13, wherein the task type comprises: A first type, wherein the product of the editing task of the first type is indicative information about an existing media file; or The second type, wherein the product of the second type of editing task is a new media file, Among them, the priority corresponding to the second type is higher than that of the first type.

15. The method according to claim 13, wherein determining the execution order of the first editing task in the task list based at least on the priority comprises: determining a coupling relationship between the first editing task and at least one other editing task in the task list; as well as The execution order of the first editing tasks in the task list is determined based on the priorities and the coupling relationships of the first editing tasks.

16. The method according to claim 15, wherein the coupling relationship comprises at least one of the following: A first relationship indicates that the first editing task triggers the cancellation of execution of the at least one other editing task; a second relationship, indicating that the first editing task triggers the at least one other editing task to be re-executed; The third relationship indicates that the first editing task can be executed synchronously with at least one other editing task.

17. The method of claim 1, wherein the task list comprises a first set of editing tasks regarding the first media material and a second set of editing tasks regarding the second media material, the first set of editing tasks and the second set of editing tasks being executable in parallel.

18. An apparatus for media editing, comprising: A first creating module is configured to, in response to a first editing operation triggered on a first media material, create a first editing task corresponding to the first editing operation and add the first editing task to a task list; a second creating module configured to, in response to a second editing operation triggered on a second media material, create a second editing task corresponding to the second editing operation and add the second editing task to the task list if the first editing task is not completed; as well as The panel display module is configured to display a task panel based on the received preset operation, wherein the task panel is used to display task information, and the task information indicates the execution progress of multiple editing tasks in the task list, and the multiple editing tasks include the first editing task and the second editing task.

19. 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 17 when executed by the at least one processing unit.

20. A computer-readable storage medium having a computer program stored thereon, wherein the computer program is executable by a processor to implement the method according to any one of claims 1 to 17.

Citation Information

Patent Citations

  • File transfer display control method and apparatus, and corresponding terminal

    CN107291356A

  • Multimedia processing method and device and electronic equipment

    CN111309228A

  • Application updating method and device, electronic equipment and medium

    CN115202685A

  • Audio and video editing method and device, electronic equipment and storage medium

    CN116166398A

  • Mobile phone with GUI

    CN303670212S