Video processing methods, apparatus, electronic devices, and storage media

The video processing method automates color adjustment by applying template materials for automatic color matching, addressing the complexity and inefficiency of manual color adjustment in existing video editing tools, thereby improving editing efficiency.

JP2026522915APending Publication Date: 2026-07-09BEIJING ZITIAO NETWORK TECH CO LTD

Patent Information

Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
BEIJING ZITIAO NETWORK TECH CO LTD
Filing Date
2024-09-27
Publication Date
2026-07-09

AI Technical Summary

Technical Problem

Current video editing tools require manual color adjustment operations, leading to complexity and low efficiency in color adjustment processes.

Method used

A video processing method and apparatus that includes a color matching function area in the video editing interface, allowing users to apply template material to selected video clips for automatic color matching, reducing manual intervention and improving efficiency.

Benefits of technology

Simplifies color adjustment operations by automating the process, reducing complexity and enhancing video editing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026522915000001_ABST
    Figure 2026522915000001_ABST
Patent Text Reader

Abstract

Embodiments of the present invention provide a video processing method, apparatus, electronic device, and storage medium. The method includes presenting a color adjustment control and a video clip in a video editing draft in a video editing interface, and presenting a color matching function area in the video editing interface in response to a trigger operation on the color adjustment control, wherein the color matching function area includes a template material addition control, and in response to an addition operation on the template material addition control, obtaining an image template material corresponding to the addition operation, and performing a replacement operation on a selected video clip in the video editing draft based on the image template material, and presenting the replaced color-matched video clip in the video editing interface, wherein the color matching is characterized by the video color information corresponding to the color-matched video clip and the template color information being the same.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application claims the priority of a Chinese patent application filed on September 28, 2023, with the invention title "Video Processing Method, Apparatus, Electronic Device, and Storage Medium" and application number 202311279390.6, and the entire content disclosed in the above patent application is incorporated into this application by reference.

[0002] Embodiments of the present invention relate to data processing technologies, and in particular, to video processing methods, apparatuses, electronic devices, and storage media.

Background Art

[0003] With the rapid development of mobile Internet, the user's demand for video editing type applications is increasing. In the process of video editing, usually, it is necessary to perform adjustment operations on the color of the screen of video materials. Currently, the color adjustment of video materials depends on manual adjustment by the user through a series of color adjustment tools provided by the application, which leads to the complexity of the operation of the color adjustment function, the difficulty of use, and the low adjustment efficiency.

Summary of the Invention

Means for Solving the Problems

[0004] The present invention provides a video processing method, apparatus, electronic device, and storage medium.

[0005] In a first embodiment, an embodiment of the present invention provides a video processing method which includes presenting a color adjustment control and a video clip in a video editing draft in a video editing interface, and presenting a color matching function area in the video editing interface in response to a trigger operation on the color adjustment control, wherein the color matching function area includes a template material addition control, and in response to an addition operation on the template material addition control, obtaining an image template material corresponding to the addition operation, and performing a replacement operation on a selected video clip in the video editing draft based on the image template material, and presenting the replaced color-matched video clip in the video editing interface, wherein the color-matched video clip is obtained by performing a color-matching operation on the selected video clip based on template color information corresponding to the image template material, and the color matching is characterized in that the video color information corresponding to the color-matched video clip and the template color information are the same.

[0006] In a second embodiment, an embodiment of the present invention further provides a video processing apparatus comprising: a color adjustment control presence module for presenting color adjustment controls and video clips in a video editing draft in a video editing interface; a color matching function area presence module for presenting a color matching function area in the video editing interface in response to a trigger operation on the color adjustment controls, wherein the color matching function area includes a color matching function area presence module including a template material addition control; an image template material acquisition module for acquiring an image template material corresponding to an addition operation on the template material addition control in response to an addition operation; and a color matching video clip presence module for performing a replacement operation on a selected video clip in the video editing draft based on the image template material, and presenting the replaced color matching video clip in the video editing interface, wherein the color matching video clip is obtained by performing a color matching operation on the selected video clip based on template color information corresponding to the image template material, and the color matching is characterized in that the video color information corresponding to the color matching video clip and the template color information are the same.

[0007] In a third embodiment, an embodiment of the present invention further provides an electronic device comprising at least one processor and a memory communicated to the at least one processor, wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can implement a video processing method according to any embodiment of the present invention.

[0008] In a fourth embodiment, an embodiment of the present invention further provides a computer-readable storage medium in which computer instructions are stored, and which are used to implement a video processing method described in any embodiment of the present invention by being executed by a processor.

[0009] In a fifth embodiment, an embodiment of the present invention further provides a computer program product which is tangibly stored in a computer storage medium and includes computer executable instructions which, when executed by a device, cause the device to perform a video processing method described in any embodiment of the present invention. [Brief explanation of the drawing]

[0010] The above-described and other features, advantages, and aspects of each embodiment of the present invention will become more apparent by referring to the following specific embodiments in conjunction with the accompanying drawings. Throughout the accompanying drawings, identical or similar reference numerals indicate identical or similar elements. Please understand that the accompanying drawings are schematic diagrams and the actual objects and elements are not necessarily depicted to scale.

[0011] [Figure 1] This is a flowchart of a video processing method provided by one embodiment of the present invention. [Figure 2] This is a schematic diagram of a video editing interface provided by one embodiment of the present invention. [Figure 3] This is a flowchart of another video processing method provided by one embodiment of the present invention. [Figure 4] This is a schematic diagram of another video editing interface provided by one embodiment of the present invention. [Figure 5] This is a flowchart of another video processing method provided by one embodiment of the present invention. [Figure 6] This is a schematic diagram of another video editing interface provided by one embodiment of the present invention. [Figure 7] This is a flowchart of another video processing method provided by one embodiment of the present invention. [Figure 8] This is a schematic diagram of another video editing interface provided by one embodiment of the present invention. [Figure 9] This is a schematic diagram of the configuration of a video processing apparatus provided by one embodiment of the present invention. [Figure 10] This is a schematic diagram of the configuration of an electronic device provided by one embodiment of the present invention. [Modes for carrying out the invention]

[0012] The embodiments of the present invention will be described in more detail below with reference to the drawings. While specific embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as being limited to the embodiments described herein, but rather these embodiments are provided for a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments of the present invention are for illustrative purposes only and should not be used to limit the scope of protection of the present invention.

[0013] It should be understood that the steps described in the method embodiments of the present invention may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the execution of the indicated steps. The scope of the present invention is not limited in this respect.

[0014] As used herein, the term “inclusive” and its variations are used to mean “including, but not limited to, ~”. The term “based on” means “based at least partially on”. The term “one embodiment” means “at least one embodiment”, the term “another embodiment” means “at least one other embodiment”, and the term “some embodiment” means “at least some embodiment”. Relevant definitions of other terms are given below.

[0015] The concepts such as "first", "second", etc. mentioned in the present invention are only used to distinguish different devices, modules, or units, and it should be noted that they are not used to define the order or interdependence of the functions executed by these devices, modules, or units.

[0016] It should be noted that the modifications of "one" and "a plurality of" mentioned in the present invention are schematic and not restrictive, and those skilled in the art should understand that they mean "one or more" unless the context clearly indicates otherwise.

[0017] The names of messages or information that interact between multiple devices in the embodiments of the present invention are only used for the purpose of description and are not intended to limit the scope of those messages or information.

[0018] It should be understood that before using the technical solutions disclosed in each embodiment of the present invention, relevant users should be notified in an appropriate manner in accordance with relevant laws and regulations of the types, usage scopes, usage scenarios, etc. of the information related to the present invention, and the permission of the relevant users should be obtained.

[0019] For example, when responding to receiving an uncommitted request from a user, the user is explicitly prompted that the requested operation requires the acquisition and use of the user's personal information by transmitting prompt information to the relevant user. Thereby, the user can independently select whether to provide personal information to software or hardware such as an electronic device, an application, a server, or a storage medium that executes the operations of the technical solutions of the present invention based on the prompt information.

