Processing method and device of material editing template, electronic equipment and storage medium
By scheduling editing tasks on different devices to obtain the material editing results and adjusting the template configuration parameters, the problem of inconsistent effects of material editing templates on different devices is solved, achieving higher consistency and quality material editing, and enhancing the adaptability and flexibility of the templates.
Patent Information
- Application Number
- CN202410777969.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2025-12-19
AI Technical Summary
Existing material editing templates produce inconsistent editing results when used on different devices, leading to high adaptation costs and a high risk of adaptation errors, thus limiting their application value in the video production field.
By scheduling editing tasks on the first and second devices respectively, the editing results of the first and second materials are obtained, and the configuration parameters of the reference material template are adjusted based on the comparison of the results to ensure consistent editing effects on different devices.
It improves the consistency and quality of material editing, enhances the flexibility, accuracy and adaptability of multimedia material editing and template application, and reduces the differences in editing effects caused by device differences.
Smart Images

Figure CN121174009A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer technology, and in particular to a method, apparatus, electronic device, and storage medium for processing material editing templates. Background Technology
[0002] With the rapid development of video platforms, people can flexibly choose to use editing templates when processing multimedia materials. This allows them to successfully create videos and complete the final product. Specifically, template creators can meticulously craft suitable editing templates based on their specific needs and share their creations for others to use.
[0003] However, a significant problem has emerged in practical application: when editing videos using shared and distributed media templates, the resulting video effects often exhibit inconsistencies. This phenomenon negatively impacts the widespread adoption and proper use of multimedia materials, leading to high adaptation costs and a susceptibility to errors, thus severely limiting the role and value of media editing templates in video production. Summary of the Invention
[0004] This disclosure provides a method, apparatus, electronic device, and storage medium for processing material editing templates, so as to optimize the configuration parameters of the material templates and ensure that the editing effect of the material templates is as consistent as possible on different devices.
[0005] In a first aspect, embodiments of this disclosure provide a method for processing material editing templates, the method comprising:
[0006] Determine the execution result of the first editing task corresponding to the first editing task. The first editing task is used to schedule the first device to perform material editing operations and generate material templates for the target multimedia material. The execution result of the first editing task is used to indicate the first material editing result and reference material template generated by the first editing task.
[0007] Determine the execution result of the second editing task corresponding to the second editing task. The second editing task is used to schedule the second device to perform material editing operations on the target multimedia material through the reference material template to present the editing effect related to the reference material template. The execution result of the second editing task is used to indicate the second material editing result generated by the second editing task. There are device differences between the first device and the second device.
[0008] Based on the editing results of the first and second materials, the configuration parameters of the reference material template are adjusted.
[0009] Secondly, this disclosure also provides a processing apparatus for material editing templates, the apparatus comprising:
[0010] The first determining module is used to determine the execution result of the first editing task corresponding to the first editing task. The first editing task is used to schedule the first device to perform material editing operations and generate material templates for the target multimedia material. The execution result of the first editing task is used to indicate the first material editing result and reference material template generated by the first editing task.
[0011] The second determining module is used to determine the execution result of the second editing task corresponding to the second editing task. The second editing task is used to schedule the second device to perform material editing operations on the target multimedia material through the reference material template to present the editing effect related to the reference material template. The execution result of the second editing task is used to indicate the second material editing result generated by the second editing task. The first device and the second device have device differences.
[0012] The template processing module is used to adjust the configuration parameters of the reference material template based on the editing results of the first material and the editing results of the second material.
[0013] Thirdly, this disclosure also provides an electronic device, which includes:
[0014] At least one processor; and
[0015] A memory that is communicatively connected to at least one processor; wherein,
[0016] The memory stores a computer program that can be executed by at least one processor, such that the at least one processor is able to perform the material editing template processing method of any of the above embodiments.
[0017] Fourthly, this disclosure also provides a computer-readable medium storing computer instructions that, when executed by a processor, implement the material editing template processing method of any of the above embodiments.
[0018] The technical solution of this disclosure embodiment schedules a first device to perform editing operations and generate material templates for target multimedia materials through a first editing task, thereby obtaining specific first material editing results and reference material templates. Simultaneously, a second editing task schedules a second device to edit the target multimedia materials using the reference material template to achieve editing effects related to the reference material template, and obtains second material editing results. This testing process fully considers the impact of device differences on editing effects in terms of task settings and result acquisition for different devices. Furthermore, based on the comparison of the first and second material editing results, the configuration parameters of the reference material template can be precisely optimized and adjusted, enabling the material template to better adapt to different devices and scenarios, improving the consistency and quality of material editing effects, avoiding undesirable situations where editing effects vary significantly on different devices due to device differences, and enhancing the flexibility, accuracy, and adaptability of multimedia material editing and template application.
[0019] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0020] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the originals and elements are not necessarily drawn to scale.
[0021] Figure 1 This is a flowchart illustrating a method for processing material editing templates provided in an embodiment of this disclosure;
[0022] Figure 2 This is an interactive schematic diagram of a material editing template processing method provided in an embodiment of this disclosure;
[0023] Figure 3 This is an interactive schematic diagram of another material editing template processing provided in this embodiment of the disclosure;
[0024] Figure 4 This is a schematic diagram of the structure of a material editing template processing device provided in an embodiment of this disclosure;
[0025] Figure 5 This is a schematic diagram of the structure of an electronic device that implements a material editing template processing method according to an embodiment of this disclosure. Detailed Implementation
[0026] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0027] It should be understood that the steps described in the method embodiments of this disclosure may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.
[0028] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.
[0029] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.
[0030] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".
[0031] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0032] Figure 1 This is a flowchart illustrating a method for processing a material editing template according to an embodiment of the present disclosure. This embodiment is applicable to situations where the editing effects of multimedia materials edited using a material template on different devices are inconsistent. This method can be executed by a material editing template processing device, which can be implemented in the form of software and / or hardware, and is generally integrated into any electronic device with network communication capabilities, such as a mobile terminal, a PC, or a server.
[0033] like Figure 1As shown, the material editing template processing method of this disclosure embodiment may include the following process:
[0034] S110. Determine the execution result of the first editing task corresponding to the first editing task. The first editing task is used to schedule the first device to perform material editing operations and generate material templates for the target multimedia material. The execution result of the first editing task is used to indicate the first material editing result and reference material template generated by the first editing task.
[0035] The first editing task can be the specific task of scheduling the first device to perform material editing operations on the target multimedia material using preset material templates and generating material templates. The preset material templates can be material templates pre-configured and provided in the first device. Using preset material templates for material editing has the advantages of high efficiency and convenience. It allows for the addition of new editing operations to existing, mature material templates corresponding to specific styles and effects, resulting in suitable material editing results and reference material templates based on these results, saving time and effort in creating material editing results from scratch.
[0036] Alternatively, the first editing task could be a specific task whereby the first device performs editing operations on the target multimedia material and generates a material template by selecting multiple editing operations. Regenerating the material editing results and creating reference material templates based on these results through direct clicking of multiple editing operations provides greater creative freedom and room for personalization, allowing users to shape the material according to their unique needs and immediate inspiration, without being limited by fixed templates.
[0037] Target multimedia materials refer to a specific combination of multimedia content required for the first editing task. These materials may include, but are not limited to, images and video clips. During the first editing task, a specific combination of multimedia materials related to or matching the task can be acquired through importing or real-time recording. For example, if the first editing task is to create a video, then it is necessary to determine the images, video clips, and other multimedia materials related to the video to be created.
[0038] See Figure 2After initiating the first editing task, the first device can be scheduled to simulate the process of editing target multimedia materials and generating material templates. For example, according to the desired editing effect, the first device can simulate selecting appropriate editing operation elements to edit the target multimedia materials so that the generated first material editing result presents the relevant editing effect. At the same time, a reference material template is formed based on the generated first material editing result, so that when this reference material template is used, the editing operation elements simulated on the first device can be executed to edit the target multimedia materials.
[0039] As an optional but non-limiting implementation, determining the execution result of the first editing task corresponding to the first editing task includes the following steps A1-A2:
[0040] Step A1: Start the pre-configured first editing task and send the first editing task configuration information to the first device. The first editing task configuration information is used to enable the first device to perform material editing operations on the target multimedia material and output the first material editing result and the reference material template formed according to the first material editing result.
[0041] Step A2: Receive the first material editing result and reference material template generated by the first device, and determine the first material editing result and reference material template as the first editing task execution result.
[0042] See Figure 2 and Figure 3 After initiating the first editing task, the system dynamically retrieves the first editing task configuration information from the server to ensure the latest and most accurate configuration data is available in real time, adapting to different material template testing needs and scenarios. After sending the first editing task configuration information to the selected first device, the first device automatically imports specific target multimedia materials to simulate editing operations on those materials. The target multimedia materials can be in various formats, such as images and videos. By simulating editing operations on the target multimedia materials, the first device outputs a specific first material editing result and simultaneously generates a reference material template based on this result.
[0043] See Figure 2 and Figure 3 This allows for the automatic import of specific target multimedia materials in advance, while simultaneously simulating editing operations on these materials (such as "mockAB"). This approach ensures that the necessary material resources are prepared beforehand for editing. For instance, by calling a pre-configured deep link interface on the first device, the album page can be accessed, enabling the automatic import of multimedia materials from the album.
[0044] See Figure 2 and Figure 3 After importing the target multimedia materials, the system will automatically enter the multimedia material editing page. By triggering and selecting appropriate editing elements on this page, users can edit the target multimedia materials. This allows for convenient selection of multimedia materials from the album and entry into the editing environment, resulting in the first edited material displaying relevant editing effects. For example, using pre-developed automated page editing scripts, the system can automatically edit the imported target multimedia materials using text effects and other editing elements, efficiently adding and setting various effects to achieve rich and diverse editing effects for the target multimedia materials.
[0045] See Figure 2 and Figure 3 Clicking the "Next" button on the media editing page will automatically edit the media and synthesize the media template based on the editing elements used for editing the target multimedia media. Since a mock AB was previously declared, the first media editing result and the reference media template generated based on it will not be actually published; they are only processed and verified within the current workflow. Subsequently, a polling process continuously checks whether the technician has successfully generated the first media editing result and the reference media template. Once confirmed, they are exported and uploaded to the server. This is done to facilitate comparison with the media editing result generated using the reference media template, allowing for evaluation and analysis of whether the final editing result of the reference media template meets expectations. In the first editing task, the target multimedia media will be presented according to the editing effects corresponding to the simulated selected editing elements.
[0046] See Figure 2 and Figure 3 The output of the first editing task includes the first material editing result and a reference material template. After receiving the first material editing result and the reference material template generated by the first device, the server will jointly determine these two as the execution result of the first editing task. In other words, it includes the actual edited material result and the material template formed based on it, and the two together reflect the final output of the first editing task.
[0047] As an optional but non-limiting implementation, the first editing task configuration information is used to indicate the source of multimedia materials used when editing materials on the first device and the corresponding editing operation elements used to edit the multimedia materials. The editing operation elements are used to indicate the editing actions to be performed when editing the multimedia materials.
[0048] The first editing task configuration page supports self-service query operations, allowing users to easily find existing configuration information. It also supports adding, updating, and deleting configuration information to retrieve the first editing task configuration details. Next, you'll enter the trigger page and perform a series of settings, such as setting the required specific configuration's `config_id` and installation package information, as well as specifying the recipients of task result notifications. After completing the settings, click the "Create Task" button, which will then take you to the task list page, where you can see the newly created first editing task.
[0049] See Figure 2 and Figure 3 The first editing task configuration information has a clear indicative function, which can be used to indicate the source of the multimedia materials used when the first device starts editing the materials, as well as the corresponding editing operation elements used when editing the multimedia materials. The editing operation elements here are used to indicate the specific editing actions that need to be performed during the process of editing the multimedia materials.
[0050] Optionally, editing operation elements can be various basic elements or operational logic involved in editing multimedia materials. Editing multimedia materials through editing operation elements can enable the edited multimedia materials to present corresponding editing effects. Among them, editing operation elements include at least one of the following: image processing (such as cropping, scaling, rotating, adjusting colors, etc.), audio processing (such as volume adjustment, audio editing, adding sound effects), video processing (editing, splicing, adding special effects, setting subtitles, etc.), text editing (font selection, font size adjustment, color change, etc.), layout design (element arrangement, page planning, etc.), special effects application (such as blur, shadow, border, etc.), and format conversion (conversion between different file formats).
[0051] S120. Determine the execution result of the second editing task corresponding to the second editing task. The second editing task is used to schedule the second device to perform material editing operations on the target multimedia material through the reference material template to present the editing effect related to the reference material template. The execution result of the second editing task is used to indicate the second material editing result generated by the second editing task. There are device differences between the first device and the second device.
[0052] See Figure 2 and Figure 3The second editing task can be a specific task whereby a second device uses a reference material template output from the first device to perform material editing operations on the same target multimedia material. The reference material template is a template created by the first device based on simulation, selecting appropriate editing operation elements to edit and synthesize the target multimedia material. The reference material template can be composed of suitable editing operation elements (such as cutting, color correction, adding effects, etc.) selected by the first device based on simulation. Therefore, when using the reference material template, the editing operation elements involved in the reference material template can be fully utilized to edit the target multimedia material, so that the edited target multimedia material can present the editing effects associated with the reference material template, such as creating a specific atmosphere or highlighting certain elements.
[0053] See Figure 2 and Figure 3 The second editing task can be used to schedule a second device to perform editing operations on the target multimedia material based on the reference material template. The purpose is to achieve the desired editing effect associated with the reference material template. There are differences between the first and second devices, potentially in performance, functionality, and features. The second editing task is to verify the differences produced by using the same editing elements on different devices, thereby optimizing and adjusting the reference material template to ensure that the editing effect of using a material template with the same editing elements is as consistent as possible across different devices.
[0054] Optionally, the hardware performance of the devices configured on the first device and the second device are different, the system types of the devices configured on the first device and the second device are different, and the compatibility of the first device and the second device when editing the same multimedia material is different.
[0055] As an optional but non-limiting implementation, determining the execution result of the second editing task includes the following steps B1-B2:
[0056] Step B1: Start the pre-configured second editing task and send the second editing task configuration information to the second device. The second editing task configuration information is used to enable the second device to perform material editing operations on the target multimedia material using the reference material template and output the second material editing result so that the output second material editing result can have the editing effect associated with the reference material template.
[0057] Step B2: Receive the editing result of the second material generated by the second device, and determine the editing result of the second material as the execution result of the second editing task.
[0058] See Figure 2 and Figure 3After receiving the first material editing result and reference material template sent by the first device, the system initiates a second editing task, dynamically retrieving the second editing task configuration information related to the second editing task from the server. After sending the second editing task configuration information to the selected second device, the second device simulates material editing operations on the automatically imported target multimedia material using the reference material template indicated by the second editing task configuration information. The output of the second editing task execution includes the second material editing result.
[0059] See Figure 2 and Figure 3 When using the reference material template indicated by the second editing task configuration information to simulate editing the target multimedia material, since the reference material template encapsulates a series of editing operation elements used during the material editing on the first device, the user can simulate editing the target multimedia material by following the executable operation logic corresponding to the callable editing operation elements encapsulated in the reference material template, or by following the prompts of the callable editing operation elements in the reference material template. Here, editing operation elements refer to various operations performed on the multimedia material during the media material editing process, such as cropping and adding effects.
[0060] See Figure 2 and Figure 3 Based on a reference template, which contains specific instructions and editing elements on how to edit target multimedia materials, such as editing order and methods, and special effects, the editing process is as follows: When editing target multimedia materials, since the reference template encapsulates the editing elements used on the first device, editing the same target multimedia materials on the second device using the reference template is equivalent to using the same editing elements. Therefore, the desired editing effect generated when editing multimedia materials on the second device using the reference template is essentially the same as the editing effect corresponding to the first material editing result generated on the first device.
[0061] See Figure 2 and Figure 3The system dynamically retrieves relevant configuration information for the second editing task from the server, automatically imports the target multimedia materials in advance, and performs a "MockAB" operation. By calling a pre-configured deeplink interface and passing in parameters such as the URL of the reference material template and the specified target multimedia material name, the second device can automatically download the reference material template and combine it with the specified multimedia materials to synthesize a specific second material editing result. The system continuously polls to check whether the second material editing result has been generated. If it has, the second material editing result is exported and uploaded to the server so that the server can compare the reported first material editing result and the second material editing result to check whether the two effects are consistent, thereby ensuring the accuracy and consistency of the entire process and results.
[0062] As an optional but non-limiting implementation, the second editing task configuration information is used to indicate the source of multimedia materials used when editing materials using the reference material template on the second device, as well as the reference material template generated when editing multimedia materials on the first device. Each reference material template is configured with editing operation elements used when editing multimedia materials, and the editing operation elements are used to indicate the editing actions to be performed when editing multimedia materials.
[0063] S130. Based on the editing results of the first material and the second material, adjust the configuration parameters of the reference material template.
[0064] See Figure 2 and Figure 3 By analyzing and evaluating the first material editing result (the material editing operation result from the first device) and the second material editing result (the material editing result from the second device editing the same multimedia material according to the reference material template generated by the first device), the comparison results can reveal which aspects may lead to inconsistent editing effects of the reference material template generated on different devices during the actual editing and generation of the reference material template.
[0065] See Figure 2 and Figure 3 To address the differences between the editing results of the first and second source materials identified through comparison, the relevant configuration parameters of the reference material template, such as specific editing rules, effect settings, and parameter values, were adjusted and improved accordingly. This ensures that subsequent editing operations based on the reference material template on different devices better meet expectations, achieving more consistent editing results, or better adapting to different scenarios and needs. By continuously adjusting based on actual results, the quality and applicability of the reference material template can be gradually improved.
[0066] As an optional but non-limiting implementation, the configuration parameters of the reference material template are adjusted based on the editing results of the first and second materials, including the following steps C1-C3:
[0067] Step C1: Compare frame by frame the first image in each frame of the first material editing result with the second image in each frame of the second material editing result to obtain the image difference information between the first image and the second image corresponding to the same frame.
[0068] Step C2: Based on the image difference information between the first and second images corresponding to the same frame, determine the configuration parameters to be adjusted in the configuration parameters of the reference material template.
[0069] Step C3: Adjust the configuration parameters to be adjusted in the configuration parameters of the reference material template so that the difference in editing effect when the reference material template is loaded and used on different devices is less than the preset difference.
[0070] See Figure 2 and Figure 3 First, a detailed frame-by-frame comparison must be performed on the first image in each frame of the first source material's editing result and the second image in each frame of the second source material's editing result. This frame-by-frame comparison allows us to obtain specific image differences between the corresponding first and second images within the same frame. In other words, it identifies the differences in image content, features, and other aspects when the reference source material template is used on a second device, from an editing perspective.
[0071] See Figure 2 and Figure 3 Next, based on the image difference information between the first and second images corresponding to the same frame, we can determine which configuration parameters of the reference material template need adjustment. In other words, based on the analysis of image differences, we identify the template configuration parameters that might cause such differences. Then, we optimize and adjust the configuration parameters of the reference material template that are identified as needing adjustment. The purpose of this is to ensure that the difference in editing effects produced when the reference material template is loaded and used on different devices is less than a pre-set difference value. Through the adjustment process, the template can present a more similar or consistent editing effect on different devices, reducing the effect differences caused by device differences, thereby improving the template's versatility and adaptability. This achieves the goal of improving the consistency and quality of material editing under different conditions through the analysis of image differences and the adjustment of template parameters.
[0072] The technical solution of this disclosure embodiment schedules a first device to perform editing operations and generate material templates for target multimedia materials through a first editing task, thereby obtaining specific first material editing results and reference material templates. Simultaneously, a second editing task schedules a second device to edit the target multimedia materials using the reference material template to achieve editing effects related to the reference material template, and obtains second material editing results. This testing process fully considers the impact of device differences on editing effects in terms of task settings and result acquisition for different devices. Furthermore, based on the comparison of the first and second material editing results, the configuration parameters of the reference material template can be precisely optimized and adjusted, enabling the material template to better adapt to different devices and scenarios, improving the consistency and quality of material editing effects, avoiding undesirable situations where editing effects vary significantly on different devices due to device differences, and enhancing the flexibility, accuracy, and adaptability of multimedia material editing and template application.
[0073] Figure 4 This is a schematic diagram of a material editing template processing device provided in an embodiment of the present disclosure. The present disclosure is applicable to situations where the editing effects of multimedia materials edited using material templates on different devices are inconsistent. The material editing template processing device can be implemented in the form of software and / or hardware, and is generally integrated on any electronic device with network communication function, such as a mobile terminal, PC, or server.
[0074] like Figure 4 As shown, the processing apparatus for material editing templates in this embodiment of the present disclosure may include the following:
[0075] The first determining module 510 is used to determine the execution result of the first editing task corresponding to the first editing task. The first editing task is used to schedule the first device to perform material editing operations and generate material templates for the target multimedia material. The execution result of the first editing task is used to indicate the first material editing result and reference material template generated by the first editing task.
[0076] The second determining module 520 is used to determine the execution result of the second editing task corresponding to the second editing task. The second editing task is used to schedule the second device to perform material editing operations on the target multimedia material through the reference material template to present the editing effect related to the reference material template. The execution result of the second editing task is used to indicate the second material editing result generated by the second editing task. The first device and the second device have device differences.
[0077] The template processing module 530 is used to adjust the configuration parameters of the reference material template based on the editing results of the first material and the editing results of the second material.
[0078] Based on the above embodiments, optionally, determining the execution result of the first editing task corresponding to the first editing task includes:
[0079] A pre-configured first editing task is initiated, and first editing task configuration information is sent to the first device. The first editing task configuration information is used to enable the first device to perform material editing operations on the target multimedia material and output the first material editing result and the reference material template formed according to the first material editing result.
[0080] Receive the first material editing result and reference material template generated by the first device, and determine the first material editing result and reference material template as the first editing task execution result.
[0081] Based on the above embodiments, optionally, the first editing task configuration information is used to indicate the source of multimedia materials used when editing materials on the first device and the corresponding editing operation elements used to edit the multimedia materials, wherein the editing operation elements are used to indicate the editing actions to be performed when editing the multimedia materials.
[0082] Based on the above embodiments, optionally, determining the execution result of the second editing task corresponding to the second editing task includes:
[0083] Initiate a pre-configured second editing task and send second editing task configuration information to the second device. The second editing task configuration information is used to enable the second device to perform material editing operations on the target multimedia material using the reference material template and output the second material editing result, so that the output second material editing result can have the editing effect associated with the reference material template.
[0084] Receive the editing result of the second material generated by the second device, and determine the editing result of the second material as the execution result of the second editing task.
[0085] Based on the above embodiments, optionally, the second editing task configuration information is used to indicate the source of multimedia materials used when editing materials using a reference material template on the second device and the reference material template generated when editing multimedia materials on the first device. Each reference material template is configured with editing operation elements used when editing multimedia materials, and the editing operation elements are used to indicate the editing actions to be performed when editing multimedia materials.
[0086] Based on the above embodiments, optionally, the hardware performance of the devices configured on the first device and the second device are different, the system types of the devices configured on the first device and the second device are different, and the compatibility of the first device and the second device when editing the same multimedia material is different.
[0087] Based on the above embodiments, optionally, the configuration parameters of the reference material template are adjusted based on the first material editing result and the second material editing result, including:
[0088] The first image of each frame in the first material editing result is compared with the second image of each frame in the second material editing result frame by frame to obtain the image difference information between the first image and the second image corresponding to the same frame;
[0089] Based on the image difference information between the first image and the second image corresponding to the same frame, the configuration parameters to be adjusted in the configuration parameters of the reference material template are determined;
[0090] The configuration parameters of the reference material template to be adjusted are adjusted so that the difference in editing effect produced by the reference material template when loaded and used on different devices is less than the preset difference.
[0091] The technical solution of this disclosure embodiment schedules a first device to perform editing operations and generate material templates for target multimedia materials through a first editing task, thereby obtaining specific first material editing results and reference material templates. Simultaneously, a second editing task schedules a second device to edit the target multimedia materials using the reference material template to achieve editing effects related to the reference material template, and obtains second material editing results. This testing process fully considers the impact of device differences on editing effects in terms of task settings and result acquisition for different devices. Furthermore, based on the comparison of the first and second material editing results, the configuration parameters of the reference material template can be precisely optimized and adjusted, enabling the material template to better adapt to different devices and scenarios, improving the consistency and quality of material editing effects, avoiding undesirable situations where editing effects vary significantly on different devices due to device differences, and enhancing the flexibility, accuracy, and adaptability of multimedia material editing and template application.
[0092] The material editing template processing apparatus provided in this disclosure can execute the material editing template processing method provided in any embodiment of this disclosure, and has the corresponding functional modules and beneficial effects for executing the material editing template processing method.
[0093] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of each functional unit are only for easy differentiation and are not used to limit the protection scope of the embodiments of this disclosure.
[0094] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Reference is made below. Figure 5 It illustrates an electronic device suitable for implementing embodiments of the present disclosure (e.g., Figure 5 The diagram below shows the structure of the terminal device or server 600. The terminal device in this embodiment may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), and vehicle terminals (e.g., vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Figure 5 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.
[0095] like Figure 5 As shown, electronic device 600 may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 602 or a program loaded from storage device 608 into random access memory (RAM) 603. The RAM 603 also stores various programs and data required for the operation of electronic device 600. The processing unit 601, ROM 602, and RAM 603 are interconnected via bus 604. An edit / output (I / O) interface 605 is also connected to bus 604.
[0096] Typically, the following devices can be connected to I / O interface 605: input devices 606 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 607 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 608 including, for example, magnetic tapes, hard disks, etc.; and communication devices 609. Communication device 609 allows electronic device 600 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 5 An electronic device 600 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.
[0097] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 609, or installed from a storage device 608, or installed from a ROM 602. When the computer program is executed by the processing device 601, it performs the functions defined in the methods of embodiments of this disclosure.
[0098] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0099] The electronic device provided in this embodiment and the material editing template processing method provided in the above embodiments belong to the same inventive concept. Technical details not described in detail in this embodiment can be found in the above embodiments, and this embodiment has the same beneficial effects as the above embodiments.
[0100] This disclosure provides a computer storage medium storing a computer program that, when executed by a processor, implements the material editing template processing method provided in the above embodiments.
[0101] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0102] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol) and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.
[0103] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.
[0104] The aforementioned computer-readable medium carries one or more programs. When the electronic device executes one or more of these programs, the electronic device causes the following to occur: Determine the execution result of a first editing task corresponding to a first editing task, wherein the first editing task is used to schedule a first device to perform material editing operations and generate a material template for a target multimedia material, and the execution result of the first editing task is used to indicate the first material editing result and reference material template generated corresponding to the first editing task; determine the execution result of a second editing task corresponding to a second editing task, wherein the second editing task is used to schedule a second device to perform material editing operations on the target multimedia material through the reference material template to present an editing effect related to the reference material template, and the execution result of the second editing task is used to indicate the second material editing result generated corresponding to the second editing task, wherein the first device and the second device have device differences; and optimize and adjust the configuration parameters of the reference material template based on the first material editing result and the second material editing result.
[0105] Computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof, including but not limited to object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0106] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0107] The units described in the embodiments of this disclosure can be implemented in software or in hardware. The name of a unit does not necessarily limit the unit itself; for example, the first acquisition unit can also be described as "a unit that acquires at least two Internet Protocol addresses".
[0108] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0109] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0110] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.
[0111] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.
[0112] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.
Claims
1. A method for processing material editing templates, characterized in that, The method includes: Determine the execution result of the first editing task corresponding to the first editing task. The first editing task is used to schedule the first device to perform material editing operations and generate material templates for the target multimedia material. The execution result of the first editing task is used to indicate the first material editing result and reference material template generated by the first editing task. Determine the execution result of the second editing task corresponding to the second editing task. The second editing task is used to schedule the second device to perform material editing operations on the target multimedia material through the reference material template to present the editing effect related to the reference material template. The execution result of the second editing task is used to indicate the second material editing result generated by the second editing task. There are device differences between the first device and the second device. Based on the editing results of the first and second materials, the configuration parameters of the reference material template are adjusted.
2. The method according to claim 1, characterized in that, Determine the execution result of the first editing task corresponding to the first editing task, including: A pre-configured first editing task is initiated, and first editing task configuration information is sent to the first device. The first editing task configuration information is used to enable the first device to perform material editing operations on the target multimedia material and output the first material editing result and the reference material template formed according to the first material editing result. Receive the first material editing result and reference material template generated by the first device, and determine the first material editing result and reference material template as the first editing task execution result.
3. The method according to claim 2, characterized in that, The first editing task configuration information is used to indicate the source of multimedia materials used when editing materials on the first device and the corresponding editing operation elements used to edit the multimedia materials. The editing operation elements are used to indicate the editing actions to be performed when editing the multimedia materials.
4. The method according to claim 1, characterized in that, Determine the execution result of the second editing task corresponding to the second editing task, including: Initiate a pre-configured second editing task and send second editing task configuration information to the second device. The second editing task configuration information is used to enable the second device to perform material editing operations on the target multimedia material using the reference material template and output the second material editing result, so that the output second material editing result can have the editing effect associated with the reference material template. Receive the editing result of the second material generated by the second device, and determine the editing result of the second material as the execution result of the second editing task.
5. The method according to claim 4, characterized in that, The second editing task configuration information is used to indicate the source of multimedia materials used when editing materials using the reference material template on the second device, and the reference material template generated when editing multimedia materials on the first device. Each reference material template is configured with editing operation elements used when editing multimedia materials, and the editing operation elements are used to indicate the editing actions to be performed when editing multimedia materials.
6. The method according to claim 1, characterized in that, The hardware performance of the devices configured on the first device and the second device is different, the system types of the devices configured on the first device and the second device are different, and the compatibility of the first device and the second device when editing the same multimedia material is different.
7. The method according to claim 1, characterized in that, Based on the editing results of the first and second materials, the configuration parameters of the reference material template are adjusted, including: The first image of each frame in the first material editing result is compared with the second image of each frame in the second material editing result frame by frame to obtain the image difference information between the first image and the second image corresponding to the same frame; Based on the image difference information between the first image and the second image corresponding to the same frame, the configuration parameters to be adjusted in the configuration parameters of the reference material template are determined; The configuration parameters of the reference material template to be adjusted are adjusted so that the difference in editing effect produced by the reference material template when loaded and used on different devices is less than the preset difference.
8. A processing device for material editing templates, characterized in that, The device includes: The first determining module is used to determine the execution result of the first editing task corresponding to the first editing task. The first editing task is used to schedule the first device to perform material editing operations and generate material templates for the target multimedia material. The execution result of the first editing task is used to indicate the first material editing result and reference material template generated by the first editing task. The second determining module is used to determine the execution result of the second editing task corresponding to the second editing task. The second editing task is used to schedule the second device to perform material editing operations on the target multimedia material through the reference material template to present the editing effect related to the reference material template. The execution result of the second editing task is used to indicate the second material editing result generated by the second editing task. The first device and the second device have device differences. The template processing module is used to adjust the configuration parameters of the reference material template based on the editing results of the first material and the editing results of the second material.
9. An electronic device, characterized in that, The electronic device includes: One or more processors; Storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the material editing template processing method as described in any one of claims 1-7.
10. A storage medium containing computer-executable instructions, characterized in that, The computer-executable instructions, when executed by a computer processor, are used to perform the processing method of the material editing template as described in any one of claims 1-7.