Nothing Special   »   [go: up one dir, main page]

CN114268748A - Video editing method and device - Google Patents

Video editing method and device Download PDF

Info

Publication number
CN114268748A
CN114268748A CN202111602634.0A CN202111602634A CN114268748A CN 114268748 A CN114268748 A CN 114268748A CN 202111602634 A CN202111602634 A CN 202111602634A CN 114268748 A CN114268748 A CN 114268748A
Authority
CN
China
Prior art keywords
clipping
video
template
function
clip
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111602634.0A
Other languages
Chinese (zh)
Inventor
洪嘉慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202111602634.0A priority Critical patent/CN114268748A/en
Publication of CN114268748A publication Critical patent/CN114268748A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)

Abstract

The present disclosure provides a video editing method and apparatus, the method comprising: acquiring a clipping template of a first video, wherein the clipping template comprises a clipping function, a clipping parameter and/or a clipping operation which are called in a video clipping process; applying the clipping template to the second video and exhibiting the clipping function, the clipping parameters and/or the clipping operation of the clipping template; and generating a third video after the clipping is finished in response to the modification of the clipping function, the clipping parameters and/or the clipping operation of the clipping template in the second video. The method can effectively avoid the problems of clipping threshold caused by excessively complex clipping function setting, clipping efficiency reduction caused by repeated operation and excessive video material quantity and the like, greatly simplify the clipping process, reduce the video clipping difficulty and improve the video clipping efficiency. Moreover, the flexibility of the editing template is guaranteed through the displaying and modifying of the editing template, the applicable scene of the editing template is expanded, and the video editing experience of a user is improved.

Description