[0020] As a selected but non-limiting implementation form, the method of sending prompt information to the user in response to receiving an uncommitted request from the user may, for example, be a method that utilizes a pop-up window, and the prompt information can be displayed in the form of text within the pop-up window. Note that the pop-up window may further include a selection control for the user to select "agree" or "disagree" to provide personal information to the electronic device.

[0021] It is understood that the above-described notification and user authorization acquisition process are merely schematic and do not limit the implementation forms of the present invention, and other methods that comply with relevant laws and regulations can also be applied to the implementation forms of the present invention.

[0022] FIG. 1 is a flowchart of a video processing method provided by one embodiment of the present invention. This embodiment can be applied when performing editing processing on a video. The method can be executed using a video processing device, and the video processing device can be realized in the form of hardware and / or software. The video processing device can be arranged in an electronic device, typically, it can be arranged on a mobile terminal or a computer side. As shown in FIG. 1, the method includes the following steps.

[0023] In S110, present a color adjustment control and a video clip in the video editing draft at the video editing interface.

[0024] Exemplary, a video editing interface includes at least an editing function navigation area and a video preview area. Specifically, the editing function navigation area includes at least one editing function control, and the video preview area is used to present a preview screen obtained after editing operations. Exemplary, a video editing interface may further include a track editing area. Specifically, the track editing area includes video tracks, a timeline, a timeline ruler, etc., and a video editing draft may be present within the video track in the track editing area. The functional distribution of a video editing interface is not limited to this and can be customized according to actual needs.

[0025] Specifically, the color adjustment control is used to trigger the color adjustment function of a video editing tool. Exemplarily, the color adjustment control is located in the editing function navigation area of ​​the video editing interface, and the control type of the color adjustment control is a button control, specifically, a command button. The control type for the color adjustment control is not limited to this and can be customized according to actual needs.

[0026] Specifically, a video editing draft includes at least one video clip, and each video clip includes at least one video frame. Exemplarily, a video editing draft may be an unprocessed video uploaded by the user, a pre-processed draft video stored in the video editing tool, or a video created by stitching together multiple images uploaded by the user. Here, processing operations include, but are not limited to, manual color adjustments and the addition of special effect styles. The acquisition method and current editing state of the video editing draft are also not limited.

[0027] In S120, in response to a trigger operation on the color adjustment control, a color matching function area is made present in the video editing interface.

[0028] Specifically, the color matching function area includes function controls associated with color matching. In this embodiment, the color matching function area includes a template material addition control. Exemplaryly, the control type of the template material addition control may be an upload control.

[0029] In one selectable embodiment, the color matching function area further includes a color matching control. Accordingly, the method further includes setting the control editing state of the template material addition control to an editable state in response to a selection operation on the color matching control.

[0030] For example, the control type of a color matching control may be a button control, specifically an instruction button; furthermore, the control type of a color matching control may be a radio button; however, the control type for a color matching control is not limited to these and can be customized according to actual needs.

[0031] In S130, in response to an add operation on the template material add control, an image template material corresponding to the add operation is obtained.

[0032] In one selectable embodiment, the image template material is either an image in the video editing draft or another image outside of the video editing draft, wherein the image is a single-frame image or a video clip.

[0033] Exemplary, in response to a trigger operation on the Add Template Material control, a template material selection window is present in the video editing interface. Specifically, the template material selection window includes a first material control and / or a second material control corresponding to the video editing draft. In response to a trigger operation on the first material control, a file list under the default material path is present. Exemplary, the default material path may be the local material path of the device to which the client belongs, or the linked material path of the server. In response to a trigger operation on the second material control, at least one video frame from the video editing draft is present in the template material selection window.

[0034] In S140, a replacement operation is performed on the selected video clip in the video editing draft based on the image template material, and the replaced color-matched video clip is made present in the video editing interface.

[0035] In one selectable embodiment, the method further includes, in response to an editing operation on the video editing draft, obtaining a selected video clip in the video editing draft corresponding to the editing operation. Here, the editing operation may be a click operation, a voice control operation, or a gesture control operation, or a drag displacement operation on a timeline ruler in a video editing interface, specifically treating the video clip on which the timeline ruler is located as the selected video clip.

[0036] In this embodiment, the color-matched video clip is obtained by performing a color-matching operation on the selected video clip based on template color information corresponding to the image template material, and the color matching is characterized in that the video color information corresponding to the color-matched video clip and the template color information are the same.

[0037] Specifically, the video color information includes video frame information corresponding to at least one video frame. In one selectable embodiment, the service or client treats the material color information of an image template as template color information and obtains the target video frame in the selected video clip. Based on the template color information and the video frame color information of the target video frame, color adjustment parameters are determined, and a color-matched video clip is obtained by performing color adjustment on the video frame color information corresponding to at least one of the video frames selected based on the color adjustment parameters. Specifically, the target video frame is the video frame in the selected video clip where the timeline ruler is located, and may also be a pre-set video frame such as the first frame, second frame, or last frame of the selected video clip. The method of selecting the target video frame is not limited to this and can be customized according to actual needs.

[0038] Based on the above embodiment, the method further includes, after selectively presenting the replaced color-matched video clip in the video editing interface, presenting a color-matching marker in the video editing interface, and, in response to a selection cancellation operation on the color-matching control, setting the control editing state of the template material addition control to an uneditable state, and replacing the color-matched video clip in the video editing interface with the selected video clip.

[0039] For example, the color matching marker may be set at a video position corresponding to the selected video clip in the video editing draft, on a color matching control, or around a color matching control; however, the location of the color matching marker is not limited to these.

[0040] For example, if the control type of the color matching control is an instruction button, the selection cancel operation may also be a re-trigger operation of the color matching control. Specifically, the selection cancel operation of the color matching control is used to hide the color matching effect of the selected video clip.

[0041] Figure 2 is a schematic diagram of a video editing interface provided by one embodiment of the present invention. Specifically, the video editing interface includes a video editing draft 10, a color matching function area 20, and a color adjustment control 30. Here, the video editing draft 10 includes three video clips, where "xx" and "yy" represent other editing function controls in the function navigation bar of the video editing interface, and the color matching function area includes a template material addition control 21 and a color matching control 22.

[0042] The technical solution of this embodiment presents a color adjustment control and a video clip in the video editing draft within the video editing interface, and presents a color matching function area within the video editing interface in response to a trigger operation on the color adjustment control. Here, the color matching function area includes a template material addition control. In response to an addition operation on the template material addition control, an image template material corresponding to the addition operation is obtained, a replacement operation is performed on the selected video clip in the video editing draft based on the image template material, and the replaced color-matched video clip is presented in the video editing interface. Here, the color-matched video clip is obtained by performing a color matching operation on the video clip selected based on the template color information corresponding to the image template material, and the color matching is characterized by the fact that the video color information corresponding to the color-matched video clip and the template color information are the same. Embodiments of the present invention add a color matching function to a video editing tool, thereby solving the problem that conventional video editing tools require manual color adjustment operations, reducing the complexity and difficulty of color adjustment operations, and improving video editing efficiency.

[0043] Figure 3 is a flowchart of another video processing method provided by one embodiment of the present invention. This embodiment further details the video processing method of the above embodiment. As shown in Figure 3, the method includes the following steps.

[0044] In the S210, color adjustment controls and video clips are present in the video editing interface and video editing drafts.

[0045] In S220, in response to a trigger operation on the color adjustment control, a color matching function area is made present in the video editing interface.

[0046] In S230, in response to an add operation on the template material add control, an image template material corresponding to the add operation is obtained.

[0047] The steps S210 to S230 in this embodiment correspond to, and are the same as or similar to, the steps S110 to S130 shown in Figure 1 of the above embodiment, and this embodiment will not be repeated here.

[0048] In S240, in response to an adjustment operation on the color intensity adjustment control, the color intensity corresponding to the adjustment operation is obtained.

[0049] For example, the control type for a color intensity adjustment control may be a text box control, a dropdown control, or a slider bar control. The control type for a color intensity adjustment control is not limited to these and can be customized according to actual needs.

[0050] In S250, a replacement operation is performed on the selected video clip in the video editing draft based on the color intensity and the image template material, and the replaced color-matched video clip is made present in the video editing interface.

