CN117880581A - Video editing processing method and device, electronic equipment and storage medium - Google Patents

Video editing processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117880581A
CN117880581A CN202311658626.7A CN202311658626A CN117880581A CN 117880581 A CN117880581 A CN 117880581A CN 202311658626 A CN202311658626 A CN 202311658626A CN 117880581 A CN117880581 A CN 117880581A
Authority
CN
China
Prior art keywords
video
template
preset
target
processed
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
CN202311658626.7A
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 CN202311658626.7A priority Critical patent/CN117880581A/en
Publication of CN117880581A publication Critical patent/CN117880581A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Television Signal Processing For Recording (AREA)

Abstract

The disclosure relates to a video editing processing method, a video editing processing device, electronic equipment and a storage medium, wherein the method comprises the steps of displaying materials to be processed on a preset page; responding to a template matching instruction aiming at the material to be processed, displaying at least one preset template video matched with the material to be processed on a preset page, wherein preset theme content corresponding to the at least one preset template video is matched with target theme content corresponding to the material to be processed; and responding to a template selection instruction aiming at the target template video, displaying a video preview view corresponding to the material to be processed on a preset page, wherein the video preview view is a preview view of a target video generated based on the target template video and the material to be processed, and the target template video is any selected preset template video in at least one preset template video. By utilizing the embodiment of the disclosure, the effectiveness of the selected template video can be improved, and the efficiency of video production is further improved.

Description