Video editing method and device
Technical Field
The present disclosure relates to the field of video processing technologies, and in particular, to a video editing method and apparatus.
Background
At present, with the popularization of mobile terminals, video is one of important information communication carriers. More and more people record life through videos and share own opinions.
In the related art, a user can operate various functions in a client to clip a video so as to complete a clipping process before video release. However, the functions involved in video editing are complex and require a certain amount of expertise, which leads to a certain learning threshold for the use of the editing function. Moreover, a great number of repeated operations are often accompanied in the clipping process, and the number of materials is large, so that the clipping process needs more effort, and the clipping efficiency is low.
Disclosure of Invention
The present disclosure provides a video editing method and device, which are used to reduce the video editing difficulty and improve the editing efficiency.
According to a first aspect of embodiments of the present disclosure, the present disclosure provides a video clipping method, including:
acquiring a clipping template of a first video, wherein the clipping template comprises a clipping function, a clipping parameter and/or a clipping operation which are called in a video clipping process;
applying the clipping template to the second video and exhibiting the clipping function, the clipping parameters and/or the clipping operation of the clipping template;
and generating a third video after the clipping is finished in response to the modification of the clipping function, the clipping parameters and/or the clipping operation of the clipping template in the second video.
According to a second aspect of embodiments of the present disclosure, there is provided a video clipping device comprising:
the video editing device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is configured to acquire a clipping template of a first video, and the clipping template comprises a clipping function, a clipping parameter and/or a clipping operation which are called in a video clipping process;
an application module configured to apply the clipping template to the second video and to expose clipping functions, clipping parameters and/or clipping operations of the clipping template;
and the modification module is configured to respond to the modification of the clipping function, the clipping parameter and/or the clipping operation of the clipping template in the second video and generate a clipped third video.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device, comprising a processor and a memory, wherein the memory has stored thereon executable code, which when executed by the processor, causes the processor to implement at least the video clipping method of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium whose instructions, when executed by an electronic device, enable the electronic device to perform at least the video clipping method of the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising computer programs/instructions which, when executed by a processor, implement the video clipping method in the first aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
in the disclosure, for a first video starting a clipping process, a clipping template of the first video is obtained, wherein the clipping template comprises a clipping function, a clipping parameter and/or a clipping operation invoked in the video clipping process. Further, the clipping template is applied to the second video, so that the clipping effect of the first video is reproduced in the second video through the clipping template, and an automatic clipping process is realized; and displaying the clipping function, the clipping parameter and/or the clipping operation of the clipping template, and generating a third video after the clipping is finished in response to the modification of the clipping function, the clipping parameter and/or the clipping operation of the clipping template in the second video so as to realize a targeted clipping modification process. According to the method and the device, the automatic editing process of the second video is realized by applying the editing template of the first video to the second video, and the editing and modifying process of the second video is realized more pertinently by displaying and modifying the editing template, so that the problems of editing threshold caused by excessively complex editing function setting, and the reduction of editing efficiency and the like caused by repeated operation and excessive video material quantity can be effectively avoided, the editing process is greatly simplified, the video editing difficulty is reduced, and the video editing efficiency is improved. Moreover, the flexibility of the editing template is guaranteed through the displaying and modifying of the editing template, the applicable scene of the editing template is expanded, and the video editing experience of a user is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a flowchart illustrating a video clipping method according to an example embodiment.
FIG. 2 is a schematic diagram illustrating a video export interface, according to an example embodiment.
FIG. 3 is a schematic diagram illustrating a video clip interface in accordance with an exemplary embodiment.
FIG. 4 is a schematic diagram illustrating a sharing interface, according to an example embodiment.
FIG. 5 is a schematic diagram illustrating an attribute editing interface in accordance with an illustrative embodiment.
FIG. 6 is a diagram illustrating a clip template interface in accordance with an exemplary embodiment.
FIG. 7 is a diagram illustrating a clip template execution interface, according to an example embodiment.
FIG. 8 is a diagram illustrating a prompt interface, according to an exemplary embodiment.
FIG. 9 is a schematic diagram illustrating a structure of a video clipping device according to an example embodiment.
Fig. 10 is a schematic structural diagram of an electronic device according to an exemplary embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
As described above, with the popularization of mobile terminals, video is one of important information communication carriers. More and more people record life through videos and share own opinions.
Currently, in the related art, a user may operate various functions in a client to clip a video, so as to complete a clipping process before video distribution. However, the functions involved in video editing are complex and require a certain amount of expertise, which leads to a certain learning threshold for the use of the editing function. Moreover, a great number of repeated operations are often accompanied in the clipping process, and the number of materials is large, so that the clipping process needs more effort, and the clipping efficiency is low.
In order to solve the above problems, a video template is introduced in the related art, and a user can import a material into the video template, so that a video is automatically clipped according to a clipping function and parameters set by the video template. However, the editing mode is relatively fixed, and users cannot customize adjustment, so that a large amount of homogeneous video content appears, and the application scene is limited. For example, for one video template, the number of importable materials, the editing function, and the setting parameters are all fixed, so that the video effects of different users importing different materials and editing by using the video template are the same.
In addition, in the related art, the video template cannot be edited for the second time, and the same functions in the video template cannot be set in a superposition manner, so that the user needs to manually clip for many times to obtain the intended use effect. Therefore, in the related technology, the video template can not be modified after being generated, the applicable scene of the video template is greatly limited, the video editing difficulty is increased, and the video editing efficiency is reduced.
In summary, a solution is needed to reduce the difficulty of video editing and improve the efficiency of video editing.
To solve at least one technical problem in the related art, the present disclosure provides a video clipping method and apparatus.
The core idea of the technical scheme is as follows: for a first video which starts a clipping process, a clipping template of the first video is obtained, wherein the clipping template comprises a clipping function, a clipping parameter and/or a clipping operation which are called in the video clipping process. Further, the clipping template is applied to the second video, so that the clipping effect of the first video is reproduced in the second video through the clipping template, and an automatic clipping process is realized; and displaying the clipping function, the clipping parameter and/or the clipping operation of the clipping template, and generating a third video after the clipping is finished in response to the modification of the clipping function, the clipping parameter and/or the clipping operation of the clipping template in the second video so as to realize a targeted clipping modification process. According to the scheme, the automatic clipping process of the second video is realized by applying the clipping template of the first video to the second video, and the clipping modification process of the second video is realized more specifically by displaying and modifying the clipping template. The editing mode can effectively avoid the editing threshold caused by excessively complex editing function setting and the decrease of the editing efficiency caused by repeated operation and excessive video material quantity, greatly simplify the editing process, reduce the video editing difficulty and improve the video editing efficiency. Moreover, the editing mode can also ensure the flexibility of the editing template through the display and modification of the editing template, expand the applicable scene of the editing template and improve the video editing experience of a user.
In the present disclosure, a clipping template may be understood as an operation template formed by solidifying operation parameters (such as clipping function, clipping parameters, etc.) related to clipping operation in a video clipping flow. Specifically, the editing template is actually used to indicate the editing functions, setting parameters, and the execution sequence among the editing functions used in the editing process to the execution end of the editing operation, so that the execution end can produce videos with the same editing effect. In practical applications, the implementation form of the clip template may be structured data, or may be other types of data files, and is not limited herein.
Based on the core ideas introduced in the foregoing, the embodiment of the present disclosure provides a video clipping method, and fig. 1 is a flowchart illustrating the video clipping method according to an exemplary embodiment of the present disclosure. As shown in fig. 1, the method includes:
101. acquiring a clipping template of a first video;
102. applying the clipping template to the second video and exhibiting the clipping function, the clipping parameters and/or the clipping operation of the clipping template;
103. and generating a third video after the clipping is finished in response to the modification of the clipping function, the clipping parameters and/or the clipping operation of the clipping template in the second video.
According to the method, the automatic editing process of the second video is realized by applying the editing template of the first video to the second video, and the editing and modifying process of the second video is realized more specifically by displaying and modifying the editing template, so that the problems of editing threshold caused by excessively complex editing function setting, and the reduction of editing efficiency caused by repeated operation and excessive video material quantity can be effectively avoided, the editing process is greatly simplified, the video editing difficulty is reduced, and the video editing efficiency is improved. Moreover, the flexibility of the editing template is guaranteed through the displaying and modifying of the editing template, the applicable scene of the editing template is expanded, and the video editing experience of a user is improved.
In practical applications, each step of the method may be implemented by one electronic device, and the electronic device may be a terminal device such as a mobile phone, an intelligent bracelet, a tablet computer, a PC, a notebook computer, and the like. Taking a mobile phone as an example, the method can be realized by calling a special application program carried in the mobile phone, can also be realized by calling a small program set in an instant messaging application or other types of applications, and can also be realized by calling a cloud server through mobile phone application. The steps of the above method can also be implemented by cooperation of a plurality of electronic devices. For example, the server may send the execution result to the terminal device for rendering and displaying the execution result by the terminal device. The server may be a physical server including an independent host, or may also be a virtual server borne by a host cluster, or may also be a cloud server, which is not limited in the present disclosure.
The steps in the video clipping method are described below in conjunction with specific embodiments.
First, in 101, a clip template of a first video is acquired.
In this embodiment, the clipping parameters include, but are not limited to: setting parameters of the clipping function and/or the order of execution of the clipping operations. Specifically, the setting parameters of the clipping function may be set according to the type of the clipping function, such as the filter type and the color tone of the filter function, the special effect type and the start-stop duration of the special effect function, and the font and the presentation duration of the subtitle function.
Specifically, it is assumed that the clipping parameters include setting parameters of a clipping function and/or an execution order of the clipping operations. Based on this, in 101, an optional embodiment of acquiring the clipping function and the clipping parameter invoked in the clipping flow of the first video may be implemented as: responding to a saving instruction of the first video, and acquiring effective clipping operation executed in the video clipping flow; the valid clipping operations are parsed and a clipping template is generated based on the parsed clipping functions, clipping parameters, and/or clipping operations.
It is worth noting that alternatively, valid clipping operations include, but are not limited to, clipping operations that have been performed and not revoked in a video clip flow. For the first video starting the clipping process, effective clipping operation is screened out from a plurality of clipping operations, so that the data amount required to be processed in the forming process of the clipping template of the first video can be reduced, and the efficiency of obtaining the clipping template is improved. Specifically, during the formation of the clip template, the user may initiate a video clip flow by importing the video material intended for the clip. After the clipping process of the first video is started, in response to an operation instruction input in a video clipping interface by a user, a clipping operation corresponding to the operation instruction is performed on the video material to form the first video.
In practical applications, the first video may be a video derived after the completion of the clipping, or may be a video temporarily saved or being clipped during the video clipping process. Based on this, optionally, the controls for triggering the save instruction include, but are not limited to: a first save control exposed in the video export interface, and/or a second save control exposed in the video clip interface.
Taking the video export interface shown in fig. 2 as an example, it is assumed that the first video is a video exported after the completion of the editing. The save instruction may be user-triggered in the video export interface by selecting a save control (i.e., save clip template in fig. 2). In 101, based on the saving instruction, from the complete clipping flow of the derived first video, the clipping operation (i.e. the clipping operation that has been executed and is not revoked in the video clipping flow) finally presented in the first video is acquired as a valid clipping operation. In turn, these valid clipping operations are parsed, and a clipping template is generated based on the parsed clipping functions, clipping parameters, and/or clipping operations.
In practical application, in addition to storing the effective clipping operation in the complete clipping flow as the clipping template in the above example, part of the effective clipping operation can be stored independently as the clipping template, so that the flexibility of the clipping template is improved, and the application range of the clipping template is expanded.
For example, taking the video clip interface shown in FIG. 3 as an example, assume a video being clipped during a video clip. The save instruction may be user-triggered in the video clip interface by selecting a save control (i.e., save current setting in fig. 3). The difference from the previous example is that in this example, a valid clipping operation is obtained from the currently executed clipping flow, so that by parsing the part of the valid clipping operation, the clipping function called in the currently executed clipping flow, the setting parameters of the clipping function, and the execution sequence of the clipping operation are extracted, and a basis is provided for subsequently forming a clipping template based on the part of the clipping flow.
In addition, in another alternative embodiment, the clipping function and the clipping parameter obtaining step may be automatically triggered by the client. Optionally, after the repetitive clipping operations of the user are monitored, the repetitive clipping operations are analyzed to obtain the clipping functions called in the repetitive clipping operations, the setting parameters of the clipping functions, and the execution sequence of the clipping operations. For example, if it is monitored that the user uses a certain clipping function in the clipping process in an overlapping manner for multiple times, the step 101 is triggered to be executed on the series of clipping operations, so that the series of clipping operations can be stored as a clipping template in the following process, which helps to simplify the video clipping process. For example, if it is detected that a certain number of clipping functions are regularly used, the execution of the above step 101 on the series of clipping operations may also be triggered.
Specifically, in an optional embodiment, in 101, the step of generating a clip template based on the parsed clip function, clip parameter and/or clip operation may be implemented as: and storing the clipping function called in the clipping flow, the setting parameters (namely, the clipping parameters) of the clipping function and the execution sequence (namely, the clipping parameters) of the clipping operation into a structured data file with a preset format to obtain a clipping template of the first video.
In practical applications, the clipping template may be generated based on a complete clipping process of the first video, or may be generated based on a partial clipping process of the first video, so as to improve flexibility and applicability of the clipping template. Optionally, a corresponding clip template may be generated based on the clip functions and clip parameters that are reused more in the clip flow according to the user history preference.
Optionally, selecting a clip template meeting the pushing condition from a plurality of created clip templates; and distributing the clipping template meeting the pushing condition to users matched with the pushing condition so as to adopt the clipping template meeting the pushing condition to execute clipping operation aiming at the user video. In this embodiment, the attribute parameters for setting the push condition include: any one or more of video type, video duration, usage right, clipping effect type, clipping style type and matching degree with user historical preference of the video to be clipped.
For example, after the user uploads the clipping template to the clipping community, the video platform selects a clipping template conforming to a certain clipping style type from the uploaded multiple clipping templates, and distributes the clipping templates to users needing to use the clipping style type in the clipping community, so as to help the users to create the clipping templates, reduce the difficulty of video clipping, and assist in improving the content production quality of the video platform. Taking the sharing interface shown in fig. 4 as an example, the clip template may be published into a sharing community (e.g., a fast-shadow community).
Optionally, in response to the save instruction, a property editing interface of the clip template may also be presented. In response to setting the property parameters of the clip template based on the property information entered into the property editing interface. In this embodiment, the attribute parameters of the clip template include, but are not limited to, one or more of a name, usage rights, a video type, a clip effect type, and a clip style type. The differences among different clipping templates can be clarified through the attribute parameters, so that a realization basis is provided for functions such as classification, pushing and sharing related to the clipping templates.
For example, in the attribute editing interface shown in fig. 5, the name of the clip template to be formed is input, so that the clip templates are distinguished by the clip template names, and the recognition degree of the clip template when being released and pushed is improved.
Further, a clipping template of the first video is applied to the second video and the clipping function, clipping parameters and/or clipping operation of the clipping template are presented 102. The clipping effect of the first video can be reproduced in the second video through the clipping template, and a basis is provided for subsequent personalized modification of the second video. Reproduction here may be understood as achieving the same clip effect (e.g., fade in/out, slow motion, etc.) as the first video in the other videos.
After acquiring the clipping template of the first video, the clipping template is applied to the second video in 102 to form the same clipping effect in the second video as the first video by executing the clipping template on the second video. For example, the execution clip template control in the lower right corner is selected in the clip template interface shown in fig. 6, so that the clip template execution interface shown in fig. 7 is skipped, and the clip template of the first video is applied to the video material to be clipped, so that the video material processed by applying the clip template has the same clipping effect as the first video. Still taking the clip template execution interface shown in fig. 7 as an example, the filter (i.e., the clip function), the filter type (i.e., the clip parameters), and the filter insertion operation (i.e., the clip operation) of the clip template are also shown in 102.
Specifically, in an optional embodiment of 102, a first video segment in the clip template for which the clip function corresponds in the first video may be determined; acquiring a second video segment matched with the first video segment from a second video to be edited; determining a target clipping function corresponding to the second video segment according to the corresponding relation between the clipping function and the first video segment and the matching relation between the first video segment and the second video segment; and executing the target clipping operation corresponding to the target clipping function on the second video segment according to target clipping parameters (such as the execution sequence of the clipping operation and the setting parameters of the clipping function) corresponding to the target clipping function in the clipping template so as to obtain a second video subjected to the application of the clipping target processing. In practical applications, the video clips introduced in the above embodiments may be video materials directly imported by a user, or may be video clips cut from video materials imported by the user. Further optionally, in response to the setting of the number of execution times of the clipping template in the second video, the clipping template of the first video is executed in the second video according to the number of execution times. In the above steps, executing the clipping template of the first video in the second video according to the execution times may be implemented as: and if the execution times are multiple times, overlapping and executing the clipping template in the second video, wherein the overlapping and executing operation of the clipping template comprises the step of overlapping the execution time and/or the execution times.
In the above steps, the video segments to which the respective clipping functions act are extracted from the first video as the first video segments in the clip template in the order of execution of the clipping functions. It is understood that the first video segments corresponding to the clipping functions may be independent or overlapped with each other.
Furthermore, in the above steps, with the first video segment as a reference, a second video segment matching the first video segment is obtained from a second video to be edited. Specifically, the second video segment matching the first video segment may be obtained from the second video to be edited in any one or more of the following manners, that is:
the first method is as follows: and taking the duration of the first video segment as an interception standard, and intercepting the video segment with the same duration from the second video to be intercepted as a second video segment. For example, assuming that the first video segment is 3 seconds, a video segment of 3 seconds may be cut out from the second video to be clipped as the second video segment. Alternatively, the duration of the first video segment may be modified during the use of the clipping template.
The second method comprises the following steps: and taking a video segment with the same shooting view angle as the first video segment in the second video to be edited as the second video segment. For example, assuming that the shooting perspective of the first video segment is a top view, a video segment of the top view perspective may be cut out from the second video to be clipped as the second video segment. Alternatively, the shooting perspective may be reselected during the use of the clipping template.
The third method comprises the following steps: and taking a video segment of the second video to be edited, which has the same shooting object as the first video segment, as the second video segment. For example, assuming that the photographic subject of the first video segment is a cat, a video segment containing the cat may be cut out from the second video to be clipped as the second video segment. Alternatively, the photographic subject may be modified during the use of the clipping template.
The method is as follows: and taking a video segment of the second video to be edited, which is at the same import order as the first video segment, as the second video segment. For example, assuming that the leading bit of the first video segment is 5 th bit, the video segment at 5 th bit among the plurality of second videos may be taken as the second video segment. Alternatively, the lead-in bit order may be readjusted during the use of the clipping template. Furthermore, the playing sequence of the formed second video segments can be adjusted, so that the application effect of the clip template is enriched, and the pertinence of the video clip is improved.
And further, after the second video segments are selected, determining the target clipping function corresponding to each selected second video segment according to the corresponding relation between the clipping function and the first video segment and the matching relation between the first video segment and the second video segment. Finally, according to the target clipping parameters (such as the execution sequence of the clipping operations and the setting parameters of the clipping functions) corresponding to the target clipping function in the clipping template, the target clipping operation corresponding to the target clipping function is executed on the second video segment, so as to obtain the second video processed by applying the clipping template.
Optionally, if there is no second video material meeting the usage rule of the clipping function in the second video to be clipped, pushing a prompt message to the user to prompt the user to add a second video segment meeting the usage rule. Or, the inquiry information is pushed to the user to inquire whether the user executes the clipping function. For example, the user is prompted to add video material (i.e., the sticker animation in fig. 8) specified by the duration (i.e., 3 seconds in fig. 8) through the prompt box shown in fig. 8, and is asked whether to perform the clip function (i.e., "skip this step"). Besides the video duration, the usage rule in practical application can also be set according to other attribute parameters of the video, such as the resolution of the video, the type of the shooting object, the type of the shooting scene, and the like.
In 103, an alternative embodiment of generating a clipped third video in response to a modification of the clipping function, the clipping parameters and/or the clipping operation of the clipping template in the second video may be implemented as:
in response to a modification instruction for the clip template, determining a clip function, a clip parameter and/or a clip operation to be modified according to the modification instruction; generating a modified target clipping template according to the clipping function, the clipping parameters and/or the clipping operation to be modified; the target clip template is applied to the second video to obtain a third video.
Taking the filter function as an example, in the editing template execution interface of the second video, the type of the filter to be modified is set as "claima blue", then modified to "film-50", and finally modified to "film-80", so that it can be determined that "film-80" is finally effective in the draft project of the editing process, and therefore the "film-80" selected in the final modification is taken as the type of the filter to be finally applied in the above steps, and the filter type is applied to the editing template, so as to obtain the target editing template. Thus, the target clip template is applied to the second video, resulting in a third video for final presentation. Therefore, the method effectively avoids the mutual interference between the contradictory clipping functions or clipping parameters and influences the use effect of the clipping template.
In addition to the filter function described above, the clip function may be fade in/out, slow motion, montage, and the like. The modification manner of the clip template corresponding to various clipping functions is similar to the above modification manner, and is not listed here.
In the video editing method shown in fig. 1, the editing template of the first video is applied to the second video to realize an automatic editing process of the second video, and the editing modification process of the second video is realized more specifically by displaying and modifying the editing template, so that the problems of editing threshold caused by excessively complex editing function setting, and the reduction of editing efficiency caused by repeated operation and excessive video material quantity can be effectively avoided, the editing process is greatly simplified, the difficulty of video editing is reduced, and the video editing efficiency is improved. Moreover, the flexibility of the editing template is guaranteed through the displaying and modifying of the editing template, the applicable scene of the editing template is expanded, and the video editing experience of a user is improved.
Fig. 9 is a video clipping device according to an embodiment of the present disclosure. As shown in fig. 9, wherein the video clipping device includes:
an obtaining module 901 configured to obtain a clip template of a first video, where the clip template includes a clip function, a clip parameter, and/or a clip operation invoked in a video clip flow;
an application module 902 configured to apply the clipping template to the second video and expose the clipping function, clipping parameters and/or clipping operation of the clipping template;
a modification module 903 configured to generate a clipped third video in response to modification of the clipping function, the clipping parameters, and/or the clipping operation of the clipping template in the second video.
Optionally, the obtaining module 901 is specifically configured to: responding to a saving instruction of the first video, and acquiring effective clipping operation executed in the video clipping process; the valid clipping operation is parsed, and the clipping template is generated based on the parsed clipping function, clipping parameters, and/or clipping operation.
Wherein the clipping parameters include setting parameters of the clipping function and/or an execution order of the clipping operations.
Optionally, the valid clipping operations include clipping operations that have been performed and not revoked.
Optionally, the system further comprises an editing module configured to: responding to the saving instruction, and displaying a property editing interface of the clip template; setting attribute parameters of the clip template based on the attribute information input into the attribute editing interface.
Wherein the attribute parameters of the clip template comprise one or more of name, usage right, video type, clip effect type, and clip style type.
Optionally, the control for triggering the saving instruction includes: a first save control presented in the video export interface, and/or a second save control presented in the video clip interface.
Optionally, the application module 902 is specifically configured to: determining a first video segment in the clip template corresponding to the clip function in the first video; acquiring a second video segment matched with the first video segment from a second video to be edited; determining a target clipping function corresponding to the second video segment according to the corresponding relation between the clipping function and the first video segment and the matching relation between the first video segment and the second video segment; and executing target clipping operation corresponding to the target clipping function on the second video segment according to target clipping parameters corresponding to the target clipping function in the clipping template so as to obtain the second video processed by applying the clipping template.
Optionally, the executing module 902 obtains a second video segment matching the first video segment from a second video to be clipped, and is specifically configured to:
taking the duration of the first video segment as an interception standard, and intercepting a video segment with the same duration from the second video to be edited as the second video segment; and/or
Taking a video segment of the second video to be edited, which has the same shooting view angle as the first video segment, as the second video segment; and/or
Taking a video segment of the second video to be edited, which has the same shooting object as the first video segment, as the second video segment; and/or
And taking a video segment in the second video to be edited, which is at the same import order as the first video segment, as the second video segment.
Optionally, the system further comprises a push module configured to: if the second video to be edited does not have the second video segment meeting the editing function use rule, pushing prompt information to a user to prompt the user to add the second video segment meeting the use rule; or push inquiry information to the user to inquire whether the user performs the clipping function.
Optionally, the system further comprises a repeat execution module configured to: in response to setting of the number of execution times of the clipping template in the second video, executing the clipping template in the second video according to the number of execution times.
Optionally, the repeated execution module executes the clip template in the second video according to the execution times, and is specifically configured to: and if the execution times are multiple times, overlapping and executing the clipping template in the second video, wherein the overlapping and executing operation of the clipping template comprises overlapping execution time and/or overlapping execution times.
Optionally, the modification module 903 is configured to: in response to a modification instruction for the clip template, determining a clip function, a clip parameter and/or a clip operation to be modified according to the modification instruction; generating a modified target clipping template according to the clipping function, the clipping parameter and/or the clipping operation to be modified; applying the target clip template to the second video to obtain the third video.
Optionally, the system further comprises a push module configured to: selecting a clip template which meets the pushing condition from the plurality of created clip templates; and distributing the clipping template meeting the pushing condition to the users matched with the pushing condition so as to adopt the clipping template meeting the pushing condition to execute the clipping operation aiming at the user video.
Wherein the attribute parameters for setting the push condition include: the video type of the video to be clipped, the video duration, the usage right, the clipping effect type, the clipping style type and the matching degree with the historical preference of the user.
The video editing apparatus may execute the systems or methods provided in the foregoing embodiments, and details of the embodiments may refer to related descriptions of the foregoing embodiments, which are not repeated herein.
In one possible design, the structure of the video clipping device described above may be implemented as an electronic device. As shown in fig. 10, the electronic device may include: a processor 21 and a memory 22. Wherein the memory 22 has stored thereon executable code which, when executed by the processor 21, at least makes the processor 21 capable of implementing the video clipping method as provided in the previous embodiments.
The electronic device may further include a communication interface 23 for communicating with other devices or a communication network.
In addition, the present disclosure also provides a computer-readable storage medium comprising instructions, which stores executable code thereon, and when the executable code is executed by a processor of a wireless router, the processor is caused to execute the neural network-based feature data processing method provided in the foregoing embodiments. Alternatively, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program product is also provided, which includes computer programs/instructions, when executed by a processor, implement the neural network-based feature data processing methods provided in the foregoing embodiments. The computer program/instructions are implemented by a program running on a terminal or a server.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A video clipping method, comprising:
acquiring a clipping template of a first video, wherein the clipping template comprises a clipping function, a clipping parameter and/or a clipping operation which are called in a video clipping process;
applying the clipping template to a second video and exhibiting the clipping function, clipping parameters and/or clipping operation of the clipping template;
and generating a third video after the clipping is finished in response to the modification of the clipping function, the clipping parameter and/or the clipping operation of the clipping template in the second video.
2. The method of claim 1, wherein obtaining the clip template of the first video comprises:
responding to a saving instruction of the first video, and acquiring effective clipping operation executed in the video clipping process;
analyzing the effective clipping operation, and generating the clipping template based on the analyzed clipping function, clipping parameter and/or clipping operation;
wherein the clipping parameters include setting parameters of the clipping function and/or an execution order of the clipping operations.
3. The method of claim 2 wherein the valid clipping operation comprises a performed and non-revoked clipping operation.
4. The method of claim 2, further comprising:
responding to the saving instruction, and displaying a property editing interface of the clip template;
setting attribute parameters of the clip template based on the attribute information input into the attribute editing interface;
wherein the attribute parameters of the clip template comprise one or more of name, usage right, video type, clip effect type, and clip style type.
5. The method of claim 2, wherein the controls for triggering the save instruction comprise: a first save control presented in the video export interface, and/or a second save control presented in the video clip interface.
6. The method of claim 1, wherein applying the clip template to a second video comprises:
determining a first video segment in the clip template corresponding to the clip function in the first video;
acquiring a second video segment matched with the first video segment from a second video to be edited;
determining a target clipping function corresponding to the second video segment according to the corresponding relation between the clipping function and the first video segment and the matching relation between the first video segment and the second video segment;
and executing target clipping operation corresponding to the target clipping function on the second video segment according to target clipping parameters corresponding to the target clipping function in the clipping template so as to obtain the second video processed by applying the clipping template.
7. The method according to claim 6, wherein the obtaining a second video segment matching the first video segment from a second video to be edited comprises:
taking the duration of the first video segment as an interception standard, and intercepting a video segment with the same duration from the second video to be edited as the second video segment; and/or
Taking a video segment of the second video to be edited, which has the same shooting view angle as the first video segment, as the second video segment; and/or
Taking a video segment of the second video to be edited, which has the same shooting object as the first video segment, as the second video segment; and/or
And taking a video segment in the second video to be edited, which is at the same import order as the first video segment, as the second video segment.
8. The method of claim 1, further comprising:
if the second video to be edited does not have the second video segment meeting the editing function use rule, pushing prompt information to a user to prompt the user to add the second video segment meeting the use rule; or
And pushing inquiry information to the user to inquire whether the user executes the clipping function.
9. The method of claim 1, further comprising:
in response to setting of the number of execution times of the clipping template in the second video, executing the clipping template in the second video according to the number of execution times.
10. A video clipping apparatus, comprising:
the video editing device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is configured to acquire a clipping template of a first video, and the clipping template comprises a clipping function, a clipping parameter and/or a clipping operation which are called in a video clipping process;
an application module configured to apply the clipping template to a second video and to expose clipping functions, clipping parameters and/or clipping operations of the clipping template;
a modification module configured to generate a clipped third video in response to modification of the clipping function, clipping parameters and/or clipping operation of the clipping template in the second video.
CN202111602634.0A 2021-12-24 2021-12-24 Video editing method and device Pending CN114268748A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111602634.0A CN114268748A (en) 2021-12-24 2021-12-24 Video editing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111602634.0A CN114268748A (en) 2021-12-24 2021-12-24 Video editing method and device