[0051] In this embodiment, the template color information corresponding to the color-matching video clip is obtained by adjusting the material color information corresponding to the image template material according to the color intensity. Exemplarily, the default color intensity corresponding to the material color information may be 0 or 80, and is not limited to these values; specifically, it can be customized according to actual needs.

[0052] In one selectable embodiment, the service or client adjusts the source color information according to color intensity to obtain template color information. Based on the template color information and the video frame color information of the target video frame, color adjustment parameters are determined. Color adjustment is performed on the video frame color information corresponding to at least one of the video frames selected based on the color adjustment parameters to obtain a color-matched video clip.

[0053] Based on the above embodiment, the color matching function area optionally further includes a keyframe setting control. Accordingly, the method further includes, in response to a trigger operation on the keyframe setting control, treating the selected video frame in the selected video clip corresponding to the trigger operation as a key video frame, and presenting a key marker corresponding to the key video frame in the video editing interface. Based on the color intensity corresponding to at least one key video frame, the color intensity corresponding to each of the at least one other video frames in the selected video clip is determined. Accordingly, performing a substitution operation on the selected video clip in the video editing draft based on the color intensity and the image template material is performed on the selected video clip in the video editing draft based on the color intensity and the image template material corresponding to at least two video frames in the selected video clip. Here, the template color information corresponding to each video frame in the color matching video clip is obtained by adjusting the material color information according to the color intensity of the corresponding video frame in the selected video clip.

[0054] Specifically, the selected video frame corresponding to the trigger operation may be a video frame in the selected video clip that is currently clicked and selected in the video editing interface, or a video frame in the selected video clip where the timeline ruler in the video editing interface is currently positioned. Exemplarily, a key marker may be set at the position of the video frame corresponding to the key video frame. The position of the key marker is not limited to this and can be customized according to actual needs.

[0055] In one selectable embodiment, determining the color intensity corresponding to each of the at least one other video frames in the selected video clip, other than the key video frame, based on the color intensity corresponding to each of the at least one key video frames, includes treating the first video frame, the last video frame, and at least one key video frame in the selected video clip as reference video frames, treating the video content between the two reference video frames as a target video clip for each pair of adjacent reference video frames, and adjusting the color intensity corresponding to at least one video frame in the target video clip according to a predetermined adjustment parameter and the color intensity corresponding to each of the two reference video frames, wherein the predetermined adjustment parameter includes a predetermined adjustment rate and / or a predetermined adjustment curve.

[0056] Specifically, a predetermined adjustment rate characterizes the rate of change in color intensity corresponding to each of the two video frames, and a predetermined adjustment curve characterizes the trend of change in color intensity corresponding to each video frame in the target video clip. Exemplarily, the predetermined adjustment curve may be a straight line or a sine curve, and is not limited to these; it can be customized according to actual needs.

[0057] In one selectable embodiment, the service or client adjusts the source color information corresponding to the current video frame for each video frame in the selected video clip according to the color intensity corresponding to the current video frame, and obtains template color information corresponding to the current video frame. Based on the template color information of the current video frame and the video frame color information of the target video frame, a color adjustment parameter corresponding to the current video frame is determined. Based on the color adjustment parameter, an adjustment operation is performed on the video frame color information of the current video frame to obtain a color-matched video frame corresponding to the current video frame in the color-matched video clip.

[0058] Based on the above embodiment, the method selectively includes treating at least one color intensity corresponding to a color-matching video clip including a key video frame as the default color intensity of the color-matching video clip, and in response to a re-add operation to the template material addition option, obtaining updated template material corresponding to the re-add operation, performing a replacement operation on the color-matching video clip in the video editing draft based on the updated template material, and making the replaced template-updated video clip video present in the editing interface.

[0059] In this embodiment, the template update video clip is obtained by performing a color matching operation on the selected video clip based on the template update information corresponding to the update template material, and the template update information corresponding to each video frame in the template update video clip is obtained by adjusting the material color information of the update template material according to the default color intensity of the corresponding video frame in the color matching video clip.

[0060] The advantage of this setting is that the color intensity of each video frame in the selected video clip is fixed by the keyframe setting operation, and the color intensity does not change when the image template material is updated. This further reduces the complexity and difficulty of color adjustment operations and improves video editing efficiency.

[0061] Figure 4 shows a schematic diagram of another video editing interface provided by one embodiment of the present invention. Specifically, the color matching function area 20 shown in Figure 4 further includes a color intensity adjustment control 23 and a keyframe setting control 24. Here, the second video clip in the video editing draft contains four video frames, the second video frame is set as a key video frame by the keyframe setting control, and a key marker "◆" corresponding to the key video frame is present in the video editing interface.

[0062] The technical solution in this embodiment involves setting a color intensity adjustment control in the color matching function area, thereby obtaining the corresponding color intensity in response to an adjustment operation on the color intensity adjustment control. Based on the color intensity and the image template material, a replacement operation is performed on the selected video clip in the video editing draft. Here, the template color information corresponding to the color-matched video clip is obtained by adjusting the material color information corresponding to the image template material according to the color intensity. In this way, the problem of the color matching effect of the color matching function being fixed is solved, the adjustability of the matching effect of the color matching function is improved, and personalized settings for video color matching are realized.

[0063] Figure 5 is a flowchart of another video processing method provided by one embodiment of the present invention, which further details the video processing method of the above embodiment. As shown in Figure 5, the method includes the following steps.

[0064] In the S310, color adjustment controls and video clips are present in the video editing interface and video editing drafts.

[0065] In S320, in response to a trigger operation on the color adjustment control, a color matching function area is made present in the video editing interface.

[0066] In S330, in response to an add operation on the template material add control, an image template material corresponding to the add operation is obtained.

[0067] In S340, a replacement operation is performed on the selected video clip in the video editing draft based on the image template material, and the replaced color-matched video clip is made present in the video editing interface.

[0068] The steps S310 to S340 in this embodiment correspond to, and are the same as or similar to, the steps S110 to S140 shown in Figure 1 of the above embodiment, and this embodiment will not be repeated here.

[0069] In S350, in response to a trigger operation on the global apply control, at least one unselected video clip in the video editing draft is retrieved.

[0070] In this embodiment, the color matching function area further includes a global apply control. Specifically, the global apply control is used to trigger all unselected video clips in the video editing draft to perform a color matching operation based on template color information, where unselected video clips are any video clips other than the selected video clips in the video editing draft. Exemplaryly, the control type of the global apply control may be a button control, specifically an instruction button. The control type for the global apply control is not limited to this and can be customized according to actual needs.

[0071] Based on the above embodiment, the method further includes, after selectively making the replaced color-matched video clip present in the video editing interface, setting the control editing state of the global apply control in the color-matching function area to an editable state.

[0072] In S360, a replacement operation is performed on each of the unselected video clips based on the image template material, and at least one replaced reference matching video clip is made present in the video editing interface.

[0073] In this embodiment, the reference matching video clip is obtained by performing a color matching operation on the unselected video clip according to the template color information.

[0074] In one selectable embodiment, the service or client obtains a target video frame for each unselected video clip and determines color adjustment parameters based on template color information and the video frame color information of the target video frame. Color adjustment is performed on the video frame color information corresponding to at least one video frame among the unselected video clips according to the color adjustment parameters to obtain a reference matching video clip. Exemplarily, the target video frame in an unselected video clip may be a pre-set video frame such as the first frame, second frame, or last frame of the unselected video clip, and the method of selecting the target video frame is not limited to this and can be customized according to actual needs.

[0075] Based on the above embodiment, after selectively making the replaced color-matched video clip present in the video editing interface, the method further includes, if the color-matched video clip belongs to a composite clip, performing a replacement operation on the color-matched video clip in response to a split operation on the color-matched video clip, and making at least two replaced split video clips present in the video editing interface. Here, each of the split video clips is obtained by performing a color-matching removal operation and a split operation on the color-matched video clip, respectively.

[0076] Specifically, composite clips are used to characterize video clips obtained by performing a splicing operation on at least two video clips, while split video clips can characterize video clips before performing color matching and splicing operations in a video editing draft.

