Video processing method and device, electronic equipment and storage medium

By displaying the color matching functional area in the video editing interface and using image template materials for color matching, the problem of traditional video editing tools requiring manual color adjustment is solved, reducing operation complexity and improving editing efficiency.

CN119729091APending Publication Date: 2025-03-28BEIJING ZITIAO NETWORK TECH CO LTD

Patent Information

Application Number
CN202311279390.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-28
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

Traditional video editing tools require manual color adjustment operations, resulting in complex operation, high difficulty in use and low efficiency.

Method used

Display the color adjustment control and video clips in the video editing interface. In response to the trigger operation of the color adjustment control, the color matching function area is displayed, and the color matching operation is performed on the selected video clips according to the acquired image template material.

Benefits of technology

It reduces the operation complexity and difficulty of color adjustment, improves video editing efficiency, and realizes automated color matching functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119729091A_ABST
    Figure CN119729091A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a video processing method and device, electronic equipment and a storage medium. The method comprises the following steps: displaying a color adjustment control and a video clip in a video editing draft in a video editing interface; in response to a trigger operation on the color adjustment control, displaying a color matching functional area in the video editing interface; wherein the color matching function area comprises a template material adding control; in response to an adding operation on the template material adding control, acquiring an image template material corresponding to the adding operation; according to the image template material, performing replacement operation on the selected video clip in the video editing draft, and displaying the replaced color matching video clip in the video editing interface; wherein the color matching represents that the video color information corresponding to the color matching video clip is the same as the template color information. According to the embodiment of the invention, the operation complexity and the use difficulty of color adjustment are reduced, and the video editing efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to data processing technology, and more particularly to a video processing method, device, electronic device, and storage medium. Background Art

[0002] With the rapid development of mobile Internet, users have an increasing demand for video editing applications. In the process of video editing, it is usually necessary to adjust the color of the video material. At present, the color adjustment of video materials depends on the user to manually adjust the color through a series of color adjustment tools provided by the application, which makes the color adjustment function complicated to operate, difficult to use and low in efficiency.

[0003] Public Content

[0004] The present disclosure provides a video processing method, device, electronic device and storage medium to solve the problem that traditional video editing tools need to manually perform color adjustment operations, reduce the operation complexity and usage difficulty of the color adjustment function, and improve video editing efficiency.

[0005] In a first aspect, an embodiment of the present disclosure provides a video processing method, the method comprising:

[0006] Display color adjustment controls and video clips in the video editing draft in the video editing interface;

[0007] In response to a triggering operation on the color adjustment control, a color matching function area is displayed in the video editing interface; wherein the color matching function area includes a template material adding control;

[0008] In response to an adding operation of adding a control to the template material, acquiring an image template material corresponding to the adding operation;

[0009] According to the image template material, a replacement operation is performed on the selected video segment in the video editing draft, and the replaced color-matched video segment is displayed in the video editing interface;

[0010] The color matching video clip is obtained by performing a color matching operation on the selected video clip according to the template color information corresponding to the image template material, and the color matching indicates that the video color information corresponding to the color matching video clip is the same as the template color information.

[0011] In a second aspect, an embodiment of the present disclosure further provides a video processing device, the device comprising:

[0012] A color adjustment control display module is used to display color adjustment controls and video clips in a video editing draft in a video editing interface;

[0013] A color matching function area display module, used to display a color matching function area in the video editing interface in response to a triggering operation on the color adjustment control; wherein the color matching function area includes a template material adding control;

[0014] An image template material acquisition module, configured to, in response to an adding operation of adding a control to the template material, acquire the image template material corresponding to the adding operation;

[0015] A color matching video clip display module is used to perform a replacement operation on the selected video clip in the video editing draft according to the image template material, and display the replaced color matching video clip in the video editing interface;

[0016] The color matching video clip is obtained by performing a color matching operation on the selected video clip according to the template color information corresponding to the image template material, and the color matching indicates that the video color information corresponding to the color matching video clip is the same as the template color information.

[0017] In a third aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:

[0018] at least one processor; and

[0019] a memory communicatively connected to the at least one processor; wherein,

[0020] The memory stores a computer program that can be executed 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 the video processing method described in any embodiment of the present disclosure.

[0021] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the video processing method described in any embodiment of the present disclosure when executed.

[0022] The technical solution of the embodiment of the present disclosure is to display color adjustment controls and video clips in a video editing draft in a video editing interface, and display a color matching function area in the video editing interface in response to a triggering operation on the color adjustment control, wherein the color matching function area includes a template material adding control, and in response to an adding operation on the template material adding control, obtain an image template material corresponding to the adding operation, perform a replacement operation on a selected video clip in the video editing draft according to the image template material, and display 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 according to template color information corresponding to the image template material, and the color matching characterizes that the video color information corresponding to the color matching video clip is the same as the template color information. The embodiment of the present disclosure adds a color matching function to the video editing tool, solves the problem that traditional video editing tools need to manually perform color adjustment operations, reduces the operational complexity and difficulty of color adjustment, and improves video editing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0024] Figure 1 A flowchart of a video processing method provided by an embodiment of the present disclosure;

[0025] Figure 2 A schematic diagram of a video editing interface provided by an embodiment of the present disclosure;

[0026] Figure 3 A flowchart of another video processing method provided by an embodiment of the present disclosure;

[0027] Figure 4 A schematic diagram of another video editing interface provided by an embodiment of the present disclosure;

[0028] Figure 5 A flowchart of another video processing method provided by an embodiment of the present disclosure;

[0029] Figure 6 A schematic diagram of another video editing interface provided by an embodiment of the present disclosure;

[0030] Figure 7 A flowchart of another video processing method provided by an embodiment of the present disclosure;

[0031] Figure 8A schematic diagram of another video editing interface provided by an embodiment of the present disclosure;

[0032] Fig. 9 A schematic diagram of the structure of a video processing device provided by an embodiment of the present disclosure;

[0033] Fig.10 A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

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

[0035] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0036] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0037] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0038] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0039] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0040] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0041] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0042] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0043] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0044] Figure 1 This is a flowchart of a video processing method provided by an embodiment of the present disclosure. This embodiment is applicable to the case of editing and processing a video. The method can be executed by a video processing device. The video processing device can be implemented in the form of hardware and / or software. The video processing device can be configured in an electronic device, typically a mobile terminal or a computer. Figure 1 As shown, the method includes:

