CN113452941B - Video generation method and device, electronic equipment and storage medium - Google Patents

Video generation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113452941B
CN113452941B CN202110529811.0A CN202110529811A CN113452941B CN 113452941 B CN113452941 B CN 113452941B CN 202110529811 A CN202110529811 A CN 202110529811A CN 113452941 B CN113452941 B CN 113452941B
Authority
CN
China
Prior art keywords
template
video
target
instruction
multimedia resource
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.)
Active
Application number
CN202110529811.0A
Other languages
Chinese (zh)
Other versions
CN113452941A (en
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 CN202110529811.0A priority Critical patent/CN113452941B/en
Publication of CN113452941A publication Critical patent/CN113452941A/en
Application granted granted Critical
Publication of CN113452941B publication Critical patent/CN113452941B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • H04N5/445Receiver circuitry for the reception of television signals according to analogue transmission standards for displaying additional information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/4508Management of client data or end-user data
    • H04N21/4532Management of client data or end-user data involving end-user characteristics, e.g. viewer profile, preferences

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The method comprises the steps of displaying a video creation page, wherein the video creation page comprises a plurality of adding operation areas of multimedia resources, and the adding operation areas are provided with a plurality of adding controls corresponding to the multimedia resources; if an adding instruction triggered based on any adding control is detected, displaying a template view of at least one multimedia resource template on a video creation page; if a first selection instruction triggered by any template view is detected, displaying the template view corresponding to the first selection instruction in the adding operation area; and responding to the video generation instruction, and generating a target video based on a target multimedia resource template, wherein the target multimedia resource template is a multimedia resource template corresponding to the template view displayed in the adding operation area. By utilizing the embodiment of the disclosure, the operation steps in the video production process can be effectively simplified, and the video production efficiency is greatly improved.

Description

Video generation method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of video technologies, and in particular, to a video generation method and apparatus, an electronic device, and a storage medium.
Background
At present, video materials are large in demand in both advertisement scenes and community scenes, in order to improve the originality and the production capacity of a user for producing videos, videos are often produced in advance by combining a template video technology, video elements are identified and replaceable elements of the user are marked through plug-in and designer tools, and then the video materials are packaged into a template at the front end so that the user can produce videos based on the template. In the related art, a user can only select one template for making each time, and if a plurality of templates are needed to be spliced, the templates need to be made respectively and spliced through a clipper, so that the operation of making a video in the related art is complicated and the efficiency is low.
Disclosure of Invention
The disclosure provides a video generation method, a video generation device, an electronic device and a storage medium, which are used for at least solving the problems of complex operation, low efficiency and the like of video production in the related art. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a video generation method, including:
displaying a video creation page, wherein the video creation page comprises an addition operation area of a plurality of multimedia resources, and the addition operation area is provided with a plurality of addition controls corresponding to the plurality of multimedia resources;
if an adding instruction triggered based on any adding control is detected, displaying a template view of at least one multimedia resource template on the video creation page;
if a first selection instruction triggered by any template view is detected, displaying the template view corresponding to the first selection instruction in the adding operation area;
and responding to a video generation instruction, and generating a target video based on a target multimedia resource template, wherein the target multimedia resource template is a multimedia resource template corresponding to the template view displayed in the adding operation area.
Optionally, the video creation page further includes a segment editing area, and before the generating the target video based on the target multimedia resource template in response to the video generation instruction, the method further includes:
and displaying the editing operation information of the multimedia resource template corresponding to the first selection instruction in the segment editing area.
Optionally, the editing operation information includes at least one of picture element editing information, video element editing information, and text element editing information, and the method further includes:
responding to an editing instruction triggered based on any editing operation information, and acquiring an updating element corresponding to the editing instruction;
and updating the multimedia resource template corresponding to the editing instruction in the target multimedia resource template based on the updating element.
Optionally, before the displaying the video creation page, the method further includes:
displaying a template display page, wherein the template display page comprises template views of a preset number of multimedia resource templates;
responding to a second selection instruction triggered based on any template view, and executing the step of displaying the video creation page;
and the adding operation areas of the plurality of multimedia resources also display a template view of the multimedia resource template corresponding to the second selection instruction.
Optionally, the step of displaying a template view of at least one multimedia resource template on the video creation page includes:
displaying a template view of at least one multimedia resource template corresponding to the type of the target video clip on the video creation page; the target video clip type is the video clip type to which the multimedia resource corresponding to the adding instruction belongs.
Optionally, the displaying the template view corresponding to the first selection instruction in the adding operation area includes:
adjusting the size of a target adding control in the adding operation area, wherein the target adding control is an adding control corresponding to the adding instruction;
and displaying the template view corresponding to the first selection instruction in the target adding control after the size is adjusted.
Optionally, the adding controls include adding controls corresponding to non-beginning and ending segments, and when the adding control corresponding to the adding instruction is the adding control corresponding to the non-beginning and ending segments, the displaying the template view corresponding to the first selecting instruction in the adding operation region further includes:
and displaying a newly added control in the adding operation area, wherein the newly added control is used for triggering the addition of newly added non-head and tail fragments.
Optionally, the adding controls include an adding control corresponding to a slice header fragment and an adding control corresponding to a slice trailer fragment, and when the adding control corresponding to the adding instruction is the adding control corresponding to the slice header fragment or the adding control corresponding to the slice trailer fragment, the displaying the template view corresponding to the first selecting instruction in the adding operation region includes:
hiding an adding control corresponding to the leader segment or an adding control corresponding to the trailer segment;
and displaying the template view corresponding to the first selection instruction in a first target area in the adding operation area, wherein the first target area is a preset area corresponding to the hidden adding control.
Optionally, the adding controls include adding controls corresponding to non-beginning and ending segments, and when the adding control corresponding to the adding instruction is the adding control corresponding to the non-beginning and ending segments, the displaying the template view corresponding to the first selecting instruction in the adding operation region includes:
moving the position of an adding control corresponding to the non-head-tail segment in the adding operation area;
and displaying the template view corresponding to the first selection instruction in a second target area in the adding operation area, wherein the second target area is a preset area corresponding to the initial position of the adding control corresponding to the non-head-tail segment.
Optionally, in a case that the adding operation region shows template views corresponding to at least two non-head-tail fragments, the method further includes:
and in response to a dragging instruction triggered based on any template view, adjusting the sequence of the template view corresponding to the dragging instruction in the template views corresponding to the at least two non-head-tail segments.
Optionally, the generating a target video based on a target multimedia resource template in response to the video generation instruction includes:
and synthesizing a corresponding multimedia resource template based on the sequencing sequence of the template views displayed in the adding operation area to obtain the target video.
Optionally, the video creation page further includes a global configuration area, and the method further includes:
responding to a configuration instruction triggered based on the global configuration area, and displaying global configuration editing information on the video creation page;
and updating the configuration information in the global configuration editing information in response to an editing instruction triggered based on the global configuration editing information.
Optionally, the generating a target video based on a target multimedia resource template in response to the video generation instruction includes:
and responding to a video generation instruction, and generating a target video based on the target multimedia resource template and the configuration information in the global configuration editing information.
Optionally, the video creation page further includes a video preview area, and before the generating the target video based on the target multimedia resource template in response to the video generation instruction, the method further includes:
and displaying the multimedia resource template corresponding to the template view displayed in the adding operation area in the video preview area.
According to a second aspect of the embodiments of the present disclosure, there is provided a video generating apparatus including:
the video creating page display module is configured to execute displaying of a video creating page, wherein the video creating page comprises adding operation areas of a plurality of multimedia resources, and the adding operation areas are provided with a plurality of adding controls corresponding to the plurality of multimedia resources;
the first template view display module is configured to execute, if an adding instruction triggered based on any adding control is detected, displaying a template view of at least one multimedia resource template on the video creation page;
the second template view display module is configured to execute a first selection instruction triggered by any one template view, and display the template view corresponding to the first selection instruction in the adding operation area;
and the target video generation module is configured to execute a video generation instruction and generate a target video based on a target multimedia resource template, wherein the target multimedia resource template is a multimedia resource template corresponding to the template view displayed in the adding operation area.
Optionally, the video creation page further includes a segment editing area, and the apparatus further includes:
and the editing operation information presentation module is configured to perform presentation of the editing operation information of the multimedia resource template corresponding to the first selection instruction in the segment editing area before the target video is generated based on the target multimedia resource template in response to the video generation instruction.
Optionally, the editing operation information includes at least one of picture element editing information, video element editing information, and text element editing information, and the apparatus further includes:
the updating element acquiring module is configured to execute an editing instruction triggered based on any editing operation information, and acquire an updating element corresponding to the editing instruction;
and the preset template view updating module is configured to update the multimedia resource template corresponding to the editing instruction in the target multimedia resource template based on the updating element.
Optionally, before displaying the video creation page, the apparatus further includes:
the template display page display module is configured to execute the display of a template display page, and the template display page comprises template views of a preset number of multimedia resource templates;
the video creation page display module is further configured to execute a second selection instruction triggered based on any template view to display the video creation page;
and the adding operation areas of the plurality of multimedia resources also display a template view of the multimedia resource template corresponding to the second selection instruction.
Optionally, the first template view presentation module is specifically configured to perform presentation of a template view of at least one multimedia asset template corresponding to a target video clip type on the video creation page; and the target video clip type is the video clip type to which the multimedia resource corresponding to the adding instruction belongs.
Optionally, the second template view display module includes:
a size adjusting unit configured to perform adjustment of a size of a target addition control in the addition operation area, where the target addition control is an addition control corresponding to the addition instruction;
and the first template view display unit is configured to display the template view corresponding to the first selection instruction in the resized target adding control.
Optionally, the multiple adding controls include adding controls corresponding to non-beginning and ending segments, and in a case that the adding control corresponding to the adding instruction is the adding control corresponding to the non-beginning and ending segments, the second template view display module further includes:
and the newly-added control display unit is configured to display the newly-added control in the adding operation area, wherein the newly-added control is used for triggering the addition of newly-added non-head-tail fragments.
Optionally, the adding controls include an adding control corresponding to the leader segment and an adding control corresponding to the trailer segment, and the second template view display module includes, when the adding control corresponding to the adding instruction is the adding control corresponding to the leader segment or the adding control corresponding to the trailer segment:
an adding control hiding unit configured to execute hiding of an adding control corresponding to the leader segment or an adding control corresponding to the trailer segment;
and the second template view display unit is configured to display the template view corresponding to the first selection instruction in a first target area in the adding operation area, and the first target area is a preset area corresponding to a hidden adding control.
Optionally, the multiple adding controls include adding controls corresponding to non-beginning and ending segments, and in a case that the adding control corresponding to the adding instruction is the adding control corresponding to the non-beginning and ending segments, the second template view display module includes:
an adding control moving unit configured to execute moving of the position of the adding control corresponding to the non-head-tail segment in the adding operation area;
a third template view display unit, configured to display the template view corresponding to the first selection instruction in a second target area in the addition operation area, where the second target area is a preset area corresponding to an initial position of an addition control corresponding to the non-beginning and end segments.
Optionally, in a case that the adding operation area shows template views corresponding to at least two non-head-tail fragments, the apparatus further includes:
and the template view sequence adjusting module is configured to execute a dragging instruction triggered based on any template view, and adjust the sequence of the template view corresponding to the dragging instruction in the template views corresponding to the at least two non-head-tail segments.
Optionally, the target video generation module is specifically configured to perform a sorting order based on the template views displayed in the adding operation area, and synthesize the corresponding multimedia resource template to obtain the target video.
Optionally, the video creation page further includes a global configuration area, and the apparatus further includes:
the global configuration editing information display module is configured to execute a configuration instruction triggered based on the global configuration area, and display global configuration editing information on the video creation page;
the configuration information updating module is configured to execute an editing instruction triggered based on the global configuration editing information, and update the configuration information in the global configuration editing information.
Optionally, the target video generating module is specifically configured to execute, in response to a video generating instruction, generating a target video based on a target multimedia resource template and configuration information in the global configuration editing information.
Optionally, the video creation page further includes a video preview area, and the apparatus further includes:
and the preview display module is configured to display the multimedia resource template corresponding to the template view displayed in the adding operation area in the video preview area.
According to a third aspect of an embodiment of the present disclosure, there is provided an electronic apparatus including: 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, wherein instructions, when executed by a processor of an electronic device, enable the electronic device to perform the method of any one of the first aspects of the embodiments of the present disclosure.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the method of any one of the first aspects of the embodiments of the present disclosure.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
the adding operation area comprising the adding controls of the multimedia resources is arranged on the video creating page, so that a user can select a corresponding multimedia resource template to carry out video making by combining the adding controls, different multimedia resource templates can be applied to the user without cross application in one-time video making process, the operation steps in the video making process are effectively simplified, and the video making efficiency is greatly 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 present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a flow diagram illustrating a method of video generation in accordance with an exemplary embodiment;
FIG. 2 is a flow diagram illustrating another video generation method in accordance with an exemplary embodiment;
FIG. 3 is a schematic diagram illustrating a video creation page in accordance with an illustrative embodiment;
FIG. 4 is a schematic diagram illustrating a video creation page presenting a template view of at least one multimedia asset template, according to an exemplary embodiment;
FIG. 5 is a flow diagram illustrating another video generation method in accordance with an exemplary embodiment;
FIG. 6 is a block diagram illustrating a video generation apparatus according to an exemplary embodiment;
FIG. 7 is a block diagram illustrating an electronic device for video generation in accordance with an exemplary embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in other sequences than those illustrated or described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
It should be noted that, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for presentation, analyzed data, etc.) referred to in the present disclosure are information and data authorized by the user or sufficiently authorized by each party.
Fig. 1 is a flowchart illustrating a video generation method according to an exemplary embodiment, which is used in a terminal electronic device, as shown in fig. 1, and includes the following steps.
In step S101, a video creation page is displayed.
In a specific embodiment, the video creation page may include a plurality of addition operation areas of multimedia resources; optionally, the adding operation area is provided with a plurality of adding controls corresponding to a plurality of multimedia resources. In the embodiments of the present specification, the plurality is at least two.
In an alternative embodiment, before displaying the video creation page, as shown in fig. 2, the method may further include the following steps:
in step S109, a template presentation page is displayed, where the template presentation page includes template views of a preset number of multimedia resource templates;
correspondingly, in step S101, in response to a second selection instruction triggered based on any template view, a video creation page is displayed;
in an optional embodiment, the number (preset number) of the template views displayed in the template display page may be determined by combining the layout of the template display page in practical application and size information of a single template view, and optionally, the template views of more multimedia resource templates may be displayed by arranging a slider on the template display page, or the like. In a specific embodiment, the template view of the multimedia asset template may be an image capable of reflecting the main content in the multimedia asset template, such as a cover page image.
In the embodiment of the present specification, the multimedia asset template may include, but is not limited to, a template video, a template image, and the like.
In an optional embodiment, in the video creation page displayed after the second selection instruction is triggered, the addition operation area may further display a template view of the multimedia resource template corresponding to the second selection instruction. Optionally, the video creation page may further include a segment editing area, and accordingly, the editing operation information of the multimedia resource template corresponding to the second selection instruction may be displayed in the segment editing area.
In a particular embodiment, the multimedia asset template may include a plurality of editable elements; in a specific embodiment, the editable element may include, but is not limited to, a picture element, a video element, a text element, and the like, and accordingly, the editing operation information may include at least one of picture element editing information, video element editing information, and text element editing information. The picture element editing information can be used for editing the picture elements; the video element editing information can be used for editing the video element; the text element editing information may be used to edit text elements.
In an optional embodiment, the video creation page may further include a video preview area, and the video preview area may be used to present a multimedia resource template corresponding to the template view presented in the addition operation area, and to perform preview playing of the corresponding multimedia resource template.
In a particular embodiment, as shown in FIG. 3, FIG. 3 is a schematic diagram of a video creation page shown in accordance with an exemplary embodiment. The area corresponding to 100 may be an addition operation area, the control corresponding to 101 is a plurality of addition controls, the area corresponding to 200 may be a clip editing area, and the area corresponding to 300 may be a video preview area. Specifically, the information corresponding to 102 is a template view of the multimedia resource template corresponding to the second selection instruction, and optionally, the editing operation information of the multimedia resource template corresponding to the second selection instruction is displayed in the area corresponding to 200.
In the embodiment, the selection instruction of the multimedia resource template is triggered based on the target view of the multimedia resource template in the template display page, and then the video creation page is entered, so that a user can conveniently and directly edit the selected multimedia resource template after the video creation page is displayed, and further the video production efficiency is improved.
In step S103, if an adding instruction triggered based on any adding control is detected, a template view of at least one multimedia resource template is displayed on a video creation page;
in an optional embodiment, the user can trigger the adding instruction by clicking any adding control; if an adding instruction triggered by any adding control is detected, a template view of at least one multimedia resource template can be displayed on a video creation page, so that a user can select the multimedia resource template required to be used based on the template view in combination with the requirement. In an alternative embodiment, the template view of at least one multimedia asset template may be presented on the video creation page in a pop-up manner. In a specific embodiment, as shown in FIG. 4, FIG. 4 is a schematic illustration of a video creation page showing a template view of at least one multimedia asset template, according to an exemplary embodiment. The area corresponding to 500 may be a pop-up page showing a template view of at least one multimedia resource template.
Optionally, after the adding instruction is triggered, the multimedia resource template can be added by default. In practical application, a user may also perform video production by uploading a local video of the device, and optionally, a "local upload" control for triggering local uploading of the video may be provided in a popup page for displaying a template view of at least one multimedia resource template, specifically, the "local upload" control in fig. 4 may be provided, and optionally, the user may select the video locally from the device by clicking the "local upload" control. Optionally, the pop-up window page may further include a preset filtering box, and the filtering box may be configured to filter the multimedia resource template according to a template type of the multimedia resource template (for example, an orally-played face-changing template, a storyline head-of-scenes template, and the like), or an industry type applicable to the multimedia resource template (for example, a novel template, an orally-played template).
In practical applications, such as in advertising scenes, a video is often divided into a beginning segment, an end segment, and a non-end segment. Optionally, the multiple multimedia resources may correspond to multiple video clip types of the video, specifically, the video clip types of the multiple multimedia resources may include, but are not limited to, a head clip, a tail clip, and a non-head clip, and correspondingly, the multiple addition controls may include an addition control corresponding to the head clip, an addition control corresponding to the tail clip, and an addition control corresponding to the non-head clip.
In an optional embodiment, the presenting a template view of at least one multimedia asset template on the video creation page may include: and displaying a template view of at least one multimedia resource template corresponding to the type of the target video clip on the video creation page.
In a specific embodiment, the target video segment type may be a video segment type to which the multimedia resource corresponding to the adding instruction belongs. Optionally, the mapping relationship between a large number of multimedia resource templates and the types of the video segments may be pre-established in combination with the video style, and correspondingly, after the segment selection instruction is triggered, the template view of the corresponding multimedia resource template may be displayed in combination with the types of the video segments.
In the embodiment, when the multimedia resource is selected, the template view of the corresponding multimedia resource template is displayed by combining the video clip type, so that the template view which better meets the requirements of users can be displayed, and the selection speed of the multimedia resource template and the video production efficiency can be further improved.
In step S105, if a first selection instruction triggered by any template view is detected, a template view corresponding to the first selection instruction is displayed in the addition operation area;
in an alternative embodiment, the user may trigger the first selection instruction by clicking on the template view; optionally, in a case that the cursor is located in an area where a certain template view is located, a "use template" control for triggering selection of the template view may be displayed in the template view, and optionally, the user may trigger the first selection instruction by clicking the "use template" control.
In an optional embodiment, presenting the template view corresponding to the first selection instruction in the adding operation area may include:
adjusting the size of a target adding control in an adding operation area;
and displaying the template view corresponding to the first selection instruction in the resized target adding control.
In a specific embodiment, a template view (a template view corresponding to the first selection instruction) of the selected multimedia resource template may be displayed in the corresponding addition control, specifically, since the control is often small, in order to achieve an effect of previewing the multimedia resource template, size information of the addition control displaying the template view may be preset, and accordingly, the size of the target addition control in the addition operation area may be adjusted in combination with the size information. Specifically, the target addition control may be an addition control corresponding to the addition instruction.
In the embodiment, after the size of the target adding control is adjusted, the selected template view is directly displayed in the target adding control after the size is adjusted, so that what you see is what you operate, and a user can more intuitively know the type of the video clip to which the added multimedia resource belongs.
In an optional embodiment, the adding controls include adding controls corresponding to non-beginning and ending segments, and correspondingly, when the adding control corresponding to the adding instruction is the adding control corresponding to the non-beginning and ending segments, the displaying the template view corresponding to the first selecting instruction in the adding operation region may further include:
and displaying a newly added control in the adding operation area, wherein the newly added control is used for triggering the addition of the newly added non-head-tail segments.
In practical applications, there is often only one beginning segment and only one ending segment in a video, and the non-beginning segment may often include one or more multimedia resources according to practical application requirements. Correspondingly, under the condition that the adding control corresponding to the adding instruction is the adding control corresponding to the non-head-tail segment, after a multimedia resource template corresponding to the non-head-tail segment is added, in order to facilitate adding of more non-head-tail segments, an adding control for triggering addition of the non-head-tail segment can be added.
In the above embodiment, after the template view of the multimedia resource template corresponding to one non-beginning and ending segment is added to the corresponding addition control, an addition control for triggering the addition of the non-beginning and ending segment is added, so that more non-beginning and ending segments can be added conveniently.
In an optional embodiment, the adding controls include an adding control corresponding to the head fragment and an adding control corresponding to the tail fragment, and correspondingly, when the adding control corresponding to the adding instruction is the adding control corresponding to the head fragment or the adding control corresponding to the tail fragment, displaying the template view corresponding to the first selecting instruction in the adding operation region may include:
hiding an adding control corresponding to the leader fragment or an adding control corresponding to the trailer fragment;
and displaying the template view corresponding to the first selection instruction in a first target area in the adding operation area.
In a specific embodiment, only one title segment and only one title segment in a video are often provided, and accordingly, after a preset video template corresponding to one title segment or one title segment is selected, an adding control corresponding to the title segment or an adding control corresponding to the title segment can be hidden; and displaying the template view of the selected preset video template in a first target area in the adding operation area, wherein the first target area is a preset area corresponding to the hidden adding control. Alternatively, size information of the template view when displayed in the addition operation area may be set in advance. Optionally, the preset area may be an area corresponding to a preset range (the size information) with the hidden adding control as a center,
in the embodiment, when the multimedia resource template corresponding to the leader segment or the trailer segment is added, the corresponding adding control is hidden, and the template view of the added multimedia resource template is directly displayed in the preset area corresponding to the hidden adding control, so that the operation and viewing can be realized, and a user can more intuitively know the type of the video segment to which the added multimedia resource belongs.
In an optional embodiment, the adding controls include adding controls corresponding to non-beginning and ending segments, and correspondingly, when the adding control corresponding to the adding instruction is the adding control corresponding to the non-beginning and ending segments, the displaying the template view corresponding to the first selecting instruction in the adding operation area may include:
moving the position of an adding control corresponding to the non-head-tail segment in an adding operation area;
and displaying the template view corresponding to the first selection instruction in a second target area in the adding operation area, wherein the second target area is a preset area corresponding to the initial position of the adding control corresponding to the non-head-tail segment.
In a specific embodiment, size information of the template views during display in the adding operation area may be preset, and correspondingly, if a first selection instruction triggered by any template view is detected, the adding control corresponding to the non-beginning and ending segments may be moved downward in combination with the size information, and the template view corresponding to the first selection instruction is displayed in a second target area in the adding operation area, where the second target area is a preset area corresponding to an initial position of the adding control corresponding to the non-beginning and ending segments, and specifically, the preset area may be an area corresponding to a preset range (the size information) centered at the initial position.
In the embodiment, when the multimedia resource template corresponding to the non-head-tail segment is added, the corresponding adding control is moved, and the template view of the added multimedia resource template is directly displayed in the preset area corresponding to the initial position of the adding control, so that the operation, namely viewing, can be realized, the adding control corresponding to the non-head-tail segment is reserved, and more non-head-tail segments can be added while a user can more intuitively know the type of the video segment to which the added multimedia resource belongs.
In step S107, in response to the video generation instruction, a target video is generated based on the target multimedia asset template.
In an optional embodiment, the video creation page may further be provided with a control for triggering a video generation instruction; optionally, the video generation instruction may be triggered by clicking the control. Specifically, the target multimedia resource template may be a multimedia resource template corresponding to a template view displayed in the add operation area.
In an alternative embodiment, as shown in fig. 5, before generating the target video based on the target multimedia asset template in response to the video generation instruction, the method further includes the following steps:
in step S111, the editing operation information of the multimedia resource template corresponding to the first selection instruction is displayed in the section editing area.
In a specific embodiment, the specific refinement of the editing operation information of the multimedia resource template corresponding to the first selection instruction may refer to the related refinement of the editing operation information of the multimedia resource template corresponding to the second selection instruction, which is not described herein again.
Optionally, the template view corresponding to the multimedia resource template displayed in the adding operation area may be a composite sequence of the corresponding multimedia resource templates from top to bottom, and optionally, in the case that the template views of at least two multimedia resource templates are displayed in the adding operation area, the editing operation information of the multimedia resource template corresponding to the next template view may further include operation information on whether transition setting is performed.
In an optional embodiment, the multimedia resource template of the template view displayed in the addition operation area may be deleted, optionally, in a case where the cursor is located in the area where the corresponding template view is located, a corresponding deletion control may be displayed, and correspondingly, by clicking the deletion control, the corresponding template view displayed in the addition operation area, the multimedia resource template corresponding to the template view, and the corresponding editing operation information may be deleted, so that the multimedia resource template may be reselected or the multimedia resource may be uploaded from the local.
Optionally, the deletion of the corresponding template view shown in the addition operation area, the multimedia resource template corresponding to the template view, and the corresponding editing operation information may also be implemented through a deletion control (see the removal of the control in fig. 3) in the segment editing area.
Optionally, under the condition that the leader segment and the trailer segment are not added, an adding control for adding corresponding to the leader segment and the trailer segment may be set in the segment editing area, specifically, the adding control corresponding to the leader segment and the trailer segment may be a control corresponding to 201 in fig. 3.
In the embodiment, the editing operation information of the selected multimedia resource template is displayed in the fragment editing area, so that a user can conveniently edit the corresponding multimedia resource according to the requirement.
In an alternative embodiment, the editing operation information may include at least one of picture element editing information, video element editing information, and text element editing information, and accordingly, as shown in fig. 5, the method further includes the following steps:
in step S113, in response to an editing instruction triggered based on any piece of editing operation information, an update element corresponding to the editing instruction is acquired;
in step S115, a multimedia asset template corresponding to the editing instruction in the target multimedia asset template is updated based on the update element.
Accordingly, generating the target video based on the target multimedia asset template in response to the video generation instruction in step S107 may include generating the target video based on the updated target multimedia asset template in response to the video generation instruction.
In a specific embodiment, the editing operation information corresponding to different editable elements is different, taking the picture element editing information corresponding to the picture element as an example, specifically, the multimedia resource template may include at least one picture element, and optionally, the picture element editing information of each picture element may include the picture element. Optionally, when the cursor is located in the area where the picture element is located, the picture element editing information may further include a modification control of the picture element, and optionally, the modification control may include a first modification control for triggering local uploading of a picture from the device and a second modification control for triggering selection of a picture from the preset material library. Optionally, the editing instruction may be triggered based on the modification control to obtain the corresponding update element, and then the multimedia resource template corresponding to the editing instruction in the target multimedia resource template is updated based on the update element.
Specifically, while the multimedia resource template corresponding to the editing instruction in the target multimedia resource template is updated, the template view of the corresponding multimedia resource template in the editing operation information and the adding operation area may also be updated.
In the above embodiment, the corresponding update element is obtained in combination with the edit instruction triggered based on the edit operation information, and the selected multimedia resource template can be updated according to the user requirement.
In an optional embodiment, in the case that the adding operation area shows template views corresponding to at least two non-head-tail fragments, the method may further include:
and responding to a dragging instruction triggered based on any template view, and adjusting the sequence of the template view corresponding to the dragging instruction in the template views corresponding to at least two non-head-tail segments.
In the above embodiment, the adjustment of the display sequence between the template views is triggered by dragging the template view, so that the sequence of the multiple multimedia resource templates during subsequent synthesis can be adjusted.
Accordingly, the generating the target video based on the target multimedia resource template in response to the video generation instruction may include:
and synthesizing the corresponding multimedia resource template based on the sequencing sequence of the template views displayed in the adding operation area to obtain the target video.
In the above embodiment, the corresponding multimedia resource templates are synthesized according to the sequencing order of the template views displayed in the adding operation area, so that a user can intuitively master the sequence among the multimedia resources when the video is synthesized.
In a specific embodiment, the video creation page further includes a global configuration area, and correspondingly, the method may further include:
responding to a configuration instruction triggered based on the global configuration area, and displaying global configuration editing information on a video creation page;
and updating the configuration information in the global configuration editing information in response to an editing instruction triggered based on the global configuration editing information.
In a specific embodiment, as shown in fig. 3, the area corresponding to 400 in fig. 3 may be a global configuration area, optionally, a configuration instruction may be triggered by clicking the global configuration area, and accordingly, global configuration editing information may be displayed on the video creation page, and specifically, the global configuration editing information is used to configure information of all multimedia resource templates (multimedia resources) corresponding to the template views displayed in the addition operation area. Optionally, the configuration information in the global configuration editing information may include, but is not limited to, logo (trademark), background music, and the like.
In the embodiment, the global configuration function is set on the video creation page, so that the universal contents of a plurality of multimedia resources can be uniformly configured, and the video production efficiency is improved.
Correspondingly, the generating the target video based on the target multimedia resource template in response to the video generating instruction may include:
and responding to the video generation instruction, and generating a target video based on the target multimedia resource template and the configuration information in the global configuration editing information.
In the embodiment, in the process of generating the target video, the configuration information in the global configuration editing information can be added to each multimedia resource, so that global configuration of a plurality of multimedia resources is realized, and the video production efficiency is improved.
In an optional embodiment, before generating the target video based on the target multimedia asset template in response to the video generation instruction, the method may further include:
and displaying the multimedia resource template corresponding to the template view displayed in the adding operation area in the video preview area.
In a specific embodiment, the video displayed in the video preview area may be updated as the multimedia resource template corresponding to the addition operation area is updated.
In the embodiment, the selected multimedia resource template is displayed in the video preview area, so that the user can conveniently preview the video and visually know the manufactured video.
According to the technical scheme, the adding operation area comprising the adding controls of the multimedia resources is arranged on the video creating page, so that a user can select the corresponding multimedia resource template to perform video production by combining the adding controls, different multimedia resource templates can be mechanically used without cross application in one-time video production, the operation steps in the video production process are effectively simplified, and the video production efficiency is greatly improved.
Fig. 6 is a block diagram illustrating a video generation apparatus according to an example embodiment. Referring to fig. 6, the apparatus includes:
a video creation page display module 610 configured to execute displaying a video creation page, where the video creation page includes an addition operation area of multiple multimedia resources, and the addition operation area is provided with multiple addition controls corresponding to the multiple multimedia resources;
a first template view displaying module 620, configured to execute, if an adding instruction triggered based on any adding control is detected, displaying a template view of at least one multimedia resource template on a video creation page;
a second template view display module 630, configured to execute, if a first selection instruction triggered by any template view is detected, display a template view corresponding to the first selection instruction in the addition operation area;
and the target video generation module 640 is configured to execute generating a target video based on a target multimedia resource template in response to the video generation instruction, wherein the target multimedia resource template is a multimedia resource template corresponding to the template view shown in the adding operation area.
Optionally, the video creation page further includes a segment editing area, and the apparatus further includes:
and the editing operation information presentation module is configured to perform presentation of the editing operation information of the multimedia resource template corresponding to the first selection instruction in the segment editing area before the target video is generated based on the target multimedia resource template in response to the video generation instruction.
Optionally, the editing operation information includes at least one of picture element editing information, video element editing information, and text element editing information, and the apparatus further includes:
the updating element acquiring module is configured to execute an editing instruction triggered based on any editing operation information, and acquire an updating element corresponding to the editing instruction;
and the preset template view updating module is configured to execute updating of the multimedia resource template corresponding to the editing instruction in the target multimedia resource template based on the updating element.
Optionally, before displaying the video creation page, the apparatus further includes:
the template display page display module is configured to execute the display of a template display page, and the template display page comprises template views of a preset number of multimedia resource templates;
the video creation page display module 610 is further configured to execute displaying a video creation page in response to a second selection instruction triggered based on any one of the template views;
and the adding operation areas of the plurality of multimedia resources also display a template view of the multimedia resource template corresponding to the second selection instruction.
Optionally, the first template view presentation module 620 is specifically configured to perform presentation of a template view of at least one multimedia resource template corresponding to the target video clip type on the video creation page; the target video clip type is the video clip type to which the multimedia resource corresponding to the adding instruction belongs.
Optionally, the second template view display module 630 includes:
the size adjusting unit is configured to adjust the size of a target adding control in the adding operation area, and the target adding control is an adding control corresponding to the adding instruction;
and the first template view showing unit is configured to display the template view corresponding to the first selection instruction in the resized target adding control.
Optionally, the multiple adding controls include adding controls corresponding to non-beginning and ending segments, and in a case that the adding control corresponding to the adding instruction is the adding control corresponding to the non-beginning and ending segments, the second template view displaying module 630 further includes:
and the newly added control display unit is configured to display the newly added control in the adding operation area, and the newly added control is used for triggering the addition of the newly added non-head-tail fragments.
Optionally, the multiple adding controls include an adding control corresponding to the slice header fragment and an adding control corresponding to the slice trailer fragment, and under the condition that the adding control corresponding to the adding instruction is the adding control corresponding to the slice header fragment or the adding control corresponding to the slice trailer fragment, the second template view display module 630 includes:
the control adding hiding unit is configured to execute adding controls corresponding to the hidden slice header segment or adding controls corresponding to the hidden slice trailer segment;
and the second template view display unit is configured to display the template view corresponding to the first selection instruction in a first target area in the adding operation area, wherein the first target area is a preset area corresponding to the hidden adding control.
Optionally, the multiple adding controls include adding controls corresponding to non-beginning and ending segments, and in a case that the adding control corresponding to the adding instruction is the adding control corresponding to the non-beginning and ending segments, the second template view displaying module 630 includes:
the adding control moving unit is configured to execute the movement of the position of the adding control corresponding to the non-head-tail segment in the adding operation area;
and the third template view display unit is configured to display the template view corresponding to the first selection instruction in a second target area in the adding operation area, wherein the second target area is a preset area corresponding to the initial position of the adding control corresponding to the non-head-tail segment.
Optionally, in a case that the adding operation area shows at least two template views corresponding to non-head-tail fragments, the apparatus further includes:
and the template view sequence adjusting module is configured to execute a dragging instruction triggered based on any template view, and adjust the sequence of the template view corresponding to the dragging instruction in the template views corresponding to the at least two non-head-tail segments.
Optionally, the target video generating module 640 is specifically configured to execute a sorting order based on the template views displayed in the adding operation area, and synthesize the corresponding multimedia resource template to obtain the target video.
Optionally, the video creation page further includes a global configuration area, and the apparatus further includes:
the global configuration editing information display module is configured to execute a configuration instruction triggered based on a global configuration area, and display global configuration editing information on the video creation page;
and the configuration information updating module is configured to execute the editing instruction triggered based on the global configuration editing information, and update the configuration information in the global configuration editing information.
Optionally, the target video generating module 640 is specifically configured to execute responding to a video generating instruction, and generate a target video based on the target multimedia resource template and the configuration information in the global configuration editing information.
Optionally, the video creation page further includes a video preview area, and the apparatus further includes:
and the preview display module is configured to display the multimedia resource template corresponding to the template view displayed in the adding operation area in the video preview area.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 7 is a block diagram illustrating an electronic device for video generation, which may be a terminal, according to an exemplary embodiment, and an internal structure thereof may be as shown in fig. 7. The electronic device comprises a processor, a memory, a network interface, a display screen and an input device which are connected through a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic equipment comprises 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 operating system and the computer program to run on the non-volatile storage medium. The network interface of the electronic device is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to implement a video generation 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, a key, a track ball or a touch pad arranged on the shell of the electronic equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 7 is merely a block diagram of some of the structures associated with the disclosed aspects and does not constitute a limitation on the electronic devices to which the disclosed aspects apply, as a particular electronic device may include more or less components than those shown, or 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 the video generation method as in the embodiments of the present disclosure.
In an exemplary embodiment, there is also provided a computer-readable storage medium, in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform a video generation method in embodiments of the present disclosure.
In an exemplary embodiment, a computer program product containing instructions is also provided, which when run on a computer, causes the computer to perform the video generation method in the embodiments of the present disclosure.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by hardware instructions of a computer program, which may be stored in a non-volatile computer-readable storage medium, and when executed, the computer program may include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile 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), rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (30)