[0077] The advantages of this configuration are that it improves the application scenarios for the color matching function and enhances the compatibility between the color matching function and the original functions of the video editing tool.

[0078] Based on the above embodiment, the method further includes, after selectively presenting the replaced color-matched video clip in the video editing interface, performing a video addition operation at the corresponding video position of the color-matched video clip in the video editing draft based on template color information in response to a replacement operation on the color-matched video clip, and presenting the added replaced-matched video clip in the video editing interface. Here, the replaced-matched video clip is obtained by performing a color-matching operation on the video color information of the replacement video clip corresponding to the color-matched video clip according to the template color information.

[0079] Based on the above embodiment, the color matching function area optionally further includes a reset control, the method further including, in response to a trigger operation on the reset control, deleting an image template material and replacing the color-matched video clip in the video editing interface with a selected video clip. Specifically, the trigger operation on the reset control is used to delete the color-matching effect of the selected video clip. Exemplarily, the control type of the reset control may be a button control, specifically an instruction button. The control type of the reset control is not limited thereto and can be customized according to actual needs.

[0080] Based on the above embodiment, the color matching function area optionally further includes a comparison control, the method further includes, in response to a selection operation on the comparison control, synchronously presenting the selected video clip in the video editing interface and the color matching video clip, deleting the selected video clip present in the video editing interface in response to a selection cancellation operation on the comparison control, or replacing the color matching video clip in the video editing interface with the selected video clip in response to a selection operation on the comparison control, and replacing the selected video clip in the video editing interface with the color matching video clip in response to a selection cancellation operation on the comparison control. Specifically, the selection operation on the comparison control is used to compare the video color information of the selected video clip before and after color matching. Exemplarily, the control type of the comparison control may be a button control, specifically a command button. The control type of the comparison control is not limited thereto and can be customized according to actual needs.

[0081] Based on the above embodiment, the color matching function area optionally further includes an undo control and a recovery control, and the method further includes: presenting an undo prompt window in the video editing interface in response to a trigger operation on the undo control; setting the control editing state of the recovery control to an editable state in response to a trigger operation on the confirmation control in the undo prompt window; and replacing the color matching video clip in the video editing interface with the selected video clip; and presenting a recovery prompt window in the video editing interface in response to a trigger operation on the recovery control; and replacing the selected video clip in the video editing interface with the color matching video clip in response to a trigger operation on the confirmation control in the recovery prompt window.

[0082] Specifically, the trigger operation of the undo control is used to undo the current color matching operation corresponding to the selected video clip, and the trigger operation of the recovery control is used to recover the previous color matching operation corresponding to the selected video clip. Exemplaryly, the control type of the undo control / recovery control may be a button control, specifically an command button. The control type of the undo control / recovery control is not limited to this and can be customized according to the actual needs.

[0083] Figure 6 is a schematic diagram of another video editing interface provided by one embodiment of the present invention. Specifically, the color matching function area 20 shown in Figure 6 further includes a global apply control 25, a reset control 26, a compare control 27, an undo control 28, and a recovery control 29.

[0084] The technical solution of this embodiment involves setting a global application control in the color matching function area, and in response to a trigger operation on the global application control, retrieving at least one unselected video clip in the video editing draft, performing a replacement operation on each unselected video clip based on the image template material, and presenting at least one replaced reference matching video clip in the video editing interface. Here, the reference matching video clip is obtained by performing a color matching operation on the unselected video clips based on the template color information. In this way, the problem of having to manually manipulate each video clip in the video editing draft to perform color matching is solved, further reducing the complexity and difficulty of color adjustment operations and improving video editing efficiency.

[0085] Figure 7 is a flowchart of another video processing method provided by one embodiment of the present invention, which further details the video processing method of the above embodiment. As shown in Figure 7, the method includes the following steps.

[0086] In the S410, the video editing interface features adjustable track creation controls and video clips in the video editing draft.

[0087] In S420, in response to a trigger operation on the adjustment track creation control, the color matching function area is made present in the video editing interface.

[0088] Steps S410 to S420 in this embodiment correspond to steps S110 to S120 shown in Figure 1 of the above embodiment, and are either the same or similar; this embodiment will not be repeated here.

[0089] In S430, a color adjustment track is created in the track editing area of ​​the video editing interface.

[0090] Specifically, a color adjustment track is an editing track associated with color matching within the track editing area of ​​a video editing interface. In this embodiment, the color adjustment track characterizes the color adjustment parameters between the video color information and the template color information. Here, the color adjustment parameters characterize the color matching information between the video color information and the template color information, and the method for obtaining the color adjustment parameters corresponds to, is the same as, or similar to, the method for obtaining the color adjustment parameters in the above embodiment, and this embodiment is not repeated here.

[0091] In S440, in response to an add operation on the template material add control, an image template material corresponding to the add operation is acquired.

[0092] S440 in this embodiment corresponds to, is the same as, or similar to, S130 shown in Figure 1 of the above embodiment, and this embodiment is not repeated here.

[0093] In S450, the currently overlapping time segment is determined based on the video time segment corresponding to the video track in the track editing area and the color time segment corresponding to the color adjustment track.

[0094] Specifically, the video track is used to characterize the edit track having the same duration as the video in the video editing draft; the video time segment characterizes the time segment associated with the video duration; the color time segment characterizes the time period associated with the track duration of the color adjustment track; and the current overlap time segment characterizes the overlapping time segment between the video time segment and the color time segment. For example, assuming the video time segment is 00:10-00:20 and the color time segment is 00:15-00:30, the current overlap time segment would be 00:15-00:20.

[0095] In S460, the video content corresponding to the current overlapping time segment in the video editing draft is treated as a selected video clip.

[0096] The selected video clip in this embodiment may be a single video clip in the video editing draft, or it may be a combination of different proportions of at least two video clips in the video editing draft. Assuming that the current overlapping time segment is 00:15-00:20, the time segment of video clip 1 in the video editing draft is 00:10-00:17, and the time segment of video clip 2 is 00:17-00:20, the selected video clip would include the video content of video clip 1 from 00:15-00:17 and video clip 2.

[0097] In S470, a replacement operation is performed on the selected video clip based on the image template material, and the replaced color-matched video clip is made present in the video editing interface.

[0098] S470 in this embodiment corresponds to, is the same as, or similar to, S140 shown in Figure 1 of the above embodiment, and this embodiment is not repeated here.

[0099] Based on the above embodiment, the method further includes, after selectively presenting the replaced color-matched video clip in the video editing interface, determining an updated overlapping time segment based on the video time segment and the adjusted time segment of the color adjustment track corresponding to the track adjustment operation, in response to a track adjustment operation on the color adjustment track, wherein the track adjustment operation includes a length adjustment operation and / or a drag displacement operation; treating the video content corresponding to the updated overlapping time segment in the video editing draft as the updated video clip if there is no overlapping time segment between the updated overlapping time segment and the matching time segment corresponding to the color-matched video clip; and simultaneously performing a replacement operation on the color-matched video clip and the updated video clip according to the color adjustment parameters, thereby presenting the replaced selected video clip and the color-adjusted video clip in the video editing interface, wherein the color-adjusted video clip is obtained by performing a color adjustment operation on the video color information corresponding to the updated video clip according to the color adjustment parameters.

[0100] Specifically, the update overlap time segment characterizes the overlapping time segment between the video time segment and the adjustment time segment, the length adjustment operation can change the track time length of the color adjustment track, and accordingly, the time length of the selected video clip can also be changed. The drag displacement operation can change the relative time position of the color adjustment track with respect to the fixed timeline, and accordingly, the relative time position of the selected video clip with respect to the fixed timeline can also be changed. Exemplarily, the fixed timeline may be the timeline corresponding to any video frame in the video editing draft.

[0101] For example, assuming the update overlap time segment is from 00:10 to 00:30 and the matching time segment is from 00:40 to 00:50, there are no overlapping time segments between the update overlap time segment and the matching time segment. Specifically, the selected video clip is used to replace the color-matched video clip, and the color-adjusted video clip is used to replace the updated video clip. In one selectable embodiment, the service or client performs color adjustment on the video frame color information corresponding to at least one video frame of the updated video clip based on color adjustment parameters to obtain a color-adjusted video clip.