Publications (1)

Publication Number Publication Date
CN114268748A true CN114268748A (en) 2022-04-01

Family

ID=80829956

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111602634.0A Pending CN114268748A (en) 2021-12-24 2021-12-24 Video editing method and device

Country Status (1)

Country Link
CN (1) CN114268748A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023229524A1 (en) * 2022-05-26 2023-11-30 Lemon Inc. Computing system that applies edits model from published video to second video
WO2024037598A1 (en) * 2022-08-17 2024-02-22 北京字跳网络技术有限公司 Video processing method and apparatus, and electronic device
WO2024104468A1 (en) * 2022-11-17 2024-05-23 北京字跳网络技术有限公司 Video editing method and device
WO2024131648A1 (en) * 2022-12-21 2024-06-27 北京字跳网络技术有限公司 Video clipping method, apparatus, electronic device, and readable storage medium
US12154596B2 (en) 2022-11-17 2024-11-26 Beijing Zitiao Network Technology Co., Ltd. Video editing method and apparatus
US12170829B1 (en) 2023-07-18 2024-12-17 Beijing Zitiao Network Technology Co., Ltd. Video processing method and device, storage medium and program product
WO2025015817A1 (en) * 2023-07-18 2025-01-23 北京字跳网络技术有限公司 Video processing method and device, storage medium, and program product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111105819A (en) * 2019-12-13 2020-05-05 北京达佳互联信息技术有限公司 Clipping template recommendation method and device, electronic equipment and storage medium
CN111246300A (en) * 2020-01-02 2020-06-05 北京达佳互联信息技术有限公司 Method, device and equipment for generating clip template and storage medium
CN111243632A (en) * 2020-01-02 2020-06-05 北京达佳互联信息技术有限公司 Multimedia resource generation method, device, equipment and storage medium
CN113079405A (en) * 2021-03-26 2021-07-06 北京字跳网络技术有限公司 Multimedia resource editing method, device, equipment and storage medium
CN113518242A (en) * 2021-09-15 2021-10-19 秒影工场(北京)科技有限公司 Short video production method and device based on template shooting and automatic editing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111105819A (en) * 2019-12-13 2020-05-05 北京达佳互联信息技术有限公司 Clipping template recommendation method and device, electronic equipment and storage medium
CN111246300A (en) * 2020-01-02 2020-06-05 北京达佳互联信息技术有限公司 Method, device and equipment for generating clip template and storage medium
CN111243632A (en) * 2020-01-02 2020-06-05 北京达佳互联信息技术有限公司 Multimedia resource generation method, device, equipment and storage medium
CN113079405A (en) * 2021-03-26 2021-07-06 北京字跳网络技术有限公司 Multimedia resource editing method, device, equipment and storage medium
CN113518242A (en) * 2021-09-15 2021-10-19 秒影工场(北京)科技有限公司 Short video production method and device based on template shooting and automatic editing

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023229524A1 (en) * 2022-05-26 2023-11-30 Lemon Inc. Computing system that applies edits model from published video to second video
WO2024037598A1 (en) * 2022-08-17 2024-02-22 北京字跳网络技术有限公司 Video processing method and apparatus, and electronic device
WO2024104468A1 (en) * 2022-11-17 2024-05-23 北京字跳网络技术有限公司 Video editing method and device
US12154596B2 (en) 2022-11-17 2024-11-26 Beijing Zitiao Network Technology Co., Ltd. Video editing method and apparatus
WO2024131648A1 (en) * 2022-12-21 2024-06-27 北京字跳网络技术有限公司 Video clipping method, apparatus, electronic device, and readable storage medium
US12170829B1 (en) 2023-07-18 2024-12-17 Beijing Zitiao Network Technology Co., Ltd. Video processing method and device, storage medium and program product
WO2025015817A1 (en) * 2023-07-18 2025-01-23 北京字跳网络技术有限公司 Video processing method and device, storage medium, and program product