1. A method of video generation, comprising:
displaying a video creation page, wherein the video creation page comprises an addition operation area of a plurality of multimedia resources, and the addition operation area is provided with a plurality of addition controls corresponding to the plurality of multimedia resources;
if an adding instruction triggered based on any adding control is detected, displaying a template view of at least one multimedia resource template on the video creation page;
if a first selection instruction triggered by any template view is detected, displaying the template view corresponding to the first selection instruction in the adding operation area;
and responding to a video generation instruction, and generating a target video based on a target multimedia resource template, wherein the target multimedia resource template is the at least two multimedia resource templates corresponding to the template views of the at least two multimedia resource templates displayed in the adding operation area.
2. The video generation method of claim 1, wherein the video creation page further comprises a segment editing area, and wherein before the generating of the target video based on the target multimedia asset template in response to the video generation instruction, the method further comprises:
and displaying the editing operation information of the multimedia resource template corresponding to the first selection instruction in the segment editing area.
3. The video generation method according to claim 2, wherein the editing operation information includes at least one of picture element editing information, video element editing information, and text element editing information, the method further comprising:
responding to an editing instruction triggered based on any editing operation information, and acquiring an updating element corresponding to the editing instruction;
and updating the multimedia resource template corresponding to the editing instruction in the target multimedia resource template based on the updating element.
4. The video generation method according to claim 1, wherein before the displaying the video creation page, the method further comprises:
displaying a template display page, wherein the template display page comprises template views of a preset number of multimedia resource templates;
responding to a second selection instruction triggered based on any template view, and executing the step of displaying the video creation page;
and the adding operation areas of the plurality of multimedia resources also display a template view of the multimedia resource template corresponding to the second selection instruction.
5. The video generation method of any of claims 1 to 4, wherein said presenting a template view of at least one multimedia asset template on said video creation page comprises:
displaying a template view of at least one multimedia resource template corresponding to the type of the target video clip on the video creation page; and the target video clip type is the video clip type of the multimedia resource corresponding to the adding instruction.
6. The video generation method according to any one of claims 1 to 4, wherein the presenting the template view corresponding to the first selection instruction in the addition operation area includes:
adjusting the size of a target adding control in the adding operation area, wherein the target adding control is an adding control corresponding to the adding instruction;
and displaying the template view corresponding to the first selection instruction in the target adding control after the size is adjusted.
7. The video generation method according to claim 6, wherein the plurality of addition controls include an addition control corresponding to a non-beginning-ending segment, and in a case that the addition control corresponding to the addition instruction is the addition control corresponding to the non-beginning-ending segment, the displaying the template view corresponding to the first selection instruction in the addition operation region further includes:
and displaying a newly added control in the adding operation area, wherein the newly added control is used for triggering the addition of newly added non-head and tail fragments.
8. The video generation method according to any one of claims 1 to 4, wherein the plurality of addition controls include an addition control corresponding to a slice header fragment and an addition control corresponding to a slice trailer fragment, and when the addition control corresponding to the addition instruction is the addition control corresponding to the slice header fragment or the addition control corresponding to the slice trailer fragment, the displaying the template view corresponding to the first selection instruction in the addition operation region includes:
hiding an adding control corresponding to the leader segment or an adding control corresponding to the trailer segment;
and displaying the template view corresponding to the first selection instruction in a first target area in the adding operation area, wherein the first target area is a preset area corresponding to the hidden adding control.
9. The video generation method according to any one of claims 1 to 4, wherein the plurality of addition controls include an addition control corresponding to a non-beginning-ending segment, and in a case that the addition control corresponding to the addition instruction is the addition control corresponding to the non-beginning-ending segment, the displaying the template view corresponding to the first selection instruction in the addition operation region includes:
moving the position of an adding control corresponding to the non-head-tail segment in the adding operation area;
and displaying the template view corresponding to the first selection instruction in a second target area in the adding operation area, wherein the second target area is a preset area corresponding to the initial position of the adding control corresponding to the non-head-tail segment.
10. The video generation method according to any one of claims 1 to 4, wherein in a case where the adding operation region shows template views corresponding to at least two non-head-tail segments, the method further comprises:
and in response to a dragging instruction triggered based on any template view, adjusting the sequence of the template view corresponding to the dragging instruction in the template views corresponding to the at least two non-head-tail segments.
11. The video generation method of claim 10, wherein generating the target video based on the target multimedia asset template in response to the video generation instruction comprises:
and synthesizing a corresponding multimedia resource template based on the sequencing sequence of the template views displayed in the adding operation area to obtain the target video.
12. The video generation method according to any one of claims 1 to 4, wherein the video creation page further includes a global configuration area, the method further comprising:
responding to a configuration instruction triggered based on the global configuration area, and displaying global configuration editing information on the video creation page;
and updating the configuration information in the global configuration editing information in response to an editing instruction triggered based on the global configuration editing information.
13. The video generation method of claim 12, wherein generating the target video based on the target multimedia asset template in response to the video generation instruction comprises:
and responding to a video generation instruction, and generating the target video based on the target multimedia resource template and the configuration information in the global configuration editing information.
14. The video generation method according to any one of claims 1 to 4, wherein the video creation page further includes a video preview area, and before the generating of the target video based on the target multimedia asset template in response to the video generation instruction, the method further includes:
and displaying the multimedia resource template corresponding to the template view displayed in the adding operation area in the video preview area.
15. A video generation apparatus, comprising:
the video creating page display module is configured to execute displaying of a video creating page, wherein the video creating page comprises adding operation areas of a plurality of multimedia resources, and the adding operation areas are provided with a plurality of adding controls corresponding to the plurality of multimedia resources;
the first template view display module is configured to execute a template view for displaying at least one multimedia resource template on the video creation page if an adding instruction triggered based on any adding control is detected;
the second template view display module is configured to execute a first selection instruction triggered by any one template view, and display the template view corresponding to the first selection instruction in the adding operation area;
and the target video generation module is configured to execute a video generation instruction and generate a target video based on a target multimedia resource template, wherein the target multimedia resource template is the at least two multimedia resource templates corresponding to the template views of the at least two multimedia resource templates displayed in the addition operation area.
16. The video generation apparatus according to claim 15, wherein the video creation page further includes a clip edit area, the apparatus further comprising:
and the editing operation information display module is configured to display the editing operation information of the multimedia resource template corresponding to the first selection instruction in the segment editing area before the target video is generated on the basis of the target multimedia resource template in response to the video generation instruction.
17. The video generating apparatus according to claim 16, wherein the editing operation information includes at least one of picture element editing information, video element editing information, and text element editing information, the apparatus further comprising:
the updating element acquiring module is configured to execute an editing instruction triggered based on any editing operation information, and acquire an updating element corresponding to the editing instruction;
and the preset template view updating module is configured to update the multimedia resource template corresponding to the editing instruction in the target multimedia resource template based on the updating element.
18. The video generation apparatus according to claim 15, wherein before said displaying a video creation page, said apparatus further comprises:
the template display page display module is configured to execute the display of a template display page, and the template display page comprises template views of a preset number of multimedia resource templates;
the video creation page display module is further configured to execute a second selection instruction triggered based on any template view to display the video creation page;
and the adding operation areas of the plurality of multimedia resources also display a template view of the multimedia resource template corresponding to the second selection instruction.
19. The video generating apparatus according to any of the claims 15 to 18, wherein the first template view presenting module is specifically configured to perform presenting a template view of at least one multimedia asset template corresponding to a target video clip type on the video creation page; and the target video clip type is the video clip type to which the multimedia resource corresponding to the adding instruction belongs.
20. The video generating apparatus according to any one of claims 15 to 18, wherein the second template view presenting module comprises:
a size adjusting unit configured to perform adjustment of a size of a target addition control in the addition operation area, where the target addition control is an addition control corresponding to the addition instruction;
and the first template view display unit is configured to display the template view corresponding to the first selection instruction in the resized target adding control.
21. The video generation apparatus according to claim 20, wherein the plurality of addition controls include an addition control corresponding to a non-beginning-ending segment, and in a case that the addition control corresponding to the addition instruction is the addition control corresponding to the non-beginning-ending segment, the second template view presentation module further includes:
and the newly added control display unit is configured to display the newly added control in the adding operation area, and the newly added control is used for triggering the addition of the newly added non-head-tail fragments.
22. The video generating apparatus according to any one of claims 15 to 18, wherein the multiple adding controls include an adding control corresponding to a head fragment and an adding control corresponding to a tail fragment, and in a case that the adding control corresponding to the adding instruction is the adding control corresponding to the head fragment or the adding control corresponding to the tail fragment, the second template view displaying module includes:
an adding control hiding unit configured to execute hiding of an adding control corresponding to the head fragment or an adding control corresponding to the tail fragment;
and the second template view display unit is configured to display the template view corresponding to the first selection instruction in a first target area in the adding operation area, and the first target area is a preset area corresponding to a hidden adding control.
23. The video generating apparatus according to any one of claims 15 to 18, wherein the plurality of adding controls include adding controls corresponding to non-beginning and ending segments, and in a case that the adding control corresponding to the adding instruction is the adding control corresponding to the non-beginning and ending segments, the second template view presenting module includes:
an adding control moving unit configured to execute moving of the position of the adding control corresponding to the non-head-tail segment in the adding operation area;
a third template view display unit, configured to display the template view corresponding to the first selection instruction in a second target area in the addition operation area, where the second target area is a preset area corresponding to an initial position of an addition control corresponding to the non-beginning and end segments.
24. The video generating apparatus according to any one of claims 15 to 18, wherein in a case where the adding operation region shows template views corresponding to at least two non-head-tail segments, the apparatus further comprises:
the template view sequence adjusting module is configured to execute a dragging instruction triggered based on any template view, and adjust the sequence of the template view corresponding to the dragging instruction in the template views corresponding to the at least two non-head-tail segments.
25. The apparatus according to claim 24, wherein the target video generating module is specifically configured to synthesize the corresponding multimedia resource template based on the sorting order of the template views shown in the adding operation area, so as to obtain the target video.
26. The video generating apparatus according to any one of claims 15 to 18, wherein the video creation page further includes a global configuration area, the apparatus further comprising:
the global configuration editing information display module is configured to execute the display of global configuration editing information on the video creation page in response to a configuration instruction triggered based on the global configuration area;
the configuration information updating module is configured to execute an editing instruction triggered based on the global configuration editing information and update the configuration information in the global configuration editing information.
27. The video generating apparatus of claim 26, wherein the target video generating module is specifically configured to perform generating the target video based on the target multimedia asset template and the configuration information in the global configuration edit information in response to a video generating instruction.
28. The video generating apparatus according to any one of claims 15 to 18, wherein the video creation page further includes a video preview area, the apparatus further comprising:
and the preview display module is configured to display the multimedia resource template corresponding to the template view displayed in the adding operation area in the video preview area.
29. 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 generation method of any of claims 1 to 14.
30. A computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the video generation method of any of claims 1 to 14.
CN202110529811.0A 2021-05-14 2021-05-14 Video generation method and device, electronic equipment and storage medium Active CN113452941B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110529811.0A CN113452941B (en) 2021-05-14 2021-05-14 Video generation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110529811.0A CN113452941B (en) 2021-05-14 2021-05-14 Video generation method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113452941A CN113452941A (en) 2021-09-28
CN113452941B true CN113452941B (en) 2023-01-20

Family

ID=77809895

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110529811.0A Active CN113452941B (en) 2021-05-14 2021-05-14 Video generation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113452941B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116156077A (en) * 2021-11-22 2023-05-23 北京字跳网络技术有限公司 Method, device, equipment and storage medium for multimedia resource clipping scene
CN114047979A (en) * 2021-11-24 2022-02-15 北京市商汤科技开发有限公司 Display item configuration and display method, device, equipment and storage medium
CN114666669B (en) * 2022-03-10 2024-03-19 北京达佳互联信息技术有限公司 Video processing method, device, equipment and storage medium
CN114896001A (en) * 2022-04-08 2022-08-12 北京达佳互联信息技术有限公司 Component display method, device, electronic equipment, medium and program product
CN117082292A (en) * 2022-05-10 2023-11-17 北京字跳网络技术有限公司 Video generation method, apparatus, device, storage medium, and program product
CN115017345A (en) * 2022-06-28 2022-09-06 上海哔哩哔哩科技有限公司 Multimedia content processing method, device, computing equipment and storage medium
CN116560550A (en) * 2023-05-11 2023-08-08 上海百秋新网商数字科技有限公司 Visual pre-configuration, configuration and video generation system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657538A (en) * 2015-12-31 2016-06-08 北京东方云图科技有限公司 Method and device for synthesizing video file by mobile terminal
CN107729522A (en) * 2017-10-27 2018-02-23 优酷网络技术(北京)有限公司 Multimedia resource fragment intercept method and device
CN110139159A (en) * 2019-06-21 2019-08-16 上海摩象网络科技有限公司 Processing method, device and the storage medium of video material
CN112291484A (en) * 2019-07-23 2021-01-29 腾讯科技(深圳)有限公司 Video synthesis method and device, electronic equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110536177B (en) * 2019-09-23 2020-10-09 北京达佳互联信息技术有限公司 Video generation method and device, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657538A (en) * 2015-12-31 2016-06-08 北京东方云图科技有限公司 Method and device for synthesizing video file by mobile terminal
CN107729522A (en) * 2017-10-27 2018-02-23 优酷网络技术(北京)有限公司 Multimedia resource fragment intercept method and device
CN110139159A (en) * 2019-06-21 2019-08-16 上海摩象网络科技有限公司 Processing method, device and the storage medium of video material
CN112291484A (en) * 2019-07-23 2021-01-29 腾讯科技(深圳)有限公司 Video synthesis method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113452941A (en) 2021-09-28