[0102] Based on the above embodiment, the method selectively includes, when there is an overlapping time segment between the update overlapping time segment and the matching time segment corresponding to the color matching video clip, determining an initial matching time segment and a target matching time segment based on the update overlapping time segment and the matching time segment; treating the video content corresponding to the initial matching time segment in the color matching video clip as a first update video clip and treating the video content corresponding to the target matching time segment in the video editing draft as a second update video clip; and simultaneously performing a substitution operation on the first update video clip and the second update video clip according to the color adjustment parameters, thereby making the substituted first color video clip and second color video clip present in the video editing interface, where the first color video clip is the video content corresponding to the initial matching time segment in the selected video clip, and the second color video clip is obtained by performing a color adjustment operation on the video color information corresponding to the second update video clip according to the color adjustment parameters.

[0103] For example, assuming that the update overlap time segment is from 00:10 to 00:30 and the matching time segment is from 00:20 to 00:50, there is an overlapping time segment between the update overlap time segment and the matching time segment, from 00:20 to 00:30.

[0104] Specifically, the initial matching time segment represents the time segments within the matching time segment that do not overlap with the update overlap time segment, and the target matching time segment represents the time segments within the update overlap time segment that do not overlap with the matching time segment. Using the above example, the initial matching time segment is 00:30~00:50, and the target matching time segment is 00:10~00:20.

[0105] Specifically, the first update video clip is replaced using the first color video clip, and the second update video clip is replaced using the second color video clip.

[0106] Based on the above embodiment, the method selectively includes: performing a video addition operation at the corresponding video position of the color-matching video clip in the video editing draft in accordance with the color adjustment parameters in response to a replacement operation on the color-matching video clip; and making the added replacement adjustment video clip present in the video editing interface, wherein the replacement adjustment video clip is obtained by performing a color adjustment operation on the video color information of the replacement video clip corresponding to the color-matching video clip in accordance with the color adjustment parameters.

[0107] In one selectable embodiment, the service or client performs color adjustment on the video frame color information corresponding to at least one video frame in the replacement video clip based on color adjustment parameters to obtain the replacement adjustment video clip. In this embodiment, since the color adjustment parameters are added independently to the color adjustment track, the replacement of a selected video clip in the video track does not affect changes to the color adjustment parameters.

[0108] Figure 8 is a schematic diagram of another video editing interface provided by one embodiment of the present invention. Specifically, the video editing interface shown in Figure 8 simultaneously includes an adjustment track creation control 40 and a color adjustment control 30 of the above embodiment, the color adjustment control 30 and the adjustment track creation control 40 can trigger presence operations that bring a color matching function area into presence in the video editing interface. The video editing interface shown in Figure 8 further includes a color adjustment track created in response to a trigger operation on the adjustment track creation control 40, specifically, the selected video clip corresponding to the color adjustment track includes some video content from a second video clip and a third video clip in the video editing draft.

[0109] The technical solution of this embodiment involves setting the color adjustment control as an adjustment track creation control, creating a color matching function area in the video editing interface, and simultaneously creating a color adjustment track in the track editing area of ​​the video editing interface. Here, the color adjustment track is a color adjustment parameter between the characteristic video color information and the template color information. Furthermore, based on the video time segment corresponding to the video track in the track editing area and the color time segment corresponding to the color adjustment track, the currently overlapping time segment is determined, and the video content corresponding to the currently overlapping time segment in the video editing draft is treated as a selected video clip. In this way, the problem of having to manually perform a color matching step for each video clip in the video editing draft is solved, improving the flexibility of color matching, further reducing the complexity and difficulty of color adjustment operations, and improving video editing efficiency.

[0110] The schematic diagram of the video editing interface in the above embodiment of the present invention is merely an illustrative description of the video editing interface. The attribute information of each control in the video editing interface, such as the control type, control style, and setting position, is not limited to these. It should be noted that when applying the video processing method to different terminal devices such as a computer or a mobile device, the attribute information of each control, such as the control type, control style, and setting position, may be the same or different.

[0111] The following are embodiments of a video processing apparatus provided by the embodiments of the present invention. The apparatus and the video processing method of the above embodiments belong to the same inventive idea, and for details not described in detail in the embodiments of the video processing apparatus, refer to the content of the video processing method of the above embodiments.

[0112] Figure 9 is a schematic diagram of the configuration of a video processing apparatus provided by one embodiment of the present invention. As shown in Figure 9, the apparatus comprises a color adjustment control presence module 510, a color matching function area presence module 520, an image template material acquisition module 530, and a color matching video clip presence module 540.

[0113] The color adjustment control presence module 510 is used to give presence to color adjustment controls and video clips in the video editing draft within the video editing interface.

[0114] The color matching function area presence module 520 is used to make the color matching function area present in the video editing interface in response to a trigger operation on the color adjustment control, and the color matching function area includes a template material addition control.

[0115] The image template material acquisition module 530 is used to acquire an image template material corresponding to an addition operation in response to an addition operation on the template material addition control.

[0116] The color-matching video clip presence module 540 is used to perform a replacement operation on the selected video clip in the video editing draft based on the image template material, and to make the replaced color-matching video clip present in the video editing interface.

[0117] In some embodiments, the color-matched video clip is obtained by performing a color-matching operation on the selected video clip based on template color information corresponding to the image template material, and the color matching is characterized in that the video color information corresponding to the color-matched video clip and the template color information are the same.

[0118] The technical solution of this embodiment adds a color matching function to the video editing tool, thereby solving the problem that conventional video editing tools require manual color adjustment operations, reducing the complexity and difficulty of color adjustment operations, and improving video editing efficiency.

[0119] In one selectable embodiment, the color matching function region further includes a color intensity adjustment control. Accordingly, the device further includes a color intensity acquisition module for obtaining a color intensity corresponding to an adjustment operation on the color intensity adjustment control. The color matching video clip presence module 540 includes a selected video clip replacement unit for performing a replacement operation on a selected video clip in the video editing draft based on the color intensity and the image template material, wherein the template color information corresponding to the color matching video clip is obtained by adjusting the material color information corresponding to the image template material according to the color intensity.

[0120] In one selectable embodiment, the color matching function area further includes a keyframe setting control, and accordingly, the device further includes a key video frame determination module for treating a selected video frame corresponding to the trigger operation in the selected video clip as a key video frame in response to a trigger operation on the keyframe setting control, and for presenting a key marker corresponding to the key video frame in the video editing interface, and a color intensity determination module for determining the color intensity corresponding to at least one other video frame in the selected video clip other than each of the key video frames, based on the color intensity corresponding to at least one key video frame, and the selected video clip replacement unit is specifically used to perform a replacement operation on the selected video clip in the video editing draft based on the color intensity corresponding to at least two video frames in the selected video clip and the image template material. The template color information corresponding to each video frame in the color matching video clip is obtained by adjusting the material color information according to the color intensity of the corresponding video frame in the selected video clip.

[0121] In one selectable embodiment, the color matching function area further includes a global apply control, and accordingly, the device further comprises a reference matching video clip presence module for retrieving at least one unselected video clip in the video editing draft in response to a trigger operation on the global apply control, performing a replacement operation on each of the unselected video clips based on the image template material, and making the replaced at least one reference matching video clip present in the video editing interface. The reference matching video clip is obtained by performing a color matching operation on the unselected video clip according to the template color information.

[0122] In one selectable embodiment, the apparatus further comprises a split video clip presence module for presenting a replaced color-matched video clip in the video editing interface, and then, if the color-matched video clip belongs to a composite clip, performing a replacement operation on the color-matched video clip in response to a split operation on the color-matched video clip, and presenting at least two replaced split video clips in the video editing interface, each of which is obtained by performing a color-matching removal operation and a split operation on the color-matched video clip, respectively.

[0123] In one selectable embodiment, the color adjustment control is an adjustment track creation control. Accordingly, the device has a color matching function area in the video editing interface and a color adjustment track creation module for creating a color adjustment track in the track editing area of ​​the video editing interface. The color adjustment track further comprises a color adjustment track creation module that characterizes a color adjustment parameter between the video color information and the template color information, and a selected video clip determination module for determining a currently overlapping time segment based on a video time segment corresponding to a video track in the track editing area and a color time segment corresponding to the color adjustment track, and for treating the video content corresponding to the currently overlapping time segment in the video editing draft as a selected video clip.