Similar Documents

Publication Publication Date Title
CN114268748A (en) Video editing method and device
US11061925B2 (en) Multi-task scheduling method and system, application server and computer-readable storage medium
CN112383790B (en) Live screen recording method, device, electronic equipment and storage medium
CN111752669A (en) Interface generation method and device, electronic equipment and storage medium
WO2022188386A1 (en) Video publishing method and apparatus, and device
CN113766298B (en) Bullet screen display method, device and system
CN112689170A (en) Content playing method of display terminal, display terminal and readable storage medium
CN111078221A (en) Page color theme switching method and device, storage medium and electronic equipment
CN113254822B (en) Object editing method and device, electronic equipment and storage medium
CN113542909A (en) Video processing method and device, electronic equipment and computer storage medium
CN112104908A (en) Audio and video file playing method and device, computer equipment and readable storage medium
CN106331089A (en) Video play control method and system
CN109040798B (en) Live broadcast data stream guiding method, storage medium, electronic device and system
US11004472B2 (en) Method and device of playing video, and computing device
CN106550111B (en) Method for setting ring tone in music playing and intelligent terminal
CN111242688A (en) Animation resource manufacturing method and device, mobile terminal and storage medium
CN109522066A (en) In a kind of information list can interactive graphics (IG) methods of exhibiting
CN105320499A (en) Adaptive method and related device of application program
CN116309964A (en) Video generation method, device, equipment and storage medium
CN113992866B (en) Video production method and device
CN115695903A (en) Video processing method, related device and equipment
CN111090854A (en) Target program execution and conversion method, device, terminal and storage medium
CN114245191B (en) Split screen social method and related device based on window dynamic information
CN113709575B (en) Video editing processing method and device, electronic equipment and storage medium
CN111752438B (en) Method for displaying mobile terminal multi-trigger update dynamic label

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220401