[0045] S110. Displaying color adjustment controls and video clips in the video editing draft in the video editing interface.

[0046] Exemplarily, the 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 display the preview screen obtained after the editing operation. Exemplarily, the video editing interface may also include a track editing area, specifically, the track editing area includes a video track, a timeline, and a timeline ruler, etc., and the video editing draft may be displayed in the video track in the track editing area. The functional distribution of the video editing interface is not limited here, and can be customized according to actual needs.

[0047] Specifically, the color adjustment control is used to trigger the color adjustment function of the video editing tool. Exemplarily, the color adjustment control is set in the editing function navigation area in the video editing interface, and the control type of the color adjustment control is a button control, which can be a command button. The control type of the color adjustment control is not limited here, and can be customized according to actual needs.

[0048] Specifically, the video editing draft contains at least one video clip, and each video clip contains at least one video frame. Exemplarily, the video editing draft can be an unprocessed video uploaded by the user, or a processed draft video pre-stored in the video editing tool, or a video spliced ​​from multiple pictures uploaded by the user, wherein the processing operations include but are not limited to manual color adjustment, adding special effects styles, and other operations. There is no limitation on the acquisition method of the video editing draft and the current editing status.

[0049] S120: In response to a triggering operation on the color adjustment control, display a color matching function area in the video editing interface.

[0050] Specifically, the color matching function area includes function controls related to color matching. In this embodiment, the color matching function area includes a template material adding control. Exemplarily, the control type of the template material adding control can be an upload control.

[0051] In an optional embodiment, the color matching function area also includes a color matching control. Accordingly, the method further includes: in response to a selection operation on the color matching control, setting the control editing state of the template material adding control to an editable state.

[0052] Exemplarily, the control type of the color matching control may be a button control, specifically a command button, or a radio button. The control type of the color matching control is not limited here, and may be customized according to actual needs.

[0053] S130: In response to an adding operation of adding a control to the template material, obtaining an image template material corresponding to the adding operation.

[0054] In an optional embodiment, the image template material is the image material in the video editing draft or other image material except the video editing draft, wherein the image material is a single-frame image or a video clip.

[0055] Exemplarily, in response to a trigger operation of adding a control to a template material, a template material selection window is displayed 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 of the first material control, a file list under a default material path is displayed. Exemplarily, the default material path may be a local material path of a device to which the client belongs, or a linked material path of a server. In response to a trigger operation of a second material control, at least one video frame in the video editing draft is displayed in the template material selection window.

[0056] S140. Perform a replacement operation on the selected video segment in the video editing draft according to the image template material, and display the replaced color-matched video segment in the video editing interface.

[0057] In an optional embodiment, the method further includes: in response to an editing operation on the video editing draft, obtaining a selected video segment in the video editing draft that corresponds to the editing operation; wherein the editing operation may be a click operation, a voice control operation, or a gesture control operation, and the editing operation may also be a dragging and displacement operation on the timeline ruler in the video editing interface, specifically, the video segment where the timeline ruler is located is taken as the selected video segment.

[0058] In this embodiment, the color matching video clip is obtained by performing a color matching operation on the selected video clip according to the template color information corresponding to the image template material, and the color matching indicates that the video color information corresponding to the color matching video clip is the same as the template color information.

[0059] Specifically, the video color information includes video frame information corresponding to at least one video frame. In an optional embodiment, the server or client uses the material color information of the image template material as the template color information, and obtains the target video frame in the selected video clip, determines the color adjustment parameters based on the template color information and the video frame color information of the target video frame, and performs color adjustment on the video frame color information corresponding to at least one video frame in the selected video frame based on the color adjustment parameters to obtain a color-matched video clip. Specifically, the target video frame is a video frame in the selected video clip where the timeline ruler is located, and it can also be a pre-set video frame, such as the first frame, second frame or last frame of the selected video clip. The method for selecting the target video frame is not limited here, and can be customized according to actual needs.

[0060] Based on the above embodiment, optionally, after displaying the replaced color matching video clip in the video editing interface, the method also includes: displaying a color matching mark in the video editing interface; in response to deselecting the color matching control, setting the control editing state of the template material adding control to an uneditable state, and replacing the color matching video clip in the video editing interface with the selected video clip.

[0061] Exemplarily, the color matching mark can be set at the video position corresponding to the selected video clip in the video editing draft, or on the color matching control, or around the color matching control. The setting position of the color matching mark is not limited here.

[0062] Exemplarily, when the control type of the color matching control is a command button, the uncheck operation may be a re-trigger operation of the color matching control. Specifically, the uncheck operation of the color matching control is used to hide the color matching effect of the selected video clip.

[0063] Figure 2 A schematic diagram of a video editing interface provided by an embodiment of the present disclosure. Specifically, the video editing interface includes a video editing draft 10, a color matching function area 20, and a color adjustment control 30, wherein the video editing draft 10 includes three video clips, "xx" and "yy" represent other editing function controls in the function navigation bar in the video editing interface, and the color matching function area includes a template material adding control 21 and a color matching control 22.

[0064] The technical solution of this embodiment is to display color adjustment controls and video clips in a video editing draft in a video editing interface, and display a color matching function area in the video editing interface in response to a triggering operation on the color adjustment control, wherein the color matching function area includes a template material adding control, and in response to an adding operation on the template material adding control, obtain an image template material corresponding to the adding operation, perform a replacement operation on the selected video clip in the video editing draft according to the image template material, and display 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 according to the template color information corresponding to the image template material, and the color matching indicates that the video color information corresponding to the color matching video clip is the same as the template color information. The disclosed embodiment adds a color matching function to the video editing tool, solves the problem that traditional video editing tools need to manually perform color adjustment operations, reduces the operational complexity and difficulty of color adjustment, and improves video editing efficiency.

[0065] Figure 3FIG. 4 is a flowchart of another video processing method provided by an embodiment of the present disclosure. This embodiment further refines the video processing method in the above embodiment. Figure 3 As shown, the method includes:

[0066] S210. Displaying color adjustment controls and video clips in the video editing draft in the video editing interface.

[0067] S220: In response to a triggering operation on the color adjustment control, display a color matching function area in the video editing interface.

[0068] S230: In response to an adding operation of adding a control to the template material, obtaining an image template material corresponding to the adding operation.

[0069] S210-S230 in this embodiment are similar to those in the above embodiment. Figure 1 The steps S110 - S130 shown are identical or similar to each other, and are not described in detail in this embodiment.