[0124] In one selectable embodiment, the apparatus includes an update overlap time segment determination module for determining an update overlap time segment based on the video time segment and the adjustment time segment of the color adjustment track corresponding to the track adjustment operation, in response to a track adjustment operation on the color adjustment track, after the replaced color-matched video clip has been made present in the video editing interface. The track adjustment operation further includes the update overlap time segment determination module, which includes a length adjustment operation and / or a drag displacement operation; an update video clip determination module for treating the video content corresponding to the update overlap time segment in the video editing draft as an update video clip if there is no overlapping time segment between the update overlap time segment and the matching time segment corresponding to the color-matched video clip; and a color adjustment video clip presence module for simultaneously performing a replacement operation on the color-matched video clip and the update video clip according to the color adjustment parameters, and for making the replaced selected video clip and the color-matched video clip present in the video editing interface. The color-matched video clip is obtained by performing a color adjustment operation on the video color information corresponding to the update video clip according to the color adjustment parameters.

[0125] In one selectable embodiment, the apparatus further comprises: a target matching time segment determination module for determining an initial matching time segment and a target matching time segment based on the update overlap time segment and the matching time segment when there is an overlapping time segment between the update overlap time segment and the matching time segment corresponding to the color matching video clip; a second update video clip determination module for treating the video content corresponding to the initial matching time segment in the color matching video clip as a first update video clip and treating the video content corresponding to the target matching time segment in the video editing draft as a second update video clip; and a second color video clip presence module for simultaneously performing a substitution operation on the first update video clip and the second update video clip according to the color adjustment parameters and for making the substituted first color video clip and second color video clip present in the video editing interface. The first color video clip is the video content corresponding to the initial matching time segment in the selected video clip. The second color video clip is obtained by performing a color adjustment operation on the video color information corresponding to the second update video clip according to the color adjustment parameters.

[0126] In one selectable embodiment, the device includes a replacement adjustment video clip presence module for performing a video addition operation at the corresponding video position of the color matching video clip in the video editing draft according to the color adjustment parameters in response to a replacement operation on the color matching video clip, and for making the added replacement adjustment video clip present in the video editing interface. The replacement adjustment video clip is obtained by performing a color adjustment operation on the video color information of the replacement video clip corresponding to the color matching video clip according to the color adjustment parameters.

[0127] In one selectable embodiment, the image template material is either an image in the video editing draft or another image outside of the video editing draft, and the image material is either a single-frame image or a video clip.

[0128] A video processing apparatus provided by an embodiment of the present invention can perform a video processing method provided by any embodiment of the present invention and has corresponding functional modules and beneficial effects for performing the method.

[0129] The following diagram shows a schematic configuration of an electronic device (e.g., a terminal device) 600 suitable for carrying out an embodiment of the present invention, with reference to Figure 10. The terminal device of the embodiment of the present invention may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. The electronic device shown in Figure 10 is merely an example and does not limit in any way the functions and scope of use of the embodiment of the present invention.

[0130] As shown in Figure 10, the electronic device 600 may include a processing unit (e.g., a central processing unit, a graphical processor, etc.) 601 capable of performing various appropriate operations and processes based on a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. The RAM 603 further stores various programs and data necessary for the operation of the electronic device 600. The processing unit 601, ROM 602, and RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0131] Generally, devices such as input devices 606 including touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, and gyroscopes; output devices 607 including liquid crystal displays (LCDs), speakers, and vibrators; storage devices 608 including magnetic tape and hard disks; and communication devices 608 may be connected to the I / O interface 605. The communication devices 608 can enable the electronic device 600 to communicate wirelessly or via wired connections to exchange data with other devices. While the drawings show the electronic device 600 with various devices, it should be understood that it is not necessary to implement or have all of the shown devices. More or fewer devices may be implemented or have been included as alternatives.

[0132] In particular, according to embodiments of the present invention, the process described with reference to the flowchart above may be implemented as a computer software program. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a computer-readable medium, the computer program comprising program code for performing the method shown in the flowchart. In such embodiments, the computer program may be downloaded and installed from a network via a communication device 609, or installed from a storage device 608 or ROM 602. When the computer program is executed by the processing device 601, the above-described functions, limited to the methods of embodiments of the present invention, are performed.

[0133] It should be noted that the computer-readable medium described above in the present invention may be a computer-readable signal medium, a computer-readable storage medium, or any combination of the above. The computer-readable storage medium may be, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In the present invention, the computer-readable storage medium may be a tangible medium containing or storing a program that can be used in combination with the program, instruction execution system, apparatus, or device. Also in the present invention, the computer-readable signal medium may contain data signals propagated in the baseband or as part of a carrier carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination described above. The computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium for transmitting, propagating, or transmitting programs for use by or in combination with an instruction execution system, apparatus, or device. Program code contained in the computer-readable medium can be transmitted using any suitable medium, including but not limited to wired, fiber optic cables, RF (radio frequency), or any suitable combination described above.

[0134] In some embodiments, the client and server may communicate using any currently known or future-developed network protocol, such as HTTP (HyperText Transfer Protocol), and may be interconnected in any form or medium of digital data communication (e.g., communication network). Examples of communication networks include local area networks ("LANs"), wide area networks ("WANs"), networks (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), and any currently known or future-developed networks.

[0135] The computer-readable medium described above may be included in the electronic device described above, may exist separately, or may not be assembled into the electronic device.

[0136] The computer-readable medium described above carries one or more programs, and when the one or more programs described above are executed by the electronic device, the electronic device is instructed to perform the following actions: obtain at least two Internet Protocol addresses; send a node evaluation request to a node evaluation device including at least two Internet Protocol addresses, the node evaluation device selects and returns an Internet Protocol address from the at least two Internet Protocol addresses; and receive the Internet Protocol address returned by the node evaluation device, the obtained Internet Protocol address indicates an edge node in the content distribution network.

[0137] Alternatively, the computer-readable medium described above carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device receives a node evaluation request including at least two Internet Protocol addresses, selects an Internet Protocol address from the at least two Internet Protocol addresses, and returns the selected Internet Protocol address, where the received Internet Protocol address indicates an edge node in the content distribution network.

[0138] Computer program code for performing the operations of the present invention can be written in one or more programming languages ​​or a combination thereof, and the programming languages ​​mentioned above include object-oriented programming languages ​​such as Java, Smalltalk, and C++, and also include conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code may run entirely on the user's computer, partially on the user's computer, run as a standalone software package, run partially on the user's computer and partially on a remote computer, or run entirely on a remote computer or server. If a remote computer is involved, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or it may be connected to an external computer (for example, connected via the Internet using an Internet service provider).

[0139] The flowcharts and block diagrams in the drawings illustrate implementable architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present invention. From this perspective, each box in a flowchart or block diagram may contain one or more executable instructions for implementing a specified logical function and may represent a module, program segment, or part of code. It should also be noted that in some alternative implementations, the functions shown within a box may occur in a different order than shown in the drawings. For example, two boxes shown consecutively may actually be executed substantially in parallel, or, depending on the functions involved, in reverse order. It should also be noted that each box in a block diagram and / or flowchart, and combinations of boxes in a block diagram and / or flowchart, may be implemented in a dedicated hardware-based system that performs the specified function or operation, or in a combination of dedicated hardware and computer instructions.

[0140] Units described as being involved in embodiments of the present invention may be implemented by software or by hardware. In such cases, the names of the units do not constitute a limitation of the unit itself in any particular case. For example, a widget providing module may be described as "used to provide a module of a given widget, wherein the given widget is associated with a given creative interface of a given application."

[0141] The functions described herein may be performed, at least in part, by one or more hardware logic components. For example, non-limiting exemplary types of hardware logic components that may be used include field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standards (ASSPs), systems-on-a-chip (SOCs), and composite programmable logic devices (CPLDs).

[0142] In the context of the present invention, a machine-readable medium may be a tangible medium that contains or can store a program that can be used by an instruction execution system, apparatus, or device in combination with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.

