Video processing method and device, electronic equipment and storage medium
By providing a copy control in the video editing interface, the attributes of the first video clip can be quickly copied and applied, solving the problem of cumbersome operation when editing multiple video clips and improving processing efficiency and user experience.
Patent Information
- Application Number
- CN202610083627.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-21
- Publication Date
- 2026-05-08
AI Technical Summary
In existing technologies, performing the same editing operations on multiple video segments during video processing is cumbersome and affects processing efficiency.
A video processing method is provided that, by displaying a copy control in the video editing interface, the attributes of a first video clip can be copied at once and applied to other video clips, simplifying the operation process.
It improves human-computer interaction efficiency and video processing efficiency, simplifies editing operations, and enhances the flexibility and controllability of video processing.
Smart Images

Figure CN122002069A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of multimedia technology, and in particular to a video processing method, apparatus, electronic device, and storage medium. Background Technology
[0002] With the development of multimedia technology, more and more users are accustomed to sharing things through videos. Before publishing a video, users usually edit multiple video clips using video editing applications to generate the video they need. To improve the coherence of the synthesized video, the same editing operations are often performed on multiple video clips, such as setting the same duration, the same filters, the same effects, and the same animations. Because the same editing operations need to be performed on each video clip, the process is cumbersome and affects video processing efficiency. Summary of the Invention
[0003] This disclosure provides a video processing method, apparatus, electronic device, and storage medium that can copy various attributes of a first video segment at once and apply them to other video segments, eliminating the need for the same editing operations on other video segments. It is simple to operate and improves human-computer interaction efficiency and video processing efficiency. The technical solution of this disclosure is as follows: According to one aspect of the embodiments of this disclosure, a video processing method is provided, comprising: In the video editing interface, a first video clip and a copy control are displayed. The copy control is used to copy a video clip that has the same editing information as at least one type of attribute of the first video clip. The editing information is used to indicate the editing operation that has been performed on at least one type of attribute of the first video clip. In response to a triggering operation of the copy control, a second video segment with at least one type of attribute editing information that is identical to the editing information of the first video segment is displayed in the video editing interface.
[0004] According to another aspect of the embodiments of this disclosure, a video processing apparatus is provided, comprising: The first display unit is configured to perform an operation in a video editing interface, displaying a first video clip and a copy control. The copy control is used to copy a video clip that has the same editing information as at least one type of attribute of the first video clip. The editing information is used to indicate the editing operation that has been performed on at least one type of attribute of the first video clip. The second display unit is configured to perform a response to a triggering operation of the copy control, displaying a second video segment in the video editing interface whose editing information of at least one type of attribute is the same as that of the first video segment.
[0005] In some embodiments, the copy control is a first copy control, which is used to copy a video segment that has the same editing information and video content as the first video segment; The second display unit is configured to perform a trigger operation on the first copy control in response to adding a second video segment to the video editing interface, displaying editing information that is identical to at least one type of attribute of the first video segment and having the same video content.
[0006] In some embodiments, the second display unit is further configured to perform a content replacement operation in response to the second video segment, keeping at least one type of attribute editing information unchanged, and replacing the video content of the second video segment with the video content of the third video segment.
[0007] In some embodiments, the first copy control copies multiple second video segments; The second display unit is configured to perform an operation in response to a batch replacement control in the video editing interface, displaying options for multiple video segments in the video editing interface, the multiple video segments including the first video segment and multiple second video segments; when an option for the multiple second video segments is selected, displaying multiple candidate video segments, the multiple candidate video segments including multiple third video segments with video content different from the multiple second video segments; when the multiple third video segments are selected, in the video editing interface, the editing information of the at least one type of attribute remains unchanged, and the video content of the multiple second video segments is replaced with the video content of the multiple third video segments.
[0008] In some embodiments, the copy control is a second copy control, which is used to copy a video segment with the same editing information as the first video segment but different video content; The second display unit is configured to perform a trigger operation in response to the second copy control, displaying a plurality of candidate video segments, including a second video segment whose video content is different from that of the first video segment; when the second video segment is selected, a second video segment is added to the video editing interface, displaying editing information that is the same as that of the first video segment in at least one type of attribute, but with different video content.
[0009] In some embodiments, the first display unit is further configured to display a quantity selection control in the video editing interface, the quantity selection control being used to obtain the number of copied video clips; The second display unit is further configured to perform a trigger operation in response to the copy control, displaying the first number of second video clips in the video editing interface based on the first number entered in the quantity selection control, wherein the editing information of at least one type of attribute of each second video clip is the same as the editing information of the first video clip.
[0010] In some embodiments, the first display unit is configured to display the first video clip and a third copy control in the video editing interface, wherein the third copy operation supports copying a video clip with the same editing information as the first video clip; when the first video clip is selected, in response to a first trigger operation on the third copy control, a first copy control and a second copy control are displayed, wherein the first copy control supports copying multiple video clips with the same editing information and video content as the first video clip, and the second copy control supports copying multiple video clips with the same editing information but different video content as the first video clip.
[0011] In some embodiments, the second display unit is further configured to perform at least one of the following: When the first video segment is selected, in response to a second trigger operation on the third copy control, in the video editing interface, the editing information of at least one type of attribute of a fourth video segment is displayed that is the same as the editing information of the first video segment, and the video content of the fourth video segment is different from the video content of the first video segment; When the first video segment is selected, in response to a third trigger operation on the third copy control, the editing information of at least one attribute of a fifth video segment is displayed in the video editing interface, which is the same as the editing information of the first video segment, and the video content of the fifth video segment is the same as the video content of the first video segment.
[0012] In some embodiments, the apparatus further includes: The third display unit is configured to perform a first trigger operation in response to the third copy control, displaying prompt information for the first copy control and prompt information for the second copy control, wherein the prompt information for each copy control is used to indicate the function of the copy control.
[0013] In some embodiments, the apparatus further includes: The fourth display unit is configured to execute the option of displaying multiple attributes of the first video clip in the video editing interface; The second display unit is configured to, in response to a triggering operation of the copy control, copy the editing information of the at least one type of attribute when an option of at least one type of attribute is selected, to obtain the editing information of the at least one type of attribute; and, based on the editing information of the at least one type of attribute, display a second video segment in the video editing interface whose editing information of the at least one type of attribute is the same as that of the first video segment.
[0014] In some embodiments, the second display unit is configured to display multiple media tracks in the video editing interface, each media track being used to display media added to the first video segment; when at least one of the multiple media tracks is selected, in response to a trigger operation of the copy control, copy the editing information of the media attributes in the at least one media track to obtain editing information of at least one type of attribute; based on the editing information of the at least one type of attribute, display a second video segment in the video editing interface whose editing information of the at least one type of attribute is the same as that of the first video segment.
[0015] In some embodiments, the apparatus further includes: The fifth display unit is configured to display a range selection control for the first video segment in the video editing interface, wherein the range selection control is used to obtain the time range of the copied editing information in the first video segment; The second display unit is configured to perform an adjustment operation on the range selection control to display the selected time range in the first video segment; in response to a trigger operation on the copy control, to copy the editing information of at least one type of attribute within the time range to obtain the editing information within the time range; and based on the editing information within the time range, to display a second video segment in the video editing interface whose editing information of at least one type of attribute is the same as the editing information within the time range of the first video segment, wherein the duration of the second video segment is equal to the duration of the time range.
[0016] In some embodiments, the first number of second video segments are existing video segments in the video editing interface; The second display unit is configured to perform an operation in response to a triggering operation of the copy control, copying editing information of at least one type of attribute of the first video segment; and, upon completion of the copying, in response to a parameter application operation on the second video segment, performing an editing operation indicated by the editing information on at least one type of attribute of the second video segment based on the copied editing information.
[0017] In some embodiments, the video editing interface displays multiple first video clips; The device further includes: The sixth display unit is configured to perform an operation in response to a triggering operation of the batch replacement control in the video editing interface, displaying options for the plurality of first video segments; when a second number of options for the first video segments are selected, displaying a plurality of candidate video segments; when a second number of sixth video segments among the plurality of candidate video segments are selected, in the video editing interface, the editing information of the second number of first video segments remains unchanged, and the video content of the second number of first video segments is replaced with the video content of the second number of sixth video segments.
[0018] According to another aspect of the embodiments of this disclosure, an electronic device is provided, the electronic device comprising: One or more processors; Memory used to store the executable program code of the processor; The processor is configured to execute the program code to implement the aforementioned video processing method.
[0019] According to another aspect of the present disclosure, a computer-readable storage medium is provided that, when program code in the computer-readable storage medium is executed by a processor of an electronic device, enables the electronic device to perform the video processing method described above.
[0020] According to another aspect of the present disclosure, a computer program product is provided, including a computer program / instructions that, when executed by a processor, implement the video processing method described above.
[0021] The solution provided in this embodiment provides a copy control in the video editing interface, which allows the editing information of various attributes of the first video segment to be copied directly through the copy control after editing the first video segment, and applied to the second video segment at once. This eliminates the need to perform the same editing operation on the second video segment to ensure that the attributes of the second video segment are the same as those of the first video segment. The operation is simple and can improve human-computer interaction efficiency, that is, improve video processing efficiency.
[0022] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0023] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure, and are not intended to unduly limit this disclosure.
[0024] Figure 1 This is a schematic diagram illustrating the implementation environment of a video processing method according to an exemplary embodiment.
[0025] Figure 2 This is a flowchart illustrating a video processing method according to an exemplary embodiment.
[0026] Figure 3 This is a flowchart illustrating another video processing method according to an exemplary embodiment.
[0027] Figure 4 This is a schematic diagram illustrating a copy control according to an exemplary embodiment.
[0028] Figure 5 This is a schematic diagram illustrating a method of copying to obtain multiple second video segments according to an exemplary embodiment.
[0029] Figure 6 This is a schematic diagram illustrating video content that replaces a second video segment according to an exemplary embodiment.
[0030] Figure 7 This is a schematic diagram illustrating a method of copying a video clip using a second copy control, according to an exemplary embodiment.
[0031] Figure 8 This is a block diagram illustrating a video processing apparatus according to an exemplary embodiment.
[0032] Figure 9 This is a block diagram illustrating a terminal according to an exemplary embodiment.
[0033] Figure 10 This is a block diagram illustrating a server according to an exemplary embodiment. Detailed Implementation
[0034] To enable those skilled in the art to better understand the technical solutions of this disclosure, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings.
[0035] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0036] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this disclosure are all authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the video clips and editing information involved in this disclosure were obtained with full authorization.
[0037] Figure 1 This is a schematic diagram illustrating an implementation environment of a video processing method according to an exemplary embodiment. Taking an electronic device as an example, see [example description missing]. Figure 1 The implementation environment specifically includes: terminal 101 and server 102.
[0038] Terminal 101 is at least one of the following devices: smartphone, smartwatch, desktop computer, laptop, MP3 player, MP4 player, and laptop computer. A video processing application is installed and runs on terminal 101. This application can be an editing (editing) application or a multimedia application; this embodiment does not limit the specific application. Users can log in to the application through terminal 101 to access the services provided by the application. For example, users can edit video clips through the application on terminal 101. During video clip processing, terminal 101 can directly apply the editing operations performed by the user on the duration, filters, effects, animation, and other attributes of a particular video clip to other video clips, making the duration, filters, effects, animation, and other attributes of different video clips identical.
[0039] Terminal 101 generally refers to one of a plurality of terminals; this embodiment uses terminal 101 as an example. Those skilled in the art will understand that the number of terminals can be more or less. For example, there may be several terminals, or dozens or hundreds of terminals, or even more. This disclosure does not limit the number of terminals or the type of device.
[0040] In some embodiments, server 102 can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), big data, and artificial intelligence platforms. Server 102 is used to provide background services for applications that support video processing. In some embodiments, server 102 undertakes the main computing work, and terminal 101 undertakes the secondary computing work; or, server 102 undertakes the secondary computing work, and terminal 101 undertakes the main computing work; or, server 102 and terminal 101 collaborate on computing using a distributed computing architecture.
[0041] Figure 2 This is a flowchart illustrating a video processing method according to an exemplary embodiment, see [link to flowchart]. Figure 2 The video processing method is applied in the terminal, and the video processing method includes the following steps: In step 201, the terminal displays a first video clip and a copy control in the video editing interface. The copy control is used to copy a video clip that has the same editing information as at least one type of attribute of the first video clip. The editing information is used to indicate the editing operation that has been performed on at least one type of attribute of the first video clip.
[0042] In this embodiment, the terminal displays a first video clip input by the user in a video editing interface. The user can edit at least one type of attribute of the first video clip through the video editing interface. After editing at least one type of attribute of the first video clip, the user can apply the editing information (or editing parameters) of the at least one type of attribute to other video clips. The at least one type of attribute of the first video clip may include material attributes such as filters, effects, animations, and background audio added to the first video clip, as well as basic attributes such as duration and playback speed; this embodiment does not limit these attributes. Correspondingly, the editing information of the first video clip may include element identifiers such as filter identifiers, effect identifiers, animation identifiers, and background audio identifiers, as well as specific values of attributes such as duration and playback speed; this embodiment does not limit these values.
[0043] The video editing interface displays a copy control, which allows users to copy editing information and control other video clips to use the same editing information as the first video clip. This embodiment does not limit the display position or display style of the copy control.
[0044] In step 202, in response to the triggering operation of the copy control, the terminal displays a second video segment in the video editing interface, whose editing information of at least one type of attribute is the same as that of the first video segment.
[0045] In this embodiment, when the copy control is triggered, the terminal copies the editing information of at least one type of attribute of the first video segment. Then, based on the copied editing information, the terminal processes at least one type of attribute of the second video segment to obtain a second video segment whose editing information of at least one type of attribute is the same as that of the first video segment. The terminal then displays the same editing information for the first and second video segments in the video editing interface. The video content of the first and second video segments may be the same, and this embodiment does not limit this.
[0046] The second video segment can be a video segment that did not previously exist in the video editing interface. That is, when inputting a new video segment into the video editing interface, the terminal can copy the editing information of an existing video segment, directly apply that editing information to the new video segment, and add and display the video segment processed based on the editing information in the video editing interface. Alternatively, the second video segment can also be an existing video segment in the video editing interface. That is, if multiple video segments are displayed in the video interface, the terminal can copy the editing information of any one video segment and apply that editing information to any other arbitrary video segment. This embodiment does not limit the second video segment.
[0047] This disclosure provides a video processing method that provides a copy control in the video editing interface. After editing a first video segment, the editing information of at least one type of attribute of the first video segment can be copied directly through the copy control and applied to a second video segment at once. This eliminates the need to perform the same editing operation on the second video segment to ensure that at least one type of attribute is the same as that of the first video segment. The operation is simple and can improve human-computer interaction efficiency, that is, improve video processing efficiency.
[0048] In some embodiments, the copy control is a first copy control, which is used to copy a video segment that has the same editing information and video content as the first video segment; In response to a triggering operation on the copy control, a second video segment is displayed in the video editing interface, whose editing information has at least one type of attribute that is identical to the editing information of the first video segment, including: In response to the triggering operation of the first copy control, a second video segment is added to the video editing interface, displaying the same editing information and video content as the first video segment with at least one type of attribute.
[0049] The solution provided in this disclosure provides a first copy control in the video editing interface, allowing users to copy a second video segment that shares at least one type of attribute editing information and video content with the first video segment. This eliminates the need to perform the same editing operation on the second video segment to ensure that at least one type of attribute is the same as the first video segment. The operation is simple and improves human-computer interaction efficiency, i.e., it improves video processing efficiency. Furthermore, after copying, users can boldly modify the new video segment while keeping the original video segment unchanged as a "safe backup." If the editing effect is not ideal, the copy can be deleted without affecting the original segment, thus enhancing the user experience.
[0050] In some embodiments, the method further includes: In response to the content replacement operation of the second video segment, while keeping at least one type of attribute editing information unchanged, the video content of the second video segment is replaced with the video content of the third video segment.
[0051] The solution provided in this disclosure, through a content switching operation, can directly replace the video content in the second video segment with the video content in the third video segment while keeping the editing information unchanged. This allows for the generation of video segments with the same editing information but different video content, without requiring the same editing operation on the third video segment. The operation is simple and can improve human-computer interaction efficiency, thereby improving video processing efficiency. Furthermore, this solution can decouple (or separate) the copying process from the switching process, which is beneficial for maintaining the stability of video processing and can enhance the flexibility and controllability of video processing.
[0052] In some embodiments, the first copy control copies multiple second video segments; In response to the content replacement operation of the second video segment, while keeping the editing information unchanged, the video content of the second video segment is replaced with the video content of the third video segment, including: In response to a trigger operation on the batch replace control in the video editing interface, display an option for multiple video clips in the video editing interface, including a first video clip and multiple second video clips; When the option to have multiple second video clips is selected, multiple candidate video clips are displayed, including multiple third second video clips whose video content differs from that of the multiple second video clips. When multiple third video clips are selected, the editing information of at least one type of attribute remains unchanged in the video editing interface, while the video content of multiple second video clips is replaced with the video content of multiple third video clips.
[0053] The solution provided in this embodiment addresses multiple second video segments that are identical in editing information and video content to the first video segment. By providing a batch replacement control in the video editing interface, users can replace the video content of multiple second video segments with the video content of multiple third video segments at once while keeping the editing information unchanged. The operation is simple and can improve human-computer interaction efficiency, that is, improve video processing efficiency.
[0054] In some embodiments, the copy control is a second copy control, which is used to copy a video segment that has the same editing information as the first video segment but different video content; In response to a triggering operation on the copy control, a second video segment is displayed in the video editing interface, whose editing information has at least one type of attribute that is identical to the editing information of the first video segment, including: In response to a triggering operation of the second copy control, multiple candidate video clips are displayed, including a second video clip whose video content differs from that of the first video clip; When the second video segment is selected, a second video segment is added to the video editing interface. This second video segment displays the same editing information as the first video segment in at least one type of attribute, but has different video content.
[0055] The solution provided in this embodiment provides a second copy control in the video editing interface, which allows the user to copy the editing information of the first video segment and automatically apply it to the second video segment specified by the user. This eliminates the need for the user to perform additional content switching operations, making the operation simpler and improving human-computer interaction efficiency, i.e., improving video processing efficiency. Furthermore, it conforms to the user's intention and improves the accuracy of video processing.
[0056] In some embodiments, the method further includes: In the video editing interface, a quantity selection control is displayed, which is used to obtain the number of video clips to be copied; In response to a triggering operation on the copy control, a second video segment is displayed in the video editing interface, whose editing information has at least one type of attribute that is identical to the editing information of the first video segment, including: In response to a trigger operation on the copy control, based on a first quantity entered in the quantity selection control, a first quantity of second video clips is displayed in the video editing interface, and the editing information of at least one attribute of each second video clip is the same as the editing information of the first video clip.
[0057] The solution provided in this disclosure provides a quantity selection control associated with a copy control in the video editing interface. This allows the user to directly control the number of subsequent video segments with the same editing information as the first video segment after editing the first video segment. Thus, when the copy control is triggered, the user-specified number of editing information is copied at once and applied to the user-specified number of second video segments. This eliminates the need to perform the same editing operation on each second video segment to ensure that the attributes of the second video segments are the same as those of the first video segment. Compared to solutions that copy only one attribute of editing information each time or copy editing information only once each time, this solution can copy multiple editing information at once and apply it to multiple second video segments at once. The operation is simple and can improve human-computer interaction efficiency, that is, improve video processing efficiency.
[0058] In some embodiments, the video editing interface displays a first video clip and a copy control, including: The video editing interface displays a first video clip and a third copy control. The third copy operation allows you to copy a video clip with the same editing information as the first video clip. When the first video segment is selected, in response to the first trigger operation of the third copy control, the first copy control and the second copy control are displayed. The first copy control supports copying multiple video segments with the same editing information and video content as the first video segment. The second copy control supports copying multiple video segments with the same editing information as the first video segment but different video content.
[0059] The solution provided in this embodiment first displays a third copy control in the video editing interface, allowing the user to copy a video segment with the same editing information as the first video segment each time, thus satisfying the user's most basic copying needs. Upon detecting a first trigger operation on the third copy control, the user's batch copying needs are determined. At this point, more controls supporting batch copying, such as the first and second copy controls, are displayed to meet the user's batch copying needs. This not only meets user requirements but also maintains the cleanliness of the video editing interface, resulting in a better user experience. Furthermore, this solution places the first and second copy controls under the logic of the third copy control, making it easier for users to understand the functions of the first and second copy controls and thus quickly apply the batch copying function, thereby improving human-computer interaction efficiency and video processing efficiency.
[0060] In some embodiments, the method further includes at least one of the following: When the first video segment is selected, in response to the second trigger operation of the third copy control, in the video editing interface, the editing information of at least one type of attribute of a fourth video segment is the same as the editing information of the first video segment, and the video content of the fourth video segment is different from the video content of the first video segment; When the first video segment is selected, in response to the third trigger operation of the third copy control, the editing information of at least one type of attribute of a fifth video segment is displayed in the video editing interface, which is the same as the editing information of the first video segment, and the video content of the fifth video segment is the same as the video content of the first video segment.
[0061] The solution provided in this disclosure provides a third copy control with multiple trigger operations and copy functions, enabling users to perform different trigger operations on the third copy control according to their copy needs, so that the third copy control can copy video clips that meet the user's needs. This not only avoids creating independent controls for each function, keeping the video editing interface simple and reducing visual complexity and cognitive burden, but also allows secondary functions to be executed without having to navigate through menus, thereby improving human-computer interaction efficiency and video processing efficiency.
[0062] In some embodiments, the method further includes: In response to a first trigger operation on the third copy control, prompts for the first copy control and the second copy control are displayed, with each copy control's prompt indicating its function.
[0063] The solution provided in this disclosure intuitively demonstrates the functions of each copy control to the user by displaying prompts for the first copy control and the second copy control. This improves information transmission efficiency and allows users to quickly trigger the appropriate copy control to obtain video clips that meet their needs, thereby improving human-computer interaction efficiency and video processing efficiency.
[0064] In some embodiments, the method further includes: The video editing interface displays multiple attributes of the first video clip; In response to a triggering operation on the copy control, a second video segment is displayed in the video editing interface, whose editing information has at least one type of attribute that is identical to the editing information of the first video segment, including: When at least one of the multiple attributes is selected, in response to the trigger operation of the copy control, the editing information of at least one attribute is copied to obtain the editing information of at least one attribute. Based on editing information of at least one type of attribute, a second video clip with editing information of at least one type of attribute that is the same as that of the first video clip is displayed in the video editing interface.
[0065] The solution provided in this disclosure, during the process of copying editing information of a video clip, displays multiple attributes of the video clip, allowing the user to select at least one attribute according to their needs. The user can then copy the editing information corresponding to that attribute using a copy control. This not only provides high flexibility and controllability, ensuring that the copied editing information meets the user's needs, thus guaranteeing the final video clip meets the user's requirements and ensuring the accuracy of video processing, but also eliminates the need to copy redundant information, thereby improving video processing efficiency.
[0066] In some embodiments, the method further includes: The video editing interface displays multiple media tracks, each used to display the media added to the first video clip; In response to a triggering operation on the copy control, a second video segment is displayed in the video editing interface, whose editing information has at least one type of attribute that is identical to the editing information of the first video segment, including: When at least one of multiple media tracks is selected, in response to a trigger operation on the copy control, the editing information of the media attributes in at least one media track is copied to obtain the editing information of at least one type of attribute; Based on editing information of at least one type of attribute, a second video clip with editing information of at least one type of attribute that is the same as that of the first video clip is displayed in the video editing interface.
[0067] The solution provided in this disclosure, during the process of copying editing information of video clips, displays multiple media tracks, allowing users to select at least one media track according to their needs. Users can then copy the editing information of the media attributes in the selected media track using a copy control. This not only offers high flexibility and controllability, ensuring that the copied editing information meets user requirements, thus guaranteeing the final video clip meets user needs and ensuring the accuracy of video processing, but also allows for targeted copying of editing information from the required media tracks, avoiding the copying of redundant track information and thereby improving video processing efficiency.
[0068] In some embodiments, the method further includes: In the video editing interface, a range selection control for the first video clip is displayed. The range selection control is used to obtain the time range of the copied editing information in the first video clip. In response to a triggering operation on the copy control, a second video segment is displayed in the video editing interface, whose editing information has at least one type of attribute that is identical to the editing information of the first video segment, including: In response to adjustments made to the range selection control, the selected time range within the first video clip is displayed; In response to a trigger operation on the copy control, the edit information of at least one type of attribute within the time range is copied to obtain the edit information within the time range; Based on the editing information within a time range, in the video editing interface, a second video segment is displayed that has at least one type of editing information that is the same as the editing information within the time range of the first video segment, and the duration of the second video segment is equal to the duration of the time range.
[0069] The solution provided in this disclosure, during the process of copying editing information of a video clip, allows users to select a time range within the video clip according to their needs by displaying a range selection control for the video clip. Users can then copy editing information of at least one type of attribute within that time range using the copy control, resulting in a video clip with the same editing information and duration as the one within that time range. This not only offers high flexibility and controllability, ensuring that the copied editing information meets user requirements, thus guaranteeing the accuracy of video processing, but also eliminates the need to copy redundant information, thereby improving video processing efficiency.
[0070] In some embodiments, the second video segment is an existing video segment in the video editing interface; In response to a triggering operation on the copy control, a second video segment is displayed in the video editing interface, whose editing information has at least one type of attribute that is identical to the editing information of the first video segment, including: In response to a trigger operation on the copy control, the editing information of at least one type of attribute of the first video segment is copied; Upon completion of copying, in response to the parameter application operation for the second video segment, based on the editing information of at least one type of attribute obtained from the copying, the editing operation indicated by the editing information is performed on at least one type of attribute of the second video segment.
[0071] The solution provided in this embodiment can copy the editing information of at least one type of attribute of any video segment when multiple video segments are displayed in the video editing interface, and apply the editing information of at least one type of attribute to any other video segment in the video editing interface. This eliminates the need for the user to manually perform the same editing operation on other video segments, making the operation simple and improving human-computer interaction efficiency, which in turn improves video processing efficiency.
[0072] In some embodiments, the video editing interface displays multiple first video clips; The method also includes: In response to a trigger operation on the batch replace control in the video editing interface, display an option to display multiple first video clips; If the option to select the second number of first video clips is selected, multiple candidate video clips are displayed; If the sixth video clip is selected out of a second number of candidate video clips, the editing information of the first video clip remains unchanged in the video editing interface, and the video content of the first video clip is replaced with the video content of the sixth video clip.
[0073] The solution provided in this embodiment targets multiple video segments in a video editing interface. By providing a batch replacement control in the video editing interface, users can replace the video content of multiple video segments with the video content of multiple other video segments at once while keeping the editing information unchanged. This eliminates the need to copy editing information, simplifies the operation, improves human-computer interaction efficiency, and thus enhances video processing efficiency.
[0074] The above Figure 2 The diagram shown is merely the basic process of this disclosure. The following section will further elaborate on the solution provided in this disclosure based on a specific implementation method. Figure 3 This is a flowchart illustrating another video processing method according to an exemplary embodiment. Taking an electronic device provided as a terminal as an example, see [link to example]. Figure 3 The method includes: In step 301, the terminal displays a first video clip and a third copy control in the video editing interface. The third copy operation supports copying a video clip with the same editing information as the first video clip.
[0075] In this embodiment of the disclosure, during video processing, the terminal displays a video editing interface for subsequent video editing. The video editing interface displays a video track and a third copy control. The video track displays at least one video segment uploaded by the user, including a first video segment. The third copy control can be used to copy editing information of at least one type of attribute of any video segment, and apply this editing information to other video segments to obtain video segments with the same editing information. This embodiment of the disclosure does not limit the display position and display style of the third copy control.
[0076] In some embodiments, when the first video segment is selected, in response to a second trigger operation on the third copy control, the terminal can display, in the video editing interface, editing information of at least one type of attribute of a fourth video segment that is the same as the editing information of the first video segment, while the video content of the fourth video segment is different from the video content of the first video segment. The second trigger operation may be a click operation, and this disclosure embodiment does not limit it to this.
[0077] In other embodiments, when the first video segment is selected, in response to a third trigger operation on the third copy control, the terminal displays editing information of at least one attribute of a fifth video segment in the video editing interface, which is the same as the editing information of the first video segment, and the video content of the fifth video segment is the same as the video content of the first video segment. The second trigger operation may be a double-click operation, and this disclosure embodiment does not limit it to this.
[0078] The solution provided in this disclosure provides a third copy control with multiple trigger operations and copy functions, enabling users to perform different trigger operations on the third copy control according to their copy needs, so that the third copy control can copy video clips that meet the user's needs. This not only avoids creating independent controls for each function, keeping the video editing interface simple and reducing visual complexity and cognitive burden, but also allows secondary functions to be executed without having to navigate through menus, thereby improving human-computer interaction efficiency and video processing efficiency.
[0079] In step 302, when the first video segment is selected, in response to the first trigger operation of the third copy control, the terminal displays the first copy control and the second copy control. The first copy control is used to copy a video segment that has the same editing information and video content as the first video segment, and the second copy control is used to copy multiple video segments that have the same editing information as the first video segment but different video content.
[0080] In this embodiment, the first triggering operation can be a long press operation, and this embodiment is not limited to this. The terminal first displays a third copy control in the video editing interface, allowing the user to copy a video segment with the same editing information as the first video segment each time, thus satisfying the user's most basic copying needs. Upon detecting the first triggering operation on the third copy control, the terminal determines the user's batch copying needs. At this time, it displays more controls that support batch copying, such as the first copy control and the second copy control, to meet the user's batch copying needs. This not only meets the user's needs but also ensures the cleanliness of the video editing interface and provides a better user experience. Furthermore, this solution places the first and second copy controls under the logic of the third copy control, making it easier for users to understand the functions of the first and second copy controls, thereby enabling them to quickly apply the batch copying function and improving human-computer interaction efficiency and video processing efficiency.
[0081] For example, Figure 4 This is a schematic diagram illustrating a copy control according to an exemplary embodiment. See also... Figure 4Video segment 1 refers to the first video segment mentioned above. The terminal displays a third copy control 401 at the bottom of the video editing interface. When the third copy control 401 is triggered, the terminal displays a copy operation panel 402. The copy operation panel 402 displays a first copy control 403 and a second copy control 404 to support batch copying by the user.
[0082] In some embodiments, in response to a first trigger operation on a third copy control, the terminal can also display prompts for the first copy control and the second copy control, whereby the prompts for each copy control are used to indicate the function of the copy control. The solution provided by this disclosure, by displaying prompts for the first and second copy controls, intuitively demonstrates the function of each copy control to the user, improving information transmission efficiency. This allows users to quickly trigger the appropriate copy control to obtain video clips that meet their needs, thereby improving human-computer interaction efficiency and video processing efficiency.
[0083] In step 303, in response to the triggering operation of the first copy control, the terminal adds a second video segment in the video editing interface, which displays the same editing information and video content as the first video segment with at least one type of attribute.
[0084] In this embodiment, the terminal provides a first copy control in the video editing interface, enabling users to copy a second video segment with the same editing information and video content as the first video segment. This eliminates the need to perform the same editing operation on the second video segment to ensure that the attributes of the second video segment are identical to those of the first video segment. The operation is simple and can improve human-computer interaction efficiency, i.e., improve video processing efficiency. Furthermore, after copying, users can make bold modifications to the new video segment while keeping the original video segment unchanged as a "safe backup." If the editing effect is not ideal, the copy can be deleted without affecting the original segment, thus improving the user experience.
[0085] The first copy control can copy multiple video clips with identical editing information and video content to the first video clip at once. Specifically, the terminal can display a quantity selection control in the video editing interface. The quantity selection control is used to obtain the number of video clips to be copied. Then, in response to the triggering operation of the first copy control, the terminal displays a first number of second video clips with identical editing information and video content to the first video clip in the video editing interface, based on the first quantity entered in the quantity selection control. The solution provided in this disclosure provides a quantity selection control associated with a copy control in the video editing interface. This allows the user to directly control the number of subsequent video segments with the same editing information as the first video segment after editing the first video segment. Thus, when the copy control is triggered, the user-specified number of editing information is copied at once and applied to the user-specified number of second video segments. This eliminates the need to perform the same editing operation on each second video segment to ensure that the attributes of the second video segments are the same as those of the first video segment. Compared to solutions that copy only one attribute of editing information each time or copy editing information only once each time, this solution can copy multiple editing information at once and apply it to multiple second video segments at once. The operation is simple and can improve human-computer interaction efficiency, that is, improve video processing efficiency.
[0086] For example, Figure 5 This is a schematic diagram illustrating a method of copying to obtain multiple second video segments according to an exemplary embodiment. See also... Figure 5 When the first copy control 501 is triggered, the terminal copies the first video segment 502 twice, resulting in two second video segments 503. The editing information and video content of each second video segment 503 are the same as those of the first video segment 502.
[0087] In some embodiments, for any copied second video segment, in response to a content replacement operation of the second video segment, the terminal can also keep the editing information unchanged and replace the video content of the second video segment with the video content of the third video segment. The solution provided by this disclosure, through a content switching operation, can directly replace the video content of the second video segment with the video content of the third video segment while keeping the editing information unchanged. This allows for the generation of video segments with the same editing information but different video content, eliminating the need for the same editing operation on the third video segment. The operation is simple and improves human-computer interaction efficiency, i.e., it improves video processing efficiency. Furthermore, this solution decouples (or separates) the copying process from the switching process, which is beneficial for maintaining the stability of video processing and enhances the flexibility and controllability of video processing.
[0088] In this embodiment, multiple second video segments are copied, and the terminal can replace the video content of these multiple second video segments all at once. Correspondingly, in response to the triggering operation of the batch replacement control in the video editing interface, the terminal displays multiple video segment options in the video editing interface, including a first video segment and multiple second video segments. When multiple second video segment options are selected, the terminal displays multiple candidate video segments, including multiple third video segments whose video content differs from that of the multiple second video segments. When multiple third video segments are selected, the terminal displays in the video editing interface that the editing information remains unchanged, but the video content of the multiple second video segments is replaced with the video content of the multiple third video segments. The solution provided in this embodiment, for multiple second video segments copied with the same editing information and video content as the first video segment, provides a batch replacement control in the video editing interface, allowing users to replace the video content of multiple second video segments with the video content of multiple third video segments all at once while keeping the editing information unchanged. This is simple to operate, improves human-computer interaction efficiency, and thus improves video processing efficiency.
[0089] In the process of replacing video content, the number of second video segments and the number of third video segments are equal, meaning that the second video segments and the third video segments are replaced one by one. Alternatively, the number of second video segments is greater than the number of third video segments, meaning that the video content of multiple second video segments can be replaced with the video content of the same third video segment. This disclosure does not limit this aspect.
[0090] For example, Figure 6 This is a schematic diagram illustrating a method for replacing video content in a second video segment according to an exemplary embodiment. See also... Figure 6 When the batch replacement control 601 is triggered, the terminal displays multiple video clip options in the video editing interface. When the options for two second video clips 602 are selected, the terminal displays multiple candidate video clips. When videos 5 and 6 are selected, the terminal displays the same editing information in the video editing interface, but the video content of the two second video clips 602 is replaced with the video content of videos 5 and 6.
[0091] In step 304, in response to the triggering operation of the second copy control, the terminal displays multiple candidate video segments, including a second video segment whose video content is different from that of the first video segment; when the second video segment is selected, in the video editing interface, a second video segment is added that displays the same editing information as the first video segment in at least one type of attribute, but with different video content.
[0092] In this embodiment of the disclosure, by providing a second copy control in the video editing interface, the user can copy the editing information of the first video segment through the second copy control, and the information can be automatically applied to the second video segment specified by the user without the user having to perform additional content switching operations. This not only makes the operation simpler and improves the efficiency of human-computer interaction, i.e., improves the efficiency of video processing, but also conforms to the user's intention and improves the accuracy of video processing.
[0093] For example, Figure 7 This is a schematic diagram illustrating the copying of a video clip using a second copy control according to an exemplary embodiment. See also... Figure 7 When the second copy control 701 is triggered, the terminal displays multiple candidate video clips. When video 5 and video 6 are selected, the terminal adds two second video clips 702 (i.e., video 5 and video 6) to the video editing interface. The editing information of video 5 and video 6 is the same as the editing information of the first video clip 703.
[0094] The second copy control can copy multiple video segments with the same editing information as the first video segment but different video content at once. Specifically, the terminal can display a quantity selection control in the video editing interface. The quantity selection control is used to obtain the number of video segments to be copied. Then, in response to the triggering operation of the second copy control, the terminal displays a first number of second video segments with the same editing information as the first video segment but different video content in the video editing interface, based on the first quantity entered in the quantity selection control. The solution provided by this embodiment can copy a user-specified number of editing information at once and apply it to a user-specified number of second video segments at once. It eliminates the need to perform the same editing operation on each second video segment to ensure that the attributes of the second video segments are the same as those of the first video segment. Compared with solutions that copy only one attribute of editing information each time or copy editing information only once each time, this solution can copy multiple editing information at once and apply it to multiple second video segments at once. The operation is simple and can improve human-computer interaction efficiency, that is, improve video processing efficiency.
[0095] In some embodiments, video clips may include material attributes such as filters, special effects, animations, and background audio, as well as basic attributes such as duration and playback speed. The terminal may also selectively copy editing information of individual attributes and apply it to other video clips.
[0096] In some embodiments, the terminal displays options for multiple attributes of a first video segment in a video editing interface. Then, when at least one attribute option is selected, in response to a trigger operation of the copy control, the terminal copies the editing information of at least one attribute to obtain the edited information of at least one attribute. Based on the edited information of at least one attribute, the terminal displays a second video segment in the video editing interface whose edited information of at least one attribute is the same as that of the first video segment. The solution provided by this disclosure, during the process of copying the editing information of a video segment, allows the user to select at least one attribute according to their needs by displaying multiple attributes of the video segment. The user can then copy the editing information corresponding to that attribute using the copy control. This not only provides high flexibility and controllability, ensuring that the copied editing information meets the user's needs, thus ensuring the final video segment meets the user's requirements and guaranteeing the accuracy of video processing, but also eliminates the need to copy redundant information, thereby improving video processing efficiency.
[0097] For example, see continue. Figure 5 The animation, stickers, and filters of the first video clip 502 are selected, and correspondingly, the animation, stickers, and filters of the copied second video clip 503 are the same as those of the first video clip 502.
[0098] In other embodiments, the terminal displays multiple media tracks in the video editing interface, each media track displaying media added to a first video segment. Then, when at least one media track is selected, in response to a trigger operation of the copy control, the terminal copies the editing information of the media attributes in at least one media track to obtain editing information of at least one type of attribute. Then, based on the editing information of at least one type of attribute, the terminal displays a second video segment in the video editing interface with editing information of at least one type of attribute identical to that of the first video segment. The solution provided by the embodiments of this disclosure, in the process of copying the editing information of a video segment, allows the user to select at least one media track according to their needs by displaying multiple media tracks. The user can then copy the editing information of the media attributes in the selected media track using the copy control. This not only provides high flexibility and controllability, ensuring that the copied editing information meets the user's needs, thus ensuring that the final video segment meets the user's needs, i.e., ensuring the accuracy of video processing, but also allows for targeted copying of the editing information of the required media tracks, avoiding the copying of redundant track information, thereby improving video processing efficiency.
[0099] The two methods of selecting attributes described above can also be used in combination. Optionally, the terminal displays options for the media tracks corresponding to each of the multiple media attributes and multiple basic attributes (such as time and speed) in the video editing interface. When at least one of the multiple media attributes and multiple basic attributes is selected, in response to the triggering operation of the copy control, the terminal copies the editing information of at least one attribute to obtain the editing information of at least one attribute. Then, based on the editing information of at least one attribute, the terminal displays a second video clip in the video editing interface whose editing information of at least one attribute is the same as that of the first video clip.
[0100] In other embodiments, the terminal can also selectively copy edited information within specific time periods and apply it to other video segments. Accordingly, in the video editing interface, the terminal displays a range selection control for a first video segment, which is used to obtain the time range within which the copied edited information is located in the first video segment. Then, in response to an adjustment operation on the range selection control, the terminal displays the selected time range in the first video segment; in response to a trigger operation on the copy control, it copies edited information of at least one type of attribute within the time range to obtain the edited information within that time range; based on the edited information within that time range, in the video editing interface, a second video segment is displayed where the edited information of at least one type of attribute is the same as the edited information within the time range of the first video segment, and the duration of the second video segment is equal to the duration of the time range.
[0101] The solution provided in this disclosure, during the process of copying editing information of a video clip, allows users to select a time range within the video clip according to their needs by displaying a range selection control. Users can then copy the editing information within that time range using the copy control to obtain a video clip with the same editing information and duration. This not only offers high flexibility and controllability, ensuring that the copied editing information meets user requirements and thus guarantees the final video clip meets user needs (ensuring accuracy in video processing), but also eliminates the need to copy redundant information, thereby improving video processing efficiency.
[0102] For example, see continue. Figure 5 In the first video segment 502, the selected time range is the first 5.0 seconds. Correspondingly, the editing information of the copied second video segment 503 is the same as the editing information of the first video segment 502 within the first 5.0 seconds, and the duration of each second video segment 503 is 5.0 seconds.
[0103] In some embodiments, the second video segment is an existing video segment in the video editing interface. Then, the process of the terminal displaying the same editing information for the second video segment as the editing information for the first video segment includes: in response to a trigger operation on the copy control, the terminal copies the editing information of the first video segment; and, upon completion of the copying, in response to a parameter application operation for the second video segment, based on the copied editing information, performs the editing operation indicated by the editing information on the second video segment. The solution provided by this disclosure, when multiple video segments are displayed in the video editing interface, can copy the editing information of any video segment and apply that editing information to any other video segment in the video editing interface, without requiring the user to manually perform the same editing operation on other video segments. This simplifies the operation, improves human-computer interaction efficiency, and thus improves video processing efficiency.
[0104] In some embodiments, the terminal can also replace the video content of any video segment other than the copied one. Taking a first video segment as an example, multiple first video segments are displayed in the video editing interface. Then, in response to the triggering operation of the batch replacement control in the video editing interface, the terminal displays options for multiple first video segments; when a second number of first video segments are selected, multiple candidate video segments are displayed; when a second number of sixth video segments among the multiple candidate video segments are selected, the editing information of the second number of first video segments remains unchanged in the video editing interface, and the video content of the second number of first video segments is replaced with the video content of the second number of sixth video segments. The solution provided by the embodiments of this disclosure, for multiple video segments in the video editing interface, by providing a batch replacement control in the video editing interface, enables users to replace the video content of multiple video segments with the video content of multiple other video segments at once while keeping the editing information unchanged, without copying the editing information. The operation is simple and can improve human-computer interaction efficiency, that is, improve video processing efficiency.
[0105] This disclosure provides a video processing method that provides a copy control in the video editing interface. After editing a first video segment, the editing information of at least one type of attribute of the first video segment can be copied directly through the copy control and applied to a second video segment at once. This eliminates the need to perform the same editing operation on the second video segment to ensure that at least one type of attribute is the same as that of the first video segment. The operation is simple and can improve human-computer interaction efficiency, that is, improve video processing efficiency.
[0106] All of the above-mentioned optional technical solutions can be combined in any way to form optional embodiments of this disclosure, and will not be described in detail here.
[0107] Figure 8 This is a block diagram illustrating a video processing apparatus according to an exemplary embodiment. See also: Figure 8 The video processing device includes a first display unit 801 and a second display unit 802.
[0108] The first display unit 801 is configured to perform an operation in a video editing interface, displaying a first video clip and a copy control. The copy control is used to copy a video clip that has the same editing information as at least one type of attribute of the first video clip. The editing information is used to indicate the editing operation that has been performed on at least one type of attribute of the first video clip. The second display unit 802 is configured to perform a response to a trigger operation on the copy control, and in the video editing interface, display a second video clip whose editing information of at least one type of attribute is the same as that of the first video clip.
[0109] In some embodiments, the copy control is a first copy control, which is used to copy a video segment that has the same editing information and video content as the first video segment; The second display unit is configured to perform a trigger operation on the first copy control, adding a second video segment in the video editing interface that displays editing information with at least one type of attribute identical to that of the first video segment and has the same video content.
[0110] In some embodiments, the second display unit is further configured to perform a content replacement operation in response to the second video segment, keeping at least one type of attribute editing information unchanged, and replacing the video content of the second video segment with the video content of the third video segment.
[0111] In some embodiments, the first copy control copies multiple second video segments; The second display unit is configured to perform an operation in response to a batch replacement control in the video editing interface, displaying options for multiple video clips in the video editing interface, including a first video clip and multiple second video clips; when the option for multiple second video clips is selected, displaying multiple candidate video clips, including multiple third video clips whose video content differs from that of the multiple second video clips; when multiple third video clips are selected, in the video editing interface, the editing information of at least one type of attribute remains unchanged, and the video content of the multiple second video clips is replaced with the video content of the multiple third video clips.
[0112] In some embodiments, the copy control is a second copy control, which is used to copy a video segment that has the same editing information as the first video segment but different video content; The second display unit is configured to perform a response to a triggering operation of the second copy control, displaying multiple candidate video segments, including a second video segment whose video content is different from that of the first video segment; when the second video segment is selected, in the video editing interface, a second video segment is added that displays editing information that is the same as that of the first video segment in at least one type of attribute, but whose video content is different.
[0113] In some embodiments, the first display unit is further configured to display a quantity selection control in the video editing interface, the quantity selection control being used to obtain the number of copied video clips; The second display unit is also configured to perform a response to a trigger operation on the copy control, and display a first number of second video clips in the video editing interface based on a first number entered in the quantity selection control, wherein the editing information of each second video clip is the same as the editing information of the first video clip.
[0114] In some embodiments, the first display unit is configured to perform the following actions in a video editing interface: displaying a first video clip and a third copy control; the third copy operation supports copying a video clip with the same editing information as the first video clip; when the first video clip is selected, in response to a first trigger operation on the third copy control, displaying a first copy control and a second copy control; the first copy control supports copying multiple video clips with the same editing information and video content as the first video clip; the second copy control supports copying multiple video clips with the same editing information but different video content as the first video clip with at least one type of attribute.
[0115] In some embodiments, the second display unit is further configured to perform at least one of the following: When the first video segment is selected, in response to the second trigger operation of the third copy control, in the video editing interface, the editing information of at least one type of attribute of a fourth video segment is the same as the editing information of the first video segment, and the video content of the fourth video segment is different from the video content of the first video segment; When the first video segment is selected, in response to the third trigger operation of the third copy control, the editing information of at least one type of attribute of a fifth video segment is displayed in the video editing interface, which is the same as the editing information of the first video segment, and the video content of the fifth video segment is the same as the video content of the first video segment.
[0116] In some embodiments, the apparatus further includes: The third display unit is configured to perform a first trigger operation in response to a third copy control, displaying prompt information for the first copy control and prompt information for the second copy control, wherein the prompt information for each copy control is used to indicate the function of the copy control.
[0117] In some embodiments, the apparatus further includes: The fourth display unit is configured to execute the option of displaying multiple attributes of the first video clip in the video editing interface; The second display unit is configured to, in response to a trigger operation of the copy control, copy the editing information of at least one type of attribute when the option of at least one type of attribute is selected, thereby obtaining the editing information of at least one type of attribute; and, based on the editing information of at least one type of attribute, display a second video segment in the video editing interface whose editing information of at least one type of attribute is the same as that of the first video segment.
[0118] In some embodiments, the second display unit is configured to perform the following actions in a video editing interface: displaying multiple media tracks, each media track displaying media added to a first video segment; when at least one media track is selected, in response to a triggering operation of a copy control, copying the editing information of media attributes in at least one media track to obtain editing information of at least one type of attribute; and based on the editing information of at least one type of attribute, displaying a second video segment in the video editing interface whose editing information of at least one type of attribute is the same as that of the first video segment.
[0119] In some embodiments, the apparatus further includes: The fifth display unit is configured to display a range selection control for the first video segment in the video editing interface. The range selection control is used to obtain the time range of the copied editing information in the first video segment. The second display unit is configured to perform an operation in response to the adjustment of the range selection control, displaying the selected time range in the first video segment; in response to the triggering operation of the copy control, copying the editing information of at least one type of attribute within the time range to obtain the editing information within the time range; based on the editing information within the time range, displaying a second video segment in the video editing interface, wherein the editing information of at least one type of attribute is the same as the editing information within the time range of the first video segment, and the duration of the second video segment is equal to the duration of the time range.
[0120] In some embodiments, the first number of second video segments are existing video segments in the video editing interface; The second display unit is configured to perform an operation in response to a triggering operation of a copy control, copying editing information of at least one type of attribute of the first video segment; and, upon completion of the copying, in response to a parameter application operation for the second video segment, performing an editing operation on at least one type of attribute of the second video segment based on the copied editing information of at least one type of attribute.
[0121] In some embodiments, the video editing interface displays multiple first video clips; The device also includes: The sixth display unit is configured to perform an operation in response to a batch replacement control in the video editing interface, displaying options for multiple first video clips; when a second number of first video clips are selected, displaying multiple candidate video clips; when a second number of sixth video clips are selected among the multiple candidate video clips, in the video editing interface, the editing information of the second number of first video clips remains unchanged, and the video content of the second number of first video clips is replaced with the video content of the second number of sixth video clips.
[0122] This disclosure provides a video processing apparatus that, by providing a copy control in the video editing interface, allows the editing information of at least one type of attribute of the first video segment to be copied directly through the copy control after editing the first video segment, and applied to the second video segment at once. This eliminates the need to perform the same editing operation on the second video segment to ensure that at least one type of attribute is the same as that of the first video segment. The operation is simple and can improve human-computer interaction efficiency, that is, improve video processing efficiency.
[0123] It should be noted that the video processing apparatus provided in the above embodiments is only illustrated by the division of the above functional units when processing video segments. In practical applications, the above functions can be assigned to different functional units as needed, that is, the internal structure of the electronic device can be divided into different functional units to complete all or part of the functions described above. In addition, the video processing apparatus and video processing method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments, which will not be repeated here.
[0124] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0125] When an electronic device is provided as a terminal, Figure 9 This is a block diagram illustrating a terminal 900 according to an exemplary embodiment. The terminal... Figure 9A structural block diagram of a terminal 900 provided in an exemplary embodiment of this disclosure is shown. The terminal 900 may be a smartphone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III), MP4 player (Moving Picture Experts Group Audio Layer IV), laptop computer, or desktop computer. The terminal 900 may also be referred to as a user device, portable terminal, laptop terminal, desktop terminal, or other names.
[0126] Typically, terminal 900 includes a processor 901 and a memory 902.
[0127] Processor 901 may include one or more processing cores, such as a quad-core processor or an octa-core processor. Processor 901 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 901 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 901 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 901 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.
[0128] The memory 902 may include one or more computer-readable storage media, which may be non-transitory. The memory 902 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 902 are used to store at least one computer program, which is executed by the processor 901 to implement the video processing method provided in the method embodiments of this application.
[0129] In some embodiments, the terminal 900 may also optionally include a peripheral device interface 903 and at least one peripheral device. The processor 901, memory 902, and peripheral device interface 903 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 903 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 904, a display screen 905, a camera assembly 906, an audio circuit 907, and a power supply 908.
[0130] Peripheral device interface 903 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 901 and memory 902. In some embodiments, processor 901, memory 902 and peripheral device interface 903 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 901, memory 902 and peripheral device interface 903 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0131] The radio frequency (RF) circuit 904 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 904 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 904 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. In some embodiments, the RF circuit 904 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 904 can communicate with other terminals through at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 904 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.
[0132] Display screen 905 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 905 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 901 for processing. In this case, display screen 905 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 905, disposed on the front panel of terminal 900; in other embodiments, there may be at least two display screens 905, disposed on different surfaces of terminal 900 or in a folded design; in other embodiments, display screen 905 may be a flexible display screen, disposed on a curved or folded surface of terminal 900. Furthermore, display screen 905 may be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. Display screen 905 may be made of materials such as LCD (Liquid Crystal Display) or OLED (Organic Light-Emitting Diode).
[0133] The camera assembly 906 is used to acquire images or videos. In some embodiments, the camera assembly 906 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is located on the front panel of the terminal, and the rear-facing camera is located on the back of the terminal. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 906 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash is a combination of a warm-light flash and a cool-light flash, which can be used for light compensation at different color temperatures.
[0134] The audio circuit 907 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting them into electrical signals that are input to the processor 901 for processing, or to the radio frequency circuit 904 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each positioned at a different location on the terminal 900. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert electrical signals from the processor 901 or the radio frequency circuit 904 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 907 may also include a headphone jack.
[0135] Power supply 908 is used to power the various components in terminal 900. Power supply 908 can be AC power, DC power, a disposable battery, or a rechargeable battery. When power supply 908 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, while a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.
[0136] Those skilled in the art will understand that Figure 9 The structure shown does not constitute a limitation on terminal 900, and may include more or fewer components than shown, or combine certain components, or use different component arrangements.
[0137] When electronic devices are provided as servers, Figure 10 This is a block diagram illustrating a server 1000 according to an exemplary embodiment. The server 1000 can vary significantly due to differences in configuration or performance. It may include one or more Central Processing Units (CPUs) 1001 and one or more memories 1002. The memories 1002 store at least one line of program code, which is loaded and executed by the processor 1001 to implement the video processing methods provided in the various method embodiments described above. Of course, the server may also have wired or wireless network interfaces, a keyboard, and input / output interfaces for input and output. The server 1000 may also include other components for implementing device functions, which will not be elaborated upon here.
[0138] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 902 or a memory 1002 including instructions. These instructions can be executed by the processor 901 of the terminal 900 or the processor 1001 of the server 1000 to complete the aforementioned video processing method. Optionally, the computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, or optical data storage device, etc.
[0139] A computer program product includes a computer program / instructions that, when executed by a processor, implement the aforementioned video processing method.
[0140] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0141] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A video processing method, characterized in that, The method includes: In the video editing interface, a first video clip and a copy control are displayed. The copy control is used to copy a video clip that has the same editing information as at least one type of attribute of the first video clip. The editing information is used to indicate the editing operation that has been performed on at least one type of attribute of the first video clip. In response to a triggering operation of the copy control, a second video segment is displayed in the video editing interface, wherein the editing information of the at least one type of attribute is the same as the editing information of the first video segment.
2. The video processing method according to claim 1, characterized in that, The copy control is a first copy control, which is used to copy a video segment that has the same editing information and video content as the first video segment; In response to a triggering operation of the copy control, displaying a second video segment in the video editing interface whose editing information of at least one type of attribute is the same as that of the first video segment includes: In response to the triggering operation of the first copy control, a second video segment is added to the video editing interface, displaying the same editing information and video content as the first video segment with at least one type of attribute.
3. The video processing method according to claim 2, characterized in that, The method further includes: In response to the content replacement operation of the second video segment, while keeping the editing information of at least one type of attribute unchanged, the video content of the second video segment is replaced with the video content of the third video segment.
4. The video processing method according to claim 3, characterized in that, The first copy control copies multiple second video clips; The step of responding to the content replacement operation of the second video segment, while keeping the editing information of at least one type of attribute unchanged, and replacing the video content of the second video segment with the video content of the third video segment, includes: In response to a trigger operation on the batch replacement control in the video editing interface, an option to display multiple video clips in the video editing interface is provided, the multiple video clips including the first video clip and multiple second video clips; When the option for the plurality of second video segments is selected, a plurality of candidate video segments are displayed, the plurality of candidate video segments including a plurality of third video segments whose video content is different from that of the plurality of second video segments; When the plurality of third video segments are selected, the editing information of the at least one type of attribute displayed in the video editing interface remains unchanged, and the video content of the plurality of second video segments is replaced with the video content of the plurality of third video segments.
5. The video processing method according to claim 1, characterized in that, The copy control is a second copy control, which is used to copy a video segment with the same editing information as the first video segment but different video content; In response to a triggering operation of the copy control, displaying a second video segment in the video editing interface whose editing information of at least one type of attribute is the same as that of the first video segment includes: In response to a triggering operation on the second copy control, multiple candidate video segments are displayed, including a second video segment whose video content differs from that of the first video segment; When the second video segment is selected, a second video segment is added to the video editing interface, displaying the same editing information as the first video segment with at least one type of attribute, but with different video content.
6. The video processing method according to claim 1, characterized in that, The method further includes: The video editing interface displays a quantity selection control, which is used to obtain the number of video clips to be copied. In response to a triggering operation of the copy control, displaying a second video segment in the video editing interface whose editing information of at least one type of attribute is the same as that of the first video segment includes: In response to a trigger operation on the copy control, based on a first quantity entered in the quantity selection control, the first quantity of second video clips is displayed in the video editing interface, wherein the editing information of the at least one type of attribute of each second video clip is the same as the editing information of the first video clip.
7. The video processing method according to claim 1, characterized in that, The process of displaying the first video clip and copy control in the video editing interface includes: The video editing interface displays the first video clip and a third copy control. The third copy operation supports copying a video clip with the same editing information as the first video clip. When the first video segment is selected, in response to a first trigger operation on the third copy control, a first copy control and a second copy control are displayed. The first copy control supports copying multiple video segments with the same editing information and video content as the first video segment. The second copy control supports copying multiple video segments with the same editing information but different video content as the first video segment.
8. The video processing method according to claim 7, characterized in that, The method further includes at least one of the following: When the first video segment is selected, in response to a second trigger operation on the third copy control, in the video editing interface, the editing information of the at least one type of attribute of a fourth video segment is displayed to be the same as the editing information of the first video segment, and the video content of the fourth video segment is different from the video content of the first video segment; When the first video segment is selected, in response to a third trigger operation on the third copy control, the editing information of at least one type of attribute of a fifth video segment is displayed in the video editing interface, which is the same as the editing information of the first video segment, and the video content of the fifth video segment is the same as the video content of the first video segment.
9. The video processing method according to claim 7, characterized in that, The method further includes: In response to a first trigger operation on the third copy control, prompt information for the first copy control and prompt information for the second copy control are displayed, with each copy control's prompt information indicating the function of the copy control.
10. The video processing method according to claim 1, characterized in that, The method further includes: The video editing interface displays options for multiple attributes of the first video clip; In response to a triggering operation of the copy control, displaying a second video segment in the video editing interface whose editing information of at least one type of attribute is the same as that of the first video segment includes: When at least one of the multiple attributes is selected, in response to the triggering operation of the copy control, the editing information of the at least one attribute is copied to obtain the editing information of the at least one attribute. Based on the editing information of the at least one type of attribute, a second video segment with the same editing information of the at least one type of attribute as the first video segment is displayed in the video editing interface.
11. The video processing method according to claim 1, characterized in that, The method further includes: The video editing interface displays multiple media tracks, each of which displays the media that have been added to the first video clip. In response to a triggering operation of the copy control, displaying a second video segment in the video editing interface whose editing information of at least one type of attribute is the same as that of the first video segment includes: When at least one of the multiple material tracks is selected, in response to the triggering operation of the copy control, the editing information of the material attributes in the at least one material track is copied to obtain the editing information of at least one type of attribute; Based on the editing information of the at least one type of attribute, a second video segment with the same editing information of the at least one type of attribute as the first video segment is displayed in the video editing interface.
12. The video processing method according to claim 1, characterized in that, The method further includes: In the video editing interface, a range selection control for the first video segment is displayed. The range selection control is used to obtain the time range of the copied editing information in the first video segment. In response to a triggering operation of the copy control, displaying a second video segment in the video editing interface whose editing information of at least one type of attribute is the same as that of the first video segment includes: In response to an adjustment operation on the range selection control, the selected time range in the first video segment is displayed; In response to a trigger operation on the copy control, the edit information of at least one type of attribute within the time range is copied to obtain the edit information within the time range; Based on the editing information within the time range, in the video editing interface, a second video segment is displayed whose editing information of at least one type of attribute is the same as that of the first video segment within the time range, and the duration of the second video segment is equal to the duration of the time range.
13. The video processing method according to claim 1, characterized in that, The second video segment is an existing video segment in the video editing interface; In response to a triggering operation of the copy control, displaying a second video segment in the video editing interface whose editing information of at least one type of attribute is the same as that of the first video segment includes: In response to a trigger operation on the copy control, the editing information of at least one type of attribute of the first video segment is copied; Upon completion of copying, in response to the parameter application operation for the second video segment, based on the editing information of the at least one type of attribute obtained from the copying, the editing operation indicated by the editing information is performed on the at least one type of attribute of the second video segment.
14. The video processing method according to claim 1, characterized in that, The video editing interface displays multiple first video clips; The method further includes: In response to a trigger operation on the batch replacement control in the video editing interface, the option to display the plurality of first video segments is provided. If the option to select the second number of first video clips is selected, multiple candidate video clips are displayed; When a second number of sixth video clips is selected from the plurality of candidate video clips, the editing information of the second number of first video clips remains unchanged in the video editing interface, and the video content of the second number of first video clips is replaced with the video content of the second number of sixth video clips.
15. A video processing apparatus, characterized in that, The device includes: The first display unit is configured to perform an operation in a video editing interface, displaying a first video clip and a copy control. The copy control is used to copy a video clip that has the same editing information as at least one type of attribute of the first video clip. The editing information is used to indicate the editing operation that has been performed on at least one type of attribute of the first video clip. The second display unit is configured to perform a response to a triggering operation of the copy control, displaying a second video segment in the video editing interface whose editing information of the at least one type of attribute is the same as the editing information of the first video segment.
16. An electronic device, characterized in that, The electronic device includes: One or more processors; Memory used to store the executable program code of the processor; The processor is configured to execute the program code to implement the video processing method as described in any one of claims 1 to 14.
17. A computer-readable storage medium, characterized in that, When the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device is able to perform the video processing method as described in any one of claims 1 to 14.
18. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the video processing method according to any one of claims 1 to 14.