[0070] S240: In response to an adjustment operation on the color intensity adjustment control, obtain a color intensity corresponding to the adjustment operation.

[0071] Exemplarily, the control type of the color intensity adjustment control may be a text box control, a drop-down control, or a slider control. The control type of the color intensity adjustment control is not limited here, and may be customized according to actual needs.

[0072] S250: Perform a replacement operation on the selected video segment in the video editing draft according to the color intensity and the image template material, and display the replaced color-matched video segment in the video editing interface.

[0073] 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 can be 0 or 80, and the default color intensity corresponding to the material color information is not limited here, and can be customized according to actual needs.

[0074] In an optional embodiment, the server or client adjusts the color information of the material according to the color intensity to obtain template color information, determines color adjustment parameters according to the template color information and the video frame color information of the target video frame, and performs color adjustment on the video frame color information corresponding to at least one video frame in the selected video frames according to the color adjustment parameters to obtain a color-matched video clip.

[0075] On the basis of the above embodiment, optionally, the color matching function area further includes a key frame setting control, and accordingly, the method further includes: in response to a trigger operation on the key frame setting control, taking the selected video frame corresponding to the trigger operation in the selected video clip as a key video frame, and displaying the key mark corresponding to the key video frame in the video editing interface; based on the color intensity corresponding to at least one key video frame, determining the color intensity corresponding to at least one other video frame in the selected video clip except for each key video frame; accordingly, performing a replacement operation on the selected video clip in the video editing draft according to the color intensity and the image template material, includes: performing a replacement operation on the selected video clip in the video editing draft according to the color intensity corresponding to at least two video frames in the selected video clip and the image template material; wherein, 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.

[0076] Specifically, the selected video frame corresponding to the trigger operation may be a video frame in the selected video segment currently clicked and selected in the video editing interface, or a video frame in the selected video segment where the timeline ruler in the video editing interface is currently located. Exemplarily, the key mark may be set at the video frame position corresponding to the key video frame. The setting position of the key mark is not limited here, and can be customized according to actual needs.

[0077] In an optional embodiment, based on the color intensity corresponding to at least one key video frame, the color intensity corresponding to at least one other video frame in the selected video clip except the key video frames is determined, including: taking the first video frame, the last video frame and at least one key video frame in the selected video clip as reference video frames respectively; for every two adjacent reference video frames, taking the video content between the two reference video frames as the target video clip; and adjusting the color intensity corresponding to at least one video frame in the target video clip according to preset adjustment parameters and the color intensity corresponding to the two reference video frames; wherein the preset adjustment parameters include a preset adjustment rate and / or a preset adjustment curve.

[0078] Specifically, the preset adjustment rate represents the rate of change of the color intensity corresponding to the two video frames, and the preset adjustment curve represents the change trend of the color intensity corresponding to each video frame in the target video clip. Exemplarily, the preset adjustment curve can be a straight line or a sine curve. The preset adjustment curve is not limited here and can be customized according to actual needs.

[0079] In an optional embodiment, the server or client adjusts the material color information corresponding to the current video frame according to the color intensity corresponding to the current video frame for each video frame in the selected video clip to obtain the template color information corresponding to the current video frame, determines the color adjustment parameters corresponding to the current video frame according to the template color information of the current video frame and the video frame color information of the target video frame, adjusts the video frame color information of the current video frame according to the color adjustment parameters, and obtains the color matching video frame corresponding to the current video frame in the color matching video clip.

[0080] Based on the above embodiment, optionally, the method also includes: using at least one color intensity corresponding to the color matching video clip containing the key video frame as the default color intensity of the color matching video clip; in response to a re-adding operation of adding an option to the template material, obtaining an updated template material corresponding to the re-adding operation, performing a replacement operation on the color matching video clip in the video editing draft according to the updated template material, and displaying the replaced template updated video clip in the video editing interface.

[0081] In this embodiment, the template update video clip is obtained by performing a color matching operation on the selected video clip according to the template update information corresponding to the updated 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 updated template material according to the default color intensity of the corresponding video frame in the color matching video clip.

[0082] The advantage of this setting is that the color intensity of each video frame in the selected video clip is fixed through the keyframe setting operation so that it will not change with the update of the image template material, thereby further reducing the complexity and difficulty of color adjustment operations and improving video editing efficiency.

[0083] Figure 4 This is a schematic diagram of another video editing interface provided by an embodiment of the present disclosure. Specifically, Figure 4 The color matching function area 20 shown also includes a color intensity adjustment control 23 and a key frame setting control 24, wherein the second video clip in the video editing draft includes 4 video frames, the second video frame is set as a key video frame through the key frame setting control, and the key mark "◆" corresponding to the key video frame is displayed in the video editing interface.

[0084] The technical solution of this embodiment is to set a color intensity adjustment control in the color matching function area, respond to the adjustment operation of the color intensity adjustment control, obtain the color intensity corresponding to the adjustment operation, and perform a replacement operation on the selected video clip in the video editing draft according to 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, thereby solving the problem of the color matching effect of the color matching function being fixed, improving the adjustability of the matching effect of the color matching function, and realizing personalized setting of the color matching of the video.

[0085] Figure 5 FIG. 4 is a flowchart of another video processing method provided by an embodiment of the present disclosure. This embodiment further refines the video processing method in the above embodiment. Figure 5 As shown, the method includes:

[0086] S310: Display color adjustment controls and video clips in the video editing draft in the video editing interface.

[0087] S320: In response to a triggering operation on the color adjustment control, display a color matching function area in the video editing interface.

[0088] S330: In response to an adding operation of adding a control to the template material, obtaining an image template material corresponding to the adding operation.

[0089] S340: Perform a replacement operation on the selected video segment in the video editing draft according to the image template material, and display the replaced color-matched video segment in the video editing interface.

[0090] S310-S340 in this embodiment are similar to those in the above embodiment. Figure 1 The illustrated S110 - S140 correspond to the same or similar ones, and are not described in detail in this embodiment.

[0091] S350: In response to a triggering operation on the global application control, obtaining at least one unselected video segment in the video editing draft.

[0092] In this embodiment, the color matching function area also includes a global application control. Specifically, the global application control is used to trigger all unselected video clips in the video editing draft to perform color matching operations according to the template color information, and the unselected video clips are other video clips in the video editing draft except the selected video clip. Exemplarily, the control type of the global application control can be a button control, specifically a command button. The control type of the global application control is not limited here, and can be customized according to actual needs.