[0143] According to one or more embodiments of the present invention, Example 1 provides a video processing method, the method is

[0144] In the video editing interface, color adjustment controls and video clips in the video editing draft are present.

[0145] In response to a trigger operation on the color adjustment control, a color matching function area is present in the video editing interface, wherein the color matching function area includes a template material addition control.

[0146] In response to an addition operation on the template material addition control, the image template material corresponding to the addition operation is obtained.

[0147] This includes performing a replacement operation on the selected video clip in the video editing draft based on the image template material, and making the replaced color-matched video clip present in the video editing interface.

[0148] The color-matched video clip is obtained by performing a color-matching operation on the selected video clip based on template color information corresponding to the image template material, and the color matching is characterized in that the video color information corresponding to the color-matched video clip and the template color information are the same.

[0149] According to one or more embodiments of the present invention, Example 2 is based on the method of Example 1, wherein the color matching functional area further includes a color intensity adjustment control, and accordingly, the method

[0150] The method further includes obtaining a color intensity corresponding to an adjustment operation on the color intensity adjustment control,

[0151] Performing a replacement operation on the selected video clip in the video editing draft based on the aforementioned image template material is:

[0152] The process involves performing a replacement operation on a selected video clip in the video editing draft based on the color intensity and the image template material, wherein the template color information corresponding to the color-matched video clip is obtained by adjusting the material color information corresponding to the image template material according to the color intensity.

[0153] According to one or more embodiments of the present invention, Example 3 is based on the method of Example 2, wherein the color matching function area further includes keyframe setting controls, and accordingly, the method

[0154] In response to a trigger operation on the keyframe setting control, the selected video frame in the selected video clip corresponding to the trigger operation is treated as a key video frame, and a key marker corresponding to the key video frame is made present in the video editing interface.

[0155] The method further includes determining the color intensity of at least one other video frame in the selected video clip, other than the key video frame, based on the color intensity of at least one key video frame,

[0156] Accordingly, performing a replacement operation on the selected video clip in the video editing draft based on the color intensity and the image template material is:

[0157] This includes performing a replacement operation on the selected video clip in the video editing draft based on the color intensity corresponding to at least two video frames in the selected video clip and the image template material,

[0158] The template color information corresponding to each video frame in the color-matching video clip is obtained by adjusting the source color information according to the color intensity of the corresponding video frame in the selected video clip.

[0159] According to one or more embodiments of the present invention, Example 4 is based on the method described in Example 1, wherein the color matching function area further includes a global application control, and accordingly, the method is

[0160] In response to a trigger operation on the global apply control, retrieve at least one unselected video clip in the video editing draft,

[0161] The method further includes performing a replacement operation on each of the unselected video clips based on the image template material, and making the replaced at least one reference matching video clip present in the video editing interface.

[0162] The aforementioned reference matching video clip is obtained by performing a color matching operation on the unselected video clip according to the template color information.

[0163] According to one or more embodiments of the present invention, Example 5, based on the method of Example 1, after presenting the replaced color-matched video clip in the video editing interface, the method is

[0164] If the color-matching video clip belongs to a composite clip, the method further includes performing a replacement operation on the color-matching video clip in response to a split operation on the color-matching video clip, and making the replaced at least two split video clips present in the video editing interface.

[0165] Each of the aforementioned split video clips is obtained by performing a color matching removal operation and a splitting operation on the color matching video clip, respectively.

[0166] According to one or more embodiments of the present invention, Example 6, based on the method of Example 1, wherein the color adjustment control is an adjustment track creation control, and accordingly, the color matching function area is present in the video editing interface, and the method is

[0167] Creating a color adjustment track in the track editing area of ​​the video editing interface, wherein the color adjustment track characterizes the color adjustment parameters between the video color information and the template color information,

[0168] Based on the video time segment corresponding to the video track in the aforementioned track editing area and the color time segment corresponding to the aforementioned color adjustment track, the currently overlapping time segment is determined,

[0169] The further includes treating the video content corresponding to the current overlapping time segment in the video editing draft as a selected video clip.

[0170] According to one or more embodiments of the present invention, Example 7, based on the method of Example 6, after presenting the replaced color-matched video clip in the video editing interface, the method is

[0171] In response to a track adjustment operation on the color adjustment track, the update overlap time segment is determined based on the video time segment and the adjustment time segment of the color adjustment track corresponding to the track adjustment operation, wherein the track adjustment operation includes a length adjustment operation and / or a drag displacement operation.

[0172] If there is no overlapping time segment between the update overlapping time segment and the matching time segment corresponding to the color matching video clip, the video content corresponding to the update overlapping time segment in the video editing draft shall be treated as the update video clip.

[0173] The method further includes simultaneously performing a replacement operation on the color-matched video clip and the updated video clip according to the color adjustment parameters, and making the replaced selected video clip and the color-adjusted video clip present in the video editing interface.

[0174] The color-adjusted video clip is obtained by performing a color adjustment operation on the video color information corresponding to the updated video clip according to the color adjustment parameters.

[0175] According to one or more embodiments of the present invention, Example 8 is based on the method described in Example 7, and the method is

[0176] If there is an overlapping time segment between the update overlapping time segment and the matching time segment corresponding to the color matching video clip, the initial matching time segment and the target matching time segment are determined based on the update overlapping time segment and the matching time segment.

[0177] The video content corresponding to the initial matching time segment in the color matching video clip is treated as the first update video clip, and the video content corresponding to the target matching time segment in the video editing draft is treated as the second update video clip,

[0178] The process further includes simultaneously performing a replacement operation on the first updated video clip and the second updated video clip according to the color adjustment parameters, and making the replaced first-color video clip and second-color video clip present in the video editing interface.

[0179] The first color video clip is video content corresponding to the initial matching time segment in the selected video clip, and the second color video clip is obtained by performing a color adjustment operation on the video color information corresponding to the second updated video clip according to the color adjustment parameters.

[0180] According to one or more embodiments of the present invention, Example 9 is based on the method described in Example 6, and the method is

[0181] In response to the replacement operation on the color-matched video clip, a video addition operation is performed at the corresponding video position of the color-matched video clip in the video editing draft, according to the color adjustment parameters.

[0182] The added replacement adjustment video clip is present in the video editing interface, wherein the replacement adjustment video clip is obtained by performing a color adjustment operation on the video color information of the replacement video clip corresponding to the color matching video clip according to the color adjustment parameters.

[0183] According to one or more embodiments of the present invention, Example 10, based on the method described in any one of Examples 1 to 9, the image template material is an image material in the video editing draft or other image material other than the video editing draft, and the image material is a single frame image or a video clip.

[0184] According to one or more embodiments of the present invention, Example 11 provides a video processing device, the device is

[0185] A color adjustment control presence module for presenting color adjustment controls and video clips in a video editing draft within a video editing interface,

[0186] A color matching function area presence module for making a color matching function area present in the video editing interface in response to a trigger operation on the color adjustment control, wherein the color matching function area includes a color matching function area presence module that includes a template material addition control.

[0187] An image template material acquisition module for acquiring an image template material corresponding to the addition operation in response to the template material addition control,

[0188] A color-matching video clip presence module is provided for performing a replacement operation on the selected video clip in the video editing draft based on the image template material, and for making the replaced color-matching video clip present in the video editing interface.

[0189] The color-matched video clip is obtained by performing a color-matching operation on the selected video clip based on template color information corresponding to the image template material, and the color matching is characterized in that the video color information corresponding to the color-matched video clip and the template color information are the same.

[0190] According to one or more embodiments of the present invention, Example 12 provides an electronic device, said electronic device is

[0191] At least one processor,

[0192] The system comprises a memory connected to at least one of the processors,

[0193] The memory stores a computer program that can be executed by the at least one processor, and the computer program, when executed by the at least one processor, can enable the at least one processor to perform the video processing method described in any one of Examples 1 to 10.

[0194] According to one or more embodiments of the present invention, Example 13 provides a computer-readable storage medium in which computer instructions are stored, and the computer instructions are used to implement the video processing method described in any one of Examples 1 to 10 by being executed by a processor.