Video editing processing method and device, electronic equipment and storage medium
Technical Field
The disclosure relates to the field of computer technology, and in particular, to a video editing processing method, a video editing processing device, electronic equipment and a storage medium.
Background
With the development of computer vision technology and the popularization of electronic devices, the editing process of multimedia materials such as video by using electronic devices is becoming popular, and various video editing functions are also growing in order to better meet the demands of users.
In the related technology, a video template is provided for a user in the video manufacturing process, but in the related technology, the user always selects the template video from a large number of general template videos, and then, after the template video is selected, relevant materials are imported for editing; in the scheme in the related art, the suitability between the selected template video and the related materials is poor frequently, and a user needs to edit and modify a large amount in the video manufacturing process, so that the technical problems of low video manufacturing efficiency and the like are caused.
Disclosure of Invention
The disclosure provides a video editing processing method, a video editing processing device, electronic equipment and a storage medium, so as to at least solve the technical problems of low video production efficiency and the like in the related art. The technical scheme of the present disclosure is as follows:
according to a first aspect of an embodiment of the present disclosure, there is provided a video editing processing method, including:
displaying the material to be processed on a preset page;
Responding to a template matching instruction aiming at the material to be processed, displaying at least one preset template video matched with the material to be processed on the preset page, wherein preset theme content corresponding to the at least one preset template video is matched with target theme content corresponding to the material to be processed;
and responding to a template selection instruction aiming at a target template video, displaying a video preview view corresponding to the material to be processed on the preset page, wherein the video preview view is a preview view of a target video generated based on the target template video and the material to be processed, and the target template video is any selected preset template video in the at least one preset template video.
In an alternative embodiment, the method further comprises:
responding to an editing instruction aiming at the target template video, and displaying a video material track corresponding to the target template video on the preset page;
the video material track is used for editing the template materials in the target template video.
In an optional embodiment, the video material track is a combined track corresponding to a plurality of template materials in the target template video; the displaying the video material track corresponding to the target template video on the preset page comprises the following steps:
Displaying the combined track on the preset page;
the combined track is used for integrally editing the plurality of template materials.
In an optional embodiment, the preset page further displays preset splitting operation information, and the method further includes:
responding to a splitting instruction triggered based on the preset splitting operation information, and splitting the combined track displayed by the preset page into target material tracks corresponding to the template materials respectively;
the target material track corresponding to any one template material is used for editing the any one template material.
In an optional embodiment, the target material tracks corresponding to the plurality of template materials are preset material tracks corresponding to the plurality of template materials; the splitting the combined track displayed by the preset page into the target material tracks corresponding to the template materials respectively in response to the splitting instruction triggered based on the preset splitting operation information comprises the following steps:
responding to the splitting instruction, and splitting the combined track into preset material tracks corresponding to the plurality of template materials based on preset display time corresponding to the plurality of template materials;
And updating the combined track displayed by the preset page to the preset material track corresponding to each of the plurality of template materials under the condition that the preset display time corresponding to each of the plurality of template materials is matched with the display time corresponding to the material to be processed.
In an optional embodiment, the splitting the combined track of the preset page presentation into the target material tracks corresponding to the plurality of template materials in response to the splitting instruction triggered based on the preset splitting operation information includes:
responding to the splitting instruction, and splitting the combined track into preset material tracks corresponding to the plurality of template materials based on preset display time corresponding to the plurality of template materials;
under the condition that the preset display time corresponding to the target template material is not matched with the display time of the material to be processed, carrying out self-adaptive adjustment on the preset material track corresponding to the target template material to obtain a self-adaptive adjustment track corresponding to the target template material, so that the display time corresponding to the self-adaptive adjustment track is matched with the display time of the material to be processed; the target template material is any template material of which the corresponding preset display time in the plurality of template materials is not matched with the display time of the material to be processed;
Updating the combined track displayed by the preset page to a target material track corresponding to each of the plurality of template materials;
and the target material track corresponding to the target template material in the plurality of template materials is the self-adaptive adjustment track corresponding to the target template material.
In an optional embodiment, the splitting the combined track of the preset page presentation into the target material tracks corresponding to the plurality of template materials in response to the splitting instruction triggered based on the preset splitting operation information includes:
responding to the splitting instruction, and acquiring editing authority information corresponding to a target object triggering the splitting instruction;
and executing the step of splitting the combined track displayed by the preset page into target material tracks corresponding to the plurality of template materials under the condition that the editing authority information indicates that the target object has splitting editing authority.
In an alternative embodiment, the method further comprises:
displaying a preset authority opening interface under the condition that the editing authority information indicates that the target object does not have split editing authority;
the preset authority opening interface is used for executing operation of opening preset editing authorities, and the preset editing authorities comprise the split editing authorities.
In an optional embodiment, after the displaying, on the preset page, the video material track corresponding to the target template video in response to the template selection instruction, the method further includes:
responding to an editing and updating instruction triggered based on the video material track, updating the video material track of the preset page display based on the editing and updating instruction, and updating the video preview view of the preset page display; the updated video preview view is a preview view of the updated video generated based on the updated template video corresponding to the updated video material track and the material to be processed.
In an optional embodiment, the material to be processed includes a video to be processed, the at least one preset template video includes a plurality of preset template videos, the plurality of preset template videos are arranged based on a preset sequence, and the method further includes:
carrying out key video fragment identification on the video to be processed to obtain a target key video fragment in the video to be processed;
determining target segment time information corresponding to the target key video segment;
matching the target segment time information with the preset segment time information corresponding to each of the preset template videos to obtain a key segment matching result corresponding to each preset template video, wherein the preset segment time information corresponding to each preset template video is segment time information corresponding to a key video segment in each preset template video; the key segment matching result corresponding to each preset template video represents the matching degree of the time period of the key video segment in each preset template video and the time period of the target key video segment;
And determining the preset sequence based on the key fragment matching result.
In an alternative embodiment, the method further comprises:
responding to the template matching instruction, sending a template matching request carrying the material to be processed to a server so that the server can identify the subject content of the material to be processed to obtain target subject content corresponding to the material to be processed, and taking a preset template video, in a preset template video library, of which the corresponding preset subject content is matched with the target subject content as the at least one preset template video;
receiving template recommendation information corresponding to the at least one preset template video sent by the server;
the displaying at least one preset template video matched with the material to be processed on the preset page comprises the following steps:
and displaying template recommendation information corresponding to the at least one preset template video on the preset page.
In an optional embodiment, after the responding to the template selection instruction for the target template video and displaying the video preview view corresponding to the material to be processed on the preset page, the method further includes:
And responding to a video generation instruction, and generating a video corresponding to the video preview view currently displayed by the preset page.
According to a second aspect of the embodiments of the present disclosure, there is provided a video editing processing apparatus including:
the material to be processed display module is configured to display the material to be processed on a preset page;
the matching template video display module is configured to execute at least one preset template video matched with the material to be processed on the preset page in response to a template matching instruction aiming at the material to be processed, and preset theme content corresponding to the at least one preset template video is matched with target theme content corresponding to the material to be processed;
the video preview view display module is configured to execute a template selection instruction for responding to a target template video, display a video preview view corresponding to the material to be processed on the preset page, wherein the video preview view is a preview view of a target video generated based on the target template video and the material to be processed, and the target template video is any selected preset template video in the at least one preset template video.
In an alternative embodiment, the apparatus further comprises:
The video material track display module is configured to execute a video material track corresponding to the target template video on the preset page in response to an editing instruction aiming at the target template video;
the video material track is used for editing the template materials in the target template video.
In an optional embodiment, the video material track is a combined track corresponding to a plurality of template materials in the target template video; the video material track display module comprises:
a combined track display unit configured to perform displaying the combined track on the preset page;
the combined track is used for integrally editing the plurality of template materials.
In an optional embodiment, the preset page further displays preset splitting operation information, and the device further includes:
the track splitting module is configured to execute a splitting instruction triggered based on the preset splitting operation information to split the combined track displayed by the preset page into target material tracks corresponding to the plurality of template materials respectively;
the target material track corresponding to any one template material is used for editing the any one template material.
In an optional embodiment, the target material tracks corresponding to the plurality of template materials are preset material tracks corresponding to the plurality of template materials; the track splitting module includes:
the first track splitting unit is configured to execute splitting the combined track into preset material tracks corresponding to the plurality of template materials based on preset display time corresponding to the plurality of template materials respectively in response to the splitting instruction;
the first track updating unit is configured to update the combined track displayed by the preset page to the preset material track corresponding to each of the plurality of template materials when the preset display time corresponding to each of the plurality of template materials is matched with the display time corresponding to the material to be processed.
In an alternative embodiment, the track splitting module includes:
the second track splitting unit is configured to execute splitting the combined track into preset material tracks corresponding to the plurality of template materials based on preset display time corresponding to the plurality of template materials respectively in response to the splitting instruction;
the self-adaptive adjustment unit is configured to perform self-adaptive adjustment on a preset material track corresponding to the target template material under the condition that the preset display time corresponding to the target template material is not matched with the display time of the material to be processed, so as to obtain a self-adaptive adjustment track corresponding to the target template material, and the display time corresponding to the self-adaptive adjustment track is matched with the display time of the material to be processed; the target template material is any template material of which the corresponding preset display time in the plurality of template materials is not matched with the display time of the material to be processed;
The second track updating unit is configured to update the combined track displayed by the preset page to a target material track corresponding to each of the plurality of template materials;
and the target material track corresponding to the target template material in the plurality of template materials is the self-adaptive adjustment track corresponding to the target template material.
In an alternative embodiment, the track splitting module includes:
the editing right information acquisition unit is configured to execute responding to the splitting instruction and acquire editing right information corresponding to a target object triggering the splitting instruction;
and the third track splitting unit is configured to execute the step of splitting the combined track displayed by the preset page into target material tracks corresponding to the plurality of template materials respectively under the condition that the editing authority information indicates that the target object has the splitting editing authority.
In an alternative embodiment, the apparatus further comprises:
the preset authority opening interface display unit is configured to display a preset authority opening interface under the condition that the editing authority information indicates that the target object does not have split editing authority;
The preset authority opening interface is used for executing operation of opening preset editing authorities, and the preset editing authorities comprise the split editing authorities.
In an alternative embodiment, the apparatus further comprises:
the updating module is configured to respond to an editing updating instruction triggered based on the video material track after the preset page displays the video material track corresponding to the target template video in response to the template selection instruction, update the video material track displayed by the preset page based on the editing updating instruction, and update the video preview view displayed by the preset page; the updated video preview view is a preview view of the updated video generated based on the updated template video corresponding to the updated video material track and the material to be processed.
In an optional embodiment, the material to be processed includes a video to be processed, the at least one preset template video includes a plurality of preset template videos, the plurality of preset template videos are arranged based on a preset sequence, and the apparatus further includes:
the key video segment identification module is configured to perform key video segment identification on the video to be processed to obtain a target key video segment in the video to be processed;
The target segment time information determining module is configured to determine target segment time information corresponding to the target key video segment;
the segment time matching module is configured to perform matching between the target segment time information and preset segment time information corresponding to each of the preset template videos to obtain a key segment matching result corresponding to each preset template video, wherein the preset segment time information corresponding to each preset template video is segment time information corresponding to a key video segment in each preset template video; the key segment matching result corresponding to each preset template video represents the matching degree of the time period of the key video segment in each preset template video and the time period of the target key video segment;
and the preset sequence determining module is configured to determine the preset sequence based on the key fragment matching result.
In an alternative embodiment, the apparatus further comprises:
the template matching request sending module is configured to respond to the template matching instruction and send a template matching request carrying the material to be processed to a server so that the server can identify the subject content of the material to be processed to obtain target subject content corresponding to the material to be processed, and a preset template video which is matched with the target subject content and corresponds to the preset subject content in a preset template video library is used as the at least one preset template video;
The template recommendation information receiving module is configured to receive template recommendation information corresponding to the at least one preset template video sent by the server;
the matching template video display module comprises:
and the template recommendation information display unit is configured to display template recommendation information corresponding to the at least one preset template video on the preset page.
In an alternative embodiment, the apparatus further comprises:
the video generation module is configured to execute the template selection instruction responding to the target template video, and then responding to the video generation instruction after the preset page displays the video preview view corresponding to the material to be processed, and generate the video corresponding to the video preview view currently displayed by the preset page.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device, comprising: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement the method of any of the first aspects above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform any one of the video editing processing methods of embodiments of the present disclosure.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method according to any one of the first aspects described above.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
in the video production process, under the condition that a preset page displays a material to be processed, a template matching instruction for the material to be processed can be triggered, at least one preset template video matched with the subject content of the material to be processed is automatically recommended by a user, the suitability between the recommended template video and the material to be processed is effectively ensured, the effectiveness of the template video is improved, further editing and modifying operation of the video production process based on any one preset template video in the at least one preset template video and the material to be processed can be reduced, the video production efficiency is greatly improved, and under the condition that a template selection instruction for the target template video is triggered, a video preview view of the target video generated based on the selected target template video and the material to be processed can be displayed on the preset page, so that the user can clearly and intuitively know the target video generated based on the selected target template video and the material to be processed, and further, when the follow-up needs to be further edited, the editing and updating of the material can be more specifically carried out, and the video production efficiency is better improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure and do not constitute an undue limitation on the disclosure.
FIG. 1 is a schematic diagram of an application environment shown in accordance with an exemplary embodiment;
FIG. 2 is a flowchart illustrating a video editing processing method according to an exemplary embodiment;
FIG. 3 is a schematic diagram of a preset page shown in accordance with an exemplary embodiment;
FIG. 4 is a schematic diagram of another preset page provided in accordance with an exemplary embodiment;
FIG. 5 is a schematic diagram illustrating a change in pages during a video preview view presentation in accordance with an exemplary embodiment;
FIG. 6 is a schematic diagram of a preset page showing a combined track corresponding to a target template video, according to an example embodiment;
FIG. 7 is a schematic diagram of a preset page showing target material tracks corresponding to a plurality of template materials, respectively, according to an exemplary embodiment;
FIG. 8 is a block diagram of a video editing processing apparatus according to an exemplary embodiment;
fig. 9 is a block diagram of an electronic device for video editing processing, according to an example embodiment.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of 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 foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
It should be noted that, the user information (including, but not limited to, user equipment information, user personal information, etc.) and the data (including, but not limited to, data for presentation, analyzed data, etc.) related to the present disclosure are information and data authorized by the user or sufficiently authorized by each party.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating an application environment that may include a terminal 100 and a server 200 according to an exemplary embodiment.
In an alternative embodiment, the terminal 100 may be used to provide video production services to either user. Specifically, the terminal 100 may include, but is not limited to, a smart phone, a desktop computer, a tablet computer, a notebook computer, a smart speaker, a digital assistant, an augmented reality (augmented reality, AR)/Virtual Reality (VR) device, a smart wearable device, or other type of electronic device, or may be software running on the electronic device, such as an application program, etc. Alternatively, the operating system running on the electronic device may include, but is not limited to, an android system, an IOS system, linux, windows, and the like.
In an alternative embodiment, the server 200 may provide background services for the terminal 100. Specifically, the server 200 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server that provides a cloud computing service.
In addition, it should be noted that, fig. 1 is only one application environment provided by the disclosure, and in practical applications, other application environments may also be included.
In the embodiment of the present disclosure, the terminal 100 and the server 200 may be directly or indirectly connected through a wired or wireless communication manner, which is not limited herein.
Fig. 2 is a flowchart illustrating a video editing processing method according to an exemplary embodiment, which may be applied to an electronic device such as a terminal, as shown in fig. 2, and may include the steps of:
in step S201, the material to be processed is displayed on a preset page.
In a specific embodiment, the material to be processed may be a material photographed by a user in real time or imported from a local device, and specifically, the material to be processed may include a video to be processed, and may also include a cover image corresponding to the video to be processed, and so on.
In a specific embodiment, the preset page may be a video editing page, and specifically, the displaying the material to be processed on the preset page may include displaying a preview view corresponding to the material to be processed on the preset page; as shown in fig. 3, fig. 3 is a schematic diagram of a preset page according to an exemplary embodiment, where the information corresponding to 301 may be a preview view corresponding to a material to be processed (video to be processed), and optionally, a user may trigger playing of the video to be processed by clicking a play control in the preset page, so as to view the complete video to be processed. Optionally, the preset page may also display a material track 302 corresponding to the material to be processed, so as to be used for editing the material to be processed in combination with the material track.
In step S203, at least one preset template video for matching the material to be processed is displayed on a preset page in response to a template matching instruction for the material to be processed.
In a specific embodiment, the preset theme content corresponding to the at least one preset template video is matched with the target theme content corresponding to the material to be processed; specifically, the preset subject content corresponding to any preset template video may be information capable of reflecting the content category in the preset template video, the target subject content corresponding to the material to be processed may be information capable of reflecting the content category in the material to be processed, specifically, the division of the subject content (content category) may be set in combination with actual application, and optionally, the subject content may include sports category, food category, movie category, game category, and the like.
In a specific embodiment, the preset page may display template matching operation information, and specifically, the template matching operation information may be used to trigger to intelligently match a template video with a material to be processed, and optionally, the template matching operation information may be a control, for example, a control corresponding to 303 in fig. 3, and accordingly, the template matching instruction may be triggered by clicking, long pressing the preset triggering operation of the template matching operation information, and so on. Optionally, the template matching operation information may also be operation indication information indicating that the triggering is to intelligently match the template video of the material to be processed, for example, shake an intelligent matching template video filter, etc., and correspondingly, the user may trigger the above template matching instruction through shake operation.
In addition, it should be noted that the preset page may also display editing operation information required by other video production processes, for example, subtitle operation information for triggering adding a subtitle to the material to be processed, filter operation information for triggering adding a filter to the material to be processed, special effect editing operation information for triggering adding a special effect to the material to be processed, and the like.
In a specific embodiment, the displaying at least one preset template video on the preset page may include displaying template recommendation information corresponding to the at least one preset template video on the preset page, and specifically, the template recommendation information corresponding to any preset template video may introduce information of the preset template video for a cover image, template name information, and the like corresponding to the preset template video.
In a specific embodiment, it is assumed that at least one preset template video matched with the material to be processed includes a plurality of preset template videos, as shown in fig. 4, fig. 4 is a schematic diagram of another preset page provided according to an exemplary embodiment, where information corresponding to 401 may be template recommendation information corresponding to the plurality of preset template videos.
In an alternative embodiment, as can be seen in conjunction with fig. 4, in the process of displaying template recommendation information on a preset page, the template recommendation information can be displayed under a recommendation classification label, where the control corresponding to 402 can be a resident guide control of the intelligent package (intelligent matching template function), and the resident guide control can be used for triggering the viewing of the course used by the intelligent matching template function; specifically, the control corresponding to 403 may be a match template emptying control, where specifically, the match template emptying control cancels selection of a preset template video when a preset template video is selected; optionally, if the template recommendation information is in the area, checking more template recommendation information of the preset template video matched with the material to be processed.
In an alternative embodiment, the method may further include:
responding to a template matching instruction, sending a template matching request carrying a material to be processed to a server so as to enable the server to identify the subject content of the material to be processed, obtaining target subject content corresponding to the material to be processed, and taking a preset template video, in a preset template video library, of which the corresponding preset subject content is matched with the target subject content as at least one preset template video;
receiving template recommendation information corresponding to at least one preset template video sent by a server;
correspondingly, the displaying the at least one preset template video matched with the material to be processed on the preset page may include:
and displaying template recommendation information corresponding to at least one preset template video on a preset page.
In a specific embodiment, the topic content recognition model may be combined with the topic content recognition model to perform topic content recognition on the material to be processed to obtain the target topic content, and in particular, the topic content recognition model may be a pre-trained deep learning model for topic content recognition; specifically, in the case that the material to be processed includes a video to be processed, a video frame may be extracted from the video to be processed, and the video frame is input into a topic identification model to identify a topic, so as to obtain a target topic; optionally, the target subject matter may include one or more subject matter;
In a specific embodiment, a large number of preset template videos are prestored in a preset template video library, and each preset template video is provided with a label of preset theme content; specifically, the preset subject content corresponding to each preset template video may also be identified by combining the subject content identification model, and the preset subject content corresponding to each preset template video may include one or more subject contents.
In a specific embodiment, the matching of the preset theme content corresponding to the preset template video with the target theme content may be that the preset theme content corresponding to the preset template video is consistent with the target theme content, or may be that the duty ratio information corresponding to the theme content of the target theme content in the preset theme content corresponding to the preset template video (the number of the theme content included in the target theme content in the preset theme content corresponding to the preset template video is greater than or equal to a preset threshold, and specifically, the preset threshold may be set in combination with practical application.
In a specific embodiment, the server side may store in advance each template recommendation information corresponding to the template video, and correspondingly, in a case where at least one preset template video matched with the material to be processed is determined, the server may send the template recommendation information corresponding to the at least one preset template video to the terminal.
In the above embodiment, under the condition that the template matching instruction triggers, a template matching request carrying a material to be processed is sent to the server, the server performs topic content identification on the material to be processed, and matches at least one preset template video from a preset template video library in combination with the identified target topic content, so that the resource consumption of a terminal system can be effectively reduced, and under the condition that template recommendation information corresponding to the at least one preset template video sent by the server is received, template recommendation information corresponding to the at least one preset template video is displayed on a preset page, so that the template video matched with the topic content of the material to be processed can be recommended to a user, the adaptation degree between the template video and the material to be processed can be greatly improved, further the subsequent editing modification can be reduced, the video production efficiency can be improved, and the user can be helped to know the preset template video in combination with the template recommendation information.
In addition, in practical application, the terminal can also identify the subject content of the material to be processed and send the target subject content to the server, so that the server can match at least one preset template video from a preset template video library in combination with the target subject content, and send the template recommendation information corresponding to the at least one preset template video to the terminal.
In a specific embodiment, the material to be processed includes a video to be processed, where the at least one preset template video includes a plurality of preset template videos, the plurality of preset template videos may be arranged based on a preset sequence, optionally, the preset sequence may be a random sequence, or may be determined based on a key segment matching result corresponding to each preset template video, optionally, where the preset sequence is determined based on a key segment matching result corresponding to each preset template video, the method may further include:
carrying out key video fragment identification on the video to be processed to obtain a target key video fragment in the video to be processed;
determining target segment time information corresponding to a target key video segment;
matching the target segment time information with preset segment time information corresponding to each of a plurality of preset template videos to obtain a key segment matching result corresponding to each preset template video;
and determining a preset sequence based on the key fragment matching result.
In a specific embodiment, in the process of performing key video segment recognition on a video to be processed to obtain a target key video segment in the video to be processed, a key frame recognition model may be combined first to perform key video frame recognition on video frames in the video to be processed to determine key video frames in the video to be processed, and a video segment composed of the key video frames is used as the target key video segment; specifically, the key frame recognition model may be a pre-trained deep learning model for recognizing key video frames, specifically, the key video frames corresponding to different scenes are different, for example, in a game scene, the key video frames may be key video frames for determining the win or lose of a game, for example, the key video frames in a movie scene may be video frames corresponding to scenes of a name, etc. Accordingly, in order to improve accuracy of key video frame recognition, key frame recognition models corresponding to different scenes can be trained in advance.
In a specific embodiment, the target key video snippet may include one or more video snippets, and the target snippet time information corresponding to any video snippet may be a time period where the video snippet is located, for example, 30 s-40 s, etc.
In a specific embodiment, the preset clip time information corresponding to each preset template video may be clip time information corresponding to a key video clip in each preset template video; specifically, each preset template video may include one or more video clips, and the clip time information corresponding to any video clip may be the period in which the video clip is located. Specifically, the matching result of the key segment corresponding to each preset template video represents the matching degree of the time period where the key video segment is located in each preset template video and the time period where the target key video segment is located, and specifically, the ratio of the time period where the key video segment is located in each preset template video and the time period where the target key video segment is located coincides with the time period where the target key video segment is located can be used as the matching result of the key segment corresponding to each preset template video.
In a specific embodiment, the determining process of the preset segment time information corresponding to the preset template video may refer to related refinement of the target segment time information corresponding to the determined target key video segment, which is not described herein.
In a specific embodiment, the larger the value of the key segment matching result corresponding to a certain preset template video, the more forward the preset template video is ordered in the preset sequence, whereas the smaller the value of the key segment matching result corresponding to a certain preset template video, the more backward the preset template video is ordered in the preset sequence.
In a specific embodiment, the operation of determining the preset sequence may be performed by the terminal or may be performed by the server.
In the above embodiment, after a plurality of preset template videos are matched in combination with the subject content, the target key video segments in the video to be processed are obtained by performing key video segment recognition on the video to be processed, and the display sequence (preset sequence) of the plurality of preset template videos when recommending is determined by the key segment matching result between the target segment time information corresponding to the target key video segments and the preset segment time information corresponding to the plurality of preset template videos, so that the template videos with more matched key video segments can be recommended preferentially on the basis of ensuring the matching of the subject content, and further the user can be better helped to select the more matched template videos.
In addition, in practical application, besides sorting a plurality of preset template videos by combining the key fragment matching result, at least one preset template video can be sorted by combining the duration matching degree and the like corresponding to the preset template video and the video to be processed, and the setting can be specifically performed by combining the practical application requirement.
In step S205, in response to a template selection instruction for a target template video, a video preview view corresponding to the material to be processed is displayed on a preset page.
In a specific embodiment, the target template video is any selected preset template video of the at least one preset template video; specifically, the template selection instruction for the preset template video can be triggered by clicking the template recommendation information corresponding to any preset template video.
In a specific embodiment, the video preview view may be a preview view of a target video generated based on a target template video and material to be processed. Specifically, the video preview view may be a first frame video image of the target video; correspondingly, the displaying the video preview view corresponding to the material to be processed on the preset page may include: displaying a first frame of video image of the target video on a preset page, wherein optionally, a user can trigger preview display of the target video by clicking a play control; optionally, the video preview view may also be a target video, and correspondingly, the displaying, on a preset page, the video preview view corresponding to the material to be processed may include: and playing the target video on a preset page.
In a specific embodiment, under the condition that a template selection instruction triggers, a template material and a material to be processed in a target template video can be obtained, the template material and the material to be processed in the target template video are fused to generate a target video, and a preview view (video preview view) of the target video is displayed on a preset page, and optionally, the operation of fusing the template material and the material to be processed in the target template video can be executed by a terminal or a server.
In an optional embodiment, after the template selection instruction for the target template video is triggered, a certain time is often required to generate the target video to obtain a video preview view for displaying, optionally, after the template selection instruction is triggered, the preview loading progress may be displayed first, and in the case that the video preview view is obtained, the video preview view is displayed on a preset page. In a specific embodiment, in conjunction with the corresponding embodiment of fig. 4, it is assumed that the user selects the template 3, that is, triggers a template selection instruction for the template 3, as shown in fig. 5, and fig. 5 is a schematic diagram of page changes in the video preview view showing process according to an exemplary embodiment; in fig. 5 a, a preset page showing the progress of preview loading is shown, specifically, in the process of showing the progress of preview loading, preset document information associated with the function of the intelligent matching template, for example, "AI (Artificial Intelligence artificial intelligence)" intelligent production, easy and pleasant editing "," rich audiovisual effect being intelligently added "," volume being freely edited and adjusted after addition "and the like can be also shown; specifically, the pop-up window can be closed by clicking a cancel button, and the display of the video preview view is canceled. Specifically, fig. 5 b shows a preset page with a video preview view; specifically, the information corresponding to 501 may be a video preview view, and optionally, in combination with the description of fig. 5 b, the template recommendation information corresponding to the target template video may be highlighted by a frame highlighting manner, so as to be different from other unselected template videos.
In an alternative embodiment, the method may further include:
responding to an editing instruction aiming at the target template video, and displaying a video material track corresponding to the target template video on a preset page;
in a specific embodiment, template editing trigger information may be displayed on a preset page, and specifically, the template editing trigger information may be used to trigger the display of a video material track corresponding to a target template video, where the video material track may be used to edit a template material in the target template video. Optionally, the editing instruction for the target template video may be triggered by clicking, long pressing the preset triggering operations such as template editing triggering information. Optionally, the template editing trigger information may also be operation indication information indicating that the video material track corresponding to the target template video is triggered for displaying. Accordingly, the instruction information can be operated to execute corresponding operation to trigger the editing instruction.
In an alternative embodiment, in the preset page displaying the video material track, a preset control may be combined, or a key may be operated to fall back to a common video editing page, for example, a preset page corresponding to fig. 3.
In the above embodiment, the video material track corresponding to the target template video is displayed on the preset page by aiming at the editing instruction of the target template video, so that the video material track can be combined to further perform video production and editing, and further the video production can be performed according to the user requirement better.
In an optional embodiment, the video material track may be a combined track corresponding to a plurality of template materials in the target template video; the method for displaying the video material track corresponding to the target template video on the preset page comprises the following steps:
displaying a combined track on a preset page;
in one particular embodiment, the combined track is used to make an overall edit to a plurality of template materials. Specifically, various template materials can be set in connection with practical applications, such as stickers, filters, subtitles, audio, etc. In a specific embodiment, as shown in fig. 6, fig. 6 is a schematic diagram showing a preset page with a combination track corresponding to a target template video according to an exemplary embodiment; the track corresponding to 601 may be a combined track corresponding to the target template video.
In a specific embodiment, optionally, in a case of selecting the combined track, the deletion control (for example, control 602 in fig. 6) shown in the preset page may be combined, so as to delete the target template video, and correspondingly, update the video preview view to a preview view corresponding to the material to be processed. Optionally, a template replacement control (for example, control 603 in fig. 6) may be preset, a presentation of a preset page (for example, a preset page corresponding to fig. 4) recommending a plurality of preset template videos may be triggered, and correspondingly, the user may reselect the preset template videos; optionally, in the case of selecting the combination track, the volume corresponding to the target template video may be adjusted integrally in combination with a volume adjustment control (for example, control 604 in fig. 6) shown on the preset page. Optionally, the length of the combined track can be adjusted, so that the display time corresponding to various template materials can be scaled in equal proportion, and the display time corresponding to various template materials can be adjusted at the same time.
In the above embodiment, in the process of editing the target template video, the combination tracks corresponding to the various template materials in the target template video are displayed, so that the various template materials can be conveniently adjusted at the same time, and the editing efficiency of the template materials in the process of video production is improved.
In an optional embodiment, the preset page further displays preset splitting operation information, and correspondingly, the method further includes:
responding to a splitting instruction triggered based on preset splitting operation information, splitting a combined track displayed by a preset page into target material tracks corresponding to various template materials;
in a specific embodiment, the preset split operation information may be used to trigger splitting for the combined track, and optionally, the preset split operation information may be a control used to trigger splitting for the combined track, for example, a control corresponding to 605 in fig. 6; correspondingly, the splitting instruction can be triggered by clicking the preset splitting operation information and other modes; optionally, the preset splitting operation information may also be operation indication information indicating to trigger splitting for the combined track. Accordingly, the instruction information may be operated to perform a corresponding operation to trigger the split instruction.
In a specific embodiment, a target material track corresponding to any one of the template materials is used for editing the template material.
In an optional embodiment, the splitting the combined track of the preset page display into the target material tracks corresponding to the plurality of template materials respectively in response to the splitting instruction triggered based on the preset splitting operation information may include:
responding to the splitting instruction, and acquiring editing authority information corresponding to a target object triggering the splitting instruction;
and under the condition that the editing authority information indicates that the target object has splitting editing authority, executing the step of splitting the combined track displayed by the preset page into target material tracks corresponding to various template materials.
In a specific embodiment, the target object may be a user account triggering a splitting instruction, specifically, the editing permission information may be used to indicate an editing permission of the target object, and in particular, in a case where the editing permission of the target object includes a splitting editing permission (that is, a use permission having a function of splitting a combined track into a target material track corresponding to each of a plurality of template materials), the editing permission information may indicate that the target object has a splitting editing permission, and accordingly, a step of splitting the combined track displayed on the preset page into a target material track corresponding to each of a plurality of template materials may be performed;
In an alternative embodiment, the method may further include:
displaying a preset authority opening interface under the condition that the editing authority information indicates that the target object does not have split editing authority;
in a specific embodiment, the preset authority opening interface may be used to perform an operation of opening preset editing authorities, where the preset editing authorities include splitting editing authorities. Specifically, the preset authority opening interface can be an independently displayed page, and the page can be displayed on the preset page in a popup window mode and the like; further, under the condition that the preset authority opening interface opens the preset editing authority including splitting the editing authority, the combined track displayed on the preset page can be split into target material tracks corresponding to various template materials.
In the above embodiment, under the condition that the splitting instruction is triggered, whether the target object has splitting editing authority is determined by combining editing authority information corresponding to the target object, so that the combined track displayed by the preset page can be directly split into target material tracks corresponding to various template materials under the condition that the target object has splitting authority; and under the condition that the target object does not have the splitting editing authority, a preset authority opening interface for executing the operation of opening the preset editing authority is displayed, so that the track splitting function can be provided for the user in a targeted manner.
In a specific embodiment, as shown in fig. 7, fig. 7 is a schematic diagram of a preset page showing target material tracks corresponding to multiple template materials according to an exemplary embodiment, where the track corresponding to 701 may be the target material track corresponding to each of the multiple template materials (audio, subtitle, sticker, and special effect).
In an optional embodiment, when the target material tracks corresponding to the multiple template materials are displayed, splitting success prompt information, for example, information corresponding to 702 in fig. 7, may be displayed, and optionally, the splitting success prompt information may automatically disappear after displaying a preset duration, or may automatically disappear when a user edits and updates the target material tracks corresponding to any template material.
In a specific embodiment, volume and the like can be adjusted in combination with a material track corresponding to audio, subtitle font adjustment and the like can be performed in combination with a target material track corresponding to subtitle, and decal resetting and the like can be performed in combination with a target material track corresponding to decal.
In the above embodiment, the splitting instruction is triggered by combining the preset splitting operation information of the preset page display, so that the combined track of the preset page display can be split into the target material tracks corresponding to the various template materials, and further the user can conveniently edit the template materials by combining the target material tracks corresponding to the various template materials, and the accuracy and the flexibility of editing the template materials can be improved.
In an optional embodiment, the target material tracks corresponding to the plurality of template materials are preset material tracks corresponding to the plurality of template materials; correspondingly, the splitting the combined track displayed by the preset page into the target material tracks corresponding to the plurality of template materials respectively in response to the splitting instruction triggered based on the preset splitting operation information may include:
responding to the splitting instruction, and splitting the combined track into preset material tracks corresponding to the template materials based on preset display time corresponding to the template materials;
under the condition that the preset display time corresponding to each of the plurality of template materials is matched with the display time corresponding to the material to be processed, updating the combined track displayed by the preset page into the preset material track corresponding to each of the plurality of template materials.
In a specific embodiment, the preset display time corresponding to the template material may be a display time period corresponding to each template material in the target template video, specifically, in a process of splitting the combined track into preset material tracks corresponding to the plurality of template materials by combining preset display times corresponding to the plurality of template materials, the preset material tracks corresponding to each template material may be aligned with the time sequence of the material track corresponding to the video to be processed according to the corresponding preset display time, that is, if the total duration of the video to be processed is 40s, the corresponding material track is a, and correspondingly, if the preset display time corresponding to a certain template material is 0-20s, and correspondingly, the length of the preset material track corresponding to the template material is a/2, and the preset material track corresponding to the template material is generally aligned with the front of the material track corresponding to the video to be processed.
In a specific embodiment, in the case that the template material is any one of special effects, stickers and subtitles, the preset display time corresponding to the template material is matched with the display time corresponding to the material to be processed, which may be that the preset display time of the template material is consistent with the display time corresponding to the material to be processed, or the preset display time of the template material is included in the display time corresponding to the material to be processed;
in a specific embodiment, in the case that the template material is any one of music and a filter, the preset display time corresponding to the template material is matched with the display time corresponding to the material to be processed, and the preset display time of the template material is consistent with the display time corresponding to the material to be processed.
In the above embodiment, in the process of splitting the combined track into the target material tracks corresponding to the plurality of template materials, the combined track is split into the preset material tracks corresponding to the plurality of template materials based on the preset display time corresponding to the plurality of template materials, and under the condition that the preset display time corresponding to the plurality of template materials is matched with the display time corresponding to the material to be processed, the combined track displayed on the preset page is updated into the preset material track corresponding to the plurality of template materials, so that the adaptation of each split material track to the material to be processed can be effectively ensured, further, the subsequent editing operation can be reduced, and the editing efficiency is improved.
In another optional embodiment, the splitting the combined track of the preset page display into the target material tracks corresponding to the plurality of template materials respectively in response to the splitting instruction triggered based on the preset splitting operation information may include:
responding to the splitting instruction, and splitting the combined track into preset material tracks corresponding to the template materials based on preset display time corresponding to the template materials;
under the condition that the preset display time corresponding to the target template material is not matched with the display time of the material to be processed, carrying out self-adaptive adjustment on the preset material track corresponding to the target template material to obtain a self-adaptive adjustment track corresponding to the target template material, so that the display time corresponding to the self-adaptive adjustment track is matched with the display time of the material to be processed;
updating a combined track displayed by a preset page into target material tracks corresponding to various template materials respectively, wherein the target material track corresponding to the target template material in the various template materials is a self-adaptive adjustment track corresponding to the target template material;
in a specific embodiment, the target template material is any template material of which the corresponding preset display time in the plurality of template materials is not matched with the display time of the material to be processed; specifically, if the display time of the material to be processed (video to be processed) is too short under the condition that the target template material is any one of special effects, stickers and subtitles, the target template material can be displayed in the display time content of the material to be processed, and correspondingly, the preset material track corresponding to the target template material can be adjusted to be as long as the material track corresponding to the material to be processed, so that a corresponding self-adaptive material track is obtained;
In a specific embodiment, if the display time of the material to be processed (video to be processed) is too short under the condition that the target template material is any one of music and a filter, the display time (display duration) corresponding to the target template material is cut, that is, the preset material track corresponding to the target template material is adjusted to be as long as the material track corresponding to the material to be processed; if the display time of the material to be processed (video to be processed) is too long, repeatedly displaying the target template material, and correspondingly, prolonging the preset material track corresponding to the target template material to the same length as the material track corresponding to the material to be processed.
In the above embodiment, in the process of splitting the combined track into the target material tracks corresponding to the plurality of template materials, the combined track is split into the preset material tracks corresponding to the plurality of template materials based on the preset display time corresponding to the plurality of template materials, and in the case that the preset display time corresponding to the plurality of template materials is not matched with the display time corresponding to the material to be processed, the preset material tracks corresponding to the target template materials are adaptively adjusted, so as to obtain an adaptive adjustment track in which the display time corresponding to the adaptive adjustment track is matched with the display time of the material to be processed; and updating the combined track displayed by the preset page into the target material track corresponding to each of the plurality of template materials, so that the adaptation of each detached material track and the material to be processed can be effectively ensured, further, the subsequent editing operation can be reduced, and the editing efficiency is improved.
In an optional embodiment, after displaying, in response to the template selection instruction, a video material track corresponding to the target template video on a preset page, the method may further include:
responding to an editing and updating instruction triggered based on the video material track, updating the video material track displayed on the preset page based on the editing and updating instruction, and updating a video preview view displayed on the preset page;
in a specific embodiment, the editing update instruction is triggered based on the video material track to perform specific refinement of the video material track update, which can be referred to the above related refinement of editing in combination with the combined track or the target material track corresponding to each of the multiple template materials, which is not described herein.
In a specific embodiment, the updated video preview view is a preview view of an updated video generated based on an updated template video corresponding to the updated video material track and the material to be processed. Specifically, the specific refinement of the preview view of the updated video is determined by combining the updated template video corresponding to the updated video material track and the updated video generated by the material to be processed, which can be referred to the target template video and the target video generated by the material to be processed, and the specific refinement of the preview view of the target video is determined, which is not described herein.
In the above embodiment, when the editing update instruction is triggered based on the video material track, the video preview view displayed on the preset page is correspondingly updated while the video material track displayed on the preset page is updated, so that synchronization of material update and video update can be realized, and further, a user can clearly and intuitively understand the editing effect.
In an optional embodiment, after the preset page displays the video preview view corresponding to the material to be processed in response to the template selection instruction for the target template video, the method may further include:
and responding to the video generation instruction, and generating a video corresponding to the video preview view currently displayed by the preset page.
In a specific embodiment, the preset page may display video confirmation operation information, specifically, the video confirmation operation information may be used to trigger video generation, and optionally, the video confirmation operation information may be a control for triggering video generation, for example, a "done" control in fig. 7; correspondingly, the video generation instruction can be triggered by clicking the video generation mode and the like; optionally, the video confirmation operation information may also be operation indication information indicating triggering video generation. Accordingly, the instruction information can be operated to execute corresponding operation to trigger the video generation instruction.
In a specific embodiment, since the corresponding video is often already generated in the display process of the currently displayed video preview view, the video generated in the display process of the currently displayed video preview view can be directly used as the finally generated video under the condition that the video generation instruction is triggered. If the target template video and the material to be processed are not edited before the video generation instruction is triggered, correspondingly, the video corresponding to the currently displayed video preview view is the target video; otherwise, if the video generation instruction is triggered, editing and updating the target template video, wherein the video corresponding to the currently displayed video preview view is generated based on the updated target template video and the material to be processed; if the video generation instruction is triggered, editing and updating the material to be processed, wherein the video corresponding to the currently displayed video preview view is a video generated based on the target template video and the updated material to be processed; and if the video generation instruction is triggered, editing and updating the target template video and the material to be processed, wherein the video corresponding to the video preview view displayed at present is generated based on the updated target template video and the updated material to be processed.
In the embodiment, under the condition that the video generation instruction triggers, the video corresponding to the video preview view currently displayed by the preset page is generated, so that the video can be generated conveniently in combination with the actual editing situation of the user, and the accuracy of video generation is effectively ensured.
According to the technical scheme provided by the embodiment of the specification, in the video manufacturing process, under the condition that the to-be-processed material is displayed on the preset page, the template matching instruction for the to-be-processed material can be triggered, at least one preset template video matched with the subject content of the to-be-processed material is automatically recommended by a user, the suitability between the recommended template video and the to-be-processed material is effectively ensured, the effectiveness of the template video is improved, the editing and modifying operation of the video manufacturing process based on any one of the at least one preset template video and the to-be-processed material can be reduced, the video manufacturing efficiency is greatly improved, and in addition, the video preview view of the target video generated based on the selected target template video and the to-be-processed material can be clearly and intuitively known by the user under the condition that the template selection instruction for the target template video is triggered, so that the target video generated based on the selected target template video and the to-be-processed material is convenient to carry out the subsequent editing, the editing and updating of the material can be more purposefully carried out, and the video manufacturing efficiency is better.
Fig. 8 is a block diagram of a video editing processing apparatus according to an exemplary embodiment. Referring to fig. 8, the apparatus includes:
the material to be processed display module 810 is configured to display the material to be processed on a preset page;
the matching template video display module 820 is configured to execute at least one preset template video for displaying matching of the material to be processed on a preset page in response to a template matching instruction for the material to be processed, wherein preset subject content corresponding to the at least one preset template video is matched with target subject content corresponding to the material to be processed;
the video preview view display module 830 is configured to perform displaying, on a preset page, a video preview view corresponding to a material to be processed in response to a template selection instruction for a target template video, where the video preview view is a preview view of the target video generated based on the target template video and the material to be processed, and the target template video is any preset template video selected from at least one preset template video.
In an alternative embodiment, the apparatus further comprises:
the video material track display module is configured to execute a video material track corresponding to the target template video on a preset page in response to an editing instruction aiming at the target template video;
The video material track is used for editing the template materials in the target template video.
In an optional embodiment, the video material track is a combined track corresponding to a plurality of template materials in the target template video; the video material track display module comprises:
a combined track display unit configured to display a combined track on a preset page;
the combined track is used for integrally editing various template materials.
In an optional embodiment, the preset page further displays preset splitting operation information, and the device further includes:
the track splitting module is configured to execute a splitting instruction triggered based on preset splitting operation information and split the combined track displayed by the preset page into target material tracks corresponding to various template materials respectively;
the target material track corresponding to any template material is used for editing any template material.
In an optional embodiment, the target material tracks corresponding to the plurality of template materials are preset material tracks corresponding to the plurality of template materials; the track splitting module includes:
the first track splitting unit is configured to execute splitting of the combined track into preset material tracks corresponding to the template materials based on preset display time corresponding to the template materials respectively in response to the splitting instruction;
The first track updating unit is configured to update the combined track displayed by the preset page to the preset material track corresponding to each of the plurality of template materials under the condition that the preset display time corresponding to each of the plurality of template materials is matched with the display time corresponding to the material to be processed.
In an alternative embodiment, the track splitting module includes:
the second track splitting unit is configured to execute splitting of the combined track into preset material tracks corresponding to the template materials based on preset display time corresponding to the template materials respectively in response to the splitting instruction;
the self-adaptive adjustment unit is configured to perform self-adaptive adjustment on the preset material track corresponding to the target template material under the condition that the preset display time corresponding to the target template material is not matched with the display time of the material to be processed, so as to obtain a self-adaptive adjustment track corresponding to the target template material, and the display time corresponding to the self-adaptive adjustment track is matched with the display time of the material to be processed; the target template material is any template material of which the corresponding preset display time is not matched with the display time of the material to be processed in the plurality of template materials;
The second track updating unit is configured to update the combined track displayed by the preset page into a target material track corresponding to each of the plurality of template materials;
the target material track corresponding to the target template material in the plurality of template materials is a self-adaptive adjustment track corresponding to the target template material.
In an alternative embodiment, the track splitting module includes:
the editing right information acquisition unit is configured to execute responding to the splitting instruction and acquire editing right information corresponding to a target object triggering the splitting instruction;
the third track splitting unit is configured to execute the step of splitting the combined track displayed by the preset page into target material tracks corresponding to various template materials respectively under the condition that the editing authority information indicates that the target object has the splitting editing authority.
In an alternative embodiment, the apparatus further comprises:
the preset authority opening interface display unit is configured to display a preset authority opening interface under the condition that the editing authority information indicates that the target object does not have split editing authority;
the preset authority opening interface is used for executing operation of opening preset editing authorities, and the preset editing authorities comprise splitting editing authorities.
In an alternative embodiment, the apparatus further comprises:
the updating module is configured to execute the steps of responding to an editing updating instruction triggered based on the video material track after responding to the template selection instruction and displaying the video material track corresponding to the target template video on the preset page, updating the video material track displayed on the preset page based on the editing updating instruction, and updating the video preview view displayed on the preset page; the updated video preview view is a preview view of the updated video generated based on the updated template video corresponding to the updated video material track and the material to be processed.
In an alternative embodiment, the material to be processed includes a video to be processed, the at least one preset template video includes a plurality of preset template videos, and the plurality of preset template videos are arranged based on a preset sequence, and the apparatus further includes:
the key video segment identification module is configured to execute key video segment identification on the video to be processed to obtain a target key video segment in the video to be processed;
the target segment time information determining module is configured to determine target segment time information corresponding to the target key video segment;
The segment time matching module is configured to perform matching between target segment time information and preset segment time information corresponding to each of a plurality of preset template videos to obtain a key segment matching result corresponding to each of the preset template videos, wherein the preset segment time information corresponding to each of the preset template videos is segment time information corresponding to a key video segment in each of the preset template videos; the key segment matching result corresponding to each preset template video represents the matching degree of the time period of the key video segment in each preset template video and the time period of the target key video segment;
and the preset sequence determining module is configured to determine a preset sequence based on the key fragment matching result.
In an alternative embodiment, the apparatus further comprises:
the template matching request sending module is configured to respond to the template matching instruction, send a template matching request carrying the material to be processed to the server so that the server can identify the subject content of the material to be processed to obtain target subject content corresponding to the material to be processed, and take a preset template video, in a preset template video library, of which the corresponding preset subject content is matched with the target subject content as at least one preset template video;
The template recommendation information receiving module is configured to execute template recommendation information corresponding to at least one preset template video sent by the receiving server;
the matching template video presentation module 820 includes:
the template recommendation information display unit is configured to display template recommendation information corresponding to at least one preset template video on a preset page.
In an alternative embodiment, the apparatus further comprises:
the video generation module is configured to execute the video corresponding to the video preview view currently displayed on the preset page in response to the video generation instruction after the preset page displays the video preview view corresponding to the material to be processed in response to the template selection instruction for the target template video.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 9 is a block diagram illustrating an electronic device for video editing processing, which may be a terminal, according to an exemplary embodiment, and an internal structure diagram thereof may be as shown in fig. 9. The electronic device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic device includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the electronic device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a video editing processing method. The display screen of the electronic equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the electronic equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 9 is merely a block diagram of a portion of the structure associated with the disclosed aspects and is not limiting of the electronic device to which the disclosed aspects apply, and that a particular electronic device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In an exemplary embodiment, there is also provided an electronic device including: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement a video editing processing method as in an embodiment of the present disclosure.
In an exemplary embodiment, a computer-readable storage medium is also provided, which when executed by a processor of an electronic device, enables the electronic device to perform the video editing processing method in the embodiments of the present disclosure.
In an exemplary embodiment, a computer program product containing instructions is also provided which, when run on a computer, cause the computer to perform the video editing processing method in the embodiments of the present disclosure.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
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 application is intended to cover any adaptations, 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 is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (15)

1. A video editing processing method, comprising:
displaying the material to be processed on a preset page;
responding to a template matching instruction aiming at the material to be processed, displaying at least one preset template video matched with the material to be processed on the preset page, wherein preset theme content corresponding to the at least one preset template video is matched with target theme content corresponding to the material to be processed;
And responding to a template selection instruction aiming at a target template video, displaying a video preview view corresponding to the material to be processed on the preset page, wherein the video preview view is a preview view of a target video generated based on the target template video and the material to be processed, and the target template video is any selected preset template video in the at least one preset template video.
2. The video editing processing method according to claim 1, characterized in that the method further comprises:
responding to an editing instruction aiming at the target template video, and displaying a video material track corresponding to the target template video on the preset page;
the video material track is used for editing the template materials in the target template video.
3. The video editing processing method according to claim 2, wherein the video material track is a combined track corresponding to a plurality of template materials in the target template video; the displaying the video material track corresponding to the target template video on the preset page comprises the following steps:
displaying the combined track on the preset page;
the combined track is used for integrally editing the plurality of template materials.
4. The video editing processing method according to claim 3, wherein the preset page further displays preset splitting operation information, and the method further comprises:
responding to a splitting instruction triggered based on the preset splitting operation information, and splitting the combined track displayed by the preset page into target material tracks corresponding to the template materials respectively;
the target material track corresponding to any one template material is used for editing the any one template material.
5. The video editing processing method according to claim 4, wherein the target material tracks corresponding to the plurality of template materials are preset material tracks corresponding to the plurality of template materials; the splitting the combined track displayed by the preset page into the target material tracks corresponding to the template materials respectively in response to the splitting instruction triggered based on the preset splitting operation information comprises the following steps:
responding to the splitting instruction, and splitting the combined track into preset material tracks corresponding to the plurality of template materials based on preset display time corresponding to the plurality of template materials;
And updating the combined track displayed by the preset page to the preset material track corresponding to each of the plurality of template materials under the condition that the preset display time corresponding to each of the plurality of template materials is matched with the display time corresponding to the material to be processed.
6. The method according to claim 4, wherein splitting the combined track of the preset page presentation into the target material tracks corresponding to the plurality of template materials in response to the splitting instruction triggered based on the preset splitting operation information includes:
responding to the splitting instruction, and splitting the combined track into preset material tracks corresponding to the plurality of template materials based on preset display time corresponding to the plurality of template materials;
under the condition that the preset display time corresponding to the target template material is not matched with the display time of the material to be processed, carrying out self-adaptive adjustment on the preset material track corresponding to the target template material to obtain a self-adaptive adjustment track corresponding to the target template material, so that the display time corresponding to the self-adaptive adjustment track is matched with the display time of the material to be processed; the target template material is any template material of which the corresponding preset display time in the plurality of template materials is not matched with the display time of the material to be processed;
Updating the combined track displayed by the preset page to a target material track corresponding to each of the plurality of template materials;
and the target material track corresponding to the target template material in the plurality of template materials is the self-adaptive adjustment track corresponding to the target template material.
7. The method according to claim 4, wherein splitting the combined track of the preset page presentation into the target material tracks corresponding to the plurality of template materials in response to the splitting instruction triggered based on the preset splitting operation information includes:
responding to the splitting instruction, and acquiring editing authority information corresponding to a target object triggering the splitting instruction;
and executing the step of splitting the combined track displayed by the preset page into target material tracks corresponding to the plurality of template materials under the condition that the editing authority information indicates that the target object has splitting editing authority.
8. The video editing processing method according to claim 7, characterized in that the method further comprises:
displaying a preset authority opening interface under the condition that the editing authority information indicates that the target object does not have split editing authority;
The preset authority opening interface is used for executing operation of opening preset editing authorities, and the preset editing authorities comprise the split editing authorities.
9. The video editing processing method according to claim 2, wherein after the displaying, in response to the template selection instruction, the video material track corresponding to the target template video on the preset page, the method further comprises:
responding to an editing and updating instruction triggered based on the video material track, updating the video material track of the preset page display based on the editing and updating instruction, and updating the video preview view of the preset page display; the updated video preview view is a preview view of the updated video generated based on the updated template video corresponding to the updated video material track and the material to be processed.
10. The video editing processing method according to any one of claims 1 to 9, wherein the material to be processed includes a video to be processed, the at least one preset template video includes a plurality of preset template videos, the plurality of preset template videos are arranged based on a preset order, the method further comprising:
Carrying out key video fragment identification on the video to be processed to obtain a target key video fragment in the video to be processed;
determining target segment time information corresponding to the target key video segment;
matching the target segment time information with the preset segment time information corresponding to each of the preset template videos to obtain a key segment matching result corresponding to each preset template video, wherein the preset segment time information corresponding to each preset template video is segment time information corresponding to a key video segment in each preset template video; the key segment matching result corresponding to each preset template video represents the matching degree of the time period of the key video segment in each preset template video and the time period of the target key video segment;
and determining the preset sequence based on the key fragment matching result.
11. The video editing processing method according to any one of claims 1 to 9, characterized in that the method further comprises:
responding to the template matching instruction, sending a template matching request carrying the material to be processed to a server so that the server can identify the subject content of the material to be processed to obtain target subject content corresponding to the material to be processed, and taking a preset template video, in a preset template video library, of which the corresponding preset subject content is matched with the target subject content as the at least one preset template video;
Receiving template recommendation information corresponding to the at least one preset template video sent by the server;
the displaying at least one preset template video matched with the material to be processed on the preset page comprises the following steps:
and displaying template recommendation information corresponding to the at least one preset template video on the preset page.
12. The video editing processing method according to any one of claims 1 to 9, wherein after the displaying, on the preset page, a video preview view corresponding to the material to be processed in response to a template selection instruction for a target template video, the method further comprises:
and responding to a video generation instruction, and generating a video corresponding to the video preview view currently displayed by the preset page.
13. A video editing processing apparatus, comprising:
the material to be processed display module is configured to display the material to be processed on a preset page;
the matching template video display module is configured to execute at least one preset template video matched with the material to be processed on the preset page in response to a template matching instruction aiming at the material to be processed, and preset theme content corresponding to the at least one preset template video is matched with target theme content corresponding to the material to be processed;
The video preview view display module is configured to execute a template selection instruction for responding to a target template video, display a video preview view corresponding to the material to be processed on the preset page, wherein the video preview view is a preview view of a target video generated based on the target template video and the material to be processed, and the target template video is any selected preset template video in the at least one preset template video.
14. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the video editing processing method of any of claims 1 to 12.
15. A computer readable storage medium, characterized in that instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the video editing processing method of any of claims 1 to 12.
CN202311658626.7A 2023-12-05 2023-12-05 Video editing processing method and device, electronic equipment and storage medium Pending CN117880581A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311658626.7A CN117880581A (en) 2023-12-05 2023-12-05 Video editing processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311658626.7A CN117880581A (en) 2023-12-05 2023-12-05 Video editing processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117880581A true CN117880581A (en) 2024-04-12

Family

ID=90585486

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311658626.7A Pending CN117880581A (en) 2023-12-05 2023-12-05 Video editing processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117880581A (en)

Similar Documents

Publication Publication Date Title
CN110381382B (en) Video note generation method and device, storage medium and computer equipment
CN109120866B (en) Dynamic expression generation method and device, computer readable storage medium and computer equipment
CN111654749B (en) Video data production method and device, electronic equipment and computer readable medium
US20170019697A1 (en) Media production system with scheduling feature
CN111050222B (en) Virtual article issuing method, device and storage medium
CN110475140B (en) Bullet screen data processing method and device, computer readable storage medium and computer equipment
CN112135160A (en) Virtual object control method and device in live broadcast, storage medium and electronic equipment
CN111277761B (en) Video shooting method, device and system, electronic equipment and storage medium
CN108737903B (en) Multimedia processing system and multimedia processing method
CN107547922B (en) Information processing method, device, system and computer readable storage medium
CN114666637B (en) Video editing method, audio editing method and electronic equipment
CN113727039B (en) Video generation method and device, electronic equipment and storage medium
CN113207039B (en) Video processing method and device, electronic equipment and storage medium
CN113132780A (en) Video synthesis method and device, electronic equipment and readable storage medium
EP4099711A1 (en) Method and apparatus and storage medium for processing video and timing of subtitles
CN117880581A (en) Video editing processing method and device, electronic equipment and storage medium
CN112328152B (en) Method and device for controlling playing of media file, electronic equipment and storage medium
CN114268848A (en) Video generation method and device, electronic equipment and storage medium
CN113782027A (en) Audio processing method and audio processing device
CN115529497A (en) Bullet screen playing method and device
CN117785001A (en) Image editing method, device, electronic equipment and storage medium
CN116033094A (en) Video editing method and device
CN117348777A (en) Barrage-based voting task processing method, barrage-based voting task processing device, computer equipment and medium
CN117880540A (en) Barrage interaction method and device, electronic equipment and storage medium
CN115589453A (en) Video processing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination