WO2021135655A1 - Method and device for generating multimedia resources - Google Patents

Method and device for generating multimedia resources Download PDF

Info

Publication number
WO2021135655A1
WO2021135655A1 PCT/CN2020/127856 CN2020127856W WO2021135655A1 WO 2021135655 A1 WO2021135655 A1 WO 2021135655A1 CN 2020127856 W CN2020127856 W CN 2020127856W WO 2021135655 A1 WO2021135655 A1 WO 2021135655A1
Authority
WO
WIPO (PCT)
Prior art keywords
editing
template
target
clip
information
Prior art date
Application number
PCT/CN2020/127856
Other languages
French (fr)
Chinese (zh)
Inventor
黄伟彬
Original Assignee
北京达佳互联信息技术有限公司
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 北京达佳互联信息技术有限公司 filed Critical 北京达佳互联信息技术有限公司
Priority to EP20910024.7A priority Critical patent/EP3929922A4/en
Publication of WO2021135655A1 publication Critical patent/WO2021135655A1/en
Priority to US17/479,549 priority patent/US11557322B2/en

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/02Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
    • G11B27/031Electronic editing of digitised analogue information signals, e.g. audio or video signals

Definitions

  • the present disclosure relates to the field of multimedia technology, and in particular to a method and device for generating multimedia resources.
  • editing multimedia resources usually has a high professional threshold, and it is very difficult for ordinary users who are not proficient in editing technology to operate, unable to generate multimedia resources that meet expectations, and the manual editing method takes a long time and the generation of multimedia resources is inefficient.
  • the present disclosure provides a method and equipment for generating multimedia resources.
  • the technical solutions of the present disclosure are as follows:
  • a method for generating multimedia resources including:
  • each of the editing templates is generated according to corresponding editing information, and the editing information is at least one of the editing operation information or the editing material information used in the editing;
  • the acquired original multimedia resources are processed to generate target multimedia resources.
  • an apparatus for generating multimedia resources including:
  • the display unit is configured to perform the display of selectable editing templates; each of the editing templates is generated according to corresponding editing information, and the editing information is at least one of the editing operation information or the editing material information used in the editing ;
  • the determining unit is configured to execute the selected target clip template in response to the received template selection instruction
  • the generating unit is configured to process the acquired original multimedia resources according to the target clip template to generate the target multimedia resources.
  • an electronic device including:
  • One or more processors are One or more processors;
  • One or more memories for storing the one or more processor-executable instructions
  • the one or more processors are configured to execute the instructions to implement the following steps: display available editing templates; each of the editing templates is generated according to corresponding editing information, and the editing information is at least At least one of the editing operation information or the editing material information used for the editing; in response to the received template selection instruction, determining the selected target editing template; processing the acquired original multimedia resources according to the target editing template, Generate target multimedia resources.
  • a storage medium When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can perform the following steps: display available editing templates Each of the editing templates is generated according to the corresponding editing information, and the editing information is at least one of the editing operation information or the editing material information used in the editing; in response to the received template selection instruction, the selected one is determined The target editing template; according to the target editing template, the acquired original multimedia resources are processed to generate the target multimedia resources.
  • a computer program product including at least one instruction, when the instruction is executed by a processor of an electronic device, the electronic device can perform the following steps: display alternatives Editing templates; each of the editing templates is generated according to corresponding editing information, the editing information is at least one of the editing operation information or the editing material information used in the editing; in response to the received template selection instruction, it is determined to be The selected target editing template; according to the target editing template, the acquired original multimedia resources are processed to generate the target multimedia resources.
  • Fig. 1 shows an implementation environment of a method for generating multimedia resources according to an exemplary embodiment.
  • Fig. 2 is a flowchart showing a method for generating multimedia resources according to an exemplary embodiment.
  • Fig. 3 is a flowchart showing a method for generating a clip template according to an exemplary embodiment.
  • Fig. 4 is a schematic diagram showing a terminal interface according to an exemplary embodiment.
  • Fig. 5 is a block diagram showing a device for generating multimedia resources according to an exemplary embodiment.
  • Fig. 6 is a structural block diagram showing a terminal according to an exemplary embodiment.
  • Fig. 7 is a schematic diagram showing the structure of a server according to an exemplary embodiment.
  • the user information involved in the present disclosure may be information authorized by the user or fully authorized by all parties.
  • Fig. 1 is an implementation environment of a method for generating multimedia resources according to an exemplary embodiment.
  • the implementation environment may include multiple electronic devices, and the electronic devices may be terminals or servers. In FIG. 1, only the electronic device is taken as an example of a terminal.
  • the method for generating multimedia resources can be applied to an electronic device. After the electronic device generates a clip template, it can be sent to other electronic devices via the cloud, and then both the electronic device and the other electronic device can be based on the clip template To generate new multimedia resources. Of course, the other electronic devices can also send the editing templates or multimedia resources to more electronic devices through the cloud.
  • a method for generating multimedia resources is provided.
  • the method for generating multimedia resources is used to generate new multimedia resources according to a clip template, wherein the clip template on which the multimedia resource is generated can adopt the clip template
  • the generation method is generated.
  • the execution subject of the method for generating a clip template and the method for generating a multimedia resource is the same electronic device, or different electronic devices. If it is the same electronic device, the electronic device can generate a clip template based on the clip information, and then use the clip template to clip the original multimedia resource to obtain the target multimedia resource. If it is a different electronic device, one electronic device can generate a clip template based on the clip template and share the clip template with other electronic devices, and another electronic device can generate target multimedia resources based on the clip template.
  • the method of generating the clip template will be described through the embodiment shown in FIG. 2 first, and then the process of generating the multimedia resource will be described through the embodiment shown in FIG. 4.
  • Fig. 2 is a flow chart showing a method for generating a clip template according to an exemplary embodiment. As shown in Fig. 2, the method for generating a clip template is applied to an electronic device and includes the following steps.
  • the electronic device obtains historical multimedia resources used to generate a clip template.
  • the electronic device can obtain historical multimedia resources, and the historical multimedia resources are multimedia resources obtained after editing.
  • the electronic device can generate an editing template according to the editing information of the historical multimedia resource, and obtain an editing template that is similar to the editing situation of the historical multimedia resource, so that the editing template can be directly used to generate a new multimedia resource in the future.
  • the historical multimedia resource can be obtained by editing on the electronic device, or it can be obtained by editing on other electronic devices and sent to the electronic device, or it can be downloaded by the electronic device from the target address.
  • the specific source of multimedia resources is not limited.
  • the user edits the video by himself, and is satisfied with the playback effect of the video, he can generate a editing template based on the video, and then quickly and efficiently obtain the same or similar editing effect based on the editing template.
  • Video For another example, a user likes a video edited by another user very much, and can generate a clip template based on the video, and then use the generated clip template to make his own video to meet his own video production needs and meet the user's personalized editing needs , Improve editing efficiency.
  • the electronic device can obtain historical multimedia resources and display the historical multimedia resources, so that the user can see the display effect and may want to create a editing template similar to the editing situation of the historical multimedia resource, so that the editing template can be used quickly Generating new multimedia resources is convenient and quick, and the new multimedia resources are similar to the editing situation of the historical multimedia resources.
  • the generation of the editing template is not performed by the technicians, but can be realized based on the edited historical multimedia resources, so that the editing template that conforms to the user's editing habits can be produced, and the editing template is not fixed and the form is flexible and variable.
  • the user operation and the template generation process can be implemented on the same device or on different devices. For example, if it is the same device, when the user sees the historical multimedia resource and wants to generate a clip template, Template generation operations can be performed. For example, select the historical multimedia resource and trigger the template generation control to trigger a template generation request for the historical multimedia resource.
  • the electronic device can directly respond to the template generation request to perform the following step. If it is a different device, the user performs a template generation operation on another device, triggers a template generation request, and sends a template generation request to the electronic device. Furthermore, the electronic device can execute the S21 and execute the following in response to the template generation request. Mentioned steps.
  • the embodiments of the present disclosure do not limit which method is specifically adopted.
  • the electronic device obtains editing information of the historical multimedia resource in response to a template generation request for the historical multimedia resource, and the editing information includes at least one of editing operation information or editing material information used for editing.
  • the electronic device may execute the template generation step in response to the template generation request.
  • the electronic device can obtain the clip information of the historical multimedia resource, and use the clip information as the data basis for generating the clip template.
  • the clip information includes at least one of clip operation information or clip material information used in the clip. That is, in the process of editing multimedia resources, some attributes of the multimedia resources can be modified through editing operations, and some materials can also be added to them, so that the materials and multimedia resources can be spliced to obtain historical multimedia resources.
  • the editing operation information may include adjusting the picture amplitude, video scale, zooming or moving the picture frame, speed change, reverse playback, rotation, voice change, volume, adding transitions, filters, music, sound effects, dubbing, subtitles, Information about at least one editing operation in stickers, covers, etc. Of course, it may also include information about other editing operations, which will not be listed here.
  • the clip material information used in the clip may include at least one of filters, music, sound effects, stickers, and cover information. Of course, it may also include other clip material information, which is not listed here.
  • the editing operation information includes at least one operation type and operation content of the editing operation.
  • the operation type may include, but is not limited to, adjusting picture amplitude, video scale, zooming or moving picture frame, speed change, reverse playback, rotation, sound change, volume, Add transitions, filters, music, sound effects, dubbing, subtitles, stickers, covers, etc.
  • the operation content can include adjusting the picture amplitude, and the operation content is adjusting the picture amplitude and so on. This is only an exemplary description, and does not limit the present disclosure.
  • the operation sequence of the editing operation is different, and the final editing effect of the multimedia resource may also be different.
  • the editing operation information also includes the operation sequence among multiple editing operations. For example, if the user performs multiple types of editing operations (for example, the first operation to reduce the frame, the second operation to enlarge the frame, and the third time to reduce the frame), the electronic device may record the operation sequence of the multiple editing operations.
  • the clip material information used in the clip includes the material type, material content, or material acquisition method of at least one material, where the material type may include filters, music, sound effects, stickers, covers, and so on. Of course, other material types can also be included, which are not listed here.
  • the material content can be the material itself used in the editing, for example, audio files, configuration files corresponding to sound effects, pictures corresponding to stickers or covers, and so on.
  • the material obtaining method may include the obtaining address of the material, for example, the material content may be stored in the obtaining address, and the material content may be directly obtained from the obtaining address.
  • the process of obtaining the clip information by the electronic device may include multiple methods.
  • the clip information may be information recorded during the editing process, and the information recorded during the editing process may be stored in the editing operation log. Therefore, the clip information can be extracted from the clip operation log.
  • the clip information may also be information obtained by comparing and analyzing historical multimedia resources and original multimedia resources. The embodiments of the present disclosure do not limit the specific method. In some embodiments, two ways are provided below:
  • the electronic device obtains the editing operation log of the historical multimedia resource, and extracts the editing from the editing operation log to obtain the editing information of the historical multimedia resource. Since the clip information may include different information, in the first method, the following situations may be included.
  • the clipping information may include at least clipping operation information, and the electronic device may extract clips from the clipping operation log to obtain the clipping operation information of the historical multimedia resource; the clipping operation information is used to describe the clipping to obtain the historical multimedia resource. All editing operations of the resource or the final result of the editing operation.
  • the editing operation information performed in the log is used as the data basis for generating the editing template.
  • the editing template can also reflect the actual editing process of the historical multimedia resource, and the multimedia resource is performed through the generated editing template. Editing can realize the use of similar or the same editing process to edit multimedia resources.
  • the new multimedia resources obtained are similar to the historical multimedia resources.
  • the editing process is accurate, and the obtained editing template is more in line with the user’s Editing habits, thus more in line with the needs of users.
  • the clipping information may also include clipping material information used for editing
  • the electronic device may also extract the clipping material information used for editing the historical multimedia resource from the editing operation log, and the clipping material information may be at least Including the material type, material content, or material acquisition method of at least one material.
  • the electronic device when the user edits the multimedia resource, the electronic device can record the user's editing operation information or used material information, and store it in the editing operation log. After the historical multimedia resource is obtained by subsequent editing, the editing operation log can be used as the historical editing path of the historical multimedia resource. Through the editing operation log, it can be clearly learned how the historical multimedia resource was edited.
  • the editing operation log may also include multiple situations.
  • the editing record may include editing operation information or material information used for each editing operation performed by the user.
  • the editing operations performed by the user can be sorted, and the editing operation information or the used material information that can reflect the final editing effect of the historical multimedia resource can be obtained.
  • the electronic device may merge the operation contents of the editing operations of different operation types to obtain the information of the edited editing operation.
  • multiple user operations may be recorded in the editing recording, and the final editing result may be the final result of multiple operations.
  • the user may reduce the frame once and enlarge the frame once, and the final result of the editing is to enlarge the frame.
  • the clip recording can directly record the zoom frame operation type, and the operation content is the specific ratio of the zoom frame.
  • the electronic device obtains the original multimedia resource before the historical multimedia resource is edited, performs resource comparison analysis on the original multimedia resource and the historical multimedia resource, and obtains the editing information of the historical multimedia resource.
  • the electronic device can directly compare and analyze historical multimedia resources and original multimedia resources. When there is a difference between the two, it can analyze how to transform from the original multimedia resources to the historical multimedia resources.
  • the transformation process is the above-mentioned editing information.
  • the editing information is obtained by comparing and analyzing two multimedia resources. There is no need to record the editing process one by one.
  • the final editing effect of the historical multimedia resource can be obtained directly based on the comparative analysis. Using such editing information to generate the editing template can be quickly and efficiently The generation process is completed, and the generated editing template can reflect the final editing effect of the historical multimedia resource, meet the user's editing habits or user needs, and improve the generation efficiency.
  • the electronic device can also compare the historical multimedia resource and the original multimedia resource frame by frame. When there is a difference between the historical multimedia resource and any frame of the original multimedia resource, obtain the frame transformation from the original multimedia resource to the history At least one of editing operation information or material information used for the frame of the multimedia resource.
  • the electronic device selects the clip information that meets the target type as template data.
  • generating a clip template is usually used to directly use the clip template to edit multimedia resources without repeating the same editing operation.
  • the editing operations or materials included in the editing information may not have universal applicability.
  • the editing information that does not have universal applicability may not be used as an editing template to generate the required content.
  • the universal editing information can be used to generate the editing template for repeated use, which effectively improves the usage rate and practicability of the generated editing template.
  • whether the editing information has universality can be set by relevant technical personnel according to requirements, that is, a target type is set, and the number of the target type may be one or multiple.
  • the steps performed by the electronic device in S23 may also be different.
  • the electronic device may select from the clip operation information to match the target operation
  • the type of clip operation information is used as the template data.
  • the editing operation information of the target operation type can be universal, and the subsequent generation of template data can reflect the universal editing operation process in the editing process of historical multimedia resources, so as to meet the user's editing habits and meet user needs. It can also remove the user's special editing process for a single multimedia resource, and the resulting editing template is more practical and applicable.
  • the electronic device may associate the clip operation information conforming to the target operation type as the template according to the operation sequence. data.
  • the operation sequence corresponding to the editing operation information in the template data is clear, and the editing template is generated according to such template data.
  • the multimedia resources can be processed in this order to obtain the operation sequence and editing to obtain historical multimedia resources.
  • the same editing process at the same time can ensure that the new multimedia resource generated is similar or the same as the editing process of the historical multimedia resource, which is more in line with the user's editing habits. That is, the template data is more accurate, and the generated clip template is more in line with user expectations.
  • the target type may include at least a preset target material type, and the target material type is a universal material type.
  • the electronic device can select the clip material information conforming to the target material type from the clip material information as the template data.
  • the editing information includes the editing material information, so that universal editing material information is selected as template data, and then the editing template is generated subsequently, so that the editing template includes how to edit the material.
  • the editing template conforms to the user's editing habits in terms of material, or meets the user's personalized editing needs, and can automatically select template data and generate the editing template, which can effectively improve the generation efficiency of the editing template.
  • the clip operation information and the clip material information are described separately.
  • the clip information may include one of them, or it may include both the clip operation information and the clip material information. This is not limited.
  • the electronic device generates a clip template based on the template data.
  • the electronic device filters the editing information, and obtains the template data required to generate the editing template, and then executes the generation step.
  • the generation step may also be different.
  • the template data may include editing operation information that conforms to a preset target operation type.
  • the generation process may be: the electronic device generates corresponding editing operation options according to the editing operation information, Obtain the editing template including the editing operation options.
  • the editing operation option is used to reflect the editing operation.
  • the editing operation information of the enlarged frame can include the enlarged frame and the magnification factor, so that the editing operation option of the enlarged frame can be generated, and the editing operation option is used as the editing template. section.
  • the editing template includes at least one editing operation option, and how to perform the editing operation on the multimedia resource can be learned according to the editing operation option, and the template data in the generation process is selected according to the editing information of the historical multimedia resource.
  • the editing operation options in the generated editing template are the same as the editing processing method when the editing obtains historical multimedia resources. Therefore, it can generate a personalized editing template that meets the user's editing habits and does not require manual processing, which improves the editing template. The efficiency of generating multimedia resources, thereby improving the efficiency of users to implement multimedia resource editing.
  • the editing operation information further includes the operation sequence of the at least one editing operation
  • the editing operation information that meets the preset target operation type in the template data is also associated according to the operation sequence between the multiple editing operations, and then correspondingly
  • the generation process can be: the electronic device can generate the corresponding editing operation option and the trigger sequence of the editing operation option according to the association relationship of the editing operation information conforming to the preset target operation type, and obtain the editing operation option and the triggering sequence. Sequence of editing templates.
  • the editing operation options are generated, and the triggering sequence of the editing operation options corresponds to the editing order of the editing history multimedia resources. Therefore, the editing template can clearly reflect the editing operation and the corresponding sequence that meet the target operation type with high accuracy. It fits the actual editing situation of historical multimedia resources, therefore, it is more in line with user expectations, in line with the user's editing habits, and has better practicability.
  • the new multimedia resources generated by the editing template are closer to the historical multimedia resources, and the editing results are more accurate.
  • the aforementioned template data may include clip material information conforming to a preset target material type.
  • the generating process may be: the electronic device generates corresponding material options according to the clip material information, and obtains The editing template that includes the material options.
  • the clip material information is transformed into the material options in the clip template.
  • the material options can clearly reflect the material information used when editing historical multimedia resources.
  • the editing on the material side is the same as the previous processing by the user. Therefore, the generated editing template It is more in line with the user's editing habits, and the editing results obtained by using such an editing template are also more accurate. Therefore, the effect of generating the editing template is good.
  • the clip material information used in the clip includes the material type, material content, or material acquisition method of at least one material.
  • the material option generation process and the editing template generation process may be: the electronic device according to the clip material information According to the material content in the clip material information, add the material content to the directory indicated by the material acquisition path to obtain the material acquisition path associated with the corresponding material option. Clip template for material options.
  • the attributes of the editing option are generated based on the information in the editing material information.
  • the material content can be accurately obtained from the corresponding position, and then the material content can be edited.
  • the content of the editing template including the material option is rich and diverse ,
  • the form is flexible and changeable, and the generated editing template can perform complex editing processing through material options.
  • the generated editing template has high practicability and good editing effects. In this way, through the editing template, the same material can be used to generate a new multimedia resource, which is more similar to the historical multimedia resource, and is easier to meet user expectations.
  • the storage mode of the clip template may be a kind of description information
  • the description information may include description information of the editing operation, description information of the material used, or both.
  • the above-mentioned editing operation information and editing material information can be called encoding.
  • the user edits a video, crops the video for 0-5 seconds (encoded as operation A), and adds a black-over transition at the beginning of the film (encoded as operation B), add a light-hearted music (encoded as material a), add a "clear" filter (encoded as material b), add a dubbing commentary (encoded as material c) in 0-5 seconds, and finish editing.
  • the program records and stores user operations AB and uses material abc. According to the definition of scanning operation AB, A is not universal, B is universal, and operation B is extracted. Scan the material abc. According to the definition, c is not universal, ab is universal, so extract ab.
  • the operation B material ab is generated as a template.
  • the electronic device After this S24, after the electronic device generates the clip template, it can also display the generated clip template.
  • the electronic device may provide a template display interface to display the editing template.
  • the user can see the displayed editing template, and the editing template may include at least one of editing operation options or material options. If the user wants to preview the editing effect, he can perform a preview operation on the editing template, so that the electronic device can receive the preview operation instruction implemented on the editing template, and in response to the preview operation instruction, determine the operation position with the preview
  • the template option includes at least one of a editing operation option and a editing material option, and further, the electronic device can display the preview content of the template option according to the template data corresponding to the template option.
  • Preview and display the editing template so that users can view the actual editing effect of the editing template, so as to determine whether it is the expected effect, so that when determining that it meets their needs, use this editing template to avoid direct use of the editing template.
  • the editing operation options can be displayed automatically according to the target operation type. For example, as shown in Fig. 3, for various editing operations included in the editing template, you can divide them into categories. Item display. There may be a preview video area in the interface, and the relevant preview video of the template may be displayed in this area. The user can click the button of the above frame ratio, and see the reduced schematic diagram of the specific frame ratio in the "Preview Video" area. Similarly, you can also see the schematic diagram of the transition.
  • the operation position of the preview operation instruction may include multiple, and the template options corresponding to the multiple operation positions may include multiple, so that when the preview content is displayed, the editing effect can be provided according to the multiple template options.
  • the superimposed preview content so that users can learn more realistic editing effects to avoid repeated operations.
  • the electronic device displays the composite content corresponding to the multiple template options according to the template data corresponding to the multiple template options, and the composite content includes the content after the multiple template options are superimposed.
  • the process of superimposing display may be: the electronic device obtains multiple preview contents corresponding to the multiple template options according to the template data corresponding to the multiple template options, Display the synthesized content obtained by synthesizing the multiple preview contents.
  • synthesizing the preview content instead of previewing it separately, it can show users the editing effects of multiple clips superimposed, and it is also closer to the real editing effects of the editing template, which can avoid the above-mentioned repeated editing due to the editing results that do not meet expectations. , To improve the diversification of display forms, but also to improve the practicability of editing templates.
  • the clip template can also be shared by the current user with other users.
  • the electronic device can also send the clip template to the user account indicated by the sharing instruction in response to the sharing instruction of the clip template, so as to send the clip template to the user account indicated by the sharing instruction. Reduce the user's operation as a whole and improve the practicality of the editing template.
  • the embodiments of the present disclosure filter the clip information of historical multimedia resources, filter out the clip information that meets the target type as template data, and automatically generate the clip template, which can be generated based on any historical multimedia resource without manual configuration or editing.
  • Corresponding editing templates to meet the user's personalized editing needs and improve the efficiency of users to implement multimedia resource editing.
  • Fig. 4 is a flow chart showing a method for generating multimedia resources according to an exemplary embodiment. As shown in Fig. 4, the method for generating multimedia resources is applied to an electronic device and includes the following steps.
  • the electronic device obtains selectable editing templates and original multimedia resources, and each of the editing templates is generated according to corresponding editing information, and the editing information is at least one of the editing operation information or the editing material information used in the editing. .
  • the electronic device can obtain the editing template and the original multimedia resource, and use the editing template to edit the original multimedia resource to obtain the target multimedia resource.
  • the electronic device may provide one editing template or multiple editing templates for the user to select.
  • the method of generating the selectable editing template please refer to the embodiment shown in FIG. 2 above, which will not be repeated here.
  • the electronic device displays available editing templates.
  • the process of displaying the editing template by the electronic device can refer to the step of previewing and displaying the editing template after S24, and the user can preview the editing effect of the editing template according to the displayed content, which is not repeated here in the embodiment of the present disclosure.
  • the electronic device receives a template selection instruction.
  • the user After the user sees the available editing templates displayed, he can select the editing template he likes or needs according to the display effect of the editing template.
  • the user can perform a template selection operation on the electronic device, and the electronic device can receive a template selection instruction triggered by the template selection operation, and perform the following steps according to the template selection instruction.
  • the electronic device determines the selected target clip template in response to the received template selection instruction.
  • the electronic device may respond to the template selection instruction and use the editing template indicated by the template selection instruction as the target editing template, so as to execute the following S25 according to the target editing template.
  • the target editing template may include at least one of editing operation options or material options.
  • the electronic device processes the acquired original multimedia resources according to the target editing template to generate target multimedia resources.
  • the electronic device After the electronic device determines the target editing template, it can execute the step of generating multimedia resources.
  • the content included in the target clip template may be different, and accordingly, the way the electronic device generates the target multimedia resource according to the target clip template may also be different.
  • the target editing template includes at least a editing operation option
  • S45 may be: the electronic device performs corresponding editing processing on the acquired original multimedia resource according to the editing operation option to generate the target multimedia resource.
  • the target editing template may include the editing operation option "enlarge the frame, the magnification ratio is 2", and the electronic device can magnify the frame of the original multimedia resource by 2 times.
  • the target editing template further includes a trigger sequence of editing operation options
  • the electronic device may sequentially perform an order for the acquired original multimedia resources according to the editing operation options and the trigger sequence according to the trigger sequence. Perform the corresponding editing process to generate target multimedia resources.
  • the original multimedia resources are processed according to the trigger sequence of the editing operation options in the editing template.
  • the processing sequence is the same as the trigger sequence, and the obtained target multimedia resource editing effect is more accurate, and the editing effect corresponding to the editing template is more suitable for users. demand.
  • the target editing template includes at least a material option
  • the electronic device can obtain the material content according to the material option, add the material content to the corresponding position in the original multimedia resource, and obtain the target Multimedia resources.
  • the target editing template can also provide material editing functions. Through the material options in the target editing template, material content can be automatically added to the original multimedia resources without manual upload by the user, which greatly improves the editing efficiency.
  • the material option may be associated with a material acquisition path, and the material content is stored in the directory indicated by the material acquisition path. The foregoing process of obtaining material content is sufficient: the electronic device extracts the material content from the directory indicated by the material obtaining path associated with the material option.
  • the attribute of the material option is generated based on the information in the clip material information. Through this material option, the material content can be accurately obtained from the corresponding position, and then the material content can be edited.
  • the content of the editing template including the material option is rich and diverse .
  • the form is flexible and changeable, and complex editing can be performed through material options, so that through the editing template, you can use the same materials as historical multimedia resources to generate new multimedia resources, which are more similar to the historical multimedia resources. It is easier to meet user expectations.
  • the electronic device After the electronic device obtains the target multimedia resource, it can also display the target multimedia resource to show the editing effect.
  • the foregoing describes the process of the electronic device generating target multimedia resources based on the target editing template. If the user feels that the editing effect of the editing template does not fully meet expectations, the user can edit the editing template to adjust it.
  • the electronic device can receive the editing instruction triggered by the editing operation, and in response to the editing instruction of the target clip template, edit the editing operation options or material options in the target clip template. For example, the user wants to upload other materials to replace For the material content associated with the material option, the electronic device can obtain the uploaded material content, add the material content to the directory indicated by the material acquisition path corresponding to the material option, and delete the original material content.
  • the adjusted editing template can also be used to generate multimedia resources, and the electronic device can process the acquired original multimedia resources according to the edited target editing template in response to the received resource generation instruction , Generate target multimedia resources.
  • the electronic device provides users with a editing function of editing templates. Users can edit the editing templates according to their own needs or preferences, thereby improving the editing effects corresponding to the editing templates and better satisfying the individual needs of users.
  • the adjusted editing template can also be stored for subsequent use to generate multimedia resources.
  • the electronic device may store the edited target clip template in response to the received storage instruction. After the edited target clip template is stored, subsequent users can use the target clip template to directly edit the original multimedia resources, or use the target clip template to batch process multiple original multimedia resources to obtain more in line with their needs Multimedia resources effectively improve the practicability of editing templates.
  • the multimedia resources are processed to generate the target multimedia resources, so that the user does not need to edit manually, and the multimedia resources can be automatically edited quickly and efficiently, and the editing is effectively improved. effectiveness.
  • the corresponding editing template is automatically generated according to the editing information for users to choose, instead of a preset fixed editing template, it can provide users with a rich variety of editing templates, effectively meeting users' personalized editing needs, and improving users' ability to implement multimedia resource editing. effectiveness.
  • Fig. 5 is a block diagram showing a device for generating multimedia resources according to an exemplary embodiment.
  • the device includes:
  • the display unit 501 is configured to perform display of selectable editing templates; each of the editing templates is generated according to corresponding editing information, and the editing information is at least one of the editing operation information or the editing material information used in the editing;
  • the determining unit 502 is configured to execute the selected target clip template in response to the received template selection instruction
  • the generating unit 503 is configured to process the acquired original multimedia resources according to the target clip template to generate the target multimedia resources.
  • the device provided by the embodiment of the present disclosure processes the multimedia resources to generate the target multimedia resources by selecting the target editing template from the available editing templates, and realizes that the multimedia resources can be obtained by automatically editing quickly and efficiently without the user's manual editing. Improve editing efficiency.
  • the corresponding editing template is automatically generated according to the editing information for users to choose, instead of a preset fixed editing template, it can provide users with a rich variety of editing templates, effectively meeting users' personalized editing needs, and improving users' ability to implement multimedia resource editing. effectiveness.
  • the target editing template includes at least editing operation options
  • the generating unit 503 is configured to perform corresponding editing processing on the acquired original multimedia resource according to the editing operation option, to generate the target multimedia resource.
  • the target editing template further includes a trigger sequence of editing operation options
  • the generating unit 503 is configured to perform corresponding editing processing on the acquired original multimedia resources in sequence according to the editing operation options and the trigger sequence, and generate the target multimedia resources according to the trigger sequence.
  • the target editing template includes at least material options
  • the generating unit 503 is configured to perform acquisition of material content according to the material option, and add the material content to a corresponding position in the original multimedia resource to obtain the target multimedia resource.
  • the generating unit 503 is configured to perform extraction of material content from the directory indicated by the material acquisition path associated with the material option.
  • the device further includes:
  • the acquiring unit is configured to perform acquisition of historical multimedia resources used to generate a clip template
  • the obtaining unit is further configured to obtain the corresponding clip information from the historical multimedia resource;
  • the selection unit is also configured to perform selection of the clip information conforming to the target type as template data
  • the generating unit 503 is further configured to generate the corresponding clip template according to the template data.
  • the editing information includes at least editing operation information, the editing operation information includes at least one operation type and operation content of the editing operation; the target type includes at least a preset target operation type;
  • the selection unit is configured to perform selection of the editing operation information conforming to the target operation type from the editing operation information as the template data.
  • the editing operation information further includes an operation sequence between multiple editing operations
  • the selection unit is also configured to execute:
  • the clip operation information corresponding to the target operation type is associated as the template data.
  • the clip information includes at least clip material information used in the clip, and the material information used in the clip includes at least one material type, material content, or material acquisition method; the target type includes at least a preset target material Types of;
  • the selection unit is configured to perform selection of clip material information conforming to the target material type from the clip material information as the template data.
  • the template data includes clipping operation information conforming to a preset target operation type
  • the generating unit 503 is configured to generate a corresponding editing operation option according to the editing operation information, and obtain an editing template including the editing operation option.
  • the editing operation information conforming to the preset target operation type is further associated according to the operation sequence between the multiple editing operations;
  • the generating unit 503 is configured to perform the generation of corresponding editing operation options and the triggering sequence of the editing operation options according to the association relationship of the editing operation information conforming to the preset target operation type, and obtaining the editing including the editing operation options and the triggering sequence. template.
  • the template data includes clip material information conforming to a preset target material type
  • the generating unit 503 is configured to generate a corresponding material option according to the clip material information, and obtain a clip template including the material option.
  • the generating unit 503 is configured to execute:
  • the material content in the clip material information is added to the directory indicated by the material acquisition path to obtain a clip template including the material option.
  • the device further includes:
  • the first editing unit is configured to execute editing operations or material options in the target editing template in response to an editing instruction for the target editing template
  • the generating unit 503 is further configured to perform processing on the acquired original multimedia resource according to the edited target clip template in response to the received resource generating instruction to generate the target multimedia resource.
  • the device further includes:
  • the second editing unit is configured to execute editing operations or material options in the target editing template in response to an editing instruction for the target editing template
  • the storage unit is configured to execute the storage of the edited target clip template in response to the received storage instruction.
  • the above-mentioned electronic device may be the terminal shown in FIG. 6 below, or may be the server shown in FIG. 7 below, which is not limited in the embodiment of the present disclosure.
  • Fig. 6 is a structural block diagram showing a terminal according to an exemplary embodiment.
  • the terminal 600 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, moving picture experts compressing standard audio layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, moving picture experts compressing standard audio Level 4) Player, laptop or desktop computer.
  • the terminal 600 may also be called user equipment, portable terminal, laptop terminal, desktop terminal and other names.
  • the terminal 600 includes a processor 601 and a memory 602.
  • the processor 601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on.
  • the processor 601 can adopt at least one hardware form among DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array, Programmable Logic Array). achieve.
  • the processor 601 may also include a main processor and a coprocessor.
  • the main processor is a processor used to process data in the awake state, also called a CPU (Central Processing Unit, central processing unit); the coprocessor is A low-power processor used to process data in the standby state.
  • the processor 601 may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used for rendering and drawing content that needs to be displayed on the display screen.
  • the processor 601 may further include an AI (Artificial Intelligence) processor, and the AI processor is used to process computing operations related to machine learning.
  • AI Artificial Intelligence
  • the memory 602 may include one or more computer-readable storage media, which may be non-transitory.
  • the memory 602 may also include a high-speed random access memory and a non-volatile memory, such as one or more magnetic disk storage devices and flash memory storage devices.
  • the non-transitory computer-readable storage medium in the memory 602 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 601 to implement the multimedia resources provided by the method embodiments of the present disclosure The method of generation.
  • the terminal 600 may optionally further include: a peripheral device interface 603 and at least one peripheral device.
  • the processor 601, the memory 602, and the peripheral device interface 603 may be connected by a bus or a signal line.
  • Each peripheral device can be connected to the peripheral device interface 603 through a bus, a signal line, or a circuit board.
  • the peripheral device includes at least one of a radio frequency circuit 604, a touch display screen 605, a camera component 606, an audio circuit 607, a positioning component 608, and a power supply 609.
  • the peripheral device interface 603 can be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 601 and the memory 602.
  • the processor 601, the memory 602, and the peripheral device interface 603 are integrated on the same chip or circuit board; in some other embodiments, any one of the processor 601, the memory 602, and the peripheral device interface 603 or The two can be implemented on a separate chip or circuit board, which is not limited in this embodiment.
  • the radio frequency circuit 604 is used for receiving and transmitting RF (Radio Frequency, radio frequency) signals, also called electromagnetic signals.
  • the radio frequency circuit 604 communicates with a communication network and other communication devices through electromagnetic signals.
  • the radio frequency circuit 604 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals.
  • the radio frequency circuit 604 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so on.
  • the radio frequency circuit 604 can communicate with other terminals through at least one wireless communication protocol.
  • the wireless communication protocol includes, but is not limited to: metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity, wireless fidelity) networks.
  • the radio frequency circuit 604 may also include a circuit related to NFC (Near Field Communication), which is not limited in the present disclosure.
  • the display screen 605 is used to display a UI (User Interface, user interface).
  • the UI can include graphics, text, icons, videos, and any combination thereof.
  • the display screen 605 also has the ability to collect touch signals on or above the surface of the display screen 605.
  • the touch signal can be input to the processor 601 as a control signal for processing.
  • the display screen 605 may also be used to provide virtual buttons and/or virtual keyboards, also called soft buttons and/or soft keyboards.
  • the display screen 605 there may be one display screen 605, which is provided with the front panel of the terminal 600; in other embodiments, there may be at least two display screens 605, which are respectively provided on different surfaces of the terminal 600 or in a folded design; In still other embodiments, the display screen 605 may be a flexible display screen, which is disposed on the curved surface or the folding surface of the terminal 600. Furthermore, the display screen 605 can also be set as a non-rectangular irregular figure, that is, a special-shaped screen.
  • the display screen 605 may be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
  • the camera assembly 606 is used to capture images or videos.
  • the camera assembly 606 includes a front camera and a rear camera.
  • the front camera is set on the front panel of the terminal, and the rear camera is set on the back of the terminal.
  • the camera assembly 606 may also include a flash.
  • the flash can be a single-color flash or a dual-color flash. Dual color temperature flash refers to a combination of warm light flash and cold light flash, which can be used for light compensation under different color temperatures.
  • the audio circuit 607 may include a microphone and a speaker.
  • the microphone is used to collect the sound waves of the user and the environment, and convert the sound waves into electrical signals and input to the processor 601 for processing, or input to the radio frequency circuit 604 to realize voice communication.
  • the microphone can also be an array microphone or an omnidirectional collection microphone.
  • the speaker is used to convert the electrical signal from the processor 601 or the radio frequency circuit 604 into sound waves.
  • the speaker can be a traditional thin-film speaker or a piezoelectric ceramic speaker.
  • the speaker When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into human audible sound waves, but also convert the electrical signal into human inaudible sound waves for distance measurement and other purposes.
  • the audio circuit 607 may also include a headphone jack.
  • the positioning component 608 is used to locate the current geographic location of the terminal 600 to implement navigation or LBS (Location Based Service, location-based service).
  • the positioning component 608 may be a positioning component based on the GPS (Global Positioning System, Global Positioning System) of the United States, the Beidou system of China, the Granus system of Russia, or the Galileo system of the European Union.
  • the power supply 609 is used to supply power to various components in the terminal 600.
  • the power source 609 may be alternating current, direct current, disposable batteries, or rechargeable batteries.
  • the rechargeable battery may support wired charging or wireless charging.
  • the rechargeable battery can also be used to support fast charging technology.
  • the terminal 600 further includes one or more sensors 610.
  • the one or more sensors 610 include, but are not limited to: an acceleration sensor 611, a gyroscope sensor 612, a pressure sensor 613, a fingerprint sensor 614, an optical sensor 615, and a proximity sensor 616.
  • the acceleration sensor 611 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 600.
  • the acceleration sensor 611 can be used to detect the components of the gravitational acceleration on three coordinate axes.
  • the processor 601 may control the touch screen 605 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 611.
  • the acceleration sensor 611 may also be used for the collection of game or user motion data.
  • the gyroscope sensor 612 can detect the body direction and rotation angle of the terminal 600, and the gyroscope sensor 612 can cooperate with the acceleration sensor 611 to collect the user's 3D actions on the terminal 600.
  • the processor 601 can implement the following functions according to the data collected by the gyroscope sensor 612: motion sensing (for example, changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
  • the pressure sensor 613 may be disposed on the side frame of the terminal 600 and/or the lower layer of the touch screen 605.
  • the processor 601 performs left and right hand recognition or quick operation according to the holding signal collected by the pressure sensor 613.
  • the processor 601 controls the operability controls on the UI interface according to the user's pressure operation on the touch display screen 605.
  • the operability control includes at least one of a button control, a scroll bar control, an icon control, and a menu control.
  • the fingerprint sensor 614 is used to collect the user's fingerprint.
  • the processor 601 can identify the user's identity based on the fingerprint collected by the fingerprint sensor 614, or the fingerprint sensor 614 can identify the user's identity based on the collected fingerprints. When it is recognized that the user's identity is a trusted identity, the processor 601 authorizes the user to perform related sensitive operations, including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings.
  • the fingerprint sensor 614 may be provided on the front, back or side of the terminal 600. When a physical button or a manufacturer logo is provided on the terminal 600, the fingerprint sensor 614 can be integrated with the physical button or the manufacturer logo.
  • the optical sensor 615 is used to collect the ambient light intensity.
  • the processor 601 may control the display brightness of the touch screen 605 according to the ambient light intensity collected by the optical sensor 615. In some embodiments, when the ambient light intensity is high, the display brightness of the touch display screen 605 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 605 is decreased. In another embodiment, the processor 601 may also dynamically adjust the shooting parameters of the camera assembly 606 according to the ambient light intensity collected by the optical sensor 615.
  • the proximity sensor 616 also called a distance sensor, is usually arranged on the front panel of the terminal 600.
  • the proximity sensor 616 is used to collect the distance between the user and the front of the terminal 600.
  • the processor 601 controls the touch screen 605 to switch from the on-screen state to the off-screen state; when the proximity sensor 616 detects When the distance between the user and the front of the terminal 600 gradually increases, the processor 601 controls the touch display screen 605 to switch from the rest screen state to the bright screen state.
  • FIG. 6 does not constitute a limitation on the terminal 600, and may include more or fewer components than shown in the figure, or combine certain components, or adopt different component arrangements.
  • FIG. 7 is a schematic diagram showing the structure of a server according to an exemplary embodiment.
  • the server 700 may have relatively large differences due to different configurations or performance, and may include one or more processors (central processing units, CPU) 701 And one or more memories 702, where at least one instruction is stored in the memory 702, and the at least one instruction is loaded and executed by the processor 701 to implement the method for generating multimedia resources provided by the foregoing method embodiments.
  • the server may also have components such as a wired or wireless network interface, a keyboard, an input and output interface for input and output, and the server may also include other components for implementing device functions, which will not be described in detail here.
  • the servers shown in FIG. 6 and FIG. 7 are all electronic devices, and the electronic devices include one or more processors; one or more memories for storing executable instructions of the one or more processors.
  • the one or more processors are configured to execute the instructions to implement the following steps: display available editing templates; each of the editing templates is generated according to corresponding editing information, and the editing information is at least At least one of the editing operation information or the editing material information used for the editing; in response to the received template selection instruction, determining the selected target editing template; processing the acquired original multimedia resources according to the target editing template, Generate target multimedia resources.
  • the target editing template includes at least editing operation options
  • the one or more processors are specifically configured to execute the instructions to implement the following steps: according to the editing operation options, perform corresponding editing processing on the acquired original multimedia resources to generate target multimedia resources.
  • the target editing template also includes a trigger sequence of editing operation options
  • the one or more processors are specifically configured to execute the instructions to implement the following steps: according to the editing operation options and the trigger sequence, the acquired original multimedia resources are sequentially corresponded in accordance with the trigger sequence Editing process to generate target multimedia resources.
  • the target editing template includes at least material options
  • the one or more processors are specifically configured to execute the instructions to implement the following steps: obtain material content according to the material options, add the material content to a corresponding position in the original multimedia resource, and obtain Target multimedia resources.
  • the one or more processors are specifically configured to execute the instructions to implement the following step: extract material content from a directory indicated by a material acquisition path associated with the material option.
  • the one or more processors are further configured to execute the instructions to implement the following steps: obtain historical multimedia resources used to generate a clip template; obtain the corresponding clip information from the historical multimedia resources; select The clip information that meets the target type is used as template data; and the corresponding clip template is generated according to the template data.
  • the clipping information includes at least clipping operation information, the clipping operation information includes an operation type and operation content of at least one clipping operation; the target type includes at least a preset target operation type;
  • the one or more processors are specifically configured to execute the instructions to implement the following step: from the editing operation information, selecting the editing operation information that meets the target operation type as the template data.
  • the editing operation information also includes an operation sequence among multiple editing operations
  • the one or more processors are further configured to execute the instructions to implement the following steps: according to the operation sequence, associating the clip operation information that conforms to the target operation type as the template data.
  • the clip information includes at least clip material information used in the clip, and the material information used in the clip includes at least one material type, material content, or material acquisition method; the target type includes at least a preset target material type;
  • the one or more processors are specifically configured to execute the instructions to implement the following step: from the clip material information, select clip material information that meets the target material type as the template data.
  • the template data includes editing operation information conforming to a preset target operation type
  • the one or more processors are specifically configured to execute the instructions to implement the following steps: generate corresponding editing operation options according to the editing operation information, and obtain an editing template including the editing operation options.
  • the editing operation information conforming to the preset target operation type is also associated according to the operation sequence between the multiple editing operations;
  • the one or more processors are specifically configured to execute the instructions to implement the following steps: generate corresponding editing operation options and the editing operation options according to the association relationship of the editing operation information conforming to the preset target operation type To obtain the editing template including the editing operation options and the trigger sequence.
  • the template data includes clip material information conforming to a preset target material type
  • the one or more processors are specifically configured to execute the instructions to implement the following steps: generate corresponding material options according to the clip material information, and obtain a clip template including the material options.
  • the one or more processors are specifically configured to execute the instructions to implement the following steps: generate a material acquisition path associated with a corresponding material option according to the material type and material acquisition mode in the clip material information; For the material content in the clip material information, the material content is added to the directory indicated by the material acquisition path to obtain a clip template including the material options.
  • the one or more processors are further configured to execute the instructions to implement the following step: in response to the editing instructions for the target editing template, editing the editing operation options or the material options in the target editing template ; In response to the received resource generation instruction, according to the edited target clip template, the acquired original multimedia resources are processed to generate target multimedia resources.
  • the one or more processors are further configured to execute the instructions to implement the following steps: in response to editing instructions for the target clip template, perform editing operations on the target clip template. Options or material options are edited; in response to the received storage instruction, the edited target clip template is stored.
  • a storage medium including instructions, such as a memory including instructions, which may be executed by a processor of a device to complete the foregoing multimedia resource generation method.
  • the electronic device can perform the following steps: display available editing templates; each of the editing templates is based on the corresponding The clip information is generated, the clip information is at least one of the clip operation information or the clip material information used in the clip; in response to the received template selection instruction, the selected target clip template is determined; and the selected target clip template is determined according to the target clip template , Process the acquired original multimedia resources to generate target multimedia resources.
  • the target editing template includes at least editing operation options
  • the electronic device When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is specifically able to perform the following steps: according to the editing operation option, perform corresponding editing processing on the acquired original multimedia resources to generate target multimedia Resources.
  • the target editing template further includes a trigger sequence of editing operation options
  • the electronic device When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is specifically able to perform the following steps: according to the editing operation options and the trigger sequence, according to the trigger sequence, the acquired The original multimedia resources are subjected to corresponding editing processing to generate target multimedia resources.
  • the target editing template includes at least material options
  • the electronic device can specifically execute the following steps: obtain material content according to the material option, and add the material content to the original multimedia resource In the corresponding position in the middle, the target multimedia resource is obtained.
  • the electronic device when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can specifically execute the following steps: from the directory indicated by the material acquisition path associated with the material option , Extract the material content.
  • the electronic device when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can also perform the following steps: acquiring historical multimedia resources used to generate a clip template; In the resource, the corresponding clip information is obtained; the clip information that meets the target type is selected as template data; the corresponding clip template is generated according to the template data.
  • the clipping information includes at least clipping operation information
  • the clipping operation information includes an operation type and operation content of at least one clipping operation
  • the target type includes at least a preset target operation type
  • the electronic device can specifically execute the following steps: from the editing operation information, selecting the editing operation information that meets the target operation type as the all The template data.
  • the editing operation information further includes an operation sequence between multiple editing operations
  • the electronic device When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is also able to perform the following steps: according to the operation sequence, associating the editing operation information conforming to the target operation type as the all The template data.
  • the clip information includes at least clip material information used in the clip, and the material information used in the clip includes at least one material type, material content, or material acquisition method; the target type includes at least a preset The type of target material;
  • the electronic device can specifically execute the following steps: from the clip material information, select the clip material information that meets the target material type as the The template data.
  • the template data includes clipping operation information conforming to a preset target operation type
  • the electronic device When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is specifically able to perform the following steps: generate corresponding editing operation options according to the editing operation information, and obtain information including the editing operation options Clip template.
  • the editing operation information conforming to the preset target operation type is further associated according to the operation sequence between the multiple editing operations;
  • the electronic device When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is specifically able to perform the following steps: generate corresponding editing operation options according to the association relationship of the editing operation information that meets the preset target operation type And the trigger sequence of the editing operation options to obtain an editing template including the editing operation options and the trigger sequence.
  • the template data includes clip material information conforming to a preset target material type
  • the electronic device can specifically execute the following steps: generate corresponding material options according to the clip material information, and obtain a clip template including the material options .
  • the electronic device when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can specifically execute the following steps: generate according to the material type and material acquisition mode in the clip material information The material acquisition path associated with the corresponding material option; according to the material content in the clip material information, the material content is added to the directory indicated by the material acquisition path to obtain a editing template including the material option.
  • the electronic device when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is also able to perform the following steps: in response to the editing instructions for the target clip template, The editing operation options or material options in the editing template are edited; in response to the received resource generation instruction, the acquired original multimedia resources are processed according to the edited target editing template to generate the target multimedia resources.
  • the electronic device when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is also able to perform the following steps: in response to the editing instructions for the target clip template, The editing operation options or material options in the editing template are edited; in response to the received storage instruction, the edited target editing template is stored.
  • the storage medium may be a non-transitory computer-readable storage medium.
  • the non-transitory computer-readable storage medium may be a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access).
  • Memory RAM
  • CD-ROM Compact Disc Read-Only Memory
  • magnetic tapes floppy disks
  • optical data storage devices etc.
  • a computer program product including at least one instruction, which can be executed by a processor of an electronic device to complete the method steps of the method for generating multimedia resources provided in the foregoing embodiment.