[0195] The above description represents preferred embodiments of the present invention and merely describes the applicable technical principles. Those skilled in the art should understand that the scope of the invention as described herein is not limited to technical solutions formed by specific combinations of the above technical features, but also includes other technical solutions formed by any combination of the above technical features or equivalent features without departing from the concept of the invention. For example, it should be understood that this also includes technical solutions formed by switching between the above features and similar functional technical features disclosed herein (but not limited to these).

[0196] Furthermore, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed sequentially in a specific order or sequence shown. Multitasking and parallel processing may be advantageous in certain environments. Similarly, while some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the invention. Certain features described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment can also be implemented individually or in any suitable sub-combination in multiple embodiments.

[0197] While this subject matter has been described in terms specific to the structural features and / or the logical operation of the method, it should be understood that the subject matter limited in the attached claims is not necessarily limited to the specific features or operations described above. Conversely, the specific features and operations described above are merely illustrative forms of realizing the claims.

Claims

1. A video processing method, In the video editing interface, color adjustment controls and video clips in the video editing draft are present. In response to a trigger operation on the color adjustment control, a color matching function area is present in the video editing interface, wherein the color matching function area includes a template material addition control. In response to an addition operation on the template material addition control, the image template material corresponding to the addition operation is obtained. This includes performing a replacement operation on the selected video clip in the video editing draft based on the image template material, and making the replaced color-matched video clip present in the video editing interface. The color-matched video clip is obtained by performing a color-matching operation on the selected video clip based on template color information corresponding to the image template material, and the color matching is characterized in that the video color information corresponding to the color-matched video clip and the template color information are the same. The aforementioned video processing method.

2. The aforementioned color matching function area further includes color intensity adjustment control, Accordingly, the method described above is The method further includes obtaining a color intensity corresponding to an adjustment operation on the color intensity adjustment control, Performing a replacement operation on the selected video clip in the video editing draft based on the aforementioned image template material is: A replacement operation is performed on a selected video clip in the video editing draft based on the color intensity and the image template material, wherein the template color information corresponding to the color-matched video clip is obtained by adjusting the material color information corresponding to the image template material according to the color intensity. The method according to claim 1.

3. The aforementioned color matching function area further includes keyframe setting controls, Accordingly, the method described above is In response to a trigger operation on the keyframe setting control, the selected video frame in the selected video clip corresponding to the trigger operation is treated as a key video frame, and a key marker corresponding to the key video frame is made present in the video editing interface. The method further includes determining the color intensity of at least one other video frame in the selected video clip, other than the key video frame, based on the color intensity of at least one key video frame, Accordingly, performing a replacement operation on the selected video clip in the video editing draft based on the color intensity and the image template material is: This includes performing a replacement operation on the selected video clip in the video editing draft based on the color intensity corresponding to at least two video frames in the selected video clip and the image template material, The template color information corresponding to each video frame in the color-matching video clip is obtained by adjusting the source color information according to the color intensity of the corresponding video frame in the selected video clip. The method according to claim 2.

4. The aforementioned color matching function area further includes global application control, Accordingly, the method described above is In response to a trigger operation on the global apply control, retrieve at least one unselected video clip in the video editing draft, The method further includes performing a replacement operation on each of the unselected video clips based on the image template material, and making the replaced at least one reference matching video clip present in the video editing interface. The aforementioned reference matching video clip is obtained by performing a color matching operation on the unselected video clip according to the template color information. The method according to claim 1.

5. After making the replaced color-matched video clip present in the video editing interface, the method, If the color-matching video clip belongs to a composite clip, the further includes performing a replacement operation on the color-matching video clip in response to a split operation on the color-matching video clip, and making the replaced at least two split video clips present in the video editing interface. Each of the aforementioned split video clips is obtained by performing a color matching removal operation and a splitting operation on the color matching video clip, respectively. The method according to claim 1.

6. The aforementioned color adjustment control is an adjustment track creation control, Accordingly, the method presents a color matching function area in the video editing interface, and at the same time, Creating a color adjustment track in the track editing area of ​​the video editing interface, wherein the color adjustment track characterizes the color adjustment parameters between the video color information and the template color information, Based on the video time segment corresponding to the video track in the aforementioned track editing area and the color time segment corresponding to the aforementioned color adjustment track, the currently overlapping time segment is determined, This further includes treating the video content corresponding to the currently overlapping time segment in the video editing draft as a selected video clip, The method according to claim 1.

7. After making the replaced color-matched video clip present in the video editing interface, the method, In response to a track adjustment operation on the color adjustment track, the update overlap time segment is determined based on the video time segment and the adjustment time segment of the color adjustment track corresponding to the track adjustment operation, wherein the track adjustment operation includes a length adjustment operation and / or a drag displacement operation. If there is no overlapping time segment between the update overlapping time segment and the matching time segment corresponding to the color matching video clip, the video content corresponding to the update overlapping time segment in the video editing draft shall be treated as the update video clip. The method further includes simultaneously performing a replacement operation on the color-matched video clip and the updated video clip according to the color adjustment parameters, and making the replaced selected video clip and the color-adjusted video clip present in the video editing interface. The color-adjusted video clip is obtained by performing a color adjustment operation on the video color information corresponding to the updated video clip according to the color adjustment parameters. The method according to claim 6.

8. If there is an overlapping time segment between the update overlapping time segment and the matching time segment corresponding to the color matching video clip, the initial matching time segment and the target matching time segment are determined based on the update overlapping time segment and the matching time segment. The video content corresponding to the initial matching time segment in the color matching video clip is treated as the first update video clip, and the video content corresponding to the target matching time segment in the video editing draft is treated as the second update video clip, The process further includes simultaneously performing a replacement operation on the first updated video clip and the second updated video clip according to the color adjustment parameters, and making the replaced first color video clip and second color video clip present in the video editing interface. The first color video clip is video content corresponding to the initial matching time segment in the selected video clip, and the second color video clip is obtained by performing a color adjustment operation on the video color information corresponding to the second updated video clip according to the color adjustment parameters. The method according to claim 7.

9. In response to the replacement operation on the color-matched video clip, a video addition operation is performed at the corresponding video position of the color-matched video clip in the video editing draft, according to the color adjustment parameters. The addition of a replacement adjustment video clip is present in the video editing interface, wherein the replacement adjustment video clip is obtained by performing a color adjustment operation on the video color information of the replacement video clip corresponding to the color matching video clip according to the color adjustment parameters, further comprising: The method according to claim 6.

10. The aforementioned image template material is an image material in the video editing draft or other image material other than the video editing draft, and the aforementioned image material is a single-frame image or a video clip. The method according to any one of claims 1 to 9.

11. A video processing device, A color adjustment control presence module for presenting color adjustment controls and video clips in a video editing draft within a video editing interface, A color matching function area presence module for making a color matching function area present in the video editing interface in response to a trigger operation on the color adjustment control, wherein the color matching function area includes a color matching function area presence module that includes a template material addition control. An image template material acquisition module for acquiring an image template material corresponding to the addition operation in response to the template material addition control, A color-matching video clip presence module is provided for performing a replacement operation on the selected video clip in the video editing draft based on the image template material, and for making the replaced color-matching video clip present in the video editing interface. The color-matched video clip is obtained by performing a color-matching operation on the selected video clip based on template color information corresponding to the image template material, and the color matching is characterized in that the video color information corresponding to the color-matched video clip and the template color information are the same. Video processing device.

12. It is an electronic device, At least one processor, The system comprises a memory connected to at least one of the processors, The memory stores a computer program that can be executed by the at least one processor, and the computer program, when executed by the at least one processor, can enable the at least one processor to perform the video processing method described in any one of claims 1 to 10. Electronic devices.

13. A computer-readable storage medium, The computer-readable storage medium stores computer instructions, and these computer instructions are used to implement the video processing method described in any one of claims 1 to 10 by being executed by a processor. Computer-readable storage medium.

14. A computer program product, The computer program product is stored in tangible form on a computer storage medium and includes a computer executable instruction, which, when executed by a device, causes the device to execute the video processing method described in any one of claims 1 to 10. Computer program products.