Similar Documents

Publication Publication Date Title
CN113452941B (en) Video generation method and device, electronic equipment and storage medium
CN110381382B (en) Video note generation method and device, storage medium and computer equipment
RU2506629C2 (en) Creating presentation on infinite canvas and navigation thereon
CN111935505B (en) Video cover generation method, device, equipment and storage medium
CN111770288B (en) Video editing method, device, terminal and storage medium
CN109614601A (en) Form processing method, device, equipment and readable medium based on web
CN109144656A (en) Method, apparatus, computer equipment and the storage medium of multielement layout
CN114095741B (en) Page display method and device, electronic equipment and storage medium
CN113240777A (en) Special effect material processing method and device, electronic equipment and storage medium
CN113099287A (en) Video production method and device
CN111338690A (en) Method and device for configuring pages of small program shop, computer equipment and storage medium
WO2020114280A1 (en) Notebook page processing method for notebook, computer device and storage medium
JP2007183989A (en) Information processing apparatus, information processing method, and recording medium
CN113099288A (en) Video production method and device
CN104333699A (en) Synthetic method and device of user-defined photographing area
CN114302009A (en) Video processing method, video processing device, electronic equipment and medium
WO2024002019A1 (en) Audio publishing method and apparatus, and computer-readable storage medium
CN113157973A (en) Method, device, equipment and medium for generating cover
CN115904168A (en) Multi-device-based image material processing method and related device
CN116954605A (en) Page generation method and device and electronic equipment
EP4099711A1 (en) Method and apparatus and storage medium for processing video and timing of subtitles
CN115426520A (en) Method, device and equipment for arranging live scenes in live broadcast room
CN114793286A (en) Video editing method and system based on virtual image
JP2015203933A (en) content extraction device and content extraction method
US20240221788A1 (en) Audio publishing method, apparatus, and computer-readable storage medium

Legal Events

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