Abstract

The present disclosure relates to a method and device for generating multimedia resources, and relates to the technical field of multimedia. The method comprises: displaying selectable editing templates, each editing template being generated according to corresponding editing information, and the editing information being at least one of editing operation information or editing material information used in editing; determining a selected target editing template in response to a received template selection instruction; and processing the obtained original multimedia resources according to the target editing template to generate target multimedia resources.

Description

生成多媒体资源的方法及设备Method and equipment for generating multimedia resources
本申请要求于2020年01月02日提交的申请号为202010003239.X、发明名称为“多媒体资源的生成方法、装置、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed on January 2, 2020 with the application number 202010003239.X and the invention title "Multimedia resource generation method, device, equipment and storage medium", the entire content of which is incorporated by reference In this application.
技术领域Technical field
本公开涉及多媒体技术领域,尤其涉及一种生成多媒体资源的方法及设备。The present disclosure relates to the field of multimedia technology, and in particular to a method and device for generating multimedia resources.
背景技术Background technique
随着多媒体技术的发展,人们经常会制作多媒体资源,对多媒体资源进行剪辑,将其剪辑为自己喜欢的风格。With the development of multimedia technology, people often make multimedia resources, edit the multimedia resources, and edit them into their favorite style.
相关技术中,用户通常需要打开剪辑应用,在剪辑应用中对原始多媒体资源进行剪辑操作,来生成多媒体资源。剪辑多媒体资源通常存在较高的专业门槛,不熟练剪辑技术的普通用户操作起来则十分困难,无法生成符合预期的多媒体资源,且手动剪辑的方式耗时较长,多媒体资源的生成效率低。In related technologies, users usually need to open an editing application and perform editing operations on original multimedia resources in the editing application to generate multimedia resources. Editing multimedia resources usually has a high professional threshold, and it is very difficult for ordinary users who are not proficient in editing technology to operate, unable to generate multimedia resources that meet expectations, and the manual editing method takes a long time and the generation of multimedia resources is inefficient.
发明内容Summary of the invention
本公开提供一种生成多媒体资源的方法及设备。本公开的技术方案如下:The present disclosure provides a method and equipment for generating multimedia resources. The technical solutions of the present disclosure are as follows:
根据本公开实施例的第一方面,提供一种多媒体资源的生成方法,包括:According to a first aspect of the embodiments of the present disclosure, there is provided a method for generating multimedia resources, including:
展示可供选择的剪辑模板;每个所述剪辑模板根据对应的剪辑信息生成,所述剪辑信息至少所述剪辑操作信息或剪辑所采用的剪辑素材信息中至少一项;Display available editing templates; each of the editing templates is generated according to corresponding editing information, and the editing information is at least one of the editing operation information or the editing material information used in the editing;
响应于所接收的模板选择指令,确定被选中的目标剪辑模板;In response to the received template selection instruction, determine the selected target clip template;
根据所述目标剪辑模板,对获取的原始多媒体资源进行处理,生成目标多媒体资源。According to the target editing template, the acquired original multimedia resources are processed to generate target multimedia resources.
根据本公开实施例的第二方面,提供一种多媒体资源的生成装置,包括:According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for generating multimedia resources, including:
展示单元,被配置为执行展示可供选择的剪辑模板;每个所述剪辑模板根据对应的剪辑信息生成,所述剪辑信息至少所述剪辑操作信息或剪辑所采用的剪辑素材信息中至少一项;The display unit is configured to perform the display of selectable editing templates; each of the editing templates is generated according to corresponding editing information, and the editing information is at least one of the editing operation information or the editing material information used in the editing ;
确定单元,被配置为执行响应于所接收的模板选择指令,确定被选中的目标剪辑模板;The determining unit is configured to execute the selected target clip template in response to the received template selection instruction;
生成单元,被配置为执行根据所述目标剪辑模板,对获取的原始多媒体资源进行处理,生成目标多媒体资源。The generating unit is configured to process the acquired original multimedia resources according to the target clip template to generate the target multimedia resources.
根据本公开实施例的第三方面,提供一种电子设备,包括:According to a third aspect of the embodiments of the present disclosure, there is provided an electronic device, including:
一个或多个处理器;One or more processors;
用于存储所述一个或多个处理器可执行指令的一个或多个存储器;One or more memories for storing the one or more processor-executable instructions;
其中,所述一个或多个处理器被配置为执行所述指令,以实现如下步骤:展示可供选择的剪辑模板;每个所述剪辑模板根据对应的剪辑信息生成,所述剪辑信息至少所述剪辑操作信息或剪辑所采用的剪辑素材信息中至少一项;响应于所接收的模板选择指令,确定被选中 的目标剪辑模板;根据所述目标剪辑模板,对获取的原始多媒体资源进行处理,生成目标多媒体资源。Wherein, the one or more processors are configured to execute the instructions to implement the following steps: display available editing templates; each of the editing templates is generated according to corresponding editing information, and the editing information is at least At least one of the editing operation information or the editing material information used for the editing; in response to the received template selection instruction, determining the selected target editing template; processing the acquired original multimedia resources according to the target editing template, Generate target multimedia resources.
根据本公开实施例的第四方面,提供一种存储介质,当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备能够执行如下步骤:展示可供选择的剪辑模板;每个所述剪辑模板根据对应的剪辑信息生成,所述剪辑信息至少所述剪辑操作信息或剪辑所采用的剪辑素材信息中至少一项;响应于所接收的模板选择指令,确定被选中的目标剪辑模板;根据所述目标剪辑模板,对获取的原始多媒体资源进行处理,生成目标多媒体资源。According to a fourth aspect of the embodiments of the present disclosure, a storage medium is provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can perform the following steps: display available editing templates Each of the editing templates is generated according to the corresponding editing information, and the editing information is at least one of the editing operation information or the editing material information used in the editing; in response to the received template selection instruction, the selected one is determined The target editing template; according to the target editing template, the acquired original multimedia resources are processed to generate the target multimedia resources.
根据本公开实施例的第五方面,提供一种计算机程序产品,包括至少一个指令,当所述指令由电子设备的处理器执行时,使得所述电子设备能够执行如下步骤:展示可供选择的剪辑模板;每个所述剪辑模板根据对应的剪辑信息生成,所述剪辑信息至少所述剪辑操作信息或剪辑所采用的剪辑素材信息中至少一项;响应于所接收的模板选择指令,确定被选中的目标剪辑模板;根据所述目标剪辑模板,对获取的原始多媒体资源进行处理,生成目标多媒体资源。According to a fifth aspect of the embodiments of the present disclosure, there is provided a computer program product, including at least one instruction, when the instruction is executed by a processor of an electronic device, the electronic device can perform the following steps: display alternatives Editing templates; each of the editing templates is generated according to corresponding editing information, the editing information is at least one of the editing operation information or the editing material information used in the editing; in response to the received template selection instruction, it is determined to be The selected target editing template; according to the target editing template, the acquired original multimedia resources are processed to generate the target multimedia resources.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure.
附图说明Description of the drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理,并不构成对本公开的不当限定。The drawings herein are incorporated into the specification and constitute a part of the specification, show embodiments conforming to the disclosure, and together with the specification are used to explain the principle of the disclosure, and do not constitute an improper limitation of the disclosure.
图1是根据一示例性实施例示出的一种多媒体资源的生成方法的实施环境。Fig. 1 shows an implementation environment of a method for generating multimedia resources according to an exemplary embodiment.
图2是根据一示例性实施例示出的一种多媒体资源的生成方法的流程图。Fig. 2 is a flowchart showing a method for generating multimedia resources according to an exemplary embodiment.
图3是根据一示例性实施例示出的一种剪辑模板的生成方法的流程图。Fig. 3 is a flowchart showing a method for generating a clip template according to an exemplary embodiment.
图4是根据一示例性实施例示出的一种终端界面的示意图。Fig. 4 is a schematic diagram showing a terminal interface according to an exemplary embodiment.
图5是根据一示例性实施例示出的一种多媒体资源的生成装置框图。Fig. 5 is a block diagram showing a device for generating multimedia resources according to an exemplary embodiment.
图6是根据一示例性实施例示出的一种终端的结构框图。Fig. 6 is a structural block diagram showing a terminal according to an exemplary embodiment.
图7是根据一示例性实施例示出的一种服务器的结构示意图。Fig. 7 is a schematic diagram showing the structure of a server according to an exemplary embodiment.
具体实施方式Detailed ways
为了使本领域普通人员更好地理解本公开的技术方案,下面将结合附图,对本公开实施例中的技术方案进行清楚、完整地描述。In order to enable those of ordinary skill in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be described clearly and completely with reference to the accompanying drawings.
需要说明的是,本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本公开的实施例能够以除了在这里图示或描述的那些以外的顺序实施。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。It should be noted that the terms “first”, “second”, etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances so that the embodiments of the present disclosure described herein can be implemented in a sequence other than those illustrated or described herein. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
本公开所涉及的用户信息可以为经用户授权或者经过各方充分授权的信息。The user information involved in the present disclosure may be information authorized by the user or fully authorized by all parties.
图1是根据一示例性实施例示出的一种多媒体资源的生成方法的实施环境,如图1所示, 该实施环境可以包括多个电子设备,该电子设备可以为终端,也可以为服务器,在图1中仅以该电子设备为终端为例。Fig. 1 is an implementation environment of a method for generating multimedia resources according to an exemplary embodiment. As shown in Fig. 1, the implementation environment may include multiple electronic devices, and the electronic devices may be terminals or servers. In FIG. 1, only the electronic device is taken as an example of a terminal.
参见图1,该多媒体资源的生成方法可以应用于一个电子设备中,该电子设备生成得到剪辑模板后,可以通过云发送给其他电子设备,则该电子设备和该其他电子设备均可以基于剪辑模板,生成新的多媒体资源。当然,该其他电子设备也可以通过云,将剪辑模板或多媒体资源发送给更多的电子设备。Referring to Figure 1, the method for generating multimedia resources can be applied to an electronic device. After the electronic device generates a clip template, it can be sent to other electronic devices via the cloud, and then both the electronic device and the other electronic device can be based on the clip template To generate new multimedia resources. Of course, the other electronic devices can also send the editing templates or multimedia resources to more electronic devices through the cloud.
需要说明的是,其他电子设备也可以生成剪辑模板,其他电子设备也可以基于自己生成的或其他电子设备共享的剪辑模板生成多媒体资源。It should be noted that other electronic devices may also generate editing templates, and other electronic devices may also generate multimedia resources based on the editing templates generated by themselves or shared by other electronic devices.
在本公开实施例中,提供了一种多媒体资源的生成方法,该多媒体资源的生成方法用于根据剪辑模板生成新的多媒体资源,其中,该多媒体资源生成所依据的剪辑模板可以采用该剪辑模板的生成方法进行生成得到。该剪辑模板的生成方法和多媒体资源的生成方法的执行主体为同一个电子设备,也可以为不同的电子设备。如果为同一个电子设备,该电子设备可以基于剪辑信息生成剪辑模板,从而使用该剪辑模板,对原始多媒体资源进行剪辑,得到目标多媒体资源。如果为不同的电子设备,则一个电子设备可以基于剪辑模板生成剪辑模板,并向其他电子设备共享剪辑模板,另一个电子设备可以基于剪辑模板生成目标多媒体资源。下面通过先通过图2所示实施例对剪辑模板的生成方式进行说明,再通过图4所示实施例对该多媒体资源的生成过程进行说明。In an embodiment of the present disclosure, a method for generating multimedia resources is provided. The method for generating multimedia resources is used to generate new multimedia resources according to a clip template, wherein the clip template on which the multimedia resource is generated can adopt the clip template The generation method is generated. The execution subject of the method for generating a clip template and the method for generating a multimedia resource is the same electronic device, or different electronic devices. If it is the same electronic device, the electronic device can generate a clip template based on the clip information, and then use the clip template to clip the original multimedia resource to obtain the target multimedia resource. If it is a different electronic device, one electronic device can generate a clip template based on the clip template and share the clip template with other electronic devices, and another electronic device can generate target multimedia resources based on the clip template. Hereinafter, the method of generating the clip template will be described through the embodiment shown in FIG. 2 first, and then the process of generating the multimedia resource will be described through the embodiment shown in FIG. 4.
图2是根据一示例性实施例示出的一种剪辑模板的生成方法的流程图,如图2所示,剪辑模板的生成方法应用于电子设备中,包括以下步骤。Fig. 2 is a flow chart showing a method for generating a clip template according to an exemplary embodiment. As shown in Fig. 2, the method for generating a clip template is applied to an electronic device and includes the following steps.
在S21中,电子设备获取用于生成剪辑模板的历史多媒体资源。In S21, the electronic device obtains historical multimedia resources used to generate a clip template.
在本公开实施例中,电子设备可以获取历史多媒体资源,该历史多媒体资源为剪辑后得到的多媒体资源。电子设备可以根据该历史多媒体资源的剪辑信息,生成剪辑模板,得到与该历史多媒体资源的剪辑情况比较类似的剪辑模板,这样后续可以直接使用该剪辑模板生成新的多媒体资源。In the embodiments of the present disclosure, the electronic device can obtain historical multimedia resources, and the historical multimedia resources are multimedia resources obtained after editing. The electronic device can generate an editing template according to the editing information of the historical multimedia resource, and obtain an editing template that is similar to the editing situation of the historical multimedia resource, so that the editing template can be directly used to generate a new multimedia resource in the future.
其中,该历史多媒体资源可以在该电子设备上进行剪辑得到,也可以在其他电子设备上剪辑得到并发送给该电子设备,还可以为电子设备从目标地址下载得到,本申请实施例对该历史多媒体资源的具体来源不作限定。Wherein, the historical multimedia resource can be obtained by editing on the electronic device, or it can be obtained by editing on other electronic devices and sent to the electronic device, or it can be downloaded by the electronic device from the target address. The specific source of multimedia resources is not limited.
例如,以该历史多媒体资源为视频为例,用户自己剪辑得到视频,对该视频的播放效果比较满意,则可以基于该视频生成剪辑模板,后续基于剪辑模板能快速高效地得到剪辑效果相同或类似的视频。又例如,用户很喜欢其他用户剪辑得到的视频,可以基于该视频生成剪辑模板,从而使用生成的剪辑模板,来制作自己的视频,满足自己的视频制作需求,能够满足用户的个性化的剪辑需求,提高剪辑效率。For example, taking the historical multimedia resource as a video as an example, the user edits the video by himself, and is satisfied with the playback effect of the video, he can generate a editing template based on the video, and then quickly and efficiently obtain the same or similar editing effect based on the editing template. Video. For another example, a user likes a video edited by another user very much, and can generate a clip template based on the video, and then use the generated clip template to make his own video to meet his own video production needs and meet the user's personalized editing needs , Improve editing efficiency.
在该S21中,电子设备可以获取历史多媒体资源,对该历史多媒体资源进行展示,从而用户看到展示效果,可能想要制作类似于该历史多媒体资源剪辑情况的剪辑模板,这样通过剪辑模板可以快速生成新的多媒体资源,方便快捷,新的多媒体资源与该历史多媒体资源的剪辑情况类似。且该剪辑模板的生成并非技术人员执行,而是根据已剪辑好的历史多媒体资源即可实现,从而可以制作出符合用户剪辑习惯的剪辑模板,且剪辑模板不固定,形式灵活可变。In this S21, the electronic device can obtain historical multimedia resources and display the historical multimedia resources, so that the user can see the display effect and may want to create a editing template similar to the editing situation of the historical multimedia resource, so that the editing template can be used quickly Generating new multimedia resources is convenient and quick, and the new multimedia resources are similar to the editing situation of the historical multimedia resources. Moreover, the generation of the editing template is not performed by the technicians, but can be realized based on the edited historical multimedia resources, so that the editing template that conforms to the user's editing habits can be produced, and the editing template is not fixed and the form is flexible and variable.
在一些实施例中,用户操作与该模板生成过程可以在同一设备上实现,也可以在不同设 备上实现,例如,如果为同一设备,用户看到该历史多媒体资源,想要生成剪辑模板时,可以进行模板生成操作,例如,选中该历史多媒体资源,对模板生成控件进行触发操作,从而可以触发对历史多媒体资源的模板生成请求,电子设备可以直接对该模板生成请求进行响应,从而执行下述步骤。如果为不同设备,则用户在其他设备上进行模板生成操作,触发模板生成请求,从而向该电子设备发送模板生成请求,进而,该电子设备可以执行该S21,并响应于该模板生成请求执行下述步骤。本公开实施例对具体采用哪种方式不作限定。In some embodiments, the user operation and the template generation process can be implemented on the same device or on different devices. For example, if it is the same device, when the user sees the historical multimedia resource and wants to generate a clip template, Template generation operations can be performed. For example, select the historical multimedia resource and trigger the template generation control to trigger a template generation request for the historical multimedia resource. The electronic device can directly respond to the template generation request to perform the following step. If it is a different device, the user performs a template generation operation on another device, triggers a template generation request, and sends a template generation request to the electronic device. Furthermore, the electronic device can execute the S21 and execute the following in response to the template generation request. Mentioned steps. The embodiments of the present disclosure do not limit which method is specifically adopted.
在S22中,电子设备响应于对历史多媒体资源的模板生成请求,获取历史多媒体资源的剪辑信息,该剪辑信息包括剪辑操作信息或剪辑所采用的剪辑素材信息中至少一项。In S22, the electronic device obtains editing information of the historical multimedia resource in response to a template generation request for the historical multimedia resource, and the editing information includes at least one of editing operation information or editing material information used for editing.
对于接收到的模板生成请求,电子设备可以响应于该模板生成请求,执行模板生成步骤。电子设备可以获取该历史多媒体资源的剪辑信息,将该剪辑信息作为生成剪辑模板的数据基础。其中,该剪辑信息包括剪辑操作信息或剪辑所采用的剪辑素材信息中至少一项。也即是,在多媒体资源剪辑过程中,可以通过剪辑操作对多媒体资源的一些属性进行修改,还可以在其中增加一些素材,使得素材与多媒体资源拼接得到历史多媒体资源。For the received template generation request, the electronic device may execute the template generation step in response to the template generation request. The electronic device can obtain the clip information of the historical multimedia resource, and use the clip information as the data basis for generating the clip template. Wherein, the clip information includes at least one of clip operation information or clip material information used in the clip. That is, in the process of editing multimedia resources, some attributes of the multimedia resources can be modified through editing operations, and some materials can also be added to them, so that the materials and multimedia resources can be spliced to obtain historical multimedia resources.
在一些实施例中,该剪辑操作信息可以包括调整画面幅度、视频比例,缩放或移动画幅、变速、倒放、旋转、变声、音量,添加转场、滤镜、音乐、音效、配音、字幕、贴纸、封面等中至少一种剪辑操作的信息。当然,还可能包括其他剪辑操作的信息,在此不一一列举。剪辑所采用的剪辑素材信息可以包括滤镜、音乐、音效、贴纸、封面的信息中至少一项,当然,还可以包括其他剪辑素材信息,在此不一一列举。In some embodiments, the editing operation information may include adjusting the picture amplitude, video scale, zooming or moving the picture frame, speed change, reverse playback, rotation, voice change, volume, adding transitions, filters, music, sound effects, dubbing, subtitles, Information about at least one editing operation in stickers, covers, etc. Of course, it may also include information about other editing operations, which will not be listed here. The clip material information used in the clip may include at least one of filters, music, sound effects, stickers, and cover information. Of course, it may also include other clip material information, which is not listed here.
其中,该剪辑操作信息至少包括至少一个剪辑操作的操作类型、操作内容,该操作类型可以包括但不限于调整画面幅度、视频比例,缩放或移动画幅、变速、倒放、旋转、变声、音量,添加转场、滤镜、音乐、音效、配音、字幕、贴纸、封面等。操作内容则可以包括调整画面幅度,操作内容是调整画面幅度大小等。在此仅为一种示例性说明,并不对本公开造成限定。在另一些实施例中,剪辑操作的操作次序不同,该多媒体资源的最终剪辑效果可能也不同。该剪辑操作信息还包括多个剪辑操作之间的操作次序。例如,用户实施了多个类型的剪辑操作(例如第一次操作缩小画幅,第二次操作放大画幅,第三次缩小画幅),电子设备可以记录多个剪辑操作的操作次序。Wherein, the editing operation information includes at least one operation type and operation content of the editing operation. The operation type may include, but is not limited to, adjusting picture amplitude, video scale, zooming or moving picture frame, speed change, reverse playback, rotation, sound change, volume, Add transitions, filters, music, sound effects, dubbing, subtitles, stickers, covers, etc. The operation content can include adjusting the picture amplitude, and the operation content is adjusting the picture amplitude and so on. This is only an exemplary description, and does not limit the present disclosure. In other embodiments, the operation sequence of the editing operation is different, and the final editing effect of the multimedia resource may also be different. The editing operation information also includes the operation sequence among multiple editing operations. For example, if the user performs multiple types of editing operations (for example, the first operation to reduce the frame, the second operation to enlarge the frame, and the third time to reduce the frame), the electronic device may record the operation sequence of the multiple editing operations.
对于剪辑素材信息,该剪辑所采用的剪辑素材信息包括至少一个素材的素材类型、素材内容或素材获取方式,其中,素材类型可以包括滤镜、音乐、音效、贴纸、封面等。当然,还可以包括其他素材类型,在此不一一列举。素材内容可以为该剪辑时所采用的素材本身,例如,音频文件、音效对应的配置文件,贴纸或封面对应的图片等。素材获取方式可以包括素材的获取地址,例如,该素材内容可以存储于该获取地址,从该获取地址,可以直接获取到该素材内容。Regarding the clip material information, the clip material information used in the clip includes the material type, material content, or material acquisition method of at least one material, where the material type may include filters, music, sound effects, stickers, covers, and so on. Of course, other material types can also be included, which are not listed here. The material content can be the material itself used in the editing, for example, audio files, configuration files corresponding to sound effects, pictures corresponding to stickers or covers, and so on. The material obtaining method may include the obtaining address of the material, for example, the material content may be stored in the obtaining address, and the material content may be directly obtained from the obtaining address.
该S22中,电子设备获取该剪辑信息的过程可以包括多种方式,在一些实施例中,该剪辑信息可以为剪辑过程中记录的信息,剪辑过程中记录的信息可以存储于剪辑操作日志中,因而,该剪辑信息可以从剪辑操作日志中提取得到。在另一些实施例中,该剪辑信息还可以为对历史多媒体资源和原始多媒体资源进行对比分析得到的信息,本公开实施例对具体采用哪种方式不作限定。在一些实施例中,下面提供两种方式:In S22, the process of obtaining the clip information by the electronic device may include multiple methods. In some embodiments, the clip information may be information recorded during the editing process, and the information recorded during the editing process may be stored in the editing operation log. Therefore, the clip information can be extracted from the clip operation log. In other embodiments, the clip information may also be information obtained by comparing and analyzing historical multimedia resources and original multimedia resources. The embodiments of the present disclosure do not limit the specific method. In some embodiments, two ways are provided below:
在方式一中,电子设备获取该历史多媒体资源的剪辑操作日志,从该剪辑操作日志中,提取剪辑获取该历史多媒体资源的剪辑信息。由于该剪辑信息可能包括的信息不同,因而,在该方式一中,可能包括以下情况。在一些实施例中,该剪辑信息可以至少包括剪辑操作信 息,电子设备可以从该剪辑操作日志中,提取剪辑获取该历史多媒体资源的剪辑操作信息;该剪辑操作信息用于描述剪辑获取该历史多媒体资源的全部剪辑操作或者剪辑操作最终结果。In the first method, the electronic device obtains the editing operation log of the historical multimedia resource, and extracts the editing from the editing operation log to obtain the editing information of the historical multimedia resource. Since the clip information may include different information, in the first method, the following situations may be included. In some embodiments, the clipping information may include at least clipping operation information, and the electronic device may extract clips from the clipping operation log to obtain the clipping operation information of the historical multimedia resource; the clipping operation information is used to describe the clipping to obtain the historical multimedia resource. All editing operations of the resource or the final result of the editing operation.
通过获取剪辑操作日志,将日志中进行的剪辑操作信息来作为生成剪辑模板的数据依据,该剪辑模板也即能够体现出该历史多媒体资源的实际剪辑过程,通过这样生成的剪辑模板对多媒体资源进行剪辑,可以实现使用类似或相同的剪辑过程来对多媒体资源进行剪辑,得到的新的多媒体资源与该历史多媒体资源的展示效果则类似,剪辑过程准确,得到的剪辑模板也即更符合该用户的剪辑习惯,因而更符合用户的需求。By obtaining the editing operation log, the editing operation information performed in the log is used as the data basis for generating the editing template. The editing template can also reflect the actual editing process of the historical multimedia resource, and the multimedia resource is performed through the generated editing template. Editing can realize the use of similar or the same editing process to edit multimedia resources. The new multimedia resources obtained are similar to the historical multimedia resources. The editing process is accurate, and the obtained editing template is more in line with the user’s Editing habits, thus more in line with the needs of users.
在另一些实施例中,该剪辑信息还可以包括剪辑所采用的剪辑素材信息,电子设备还可以从该剪辑操作日志中,提取剪辑该历史多媒体资源所采用的剪辑素材信息,该剪辑素材信息至少包括至少一个素材的素材类型、素材内容或素材获取方式。In other embodiments, the clipping information may also include clipping material information used for editing, and the electronic device may also extract the clipping material information used for editing the historical multimedia resource from the editing operation log, and the clipping material information may be at least Including the material type, material content, or material acquisition method of at least one material.
通过获取剪辑操作日志中的信息作为生成剪辑模板的数据依据,能够生成符合用户的剪辑习惯的、更符合用户需求的剪辑模板,从剪辑操作日志中不仅获取到的剪辑操作信息,还获取到了剪辑素材信息,这样生成的剪辑模板丰富多样,形式灵活多变,从剪辑操作和素材两方面均可以提供便利,简化用户操作,提高剪辑模板的生成效果,以及剪辑模板的实用性。By obtaining the information in the editing operation log as the data basis for generating the editing template, it is possible to generate an editing template that meets the user's editing habits and more in line with the user's needs. Not only the editing operation information obtained from the editing operation log, but also the editing is obtained Material information, such generated editing templates are rich and diverse, and the form is flexible and changeable. It can provide convenience from both the editing operation and the material, simplify user operations, improve the generation effect of the editing template, and the practicality of the editing template.
在该方式一中,用户对多媒体资源进行剪辑时,电子设备可以记录用户的剪辑操作信息或使用的素材信息,并将其存储于剪辑操作日志中。后续剪辑得到历史多媒体资源后,该剪辑操作日志即可作为该历史多媒体资源的历史剪辑路径,通过该剪辑操作日志可以清晰获知该历史多媒体资源是如何剪辑得到的。In the first method, when the user edits the multimedia resource, the electronic device can record the user's editing operation information or used material information, and store it in the editing operation log. After the historical multimedia resource is obtained by subsequent editing, the editing operation log can be used as the historical editing path of the historical multimedia resource. Through the editing operation log, it can be clearly learned how the historical multimedia resource was edited.
在一些实施例中,该剪辑操作日志还可以包括多种情况,在情况一中,剪辑记录可以包括用户进行的每次剪辑操作的剪辑操作信息或使用的素材信息。在情况二中,可以对用户进行的剪辑操作进行整理,得到能够体现该历史多媒体资源的最终剪辑效果的剪辑操作信息或使用的素材信息。例如,在上述情况二中,电子设备可以对操作类型不同的剪辑操作的操作内容进行合并,得到整理后的剪辑操作的信息。比如,情况一中,剪辑记录中可能记录多次用户的操作,可能最终剪辑结果是多次操作后的最终结果,比如用户可能缩小画幅一次、放大画幅一次,最终实现的剪辑结果是放大画幅。在情况二中,剪辑记录则可以直接记录缩放画幅这一操作类型,操作内容是放大画幅的具体比例。In some embodiments, the editing operation log may also include multiple situations. In case 1, the editing record may include editing operation information or material information used for each editing operation performed by the user. In the second case, the editing operations performed by the user can be sorted, and the editing operation information or the used material information that can reflect the final editing effect of the historical multimedia resource can be obtained. For example, in the second case above, the electronic device may merge the operation contents of the editing operations of different operation types to obtain the information of the edited editing operation. For example, in case 1, multiple user operations may be recorded in the editing recording, and the final editing result may be the final result of multiple operations. For example, the user may reduce the frame once and enlarge the frame once, and the final result of the editing is to enlarge the frame. In the second case, the clip recording can directly record the zoom frame operation type, and the operation content is the specific ratio of the zoom frame.
在方式二中,电子设备获取该历史多媒体资源被剪辑前的原始多媒体资源,对该原始多媒体资源以及该历史多媒体资源进行资源比对分析,得到该历史多媒体资源的剪辑信息。In the second method, the electronic device obtains the original multimedia resource before the historical multimedia resource is edited, performs resource comparison analysis on the original multimedia resource and the historical multimedia resource, and obtains the editing information of the historical multimedia resource.
电子设备可以直接对历史多媒体资源和原始多媒体资源进行对比分析,二者存在差异时,即可分析如何从原始多媒体资源变换到历史多媒体资源,该变换过程即为上述剪辑信息。通过对两个多媒体资源进行对比分析得到剪辑信息,无需对剪辑过程一一记录,可以直接根据对比分析得到该历史多媒体资源的最终剪辑效果,使用这样的剪辑信息去生成剪辑模板,能够快速高效地完成生成过程,且生成的剪辑模板能够体现该历史多媒体资源的最终剪辑效果,符合用户的剪辑习惯或用户需求,且提高了生成效率。The electronic device can directly compare and analyze historical multimedia resources and original multimedia resources. When there is a difference between the two, it can analyze how to transform from the original multimedia resources to the historical multimedia resources. The transformation process is the above-mentioned editing information. The editing information is obtained by comparing and analyzing two multimedia resources. There is no need to record the editing process one by one. The final editing effect of the historical multimedia resource can be obtained directly based on the comparative analysis. Using such editing information to generate the editing template can be quickly and efficiently The generation process is completed, and the generated editing template can reflect the final editing effect of the historical multimedia resource, meet the user's editing habits or user needs, and improve the generation efficiency.
如果该多媒体资源为视频,电子设备还可以逐帧对比该历史多媒体资源以及原始多媒体资源,当历史多媒体资源以及原始多媒体资源的任一帧存在差异时,获取从该原始多媒体资源的帧变换到历史多媒体资源的帧所需的剪辑操作信息或使用的素材信息中至少一项。If the multimedia resource is a video, the electronic device can also compare the historical multimedia resource and the original multimedia resource frame by frame. When there is a difference between the historical multimedia resource and any frame of the original multimedia resource, obtain the frame transformation from the original multimedia resource to the history At least one of editing operation information or material information used for the frame of the multimedia resource.
在S23中,电子设备选取符合目标类型的该剪辑信息,作为模板数据。In S23, the electronic device selects the clip information that meets the target type as template data.
一般地,生成剪辑模板通常是用于后续直接使用剪辑模板对多媒体资源进行剪辑,而无 需重复相同的剪辑操作。而剪辑信息中包括的剪辑操作或者素材可能并不具有普适性,这样这些不具有普适性的剪辑信息,则可以无需作为剪辑模板生成所需的内容。具有普适性的剪辑信息,则可以用于生成剪辑模板从而反复利用,有效提高了生成的剪辑模板的使用率和实用性。Generally, generating a clip template is usually used to directly use the clip template to edit multimedia resources without repeating the same editing operation. However, the editing operations or materials included in the editing information may not have universal applicability. In this way, the editing information that does not have universal applicability may not be used as an editing template to generate the required content. The universal editing information can be used to generate the editing template for repeated use, which effectively improves the usage rate and practicability of the generated editing template.
其中,该剪辑信息是否具有普适性,可以由相关技术人员根据需求进行设置,也即是设置有目标类型,该目标类型的数量可以为一个,也可以为多个。针对该剪辑信息可能包括的信息不同,该S23中,电子设备所执行的步骤也可能不同。Wherein, whether the editing information has universality can be set by relevant technical personnel according to requirements, that is, a target type is set, and the number of the target type may be one or multiple. Regarding the different information that the clip information may include, the steps performed by the electronic device in S23 may also be different.
针对上述目标多媒体资源的剪辑信息至少包括剪辑操作信息的情况,该目标类型至少包括预设的目标操作类型,相应地,该S23中,电子设备可以从该剪辑操作信息中,选取符合该目标操作类型的剪辑操作信息,作为该模板数据。该目标操作类型的剪辑操作信息则可以具有普适性,后续生成模板数据则能够体现历史多媒体资源的剪辑过程中具有普适性的剪辑操作过程,这样既符合用户的剪辑习惯,满足用户需求,还可以去除用户对单个多媒体资源进行的特殊的剪辑处理,得到的剪辑模板更具有实用性和适用性。In view of the foregoing case where the clip information of the target multimedia resource includes at least clip operation information, and the target type includes at least a preset target operation type, correspondingly, in S23, the electronic device may select from the clip operation information to match the target operation The type of clip operation information is used as the template data. The editing operation information of the target operation type can be universal, and the subsequent generation of template data can reflect the universal editing operation process in the editing process of historical multimedia resources, so as to meet the user's editing habits and meet user needs. It can also remove the user's special editing process for a single multimedia resource, and the resulting editing template is more practical and applicable.
针对上述目标多媒体资源的剪辑信息还包括多个剪辑操作之间的操作次序的情况,该S23中,电子设备可以根据该操作次序,将符合该目标操作类型的剪辑操作信息进行关联,作为该模板数据。这样模板数据中剪辑操作信息对应的操作次序明确,根据这样的模板数据生成剪辑模板,进而使用剪辑模板时也可以按照这样的操作次序对多媒体资源进行处理,从而得到操作次序与剪辑获取历史多媒体资源时相同的剪辑处理,可以保证生成的新的多媒体资源与历史多媒体资源的剪辑处理方式相似或相同,从而更符合用户的剪辑习惯。也即是,该模板数据更准确,进而生成的剪辑模板也更符合用户预期。Regarding the case where the clip information of the target multimedia resource also includes the operation sequence between multiple editing operations, in this S23, the electronic device may associate the clip operation information conforming to the target operation type as the template according to the operation sequence. data. In this way, the operation sequence corresponding to the editing operation information in the template data is clear, and the editing template is generated according to such template data. When the editing template is used, the multimedia resources can be processed in this order to obtain the operation sequence and editing to obtain historical multimedia resources. The same editing process at the same time can ensure that the new multimedia resource generated is similar or the same as the editing process of the historical multimedia resource, which is more in line with the user's editing habits. That is, the template data is more accurate, and the generated clip template is more in line with user expectations.
针对上述该历史多媒体资源的剪辑信息至少包括剪辑所采用的剪辑素材信息的情况,该目标类型可以至少包括预设的目标素材类型,该目标素材类型是具有普适性的素材类型,上述S23中,电子设备可以从该剪辑素材信息中,选取符合该目标素材类型的剪辑素材信息,作为该模板数据。在该情况下,剪辑信息中包括剪辑素材信息,从而从中挑选出具有普适性的剪辑素材信息,来作为模板数据,从而后续生成剪辑模板,这样剪辑模板中则包括有如何进行素材方面的剪辑,从而基于该剪辑模板生成新的多媒体资源与历史多媒体资源在素材方面也即可以相同或类似。这样剪辑模板符合用户在素材方方面的剪辑习惯,或者符合用户的个性化剪辑需求,且能够自动选取模板数据并生成剪辑模板,可以有效提高剪辑模板的生成效率。In view of the foregoing case where the clip information of the historical multimedia resource includes at least the clip material information used for editing, the target type may include at least a preset target material type, and the target material type is a universal material type. In S23, , The electronic device can select the clip material information conforming to the target material type from the clip material information as the template data. In this case, the editing information includes the editing material information, so that universal editing material information is selected as template data, and then the editing template is generated subsequently, so that the editing template includes how to edit the material. , Thereby generating new multimedia resources based on the editing template and historical multimedia resources can be the same or similar in terms of material. In this way, the editing template conforms to the user's editing habits in terms of material, or meets the user's personalized editing needs, and can automatically select template data and generate the editing template, which can effectively improve the generation efficiency of the editing template.
当然,上述对于剪辑操作信息和剪辑素材信息均分别进行了说明,在一些实施例中,剪辑信息可以包括其中一种,也可以既包括剪辑操作信息,也包括剪辑素材信息,本公开实施例对此不作限定。Of course, the clip operation information and the clip material information are described separately. In some embodiments, the clip information may include one of them, or it may include both the clip operation information and the clip material information. This is not limited.
在S24中,电子设备根据该模板数据,生成剪辑模板。In S24, the electronic device generates a clip template based on the template data.
电子设备对剪辑信息进行了筛选,得到了生成剪辑模板所需的模板数据,即可执行生成步骤。通过上述步骤可知,模板数据包括的信息可能有不同的情况。包括的信息不同时,该生成步骤也可能不同。The electronic device filters the editing information, and obtains the template data required to generate the editing template, and then executes the generation step. Through the above steps, it can be known that the information included in the template data may be different. When the information included is different, the generation step may also be different.
在一些实施例中,该模板数据可以包括符合预设的目标操作类型的剪辑操作信息,在这种情况下,该生成过程可以为:电子设备根据该剪辑操作信息,生成对应的剪辑操作选项,得到包括该剪辑操作选项的剪辑模板。其中,该剪辑操作选项即用于体现剪辑操作,例如,放大画幅的剪辑操作信息中可以包括放大画幅以及放大倍数,从而可以生成放大画幅的剪辑 操作选项,将该剪辑操作选项作为剪辑模板中的部分。In some embodiments, the template data may include editing operation information that conforms to a preset target operation type. In this case, the generation process may be: the electronic device generates corresponding editing operation options according to the editing operation information, Obtain the editing template including the editing operation options. Among them, the editing operation option is used to reflect the editing operation. For example, the editing operation information of the enlarged frame can include the enlarged frame and the magnification factor, so that the editing operation option of the enlarged frame can be generated, and the editing operation option is used as the editing template. section.
通过上述步骤,该剪辑模板中包括有至少一个剪辑操作选项,根据该剪辑操作选项即可获知如何对多媒体资源进行剪辑操作,且该生成过程中模板数据是根据历史多媒体资源的剪辑信息选取得到,生成的该剪辑模板中的剪辑操作选项也即与剪辑获取历史多媒体资源时的剪辑处理方式相同,因而,能够生成符合用户剪辑习惯,具有个性化的剪辑模板,且无需人工处理,提高了剪辑模板的生成效率,进而提高了用户实施多媒体资源剪辑的效率。Through the above steps, the editing template includes at least one editing operation option, and how to perform the editing operation on the multimedia resource can be learned according to the editing operation option, and the template data in the generation process is selected according to the editing information of the historical multimedia resource. The editing operation options in the generated editing template are the same as the editing processing method when the editing obtains historical multimedia resources. Therefore, it can generate a personalized editing template that meets the user's editing habits and does not require manual processing, which improves the editing template. The efficiency of generating multimedia resources, thereby improving the efficiency of users to implement multimedia resource editing.
在该剪辑操作信息还包括该至少一个剪辑操作的操作次序的情况中,得到模板数据中符合预设的目标操作类型的剪辑操作信息还根据多个剪辑操作之间的操作次序关联,则相应地,在该生成过程可以为:电子设备可以根据符合预设的目标操作类型的剪辑操作信息的关联关系,生成对应的剪辑操作选项以及该剪辑操作选项的触发次序,得到包括该剪辑操作选项以及触发次序的剪辑模板。In the case that the editing operation information further includes the operation sequence of the at least one editing operation, the editing operation information that meets the preset target operation type in the template data is also associated according to the operation sequence between the multiple editing operations, and then correspondingly , The generation process can be: the electronic device can generate the corresponding editing operation option and the trigger sequence of the editing operation option according to the association relationship of the editing operation information conforming to the preset target operation type, and obtain the editing operation option and the triggering sequence. Sequence of editing templates.
通过剪辑操作信息,生成剪辑操作选项且剪辑操作选项的触发次序与剪辑历史多媒体资源的剪辑次序对应,因而,该剪辑模板能够清晰体现符合目标操作类型的剪辑操作以及对应的次序,准确性高,贴合历史多媒体资源的实际剪辑情况,因而,更符合用户预期,符合用户的剪辑习惯,实用性更好。通过该剪辑模板生成新的多媒体资源与历史多媒体资源也更贴近,剪辑结果更准确。Through the editing operation information, the editing operation options are generated, and the triggering sequence of the editing operation options corresponds to the editing order of the editing history multimedia resources. Therefore, the editing template can clearly reflect the editing operation and the corresponding sequence that meet the target operation type with high accuracy. It fits the actual editing situation of historical multimedia resources, therefore, it is more in line with user expectations, in line with the user's editing habits, and has better practicability. The new multimedia resources generated by the editing template are closer to the historical multimedia resources, and the editing results are more accurate.
在一些实施例中,上述模板数据可以包括符合预设的目标素材类型的剪辑素材信息,针对该剪辑素材信息,该生成过程可以为:电子设备根据该剪辑素材信息,生成对应的素材选项,得到包括该素材选项的剪辑模板。该剪辑素材信息转化为剪辑模板中的素材选项,该素材选项能够清晰体现剪辑历史多媒体资源时使用的素材信息,在素材方方面的剪辑与用户之前做的处理方式相同,因而,生成的剪辑模板更符合用户剪辑习惯,使用这样的剪辑模板剪辑得到的剪辑结果也更准确,因而,该剪辑模板生成效果好。In some embodiments, the aforementioned template data may include clip material information conforming to a preset target material type. For the clip material information, the generating process may be: the electronic device generates corresponding material options according to the clip material information, and obtains The editing template that includes the material options. The clip material information is transformed into the material options in the clip template. The material options can clearly reflect the material information used when editing historical multimedia resources. The editing on the material side is the same as the previous processing by the user. Therefore, the generated editing template It is more in line with the user's editing habits, and the editing results obtained by using such an editing template are also more accurate. Therefore, the effect of generating the editing template is good.
在一些实施例中,该剪辑所采用的剪辑素材信息包括至少一个素材的素材类型、素材内容或素材获取方式,该素材选项生成过程以及剪辑模板的生成过程可以为:电子设备根据该剪辑素材信息中的素材类型和素材获取方式,生成对应的素材选项所关联的素材获取路径,根据该剪辑素材信息中的素材内容,将该素材内容添加至该素材获取路径所指示的目录下,得到包括该素材选项的剪辑模板。In some embodiments, the clip material information used in the clip includes the material type, material content, or material acquisition method of at least one material. The material option generation process and the editing template generation process may be: the electronic device according to the clip material information According to the material content in the clip material information, add the material content to the directory indicated by the material acquisition path to obtain the material acquisition path associated with the corresponding material option. Clip template for material options.
该剪辑选项的属性基于剪辑素材信息中的各项信息生成,通过该剪辑选项可以从相应的位置准确获取到素材内容,进而可以通过素材内容进行剪辑,包括该素材选项的剪辑模板的内容丰富多样,形式灵活多变,且生成的剪辑模板通过素材选项即可执行复杂的剪辑处理,生成的剪辑模板的实用性高,剪辑效果好。这样通过该剪辑模板则可以使用同样的素材生成新的多媒体资源,与该历史多媒体资源的相似度较大,更容易符合用户预期。The attributes of the editing option are generated based on the information in the editing material information. Through the editing option, the material content can be accurately obtained from the corresponding position, and then the material content can be edited. The content of the editing template including the material option is rich and diverse , The form is flexible and changeable, and the generated editing template can perform complex editing processing through material options. The generated editing template has high practicability and good editing effects. In this way, through the editing template, the same material can be used to generate a new multimedia resource, which is more similar to the historical multimedia resource, and is easier to meet user expectations.
在一些实施例中,该剪辑模板的存储方式可以为一种描述信息,该描述信息可以包括对剪辑操作的描述信息,也可以包括对使用的素材的描述信息,还可以二者均包括。In some embodiments, the storage mode of the clip template may be a kind of description information, and the description information may include description information of the editing operation, description information of the material used, or both.
下面提供一个具体示例:上述剪辑操作信息和剪辑素材信息可以称为编码,用户编辑一段视频,裁剪掉视频0-5秒(编码为操作A),在片头添加一个叠黑转场(编码为操作B),添加一个轻快风格的音乐(编码为素材a),添加一个“清澈”滤镜(编码为素材b),在0-5秒添加配音解说(编码为素材c),完成编辑。程序记录并存储用户操作AB,使用素材abc。扫描操作AB,根据定义A不具有普适性,B具有普适性,提取操作B。扫描素材abc,根据定义c不具有普适性,ab具有普适性,提取ab。将操作B素材ab生成为模板。A specific example is provided below: The above-mentioned editing operation information and editing material information can be called encoding. The user edits a video, crops the video for 0-5 seconds (encoded as operation A), and adds a black-over transition at the beginning of the film (encoded as operation B), add a light-hearted music (encoded as material a), add a "clear" filter (encoded as material b), add a dubbing commentary (encoded as material c) in 0-5 seconds, and finish editing. The program records and stores user operations AB and uses material abc. According to the definition of scanning operation AB, A is not universal, B is universal, and operation B is extracted. Scan the material abc. According to the definition, c is not universal, ab is universal, so extract ab. The operation B material ab is generated as a template.
该S24之后,电子设备生成剪辑模板后,还可以对生成的剪辑模板进行展示。在一些实施例中,电子设备可以提供模板展示界面,展示该剪辑模板。用户可以看到展示的剪辑模板,该剪辑模板中可以包括剪辑操作选项或素材选项中至少一种。如果用户想要预览剪辑效果,则可以对剪辑模板进行预览操作,这样电子设备可以接收到实施于该剪辑模板的预览操作指令,并响应于该预览操作指令,确定与该预览作指令的操作位置对应的模板选项,该模板选项至少包括剪辑操作选项、剪辑素材选项其中之一,进而,电子设备可以根据该模板选项对应的模板数据,展示该模板选项的预览内容。After this S24, after the electronic device generates the clip template, it can also display the generated clip template. In some embodiments, the electronic device may provide a template display interface to display the editing template. The user can see the displayed editing template, and the editing template may include at least one of editing operation options or material options. If the user wants to preview the editing effect, he can perform a preview operation on the editing template, so that the electronic device can receive the preview operation instruction implemented on the editing template, and in response to the preview operation instruction, determine the operation position with the preview Corresponding template option, the template option includes at least one of a editing operation option and a editing material option, and further, the electronic device can display the preview content of the template option according to the template data corresponding to the template option.
对剪辑模板进行预览显示,这样用户可以查看该剪辑模板的真实剪辑效果,从而确定是否是自己预期的效果,从而可以在确定符合自己需求时,使用这样该剪辑模板,可以避免出现直接使用剪辑模板生成多媒体资源,但结果不符合预期,从而重复生成而浪费计算资源的情况。Preview and display the editing template, so that users can view the actual editing effect of the editing template, so as to determine whether it is the expected effect, so that when determining that it meets their needs, use this editing template to avoid direct use of the editing template. A situation where multimedia resources are generated, but the results do not meet expectations, resulting in repeated generation and waste of computing resources.
其中,该模板展示界面中对剪辑模板进行展示时,可以根据目标操作类型对剪辑操作选项进行自动分项显示,例如,如图3所示,对于剪辑模板包括的各种剪辑操作,则可以分项显示。该界面中可以存在预览视频区域,该模板的相关预览视频可以显示于该区域中。用户可以点击上述画幅比例的按钮,在“预览视频”区域部分看到具体的画幅比例的缩小示意图,类似的,也可以看到转场的示意图。Among them, when the editing template is displayed in the template display interface, the editing operation options can be displayed automatically according to the target operation type. For example, as shown in Fig. 3, for various editing operations included in the editing template, you can divide them into categories. Item display. There may be a preview video area in the interface, and the relevant preview video of the template may be displayed in this area. The user can click the button of the above frame ratio, and see the reduced schematic diagram of the specific frame ratio in the "Preview Video" area. Similarly, you can also see the schematic diagram of the transition.
在一些实施例中,该预览作指令的操作位置可以包括多个,该多个操作位置对应的模板选项可以包括多个,这样在展示预览内容时,可以根据该多个模板选项,提供剪辑效果叠加后的预览内容,从而用户可以获知更真实的剪辑效果,以避免重复操作。在一些实施例中,该电子设备根据多个模板选项对应的模板数据,展示该多个模板选项对应的合成内容,该合成内容包括该多个模板选项叠加后的内容。In some embodiments, the operation position of the preview operation instruction may include multiple, and the template options corresponding to the multiple operation positions may include multiple, so that when the preview content is displayed, the editing effect can be provided according to the multiple template options. The superimposed preview content, so that users can learn more realistic editing effects to avoid repeated operations. In some embodiments, the electronic device displays the composite content corresponding to the multiple template options according to the template data corresponding to the multiple template options, and the composite content includes the content after the multiple template options are superimposed.
在一些实施例中,对于多个操作位置对应的多个模板选项,叠加显示的过程可以为:电子设备根据多个模板选项对应的模板数据,获取该多个模板选项对应的多个预览内容,展示对该多个预览内容进行合成得到的合成内容。通过将预览内容合成,而不是单独预览,能够为用户展示多种剪辑叠加后的剪辑效果,也更贴近于该剪辑模板的真实剪辑效果,可以避免上述由于剪辑结果不符合预期而重复剪辑的情况,提高了展示形式的多样化,也提高了剪辑模板的实用性。In some embodiments, for multiple template options corresponding to multiple operation positions, the process of superimposing display may be: the electronic device obtains multiple preview contents corresponding to the multiple template options according to the template data corresponding to the multiple template options, Display the synthesized content obtained by synthesizing the multiple preview contents. By synthesizing the preview content instead of previewing it separately, it can show users the editing effects of multiple clips superimposed, and it is also closer to the real editing effects of the editing template, which can avoid the above-mentioned repeated editing due to the editing results that do not meet expectations. , To improve the diversification of display forms, but also to improve the practicability of editing templates.
该剪辑模板还可以由当前用户分享给其他用户,在一些实施例中,电子设备还可以响应于对该剪辑模板的分享指令,将该剪辑模板发送至该分享指令所指示的用户账号,从而从整体上减少用户的操作,提高剪辑模板的实用性。The clip template can also be shared by the current user with other users. In some embodiments, the electronic device can also send the clip template to the user account indicated by the sharing instruction in response to the sharing instruction of the clip template, so as to send the clip template to the user account indicated by the sharing instruction. Reduce the user's operation as a whole and improve the practicality of the editing template.
本公开实施例通过对历史多媒体资源的剪辑信息进行筛选,将符合目标类型的剪辑信息筛选出来作为模板数据,自动生成剪辑模板,可以无需人工配置或者编辑,就能根据任意的历史多媒体资源来生成对应的剪辑模板,以满足用户个性化的剪辑需求,提高用户实施多媒体资源剪辑的效率。The embodiments of the present disclosure filter the clip information of historical multimedia resources, filter out the clip information that meets the target type as template data, and automatically generate the clip template, which can be generated based on any historical multimedia resource without manual configuration or editing. Corresponding editing templates to meet the user's personalized editing needs and improve the efficiency of users to implement multimedia resource editing.
图4是根据一示例性实施例示出的一种多媒体资源的生成方法的流程图,如图4所示,多媒体资源的生成方法应用于电子设备中,包括以下步骤。Fig. 4 is a flow chart showing a method for generating multimedia resources according to an exemplary embodiment. As shown in Fig. 4, the method for generating multimedia resources is applied to an electronic device and includes the following steps.
在S41中,电子设备获取可供选择的剪辑模板和原始多媒体资源,每个该剪辑模板根据对应的剪辑信息生成,该剪辑信息至少该剪辑操作信息或剪辑所采用的剪辑素材信息中至少一项。In S41, the electronic device obtains selectable editing templates and original multimedia resources, and each of the editing templates is generated according to corresponding editing information, and the editing information is at least one of the editing operation information or the editing material information used in the editing. .
在本公开实施例中,电子设备可以获取剪辑模板和原始多媒体资源,利用剪辑模板对原始多媒体资源进行剪辑,得到目标多媒体资源。In the embodiment of the present disclosure, the electronic device can obtain the editing template and the original multimedia resource, and use the editing template to edit the original multimedia resource to obtain the target multimedia resource.
在一些实施例中,电子设备可以提供一个剪辑模板,也可以提供多个剪辑模板以供用户选择。其中,该可供选择的剪辑模板的生成方式可以参见上述图2所示实施例,在此不多做赘述。In some embodiments, the electronic device may provide one editing template or multiple editing templates for the user to select. For the method of generating the selectable editing template, please refer to the embodiment shown in FIG. 2 above, which will not be repeated here.
在S42中,电子设备展示可供选择的剪辑模板。In S42, the electronic device displays available editing templates.
其中,电子设备对剪辑模板的展示过程可以参见上述S24之后对剪辑模板预览显示的步骤,用户可以根据该展示内容,预览剪辑模板的剪辑效果,本公开实施例在此不多做赘述。The process of displaying the editing template by the electronic device can refer to the step of previewing and displaying the editing template after S24, and the user can preview the editing effect of the editing template according to the displayed content, which is not repeated here in the embodiment of the present disclosure.
在S43中,电子设备接收模板选择指令。In S43, the electronic device receives a template selection instruction.
用户看到展示的可供选择的剪辑模板后,可以根据剪辑模板的展示效果来选择自己喜欢或者需求的剪辑模板。用户可以在该电子设备上进行模板选择操作,电子设备可以接收该模板选择操作触发的模板选择指令,根据该模板选择指令,执行下述步骤。After the user sees the available editing templates displayed, he can select the editing template he likes or needs according to the display effect of the editing template. The user can perform a template selection operation on the electronic device, and the electronic device can receive a template selection instruction triggered by the template selection operation, and perform the following steps according to the template selection instruction.
在S44中,电子设备响应于接收到的该模板选择指令,确定被选中的目标剪辑模板。In S44, the electronic device determines the selected target clip template in response to the received template selection instruction.
电子设备可以响应于该模板选择指令,将该模板选择指令所指示的剪辑模板作为目标剪辑模板,从而根据该目标剪辑模板执行下述S25。其中,该目标剪辑模板中可以包括剪辑操作选项或素材选项中至少一项。The electronic device may respond to the template selection instruction and use the editing template indicated by the template selection instruction as the target editing template, so as to execute the following S25 according to the target editing template. Wherein, the target editing template may include at least one of editing operation options or material options.
在S45中,电子设备根据该目标剪辑模板,对获取的原始多媒体资源进行处理,生成目标多媒体资源。In S45, the electronic device processes the acquired original multimedia resources according to the target editing template to generate target multimedia resources.
电子设备确定了目标剪辑模板后,即可执行多媒体资源的生成步骤。After the electronic device determines the target editing template, it can execute the step of generating multimedia resources.
根据该目标剪辑模板的生成过程,该目标剪辑模板包括的内容可以不同,相应地,电子设备根据该目标剪辑模板生成目标多媒体资源的方式也可以不同。According to the generation process of the target clip template, the content included in the target clip template may be different, and accordingly, the way the electronic device generates the target multimedia resource according to the target clip template may also be different.
在一些实施例中,该目标剪辑模板中至少包括剪辑操作选项,则该S45可以为:电子设备根据该剪辑操作选项,对获取的原始多媒体资源进行对应的剪辑处理,生成目标多媒体资源。例如,该目标剪辑模板中可以包括剪辑操作选项“放大画幅,放大比例为2”,电子设备则可以将原始多媒体资源的画幅放大2倍。In some embodiments, the target editing template includes at least a editing operation option, then S45 may be: the electronic device performs corresponding editing processing on the acquired original multimedia resource according to the editing operation option to generate the target multimedia resource. For example, the target editing template may include the editing operation option "enlarge the frame, the magnification ratio is 2", and the electronic device can magnify the frame of the original multimedia resource by 2 times.
通过该目标剪辑模板中的剪辑操作选项,能够直接对原始多媒体资源进行对应的剪辑操作处理,无需用户手动剪辑,大大提高了剪辑效率,也降低了剪辑门槛,普通用户均可以通过剪辑模板生成自己喜欢或需求的多媒体资源,因而,上述剪辑方式简单、便捷,符合用户个性化需求。Through the editing operation options in the target editing template, it is possible to directly perform corresponding editing operations on the original multimedia resources without the user's manual editing, which greatly improves the editing efficiency and reduces the editing threshold. Ordinary users can generate themselves through the editing template Like or need multimedia resources, therefore, the above-mentioned editing method is simple and convenient, and meets the individual needs of users.
在一些实施例中,该目标剪辑模板中还包括剪辑操作选项的触发次序,则该S45中,电子设备可以根据该剪辑操作选项以及该触发次序,按照该触发次序,依次对获取的原始多媒体资源进行对应的剪辑处理,生成目标多媒体资源。这样根据剪辑模板中剪辑操作选项的触发次序,对原始多媒体资源进行处理,处理次序与触发次序相同,得到的目标多媒体资源的剪辑效果更准确,与剪辑模板对应的剪辑效果更贴合,符合用户需求。In some embodiments, the target editing template further includes a trigger sequence of editing operation options, then in S45, the electronic device may sequentially perform an order for the acquired original multimedia resources according to the editing operation options and the trigger sequence according to the trigger sequence. Perform the corresponding editing process to generate target multimedia resources. In this way, the original multimedia resources are processed according to the trigger sequence of the editing operation options in the editing template. The processing sequence is the same as the trigger sequence, and the obtained target multimedia resource editing effect is more accurate, and the editing effect corresponding to the editing template is more suitable for users. demand.
在一些实施例中,该目标剪辑模板中至少包括素材选项,则该S45中,电子设备可以根据该素材选项,获取素材内容,将该素材内容添加到该原始多媒体资源中相应位置上,得到目标多媒体资源。In some embodiments, the target editing template includes at least a material option, then in S45, the electronic device can obtain the material content according to the material option, add the material content to the corresponding position in the original multimedia resource, and obtain the target Multimedia resources.
该目标剪辑模板还能提供素材方面的剪辑功能,通过该目标剪辑模板中的素材选项,可以自动在原始多媒体资源中添加素材内容,无需用户手动上传,大大提高了剪辑效率。其中,该素材选项可以关联有素材获取路径,该素材获取路径所指示的目录下即存储有素材内容。 上述获取素材内容的过程即可:电子设备为从该素材选项所关联的素材获取路径所指示的目录下,提取素材内容。The target editing template can also provide material editing functions. Through the material options in the target editing template, material content can be automatically added to the original multimedia resources without manual upload by the user, which greatly improves the editing efficiency. Wherein, the material option may be associated with a material acquisition path, and the material content is stored in the directory indicated by the material acquisition path. The foregoing process of obtaining material content is sufficient: the electronic device extracts the material content from the directory indicated by the material obtaining path associated with the material option.
该素材选项的属性基于剪辑素材信息中的各项信息生成,通过该素材选项可以从相应的位置准确获取到素材内容,进而可以通过素材内容进行剪辑,包括该素材选项的剪辑模板的内容丰富多样,形式灵活多变,且通过素材选项即可执行复杂的剪辑处理,这样通过该剪辑模板则可以使用与历史多媒体资源同样的素材生成新的多媒体资源,与该历史多媒体资源的相似度较大,更容易符合用户预期。The attribute of the material option is generated based on the information in the clip material information. Through this material option, the material content can be accurately obtained from the corresponding position, and then the material content can be edited. The content of the editing template including the material option is rich and diverse , The form is flexible and changeable, and complex editing can be performed through material options, so that through the editing template, you can use the same materials as historical multimedia resources to generate new multimedia resources, which are more similar to the historical multimedia resources. It is easier to meet user expectations.
电子设备得到目标多媒体资源后,也可以对显示该目标多媒体资源,以展示剪辑效果。After the electronic device obtains the target multimedia resource, it can also display the target multimedia resource to show the editing effect.
上述对电子设备基于目标剪辑模板生成目标多媒体资源的过程进行了说明,如果用户觉得剪辑模板的剪辑效果并不完全符合预期,还可以对剪辑模板进行编辑操作,以对其进行调整。电子设备可以接收该编辑操作触发的编辑指令,从而响应于对该目标剪辑模板的编辑指令,对该目标剪辑模板中的剪辑操作选项或素材选项进行编辑,例如,用户想要上传其他素材来替换素材选项关联的素材内容,电子设备可以获取上传的素材内容,将该素材内容添加至该素材选项对应的素材获取路径所指示的目录下,将原素材内容删除。The foregoing describes the process of the electronic device generating target multimedia resources based on the target editing template. If the user feels that the editing effect of the editing template does not fully meet expectations, the user can edit the editing template to adjust it. The electronic device can receive the editing instruction triggered by the editing operation, and in response to the editing instruction of the target clip template, edit the editing operation options or material options in the target clip template. For example, the user wants to upload other materials to replace For the material content associated with the material option, the electronic device can obtain the uploaded material content, add the material content to the directory indicated by the material acquisition path corresponding to the material option, and delete the original material content.
对剪辑模板进行调整后,还可以使用该调整后的剪辑模板生成多媒体资源,电子设备可以响应于所接收到的资源生成指令,根据编辑后的该目标剪辑模板,对获取的原始多媒体资源进行处理,生成目标多媒体资源。电子设备为用户提供了剪辑模板编辑功能,用户可以根据自己的需求或喜好,对剪辑模板进行编辑,从而提高剪辑模板对应的剪辑效果,能够更好地满足用户的个性化需求。After adjusting the editing template, the adjusted editing template can also be used to generate multimedia resources, and the electronic device can process the acquired original multimedia resources according to the edited target editing template in response to the received resource generation instruction , Generate target multimedia resources. The electronic device provides users with a editing function of editing templates. Users can edit the editing templates according to their own needs or preferences, thereby improving the editing effects corresponding to the editing templates and better satisfying the individual needs of users.
对剪辑模板进行调整后,还可以对该调整后的剪辑模板进行存储,以便于后续使用以生成多媒体资源。电子设备可以响应于所接收到的存储指令,存储编辑后的目标剪辑模板。该编辑后的目标剪辑模板存储后,后续用户可以使用该目标剪辑模板直接对原始多媒体资源进行剪辑处理,也可以使用该目标剪辑模板对多个原始多媒体资源进行批量处理,得到更多符合需求的多媒体资源,有效提高了剪辑模板的实用性。After the editing template is adjusted, the adjusted editing template can also be stored for subsequent use to generate multimedia resources. The electronic device may store the edited target clip template in response to the received storage instruction. After the edited target clip template is stored, subsequent users can use the target clip template to directly edit the original multimedia resources, or use the target clip template to batch process multiple original multimedia resources to obtain more in line with their needs Multimedia resources effectively improve the practicability of editing templates.
本公开实施例中,通过在可供选择的剪辑模板中选择目标剪辑模板,来对多媒体资源进行处理生成目标多媒体资源,实现无需用户手动剪辑,快速、高效地自动剪辑得到多媒体资源,有效提高剪辑效率。并且,根据剪辑信息来自动生成对应的剪辑模版供用户选择,而非预设固定的剪辑模板,可以提供用户丰富多样的剪辑模板,有效满足用户个性化的剪辑需求,提高用户实施多媒体资源剪辑的效率。In the embodiment of the present disclosure, by selecting the target editing template from the available editing templates, the multimedia resources are processed to generate the target multimedia resources, so that the user does not need to edit manually, and the multimedia resources can be automatically edited quickly and efficiently, and the editing is effectively improved. effectiveness. In addition, the corresponding editing template is automatically generated according to the editing information for users to choose, instead of a preset fixed editing template, it can provide users with a rich variety of editing templates, effectively meeting users' personalized editing needs, and improving users' ability to implement multimedia resource editing. effectiveness.
图5是根据一示例性实施例示出的一种多媒体资源的生成装置框图。参照图5,该装置包括:Fig. 5 is a block diagram showing a device for generating multimedia resources according to an exemplary embodiment. Referring to Figure 5, the device includes:
展示单元501,被配置为执行展示可供选择的剪辑模板;每个该剪辑模板根据对应的剪辑信息生成,该剪辑信息至少该剪辑操作信息或剪辑所采用的剪辑素材信息中至少一项;The display unit 501 is configured to perform display of selectable editing templates; each of the editing templates is generated according to corresponding editing information, and the editing information is at least one of the editing operation information or the editing material information used in the editing;
确定单元502,被配置为执行响应于所接收的模板选择指令,确定被选中的目标剪辑模板;The determining unit 502 is configured to execute the selected target clip template in response to the received template selection instruction;
生成单元503,被配置为执行根据该目标剪辑模板,对获取的原始多媒体资源进行处理,生成目标多媒体资源。The generating unit 503 is configured to process the acquired original multimedia resources according to the target clip template to generate the target multimedia resources.
本公开实施例提供的装置,通过在可供选择的剪辑模板中选择目标剪辑模板,来对多媒体资源进行处理生成目标多媒体资源,实现无需用户手动剪辑,快速、高效地自动剪辑得到 多媒体资源,有效提高剪辑效率。并且,根据剪辑信息来自动生成对应的剪辑模版供用户选择,而非预设固定的剪辑模板,可以提供用户丰富多样的剪辑模板,有效满足用户个性化的剪辑需求,提高用户实施多媒体资源剪辑的效率。The device provided by the embodiment of the present disclosure processes the multimedia resources to generate the target multimedia resources by selecting the target editing template from the available editing templates, and realizes that the multimedia resources can be obtained by automatically editing quickly and efficiently without the user's manual editing. Improve editing efficiency. In addition, the corresponding editing template is automatically generated according to the editing information for users to choose, instead of a preset fixed editing template, it can provide users with a rich variety of editing templates, effectively meeting users' personalized editing needs, and improving users' ability to implement multimedia resource editing. effectiveness.
在一些实施例中,该目标剪辑模板中至少包括剪辑操作选项;In some embodiments, the target editing template includes at least editing operation options;
该生成单元503,被配置为执行根据该剪辑操作选项,对获取的原始多媒体资源进行对应的剪辑处理,生成目标多媒体资源。The generating unit 503 is configured to perform corresponding editing processing on the acquired original multimedia resource according to the editing operation option, to generate the target multimedia resource.
在一些实施例中,该目标剪辑模板中还包括剪辑操作选项的触发次序;In some embodiments, the target editing template further includes a trigger sequence of editing operation options;
该生成单元503,被配置为执行根据该剪辑操作选项以及该触发次序,按照该触发次序,依次对获取的原始多媒体资源进行对应的剪辑处理,生成目标多媒体资源。The generating unit 503 is configured to perform corresponding editing processing on the acquired original multimedia resources in sequence according to the editing operation options and the trigger sequence, and generate the target multimedia resources according to the trigger sequence.
在一些实施例中,该目标剪辑模板中至少包括素材选项;In some embodiments, the target editing template includes at least material options;
该生成单元503,被配置为执行根据该素材选项,获取素材内容,将该素材内容添加到该原始多媒体资源中相应位置上,得到目标多媒体资源。The generating unit 503 is configured to perform acquisition of material content according to the material option, and add the material content to a corresponding position in the original multimedia resource to obtain the target multimedia resource.
在一些实施例中,该生成单元503被配置为执行从该素材选项所关联的素材获取路径所指示的目录下,提取素材内容。In some embodiments, the generating unit 503 is configured to perform extraction of material content from the directory indicated by the material acquisition path associated with the material option.
在一些实施例中,该装置还包括:In some embodiments, the device further includes:
获取单元,被配置为执行获取用于生成剪辑模板的历史多媒体资源;The acquiring unit is configured to perform acquisition of historical multimedia resources used to generate a clip template;
该获取单元,还被配置为执行从该历史多媒体资源中,获取对应的该剪辑信息;The obtaining unit is further configured to obtain the corresponding clip information from the historical multimedia resource;
选取单元,还被配置为执行选取符合目标类型的该剪辑信息,作为模板数据;The selection unit is also configured to perform selection of the clip information conforming to the target type as template data;
该生成单元503,还被配置为执行根据该模板数据,生成对应的该剪辑模板。The generating unit 503 is further configured to generate the corresponding clip template according to the template data.
在一些实施例中,该剪辑信息至少包括剪辑操作信息,该剪辑操作信息包括至少一个剪辑操作的操作类型、操作内容;该目标类型至少包括预设的目标操作类型;In some embodiments, the editing information includes at least editing operation information, the editing operation information includes at least one operation type and operation content of the editing operation; the target type includes at least a preset target operation type;
该选取单元,被配置为执行从该剪辑操作信息中,选取符合该目标操作类型的剪辑操作信息,作为该模板数据。The selection unit is configured to perform selection of the editing operation information conforming to the target operation type from the editing operation information as the template data.
在一些实施例中,该剪辑操作信息还包括多个剪辑操作之间的操作次序;In some embodiments, the editing operation information further includes an operation sequence between multiple editing operations;
该选取单元还被配置为执行:The selection unit is also configured to execute:
根据该操作次序,将符合该目标操作类型的剪辑操作信息进行关联,作为该模板数据。According to the operation sequence, the clip operation information corresponding to the target operation type is associated as the template data.
在一些实施例中,该剪辑信息至少包括剪辑所采用的剪辑素材信息,该剪辑所采用的素材信息至少一个素材的素材类型、素材内容或素材获取方式;该目标类型至少包括预设的目标素材类型;In some embodiments, the clip information includes at least clip material information used in the clip, and the material information used in the clip includes at least one material type, material content, or material acquisition method; the target type includes at least a preset target material Types of;
该选取单元被配置为执行从该剪辑素材信息中,选取符合该目标素材类型的剪辑素材信息,作为该模板数据。The selection unit is configured to perform selection of clip material information conforming to the target material type from the clip material information as the template data.
在一些实施例中,该模板数据包括符合预设的目标操作类型的剪辑操作信息;In some embodiments, the template data includes clipping operation information conforming to a preset target operation type;
该生成单元503被配置为执行根据该剪辑操作信息,生成对应的剪辑操作选项,得到包括该剪辑操作选项的剪辑模板。The generating unit 503 is configured to generate a corresponding editing operation option according to the editing operation information, and obtain an editing template including the editing operation option.
在一些实施例中,该符合预设的目标操作类型的剪辑操作信息还根据多个剪辑操作之间的操作次序关联;In some embodiments, the editing operation information conforming to the preset target operation type is further associated according to the operation sequence between the multiple editing operations;
该生成单元503被配置为执行根据符合预设的目标操作类型的剪辑操作信息的关联关系,生成对应的剪辑操作选项以及该剪辑操作选项的触发次序,得到包括该剪辑操作选项以及触发次序的剪辑模板。The generating unit 503 is configured to perform the generation of corresponding editing operation options and the triggering sequence of the editing operation options according to the association relationship of the editing operation information conforming to the preset target operation type, and obtaining the editing including the editing operation options and the triggering sequence. template.
在一些实施例中,该模板数据包括符合预设的目标素材类型的剪辑素材信息;In some embodiments, the template data includes clip material information conforming to a preset target material type;
该生成单元503被配置为执行根据该剪辑素材信息,生成对应的素材选项,得到包括该素材选项的剪辑模板。The generating unit 503 is configured to generate a corresponding material option according to the clip material information, and obtain a clip template including the material option.
在一些实施例中,该生成单元503被配置为执行:In some embodiments, the generating unit 503 is configured to execute:
根据该剪辑素材信息中的素材类型和素材获取方式,生成对应的素材选项所关联的素材获取路径;According to the material type and material acquisition method in the clip material information, generate the material acquisition path associated with the corresponding material option;
根据该剪辑素材信息中的素材内容,将该素材内容添加至该素材获取路径所指示的目录下,得到包括该素材选项的剪辑模板。According to the material content in the clip material information, the material content is added to the directory indicated by the material acquisition path to obtain a clip template including the material option.
在一些实施例中,该装置还包括:In some embodiments, the device further includes:
第一编辑单元,被配置为执行响应于对该目标剪辑模板的编辑指令,对该目标剪辑模板中的剪辑操作选项或素材选项进行编辑;The first editing unit is configured to execute editing operations or material options in the target editing template in response to an editing instruction for the target editing template;
该生成单元503还被配置为执行响应于所接收到的资源生成指令,根据编辑后的该目标剪辑模板,对获取的原始多媒体资源进行处理,生成目标多媒体资源。The generating unit 503 is further configured to perform processing on the acquired original multimedia resource according to the edited target clip template in response to the received resource generating instruction to generate the target multimedia resource.
在一些实施例中,该装置还包括:In some embodiments, the device further includes:
第二编辑单元,被配置为执行响应于对该目标剪辑模板的编辑指令,对该目标剪辑模板中的剪辑操作选项或素材选项进行编辑;The second editing unit is configured to execute editing operations or material options in the target editing template in response to an editing instruction for the target editing template;
存储单元,被配置为执行响应于所接收到的存储指令,存储编辑后的目标剪辑模板。The storage unit is configured to execute the storage of the edited target clip template in response to the received storage instruction.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the device in the foregoing embodiment, the specific manner in which each module performs operation has been described in detail in the embodiment of the method, and detailed description will not be given here.
上述电子设备可以为下述图6所示的终端,也可以为下述图7所示的服务器,本公开实施例对此不作限定。The above-mentioned electronic device may be the terminal shown in FIG. 6 below, or may be the server shown in FIG. 7 below, which is not limited in the embodiment of the present disclosure.
图6是根据一示例性实施例示出的一种终端的结构框图。该终端600可以是:智能手机、平板电脑、MP3播放器(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、笔记本电脑或台式电脑。终端600还可能被称为用户设备、便携式终端、膝上型终端、台式终端等其他名称。Fig. 6 is a structural block diagram showing a terminal according to an exemplary embodiment. The terminal 600 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, moving picture experts compressing standard audio layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, moving picture experts compressing standard audio Level 4) Player, laptop or desktop computer. The terminal 600 may also be called user equipment, portable terminal, laptop terminal, desktop terminal and other names.
通常,终端600包括有:处理器601和存储器602。Generally, the terminal 600 includes a processor 601 and a memory 602.
处理器601可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器601可以采用DSP(Digital Signal Processing,数字信号处理)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。处理器601也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central Processing Unit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器601可以在集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器601还可以包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处理有关机器学习的计算操作。The processor 601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 601 can adopt at least one hardware form among DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array, Programmable Logic Array). achieve. The processor 601 may also include a main processor and a coprocessor. The main processor is a processor used to process data in the awake state, also called a CPU (Central Processing Unit, central processing unit); the coprocessor is A low-power processor used to process data in the standby state. In some embodiments, the processor 601 may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used for rendering and drawing content that needs to be displayed on the display screen. In some embodiments, the processor 601 may further include an AI (Artificial Intelligence) processor, and the AI processor is used to process computing operations related to machine learning.
存储器602可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器602还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器602中的非暂态的计算机可读存储 介质用于存储至少一个指令,该至少一个指令用于被处理器601所执行以实现本公开中方法实施例提供的多媒体资源的生成方法。The memory 602 may include one or more computer-readable storage media, which may be non-transitory. The memory 602 may also include a high-speed random access memory and a non-volatile memory, such as one or more magnetic disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 602 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 601 to implement the multimedia resources provided by the method embodiments of the present disclosure The method of generation.
在一些实施例中,终端600还可选包括有:外围设备接口603和至少一个外围设备。处理器601、存储器602和外围设备接口603之间可以通过总线或信号线相连。各个外围设备可以通过总线、信号线或电路板与外围设备接口603相连。在一些实施例中,外围设备包括:射频电路604、触摸显示屏605、摄像头组件606、音频电路607、定位组件608和电源609中的至少一种。In some embodiments, the terminal 600 may optionally further include: a peripheral device interface 603 and at least one peripheral device. The processor 601, the memory 602, and the peripheral device interface 603 may be connected by a bus or a signal line. Each peripheral device can be connected to the peripheral device interface 603 through a bus, a signal line, or a circuit board. In some embodiments, the peripheral device includes at least one of a radio frequency circuit 604, a touch display screen 605, a camera component 606, an audio circuit 607, a positioning component 608, and a power supply 609.
外围设备接口603可被用于将I/O(Input/Output,输入/输出)相关的至少一个外围设备连接到处理器601和存储器602。在一些实施例中,处理器601、存储器602和外围设备接口603被集成在同一芯片或电路板上;在一些其他实施例中,处理器601、存储器602和外围设备接口603中的任意一个或两个可以在单独的芯片或电路板上实现,本实施例对此不加以限定。The peripheral device interface 603 can be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 601 and the memory 602. In some embodiments, the processor 601, the memory 602, and the peripheral device interface 603 are integrated on the same chip or circuit board; in some other embodiments, any one of the processor 601, the memory 602, and the peripheral device interface 603 or The two can be implemented on a separate chip or circuit board, which is not limited in this embodiment.
射频电路604用于接收和发射RF(Radio Frequency,射频)信号,也称电磁信号。射频电路604通过电磁信号与通信网络以及其他通信设备进行通信。射频电路604将电信号转换为电磁信号进行发送,或者,将接收到的电磁信号转换为电信号。在一些实施例中,射频电路604包括:天线系统、RF收发器、一个或多个放大器、调谐器、振荡器、数字信号处理器、编解码芯片组、用户身份模块卡等等。射频电路604可以通过至少一种无线通信协议来与其它终端进行通信。该无线通信协议包括但不限于:城域网、各代移动通信网络(2G、3G、4G及5G)、无线局域网和/或WiFi(Wireless Fidelity,无线保真)网络。在一些实施例中,射频电路604还可以包括NFC(Near Field Communication,近距离无线通信)有关的电路,本公开对此不加以限定。The radio frequency circuit 604 is used for receiving and transmitting RF (Radio Frequency, radio frequency) signals, also called electromagnetic signals. The radio frequency circuit 604 communicates with a communication network and other communication devices through electromagnetic signals. The radio frequency circuit 604 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. In some embodiments, the radio frequency circuit 604 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so on. The radio frequency circuit 604 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity, wireless fidelity) networks. In some embodiments, the radio frequency circuit 604 may also include a circuit related to NFC (Near Field Communication), which is not limited in the present disclosure.
显示屏605用于显示UI(User Interface,用户界面)。该UI可以包括图形、文本、图标、视频及其它们的任意组合。当显示屏605是触摸显示屏时,显示屏605还具有采集在显示屏605的表面或表面上方的触摸信号的能力。该触摸信号可以作为控制信号输入至处理器601进行处理。此时,显示屏605还可以用于提供虚拟按钮和/或虚拟键盘,也称软按钮和/或软键盘。在一些实施例中,显示屏605可以为一个,设置终端600的前面板;在另一些实施例中,显示屏605可以为至少两个,分别设置在终端600的不同表面或呈折叠设计;在再一些实施例中,显示屏605可以是柔性显示屏,设置在终端600的弯曲表面上或折叠面上。甚至,显示屏605还可以设置成非矩形的不规则图形,也即异形屏。显示屏605可以采用LCD(Liquid Crystal Display,液晶显示屏)、OLED(Organic Light-Emitting Diode,有机发光二极管)等材质制备。The display screen 605 is used to display a UI (User Interface, user interface). The UI can include graphics, text, icons, videos, and any combination thereof. When the display screen 605 is a touch display screen, the display screen 605 also has the ability to collect touch signals on or above the surface of the display screen 605. The touch signal can be input to the processor 601 as a control signal for processing. At this time, the display screen 605 may also be used to provide virtual buttons and/or virtual keyboards, also called soft buttons and/or soft keyboards. In some embodiments, there may be one display screen 605, which is provided with the front panel of the terminal 600; in other embodiments, there may be at least two display screens 605, which are respectively provided on different surfaces of the terminal 600 or in a folded design; In still other embodiments, the display screen 605 may be a flexible display screen, which is disposed on the curved surface or the folding surface of the terminal 600. Furthermore, the display screen 605 can also be set as a non-rectangular irregular figure, that is, a special-shaped screen. The display screen 605 may be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
摄像头组件606用于采集图像或视频。在一些实施例中,摄像头组件606包括前置摄像头和后置摄像头。通常,前置摄像头设置在终端的前面板,后置摄像头设置在终端的背面。在一些实施例中,后置摄像头为至少两个,分别为主摄像头、景深摄像头、广角摄像头、长焦摄像头中的任意一种,以实现主摄像头和景深摄像头融合实现背景虚化功能、主摄像头和广角摄像头融合实现全景拍摄以及VR(Virtual Reality,虚拟现实)拍摄功能或者其它融合拍摄功能。在一些实施例中,摄像头组件606还可以包括闪光灯。闪光灯可以是单色温闪光灯,也可以是双色温闪光灯。双色温闪光灯是指暖光闪光灯和冷光闪光灯的组合,可以用于不同色温下的光线补偿。The camera assembly 606 is used to capture images or videos. In some embodiments, the camera assembly 606 includes a front camera and a rear camera. Generally, the front camera is set on the front panel of the terminal, and the rear camera is set on the back of the terminal. In some embodiments, there are at least two rear cameras, each of which is a main camera, a depth-of-field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth-of-field camera to realize the background blur function, the main camera Integrate with the wide-angle camera to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, the camera assembly 606 may also include a flash. The flash can be a single-color flash or a dual-color flash. Dual color temperature flash refers to a combination of warm light flash and cold light flash, which can be used for light compensation under different color temperatures.
音频电路607可以包括麦克风和扬声器。麦克风用于采集用户及环境的声波,并将声波 转换为电信号输入至处理器601进行处理,或者输入至射频电路604以实现语音通信。出于立体声采集或降噪的目的,麦克风可以为多个,分别设置在终端600的不同部位。麦克风还可以是阵列麦克风或全向采集型麦克风。扬声器则用于将来自处理器601或射频电路604的电信号转换为声波。扬声器可以是传统的薄膜扬声器,也可以是压电陶瓷扬声器。当扬声器是压电陶瓷扬声器时,不仅可以将电信号转换为人类可听见的声波,也可以将电信号转换为人类听不见的声波以进行测距等用途。在一些实施例中,音频电路607还可以包括耳机插孔。The audio circuit 607 may include a microphone and a speaker. The microphone is used to collect the sound waves of the user and the environment, and convert the sound waves into electrical signals and input to the processor 601 for processing, or input to the radio frequency circuit 604 to realize voice communication. For the purpose of stereo collection or noise reduction, there may be multiple microphones, which are respectively set in different parts of the terminal 600. The microphone can also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert the electrical signal from the processor 601 or the radio frequency circuit 604 into sound waves. The speaker can be a traditional thin-film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into human audible sound waves, but also convert the electrical signal into human inaudible sound waves for distance measurement and other purposes. In some embodiments, the audio circuit 607 may also include a headphone jack.
定位组件608用于定位终端600的当前地理位置,以实现导航或LBS(Location Based Service,基于位置的服务)。定位组件608可以是基于美国的GPS(Global Positioning System,全球定位系统)、中国的北斗系统、俄罗斯的格雷纳斯系统或欧盟的伽利略系统的定位组件。The positioning component 608 is used to locate the current geographic location of the terminal 600 to implement navigation or LBS (Location Based Service, location-based service). The positioning component 608 may be a positioning component based on the GPS (Global Positioning System, Global Positioning System) of the United States, the Beidou system of China, the Granus system of Russia, or the Galileo system of the European Union.
电源609用于为终端600中的各个组件进行供电。电源609可以是交流电、直流电、一次性电池或可充电电池。当电源609包括可充电电池时,该可充电电池可以支持有线充电或无线充电。该可充电电池还可以用于支持快充技术。The power supply 609 is used to supply power to various components in the terminal 600. The power source 609 may be alternating current, direct current, disposable batteries, or rechargeable batteries. When the power source 609 includes a rechargeable battery, the rechargeable battery may support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.
在一些实施例中,终端600还包括有一个或多个传感器610。该一个或多个传感器610包括但不限于:加速度传感器611、陀螺仪传感器612、压力传感器613、指纹传感器614、光学传感器615以及接近传感器616。In some embodiments, the terminal 600 further includes one or more sensors 610. The one or more sensors 610 include, but are not limited to: an acceleration sensor 611, a gyroscope sensor 612, a pressure sensor 613, a fingerprint sensor 614, an optical sensor 615, and a proximity sensor 616.
加速度传感器611可以检测以终端600建立的坐标系的三个坐标轴上的加速度大小。比如,加速度传感器611可以用于检测重力加速度在三个坐标轴上的分量。处理器601可以根据加速度传感器611采集的重力加速度信号,控制触摸显示屏605以横向视图或纵向视图进行用户界面的显示。加速度传感器611还可以用于游戏或者用户的运动数据的采集。The acceleration sensor 611 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 600. For example, the acceleration sensor 611 can be used to detect the components of the gravitational acceleration on three coordinate axes. The processor 601 may control the touch screen 605 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 611. The acceleration sensor 611 may also be used for the collection of game or user motion data.
陀螺仪传感器612可以检测终端600的机体方向及转动角度,陀螺仪传感器612可以与加速度传感器611协同采集用户对终端600的3D动作。处理器601根据陀螺仪传感器612采集的数据,可以实现如下功能:动作感应(比如根据用户的倾斜操作来改变UI)、拍摄时的图像稳定、游戏控制以及惯性导航。The gyroscope sensor 612 can detect the body direction and rotation angle of the terminal 600, and the gyroscope sensor 612 can cooperate with the acceleration sensor 611 to collect the user's 3D actions on the terminal 600. The processor 601 can implement the following functions according to the data collected by the gyroscope sensor 612: motion sensing (for example, changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
压力传感器613可以设置在终端600的侧边框和/或触摸显示屏605的下层。当压力传感器613设置在终端600的侧边框时,可以检测用户对终端600的握持信号,由处理器601根据压力传感器613采集的握持信号进行左右手识别或快捷操作。当压力传感器613设置在触摸显示屏605的下层时,由处理器601根据用户对触摸显示屏605的压力操作,实现对UI界面上的可操作性控件进行控制。可操作性控件包括按钮控件、滚动条控件、图标控件、菜单控件中的至少一种。The pressure sensor 613 may be disposed on the side frame of the terminal 600 and/or the lower layer of the touch screen 605. When the pressure sensor 613 is arranged on the side frame of the terminal 600, the user's holding signal of the terminal 600 can be detected, and the processor 601 performs left and right hand recognition or quick operation according to the holding signal collected by the pressure sensor 613. When the pressure sensor 613 is arranged on the lower layer of the touch display screen 605, the processor 601 controls the operability controls on the UI interface according to the user's pressure operation on the touch display screen 605. The operability control includes at least one of a button control, a scroll bar control, an icon control, and a menu control.
指纹传感器614用于采集用户的指纹,由处理器601根据指纹传感器614采集到的指纹识别用户的身份,或者,由指纹传感器614根据采集到的指纹识别用户的身份。在识别出用户的身份为可信身份时,由处理器601授权该用户执行相关的敏感操作,该敏感操作包括解锁屏幕、查看加密信息、下载软件、支付及更改设置等。指纹传感器614可以被设置终端600的正面、背面或侧面。当终端600上设置有物理按键或厂商Logo时,指纹传感器614可以与物理按键或厂商Logo集成在一起。The fingerprint sensor 614 is used to collect the user's fingerprint. The processor 601 can identify the user's identity based on the fingerprint collected by the fingerprint sensor 614, or the fingerprint sensor 614 can identify the user's identity based on the collected fingerprints. When it is recognized that the user's identity is a trusted identity, the processor 601 authorizes the user to perform related sensitive operations, including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings. The fingerprint sensor 614 may be provided on the front, back or side of the terminal 600. When a physical button or a manufacturer logo is provided on the terminal 600, the fingerprint sensor 614 can be integrated with the physical button or the manufacturer logo.
光学传感器615用于采集环境光强度。在一个实施例中,处理器601可以根据光学传感器615采集的环境光强度,控制触摸显示屏605的显示亮度。在一些实施例中,当环境光强度较高时,调高触摸显示屏605的显示亮度;当环境光强度较低时,调低触摸显示屏605的显示亮度。在另一个实施例中,处理器601还可以根据光学传感器615采集的环境光强度, 动态调整摄像头组件606的拍摄参数。The optical sensor 615 is used to collect the ambient light intensity. In an embodiment, the processor 601 may control the display brightness of the touch screen 605 according to the ambient light intensity collected by the optical sensor 615. In some embodiments, when the ambient light intensity is high, the display brightness of the touch display screen 605 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 605 is decreased. In another embodiment, the processor 601 may also dynamically adjust the shooting parameters of the camera assembly 606 according to the ambient light intensity collected by the optical sensor 615.
接近传感器616,也称距离传感器,通常设置在终端600的前面板。接近传感器616用于采集用户与终端600的正面之间的距离。在一个实施例中,当接近传感器616检测到用户与终端600的正面之间的距离逐渐变小时,由处理器601控制触摸显示屏605从亮屏状态切换为息屏状态;当接近传感器616检测到用户与终端600的正面之间的距离逐渐变大时,由处理器601控制触摸显示屏605从息屏状态切换为亮屏状态。The proximity sensor 616, also called a distance sensor, is usually arranged on the front panel of the terminal 600. The proximity sensor 616 is used to collect the distance between the user and the front of the terminal 600. In one embodiment, when the proximity sensor 616 detects that the distance between the user and the front of the terminal 600 gradually decreases, the processor 601 controls the touch screen 605 to switch from the on-screen state to the off-screen state; when the proximity sensor 616 detects When the distance between the user and the front of the terminal 600 gradually increases, the processor 601 controls the touch display screen 605 to switch from the rest screen state to the bright screen state.
本领域技术人员可以理解,图6中示出的结构并不构成对终端600的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。Those skilled in the art can understand that the structure shown in FIG. 6 does not constitute a limitation on the terminal 600, and may include more or fewer components than shown in the figure, or combine certain components, or adopt different component arrangements.
图7是根据一示例性实施例示出的一种服务器的结构示意图,该服务器700可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上处理器(central processing units,CPU)701和一个或一个以上的存储器702,其中,该存储器702中存储有至少一条指令,该至少一条指令由该处理器701加载并执行以实现上述各个方法实施例提供的多媒体资源的生成方法。当然,该服务器还可以具有有线或无线网络接口、键盘以及输入输出接口等部件,以便进行输入输出,该服务器还可以包括其他用于实现设备功能的部件,在此不做赘述。FIG. 7 is a schematic diagram showing the structure of a server according to an exemplary embodiment. The server 700 may have relatively large differences due to different configurations or performance, and may include one or more processors (central processing units, CPU) 701 And one or more memories 702, where at least one instruction is stored in the memory 702, and the at least one instruction is loaded and executed by the processor 701 to implement the method for generating multimedia resources provided by the foregoing method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, an input and output interface for input and output, and the server may also include other components for implementing device functions, which will not be described in detail here.
上述图6和图7所示的服务器均为电子设备,该电子设备包括一个或多个处理器;用于存储所述一个或多个处理器可执行指令的一个或多个存储器。其中,所述一个或多个处理器被配置为执行所述指令,以实现如下步骤:展示可供选择的剪辑模板;每个所述剪辑模板根据对应的剪辑信息生成,所述剪辑信息至少所述剪辑操作信息或剪辑所采用的剪辑素材信息中至少一项;响应于所接收的模板选择指令,确定被选中的目标剪辑模板;根据所述目标剪辑模板,对获取的原始多媒体资源进行处理,生成目标多媒体资源。The servers shown in FIG. 6 and FIG. 7 are all electronic devices, and the electronic devices include one or more processors; one or more memories for storing executable instructions of the one or more processors. Wherein, the one or more processors are configured to execute the instructions to implement the following steps: display available editing templates; each of the editing templates is generated according to corresponding editing information, and the editing information is at least At least one of the editing operation information or the editing material information used for the editing; in response to the received template selection instruction, determining the selected target editing template; processing the acquired original multimedia resources according to the target editing template, Generate target multimedia resources.
所述目标剪辑模板中至少包括剪辑操作选项;The target editing template includes at least editing operation options;
所述一个或多个处理器具体被配置为执行所述指令,以实现如下步骤:根据所述剪辑操作选项,对获取的原始多媒体资源进行对应的剪辑处理,生成目标多媒体资源。The one or more processors are specifically configured to execute the instructions to implement the following steps: according to the editing operation options, perform corresponding editing processing on the acquired original multimedia resources to generate target multimedia resources.
所述目标剪辑模板中还包括剪辑操作选项的触发次序;The target editing template also includes a trigger sequence of editing operation options;
所述一个或多个处理器具体被配置为执行所述指令,以实现如下步骤:根据所述剪辑操作选项以及所述触发次序,按照所述触发次序,依次对获取的原始多媒体资源进行对应的剪辑处理,生成目标多媒体资源。The one or more processors are specifically configured to execute the instructions to implement the following steps: according to the editing operation options and the trigger sequence, the acquired original multimedia resources are sequentially corresponded in accordance with the trigger sequence Editing process to generate target multimedia resources.
所述目标剪辑模板中至少包括素材选项;The target editing template includes at least material options;
所述一个或多个处理器具体被配置为执行所述指令,以实现如下步骤:根据所述素材选项,获取素材内容,将所述素材内容添加到所述原始多媒体资源中相应位置上,得到目标多媒体资源。The one or more processors are specifically configured to execute the instructions to implement the following steps: obtain material content according to the material options, add the material content to a corresponding position in the original multimedia resource, and obtain Target multimedia resources.
所述一个或多个处理器具体被配置为执行所述指令,以实现如下步骤:从所述素材选项所关联的素材获取路径所指示的目录下,提取素材内容。The one or more processors are specifically configured to execute the instructions to implement the following step: extract material content from a directory indicated by a material acquisition path associated with the material option.
所述一个或多个处理器还被配置为执行所述指令,以实现如下步骤:获取用于生成剪辑模板的历史多媒体资源;从所述历史多媒体资源中,获取对应的所述剪辑信息;选取符合目标类型的所述剪辑信息,作为模板数据;根据所述模板数据,生成对应的所述剪辑模板。The one or more processors are further configured to execute the instructions to implement the following steps: obtain historical multimedia resources used to generate a clip template; obtain the corresponding clip information from the historical multimedia resources; select The clip information that meets the target type is used as template data; and the corresponding clip template is generated according to the template data.
所述剪辑信息至少包括剪辑操作信息,所述剪辑操作信息包括至少一个剪辑操作的操作类型、操作内容;所述目标类型至少包括预设的目标操作类型;The clipping information includes at least clipping operation information, the clipping operation information includes an operation type and operation content of at least one clipping operation; the target type includes at least a preset target operation type;
所述一个或多个处理器具体被配置为执行所述指令,以实现如下步骤:从所述剪辑操作信息中,选取符合所述目标操作类型的剪辑操作信息,作为所述模板数据。The one or more processors are specifically configured to execute the instructions to implement the following step: from the editing operation information, selecting the editing operation information that meets the target operation type as the template data.
所述剪辑操作信息还包括多个剪辑操作之间的操作次序;The editing operation information also includes an operation sequence among multiple editing operations;
所述一个或多个处理器还被配置为执行所述指令,以实现如下步骤:根据所述操作次序,将符合所述目标操作类型的剪辑操作信息进行关联,作为所述模板数据。The one or more processors are further configured to execute the instructions to implement the following steps: according to the operation sequence, associating the clip operation information that conforms to the target operation type as the template data.
所述剪辑信息至少包括剪辑所采用的剪辑素材信息,所述剪辑所采用的素材信息至少一个素材的素材类型、素材内容或素材获取方式;所述目标类型至少包括预设的目标素材类型;The clip information includes at least clip material information used in the clip, and the material information used in the clip includes at least one material type, material content, or material acquisition method; the target type includes at least a preset target material type;
所述一个或多个处理器具体被配置为执行所述指令,以实现如下步骤:从所述剪辑素材信息中,选取符合所述目标素材类型的剪辑素材信息,作为所述模板数据。The one or more processors are specifically configured to execute the instructions to implement the following step: from the clip material information, select clip material information that meets the target material type as the template data.
所述模板数据包括符合预设的目标操作类型的剪辑操作信息;The template data includes editing operation information conforming to a preset target operation type;
所述一个或多个处理器具体被配置为执行所述指令,以实现如下步骤:根据所述剪辑操作信息,生成对应的剪辑操作选项,得到包括所述剪辑操作选项的剪辑模板。The one or more processors are specifically configured to execute the instructions to implement the following steps: generate corresponding editing operation options according to the editing operation information, and obtain an editing template including the editing operation options.
所述符合预设的目标操作类型的剪辑操作信息还根据多个剪辑操作之间的操作次序关联;The editing operation information conforming to the preset target operation type is also associated according to the operation sequence between the multiple editing operations;
所述一个或多个处理器具体被配置为执行所述指令,以实现如下步骤:根据符合预设的目标操作类型的剪辑操作信息的关联关系,生成对应的剪辑操作选项以及所述剪辑操作选项的触发次序,得到包括所述剪辑操作选项以及触发次序的剪辑模板。The one or more processors are specifically configured to execute the instructions to implement the following steps: generate corresponding editing operation options and the editing operation options according to the association relationship of the editing operation information conforming to the preset target operation type To obtain the editing template including the editing operation options and the trigger sequence.
所述模板数据包括符合预设的目标素材类型的剪辑素材信息;The template data includes clip material information conforming to a preset target material type;
所述一个或多个处理器具体被配置为执行所述指令,以实现如下步骤:根据所述剪辑素材信息,生成对应的素材选项,得到包括所述素材选项的剪辑模板。The one or more processors are specifically configured to execute the instructions to implement the following steps: generate corresponding material options according to the clip material information, and obtain a clip template including the material options.
所述一个或多个处理器具体被配置为执行所述指令,以实现如下步骤:根据所述剪辑素材信息中的素材类型和素材获取方式,生成对应的素材选项所关联的素材获取路径;根据所述剪辑素材信息中的素材内容,将所述素材内容添加至所述素材获取路径所指示的目录下,得到包括所述素材选项的剪辑模板。The one or more processors are specifically configured to execute the instructions to implement the following steps: generate a material acquisition path associated with a corresponding material option according to the material type and material acquisition mode in the clip material information; For the material content in the clip material information, the material content is added to the directory indicated by the material acquisition path to obtain a clip template including the material options.
所述一个或多个处理器还被配置为执行所述指令,以实现如下步骤:响应于对所述目标剪辑模板的编辑指令,对所述目标剪辑模板中的剪辑操作选项或素材选项进行编辑;响应于所接收到的资源生成指令,根据编辑后的所述目标剪辑模板,对获取的原始多媒体资源进行处理,生成目标多媒体资源。The one or more processors are further configured to execute the instructions to implement the following step: in response to the editing instructions for the target editing template, editing the editing operation options or the material options in the target editing template ; In response to the received resource generation instruction, according to the edited target clip template, the acquired original multimedia resources are processed to generate target multimedia resources.
在一些实施例中,所述一个或多个处理器还被配置为执行所述指令,以实现如下步骤:响应于对所述目标剪辑模板的编辑指令,对所述目标剪辑模板中的剪辑操作选项或素材选项进行编辑;响应于所接收到的存储指令,存储编辑后的目标剪辑模板。In some embodiments, the one or more processors are further configured to execute the instructions to implement the following steps: in response to editing instructions for the target clip template, perform editing operations on the target clip template. Options or material options are edited; in response to the received storage instruction, the edited target clip template is stored.
在示例性实施例中,还提供了一种包括指令的存储介质,例如包括指令的存储器,上述指令可由装置的处理器执行以完成上述多媒体资源的生成方法。在一些实施例中,当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备能够执行如下步骤:展示可供选择的剪辑模板;每个所述剪辑模板根据对应的剪辑信息生成,所述剪辑信息至少所述剪辑操作信息或剪辑所采用的剪辑素材信息中至少一项;响应于所接收的模板选择指令,确定被选中的目标剪辑模板;根据所述目标剪辑模板,对获取的原始多媒体资源进行处理,生成目标多媒体资源。In an exemplary embodiment, there is also provided a storage medium including instructions, such as a memory including instructions, which may be executed by a processor of a device to complete the foregoing multimedia resource generation method. In some embodiments, when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can perform the following steps: display available editing templates; each of the editing templates is based on the corresponding The clip information is generated, the clip information is at least one of the clip operation information or the clip material information used in the clip; in response to the received template selection instruction, the selected target clip template is determined; and the selected target clip template is determined according to the target clip template , Process the acquired original multimedia resources to generate target multimedia resources.
在一些实施例中,所述目标剪辑模板中至少包括剪辑操作选项;In some embodiments, the target editing template includes at least editing operation options;
当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备具体能够执行如下步骤:根据所述剪辑操作选项,对获取的原始多媒体资源进行对应的剪辑处理,生成目 标多媒体资源。When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is specifically able to perform the following steps: according to the editing operation option, perform corresponding editing processing on the acquired original multimedia resources to generate target multimedia Resources.
在一些实施例中,所述目标剪辑模板中还包括剪辑操作选项的触发次序;In some embodiments, the target editing template further includes a trigger sequence of editing operation options;
当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备具体能够执行如下步骤:根据所述剪辑操作选项以及所述触发次序,按照所述触发次序,依次对获取的原始多媒体资源进行对应的剪辑处理,生成目标多媒体资源。When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is specifically able to perform the following steps: according to the editing operation options and the trigger sequence, according to the trigger sequence, the acquired The original multimedia resources are subjected to corresponding editing processing to generate target multimedia resources.
在一些实施例中,所述目标剪辑模板中至少包括素材选项;In some embodiments, the target editing template includes at least material options;
当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备具体能够执行如下步骤:根据所述素材选项,获取素材内容,将所述素材内容添加到所述原始多媒体资源中相应位置上,得到目标多媒体资源。When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can specifically execute the following steps: obtain material content according to the material option, and add the material content to the original multimedia resource In the corresponding position in the middle, the target multimedia resource is obtained.
在一些实施例中,当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备具体能够执行如下步骤:从所述素材选项所关联的素材获取路径所指示的目录下,提取素材内容。In some embodiments, when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can specifically execute the following steps: from the directory indicated by the material acquisition path associated with the material option , Extract the material content.
在一些实施例中,当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备还能够执行如下步骤:获取用于生成剪辑模板的历史多媒体资源;从所述历史多媒体资源中,获取对应的所述剪辑信息;选取符合目标类型的所述剪辑信息,作为模板数据;根据所述模板数据,生成对应的所述剪辑模板。In some embodiments, when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can also perform the following steps: acquiring historical multimedia resources used to generate a clip template; In the resource, the corresponding clip information is obtained; the clip information that meets the target type is selected as template data; the corresponding clip template is generated according to the template data.
在一些实施例中,所述剪辑信息至少包括剪辑操作信息,所述剪辑操作信息包括至少一个剪辑操作的操作类型、操作内容;所述目标类型至少包括预设的目标操作类型;In some embodiments, the clipping information includes at least clipping operation information, the clipping operation information includes an operation type and operation content of at least one clipping operation; the target type includes at least a preset target operation type;
当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备具体能够执行如下步骤:从所述剪辑操作信息中,选取符合所述目标操作类型的剪辑操作信息,作为所述模板数据。When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can specifically execute the following steps: from the editing operation information, selecting the editing operation information that meets the target operation type as the all The template data.
在一些实施例中,所述剪辑操作信息还包括多个剪辑操作之间的操作次序;In some embodiments, the editing operation information further includes an operation sequence between multiple editing operations;
当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备还能够执行如下步骤:根据所述操作次序,将符合所述目标操作类型的剪辑操作信息进行关联,作为所述模板数据。When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is also able to perform the following steps: according to the operation sequence, associating the editing operation information conforming to the target operation type as the all The template data.
在一些实施例中,所述剪辑信息至少包括剪辑所采用的剪辑素材信息,所述剪辑所采用的素材信息至少一个素材的素材类型、素材内容或素材获取方式;所述目标类型至少包括预设的目标素材类型;In some embodiments, the clip information includes at least clip material information used in the clip, and the material information used in the clip includes at least one material type, material content, or material acquisition method; the target type includes at least a preset The type of target material;
当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备具体能够执行如下步骤:从所述剪辑素材信息中,选取符合所述目标素材类型的剪辑素材信息,作为所述模板数据。When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can specifically execute the following steps: from the clip material information, select the clip material information that meets the target material type as the The template data.
在一些实施例中,所述模板数据包括符合预设的目标操作类型的剪辑操作信息;In some embodiments, the template data includes clipping operation information conforming to a preset target operation type;
当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备具体能够执行如下步骤:根据所述剪辑操作信息,生成对应的剪辑操作选项,得到包括所述剪辑操作选项的剪辑模板。When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is specifically able to perform the following steps: generate corresponding editing operation options according to the editing operation information, and obtain information including the editing operation options Clip template.
在一些实施例中,所述符合预设的目标操作类型的剪辑操作信息还根据多个剪辑操作之间的操作次序关联;In some embodiments, the editing operation information conforming to the preset target operation type is further associated according to the operation sequence between the multiple editing operations;
当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备具体能够执行如下步骤:根据符合预设的目标操作类型的剪辑操作信息的关联关系,生成对应的剪辑操作选项以及所述剪辑操作选项的触发次序,得到包括所述剪辑操作选项以及触发次序的剪辑模 板。When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is specifically able to perform the following steps: generate corresponding editing operation options according to the association relationship of the editing operation information that meets the preset target operation type And the trigger sequence of the editing operation options to obtain an editing template including the editing operation options and the trigger sequence.
在一些实施例中,所述模板数据包括符合预设的目标素材类型的剪辑素材信息;In some embodiments, the template data includes clip material information conforming to a preset target material type;
当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备具体能够执行如下步骤:根据所述剪辑素材信息,生成对应的素材选项,得到包括所述素材选项的剪辑模板。When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can specifically execute the following steps: generate corresponding material options according to the clip material information, and obtain a clip template including the material options .
在一些实施例中,当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备具体能够执行如下步骤:根据所述剪辑素材信息中的素材类型和素材获取方式,生成对应的素材选项所关联的素材获取路径;根据所述剪辑素材信息中的素材内容,将所述素材内容添加至所述素材获取路径所指示的目录下,得到包括所述素材选项的剪辑模板。In some embodiments, when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can specifically execute the following steps: generate according to the material type and material acquisition mode in the clip material information The material acquisition path associated with the corresponding material option; according to the material content in the clip material information, the material content is added to the directory indicated by the material acquisition path to obtain a editing template including the material option.
在一些实施例中,当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备还能够执行如下步骤:响应于对所述目标剪辑模板的编辑指令,对所述目标剪辑模板中的剪辑操作选项或素材选项进行编辑;响应于所接收到的资源生成指令,根据编辑后的所述目标剪辑模板,对获取的原始多媒体资源进行处理,生成目标多媒体资源。In some embodiments, when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is also able to perform the following steps: in response to the editing instructions for the target clip template, The editing operation options or material options in the editing template are edited; in response to the received resource generation instruction, the acquired original multimedia resources are processed according to the edited target editing template to generate the target multimedia resources.
在一些实施例中,当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备还能够执行如下步骤:响应于对所述目标剪辑模板的编辑指令,对所述目标剪辑模板中的剪辑操作选项或素材选项进行编辑;响应于所接收到的存储指令,存储编辑后的目标剪辑模板。In some embodiments, when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is also able to perform the following steps: in response to the editing instructions for the target clip template, The editing operation options or material options in the editing template are edited; in response to the received storage instruction, the edited target editing template is stored.
在一些实施例中,存储介质可以是非临时性计算机可读存储介质,例如,该非临时性计算机可读存储介质可以是只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)、磁带、软盘和光数据存储设备等。In some embodiments, the storage medium may be a non-transitory computer-readable storage medium. For example, the non-transitory computer-readable storage medium may be a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access). Memory, RAM), CD-ROM (Compact Disc Read-Only Memory), magnetic tapes, floppy disks, optical data storage devices, etc.
在示例性实施例中,还提供了一种计算机程序产品,包括至少一个指令,该至少一个指令可以由电子设备的处理器执行,以完成上述实施例中提供的多媒体资源的生成方法的方法步骤。In an exemplary embodiment, a computer program product is also provided, including at least one instruction, which can be executed by a processor of an electronic device to complete the method steps of the method for generating multimedia resources provided in the foregoing embodiment. .
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Those skilled in the art will easily think of other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptive changes of the present disclosure. These variations, uses, or adaptive changes follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field that are not disclosed in the present disclosure. . The description and the embodiments are to be regarded as exemplary only, and the true scope and spirit of the present disclosure are pointed out by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise structure that has been described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.

Claims (60)

  1. 一种多媒体资源的生成方法,其中,包括:A method for generating multimedia resources, including:
    展示可供选择的剪辑模板;每个所述剪辑模板根据对应的剪辑信息生成,所述剪辑信息至少所述剪辑操作信息或剪辑所采用的剪辑素材信息中至少一项;Display available editing templates; each of the editing templates is generated according to corresponding editing information, and the editing information is at least one of the editing operation information or the editing material information used in the editing;
    响应于所接收的模板选择指令,确定被选中的目标剪辑模板;In response to the received template selection instruction, determine the selected target clip template;
    根据所述目标剪辑模板,对获取的原始多媒体资源进行处理,生成目标多媒体资源。According to the target editing template, the acquired original multimedia resources are processed to generate target multimedia resources.
  2. 根据权利要求1所述的方法,其中,所述目标剪辑模板中至少包括剪辑操作选项;The method according to claim 1, wherein the target editing template includes at least editing operation options;
    所述根据所述目标剪辑模板,对获取的原始多媒体资源进行处理,生成目标多媒体资源,包括:The processing the acquired original multimedia resources according to the target editing template to generate the target multimedia resources includes:
    根据所述剪辑操作选项,对获取的原始多媒体资源进行对应的剪辑处理,生成目标多媒体资源。According to the editing operation options, corresponding editing processing is performed on the acquired original multimedia resources to generate target multimedia resources.
  3. 根据权利要求2所述的方法,其中,所述目标剪辑模板中还包括剪辑操作选项的触发次序;The method according to claim 2, wherein the target editing template further includes a trigger sequence of editing operation options;
    所述根据所述目标剪辑模板,对获取的原始多媒体资源进行处理,生成目标多媒体资源,包括:The processing the acquired original multimedia resources according to the target editing template to generate the target multimedia resources includes:
    根据所述剪辑操作选项以及所述触发次序,按照所述触发次序,依次对获取的原始多媒体资源进行对应的剪辑处理,生成目标多媒体资源。According to the editing operation options and the trigger sequence, the acquired original multimedia resources are sequentially subjected to corresponding editing processing in accordance with the trigger sequence to generate target multimedia resources.
  4. 根据权利要求1所述的方法,其中,所述目标剪辑模板中至少包括素材选项;The method according to claim 1, wherein the target editing template includes at least material options;
    所述根据所述目标剪辑模板,对获取的原始多媒体资源进行处理,生成目标多媒体资源,包括:The processing the acquired original multimedia resources according to the target editing template to generate the target multimedia resources includes:
    根据所述素材选项,获取素材内容,将所述素材内容添加到所述原始多媒体资源中相应位置上,得到目标多媒体资源。According to the material option, the material content is obtained, and the material content is added to the corresponding position in the original multimedia resource to obtain the target multimedia resource.
  5. 根据权利要求4所述的方法,其中,所述根据所述素材选项,获取素材内容,包括:The method according to claim 4, wherein said obtaining material content according to the material option comprises:
    从所述素材选项所关联的素材获取路径所指示的目录下,提取素材内容。Extract the material content from the directory indicated by the material acquisition path associated with the material option.
  6. 根据权利要求1所述的方法,其中,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    获取用于生成剪辑模板的历史多媒体资源;Obtain historical multimedia resources used to generate clip templates;
    从所述历史多媒体资源中,获取对应的所述剪辑信息;Obtaining the corresponding clip information from the historical multimedia resource;
    选取符合目标类型的所述剪辑信息,作为模板数据;Selecting the clip information that meets the target type as template data;
    根据所述模板数据,生成对应的所述剪辑模板。According to the template data, the corresponding clip template is generated.
  7. 根据权利要求6所述的方法,其中,所述剪辑信息至少包括剪辑操作信息,所述剪辑操作信息包括至少一个剪辑操作的操作类型、操作内容;所述目标类型至少包括预设的目标操作类型;The method according to claim 6, wherein the clipping information includes at least clipping operation information, the clipping operation information includes at least one editing operation type and operation content; the target type includes at least a preset target operation type ;
    所述选取符合目标类型的所述剪辑信息,作为模板数据包括:The selecting the clip information conforming to the target type as template data includes:
    从所述剪辑操作信息中,选取符合所述目标操作类型的剪辑操作信息,作为所述模板数据。From the editing operation information, the editing operation information that meets the target operation type is selected as the template data.
  8. 根据权利要求7所述的方法,其中,所述剪辑操作信息还包括多个剪辑操作之间的操作次序;8. The method according to claim 7, wherein the editing operation information further includes an operation sequence among a plurality of editing operations;
    所述选取符合目标类型的所述剪辑信息,作为模板数据还包括:The selection of the clip information conforming to the target type as template data further includes:
    根据所述操作次序,将符合所述目标操作类型的剪辑操作信息进行关联,作为所述模板数据。According to the operation sequence, the clip operation information conforming to the target operation type is associated as the template data.
  9. 根据权利要求6所述的方法,其中,所述剪辑信息至少包括剪辑所采用的剪辑素材信息,所述剪辑所采用的素材信息至少一个素材的素材类型、素材内容或素材获取方式;所述目标类型至少包括预设的目标素材类型;The method according to claim 6, wherein the clip information includes at least clip material information used in the clip, and the material information used in the clip includes at least one material type, material content, or material acquisition method; the target The type includes at least the preset target material type;
    所述选取符合目标类型的所述剪辑信息,作为模板数据包括:The selecting the clip information conforming to the target type as template data includes:
    从所述剪辑素材信息中,选取符合所述目标素材类型的剪辑素材信息,作为所述模板数据。From the clip material information, select clip material information conforming to the target material type as the template data.
  10. 根据权利要求1所述的方法,其中,所述模板数据包括符合预设的目标操作类型的剪辑操作信息;The method according to claim 1, wherein the template data includes editing operation information that conforms to a preset target operation type;
    所述根据所述模板数据,生成剪辑模板,包括:The generating a clip template according to the template data includes:
    根据所述剪辑操作信息,生成对应的剪辑操作选项,得到包括所述剪辑操作选项的剪辑模板。According to the editing operation information, a corresponding editing operation option is generated, and an editing template including the editing operation option is obtained.
  11. 根据权利要求10所述的方法,其中,所述符合预设的目标操作类型的剪辑操作信息还根据多个剪辑操作之间的操作次序关联;11. The method according to claim 10, wherein the editing operation information conforming to the preset target operation type is further correlated according to the operation sequence between the multiple editing operations;
    所述根据所述模板数据,生成剪辑模板,包括:The generating a clip template according to the template data includes:
    根据符合预设的目标操作类型的剪辑操作信息的关联关系,生成对应的剪辑操作选项以及所述剪辑操作选项的触发次序,得到包括所述剪辑操作选项以及触发次序的剪辑模板。According to the association relationship of the editing operation information conforming to the preset target operation type, the corresponding editing operation options and the trigger sequence of the editing operation options are generated, and an editing template including the editing operation options and the trigger sequence is obtained.
  12. 根据权利要求6所述的方法,其中,所述模板数据包括符合预设的目标素材类型的剪辑素材信息;7. The method according to claim 6, wherein the template data includes clip material information conforming to a preset target material type;
    所述根据所述模板数据,生成剪辑模板,包括:The generating a clip template according to the template data includes:
    根据所述剪辑素材信息,生成对应的素材选项,得到包括所述素材选项的剪辑模板。According to the clip material information, a corresponding material option is generated, and a clip template including the material option is obtained.
  13. 根据权利要求12所述的方法,其中,所述根据所述剪辑素材信息,生成对应的素材选项,得到包括所述素材选项的剪辑模板,包括:The method according to claim 12, wherein said generating corresponding material options according to said clip material information to obtain a clip template including said material options comprises:
    根据所述剪辑素材信息中的素材类型和素材获取方式,生成对应的素材选项所关联的素材获取路径;According to the material type and material acquisition mode in the clip material information, generate the material acquisition path associated with the corresponding material option;
    根据所述剪辑素材信息中的素材内容,将所述素材内容添加至所述素材获取路径所指示 的目录下,得到包括所述素材选项的剪辑模板。According to the material content in the clip material information, the material content is added to the directory indicated by the material acquisition path to obtain a clip template including the material options.
  14. 根据权利要求1所述的方法,其中,所述响应于所接收的模板选择指令,确定被选中的目标剪辑模板之后,所述方法还包括:The method according to claim 1, wherein, after determining the selected target clip template in response to the received template selection instruction, the method further comprises:
    响应于对所述目标剪辑模板的编辑指令,对所述目标剪辑模板中的剪辑操作选项或素材选项进行编辑;In response to the editing instruction for the target editing template, editing the editing operation options or material options in the target editing template;
    响应于所接收到的资源生成指令,根据编辑后的所述目标剪辑模板,对获取的原始多媒体资源进行处理,生成目标多媒体资源。In response to the received resource generation instruction, the acquired original multimedia resources are processed according to the edited target clip template to generate target multimedia resources.
  15. 根据权利要求1所述的方法,其中,所述响应于所接收的模板选择指令,确定被选中的所述目标剪辑模板之后,所述方法还包括:The method according to claim 1, wherein, after determining the selected target clip template in response to the received template selection instruction, the method further comprises:
    响应于对所述目标剪辑模板的编辑指令,对所述目标剪辑模板中的剪辑操作选项或素材选项进行编辑;In response to the editing instruction for the target editing template, editing the editing operation options or material options in the target editing template;
    响应于所接收到的存储指令,存储编辑后的目标剪辑模板。In response to the received storage instruction, the edited target clip template is stored.
  16. 一种多媒体资源的生成装置,其中,包括:A device for generating multimedia resources, which includes:
    展示单元,被配置为执行展示可供选择的剪辑模板;每个所述剪辑模板根据对应的剪辑信息生成,所述剪辑信息至少所述剪辑操作信息或剪辑所采用的剪辑素材信息中至少一项;The display unit is configured to perform the display of selectable editing templates; each of the editing templates is generated according to corresponding editing information, and the editing information is at least one of the editing operation information or the editing material information used in the editing ;
    确定单元,被配置为执行响应于所接收的模板选择指令,确定被选中的目标剪辑模板;The determining unit is configured to execute the selected target clip template in response to the received template selection instruction;
    生成单元,被配置为执行根据所述目标剪辑模板,对获取的原始多媒体资源进行处理,生成目标多媒体资源。The generating unit is configured to process the acquired original multimedia resources according to the target clip template to generate the target multimedia resources.
  17. 根据权利要求16所述的装置,其中,所述目标剪辑模板中至少包括剪辑操作选项;The device according to claim 16, wherein the target editing template includes at least editing operation options;
    所述生成单元,被配置为执行根据所述剪辑操作选项,对获取的原始多媒体资源进行对应的剪辑处理,生成目标多媒体资源。The generating unit is configured to perform corresponding editing processing on the acquired original multimedia resources according to the editing operation options to generate target multimedia resources.
  18. 根据权利要求17所述的装置,其中,所述目标剪辑模板中还包括剪辑操作选项的触发次序;The device according to claim 17, wherein the target editing template further includes a trigger sequence of editing operation options;
    所述生成单元,被配置为执行根据所述剪辑操作选项以及所述触发次序,按照所述触发次序,依次对获取的原始多媒体资源进行对应的剪辑处理,生成目标多媒体资源。The generating unit is configured to perform corresponding editing processing on the acquired original multimedia resources in sequence according to the editing operation options and the trigger sequence according to the trigger sequence to generate target multimedia resources.
  19. 根据权利要求16所述的装置,其中,所述目标剪辑模板中至少包括素材选项;The device according to claim 16, wherein the target editing template includes at least material options;
    所述生成单元,被配置为执行根据所述素材选项,获取素材内容,将所述素材内容添加到所述原始多媒体资源中相应位置上,得到目标多媒体资源。The generating unit is configured to execute acquiring material content according to the material options, adding the material content to a corresponding position in the original multimedia resource, and obtaining a target multimedia resource.
  20. 根据权利要求19所述的装置,其中,所述生成单元被配置为执行从所述素材选项所关联的素材获取路径所指示的目录下,提取素材内容。The device according to claim 19, wherein the generating unit is configured to perform extraction of material content from a directory indicated by a material acquisition path associated with the material option.
  21. 根据权利要求16所述的装置,其中,所述装置还包括:The device according to claim 16, wherein the device further comprises:
    获取单元,被配置为执行获取用于生成剪辑模板的历史多媒体资源;The acquiring unit is configured to perform acquisition of historical multimedia resources used to generate a clip template;
    所述获取单元,还被配置为执行从所述历史多媒体资源中,获取对应的所述剪辑信息;The acquiring unit is further configured to execute acquiring the corresponding clip information from the historical multimedia resource;
    选取单元,还被配置为执行选取符合目标类型的所述剪辑信息,作为模板数据;The selection unit is further configured to perform selection of the clip information that meets the target type as template data;
    所述生成单元,还被配置为执行根据所述模板数据,生成对应的所述剪辑模板。The generating unit is further configured to execute generating the corresponding clip template according to the template data.
  22. 根据权利要求21所述的装置,其中,所述剪辑信息至少包括剪辑操作信息,所述剪辑操作信息包括至少一个剪辑操作的操作类型、操作内容;所述目标类型至少包括预设的目标操作类型;The apparatus according to claim 21, wherein the editing information includes at least editing operation information, the editing operation information includes an operation type and operation content of at least one editing operation; and the target type includes at least a preset target operation type ;
    所述选取单元,被配置为执行从所述剪辑操作信息中,选取符合所述目标操作类型的剪辑操作信息,作为所述模板数据。The selection unit is configured to select, from the editing operation information, the editing operation information that conforms to the target operation type as the template data.
  23. 根据权利要求22所述的装置,其中,所述剪辑操作信息还包括多个剪辑操作之间的操作次序;The apparatus according to claim 22, wherein the editing operation information further includes an operation sequence among a plurality of editing operations;
    所述选取单元还被配置为执行:The selection unit is also configured to execute:
    根据所述操作次序,将符合所述目标操作类型的剪辑操作信息进行关联,作为所述模板数据。According to the operation sequence, the clip operation information conforming to the target operation type is associated as the template data.
  24. 根据权利要求21所述的装置,其中,所述剪辑信息至少包括剪辑所采用的剪辑素材信息,所述剪辑所采用的素材信息至少一个素材的素材类型、素材内容或素材获取方式;所述目标类型至少包括预设的目标素材类型;The device according to claim 21, wherein the clip information includes at least clip material information used in the clip, and the material information used in the clip includes at least one material type, material content, or material acquisition method; the target The type includes at least the preset target material type;
    所述选取单元被配置为执行从所述剪辑素材信息中,选取符合所述目标素材类型的剪辑素材信息,作为所述模板数据。The selection unit is configured to perform selection of clip material information conforming to the target material type from the clip material information as the template data.
  25. 根据权利要求16所述的装置,其中,所述模板数据包括符合预设的目标操作类型的剪辑操作信息;The apparatus according to claim 16, wherein the template data includes editing operation information conforming to a preset target operation type;
    所述生成单元被配置为执行根据所述剪辑操作信息,生成对应的剪辑操作选项,得到包括所述剪辑操作选项的剪辑模板。The generating unit is configured to generate a corresponding editing operation option according to the editing operation information, and obtain an editing template including the editing operation option.
  26. 根据权利要求25所述的装置,其中,所述符合预设的目标操作类型的剪辑操作信息还根据多个剪辑操作之间的操作次序关联;The device according to claim 25, wherein the editing operation information that conforms to the preset target operation type is further associated according to an operation sequence between multiple editing operations;
    所述生成单元被配置为执行根据符合预设的目标操作类型的剪辑操作信息的关联关系,生成对应的剪辑操作选项以及所述剪辑操作选项的触发次序,得到包括所述剪辑操作选项以及触发次序的剪辑模板。The generating unit is configured to generate corresponding editing operation options and the trigger sequence of the editing operation options according to the association relationship of the editing operation information conforming to the preset target operation type, and obtain the editing operation options and the trigger sequence including the editing operation options and the trigger sequence. Clip template.
  27. 根据权利要求21所述的装置,其中,所述模板数据包括符合预设的目标素材类型的剪辑素材信息;The device according to claim 21, wherein the template data includes clip material information conforming to a preset target material type;
    所述生成单元被配置为执行根据所述剪辑素材信息,生成对应的素材选项,得到包括所述素材选项的剪辑模板。The generating unit is configured to generate a corresponding material option according to the clip material information, and obtain a clip template including the material option.
  28. 根据权利要求27所述的装置,其中,所述生成单元被配置为执行:The apparatus according to claim 27, wherein the generating unit is configured to execute:
    根据所述剪辑素材信息中的素材类型和素材获取方式,生成对应的素材选项所关联的素材获取路径;According to the material type and material acquisition mode in the clip material information, generate the material acquisition path associated with the corresponding material option;
    根据所述剪辑素材信息中的素材内容,将所述素材内容添加至所述素材获取路径所指示的目录下,得到包括所述素材选项的剪辑模板。According to the material content in the clip material information, the material content is added to the directory indicated by the material acquisition path to obtain a clip template including the material options.
  29. 根据权利要求16所述的装置,其中,所述装置还包括:The device according to claim 16, wherein the device further comprises:
    第一编辑单元,被配置为执行响应于对所述目标剪辑模板的编辑指令,对所述目标剪辑模板中的剪辑操作选项或素材选项进行编辑;The first editing unit is configured to execute editing operation options or material options in the target editing template in response to an editing instruction for the target editing template;
    所述生成单元还被配置为执行响应于所接收到的资源生成指令,根据编辑后的所述目标剪辑模板,对获取的原始多媒体资源进行处理,生成目标多媒体资源。The generating unit is further configured to perform processing on the acquired original multimedia resources according to the edited target clip template in response to the received resource generating instructions to generate target multimedia resources.
  30. 根据权利要求16所述的装置,其中,所述装置还包括:The device according to claim 16, wherein the device further comprises:
    第二编辑单元,被配置为执行响应于对所述目标剪辑模板的编辑指令,对所述目标剪辑模板中的剪辑操作选项或素材选项进行编辑;The second editing unit is configured to execute editing operation options or material options in the target editing template in response to an editing instruction for the target editing template;
    存储单元,被配置为执行响应于所接收到的存储指令,存储编辑后的目标剪辑模板。The storage unit is configured to execute the storage of the edited target clip template in response to the received storage instruction.
  31. 一种电子设备,其中,包括:An electronic device, including:
    一个或多个处理器;One or more processors;
    用于存储所述一个或多个处理器可执行指令的一个或多个存储器;One or more memories for storing the one or more processor-executable instructions;
    其中,所述一个或多个处理器被配置为执行所述指令,以实现如下步骤:Wherein, the one or more processors are configured to execute the instructions to implement the following steps:
    展示可供选择的剪辑模板;每个所述剪辑模板根据对应的剪辑信息生成,所述剪辑信息至少所述剪辑操作信息或剪辑所采用的剪辑素材信息中至少一项;Display available editing templates; each of the editing templates is generated according to corresponding editing information, and the editing information is at least one of the editing operation information or the editing material information used in the editing;
    响应于所接收的模板选择指令,确定被选中的目标剪辑模板;In response to the received template selection instruction, determine the selected target clip template;
    根据所述目标剪辑模板,对获取的原始多媒体资源进行处理,生成目标多媒体资源。According to the target editing template, the acquired original multimedia resources are processed to generate target multimedia resources.
  32. 根据权利要求31所述的电子设备,其中,所述目标剪辑模板中至少包括剪辑操作选项;The electronic device according to claim 31, wherein the target editing template includes at least editing operation options;
    所述一个或多个处理器具体被配置为执行所述指令,以实现如下步骤:The one or more processors are specifically configured to execute the instructions to implement the following steps:
    根据所述剪辑操作选项,对获取的原始多媒体资源进行对应的剪辑处理,生成目标多媒体资源。According to the editing operation options, corresponding editing processing is performed on the acquired original multimedia resources to generate target multimedia resources.
  33. 根据权利要求32所述的电子设备,其中,所述目标剪辑模板中还包括剪辑操作选项的触发次序;The electronic device according to claim 32, wherein the target editing template further includes a trigger sequence of editing operation options;
    所述一个或多个处理器具体被配置为执行所述指令,以实现如下步骤:The one or more processors are specifically configured to execute the instructions to implement the following steps:
    根据所述剪辑操作选项以及所述触发次序,按照所述触发次序,依次对获取的原始多媒体资源进行对应的剪辑处理,生成目标多媒体资源。According to the editing operation options and the trigger sequence, the acquired original multimedia resources are sequentially subjected to corresponding editing processing in accordance with the trigger sequence to generate target multimedia resources.
  34. 根据权利要求31所述的电子设备,其中,所述目标剪辑模板中至少包括素材选项;The electronic device according to claim 31, wherein said target editing template includes at least material options;
    所述一个或多个处理器具体被配置为执行所述指令,以实现如下步骤:The one or more processors are specifically configured to execute the instructions to implement the following steps:
    根据所述素材选项,获取素材内容,将所述素材内容添加到所述原始多媒体资源中相应位置上,得到目标多媒体资源。According to the material option, the material content is obtained, and the material content is added to the corresponding position in the original multimedia resource to obtain the target multimedia resource.
  35. 根据权利要求34所述的电子设备,其中,所述一个或多个处理器具体被配置为执行所述指令,以实现如下步骤:The electronic device according to claim 34, wherein the one or more processors are specifically configured to execute the instructions to implement the following steps:
    从所述素材选项所关联的素材获取路径所指示的目录下,提取素材内容。Extract the material content from the directory indicated by the material acquisition path associated with the material option.
  36. 根据权利要求31所述的电子设备,其中,所述一个或多个处理器还被配置为执行所述指令,以实现如下步骤:The electronic device of claim 31, wherein the one or more processors are further configured to execute the instructions to implement the following steps:
    获取用于生成剪辑模板的历史多媒体资源;Obtain historical multimedia resources used to generate clip templates;
    从所述历史多媒体资源中,获取对应的所述剪辑信息;Obtaining the corresponding clip information from the historical multimedia resource;
    选取符合目标类型的所述剪辑信息,作为模板数据;Selecting the clip information that meets the target type as template data;
    根据所述模板数据,生成对应的所述剪辑模板。According to the template data, the corresponding clip template is generated.
  37. 根据权利要求36所述的电子设备,其中,所述剪辑信息至少包括剪辑操作信息,所述剪辑操作信息包括至少一个剪辑操作的操作类型、操作内容;所述目标类型至少包括预设的目标操作类型;The electronic device according to claim 36, wherein the editing information includes at least editing operation information, and the editing operation information includes an operation type and operation content of at least one editing operation; and the target type includes at least a preset target operation Types of;
    所述一个或多个处理器具体被配置为执行所述指令,以实现如下步骤:The one or more processors are specifically configured to execute the instructions to implement the following steps:
    从所述剪辑操作信息中,选取符合所述目标操作类型的剪辑操作信息,作为所述模板数据。From the editing operation information, the editing operation information that meets the target operation type is selected as the template data.
  38. 根据权利要求37所述的电子设备,其中,所述剪辑操作信息还包括多个剪辑操作之间的操作次序;The electronic device according to claim 37, wherein the editing operation information further includes an operation sequence among a plurality of editing operations;
    所述一个或多个处理器还被配置为执行所述指令,以实现如下步骤:The one or more processors are also configured to execute the instructions to implement the following steps:
    根据所述操作次序,将符合所述目标操作类型的剪辑操作信息进行关联,作为所述模板数据。According to the operation sequence, the clip operation information conforming to the target operation type is associated as the template data.
  39. 根据权利要求36所述的电子设备,其中,所述剪辑信息至少包括剪辑所采用的剪辑素材信息,所述剪辑所采用的素材信息至少一个素材的素材类型、素材内容或素材获取方式;所述目标类型至少包括预设的目标素材类型;The electronic device according to claim 36, wherein the clip information includes at least clip material information used in the clip, and the material information used in the clip includes at least one material type, material content, or material acquisition method; The target type includes at least the preset target material type;
    所述一个或多个处理器具体被配置为执行所述指令,以实现如下步骤:The one or more processors are specifically configured to execute the instructions to implement the following steps:
    从所述剪辑素材信息中,选取符合所述目标素材类型的剪辑素材信息,作为所述模板数据。From the clip material information, select clip material information conforming to the target material type as the template data.
  40. 根据权利要求31所述的电子设备,其中,所述模板数据包括符合预设的目标操作类型的剪辑操作信息;The electronic device according to claim 31, wherein the template data includes clipping operation information conforming to a preset target operation type;
    所述一个或多个处理器具体被配置为执行所述指令,以实现如下步骤:The one or more processors are specifically configured to execute the instructions to implement the following steps:
    根据所述剪辑操作信息,生成对应的剪辑操作选项,得到包括所述剪辑操作选项的剪辑 模板。According to the editing operation information, a corresponding editing operation option is generated, and an editing template including the editing operation option is obtained.
  41. 根据权利要求40所述的电子设备,其中,所述符合预设的目标操作类型的剪辑操作信息还根据多个剪辑操作之间的操作次序关联;40. The electronic device according to claim 40, wherein the editing operation information conforming to the preset target operation type is further associated according to an operation sequence between multiple editing operations;
    所述一个或多个处理器具体被配置为执行所述指令,以实现如下步骤:The one or more processors are specifically configured to execute the instructions to implement the following steps:
    根据符合预设的目标操作类型的剪辑操作信息的关联关系,生成对应的剪辑操作选项以及所述剪辑操作选项的触发次序,得到包括所述剪辑操作选项以及触发次序的剪辑模板。According to the association relationship of the editing operation information conforming to the preset target operation type, the corresponding editing operation options and the trigger sequence of the editing operation options are generated, and the editing template including the editing operation options and the trigger sequence is obtained.
  42. 根据权利要求36所述的电子设备,其中,所述模板数据包括符合预设的目标素材类型的剪辑素材信息;The electronic device according to claim 36, wherein the template data includes clip material information conforming to a preset target material type;
    所述一个或多个处理器具体被配置为执行所述指令,以实现如下步骤:The one or more processors are specifically configured to execute the instructions to implement the following steps:
    根据所述剪辑素材信息,生成对应的素材选项,得到包括所述素材选项的剪辑模板。According to the clip material information, a corresponding material option is generated, and a clip template including the material option is obtained.
  43. 根据权利要求42所述的电子设备,其中,所述一个或多个处理器具体被配置为执行所述指令,以实现如下步骤:The electronic device according to claim 42, wherein the one or more processors are specifically configured to execute the instructions to implement the following steps:
    根据所述剪辑素材信息中的素材类型和素材获取方式,生成对应的素材选项所关联的素材获取路径;According to the material type and material acquisition mode in the clip material information, generate the material acquisition path associated with the corresponding material option;
    根据所述剪辑素材信息中的素材内容,将所述素材内容添加至所述素材获取路径所指示的目录下,得到包括所述素材选项的剪辑模板。According to the material content in the clip material information, the material content is added to the directory indicated by the material acquisition path to obtain a clip template including the material options.
  44. 根据权利要求31所述的电子设备,其中,所述一个或多个处理器还被配置为执行所述指令,以实现如下步骤:The electronic device of claim 31, wherein the one or more processors are further configured to execute the instructions to implement the following steps:
    响应于对所述目标剪辑模板的编辑指令,对所述目标剪辑模板中的剪辑操作选项或素材选项进行编辑;In response to the editing instruction for the target editing template, editing the editing operation options or material options in the target editing template;
    响应于所接收到的资源生成指令,根据编辑后的所述目标剪辑模板,对获取的原始多媒体资源进行处理,生成目标多媒体资源。In response to the received resource generation instruction, the acquired original multimedia resource is processed according to the edited target clip template to generate the target multimedia resource.
  45. 根据权利要求31所述的电子设备,其中,所述一个或多个处理器还被配置为执行所述指令,以实现如下步骤:The electronic device of claim 31, wherein the one or more processors are further configured to execute the instructions to implement the following steps:
    响应于对所述目标剪辑模板的编辑指令,对所述目标剪辑模板中的剪辑操作选项或素材选项进行编辑;In response to the editing instruction for the target editing template, editing the editing operation options or material options in the target editing template;
    响应于所接收到的存储指令,存储编辑后的目标剪辑模板。In response to the received storage instruction, the edited target clip template is stored.
  46. 一种存储介质,其中,当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备能够执行如下步骤:A storage medium, wherein when the instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the following steps:
    展示可供选择的剪辑模板;每个所述剪辑模板根据对应的剪辑信息生成,所述剪辑信息至少所述剪辑操作信息或剪辑所采用的剪辑素材信息中至少一项;Display available editing templates; each of the editing templates is generated according to corresponding editing information, and the editing information is at least one of the editing operation information or the editing material information used in the editing;
    响应于所接收的模板选择指令,确定被选中的目标剪辑模板;In response to the received template selection instruction, determine the selected target clip template;
    根据所述目标剪辑模板,对获取的原始多媒体资源进行处理,生成目标多媒体资源。According to the target editing template, the acquired original multimedia resources are processed to generate target multimedia resources.
  47. 根据权利要求46所述的存储介质,其中,所述目标剪辑模板中至少包括剪辑操作选项;The storage medium according to claim 46, wherein the target editing template includes at least editing operation options;
    当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备具体能够执行如下步骤:When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can specifically execute the following steps:
    根据所述剪辑操作选项,对获取的原始多媒体资源进行对应的剪辑处理,生成目标多媒体资源。According to the editing operation options, corresponding editing processing is performed on the acquired original multimedia resources to generate target multimedia resources.
  48. 根据权利要求47所述的存储介质,其中,所述目标剪辑模板中还包括剪辑操作选项的触发次序;The storage medium according to claim 47, wherein the target editing template further includes a trigger sequence of editing operation options;
    当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备具体能够执行如下步骤:When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can specifically execute the following steps:
    根据所述剪辑操作选项以及所述触发次序,按照所述触发次序,依次对获取的原始多媒体资源进行对应的剪辑处理,生成目标多媒体资源。According to the editing operation options and the trigger sequence, the acquired original multimedia resources are sequentially subjected to corresponding editing processing in accordance with the trigger sequence to generate target multimedia resources.
  49. 根据权利要求46所述的存储介质,其中,所述目标剪辑模板中至少包括素材选项;The storage medium according to claim 46, wherein the target editing template includes at least material options;
    当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备具体能够执行如下步骤:When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can specifically execute the following steps:
    根据所述素材选项,获取素材内容,将所述素材内容添加到所述原始多媒体资源中相应位置上,得到目标多媒体资源。According to the material option, the material content is obtained, and the material content is added to the corresponding position in the original multimedia resource to obtain the target multimedia resource.
  50. 根据权利要求49所述的存储介质,其中,当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备具体能够执行如下步骤:The storage medium according to claim 49, wherein when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is specifically capable of executing the following steps:
    从所述素材选项所关联的素材获取路径所指示的目录下,提取素材内容。Extract the material content from the directory indicated by the material acquisition path associated with the material option.
  51. 根据权利要求46所述的存储介质,其中,当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备还能够执行如下步骤:The storage medium according to claim 46, wherein when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is enabled to further execute the following steps:
    获取用于生成剪辑模板的历史多媒体资源;Obtain historical multimedia resources used to generate clip templates;
    从所述历史多媒体资源中,获取对应的所述剪辑信息;Obtaining the corresponding clip information from the historical multimedia resource;
    选取符合目标类型的所述剪辑信息,作为模板数据;Selecting the clip information that meets the target type as template data;
    根据所述模板数据,生成对应的所述剪辑模板。According to the template data, the corresponding clip template is generated.
  52. 根据权利要求51所述的存储介质,其中,所述剪辑信息至少包括剪辑操作信息,所述剪辑操作信息包括至少一个剪辑操作的操作类型、操作内容;所述目标类型至少包括预设的目标操作类型;The storage medium according to claim 51, wherein the editing information includes at least editing operation information, the editing operation information includes at least one editing operation type and operation content; the target type includes at least a preset target operation Types of;
    当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备具体能够执行如下步骤:When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can specifically execute the following steps:
    从所述剪辑操作信息中,选取符合所述目标操作类型的剪辑操作信息,作为所述模板数据。From the editing operation information, the editing operation information that meets the target operation type is selected as the template data.
  53. 根据权利要求52所述的存储介质,其中,所述剪辑操作信息还包括多个剪辑操作之间的操作次序;The storage medium according to claim 52, wherein the editing operation information further includes an operation sequence among a plurality of editing operations;
    当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备还能够执行如下步骤:When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can also execute the following steps:
    根据所述操作次序,将符合所述目标操作类型的剪辑操作信息进行关联,作为所述模板数据。According to the operation sequence, the clip operation information conforming to the target operation type is associated as the template data.
  54. 根据权利要求51所述的存储介质,其中,所述剪辑信息至少包括剪辑所采用的剪辑素材信息,所述剪辑所采用的素材信息至少一个素材的素材类型、素材内容或素材获取方式;所述目标类型至少包括预设的目标素材类型;The storage medium according to claim 51, wherein the clip information includes at least clip material information used in the clip, and the material information used in the clip includes at least one material type, material content, or material acquisition method; The target type includes at least the preset target material type;
    当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备具体能够执行如下步骤:When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can specifically execute the following steps:
    从所述剪辑素材信息中,选取符合所述目标素材类型的剪辑素材信息,作为所述模板数据。From the clip material information, select clip material information conforming to the target material type as the template data.
  55. 根据权利要求46所述的存储介质,其中,所述模板数据包括符合预设的目标操作类型的剪辑操作信息;The storage medium according to claim 46, wherein the template data includes editing operation information conforming to a preset target operation type;
    当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备具体能够执行如下步骤:When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can specifically execute the following steps:
    根据所述剪辑操作信息,生成对应的剪辑操作选项,得到包括所述剪辑操作选项的剪辑模板。According to the editing operation information, a corresponding editing operation option is generated, and an editing template including the editing operation option is obtained.
  56. 根据权利要求55所述的存储介质,其中,所述符合预设的目标操作类型的剪辑操作信息还根据多个剪辑操作之间的操作次序关联;The storage medium according to claim 55, wherein the editing operation information conforming to the preset target operation type is further associated according to the operation sequence between the multiple editing operations;
    当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备具体能够执行如下步骤:When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can specifically execute the following steps:
    根据符合预设的目标操作类型的剪辑操作信息的关联关系,生成对应的剪辑操作选项以及所述剪辑操作选项的触发次序,得到包括所述剪辑操作选项以及触发次序的剪辑模板。According to the association relationship of the editing operation information conforming to the preset target operation type, the corresponding editing operation options and the trigger sequence of the editing operation options are generated, and the editing template including the editing operation options and the trigger sequence is obtained.
  57. 根据权利要求51所述的存储介质,其中,所述模板数据包括符合预设的目标素材类型的剪辑素材信息;The storage medium according to claim 51, wherein the template data includes clip material information conforming to a preset target material type;
    当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备具体能够执行如下步骤:When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can specifically execute the following steps:
    根据所述剪辑素材信息,生成对应的素材选项,得到包括所述素材选项的剪辑模板。According to the clip material information, a corresponding material option is generated, and a clip template including the material option is obtained.
  58. 根据权利要求57所述的存储介质,其中,当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备具体能够执行如下步骤:The storage medium according to claim 57, wherein when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is specifically capable of executing the following steps:
    根据所述剪辑素材信息中的素材类型和素材获取方式,生成对应的素材选项所关联的素 材获取路径;According to the material type and material acquisition method in the clip material information, generate the material acquisition path associated with the corresponding material option;
    根据所述剪辑素材信息中的素材内容,将所述素材内容添加至所述素材获取路径所指示的目录下,得到包括所述素材选项的剪辑模板。According to the material content in the clip material information, the material content is added to the directory indicated by the material acquisition path to obtain a clip template including the material options.
  59. 根据权利要求46所述的存储介质,其中,当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备还能够执行如下步骤:The storage medium according to claim 46, wherein when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is enabled to further execute the following steps:
    响应于对所述目标剪辑模板的编辑指令,对所述目标剪辑模板中的剪辑操作选项或素材选项进行编辑;In response to the editing instruction for the target editing template, editing the editing operation options or material options in the target editing template;
    响应于所接收到的资源生成指令,根据编辑后的所述目标剪辑模板,对获取的原始多媒体资源进行处理,生成目标多媒体资源。In response to the received resource generation instruction, the acquired original multimedia resource is processed according to the edited target clip template to generate the target multimedia resource.
  60. 根据权利要求46所述的存储介质,其中,当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备还能够执行如下步骤:The storage medium according to claim 46, wherein when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is enabled to further execute the following steps:
    响应于对所述目标剪辑模板的编辑指令,对所述目标剪辑模板中的剪辑操作选项或素材选项进行编辑;In response to the editing instruction for the target editing template, editing the editing operation options or material options in the target editing template;
    响应于所接收到的存储指令,存储编辑后的目标剪辑模板。In response to the received storage instruction, the edited target clip template is stored.
PCT/CN2020/127856 2020-01-02 2020-11-10 Method and device for generating multimedia resources WO2021135655A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP20910024.7A EP3929922A4 (en) 2020-01-02 2020-11-10 Method and device for generating multimedia resources
US17/479,549 US11557322B2 (en) 2020-01-02 2021-09-20 Method and device for generating multimedia resource

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010003239.X 2020-01-02
CN202010003239.XA CN111243632B (en) 2020-01-02 2020-01-02 Multimedia resource generation method, device, equipment and storage medium

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/479,549 Continuation US11557322B2 (en) 2020-01-02 2021-09-20 Method and device for generating multimedia resource

Publications (1)

Publication Number Publication Date
WO2021135655A1 true WO2021135655A1 (en) 2021-07-08

Family

ID=70866617

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/127856 WO2021135655A1 (en) 2020-01-02 2020-11-10 Method and device for generating multimedia resources

Country Status (4)

Country Link
US (1) US11557322B2 (en)
EP (1) EP3929922A4 (en)
CN (1) CN111243632B (en)
WO (1) WO2021135655A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113378070A (en) * 2021-08-11 2021-09-10 北京达佳互联信息技术有限公司 Information delivery method, device, server and storage medium
CN114222155A (en) * 2021-12-13 2022-03-22 北京达佳互联信息技术有限公司 Resource recommendation method and device, electronic equipment and storage medium

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111243632B (en) * 2020-01-02 2022-06-24 北京达佳互联信息技术有限公司 Multimedia resource generation method, device, equipment and storage medium
CN112073649B (en) 2020-09-04 2022-12-13 北京字节跳动网络技术有限公司 Multimedia data processing method, multimedia data generating method and related equipment
CN112367308A (en) * 2020-10-27 2021-02-12 广州朗国电子科技有限公司 Automatic making method, device and storage medium of multimedia playing content
CN112866798B (en) * 2020-12-31 2023-05-05 北京字跳网络技术有限公司 Video generation method, device, equipment and storage medium
CN113079405B (en) * 2021-03-26 2023-02-17 北京字跳网络技术有限公司 Multimedia resource editing method, device, equipment and storage medium
CN115269889A (en) * 2021-04-30 2022-11-01 北京字跳网络技术有限公司 Clipping template searching method and device
CN113473222B (en) * 2021-05-25 2023-10-10 北京达佳互联信息技术有限公司 Clip recommendation method, clip recommendation device, electronic device, storage medium and program product
CN115442539B (en) * 2021-06-04 2023-11-07 北京字跳网络技术有限公司 Video editing method, device, equipment and storage medium
CN115580749A (en) * 2021-06-17 2023-01-06 北京字跳网络技术有限公司 Display method, device and readable storage medium
CN115708349A (en) * 2021-08-18 2023-02-21 北京字跳网络技术有限公司 Method, apparatus, device and storage medium for multimedia resource editing scene
CN113923477A (en) * 2021-09-30 2022-01-11 北京百度网讯科技有限公司 Video processing method, video processing device, electronic equipment and storage medium
CN114125556B (en) * 2021-11-12 2024-03-26 深圳麦风科技有限公司 Video data processing method, terminal and storage medium
CN114125555B (en) * 2021-11-12 2024-02-09 深圳麦风科技有限公司 Editing data preview method, terminal and storage medium
CN114268748A (en) * 2021-12-24 2022-04-01 北京达佳互联信息技术有限公司 Video editing method and device
CN114666505A (en) * 2022-03-24 2022-06-24 臻迪科技股份有限公司 Method and system for controlling unmanned aerial vehicle to shoot and unmanned aerial vehicle system
CN116939284A (en) * 2022-03-29 2023-10-24 北京字跳网络技术有限公司 Material package generation method, video editing method, device, equipment and medium
CN114885211B (en) * 2022-04-27 2024-03-26 北京达佳互联信息技术有限公司 Media resource template generation method, media resource generation method and device
CN117082292A (en) * 2022-05-10 2023-11-17 北京字跳网络技术有限公司 Video generation method, apparatus, device, storage medium, and program product

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110276881A1 (en) * 2009-06-18 2011-11-10 Cyberlink Corp. Systems and Methods for Sharing Multimedia Editing Projects
WO2016128984A1 (en) * 2015-02-15 2016-08-18 Moviemation Ltd. Customized, personalized, template based online video editing
CN108391063A (en) * 2018-02-11 2018-08-10 北京秀眼科技有限公司 Video clipping method and device
CN108900897A (en) * 2018-07-09 2018-11-27 腾讯科技(深圳)有限公司 A kind of multimedia data processing method, device and relevant device
CN109168028A (en) * 2018-11-06 2019-01-08 北京达佳互联信息技术有限公司 Video generation method, device, server and storage medium
CN110536177A (en) * 2019-09-23 2019-12-03 北京达佳互联信息技术有限公司 Video generation method, device, electronic equipment and storage medium
CN111243632A (en) * 2020-01-02 2020-06-05 北京达佳互联信息技术有限公司 Multimedia resource generation method, device, equipment and storage medium

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AUPP624698A0 (en) * 1998-09-29 1998-10-22 Canon Kabushiki Kaisha Method and apparatus for multimedia editing
AU2217700A (en) * 1998-12-30 2000-07-31 Earthnoise.Com Inc. Creating and editing digital video movies
JP3763300B2 (en) * 2002-03-25 2006-04-05 ヤマハ株式会社 Template file editing apparatus and editing program
US7352952B2 (en) * 2003-10-16 2008-04-01 Magix Ag System and method for improved video editing
US10319409B2 (en) * 2011-05-03 2019-06-11 Idomoo Ltd System and method for generating videos
JP2016513399A (en) * 2013-02-11 2016-05-12 ゼファー、インク. Automatic pre- and post-roll production
US20150318020A1 (en) * 2014-05-02 2015-11-05 FreshTake Media, Inc. Interactive real-time video editor and recorder
CN104168417B (en) * 2014-05-20 2019-09-13 腾讯科技(深圳)有限公司 Image processing method and device
CN105320509B (en) * 2014-07-24 2020-03-17 腾讯科技(深圳)有限公司 Picture processing method and picture processing device
CN107251014A (en) * 2015-04-21 2017-10-13 深圳市大疆创新科技有限公司 A kind of media editing method, media editor and media computer
JP5903187B1 (en) * 2015-09-25 2016-04-13 株式会社グロリアス Automatic video content generation system
CN106028119B (en) * 2016-05-30 2019-07-19 徐文波 The customizing method and device of multimedia special efficacy
CN106844705B (en) * 2017-02-06 2021-01-05 百度在线网络技术(北京)有限公司 Method and apparatus for displaying multimedia content
CN106973304A (en) * 2017-02-14 2017-07-21 北京时间股份有限公司 Nonlinear editing method based on high in the clouds, apparatus and system
CN109963205A (en) * 2017-12-25 2019-07-02 上海全土豆文化传播有限公司 Multimedia clips method and device
CN109389428A (en) * 2018-09-28 2019-02-26 中国平安财产保险股份有限公司 Configuration method, device, computer equipment and the storage medium of wechat marketing

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110276881A1 (en) * 2009-06-18 2011-11-10 Cyberlink Corp. Systems and Methods for Sharing Multimedia Editing Projects
WO2016128984A1 (en) * 2015-02-15 2016-08-18 Moviemation Ltd. Customized, personalized, template based online video editing
CN108391063A (en) * 2018-02-11 2018-08-10 北京秀眼科技有限公司 Video clipping method and device
CN108900897A (en) * 2018-07-09 2018-11-27 腾讯科技(深圳)有限公司 A kind of multimedia data processing method, device and relevant device
CN109168028A (en) * 2018-11-06 2019-01-08 北京达佳互联信息技术有限公司 Video generation method, device, server and storage medium
CN110536177A (en) * 2019-09-23 2019-12-03 北京达佳互联信息技术有限公司 Video generation method, device, electronic equipment and storage medium
CN111243632A (en) * 2020-01-02 2020-06-05 北京达佳互联信息技术有限公司 Multimedia resource generation method, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3929922A4

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113378070A (en) * 2021-08-11 2021-09-10 北京达佳互联信息技术有限公司 Information delivery method, device, server and storage medium
CN114222155A (en) * 2021-12-13 2022-03-22 北京达佳互联信息技术有限公司 Resource recommendation method and device, electronic equipment and storage medium
CN114222155B (en) * 2021-12-13 2023-12-26 北京达佳互联信息技术有限公司 Resource recommendation method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111243632A (en) 2020-06-05
EP3929922A1 (en) 2021-12-29
EP3929922A4 (en) 2022-06-01
US11557322B2 (en) 2023-01-17
CN111243632B (en) 2022-06-24
US20220005508A1 (en) 2022-01-06

Similar Documents

Publication Publication Date Title
WO2021135655A1 (en) Method and device for generating multimedia resources
WO2021135678A1 (en) Editing template generating method and apparatus, electronic device, and storage medium
CN110233976B (en) Video synthesis method and device
CN110545476B (en) Video synthesis method and device, computer equipment and storage medium
CN109327608B (en) Song sharing method, terminal, server and system
CN109729372B (en) Live broadcast room switching method, device, terminal, server and storage medium
CN110248236B (en) Video playing method, device, terminal and storage medium
CN112052897B (en) Multimedia data shooting method, device, terminal, server and storage medium
CN111880888B (en) Preview cover generation method and device, electronic equipment and storage medium
CN112788359B (en) Live broadcast processing method and device, electronic equipment and storage medium
CN114546227B (en) Virtual lens control method, device, computer equipment and medium
CN112363660B (en) Method and device for determining cover image, electronic equipment and storage medium
CN111741366A (en) Audio playing method, device, terminal and storage medium
CN111711838A (en) Video switching method, device, terminal, server and storage medium
CN112417180A (en) Method, apparatus, device and medium for generating album video
CN112822544A (en) Video material file generation method, video synthesis method, device and medium
CN114554112B (en) Video recording method, device, terminal and storage medium
CN110717110B (en) Multimedia resource filtering method and device, electronic equipment and storage medium
CN107247549A (en) Obtain method, device, terminal and the storage medium of user's head portrait
CN110942426A (en) Image processing method and device, computer equipment and storage medium
CN111028315B (en) Picture display method, device, terminal and storage medium
CN113722040A (en) Work processing method, device, computer equipment and medium
CN117499750A (en) Comment issuing method, comment issuing device, terminal and storage medium
CN116647714A (en) Video generation method, device, electronic equipment and storage medium
CN113420172A (en) Picture sharing method and device, computer equipment and medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20910024

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020910024

Country of ref document: EP

Effective date: 20210920

NENP Non-entry into the national phase

Ref country code: DE