[0093] Based on the above embodiment, optionally, after displaying the replaced color matching video clip in the video editing interface, the method further includes: setting the control editing state of the global application control in the color matching function area to an editable state.

[0094] S360: Perform a replacement operation on each of the unselected video clips according to the image template material, and display the replaced at least one reference matching video clip in the video editing interface.

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

[0096] In an optional embodiment, the server or client obtains a target video frame in the unselected video segment for each unselected video segment, determines a color adjustment parameter based on the template color information and the video frame color information of the target video frame, and performs color adjustment on the video frame color information corresponding to at least one video frame in the unselected video frame based on the color adjustment parameter to obtain a reference matching video segment. Exemplarily, the target video frame in the unselected video segment may be a pre-set video frame, such as the first frame, the second frame, or the last frame of the unselected video segment. The method for selecting the target video frame is not limited here, and may be customized according to actual needs.

[0097] On the basis of the above embodiment, optionally, after displaying the replaced color-matching video clip in the video editing interface, the method further includes: when the color-matching video clip belongs to a composite clip, in response to a split operation on the color-matching video clip, performing a replacement operation on the color-matching video clip, and displaying at least two replaced split video clips in the video editing interface; wherein each of the split video clips is obtained by respectively performing a color matching clearing operation and a splitting operation on the color-matching video clip.

[0098] Specifically, the composite segment is used to represent a video segment obtained after performing a splicing operation on at least two video segments, and the split video segment can represent a video segment before performing a color matching operation and a splicing operation in a video editing draft.

[0099] The advantage of this setting is that it improves the applicable scenarios of the color matching function and improves the adaptability of the color matching function with the original functions in the video editing tools.

[0100] On the basis of the above embodiment, optionally, after displaying the replaced color-matching video clip in the video editing interface, the method further includes: in response to a replacement operation on the color-matching video clip, performing a video adding operation at a video position corresponding to the color-matching video clip in the video editing draft according to template color information, and displaying the added replacement matching video clip in the video editing interface; wherein the replacement matching video clip is obtained by performing a color matching operation on the video color information of the replacement video clip corresponding to the color-matching video clip according to the template color information.

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

[0102] On the basis of the above embodiment, optionally, the color matching function area further includes a contrast control, and the method further includes: in response to the selection operation of the contrast control, the selected video clip is synchronously displayed with the color matching video clip in the video editing interface, and in response to the unselection operation of the contrast control, the selected video clip displayed in the video editing interface is deleted; or, in response to the selection operation of the contrast control, the color matching video clip in the video editing interface is replaced with the selected video clip, and in response to the unselection operation of the contrast control, the selected video clip in the video editing interface is replaced with the color matching video clip. Specifically, the selection operation of the contrast control is used to compare the video color information of the selected video clip before and after the color matching. Exemplarily, the control type of the contrast control can be a button control, specifically a command button. The control type of the contrast control is not limited here, and can be customized according to actual needs.

[0103] Based on the above embodiment, optionally, the color matching function area further includes an undo control and a restore control, and the method further includes: in response to a trigger operation on the undo control, an undo prompt window is displayed in the video editing interface, and in response to a trigger operation on the confirmation control in the undo prompt window, the control editing state of the restore control is set to an editable state, and the color matching video clip in the video editing interface is replaced with the selected video clip; in response to a trigger operation on the restore control, a restore prompt window is displayed in the video editing interface, and in response to a trigger operation on the confirmation control in the restore prompt window, the selected video clip in the video editing interface is replaced with the color matching video clip.

[0104] Specifically, the triggering operation of the undo control is used to undo the current color matching operation corresponding to the selected video clip, and the triggering operation of the restore control is used to restore the previous color matching operation corresponding to the selected video clip. Exemplarily, the control type of the undo control / restore control can be a button control, specifically a command button. The control type of the undo control / restore control is not limited here, and can be customized according to actual needs.

[0105] Figure 6 This is a schematic diagram of another video editing interface provided by an embodiment of the present disclosure. Specifically, Figure 6 The color matching ribbon 20 is shown to also include a global apply control 25 , a reset control 26 , a contrast control 27 , an undo control 28 and a redo control 29 .

[0106] The technical solution of this embodiment is to set a global application control in the color matching function area, respond to the triggering operation of the global application control, obtain at least one unselected video segment in the video editing draft, perform a replacement operation on each unselected video segment according to the image template material, and display the replaced at least one reference matching video segment in the video editing interface, wherein the reference matching video segment is obtained by performing a color matching operation on the unselected video segment according to the template color information, thereby solving the problem that each video segment in the video editing draft needs to be manually operated to perform color matching, further reducing the operational complexity and difficulty of color adjustment, and improving video editing efficiency.

[0107] Figure 7 FIG. 4 is a flowchart of another video processing method provided by an embodiment of the present disclosure. This embodiment further refines the video processing method in the above embodiment. Figure 7 As shown, the method includes:

[0108] S410: Displaying the adjustment track creation controls and the video clips in the video editing draft in the video editing interface.

[0109] S420: In response to a triggering operation on the adjustment track creation control, a color matching function area is displayed in the video editing interface.

[0110] S410-S420 in this embodiment are similar to those in the above embodiment. Figure 1 The S110 - S120 shown correspond to the same or similar ones, and are not described in detail in this embodiment.

[0111] S430: Create a color adjustment track in the track editing area in the video editing interface.

[0112] Specifically, the color adjustment track is an editing track related to color matching in the track editing area in the video editing interface. In this embodiment, the color adjustment track represents the color adjustment parameters between the video color information and the template color information. Among them, the color adjustment parameters represent the color matching information between the video color information and the template color information. The method for obtaining the color adjustment parameters is the same or similar to the method for obtaining the color adjustment parameters in the above embodiment, and this embodiment will not be repeated here.

[0113] S440: In response to an adding operation of adding a control to the template material, obtaining an image template material corresponding to the adding operation.

[0114] S440 in this embodiment is similar to that in the above embodiment. Figure 1 The S130 shown corresponds to the same or similar steps, and will not be described in detail in this embodiment.

[0115] S450, determining a current overlapping time segment according to 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.

[0116] Specifically, the video track is used to represent the editing track with the same video time length as the video editing draft, the video time segment represents the time segment related to the video time length, the color time segment represents the interval segment related to the track time length of the color adjustment track, and the current overlapping time segment represents the overlapping time segment between the video time segment and the color time segment. For example, assuming that the video time segment is 00:10-00:20 and the color time segment is 00:15:00:30, the current overlapping time segment is 00:15-00:20.

[0117] S460: Use the video content in the video editing draft corresponding to the current overlapping time segment as the selected video segment.

[0118] The selected video segment in this embodiment can be a video segment in the video editing draft, or a combination of at least two video segments in the video editing draft in different proportions. Assuming that the current overlapping time segment is 00:15-00:20, the time segment of video segment 1 in the video editing draft is 00:10-00:17, and the time segment of video segment 2 is 00:17-00:20, the selected video segment includes the video content of 00:15-00:17 in video segment 1 and video segment 2.

[0119] S470: Perform a replacement operation on the selected video segment according to the image template material, and display the replaced color-matched video segment in the video editing interface.

[0120] S470 in this embodiment is similar to that in the above embodiment. Figure 1 The S140 shown corresponds to the same or similar steps, and will not be described in detail in this embodiment.

[0121] On the basis of the above embodiment, optionally, after displaying the replaced color-matching video clip in the video editing interface, the method further includes: in response to a track adjustment operation on the color adjustment track, determining an updated overlapping time segment according to the video time segment and the adjusted 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; in the case where there is no overlapping time segment between the updated overlapping time segment and the matching time segment corresponding to the color-matching video clip, using the video content corresponding to the updated overlapping time segment in the video editing draft as the updated video clip; according to the color adjustment parameters, performing a replacement operation on the color-matching video clip and the updated video clip at the same time, and displaying 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.

[0122] Specifically, the overlapping time segment is updated to represent 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 correspondingly, the time length of the selected video segment can also be changed. The drag displacement operation can change the relative time position of the color adjustment track relative to the fixed timeline, and correspondingly, the relative time position of the selected video segment relative to the fixed timeline can also be changed. Exemplarily, the fixed timeline can be the timeline corresponding to any video frame in the video editing draft.

[0123] Exemplarily, assuming that the update overlapping time segment is 00:10-00:30 and the matching time segment is 00:40-00:50, there is no overlapping time segment between the update overlapping time segment and the matching time segment.

[0124] Specifically, the selected video segment is used to replace the color matching video segment, and the color adjustment video segment is used to replace the updated video segment. In an optional embodiment, the server or the client performs color adjustment on the video frame color information corresponding to at least one video frame in the updated video segment according to the color adjustment parameter to obtain the color adjusted video segment.

[0125] On the basis of the above embodiment, optionally, the method also includes: in the case where there is an overlapping time segment between the update overlapping time segment and the matching time segment corresponding to the color matching video segment, determining an initial matching time segment and a target matching time segment according to the update overlapping time segment and the matching time segment; using the video content corresponding to the initial matching time segment in the color matching video segment as the first updated video segment, and using the video content corresponding to the target matching time segment in the video editing draft as the second updated video segment; according to the color adjustment parameters, simultaneously performing a replacement operation on the first updated video segment and the second updated video segment, and displaying the replaced first color video segment and the second color video segment in the video editing interface; wherein, the first color video segment is the video content corresponding to the initial matching time segment in the selected video segment, and the second color video segment is obtained by performing a color adjustment operation on the video color information corresponding to the second updated video segment according to the color adjustment parameters.

[0126] Exemplarily, assuming that the update overlapping time segment is 00:10-00:30 and the matching time segment is 00:20-00:50, there is an overlapping time segment 00:20-00:30 between the update overlapping time segment and the matching time segment.

[0127] Specifically, the initial matching time segment refers to the time segment in the matching time segment except the time segment overlapping with the update overlapping time segment, and the target matching time segment refers to the time segment in the update overlapping time segment except the time segment overlapping with the matching time segment. Taking the above example, the initial matching time segment is 00:30-00:50, and the target matching time segment is 00:10-00:20.

[0128] Specifically, the first color video segment is used to replace the first updated video segment, and the second color video segment is used to replace the second updated video segment.

[0129] On the basis of the above embodiment, optionally, the method also includes: in response to a replacement operation on the color-matching video clip, performing a video adding operation at a video position corresponding to the color-matching video clip in the video editing draft according to the color adjustment parameters; displaying the added replacement adjustment video clip 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.

[0130] In an optional embodiment, the server or client performs color adjustment on the video frame color information corresponding to at least one video frame in the replacement video segment according to the color adjustment parameter to obtain the replacement adjusted video segment. In this embodiment, since the color adjustment parameter is independently added to the color adjustment track, the replacement of the selected video segment in the video track does not affect the change of the color adjustment parameter.

[0131] Figure 8 This is a schematic diagram of another video editing interface provided by an embodiment of the present disclosure. Specifically, Figure 8 The video editing interface shown includes both the adjustment track creation control 40 and the color adjustment control 30 in the above embodiment. Both the color adjustment control 30 and the adjustment track creation control 40 can trigger the display operation of displaying the color matching function area in the video editing interface. Figure 8 The video editing interface shown also includes a color adjustment track created in response to a trigger operation on the adjustment track creation control 40. Specifically, the selected video clips corresponding to the color adjustment track include partial video content in the second video clip and the third video clip in the video editing draft.

[0132] The technical solution of this embodiment, by setting the color adjustment control as the adjustment track creation control, while displaying the color matching function area in the video editing interface, creates a color adjustment track in the track editing area in the video editing interface, wherein the color adjustment track represents the color adjustment parameters between the video color information and the template color information, determines the current overlapping time segment according to 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, and uses the video content corresponding to the current overlapping time segment in the video editing draft as the selected video clip, thereby solving the problem that each video clip in the video editing draft needs to manually execute the color matching step, improves the flexibility of color matching, further reduces the operational complexity and difficulty of color adjustment, and improves video editing efficiency.

[0133] It should be noted that the schematic diagram of the video editing interface in the above embodiment of the present disclosure is only an exemplary description of the video editing interface, and does not limit the attribute information such as the control type, control style and setting position of each control in the video editing interface. When the video processing method is applied to different terminal devices, such as a computer or a mobile terminal, the attribute information such as the control type, control style and setting position of each control may be the same or different.

[0134] The following is an embodiment of a video processing device provided in an embodiment of the present disclosure. The device and the video processing method of the above-mentioned embodiment belong to the same public concept. For details not described in detail in the embodiment of the video processing device, reference can be made to the contents about the video processing method in the above-mentioned embodiment.

[0135] Fig. 9 FIG. 1 is a schematic diagram of a video processing device provided by an embodiment of the present disclosure. Fig. 9 As shown, the device includes: a color adjustment control display module 510, a color matching function area display module 520, an image template material acquisition module 530 and a color matching video clip display module 540.

[0136] The color adjustment control display module 510 is used to display the color adjustment control and the video clips in the video editing draft in the video editing interface;

[0137] A color matching function area display module 520 is used to display a color matching function area in the video editing interface in response to a triggering operation on the color adjustment control; wherein the color matching function area includes a template material adding control;

[0138] The image template material acquisition module 530 is used to respond to the adding operation of adding the template material control, and acquire the image template material corresponding to the adding operation;

[0139] A color matching video clip display module 540 is used to perform a replacement operation on the selected video clip in the video editing draft according to the image template material, and display the replaced color matching video clip in the video editing interface;

[0140] The color matching video clip is obtained by performing a color matching operation on the selected video clip according to the template color information corresponding to the image template material, and the color matching indicates that the video color information corresponding to the color matching video clip is the same as the template color information.

[0141] The technical solution of this embodiment adds a color matching function to the video editing tool, solves the problem that traditional video editing tools need to manually perform color adjustment operations, reduces the operational complexity and difficulty of color adjustment, and improves video editing efficiency.

[0142] In an optional embodiment, the color matching function area further includes a color intensity adjustment control, and accordingly, the device further includes:

[0143] A color intensity acquisition module, configured to, in response to an adjustment operation on the color intensity adjustment control, acquire a color intensity corresponding to the adjustment operation;

[0144] The color matching video clip display module 540 includes:

[0145] A selected video clip replacement unit is used to perform a replacement operation on the selected video clip in the video editing draft according to 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.

[0146] In an optional embodiment, the color matching function area further includes a key frame setting control, and accordingly, the device further includes:

[0147] a key video frame determination module, configured to, in response to a trigger operation on the key frame setting control, use a selected video frame in the selected video segment corresponding to the trigger operation as a key video frame, and display a key mark corresponding to the key video frame in the video editing interface;

[0148] A color intensity determination module, configured to determine the color intensity corresponding to at least one other video frame in the selected video segment except each of the key video frames based on the color intensity corresponding to at least one key video frame;

[0149] Select the video clip replacement unit, specifically for:

[0150] Performing a replacement operation on the selected video segment in the video editing draft according to the color intensities respectively corresponding to at least two video frames in the selected video segment and the image template material;

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

[0152] In an optional embodiment, the color matching function area further includes a global application control, and accordingly, the device further includes:

[0153] A reference matching video segment display module is used to obtain at least one unselected video segment in the video editing draft in response to a triggering operation on the global application control;

[0154] According to the image template material, performing a replacement operation on each of the unselected video clips respectively, and displaying the replaced at least one reference matching video clip in the video editing interface;

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

[0156] In an optional embodiment, the device further comprises:

[0157] a split video segment display module, configured to, after displaying the replaced color matching video segment in the video editing interface, perform a replacement operation on the color matching video segment in response to a split operation on the color matching video segment when the color matching video segment belongs to a composite segment, and display the replaced at least two split video segments in the video editing interface;

[0158] Each of the split video segments is obtained by performing a color matching clearing operation and a splitting operation on the color matching video segment.

[0159] In an optional embodiment, the color adjustment control is a track creation control, and accordingly, the device further includes:

[0160] A color adjustment track creation module, used to create a color adjustment track in the track editing area in the video editing interface while displaying the color matching function area in the video editing interface; wherein the color adjustment track represents the color adjustment parameters between the video color information and the template color information;

[0161] A selected video segment determination module is used to determine a current overlapping time segment according to a video time segment corresponding to the video track in the track editing area and a color time segment corresponding to the color adjustment track;

[0162] The video content corresponding to the current overlapping time segment in the video editing draft is used as the selected video segment.

[0163] In an optional embodiment, the device further comprises:

[0164] An update overlap time segment determination module is used to determine an update overlap time segment in response to a track adjustment operation on the color adjustment track after displaying the replaced color matching video clip in the video editing interface, according to 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;

[0165] An update video segment determination module, configured to use the video content corresponding to the update overlapping time segment in the video editing draft as the update video segment if there is no overlapping time segment between the update overlapping time segment and the matching time segment corresponding to the color matching video segment;

[0166] A color adjustment video clip display module, used to simultaneously perform a replacement operation on the color matching video clip and the updated video clip according to the color adjustment parameters, and display the replaced selected video clip and the color adjustment video clip in the video editing interface;

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

[0168] In an optional embodiment, the device further comprises:

[0169] a target matching time segment determination module, configured to determine an initial matching time segment and a target matching time segment according to the update overlapping time segment and the matching time segment, 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;

[0170] A second updated video segment determination module is used to use the video content in the color matching video segment corresponding to the initial matching time segment as the first updated video segment, and use the video content in the video editing draft corresponding to the target matching time segment as the second updated video segment;

[0171] A second color video clip display module is used to simultaneously replace the first updated video clip and the second updated video clip according to the color adjustment parameter, and display the replaced first color video clip and the second color video clip in the video editing interface;

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

[0173] In an optional embodiment, the device further comprises:

[0174] A replacement adjustment video segment display module is used for performing a video adding operation at a video position corresponding to the color matching video segment in the video editing draft according to the color adjustment parameters in response to a replacement operation on the color matching video segment;

[0175] The added replacement adjusted video clip is displayed in the video editing interface; wherein the replacement adjusted 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.

[0176] In an optional embodiment, the image template material is the image material in the video editing draft or other image material except the video editing draft, wherein the image material is a single-frame image or a video clip.

[0177] The video processing device provided in the embodiments of the present disclosure can execute the video processing method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.

[0178] Reference below Fig.10 , which shows a schematic diagram of the structure of an electronic device (e.g., terminal device) 600 suitable for implementing the embodiment of the present disclosure. The terminal device in the embodiment of the present disclosure 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), vehicle-mounted terminals (e.g., vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig.10 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0179] like Fig.10 As shown, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 606 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 601, the ROM 602, and the 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.

[0180] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 606 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although Fig.10 The electronic device 600 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0181] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 609, or installed from a storage device 606, or installed from a ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0182] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

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

[0184] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0185] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: obtains at least two Internet Protocol addresses; sends a node evaluation request including at least two Internet Protocol addresses to a node evaluation device, wherein the node evaluation device selects an Internet Protocol address from the at least two Internet Protocol addresses and returns it; receives the Internet Protocol address returned by the node evaluation device; wherein the obtained Internet Protocol address indicates an edge node in a content distribution network.

