Multimedia resource editing method, device, electronic device and storage medium
By providing editing recipe controls in the video editing interface, users can directly apply editing recipes in historical time periods, solving the problem of cumbersome parameters manually adjusting parameters during video editing, and improving editing efficiency and human-computer interaction rate.
Patent Information
- Application Number
- CN202310211849.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-27
- Publication Date
- 2025-03-21
- Estimated Expiration
- 2043-02-27
AI Technical Summary
During the video editing process, users need to frequently manually add filters and adjust contrast and color temperature, which leads to cumbersome operations and reduces the human-computer interaction rate and the editing efficiency of multimedia resources.
Provide a multimedia resource editing method. By displaying recipe controls in the resource editing interface, users can select editing recipes within the historical time period and directly apply them to the target multimedia resource to reduce the need for manual adjustment.
This method simplifies the video editing process, reduces the complexity of user operations, improves human-computer interaction efficiency, and improves the editing efficiency of multimedia resources, which is in line with user habits.
Smart Images

Figure CN116208809B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of multimedia technology, and in particular to a method, device, electronic device and storage medium for editing multimedia resources. Background Art
[0002] With the development of multimedia technology, more and more users are accustomed to recording their lives through videos. Before publishing a video, users often use video editing applications to edit multimedia resources such as original videos or multiple original pictures to obtain the video to be published. Among them, editing generally includes adding filters, adjusting contrast, and adjusting color temperature. Since users need to re-add filters, re-adjust contrast, color temperature and other parameters every time they edit a video, the operation is cumbersome, resulting in a low human-computer interaction rate. Summary of the invention
[0003] The present disclosure provides a method, device, electronic device and storage medium for editing multimedia resources, which can directly edit target multimedia resources using editing recipes, which not only conforms to user habits, but also does not require manual adjustment of settings every time, is easy to operate, improves human-computer interaction efficiency, and helps to improve the editing efficiency of multimedia resources. The technical solution of the present disclosure is as follows:
[0004] According to one aspect of an embodiment of the present disclosure, a method for editing multimedia resources is provided, the method comprising:
[0005] Displaying a target multimedia resource to be edited and a recipe control in a resource editing interface, wherein the recipe control is used to provide an editing recipe for the target multimedia resource, wherein the editing recipe is generated based on a filter indicated by a filter application operation and a resource processing parameter indicated by an adjustment operation within a historical time period;
[0006] In response to a triggering operation on the recipe control, displaying at least one editing recipe in the resource editing interface;
[0007] In response to a selection operation on any editing recipe, the target multimedia resource is edited based on the filter and resource processing parameters in the editing recipe.
[0008] According to another aspect of an embodiment of the present disclosure, a multimedia resource editing device is provided, the device comprising:
[0009] A display unit configured to display a target multimedia resource to be edited and a recipe control in a resource editing interface, wherein the recipe control is used to provide an editing recipe for the target multimedia resource, wherein the editing recipe is generated based on a filter indicated by a filter application operation and a resource processing parameter indicated by an adjustment operation within a historical time period;
[0010] The display unit is further configured to display at least one editing recipe in the resource editing interface in response to a triggering operation on the recipe control;
[0011] The editing unit is configured to execute, in response to a selection operation on any editing recipe, editing the target multimedia resource based on the filter and resource processing parameters in the editing recipe.
[0012] In some embodiments, the display unit is configured to perform a clipping operation on the target multimedia resource to be clipped, display the resource clipping interface, and display the target multimedia resource and filter control in the resource clipping interface; in response to a triggering operation on the filter control, display the recipe control in the clipping panel of the resource clipping interface, and the recipe control is displayed in the filter option of the clipping panel in the form of a filter type label.
[0013] In some embodiments, the display unit is configured to execute a clipping operation on the target multimedia resource to be clipped, and display the resource clipping interface, in which the target multimedia resource and adjustment controls are displayed; in response to a triggering operation on the adjustment control, display a clipping panel in the resource clipping interface, in which adjustment options and filter option controls are displayed, and the adjustment options are used to adjust the parameters of the target multimedia resource; in response to a selection operation on the filter option control, replace the adjustment options in the clipping panel with filter options, the filter options include the recipe control, and the recipe control is displayed in the filter option in the form of a filter type label.
[0014] In some embodiments, the display unit is configured to display the recipe control in the clipping panel as a triggerable state when the at least one clipping recipe is stored; and to display the recipe control in the clipping panel as a non-triggerable state when the at least one clipping recipe is not stored.
[0015] In some embodiments, the apparatus further comprises:
[0016] The prompt unit is configured to display prompt information in response to a triggering operation on the recipe control when the recipe control is in an untriggerable state, wherein the prompt information is used to prompt that no editing recipe is stored at the current moment.
[0017] In some embodiments, the display unit is configured to execute, in response to a trigger operation on the recipe control, obtain a generation time of the at least one editing recipe; and display the at least one editing recipe in the resource editing interface in reverse order of generation time.
[0018] In some embodiments, the display unit is configured to execute, in response to a trigger operation on the recipe control, obtain the number of times the at least one editing recipe is used; and display the at least one editing recipe in the resource editing interface in order of the number of times used from most to least.
[0019] In some embodiments, the display unit is configured to execute a trigger operation on the recipe control to obtain a historical resource type corresponding to the at least one editing recipe, where the historical resource type corresponding to the editing recipe is a type of multimedia resource edited based on the editing recipe within a historical time period; based on the historical resource type corresponding to the at least one editing recipe and the type of the target multimedia resource, display the at least one editing recipe in the resource editing interface.
[0020] In some embodiments, the editing unit is configured to execute, in response to a selection operation on any editing recipe, display a filter bar of the editing recipe, and display a sliding mark on the filter bar; in response to a sliding operation on the sliding mark, adjust the filter parameters corresponding to the filter in the editing recipe, and the filter parameters are used to indicate the strength of the filter applied in the editing recipe; based on the adjusted filter parameters and the resource processing parameters in the editing recipe, edit the target multimedia resource.
[0021] In some embodiments, the editing unit includes:
[0022] A display subunit is configured to display at least one adjustment option in response to a triggering operation on an adjustment option control when any editing recipe is selected;
[0023] A setting subunit, configured to execute, in response to a triggering operation on any adjustment option, setting a resource processing parameter of the target multimedia resource;
[0024] The editing subunit is configured to execute editing of the target multimedia resource based on the editing recipe and the resource processing parameters corresponding to the at least one adjustment option.
[0025] In some embodiments, the editing subunit is configured to execute obtaining resource processing parameters indicated by the adjustment operation in the editing recipe;
[0026] The resource processing parameters indicated by the adjustment operation and the resource processing parameters corresponding to the at least one adjustment option are weightedly summed to obtain target processing parameters; and the target multimedia resources are edited based on the filters in the editing recipe and the target processing parameters.
[0027] In some embodiments, the editing sub-unit is configured to execute and obtain the resource processing parameters indicated by the adjustment operation in the editing recipe; when there is duplication between at least one adjustment option and the adjustment options corresponding to the resource processing parameters in the editing recipe, the target multimedia resource is edited based on the resource processing parameters of the at least one adjustment option.
[0028] In some embodiments, the display unit is further configured to display a combination label on the picture track corresponding to the target multimedia resource in response to a trigger operation on any adjustment option when any editing recipe is selected, the picture track including multiple frames of images in the target multimedia resource, and the combination label is marked with the name of the editing recipe and an adjustment identifier, and the adjustment identifier is used to indicate that an adjustment operation exists in the editing process of the target multimedia resource.
[0029] In some embodiments, a recipe saving control is displayed in the resource editing interface;
[0030] The device also includes:
[0031] The generating unit is configured to generate a new editing recipe based on the adjusted filter parameters or the resource processing parameters in response to a triggering operation on the recipe saving control.
[0032] According to another aspect of an embodiment of the present disclosure, an electronic device is provided, the electronic device comprising:
[0033] one or more processors;
[0034] A memory for storing program codes executable by the processor;
[0035] The processor is configured to execute the program code to implement the above-mentioned method for editing multimedia resources.
[0036] According to another aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When a program code in the computer-readable storage medium is executed by a processor of an electronic device, the electronic device can execute the above-mentioned method for editing multimedia resources.
[0037] According to another aspect of an embodiment of the present disclosure, a computer program product is provided, including a computer program / instruction, which implements the above-mentioned method for editing multimedia resources when executed by a processor.
[0038] The disclosed embodiments provide a method for editing multimedia resources, which can provide an editing recipe generated based on filters and resource processing parameters used by users when editing multimedia resources in a historical time period, and edit target multimedia resources based on the editing recipe. Since the editing recipe is an editing method used by users in a historical time period, the editing recipe is used to directly edit the target multimedia resources, which not only conforms to user habits, but also eliminates the need to manually adjust settings each time, is simple to operate, improves human-computer interaction efficiency, and helps to improve the editing efficiency of multimedia resources.
[0039] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0041] Figure 1 The present invention is a schematic diagram of an implementation environment of a multimedia resource editing method according to an exemplary embodiment.
[0042] Figure 2 The figure is a flow chart of a method for editing multimedia resources according to an exemplary embodiment.
[0043] Figure 3 The figure is a flow chart of another method for editing multimedia resources according to an exemplary embodiment.
[0044] Figure 4 The diagram is a schematic diagram showing a recipe control according to an exemplary embodiment.
[0045] Figure 5 is a schematic diagram showing another display recipe control according to an exemplary embodiment.
[0046] Figure 6 is a schematic diagram of an editing recipe according to an exemplary embodiment.
[0047] Figure 7 is a schematic diagram of managing editing recipes according to an exemplary embodiment.
[0048] Figure 8 is a schematic diagram showing an adjustment filter according to an exemplary embodiment.
[0049] Fig. 9 The diagram is a schematic diagram showing a method of adjusting resource processing parameters according to an exemplary embodiment.
[0050] Fig.10The figure is a schematic diagram of a combined label according to an exemplary embodiment.
[0051] Fig.11 is a schematic diagram of a recipe saving control according to an exemplary embodiment.
[0052] Fig.12 The present invention is a schematic diagram showing a process of editing multimedia resources according to an exemplary embodiment.
[0053] Fig.13 The present invention is a block diagram of a multimedia resource editing device according to an exemplary embodiment.
[0054] Fig.14 The figure is a block diagram of another multimedia resource editing device according to an exemplary embodiment.
[0055] Fig.15 It is a block diagram of a terminal according to an exemplary embodiment. DETAILED DESCRIPTION
[0056] In order to enable ordinary persons 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 clearly and completely described below in conjunction with the accompanying drawings.
[0057] 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 order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0058] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this disclosure are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions. For example, the parameters indicated by the filter application operation and adjustment operation involved in this disclosure and the editing formulas are all obtained with full authorization.
[0059] Figure 1 FIG. 1 is a schematic diagram of an implementation environment of a method for editing multimedia resources according to an exemplary embodiment. Figure 1, the implementation environment specifically includes: a terminal 101 and a server 102.
[0060] The terminal 101 is at least one of a smart phone, a smart watch, a desktop computer, a laptop, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 player (Moving Picture Experts Group Audio Layer IV), and a laptop computer. An application that supports editing multimedia resources is installed on the terminal 101. A user can log in to the application through the terminal 101 to obtain the services provided by the application. The terminal 101 can be connected to the server 102 through a wireless network or a wired network, and then can obtain the filters required for editing multimedia resources from the server 102. The terminal 101 can use the obtained filters to edit the multimedia resources, and adjust the contrast, saturation and other parameters of the multimedia resources through the above-mentioned application to achieve the purpose of editing the multimedia resources.
[0061] The terminal 101 generally refers to one of a plurality of terminals, and the present embodiment is described by taking the terminal 101 as an example. Those skilled in the art may know that the number of the above terminals may be more or less. For example, the above terminals may be several, or the above terminals may be dozens or hundreds, or a greater number. The present embodiment does not limit the number and device type of the terminals.
[0062] The server 102 is at least one of a server, multiple servers, a cloud computing platform, and a virtualization center. The server 102 can be connected to the terminal 101 and other terminals through a wireless network or a wired network. The server 102 can send filters to the terminal 101 to provide materials for the terminal 101 to edit videos. In some embodiments, the number of the above servers can be more or less, and the embodiments of the present disclosure are not limited to this. Of course, the server 102 also includes other functional servers to provide more comprehensive and diversified services.
[0063] Figure 2 is a flowchart of a method for editing multimedia resources according to an exemplary embodiment. Figure 2 The multimedia resource editing method is applied in a terminal, comprising the following steps:
[0064] In step 201, the terminal displays the target multimedia resource to be edited and the recipe control in the resource editing interface. The recipe control is used to provide an editing recipe for the target multimedia resource. The editing recipe is generated based on the resource processing parameters indicated by the filter application operation and the adjustment operation within the historical time period.
[0065] In the embodiment of the present disclosure, the target multimedia resource to be edited may be a video or an image, which is not limited in the embodiment of the present disclosure. In response to the editing operation on the target multimedia resource, the terminal displays a resource editing interface. The target multimedia resource to be edited and the recipe control are displayed in the resource editing interface. The display position of the target multimedia resource and the display position of the recipe control are not limited in the embodiment of the present disclosure. Among them, when the recipe control is triggered, the terminal can provide the user with an editing recipe. The editing recipe is generated by the parameters indicated by the filter application operation and the adjustment operation triggered by the user in the historical time period. That is, when the user edits a multimedia resource, the user can select a filter for the multimedia resource and adjust the resource processing parameters of the multimedia resource. The terminal generates an editing recipe based on the resource processing parameters corresponding to the filter selected by the user and the adjustment operation. The resource processing parameters of the multimedia resource may be contrast, saturation or exposure, etc., which are not limited in the embodiment of the present disclosure.
[0066] In step 202, in response to a triggering operation on a recipe control, the terminal displays at least one editing recipe in a resource editing interface.
[0067] In an embodiment of the present disclosure, when the recipe control is triggered, the terminal displays at least one editing recipe in the resource editing interface. The embodiment of the present disclosure does not limit the number of editing recipes. At least one editing recipe can be displayed in parallel in the resource editing interface, or can be arranged in the resource editing interface in the order of generation time, which is not limited by the embodiment of the present disclosure.
[0068] In step 203, in response to the selection operation of any editing recipe, the terminal edits the target multimedia resource based on the filter and resource processing parameters in the editing recipe.
[0069] In the disclosed embodiment, for any editing recipe, when the editing recipe is selected, the terminal can edit the target multimedia resource according to the parameters indicated by the filter application operation and the adjustment operation in the editing recipe. That is, the terminal processes the target multimedia resource according to the filter indicated by the filter application operation and the resource processing parameter indicated by the adjustment operation.
[0070] The disclosed embodiments provide a method for editing multimedia resources, which can provide an editing recipe generated based on filters and resource processing parameters used by users when editing multimedia resources in a historical time period, and edit target multimedia resources based on the editing recipe. Since the editing recipe is an editing method used by users in a historical time period, the editing recipe is used to directly edit the target multimedia resources, which not only conforms to user habits, but also eliminates the need to manually adjust settings each time, is simple to operate, improves human-computer interaction efficiency, and helps to improve the editing efficiency of multimedia resources.
[0071] In some embodiments, displaying the target multimedia resource to be edited and the recipe control in the resource editing interface includes:
[0072] In response to a clipping operation on a target multimedia resource to be clipped, displaying a resource clipping interface, wherein the target multimedia resource and a filter control are displayed in the resource clipping interface;
[0073] In response to the triggering operation on the filter control, the recipe control is displayed in the editing panel of the resource editing interface, and the recipe control is displayed in the filter options of the editing panel in the form of a filter type label.
[0074] The solution provided by the embodiment of the present disclosure displays the recipe control in the filter option of the clip panel in the form of a filter type label, so that the clip recipe provided by the recipe control can be embedded in the existing filter function in the form of a filter, without occupying other display space or changing the underlying logic of many current applications, thereby reducing development costs.
[0075] In some embodiments, displaying the target multimedia resource to be edited and the recipe control in the resource editing interface includes:
[0076] In response to a clipping operation on a target multimedia resource to be clipped, displaying a resource clipping interface, wherein the target multimedia resource and an adjustment control are displayed in the resource clipping interface;
[0077] In response to the triggering operation of the adjustment control, a clipping panel is displayed in the resource clipping interface, and the clipping panel displays adjustment options and filter option controls, and the adjustment options are used to adjust the parameters of the target multimedia resource;
[0078] In response to a selection operation on the filter option control, the adjustment options in the clip panel are replaced with filter options, the filter options include a recipe control, and the recipe control is displayed in the filter options in the form of a filter type option.
[0079] The solution provided by the disclosed embodiment, during the process of editing the target multimedia resource, by simultaneously displaying the filter option control in the editing panel, when the adjustment options are displayed in the editing panel, the filter option control can be triggered to display the filter options in the editing panel for filter selection, without having to return to the time before the editing panel was displayed to enter the editing panel through the filter control, the operation is simple, and the editing efficiency can be improved; and because the recipe control is displayed in the filter option of the editing panel in the form of a filter type label, the editing recipe provided by the recipe control is embedded in the existing filter function in the form of a filter, which will not occupy other display space and will not change much of the underlying logic in the current application, thereby reducing development costs.
[0080] In some embodiments, the process of displaying a recipe control in a clipping panel includes:
[0081] When at least one editing recipe is stored, the recipe control is displayed in the editing panel as being in a triggerable state;
[0082] When at least one clip recipe is not stored, the recipe control is displayed in the clip panel as a non-triggerable state.
[0083] The solution provided by the embodiment of the present disclosure is that when the editing recipe is stored, the recipe control is in a triggerable state so as to provide the editing recipe for the user; when the editing recipe is not stored, the recipe control is in a non-triggerable state, so that when the editing recipe is not stored, the function of providing the editing recipe can be turned off, thereby reducing operating consumption.
[0084] In some embodiments, the method further comprises:
[0085] When the recipe control is in an untriggerable state, in response to a triggering operation on the recipe control, a prompt message is displayed, where the prompt message is used to prompt that no editing recipe is stored at the current moment.
[0086] The solution provided by the disclosed embodiment can, when no editing recipe is stored, display a prompt message when the user triggers the recipe control, to promptly remind the user that no editing recipe is currently stored and that an editing recipe needs to be created, thereby preventing the user from triggering the control multiple times due to an operational error. This not only saves time and improves the efficiency of the user in obtaining information, but also enables the user to perform other editing operations in a timely manner, thereby improving the editing efficiency of multimedia resources.
[0087] In some embodiments, in response to a trigger operation on a recipe control, displaying at least one editing recipe in a resource editing interface includes:
[0088] In response to a trigger operation on a recipe control, obtaining a generation time of at least one clip recipe;
[0089] Display at least one editing recipe in the resource editing interface in reverse order of creation time.
[0090] The solution provided by the embodiment of the present disclosure, since the newly generated editing formula is more likely to meet the user's needs, by displaying at least one editing formula in reverse order according to the generation time of the editing formula, the newly generated editing formula can be displayed first, which makes it easier for users to find the editing formula that meets their needs more quickly, thereby improving the editing efficiency of multimedia resources.
[0091] In some embodiments, in response to a trigger operation on a recipe control, displaying at least one editing recipe in a resource editing interface includes:
[0092] In response to a trigger operation on a recipe control, obtaining a usage count of at least one clip recipe;
[0093] At least one editing recipe is displayed in the resource editing interface in order of the number of uses from most to least.
[0094] The solution provided by the embodiment of the present disclosure is that the more times an editing recipe is used, the more it conforms to the user's usage habits. By displaying at least one editing recipe in descending order according to the number of times the editing recipe is used, the editing recipe with the most times can be displayed preferentially, which makes it easier for users to find the editing recipe that conforms to their habits more quickly, thereby improving the editing efficiency of multimedia resources.
[0095] In some embodiments, in response to a trigger operation on a recipe control, displaying at least one editing recipe in a resource editing interface includes:
[0096] In response to a trigger operation on a recipe control, obtaining a historical resource type corresponding to at least one editing recipe, where the historical resource type corresponding to the editing recipe is a type of multimedia resource edited based on the editing recipe within a historical time period;
[0097] At least one editing recipe is displayed in the resource editing interface based on the historical resource type corresponding to the at least one editing recipe and the type of the target multimedia resource.
[0098] The solution provided by the embodiment of the present disclosure uses different editing recipes for editing different types of multimedia resources. By acquiring the types of multimedia resources edited based on the editing recipes within a historical time period, it is possible to determine what type of multimedia resource editing each editing recipe is suitable for. Based on the type of the target multimedia resource currently to be edited, at least one editing recipe is displayed, so that the editing recipe that meets the target multimedia resource can be displayed preferentially, thereby facilitating users to find the editing recipe that meets their habits more quickly and improving the editing efficiency of multimedia resources.
[0099] In some embodiments, in response to a selection operation on any editing recipe, the target multimedia resource is edited based on the filter and resource processing parameters in the editing recipe, including:
[0100] In response to a selection operation on any editing recipe, a filter bar of the editing recipe is displayed, and a sliding mark is displayed on the filter bar;
[0101] In response to a sliding operation on the sliding mark, a filter parameter corresponding to the filter in the editing recipe is adjusted, where the filter parameter is used to indicate the strength of the filter applied in the editing recipe;
[0102] The target multimedia resource is edited based on the adjusted filter parameters and the resource processing parameters in the editing recipe.
[0103] The solution provided by the embodiment of the present disclosure allows users to adjust the intensity corresponding to the filter in the editing recipe according to their own needs during the process of editing the target multimedia resources using the editing recipe by displaying the filter bar of the editing recipe, so that the target multimedia resources can be edited according to the adjusted filter and the original resource processing parameters in the editing recipe. This is not only simple to operate but also meets the needs and habits of users.
[0104] In some embodiments, in response to a selection operation on any editing recipe, based on the filter and resource processing parameters in the editing recipe, the target multimedia resource is edited, including:
[0105] When any editing recipe is selected, in response to a triggering operation on an adjustment option control, displaying at least one adjustment option;
[0106] In response to a triggering operation on any adjustment option, setting a resource processing parameter of the target multimedia resource;
[0107] The target multimedia resource is edited based on the editing recipe and the resource processing parameter corresponding to the at least one adjustment option.
[0108] The solution provided by the embodiment of the present disclosure, in the process of editing the target multimedia resource by adopting the editing recipe, triggers the adjustment option control to display at least one adjustment option, so that the resource processing parameters of the target multimedia resource can be set according to the user's own needs, and then the editing is performed according to the editing recipe and the set resource processing parameters, thereby achieving the purpose of performing secondary adjustments according to user needs on the basis of the selected editing recipe, which is in line with the user's intention.
[0109] In some embodiments, based on the editing recipe and the resource processing parameter corresponding to the at least one adjustment option, editing the target multimedia resource includes:
[0110] Get the resource processing parameters indicated by the adjustment operation in the editing recipe;
[0111] Performing a weighted summation on the resource processing parameter indicated by the adjustment operation and the resource processing parameter corresponding to at least one adjustment option to obtain a target processing parameter;
[0112] The target multimedia resource is edited based on the filters and target processing parameters in the editing recipe.
[0113] The solution provided by the embodiment of the present disclosure performs editing by weightedly summing the adjustment parameters indicated by the adjustment operation in the editing recipe and the adjustment parameters corresponding to the adjustment options in the secondary adjustment, thereby obtaining the target adjustment parameters and the filters in the editing recipe based on the weighted sum, so that the edited multimedia resources are generated by the fusion of the editing recipe and the resource processing parameters adjusted by the user, which meets the user's intention.
[0114] In some embodiments, based on the editing recipe and the resource processing parameter corresponding to the at least one adjustment option, editing the target multimedia resource includes:
[0115] Get the resource processing parameters indicated by the adjustment operation in the editing recipe;
[0116] In the case that at least one adjustment option is repeated with the adjustment option corresponding to the resource processing parameter in the editing recipe, the target multimedia resource is edited based on the resource processing parameter of the at least one adjustment option.
[0117] According to the solution provided by the embodiments of the present disclosure, during the process of editing a target multimedia resource using an editing recipe, when the user makes adjustments to the target multimedia resource again, since the resource processing parameters adjusted by the user are more in line with the user's intention, when there is overlap between at least one adjustment option adjusted by the user and an adjustment option corresponding to the resource processing parameter in the editing recipe, editing is performed based on the resource processing parameters adjusted by the user, so that the edited target multimedia resource is more in line with the user's intention.
[0118] In some embodiments, the method comprises:
[0119] When any editing recipe is selected, in response to the triggering operation of any adjustment option, a combination label is displayed on the track corresponding to the target multimedia resource, the track includes multiple frames of images in the target multimedia resource, and the combination label is marked with the name of the editing recipe and an adjustment identifier, and the adjustment identifier is used to indicate that there is an adjustment operation in the editing process of the target multimedia resource.
[0120] The solution provided by the embodiment of the present disclosure can intuitively display the editing formula and adjustment operations applied when editing the target multimedia resource by displaying the combination label on the picture track corresponding to the target multimedia resource. This not only enriches the display method of the editing information, but also makes it easier for users to intuitively understand the editing method of each frame image in the target multimedia resource.
[0121] In some embodiments, a recipe save control is displayed in the resource editing interface;
[0122] The method also includes:
[0123] In response to a trigger operation on a recipe saving control, a new editing recipe is generated based on the adjusted filter parameters or resource processing parameters.
[0124] The solution provided by the embodiment of the present disclosure, by providing a recipe saving control, enables a new editing recipe to be generated based on the filter parameters or resource processing parameters adjusted by the user, so as to save the filters and resource processing parameters that satisfy the user. This makes it easier to directly edit the target multimedia resources through the filters and resource processing parameters that satisfy the user when editing multimedia resources next time. This not only meets the needs of users, but also eliminates the need to manually adjust the settings each time. It is simple to operate, improves the efficiency of human-computer interaction, and helps to improve the editing efficiency of multimedia resources.
[0125] Above Figure 2 The following is only a basic process of the present disclosure. The solution provided by the present disclosure is further described based on a specific implementation method. Figure 3 FIG. 1 is a flowchart of another method for editing multimedia resources according to an exemplary embodiment. Figure 3 , the editing method of the multimedia resource includes:
[0126] In step 301, the terminal displays the target multimedia resource to be edited and the recipe control in the resource editing interface. The recipe control is used to provide an editing recipe for the target multimedia resource. The editing recipe is generated based on the resource processing parameters indicated by the filter application operation and the adjustment operation within the historical time period.
[0127] In an embodiment of the present disclosure, in response to an editing operation on a target multimedia resource to be edited, the terminal displays a resource editing interface. The resource editing interface displays a target multimedia resource, a filter control, and an adjustment control. The filter control is used to provide a filter for the target multimedia resource. The adjustment control is used to set resource processing parameters for the target multimedia resource. The resource processing parameters may be contrast, saturation, sharpness, hue, or color temperature of the target multimedia resource, etc., which is not limited in the embodiment of the present disclosure. The recipe control may be located in the filter option in the form of a filter type label, that is, the editing recipe is regarded as a filter. Accordingly, in response to a triggering operation on the filter control, the terminal displays the recipe control in the resource editing interface. Alternatively, the recipe control may be located in the adjustment option in the form of an adjustment option label, that is, the editing recipe is regarded as an adjusted resource processing parameter, which exists in parallel with adjustment options such as contrast or saturation. Accordingly, in response to a triggering operation on the adjustment control, the terminal displays the recipe control in the resource editing interface. The embodiment of the present disclosure does not limit the display mode of the recipe control.
[0128] In some embodiments, the recipe control is located in the filter options in the form of a filter type label. That is, the editing recipe is a filter type. Accordingly, the process of the terminal displaying the target multimedia resources to be edited and the recipe control in the resource editing interface includes: in response to the editing operation of the target multimedia resources to be edited, the terminal displays the resource editing interface. The target multimedia resources and the filter control are displayed in the resource editing interface. Then, in response to the triggering operation of the filter control, the terminal displays the recipe control in the editing panel of the resource editing interface. Among them, the recipe control is displayed in the filter options of the editing panel in the form of a filter type label. The solution provided by the embodiment of the present disclosure, by displaying the recipe control in the filter options of the editing panel in the form of a filter type label, makes the editing recipe provided by the recipe control embedded in the existing filter function in the form of a filter, will not occupy other display space, will not change the underlying logic in more current applications, and reduce development costs.
[0129] For example, Figure 4 is a schematic diagram showing a recipe control according to an exemplary embodiment. Figure 4 , Figure 4(a) in the figure exemplarily shows a schematic diagram of a resource editing interface when a clipping operation on a target multimedia resource is triggered. The resource editing interface includes an effect display area 401 and an operation display area 402. The target multimedia resource is displayed in the effect display area 401 for presenting the clipping effect of the target multimedia resource. The operation display area 402 displays a picture track 4021 and a timeline 4022 of the target multimedia resource. The picture track 4021 of the target multimedia resource includes multiple frames of images in the target multimedia resource. The multiple frames of images are arranged in time sequence. The operation display area 402 can also display audio, subtitles and clips added by the user. For any of the audio, subtitles and clips, they are arranged according to the timeline of the target multimedia resource. Among them, the clip includes at least one of the selected filter and the resource processing parameters indicated by the adjustment. The bottom of the resource editing interface also displays a filter control and an adjustment control. In response to the triggering operation of the filter control, the terminal displays a clipping panel 403 in the resource editing interface.
[0130] See also Figure 4 In (b), the filter option control and the adjustment option control are displayed in the clipping panel 403. Since the clipping panel 403 is entered by triggering the filter control, the filter option control in the clipping panel 403 is in a selected state. In this case, the terminal displays multiple filter type labels in the clipping panel 403. The embodiment of the present disclosure does not limit the number of filter types. Exemplarily, the multiple filter type labels include a recipe control, a type 1 control, a type 2 control, and a type 3 control. In response to the triggering operation of the type 1 control, the terminal can display at least one filter belonging to the corresponding filter type. In the case where the clipping box 404 (dashed box) selects at least one frame of image in the picture track 4021, in response to the selection operation of filter 3, the terminal can clip the at least one frame of image selected in the clipping box 404 based on filter 3. The terminal can also display the label of the selected filter 3 on the timeline corresponding to the at least one frame of image.
[0131] In some embodiments, a filter option control and an adjustment option control are displayed in the clipping panel. In the case of entering the clipping panel by triggering the adjustment control, the terminal switches the adjustment option in the clipping panel to the filter option through the filter option control in the clipping panel, thereby displaying the recipe control, and entering the clipping recipe provided by the recipe control for clipping. Correspondingly, the process of the terminal displaying the target multimedia resource to be clipped and the recipe control in the resource clipping interface includes: in response to the clipping operation of the target multimedia resource to be clipped, the terminal displays the resource clipping interface. The target multimedia resource and the adjustment control are displayed in the resource clipping interface. Then, in response to the triggering operation of the adjustment control, the terminal displays the clipping panel in the resource clipping interface. The adjustment option and the filter option control are displayed in the clipping panel, and the adjustment option is used to adjust the resource processing parameters of the target multimedia resource. Then, in response to the selection operation of the filter option control, the terminal replaces the adjustment option in the clipping panel with the filter option. The filter option includes the recipe control. The recipe control is displayed in the filter option in the form of a filter type label. The solution provided by the embodiment of the present disclosure, during the process of editing the target multimedia resource, by simultaneously displaying the filter option control in the editing panel, when the adjustment options are displayed in the editing panel, the filter option control can be triggered to display the filter options in the editing panel for filter selection, without having to return to the time before the editing panel was displayed to enter the editing panel through the filter control, the operation is simple, and the editing efficiency can be improved; and because the recipe control is displayed in the filter option of the editing panel in the form of a filter type label, the editing recipe provided by the recipe control is embedded in the existing filter function in the form of a filter, which will not occupy other display space and will not change much of the underlying logic in the current application, thereby reducing the difficulty of providing editing recipes to users.
[0132] For example, Figure 5 is a schematic diagram showing another display recipe control according to an exemplary embodiment. Figure 5 , Figure 5 (a) in the figure exemplarily shows a schematic diagram of a resource editing interface when an editing operation on a target multimedia resource is triggered. Figure 5 (a) and Figure 4 The resource editing interface is the same as (a) in the example above and will not be described in detail here. The bottom of the resource editing interface displays a filter control and an adjustment control. In response to the triggering operation of the adjustment control, the terminal displays an editing panel 501 in the resource editing interface. Figure 5In (b), the clipping panel 501 displays a filter option control and an adjustment option control. Since the clipping panel 501 is entered by triggering the adjustment control, the adjustment option control in the clipping panel 501 is in a selected state. In this case, the terminal displays multiple adjustment options in the clipping panel 501. The embodiment of the present disclosure does not limit the number of adjustment options. Exemplarily, the multiple adjustment options include an exposure control, a contrast control, a shadow control, and a color temperature control. In response to a triggering operation on a control corresponding to any adjustment option, the terminal can adjust the resource processing parameters corresponding to the adjustment option. In response to a triggering operation on a filter option control, the terminal switches the adjustment option in the clipping panel 501 to a filter option. See Figure 5 In (c), the terminal displays multiple filter type labels in the clipping panel 501. The recipe control 502 is displayed in the clipping panel as a filter type label. The filter option control in the clipping panel 501 can be regarded as a secondary filter control; the adjustment option control can be regarded as a secondary adjustment control.
[0133] Among them, the above-mentioned recipe control can be always in a triggerable state, and can also determine whether it can be triggered according to the storage status of the editing recipe, which is not limited in the embodiment of the present disclosure. Optionally, the recipe control determines whether it can be triggered according to the storage status of the editing recipe. Accordingly, when at least one editing recipe is stored, the terminal displays the recipe control in the editing panel as a triggerable state. When at least one editing recipe is not stored, the terminal displays the recipe control in the editing panel as a non-triggerable state. The solution provided by the embodiment of the present disclosure is that when a editing recipe is stored, the recipe control is in a triggerable state so as to provide the user with the editing recipe; when the editing recipe is not stored, the recipe control is in a non-triggerable state, so that when the editing recipe is not stored, the function of providing the editing recipe can be turned off, thereby reducing operating consumption.
[0134] When the recipe control is in a triggerable state, in response to the triggering operation on the recipe control, the terminal executes step 302 to display at least one stored editing recipe. When the recipe control is in a non-triggerable state, in response to the triggering operation on the recipe control, the terminal can display a prompt message. The prompt message is used to prompt that no editing recipe is stored at the current moment. The scheme provided by the embodiment of the present disclosure can display a prompt message when the user triggers the recipe control when no editing recipe is stored, so as to promptly prompt the user that no editing recipe is stored at the current moment and that an editing recipe needs to be created, so as to avoid the user from triggering multiple times due to an operation error. This not only saves time and improves the efficiency of the user in obtaining information, but also enables the user to perform other editing operations in a timely manner, thereby improving the editing efficiency of multimedia resources.
[0135] For example, the prompt information may be a toast prompt. The content of the prompt information may be “Please add a clipping recipe first.” The embodiments of the present disclosure do not limit the specific content, display location, and display method of the prompt information.
[0136] In step 302, in response to a triggering operation on a recipe control, the terminal displays at least one editing recipe in a resource editing interface.
[0137] In the embodiment of the present disclosure, when the recipe control is triggered, the terminal displays at least one editing recipe in the editing panel of the resource editing interface. The embodiment of the present disclosure does not limit the display form, quantity, name and arrangement of the editing recipe.
[0138] For example, Figure 6 is a schematic diagram showing an editing recipe according to an exemplary embodiment. Figure 6 In response to the triggering operation on the recipe control 601, the terminal displays four editing recipes in the editing panel 602 of the resource editing interface, namely, recipe 1, recipe 2, recipe 3 and recipe 4. The above four editing recipes are displayed in parallel in the resource editing interface. The currently displayed editing recipe can be slid. In response to the sliding operation on the currently displayed editing recipe, the terminal can display other editing recipes.
[0139] The at least one editing recipe mentioned above may be displayed based on at least one of a generation time, a number of times used, and an applicable resource type, which is not limited in this embodiment of the present disclosure.
[0140] In some embodiments, at least one editing recipe is displayed in the resource editing interface based on the generation time. Accordingly, the process of the terminal displaying at least one editing recipe in the resource editing interface includes: in response to the triggering operation of the recipe control, the terminal obtains the generation time of at least one editing recipe. Then, the terminal displays at least one editing recipe in the resource editing interface in reverse order of the generation time. The solution provided by the embodiment of the present disclosure, since the latest generated editing recipe is more likely to meet the user's needs, by displaying at least one editing recipe in reverse order according to the generation time of the editing recipe, it is possible to give priority to displaying the latest generated editing recipe, which is convenient for users to find editing recipes that meet their needs more quickly, thereby improving the editing efficiency of multimedia resources.
[0141] In some embodiments, at least one editing recipe is displayed in the resource editing interface based on the number of times it is used. Accordingly, the process of the terminal displaying at least one editing recipe in the resource editing interface includes: in response to a trigger operation on a recipe control, the terminal obtains the number of times at least one editing recipe is used. Then, the terminal displays at least one editing recipe in the resource editing interface in order of the number of times it is used from most to least. In the solution provided by the embodiment of the present disclosure, since the more times an editing recipe is used, the more it meets the needs of the user, by displaying at least one editing recipe in order from most to least according to the number of times the editing recipe is used, the editing recipe with the most uses can be displayed first, which makes it easier for users to find editing recipes that meet their needs more quickly, thereby improving the editing efficiency of multimedia resources.
[0142] In some embodiments, at least one editing recipe is displayed in the resource editing interface based on the applicable resource type. Accordingly, the process of displaying at least one editing recipe in the resource editing interface by the terminal includes: in response to the triggering operation of the recipe control, the terminal obtains the historical resource type corresponding to at least one editing recipe. Then, the terminal displays at least one editing recipe in the resource editing interface based on the historical resource type corresponding to the at least one editing recipe and the type of the target multimedia resource. Among them, the historical resource type corresponding to the editing recipe is the type of multimedia resource edited based on the editing recipe in the historical time period. The scheme provided by the embodiment of the present disclosure, because the editing recipes used for the editing of different types of multimedia resources are different, by obtaining the type of multimedia resources edited based on the editing recipe in the historical time period, it is possible to determine what type of multimedia resource editing each editing recipe is suitable for, so as to display at least one editing recipe according to the type of the target multimedia resource to be edited currently, so that the editing recipe that meets the target multimedia resource can be displayed preferentially, so as to facilitate users to find the editing recipe that meets the needs faster, and improve the editing efficiency of multimedia resources.
[0143] The terminal can directly edit the target multimedia resource based on the provided editing recipe, that is, the terminal continues to execute step 303. The terminal can also adjust at least one of the filter and resource processing parameters based on the selected editing recipe, and edit the target multimedia resource based on the adjusted parameters, that is, the terminal executes step 304.
[0144] In step 303, in response to a selection operation on any editing recipe, the terminal edits the target multimedia resource based on the filter and resource processing parameters in the editing recipe.
[0145] In the embodiment of the present disclosure, when any editing recipe is selected, the terminal obtains the filters and resource processing parameters in the selected editing recipe. Then, the terminal edits the target multimedia resource based on the filters and resource processing parameters in the editing recipe. The method provided by the embodiment of the present disclosure can save and generate an editing recipe for the filters indicated by the filter application operation and the resource processing parameters indicated by the adjustment operation when the user edits multimedia resources in a historical time period. When the user edits the target multimedia resource, by selecting the generated editing recipe, the target multimedia resource can be directly edited according to the filters and resource processing parameters previously used by the user. This not only meets the needs of the user, but also does not require manual adjustment of the settings each time. The operation is simple, the efficiency of human-computer interaction is improved, and it helps to improve the efficiency of editing multimedia resources.
[0146] You can continue to see Figure 6 In response to the selection operation of recipe 2, the terminal can edit the image of the target multimedia resource selected by the editing box 603 (dashed box) based on recipe 2. The terminal can not only display the name of the selected recipe 2 on the timeline 604, but also display the name of recipe 2 on the picture track 605 of the target multimedia resource. The multiple frames of images in the picture track 605 of the target multimedia resource can be sliding. In response to the sliding operation of the multiple frames of images of the target multimedia resource, the terminal can edit the images of different frames. During the sliding process, the terminal can also display the editing effect of recipe 2 in the effect display area 606.
[0147] The terminal is also capable of managing at least one of the above-mentioned editing recipes. Management refers to at least one of renaming and deleting the editing recipe. In response to the management operation of any editing recipe, the terminal can display the management panel of the editing recipe in the resource editing interface. The management panel displays a rename control and a delete control. In response to the triggering operation of the rename control, the terminal displays the rename panel. An input box is displayed in the rename panel. In response to the triggering operation of the input box, the terminal displays the keyboard. In response to the triggering operation of the keyboard, the terminal displays the updated recipe name in the input box. The embodiment of the present disclosure does not limit the number of characters in the name of the editing recipe. In response to the triggering operation of the delete control, the terminal deletes the editing recipe.
[0148] For example, Figure 7 FIG. 1 is a schematic diagram showing a method for managing a clip recipe according to an exemplary embodiment. Figure 7, four clipped recipes, namely, recipe 1, recipe 2, recipe 3 and recipe 4, are displayed in the resource clipping interface. In response to the management operation of recipe 2, the terminal can display the management panel of recipe 2 in the resource clipping interface. The management panel of recipe 2 displays a rename control and a delete control. In response to the triggering operation of the rename control, the terminal displays the rename panel. An input box is displayed in the rename panel. In response to the triggering operation of the input box 701, the terminal displays the keyboard 702. In response to the triggering operation of the keyboard 702, the terminal displays the updated recipe name in the input box 701. The number of characters in the name of recipe 2 does not exceed N. In response to the triggering operation of the completion control in the rename panel, the terminal updates the name of recipe 2. In response to the triggering operation of the delete control, the terminal deletes recipe 2. A cancel control is also displayed in the management panel of recipe 2. In response to the triggering operation of the cancel control, the terminal closes the management panel of recipe 2.
[0149] In step 304, in response to the selection operation of any editing recipe, the terminal adjusts at least one of the filter and resource processing parameters in the editing recipe, and edits the target multimedia resource based on the adjusted filter and resource processing parameters.
[0150] In the embodiment of the present disclosure, when any editing recipe is selected, the user can also adjust at least one of the filters and resource processing parameters in the editing recipe according to his / her own needs. In response to the adjustment operation of at least one of the filters and resource processing parameters in the editing recipe, the terminal edits the target multimedia resource based on the adjusted editing recipe.
[0151] In some embodiments, the terminal is able to adjust the strength of the filter in the editing recipe. Accordingly, in response to the selection operation of any editing recipe, the terminal displays the filter bar of the editing recipe. A sliding mark is displayed on the filter bar. In response to the sliding operation of the sliding mark, the terminal adjusts the filter parameters corresponding to the filter in the editing recipe. The filter parameters are used to indicate the strength of the filter applied in the editing recipe. Then, the terminal edits the target multimedia resource based on the adjusted filter parameters and the resource processing parameters in the editing recipe. The solution provided by the embodiment of the present disclosure, in the process of editing the target multimedia resource using the editing recipe, by displaying the filter bar of the editing recipe, allows the user to adjust the strength corresponding to the filter in the editing recipe according to his own needs, thereby editing the target multimedia resource according to the adjusted filter and the original resource processing parameters in the editing recipe, which is not only simple to operate but also meets user needs.
[0152] For example, Figure 8 FIG. 1 is a schematic diagram showing an adjustment filter according to an exemplary embodiment. Figure 8 , Figure 8(a) in FIG. 1 shows an exemplary schematic diagram of a resource editing interface. The resource editing interface displays multiple editing recipes. Taking recipe 2 as an example, in response to the selection operation of recipe 2, the terminal displays the filter bar 801 of recipe 2. Figure 8 In (b), a slider 802 is displayed on the filter bar 801. The initial position of the slider 802 may be at the maximum value of the filter parameter, that is, the strength of the filter in the default editing recipe is full. The present embodiment does not limit the initial position of the slider 802. In response to the sliding operation of the slider 802, the terminal adjusts the strength of the filter in recipe 2. Figure 8 In (c), the terminal adjusts the intensity of the filter in recipe 2 to 80.
[0153] In some embodiments, the terminal is able to adjust the resource processing parameters in the editing recipe. Accordingly, when any editing recipe is selected, in response to the triggering operation of the adjustment option control, the terminal displays at least one adjustment option. In response to the triggering operation of any adjustment option, the terminal sets the resource processing parameters of the target multimedia resource. Then, the terminal edits the target multimedia resource based on the editing recipe and the resource processing parameters corresponding to the at least one adjustment option. The solution provided by the embodiment of the present disclosure, in the process of editing the target multimedia resource using the editing recipe, by triggering the adjustment option control, at least one adjustment option is displayed, so that the resource processing parameters of the target multimedia resource can be set according to the user's own needs, and then editing is performed according to the editing recipe and the set resource processing parameters, thereby achieving the purpose of performing secondary adjustments according to user needs on the basis of the selected editing recipe, which meets the user's intention.
[0154] For example, Fig. 9 FIG. 1 is a schematic diagram showing a method of adjusting resource processing parameters according to an exemplary embodiment. Fig. 9 , Fig. 9 (a) in FIG. 1 shows an exemplary schematic diagram of a resource editing interface. The resource editing interface displays multiple editing recipes. Taking recipe 2 as an example, when recipe 2 is selected, in response to the triggering operation of the adjustment option control, the terminal displays at least one adjustment option. Fig. 9 In (b), at least one adjustment option includes four adjustment options, namely, exposure, contrast, shadow, and color temperature. Taking contrast as an example, in response to a triggering operation on contrast, the terminal sets the contrast of the target multimedia resource. Fig. 9 In (c), the terminal sets the contrast of the target multimedia resource to 4. Then, the terminal edits the target multimedia resource based on the editing formula and the value corresponding to the contrast. The above-mentioned displayed adjustment options may be slidable, and in response to the displayed adjustment options, the terminal displays other adjustment options.
[0155] In the process of editing the target multimedia resource based on the editing recipe and the resource processing parameters corresponding to at least one adjustment option, the terminal can fuse the editing recipe and the resource processing parameters corresponding to at least one adjustment option, and thus perform editing based on the fused parameters; alternatively, the terminal can also select appropriate parameters from the resource processing parameters corresponding to the editing recipe and at least one adjustment option for editing, which is not limited in the embodiments of the present disclosure.
[0156] Optionally, the terminal may fuse the resource processing parameters corresponding to the editing recipe and at least one adjustment option, so as to perform editing based on the fused parameters. Accordingly, the process of the terminal editing the target multimedia resource based on the editing recipe and the resource processing parameters corresponding to at least one adjustment option includes: the terminal obtains the resource processing parameters indicated by the adjustment operation in the editing recipe. Then, the terminal performs weighted summation on the resource processing parameters indicated by the adjustment operation and the resource processing parameters corresponding to at least one adjustment option to obtain the target processing parameters. Then, the terminal performs editing on the target multimedia resource based on the filter and the target processing parameters in the editing recipe. The scheme provided by the embodiment of the present disclosure performs weighted summation on the adjustment parameters indicated by the adjustment operation in the editing recipe and the adjustment parameters corresponding to the adjustment options in the secondary adjustment, so as to perform editing based on the target adjustment parameters obtained by the weighted summation and the filter in the editing recipe, so that the edited multimedia resource is generated by the fusion of the editing recipe and the resource processing parameters adjusted by the user, which meets the user's intention.
[0157] Optionally, the terminal can select appropriate parameters from the resource processing parameters corresponding to the editing recipe and at least one adjustment option for editing. Accordingly, the process of the terminal editing the target multimedia resource based on the editing recipe and the resource processing parameters corresponding to the at least one adjustment option includes: the terminal obtains the resource processing parameters indicated by the adjustment operation in the editing recipe; in the case where there is a duplication between at least one adjustment option and the adjustment options corresponding to the resource processing parameters in the editing recipe, the target multimedia resource is edited based on the resource processing parameters of at least one adjustment option. In the scheme provided by the embodiment of the present disclosure, in the process of editing the target multimedia resource using the editing recipe, when the user adjusts the target multimedia resource again, since the resource processing parameters adjusted by the user are more in line with the user's intention, when there is a duplication between at least one adjustment option adjusted by the user and the adjustment options corresponding to the resource processing parameters in the editing recipe, the resource processing parameters adjusted by the user are used as the basis for editing, so that the edited target multimedia resource is more in line with the user's intention.
[0158] In some embodiments, the terminal can generate labels based on the filters selected and the adjustment operations performed during the editing process, so as to intuitively present the currently applied editing method to the user. Accordingly, when any editing recipe is selected, in response to the triggering operation of any adjustment option, a combined label is displayed on the picture track corresponding to the target multimedia resource, and the picture track includes multiple frames of images in the target multimedia resource, and the combined label is marked with the name of the editing recipe and the adjustment mark. Among them, the adjustment mark is used to indicate that there is an adjustment operation in the editing process of the target multimedia resource. The solution provided by the embodiment of the present disclosure, by displaying the combined label on the picture track corresponding to the target multimedia resource, can intuitively display the editing recipe and adjustment operation applied when editing the target multimedia resource, which not only enriches the display method of the editing information, but also facilitates the user to intuitively understand the editing method of each frame image in the target multimedia resource.
[0159] For example, Fig.10 is a schematic diagram of a combined label according to an exemplary embodiment. Fig.10 , a combination label 1003 is displayed on both the track 1001 and the timeline 1002 of the target multimedia resource. The combination label 1003 is "Recipe 2|Adjustment". It can be seen that the target multimedia resource is edited based on recipe 2 and the adjustment operation.
[0160] In some embodiments, a recipe saving control is displayed in the resource editing interface. The terminal generates an editing recipe through the recipe saving control. Accordingly, in response to the triggering operation of the recipe saving control, the terminal generates a new editing recipe based on the adjusted filter parameters or resource processing parameters. The solution provided by the embodiment of the present disclosure, by providing a recipe saving control, enables the generation of a new editing recipe based on the filter parameters or resource processing parameters adjusted by the user, so as to save the filters and resource processing parameters that the user is satisfied with, so that the next time the multimedia resources are edited, the target multimedia resources can be directly edited through the filters and resource processing parameters that the user is satisfied with, which not only meets the needs of users, but also eliminates the need to manually adjust the settings each time, and is simple to operate, thereby improving the efficiency of human-computer interaction and helping to improve the efficiency of multimedia resource editing.
[0161] For example, Fig.11 FIG. 1 is a schematic diagram of a recipe saving control according to an exemplary embodiment. Fig.11 In (a), the recipe saving control 1101 can be displayed in the filter options of the editing panel 1102. That is, the terminal can save the currently selected filter and the set resource processing parameters in the level of selecting the filter for the target multimedia resource, and generate an editing recipe. Fig.11In (b), the recipe saving control 1101 can also be displayed in the adjustment options of the editing panel 1102. That is, the terminal can save the currently selected filter and the set resource processing parameters in the level of setting resource processing parameters for the target multimedia resource, and generate an editing recipe. The embodiments of the present disclosure are not limited. When no filter is selected and no resource processing parameter is adjusted, the terminal displays the recipe saving control as an untriggerable state. That is, when no editing operation is triggered, the recipe saving control is in an untriggerable state.
[0162] In order to describe the present solution more clearly, the present solution will be described again below in conjunction with the accompanying drawings. Fig.12 FIG. 1 is a flow chart showing a process of editing multimedia resources according to an exemplary embodiment. Fig.12 , Fig.12 (a) in the figure exemplarily shows a schematic diagram of a resource editing interface when an editing operation on a target multimedia resource is triggered. Fig.12 (a) and Figure 4 The resource editing interface also displays filter controls and adjustment controls at the bottom. In response to the triggering operation of the filter control, the terminal displays a clipping panel 1201 in the resource editing interface.
[0163] See also Fig.12 In (b), the clip panel displays a filter option control and an adjustment option control. Since the clip panel is entered by triggering the filter control, the filter option control in the clip panel is in a selected state. In this case, the terminal displays multiple filter type labels in the clip panel. The clip panel displays a filter option control and an adjustment option control. Since the clip panel 1201 is entered by triggering the filter control, the filter option control in the clip panel 1201 is in a selected state. In this case, the terminal displays multiple filter type labels in the clip panel 1201. The multiple filter type labels include recipe control 1, type 1 control, type 2 control, and type 3 control. In response to the triggering operation of recipe control 1202, the terminal displays 4 clip recipes in the clip panel of the resource clip interface. Taking recipe 2 as an example, in response to the selection operation of recipe 2, the terminal displays the filter bar 1203 of recipe 2. A sliding mark 1204 is displayed on the filter bar 1203. In response to the sliding operation of the sliding mark 1204, the terminal adjusts the strength of the filter in recipe 2. The terminal adjusts the intensity of the filter in recipe 2 to 80. When recipe 2 is selected, in response to a triggering operation on the adjustment option control, the terminal displays at least one adjustment option.
[0164] See also Fig.12In (c), at least one adjustment option includes four adjustment options, namely, exposure, contrast, shadow, and color temperature. Taking contrast as an example, in response to the triggering operation on contrast, the terminal sets the contrast of the target multimedia resource. The terminal sets the contrast of the target multimedia resource to 4. After the filter and resource processing parameters are set, in response to the triggering operation on the completion control 1205, the terminal displays again Fig.12 The resource editing interface shown in (a) is shown in the figure. Fig.12 The content shown in (a) is different from that before editing. Fig.12 In (d), the track in the resource editing interface and the timeline corresponding to the clip are both displayed with a combination label 1206 to intuitively present the currently applied editing method to the user.
[0165] The disclosed embodiments provide a method for editing multimedia resources, which can provide an editing recipe generated based on the filters and resource processing parameters used by users when editing multimedia resources in a historical time period, and edit target multimedia resources based on the editing recipe. Since the editing recipe is an editing method used by users in a historical time period, the editing recipe is used to directly edit the target multimedia resources, which not only conforms to user habits, but also does not require manual adjustment of settings each time, is simple to operate, improves human-computer interaction efficiency, and helps to improve the editing efficiency of multimedia resources; and, on this basis, the filters and resource processing parameters in the editing recipe can be adjusted according to the current needs of the user, so that the edited target multimedia resources can meet the user's habits.
[0166] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present disclosure, and will not be described in detail here.
[0167] Fig.13 FIG. 1 is a block diagram of a multimedia resource editing device according to an exemplary embodiment. Fig.13 , the device includes: a display unit 1301 and an editing unit 1302.
[0168] The display unit 1301 is configured to display the target multimedia resource to be edited and the recipe control in the resource editing interface, the recipe control is used to provide an editing recipe for the target multimedia resource, and the editing recipe is generated based on the filter indicated by the filter application operation and the resource processing parameter indicated by the adjustment operation in the historical time period;
[0169] The display unit 1301 is further configured to display at least one editing recipe in the resource editing interface in response to a triggering operation on the recipe control;
[0170] The editing unit 1302 is configured to execute, in response to a selection operation on any editing recipe, editing the target multimedia resource based on the filter and resource processing parameters in the editing recipe.
[0171] The disclosed embodiments provide a multimedia resource editing device, which can provide an editing recipe generated based on filters and resource processing parameters used by users when editing multimedia resources in a historical time period, and edit target multimedia resources based on the editing recipe. Since the editing recipe is an editing method used by users in a historical time period, the editing recipe is used to directly edit the target multimedia resources, which not only conforms to user habits, but also eliminates the need to manually adjust settings each time, is simple to operate, improves human-computer interaction efficiency, and helps to improve the editing efficiency of multimedia resources.
[0172] In some embodiments, Fig.14 FIG. 1 is a block diagram of another multimedia resource editing device according to an exemplary embodiment. Fig.14 The display unit 1301 is configured to execute a clipping operation in response to a target multimedia resource to be clipped, and display a resource clipping interface in which the target multimedia resource and a filter control are displayed; in response to a triggering operation on the filter control, a recipe control is displayed in the clipping panel of the resource clipping interface, and the recipe control is displayed in the filter option of the clipping panel in the form of a filter type label.
[0173] In some embodiments, see Fig.14 The display unit 1301 is configured to execute a clipping operation on a target multimedia resource to be clipped, display a resource clipping interface, in which the target multimedia resource and an adjustment control are displayed; in response to a triggering operation on the adjustment control, display a clipping panel in the resource clipping interface, in which adjustment options and filter option controls are displayed, and the adjustment options are used to adjust the parameters of the target multimedia resource; in response to a selection operation on the filter option control, replace the adjustment options in the clipping panel with filter options, in which the filter options include a recipe control, and the recipe control is displayed in the filter option in the form of a filter type label.
[0174] In some embodiments, see Fig.14 The display unit 1301 is configured to display the recipe control in the editing panel as a triggerable state when at least one editing recipe is stored; and to display the recipe control in the editing panel as a non-triggerable state when at least one editing recipe is not stored.
[0175] In some embodiments, see Fig.14 , the device further comprises:
[0176] The prompt unit 1303 is configured to execute, when the recipe control is in a non-triggerable state, in response to a triggering operation on the recipe control, displaying prompt information, wherein the prompt information is used to prompt that no clipping recipe is stored at the current moment.
[0177] In some embodiments, see Fig.14 The display unit 1301 is configured to execute in response to a trigger operation on a recipe control, obtain a generation time of at least one editing recipe; and display at least one editing recipe in a resource editing interface in a reverse order of generation time.
[0178] In some embodiments, see Fig.14 The display unit 1301 is configured to execute a trigger operation on a recipe control to obtain the number of times at least one editing recipe is used; and display at least one editing recipe in the resource editing interface in order of the number of times used from most to least.
[0179] In some embodiments, see Fig.14 The display unit 1301 is configured to execute a trigger operation in response to a recipe control, obtain a historical resource type corresponding to at least one editing recipe, the historical resource type corresponding to the editing recipe is a type of multimedia resource edited based on the editing recipe within a historical time period; based on the historical resource type corresponding to at least one editing recipe and the type of the target multimedia resource, display at least one editing recipe in the resource editing interface.
[0180] In some embodiments, see Fig.14 The editing unit 1302 is configured to execute a selection operation on any editing recipe, display a filter bar of the editing recipe, and display a sliding mark on the filter bar; in response to a sliding operation on the sliding mark, adjust the filter parameters corresponding to the filter in the editing recipe, and the filter parameters are used to indicate the strength of the filter applied in the editing recipe; based on the adjusted filter parameters and the resource processing parameters in the editing recipe, edit the target multimedia resources.
[0181] In some embodiments, see Fig.14 , the editing unit 1302 includes:
[0182] The display subunit 13021 is configured to display at least one adjustment option in response to a triggering operation on the adjustment option control when any editing recipe is selected;
[0183] The setting subunit 13022 is configured to execute, in response to a triggering operation on any adjustment option, setting resource processing parameters of the target multimedia resource;
[0184] The editing subunit 13023 is configured to execute editing of the target multimedia resource based on the editing recipe and the resource processing parameters corresponding to at least one adjustment option.
[0185] In some embodiments, see Fig.14 , the editing subunit 13023 is configured to execute the resource processing parameter indicated by the adjustment operation in the acquisition editing recipe;
[0186] The resource processing parameters indicated by the adjustment operation and the resource processing parameters corresponding to at least one adjustment option are weightedly summed to obtain target processing parameters; and the target multimedia resources are edited based on the filters in the editing recipe and the target processing parameters.
[0187] In some embodiments, see Fig.14 The editing subunit 13023 is configured to execute the resource processing parameters indicated by the adjustment operation in the editing recipe; when there is a duplication between at least one adjustment option and the adjustment option corresponding to the resource processing parameter in the editing recipe, the target multimedia resource is edited based on the resource processing parameters of at least one adjustment option.
[0188] In some embodiments, see Fig.14 The display unit 1301 is also configured to execute, when any editing recipe is selected, in response to a trigger operation on any adjustment option, display a combination label on a track corresponding to the target multimedia resource, the track including multiple frames of images in the target multimedia resource, and the combination label is marked with the name of the editing recipe and an adjustment identifier, and the adjustment identifier is used to indicate that an adjustment operation exists in the editing process of the target multimedia resource.
[0189] In some embodiments, a recipe save control is displayed in the resource editing interface;
[0190] Continue to see Fig.14 , the device further comprises:
[0191] The generating unit 1304 is configured to generate a new editing recipe based on the adjusted filter parameters or resource processing parameters in response to a triggering operation on the recipe saving control.
[0192] It should be noted that the multimedia resource editing device provided in the above embodiment only uses the division of the above functional units as an example when editing multimedia resources. In actual applications, the above functions can be assigned to different functional units as needed, that is, the internal structure of the electronic device is divided into different functional units to complete all or part of the functions described above. In addition, the multimedia resource editing device provided in the above embodiment and the multimedia resource editing method embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0193] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0194] When an electronic device is provided as a terminal, Fig.15 FIG. 1 is a block diagram of a terminal 1500 according to an exemplary embodiment. Fig.15 The structure block diagram of a terminal 1500 provided by an exemplary embodiment of the present disclosure is shown. The terminal 1500 may be: a smart phone, a tablet computer, an MP3 player, an MP4 player, a notebook computer or a desktop computer. The terminal 1500 may also be called a user equipment, a portable terminal, a laptop terminal, a desktop terminal or other names.
[0195] Typically, the terminal 1500 includes a processor 1501 and a memory 1502 .
[0196] The processor 1501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1501 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1501 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1501 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1501 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0197] The memory 1502 may include one or more computer-readable storage media, which may be non-transitory. The memory 1502 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1502 is used to store at least one program code, which is used to be executed by the processor 1501 to implement the method for editing multimedia resources provided in the method embodiment of the present disclosure.
[0198] In some embodiments, the terminal 1500 may also optionally include: a peripheral device interface 1503 and at least one peripheral device. The processor 1501, the memory 1502 and the peripheral device interface 1503 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1503 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1504, a display screen 1505, a camera assembly 1506, an audio circuit 1507, a positioning assembly 1508 and a power supply 1509.
[0199] The peripheral device interface 1503 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1501 and the memory 1502. In some embodiments, the processor 1501, the memory 1502, and the peripheral device interface 1503 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1501, the memory 1502, and the peripheral device interface 1503 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
[0200] The radio frequency circuit 1504 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1504 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1504 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1504 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The radio frequency circuit 1504 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: a metropolitan area network, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1504 may also include circuits related to NFC (Near Field Communication), which is not limited in the present disclosure.
[0201] The display screen 1505 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1505 is a touch display screen, the display screen 1505 also has the ability to collect touch signals on the surface or above the surface of the display screen 1505. The touch signal can be input to the processor 1501 as a control signal for processing. At this time, the display screen 1505 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 1505 can be one, and the front panel of the terminal 1500 is set; in other embodiments, the display screen 1505 can be at least two, which are respectively set on different surfaces of the terminal 1500 or are folded; in some other embodiments, the display screen 1505 can be a flexible display screen, which is set on the curved surface or folded surface of the terminal 1500. Even, the display screen 1505 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 1505 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0202] The camera assembly 1506 is used to capture images or videos. Optionally, the camera assembly 1506 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of 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 fusion of the main camera and the wide-angle camera to realize the panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1506 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
[0203] The audio circuit 1507 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 1501 for processing, or input them into the radio frequency circuit 1504 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal 1500. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 1501 or the radio frequency circuit 1504 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 1507 may also include a headphone jack.
[0204] The positioning component 1508 is used to locate the current geographical location of the terminal 1500 to implement navigation or LBS (Location Based Service). The positioning component 1508 can be a positioning component based on the US GPS (Global Positioning System), China's Beidou system, Russia's Grenas system or the European Union's Galileo system.
[0205] The power supply 1509 is used to power various components in the terminal 1500. The power supply 1509 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1509 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.
[0206] In some embodiments, the terminal 1500 further includes one or more sensors 1510 , including but not limited to: an acceleration sensor 1511 , a gyroscope sensor 1512 , a pressure sensor 1513 , a fingerprint sensor 1514 , an optical sensor 1515 , and a proximity sensor 1516 .
[0207] The acceleration sensor 1511 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 1500. For example, the acceleration sensor 1511 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 1501 can control the display screen 1505 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 1511. The acceleration sensor 1511 can also be used for collecting game or user motion data.
[0208] The gyro sensor 1512 can detect the body direction and rotation angle of the terminal 1500, and the gyro sensor 1512 can cooperate with the acceleration sensor 1511 to collect the user's 3D actions on the terminal 1500. The processor 1501 can implement the following functions based on the data collected by the gyro sensor 1512: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
[0209] The pressure sensor 1513 can be set on the side frame of the terminal 1500 and / or the lower layer of the display screen 1505. When the pressure sensor 1513 is set on the side frame of the terminal 1500, it can detect the user's holding signal of the terminal 1500, and the processor 1501 performs left and right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 1513. When the pressure sensor 1513 is set on the lower layer of the display screen 1505, the processor 1501 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 1505. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
[0210] The fingerprint sensor 1514 is used to collect the user's fingerprint, and the processor 1501 identifies the user's identity based on the fingerprint collected by the fingerprint sensor 1514, or the fingerprint sensor 1514 identifies the user's identity based on the collected fingerprint. When the user's identity is identified as a trusted identity, the processor 1501 authorizes the user to perform relevant sensitive operations, which include unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings. The fingerprint sensor 1514 can be set on the front, back, or side of the terminal 1500. When a physical button or a manufacturer logo is set on the terminal 1500, the fingerprint sensor 1514 can be integrated with the physical button or the manufacturer logo.
[0211] The optical sensor 1515 is used to collect the ambient light intensity. In one embodiment, the processor 1501 can control the display brightness of the display screen 1505 according to the ambient light intensity collected by the optical sensor 1515. Specifically, when the ambient light intensity is high, the display brightness of the display screen 1505 is increased; when the ambient light intensity is low, the display brightness of the display screen 1505 is reduced. In another embodiment, the processor 1501 can also dynamically adjust the shooting parameters of the camera assembly 1506 according to the ambient light intensity collected by the optical sensor 1515.
[0212] The proximity sensor 1516, also called a distance sensor, is usually arranged on the front panel of the terminal 1500. The proximity sensor 1516 is used to collect the distance between the user and the front of the terminal 1500. In one embodiment, when the proximity sensor 1516 detects that the distance between the user and the front of the terminal 1500 is gradually decreasing, the processor 1501 controls the display screen 1505 to switch from the screen-on state to the screen-off state; when the proximity sensor 1516 detects that the distance between the user and the front of the terminal 1500 is gradually increasing, the processor 1501 controls the display screen 1505 to switch from the screen-off state to the screen-on state.
[0213] Those skilled in the art will understand that Figure 7 The structure shown in the figure does not constitute a limitation on the terminal 1500, and the terminal 1500 may include more or less components than those shown in the figure, or combine some components, or adopt a different component arrangement.
[0214] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 1502 including instructions, and the instructions can be executed by a processor 1501 of a terminal 1500 to complete the above-mentioned method of editing multimedia resources. Optionally, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0215] A computer program product includes a computer program / instruction, which implements the above-mentioned multimedia resource editing method when executed by a processor.
[0216] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0217] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for editing multimedia resources, characterized in that: The method comprises: In response to an editing operation on a target multimedia resource to be edited, displaying a resource editing interface, wherein the target multimedia resource, a filter control, and an adjustment control are displayed in the resource editing interface; In response to a triggering operation on any one of the filter control and the adjustment control, displaying a clipping panel in the resource clipping interface, wherein the clipping panel displays an adjustment option control and a filter option control; When any one of the adjustment option control and the filter option control is selected, the options and recipe controls corresponding to the option controls are displayed in the editing panel, the recipe controls are used to provide an editing recipe for the target multimedia resource, and the editing recipe is generated based on the filter indicated by the filter application operation and the resource processing parameters indicated by the adjustment operation within a historical time period; In response to a triggering operation on the recipe control, displaying at least one editing recipe in the resource editing interface, the at least one editing recipe conforming to at least one of a reverse order of generation time, an order of a high to low number of times used, and a resource type of the target multimedia resource; In the case where any editing recipe is selected, in response to a triggering operation on an adjustment option control, at least one adjustment option is displayed; in response to a triggering operation on any adjustment option, a resource processing parameter of the target multimedia resource is set; Perform a weighted summation of the resource processing parameters in the editing recipe and the resource processing parameters corresponding to the at least one adjustment option to obtain a target processing parameter; based on the filter in the editing recipe and the target processing parameter, edit the image of the target multimedia resource selected by the editing box; or, in the event that there is duplication between the at least one adjustment option and the adjustment option corresponding to the resource processing parameter in the editing recipe, edit the image of the target multimedia resource selected by the editing box based on the resource processing parameters of the at least one adjustment option.
2. The method for editing multimedia resources according to claim 1, characterized in that: The process of displaying the recipe control in the clipping panel includes: In the case where the at least one editing recipe is stored, displaying the recipe control in the editing panel as a triggerable state; In the case where the at least one editing recipe is not stored, the recipe control is displayed in the editing panel as being in an untriggerable state.
3. The method for editing multimedia resources according to claim 2, characterized in that: The method further comprises: When the recipe control is in an untriggerable state, in response to a triggering operation on the recipe control, a prompt message is displayed, where the prompt message is used to prompt that no editing recipe is stored at the current moment.
4. The method for editing multimedia resources according to claim 1, characterized in that: The step of displaying at least one editing recipe in the resource editing interface in response to a triggering operation on the recipe control comprises: In response to a triggering operation on the recipe control, obtaining a generation time of the at least one clip recipe; The at least one editing recipe is displayed in the resource editing interface in a manner of being arranged in reverse order of generation time.
5. The method for editing multimedia resources according to claim 1, characterized in that: The step of displaying at least one editing recipe in the resource editing interface in response to a triggering operation on the recipe control comprises: In response to a triggering operation on the recipe control, obtaining a usage count of the at least one clip recipe; The at least one editing recipe is displayed in the resource editing interface in order of usage times from most to least.
6. The method for editing multimedia resources according to claim 1, characterized in that: The step of displaying at least one editing recipe in the resource editing interface in response to a triggering operation on the recipe control comprises: In response to a trigger operation on the recipe control, obtaining a historical resource type corresponding to the at least one editing recipe, where the historical resource type corresponding to the editing recipe is a type of multimedia resource edited based on the editing recipe within a historical time period; Based on the historical resource type corresponding to the at least one editing recipe and the type of the target multimedia resource, the at least one editing recipe is displayed in the resource editing interface.
7. The method for editing multimedia resources according to claim 1, characterized in that: The method further comprises: In response to a selection operation on any editing recipe, a filter bar of the editing recipe is displayed, wherein a sliding mark is displayed on the filter bar; In response to a sliding operation on the sliding mark, adjusting a filter parameter corresponding to the filter in the editing recipe, the filter parameter being used to indicate the strength of the filter applied in the editing recipe; The target multimedia resource selected by the editing box is edited based on the adjusted filter parameters and the resource processing parameters in the editing recipe.
8. The method for editing multimedia resources according to claim 1, characterized in that: The method comprises: When any editing recipe is selected, in response to a triggering operation on any adjustment option, a combination label is displayed on the picture track corresponding to the target multimedia resource, the picture track includes multiple frames of images in the target multimedia resource, and the combination label is marked with the name of the editing recipe and an adjustment identifier, and the adjustment identifier is used to indicate that an adjustment operation exists in the editing process of the target multimedia resource.
9. The method for editing multimedia resources according to claim 7, characterized in that: A recipe saving control is displayed in the resource clipping interface; The method further comprises: In response to a triggering operation on the recipe saving control, a new editing recipe is generated based on the adjusted filter parameters or the resource processing parameters.
10. A multimedia resource editing device, characterized in that: The device comprises: A display unit is configured to execute a clipping operation on a target multimedia resource to be clipped, display a resource clipping interface in response to a clipping operation on the target multimedia resource to be clipped, wherein the target multimedia resource, filter controls and adjustment controls are displayed in the resource clipping interface; in response to a triggering operation on any one of the filter controls and the adjustment controls, display a clipping panel in the resource clipping interface in response to a triggering operation on any one of the filter controls and the adjustment controls, wherein the clipping panel displays an adjustment option control and a filter option control; when any one of the adjustment option control and the filter option control is selected, display options and recipe controls corresponding to the option controls in the clipping panel, wherein the recipe controls are used to provide a clipping recipe for the target multimedia resource, wherein the clipping recipe is generated based on the filter indicated by the filter application operation and the resource processing parameters indicated by the adjustment operation within a historical time period; The display unit is further configured to execute, in response to a trigger operation on the recipe control, display at least one editing recipe in the resource editing interface, wherein the at least one editing recipe complies with at least one of a reverse order of generation time, an order of a high to low number of times of use, and a resource type of the target multimedia resource; The editing unit is configured to display at least one adjustment option in response to a trigger operation on an adjustment option control when any editing recipe is selected; and set a resource processing parameter of the target multimedia resource in response to a trigger operation on any adjustment option; The editing unit is further configured to perform a weighted summation of the resource processing parameters in the editing recipe and the resource processing parameters corresponding to the at least one adjustment option to obtain a target processing parameter; based on the filter in the editing recipe and the target processing parameter, edit the image of the target multimedia resource selected by the editing box; Alternatively, the editing unit is further configured to execute editing of the image of the target multimedia resource selected by the editing box based on the resource processing parameters of the at least one adjustment option when there is duplication between the at least one adjustment option and the adjustment options corresponding to the resource processing parameters in the editing recipe.
11. An electronic device, characterized in that: The electronic device comprises: one or more processors; a memory for storing program code executable by the processor; The processor is configured to execute the program code to implement the multimedia resource editing method as described in any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method for editing multimedia resources as described in any one of claims 1 to 9.
Citation Information
Patent Citations
Multimedia resource generation method and device, equipment and storage medium
CN111243632A