[0186] Alternatively, the computer-readable medium 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; wherein the received Internet Protocol address indicates an edge node in a content distribution network.

[0187] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0188] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0189] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".

[0190] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0191] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. 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, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0192] According to one or more embodiments of the present disclosure, Example 1 provides a video processing method, including:

[0193] Display color adjustment controls and video clips in the video editing draft in the video editing interface;

[0194] In response to a triggering operation on the color adjustment control, a color matching function area is displayed in the video editing interface; wherein the color matching function area includes a template material adding control;

[0195] In response to an adding operation of adding a control to the template material, acquiring an image template material corresponding to the adding operation;

[0196] According to the image template material, a replacement operation is performed on the selected video segment in the video editing draft, and the replaced color-matched video segment is displayed in the video editing interface;

[0197] The color matching video clip is obtained by performing a color matching operation on the selected video clip according to the template color information corresponding to the image template material, and the color matching indicates that the video color information corresponding to the color matching video clip is the same as the template color information.

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

[0199] In response to an adjustment operation on the color intensity adjustment control, obtaining a color intensity corresponding to the adjustment operation;

[0200] The performing a replacement operation on the selected video segment in the video editing draft according to the image template material includes:

[0201] According to the color intensity and the image template material, a replacement operation is performed on the selected video clip in the video editing draft; 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.

[0202] According to one or more embodiments of the present disclosure, Example 3 is the method according to Example 2, wherein the color matching function area further includes a key frame setting control, and accordingly, the method further includes:

[0203] In response to a trigger operation on the key frame setting control, a selected video frame corresponding to the trigger operation in the selected video segment is used as a key video frame, and a key mark corresponding to the key video frame is displayed in the video editing interface;

[0204] Determining, based on the color intensity respectively corresponding to at least one key video frame, the color intensity respectively corresponding to at least one other video frame in the selected video segment except for each of the key video frames;

[0205] Accordingly, performing a replacement operation on the selected video segment in the video editing draft according to the color intensity and the image template material includes:

[0206] Performing a replacement operation on the selected video segment in the video editing draft according to the color intensities respectively corresponding to at least two video frames in the selected video segment and the image template material;

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

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

[0209] In response to a triggering operation on the global application control, obtaining at least one unselected video segment in the video editing draft;

[0210] According to the image template material, performing a replacement operation on each of the unselected video clips respectively, and displaying the replaced at least one reference matching video clip in the video editing interface;

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

[0212] According to one or more embodiments of the present disclosure, Example 5 is the method according to Example 1, and after displaying the replaced color-matched video clip in the video editing interface, the method further includes:

[0213] When the color matching video segment belongs to a composite segment, in response to a splitting operation on the color matching video segment, performing a replacement operation on the color matching video segment, and displaying at least two replaced split video segments in the video editing interface;

[0214] Each of the split video segments is obtained by performing a color matching clearing operation and a splitting operation on the color matching video segment.

[0215] According to one or more embodiments of the present disclosure, Example 6 is the method according to Example 1, wherein the color adjustment control is a track creation control, and accordingly, while displaying the color matching function area in the video editing interface, the method further includes:

[0216] Creating a color adjustment track in a track editing area in the video editing interface; wherein the color adjustment track represents a color adjustment parameter between the video color information and the template color information;

[0217] Determine a current overlapping time segment according to 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;

[0218] The video content corresponding to the current overlapping time segment in the video editing draft is used as the selected video segment.

[0219] According to one or more embodiments of the present disclosure, Example 7 is the method according to Example 6, and after displaying the replaced color-matched video clip in the video editing interface, the method further includes:

[0220] In response to a track adjustment operation on the color adjustment track, determining to update the overlapping time segment according to 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;

[0221] In the case where there is no overlapping time segment between the update overlapping time segment and the matching time segment corresponding to the color matching video segment, using the video content corresponding to the update overlapping time segment in the video editing draft as the update video segment;

[0222] According to the color adjustment parameters, a replacement operation is performed on the color matching video segment and the updated video segment at the same time, and the replaced selected video segment and the color adjustment video segment are displayed in the video editing interface;

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

[0224] According to one or more embodiments of the present disclosure, Example 8 is the method according to Example 7, wherein the method further includes:

[0225] In the case where there are overlapping time segments 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 according to the update overlapping time segment and the matching time segment;

[0226] Using the video content in the color matching video segment corresponding to the initial matching time segment as the first updated video segment, and using the video content in the video editing draft corresponding to the target matching time segment as the second updated video segment;

[0227] According to the color adjustment parameter, simultaneously performing a replacement operation on the first updated video segment and the second updated video segment, and displaying the replaced first color video segment and the second color video segment in the video editing interface;

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

[0229] According to one or more embodiments of the present disclosure, Example 9 is the method according to Example 6, wherein the method further includes:

[0230] In response to a replacement operation on the color matching video segment, performing a video adding operation at a video position corresponding to the color matching video segment in the video editing draft according to the color adjustment parameters;

[0231] The added replacement adjusted video clip is displayed in the video editing interface; wherein the replacement adjusted 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.

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

[0233] According to one or more embodiments of the present disclosure, Example 11 provides a video processing device, including:

[0234] A color adjustment control display module is used to display color adjustment controls and video clips in a video editing draft in a video editing interface;

[0235] A color matching function area display module, used to display a color matching function area in the video editing interface in response to a triggering operation on the color adjustment control; wherein the color matching function area includes a template material adding control;

[0236] An image template material acquisition module, configured to, in response to an adding operation of adding a control to the template material, acquire the image template material corresponding to the adding operation;

[0237] A color matching video clip display module is used to perform a replacement operation on the selected video clip in the video editing draft according to the image template material, and display the replaced color matching video clip in the video editing interface;

[0238] The color matching video clip is obtained by performing a color matching operation on the selected video clip according to the template color information corresponding to the image template material, and the color matching indicates that the video color information corresponding to the color matching video clip is the same as the template color information.

[0239] According to one or more embodiments of the present disclosure, Example 12 provides an electronic device, including:

[0240] at least one processor; and

[0241] a memory communicatively connected to the at least one processor; wherein,

[0242] The memory stores a computer program that can be executed 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 perform the video processing method described in any one of Examples 1 to 10.

[0243] According to one or more embodiments of the present disclosure, Example 13 provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the video processing method as described in any one of Examples 1 to 10 when executed.

[0244] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0245] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0246] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A video processing method, characterized in that: include: Display color adjustment controls and video clips in the video editing draft in the video editing interface; In response to a triggering operation on the color adjustment control, a color matching function area is displayed in the video editing interface; wherein the color matching function area includes a template material adding control; In response to an adding operation of adding a control to the template material, acquiring an image template material corresponding to the adding operation; According to the image template material, a replacement operation is performed on the selected video segment in the video editing draft, and the replaced color-matched video segment is displayed in the video editing interface; The color matching video clip is obtained by performing a color matching operation on the selected video clip according to the template color information corresponding to the image template material, and the color matching indicates that the video color information corresponding to the color matching video clip is the same as the template color information.

2. The method according to claim 1, characterized in that The color matching function area also includes a color intensity adjustment control, and accordingly, the method further includes: In response to an adjustment operation on the color intensity adjustment control, obtaining a color intensity corresponding to the adjustment operation; The performing a replacement operation on the selected video segment in the video editing draft according to the image template material includes: According to the color intensity and the image template material, a replacement operation is performed on the selected video clip in the video editing draft; 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.

3. The method according to claim 2, characterized in that The color matching function area also includes a key frame setting control, and accordingly, the method further includes: In response to a trigger operation on the key frame setting control, a selected video frame corresponding to the trigger operation in the selected video segment is used as a key video frame, and a key mark corresponding to the key video frame is displayed in the video editing interface; Determining, based on the color intensity respectively corresponding to at least one key video frame, the color intensity respectively corresponding to at least one other video frame in the selected video segment except for each of the key video frames; Accordingly, performing a replacement operation on the selected video segment in the video editing draft according to the color intensity and the image template material includes: Performing a replacement operation on the selected video segment in the video editing draft according to the color intensities respectively corresponding to at least two video frames in the selected video segment 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.

4. The method according to claim 1, characterized in that The color matching function area also includes a global application control, and accordingly, the method further includes: In response to a triggering operation on the global application control, obtaining at least one unselected video segment in the video editing draft; According to the image template material, performing a replacement operation on each of the unselected video clips respectively, and displaying the replaced at least one reference matching video clip in the video editing interface; The reference matching video segment is obtained by performing a color matching operation on the unselected video segment according to the template color information.

5. The method according to claim 1, characterized in that After displaying the replaced color-matched video clip in the video editing interface, the method further includes: When the color matching video segment belongs to a composite segment, in response to a splitting operation on the color matching video segment, performing a replacement operation on the color matching video segment, and displaying at least two replaced split video segments in the video editing interface; Each of the split video segments is obtained by performing a color matching clearing operation and a splitting operation on the color matching video segment.

6. The method according to claim 1, characterized in that The color adjustment control is a control for creating an adjustment track. Accordingly, while displaying a color matching function area in the video editing interface, the method further includes: Creating a color adjustment track in a track editing area in the video editing interface; wherein the color adjustment track represents a color adjustment parameter between the video color information and the template color information; Determine a current overlapping time segment according to 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 video content corresponding to the current overlapping time segment in the video editing draft is used as the selected video segment.

7. The method according to claim 6, characterized in that After displaying the replaced color-matched video clip in the video editing interface, the method further includes: In response to a track adjustment operation on the color adjustment track, determining to update the overlapping time segment according to 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; In the case where there is no overlapping time segment between the update overlapping time segment and the matching time segment corresponding to the color matching video segment, using the video content corresponding to the update overlapping time segment in the video editing draft as the update video segment; According to the color adjustment parameters, a replacement operation is performed on the color matching video segment and the updated video segment at the same time, and the replaced selected video segment and the color adjustment video segment are displayed in the video editing interface; The color-adjusted video segment is obtained by performing a color adjustment operation on the video color information corresponding to the updated video segment according to the color adjustment parameters.

8. The method according to claim 7, characterized in that The method further comprises: In the case where there are overlapping time segments 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 according to the update overlapping time segment and the matching time segment; Using the video content in the color matching video segment corresponding to the initial matching time segment as the first updated video segment, and using the video content in the video editing draft corresponding to the target matching time segment as the second updated video segment; According to the color adjustment parameter, simultaneously performing a replacement operation on the first updated video segment and the second updated video segment, and displaying the replaced first color video segment and the second color video segment in the video editing interface; Among them, the first color video segment is the video content corresponding to the initial matching time segment in the selected video segment, and the second color video segment is obtained by performing a color adjustment operation on the video color information corresponding to the second updated video segment according to the color adjustment parameters.

9. The method according to claim 6, characterized in that The method further comprises: In response to a replacement operation on the color matching video segment, performing a video adding operation at a video position corresponding to the color matching video segment in the video editing draft according to the color adjustment parameters; The added replacement adjusted video clip is displayed in the video editing interface; wherein the replacement adjusted 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.

10. The method according to any one of claims 1 to 9, characterized in that: The image template material is the image material in the video editing draft or other image material except the video editing draft, wherein the image material is a single-frame image or a video clip.

11. A video processing device, characterized in that: include: A color adjustment control display module is used to display color adjustment controls and video clips in a video editing draft in a video editing interface; A color matching function area display module, used to display a color matching function area in the video editing interface in response to a triggering operation on the color adjustment control; wherein the color matching function area includes a template material adding control; An image template material acquisition module, configured to, in response to an adding operation of adding a control to the template material, acquire the image template material corresponding to the adding operation; A color matching video clip display module is used to perform a replacement operation on the selected video clip in the video editing draft according to the image template material, and display the replaced color matching video clip in the video editing interface; The color matching video clip is obtained by performing a color matching operation on the selected video clip according to the template color information corresponding to the image template material, and the color matching indicates that the video color information corresponding to the color matching video clip is the same as the template color information.

12. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected 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 perform the video processing method according to any one of claims 1 to 10.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the video processing method according to any one of claims 1 to 10 when executed.

Citation Information

Patent Citations

  • Information display method and device, electronic equipment and storage medium

    CN113473204A

  • Video image processing method and video image processing device

    CN114331818A

  • Special effect configuration file generation method and device, equipment and medium

    CN115442639A

  • Media resource editing method and electronic equipment

    CN116634058A

Cited By

  • Video editing method, electronic equipment, storage medium and program product

    CN121665067A

  • Video editing method, electronic device, storage medium, and program product

    CN121665067B