Method and apparatus for generating media content, and electronic device and storage medium

By editing and generating new special effects, the problem of single media content generation methods in the existing technology is solved, and the diversity of media content generation methods and the improvement of user creation experience is achieved.

WO2025031364A1PCT designated stage expired Publication Date: 2025-02-13BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/110135
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-08-07
Filing Date
2024-08-06
Publication Date
2025-02-13

AI Technical Summary

Technical Problem

In the prior art, the generation method of media content is relatively single and lacks diversity.

Method used

By displaying edit items for published special effects, users can edit special effects, create new special effects in response to the special effects generation operation, and generate media content based on the new special effects.

Benefits of technology

It enriches the way media content is generated and improves the diversity of user creative experience and special effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024110135_13022025_PF_FP_ABST
    Figure CN2024110135_13022025_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the embodiments of the present disclosure are a method and apparatus for generating media content, and an electronic device and a storage medium. The method comprises: displaying an editing item of a first special effect, wherein the first special effect is a special effect that has been launched in the current application, and the editing item is used for editing the first special effect; in response to a special-effect generation operation, creating and generating a second special effect on the basis of an editing operation for the first special effect; and generating first media content in the current application on the basis of the second special effect.
Need to check novelty before this filing date? Find Prior Art

Description

Method, device, electronic device and storage medium for generating media content

[0001] This application claims priority to the Chinese invention patent application entitled “Method, device, electronic device and storage medium for generating media content” filed on August 7, 2023, with application number 202310988670.8. The entire contents of that application are incorporated by reference into this application. Technical Field

[0002] The embodiments of the present disclosure relate to the field of computer technology, and in particular to a method, device, electronic device, and storage medium for generating media content. Background Art

[0003] Some platforms allow users to generate media content based on special effects published on the platform. However, the method for generating media content is relatively simple.

[0004] Summary of the Invention

[0005] The embodiments of the present disclosure provide a method, apparatus, electronic device, and storage medium for generating media content, so as to enrich the generation methods of media content.

[0006] In a first aspect, an embodiment of the present disclosure provides a method for generating media content, including: displaying an editing item of a first special effect, where the first special effect is a special effect that has been published in a current application, and the editing item is used to edit the first special effect; in response to a special effect generation operation, creating and generating a second special effect based on the editing operation of the first special effect; and generating first media content based on the second special effect within the current application.

[0007] In a second aspect, an embodiment of the present disclosure also provides a device for generating media content, including: an editing item display module, used to display an editing item of a first special effect, where the first special effect is a special effect that has been published in the current application, and the editing item is used to edit the first special effect; a special effect generation module, used to create and generate a second special effect based on the editing operation of the first special effect in response to a special effect generation operation; and a media content generation module, used to generate target media content based on the second special effect within the current application.

[0008] In a third aspect, an embodiment of the present disclosure further provides an electronic device, comprising: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method for generating media content as described in the embodiment of the present disclosure.

[0009] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for generating media content as described in the embodiment of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The above and other features, advantages, and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that the originals and elements are not necessarily drawn to scale.

[0011] FIG1 is a flow chart of a method for generating media content provided by an embodiment of the present disclosure;

[0012] FIG2 is a schematic diagram showing a display of an editing item provided by an embodiment of the present disclosure;

[0013] FIG3 is a schematic diagram showing a display area for inputting special effects keywords provided by an embodiment of the present disclosure;

[0014] FIG4 is a flow chart of another method for generating media content provided by an embodiment of the present disclosure;

[0015] FIG5 is a schematic diagram showing a preset special effect display interface provided by an embodiment of the present disclosure;

[0016] FIG6 is a schematic diagram showing a display of a media content editing interface provided by an embodiment of the present disclosure;

[0017] FIG7 is a structural block diagram of a device for generating media content provided by an embodiment of the present disclosure; and

[0018] FIG8 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0019] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.

[0020] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0021] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to." The term "based on" means "based, at least in part, on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one additional embodiment," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.

[0022] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0023] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".

[0024] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0025] It is understandable that before using the technical solutions disclosed in the various embodiments of this disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved in this disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0026] For example, in response to a user's active request, a prompt message is sent to the user to clearly inform the user that the operation requested will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the electronic device, application, server, storage medium, or other software or hardware that performs the operations of the disclosed technical solution based on the prompt message.

[0027] As an optional but non-limiting implementation, in response to receiving a user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. Furthermore, the pop-up window may also contain a selection control for the user to select "agree" or "disagree" to provide personal information to the electronic device.

[0028] It is understandable that the above notification and user authorization process are merely illustrative and do not limit the implementation of the present disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0029] FIG1 is a flow chart of a method for generating media content provided by an embodiment of the present disclosure. The method can be executed by a device for generating media content. The device can be implemented by software and / or hardware and can be configured in an electronic device. Typically, it can be configured in a mobile phone or tablet computer. The method for generating media content provided by an embodiment of the present disclosure is suitable for editing published special effects and using the edited special effects to generate media content. As shown in FIG1 , the method for generating media content provided by this embodiment may include:

[0030] S101: Display an edit item for a first special effect, where the first special effect is a special effect that has been published in a current application, and the edit item is used to edit the first special effect.

[0031] The first special effect can be a special effect based on which the current user wants to create and generate a special effect. The first special effect can be a special effect that has been published in the current application, such as a special effect published in the current application by the current user or other users other than the current user. The type of the first special effect is not limited. For example, the first special effect can be an artificial intelligence (AI) special effect, a beauty special effect, or a makeup special effect, etc. The following uses AI special effects as an example. This AI special effect can be used to process a person image to obtain a stylized image.

[0032] Exemplarily, when the media content generated by the first special effect is displayed on the media content shooting interface or the media content editing page, the editing entry of the first special effect is displayed to trigger the display of the editing item of the first special effect. There are many ways to trigger the display of the media content shooting interface or the media content editing page using the first special effect. For example, when the second media content generated by the first special effect is displayed on the media content display page, the media content shooting entry is displayed on the media content display page; or the special effect information of at least one special effect and the corresponding media content shooting entry are displayed in the preset special effect display interface, and the at least one special effect includes the first special effect; or the detailed information of the first special effect and the media content shooting entry are displayed in the detailed interface of the first special effect. When the above-mentioned media content shooting entry is triggered (that is, the entry for shooting the same work as the first special effect), the media content shooting interface is entered and the first special effect corresponding to the media content shooting entry is adopted by default. That is, after the first special effect is released, other users can use the same special effect to create.

[0033] The editing items of the first special effect may be content used to edit the first special effect, such as options, controls, and / or areas (such as input areas) used to edit the first special effect. Optionally, the editing items include a first editing item and / or a second editing item, wherein the first editing item includes a candidate effect selection item and / or an effect intensity editing item, wherein the effect intensity editing item is used to edit the effect intensity of the first special effect; the second editing item includes a style editing item and / or a keyword editing item, wherein the style editing item is used to edit the special effect style information of the first special effect, and the keyword editing item is used to edit the special effect keyword information of the first special effect.

[0034] It is understandable that when a user enters media content creation through the entrance of shooting the same work with the first special effect from the media content display page, the preset special effect display interface, or the details of the first special effect, the special effect model corresponding to the first special effect is used by default to process the image. When the user triggers and determines a special effect style information in the shooting interface or the media content editing page, the corresponding special effect model can be modified; when the user determines the special effect keyword information, the special effect model can be adjusted based on the special effect keyword information; when the user completes the creation of the special effect, the special effect model corresponding to the newly modified special effect is determined. That is, when other users use the first special effect to shoot the same work, the existing special effect model of the first special effect can be modified and adjusted.

[0035] Among them, the first editing item can be an editing item for editing the processing effect of the first special effect. The first editing item includes a candidate effect selection item and / or an effect intensity editing item. The candidate effect selection item can be understood as a selection item for selecting the processing effect of the first special effect, and different candidate effect selection items correspond to different candidate effects of the first special effect. The candidate effect can be understood as a processing effect to be selected for the first special effect. Exemplarily, different candidate effects can correspond to different picture processing intensities, different color intensities or different stylization intensities, etc. The effect intensity editing item can be an editing item for adjusting the effect intensity of the first special effect, such as an editing item for adjusting the effect intensity when the first special effect processes the picture, which can be displayed in the form of a control or other forms.

[0036] The second editing item can be an editing item for editing the special effect style information and / or special effect keyword information of the first special effect. The second editing item includes a style editing item and / or a keyword editing item. The style editing item can be used to edit the special effect style information of the first special effect. The special effect style information can be understood as the style information of the special effect, such as comic style, retro style, etc. The keyword editing item can be used to edit the special effect keyword information of the first special effect. The special effect keyword information can be understood as keyword information that describes the special effect, such as keyword information that describes a certain attribute of the special effect or an attribute of a certain part of the special effect.

[0037] Specifically, the editing items of the first special effect can be displayed, such as based on the corresponding trigger operation of the current user, the first editing item and / or the second editing item of the first special effect can be displayed in the special effect editing interface of the first special effect and / or the media content editing interface of the first media content, so that the current user can perform editing operations on the first special effect.

[0038] In this embodiment, when the editing item of the first special effect is displayed, the editing item corresponding to the current special effect style information, special effect keyword information and / or candidate effect of the first special effect can be displayed as selected, so that the current user can clearly edit the relevant information of the first special effect before.

[0039] Optionally, the editing item includes a second editing item, and the editing item for displaying the first special effect includes at least one of the following: displaying a special effect style editing item, the special effect style editing item includes at least one special effect style information, the at least one special effect style information includes the first special effect style information of the first special effect, and the first special effect style information is displayed as selected; displaying a special effect keyword editing item, the special effect keyword editing item includes at least one special effect keyword information, the at least one special effect keyword information includes the first special effect keyword information of the first special effect, and the first special effect keyword information is displayed as selected.

[0040] Among them, the special effect style editing item includes at least one special effect style information to be selected, and the at least one special effect style information to be selected includes the current special effect style information of the first special effect. The first special effect style information can be considered as the current special effect style information of the first special effect. Exemplarily, the first special effect style information can be the original special effect style information of the first special effect before editing, such as the special effect style information when the first special effect was released. The special effect keyword editing item includes at least one special effect keyword information to be selected, and the at least one special effect keyword information to be selected includes the current special effect keyword information of the first special effect. The first special effect keyword information can be considered as the current special effect keyword information of the first special effect. Exemplarily, the first special effect keyword information can be the original special effect keyword information of the first special effect before editing, such as the special effect keyword information when the first special effect was released.

[0041] For example, as shown in FIG2 (using the special effects editing interface for creating and generating AI special effects as an example), when the special effects style editing item for the first special effect is displayed, at least one special effects style information including the first special effects style information 20 of the first special effect may be displayed, and the first special effects style information 20 of the first special effect may be displayed as selected. And / or, when the special effects keyword editing item for the first special effect is displayed, at least one special effects keyword information including the first special effects keyword 21 of the first special effect may be displayed, and the first special effects keyword information 21 of the first special effect may be displayed as selected.

[0042] In this embodiment, after displaying the edit item for the first special effect, the current user can perform an edit operation on the first special effect based on the displayed edit item to edit the first special effect. Optionally, after displaying the edit item for the first special effect, the method further includes: editing the first special effect in response to the edit operation on the first special effect, wherein the edit operation acts on the edit item.

[0043] In some embodiments, the editing of the first special effect in response to the editing operation on the first special effect includes at least one of the following: in response to the selection operation on the second special effect style information in the at least one special effect style information, switching the second special effect style information from an unselected state to a selected state, and switching the first special effect style information from a selected state to an unselected state; in response to the selection operation on the second special effect keyword information in the at least one special effect keyword information, switching the second special effect keyword from an unselected state to a selected state; in response to the deselection operation on the first special effect keyword, switching the first special effect keyword corresponding to the deselection operation from a selected state to an unselected state; in response to the modification operation on the third special effect keyword information in the at least one special effect keyword information, updating the third special effect keyword information, and displaying the third special effect keyword information as a selected state; in response to the deletion operation on the fourth special effect keyword information in the at least one special effect keyword information, canceling the display of the fourth special effect keyword information.

[0044] The selection operation for the second special effect style information may be a triggering operation for selecting a certain special effect style information, such as clicking on a certain unselected special effect style information. The second special effect style information may be the special effect style information corresponding to the selection operation, such as the special effect style information currently clicked by the user. The second special effect style information and the first special effect style information may be different special effect style information.

[0045] The selection operation for the second special effect keyword information may be a triggering operation for selecting a certain special effect keyword information, such as an operation of clicking on a certain special effect keyword information that is in an unselected state. The second special effect keyword information may be the special effect keyword information corresponding to the selection operation, such as the special effect keyword information currently clicked by the user. The deselection operation for the first special effect keyword may be an operation of deselecting a certain special effect keyword information that is in a selected state, such as an operation of clicking on a certain special effect keyword information that is in a selected state. The modification operation may be an operation for instructing to modify a certain special effect keyword information. The third special effect keyword information may be the special effect keyword information that is modified as indicated by the modification operation. The deletion operation may be an operation for instructing to delete a certain special effect keyword information that is displayed, such as an operation of triggering a delete control corresponding to a certain special effect keyword information. The fourth special effect keyword information may be the special effect keyword information that is deleted as indicated by the delete operation. The second special effect keyword information, the third special effect keyword information, and / or the fourth special effect keyword information may be the same or different special effect keyword information as the first special effect keyword information.

[0046] In the above embodiment, the user can be supported to select special effect style information, select or deselect special effect keyword information, and / or modify and / or delete special effect keyword information to meet different editing needs of the user.

[0047] For example, when a selection operation is received for the displayed second special effect style information, the special effect style information currently in the selected state can be switched from the first special effect style information to the second special effect style information, such as switching the first special effect style information from the selected state to the unselected state, and switching the second special effect style information from the unselected state to the selected state.

[0048] When a selection operation is received for the displayed second special effect keyword information, the second special effect keyword information may be switched from an unselected state to a selected state. At this time, the first special effect keyword information may remain in the selected state (for a case where the current application supports the user to select multiple special effect keyword information), or may be switched from the selected state to the unselected state (for a case where the current application supports the user to select only one special effect keyword information).

[0049] When a deselection operation is received for a certain first special effect keyword information that is currently in a selected state, the first special effect keyword information may be switched from a selected state to an unselected state.

[0050] When a modification operation is received for the third special effect keyword information, the third special effect keyword information may be updated based on the modification operation, and the third special effect keyword information may be further displayed in an unselected state, for example, when the third special effect keyword information is in an unselected state, the unselected state may be switched to a selected state. It is understood that when the third special effect keyword information is in an unselected state, the third special effect keyword information may continue to be in an unselected state after the third special effect keyword information is updated, and the specific configuration can be set as needed.

[0051] When a deletion operation for the fourth special effect keyword information is received, the fourth special effect keyword information may be canceled from being displayed.

[0052] In some embodiments, the editing item includes a second editing item, the second editing item includes a keyword editing item, and the editing of the first special effect in response to the editing operation on the first special effect includes:

[0053] In response to the special effect keyword information adding operation, a special effect keyword input area is displayed, wherein the special effect keyword input area is used for the current user to input the fifth special effect keyword information; in response to the input completion operation, the fifth special effect keyword information input by the current user is added and displayed; or

[0054] In response to the special effect keyword input operation, fifth special effect keyword information is obtained, and the fifth special effect keyword information is additionally displayed.

[0055] The special effect keyword input area may be an area for a user to enter special effect keyword information using a keyboard, which may be a virtual keyboard or a non-virtual keyboard. The special effect keyword information addition operation may be an operation for indicating the display of the special effect keyword area, such as an operation for triggering a keyword addition control displayed in the special effect editing interface. The input completion operation may be an operation for indicating the completion of keyword input, such as an operation for triggering an input completion control or a key on the keyboard.

[0056] In the above implementation, users can be supported to add special effect keyword information.

[0057] In an optional embodiment, the special effect keyword input area can be displayed in response to the user's trigger operation, that is, when the user needs to input special effect keyword information through the keyboard, the special effect keyword input area can be displayed to simplify the content displayed in the special effect editing interface.

[0058] Specifically, when the current application receives a special effect keyword information adding operation, the special effect keyword input area 30 may be displayed. For example, when it is detected that the current user triggers the keyword adding control 22 (as shown in FIG2 ), it may be determined that the special effect keyword information adding operation has been received, and in response to the special effect keyword adding operation, the special effect keyword input area 30 may be displayed in the current interface or the keyword adding interface 31 (as shown in FIG3 ).

[0059] Thus, the current user can input special effect description content in the special effect keyword input area 30, such as inputting one or more special effect keyword information, or inputting one or more special effect description sentences, etc. When the input is completed, the input completion operation is performed.

[0060] Correspondingly, when the current application detects that the current user has completed the input operation, it can add special effect keyword information corresponding to the special effect description content input by the current user in the description area of ​​the special effect editing interface.

[0061] In an optional embodiment, when the editing item of the first special effect is displayed in the special effect editing interface, a special effect keyword input area can be further displayed, so that the user can directly enter the special effect keyword information in the special effect keyword input area, simplifying the operations required for the user to enter special effect keyword information.

[0062] Specifically, when the current user's input operation is received in the special effect keyword input area of ​​the special effect editing interface, the characters entered by the current user can be displayed in the special effect keyword input area. When the current user's input is completed, the special effect description information entered by the current user in the special effect keyword input area is obtained, and the special effect keyword information corresponding to the special effect description content entered by the current user is added in the description area.

[0063] In the above embodiment, the user can select the special effect keyword information they wish to select through a selection operation, and / or deselect the special effect keyword information they do not wish to select through a deselect operation. Thus, the special effect keyword information in the selected state can be used as the special effect keyword information for the second special effect the user wishes to create. In this case, when the acquired special effect keyword information is added to the description area for display, the acquired special effect keyword information can be displayed in a selected state or an unselected state, which can be set as needed.

[0064] Considering that the special effect description content entered by the user in the special effect keyword input area is generally the special effect description content that the user intends to select, optionally, when the acquired special effect keyword information is additionally displayed in the description area, the acquired special effect keyword information can be displayed in a selected state to further simplify the user's operations required during the special effect creation process. In this case, the additional display of the fifth special effect keyword information can include: additionally displaying the fifth special effect keyword information in a selected state.

[0065] In some embodiments, the user may not be required to input only one keyword at a time and / or may not be required to input in the form of keywords. For example, the user may be supported to input multiple keywords in the special effect keyword input area, and / or the user may be supported to input one or more special effect description statements in the special effect keyword input area. Thus, when the user input is completed, the special effect description content input by the user may be obtained, the special effect description content may be segmented, and at least one keyword information obtained by the segmentation process may be used as the special effect keyword information. At this time, optionally, before the fifth special effect keyword information is added and displayed, the following further includes: obtaining the special effect description content input by the current user; segmenting the special effect description content, and obtaining at least one keyword information as the fifth special effect keyword information.

[0066] In the above embodiment, the manner of performing word segmentation processing on the special effect description content is not limited. Optionally, the word segmentation processing on the special effect description content includes: performing word segmentation processing on the special effect description content based on semantic analysis; and / or performing word segmentation processing on the special effect description content based on preset delimiters. That is, the special effect description content can be segmented based on semantic analysis and / or preset delimiters, such as performing word segmentation processing on the special effect description content based on the semantics of natural language analysis, and / or performing word segmentation processing on the special effect description content based on preset delimiters such as spaces, commas and / or semicolons.

[0067] S102 : In response to a special effect generation operation, create and generate a second special effect based on an editing operation on the first special effect.

[0068] The special effect generation operation may be a triggering operation for instructing the creation and generation of a new special effect based on the editing operation of the first special effect, such as triggering an operation to complete a control displayed in the special effect editing interface or other gesture operation. In response to the special effect generation operation, a newly created special effect model is determined. The second special effect can be considered to be the special effect created and generated in response to the special effect generation operation.

[0069] In this embodiment, when a special effect generation operation is received, such as when it is detected that the current user triggers the completion control 23 in the special effect editing interface (as shown in Figure 2), a second special effect can be created and generated based on the current user's editing operation on the first special effect, such as creating and generating a second special effect based on the editing item that is in a selected state when the special effect generation operation is received.

[0070] S103: Generate first media content based on the second special effect in the current application.

[0071] The first media content is media content processed by the second special effect.

[0072] In this embodiment, after the second special effect is created, the current user can use the second special effect to create media content, such as generating the first media content based on the second special effect in the current application.

[0073] In some embodiments, after creating and generating the second special effect, the current user can publish the second special effect, such as publishing the second special effect alone or publishing the second special effect along with the media content they created. Optionally, after creating and generating the second special effect based on the editing operation on the first special effect, the process further includes at least one of the following: publishing the second special effect in the current application in response to a first publishing operation on the second special effect; or publishing the first media content and the second special effect in the current application in response to a second publishing operation on the first media content.

[0074] The first publishing operation may be a triggering operation for instructing the publication of the second special effect but not for instructing the publication of the media content. The second publishing operation may be a triggering operation for instructing the publication of the second special effect and the media content. The first publishing operation and the second publishing operation may be different triggering operations. The specific execution methods of the first publishing operation and the second publishing operation are not limited. The first media content may be media content that is processed and published for the first time using the second special effect after the current user creates the second special effect.

[0075] For example, when a first publishing operation for a second special effect is received, the second special effect can be published in the current application; and / or, when a second publishing operation for first media content processed using the second special effect is received, if the first media content is media content generated based on the second special effect and published for the first time by the current user, the target media content and the second special effect can be published in the current application to enrich the publishing method of special effects and meet the different publishing needs of users.

[0076] In some embodiments, a preset special effect display interface or a first special effect details interface may be displayed, and in response to a second edit item display operation performed on the preset special effect display interface or the details interface, an edit item for the first special effect may be displayed on the special effect editing interface 24 of the first special effect, as shown in FIG2 . Optionally, displaying the edit item for the first special effect includes displaying the edit item for the first special effect on the special effect editing interface of the first special effect in response to the second edit item display operation, wherein the second edit item display operation is performed on the preset special effect display interface or the details interface of the first special effect, and the preset special effect display interface is used to display special effect information of at least one special effect.

[0077] Among them, the second edit item display operation can be an edit item display operation acting on the preset special effect display interface or the details interface of the first special effect. The edit item display operation can be understood as an operation for instructing the display of the edit item of the first special effect. The preset special effect display interface can be used to display special effect information of at least one special effect. Optionally, the special effect information includes at least one of publisher information, special effect name, special effect keyword information and special effect usage information. The publisher information of a special effect can be considered as relevant information of the publisher of the special effect, such as the publisher's nickname and / or avatar. The special effect usage information of a special effect can be considered as information used to describe the usage of the special effect, such as the number of times the special effect is used or the number of users. The at least one special effect may include special effects provided by the platform and / or special effects published by users on the platform. The first special effect is included in the at least one special effect. The details interface of the first special effect can be used to display detailed information of the first special effect.

[0078] In the above embodiment, after creating and generating the second special effect, the media resource to be processed can be obtained, and the media content editing interface of the obtained media resource can be displayed, so that the user can edit the media resource and generate the first media content. At this time, optionally, after the second special effect is created and generated based on the editing operation of the first special effect, it also includes: obtaining the media resource to be processed; displaying the media content editing interface of the media resource, and displaying the media resource processed with the current special effect on the media content editing interface, wherein the media content editing interface is used to edit the image information and / or audio information of the media resource to obtain the first media content; the current special effect includes the second special effect.

[0079] The media resources to be processed can be understood as media resources that are processed using a certain special effect (such as the second special effect) to generate the first media content. The media resources may include, for example, content captured by the current user in the shooting interface and / or media content materials selected by the current user in the material upload interface. The material upload interface may be an interface for uploading media content materials, such as the current user's local album interface.

[0080] For example, after creating and generating the second special effect, the media resource to be processed can be obtained. For example, a shooting interface can be displayed, and the media resource to be processed can be shot based on the shooting operation of the current user in the shooting interface; or a material upload interface can be displayed, and based on the material selection operation of the current user in the material upload interface, the media content material selected by the current user can be used as the media resource to be processed. After the media resource to be processed is obtained, a media content editing interface for the obtained media resource can be displayed, allowing the current user to edit the image information and / or audio information of the media resource to obtain the first media content to be published.

[0081] The media content generation method provided in this embodiment displays an edit item for a first special effect, which is a special effect already published in the current application. The edit item is used to edit the first special effect. In response to a special effect generation operation, a second special effect is created and generated based on the edit operation of the first special effect. The first media content is generated within the current application based on the second special effect. By adopting the above technical solution, this embodiment supports users to create special effects based on edit operations of published special effects and generate media content using the created special effects, thereby enriching the methods for generating special effects and media content.

[0082] Figure 4 is a flow chart of another method for generating media content provided by an embodiment of the present disclosure. The solution in this embodiment can be combined with one or more optional solutions in the above embodiments. Optionally, before the editing item of the first special effect is displayed, it also includes: in response to the triggering operation of the associated control of the first special effect, switching to the media resource acquisition interface; acquiring the media resource to be processed in the media resource acquisition interface; displaying the media content editing interface of the media resource, and displaying the media resource after processing with the current special effect in the media content editing interface, wherein the media content editing interface is used to edit the picture information and / or audio information of the media resource to obtain the first media content; the current special effect includes the first special effect.

[0083] Accordingly, as shown in FIG4 , the method for generating media content provided in this embodiment may include:

[0084] S201: In response to a triggering operation on a control associated with the first special effect, switching to a media resource acquisition interface.

[0085] The associated control of the first special effect may be an interface for instructing to switch to a media resource acquisition interface to acquire media resources processed using the first special effect. The media resource acquisition interface may include, for example, a shooting interface and / or a material upload interface.

[0086] It is understandable that when the media resource acquisition interface is a shooting interface, the image generated by using the first special effect is displayed on the shooting interface, and the editing entry of the first special effect can also be displayed on the shooting interface, for example, the display style area and the description area are triggered on the shooting interface, so that the user can modify the first special effect on the shooting interface. At this time, optionally, the media resource acquisition interface includes a shooting interface for media content, and the method further includes: displaying the image generated by using the first special effect on the shooting interface; and / or, displaying the editing item of the first special effect on the shooting interface. The process of modifying the first special effect on the shooting interface is similar to the process of triggering the modification of the first special effect on the media content editing interface, and will not be repeated here.

[0087] For example, as shown in Figure 5 (the figure takes the display of the associated control 50 in the preset special effect display interface as an example), the associated control 50 of the first special effect can be displayed, and when it is detected that the current user triggers the associated control 50 of the first special effect, it switches to the media resource acquisition interface to obtain the media resources to be processed.

[0088] In this embodiment, the display timing and display position of the associated controls of the first special effect are not limited. For example, when the media content displayed in the media content display interface is media content generated based on the first special effect, the associated controls of the first special effect can be further displayed in the media content display interface; the special effect information of at least one special effect including the first special effect and the associated controls of each special effect in the at least one special effect are displayed in the preset special effect display interface, as shown in Figure 5; and / or, the associated controls of the first special effect are displayed in the details interface of the first special effect.

[0089] At this time, optionally, before switching to the media resource acquisition interface in response to the triggering operation of the associated control of the first special effect, it also includes at least one of the following: displaying second media content and the associated control of the first special effect in the media content display interface, and the second media content is generated based on the first special effect; displaying special effect information and corresponding associated controls of at least one special effect in the preset special effect display interface, and the at least one special effect includes the first special effect; displaying detailed information of the first special effect and the associated control of the first special effect in the detailed interface of the first special effect.

[0090] In addition, as shown in Figure 5, a first identifier 51 and a second identifier 52 can be displayed in the preset special effects display interface. The first identifier 51 can be used to trigger the display of special effects information of the special effects created by the current user in the preset special effects display interface; the second identifier 52 can be used to trigger the display of special effects information of the recommended special effects in the preset special effects display interface.

[0091] S202: Acquire the media resources to be processed on the media resource acquisition interface.

[0092] The media resources to be processed can be understood as media resources used to be processed using the first special effect to generate media content. The media resources may include, for example, content captured by the current user in the shooting interface and / or media content materials selected by the current user in the material upload interface.

[0093] In this embodiment, after the media resource acquisition interface is displayed, the media resources to be processed can be obtained in the media resource acquisition interface. For example, a shooting interface can be displayed, and the media resources to be processed can be shot based on the shooting operation of the current user in the shooting interface; or, a material upload interface can be displayed, and based on the material selection operation of the current user in the material upload interface, the media content material selected by the current user can be used as the media resource to be processed.

[0094] S203: Displaying a media content editing interface for the media resource and displaying the media resource processed with the current special effect on the media content editing interface. The media content editing interface is used to edit the image information and / or audio information of the media resource to obtain the first media content; and the current special effect includes the first special effect.

[0095] In this embodiment, after obtaining the media resources to be processed, the media content editing interface of the obtained media resources can be displayed, and the media resources processed by the first special effect can be displayed in the media content editing interface, such as displaying a preview screen of the media resources processed by a candidate effect of the first special effect in the second area of ​​the media content editing interface.

[0096] The image information of the media resource may be information related to the image of the media resource, such as stickers added to the image, filter effects added to the image, and / or the size of the image. Optionally, the image information includes effect adjustment information generated when the image of the media resource is processed using the current special effect, and the effect adjustment information includes multiple candidate effect selection items and / or effect intensity adjustment controls.

[0097] Among them, the current special effect can be understood as the special effect that the user currently uses to process the media resources, such as the first special effect or the second special effect. The effect adjustment information can be understood as information for adjusting the processing effect of the current special effect, such as multiple candidate effect selection items and / or effect intensity adjustment controls for the current special effect. Exemplarily, the multiple candidate effect selection items can be understood as different processing effects to be selected for the current special effect, and different candidate effect selection items can correspond to different picture processing intensities. Optionally, the multiple candidate effect selection items are displayed in the form of thumbnails of the corresponding preview screens. For example, the candidate effect selection item can be displayed in the form of a thumbnail of the preview screen corresponding to the candidate effect selection item. The effect intensity adjustment control can be understood as a control for adjusting the effect intensity of the current special effect.

[0098] The display positions of the multiple candidate effect selection items of the current special effect in the media content editing interface are not limited. Optionally, as shown in Figure 6, the media content editing interface includes a first area 60 and a second area 61, the first area 60 is used to display the multiple candidate effect selection items and / or effect strength adjustment controls (not shown in Figure 6), and the second area 61 is used to display the preview screen corresponding to the target effect. That is, when the media content editing interface is displayed, the multiple candidate effect selection items 62 and / or effect strength adjustment controls of the current special effect can be displayed in the first area 60 of the media content editing interface, and the preview screen corresponding to the target effect can be displayed in the second area 61 of the media content editing interface. Among them, the target effect can be the candidate effect selection item that is currently in the selected state or the effect currently indicated by the effect strength adjustment control, etc. The preview screen corresponding to the target effect can be understood as the screen obtained by processing the media resource to be processed using the target effect of the current special effect.

[0099] It is understandable that the plurality of candidate effects 62 may correspond to different sub-models determined based on the currently determined special effect style information and special effect keyword information, and different special effect sub-models may be determined by selecting different candidate effects.

[0100] The audio information of the media resource may be information related to the audio of the media resource, such as the added background music, the volume, or whether the original audio of the media resource is played.

[0101] In some embodiments, displaying the media resource after being processed with the current special effects on the media content editing interface includes: determining a target effect obtained by processing the media resource based on the current special effects in response to an adjustment operation on the effect adjustment information; and displaying the target effect corresponding to the media resource on the media content editing interface.

[0102] Among them, the adjustment operation can be a trigger operation for adjusting the processing effect of the current special effect, such as a trigger operation for adjusting the processing intensity of the current special effect. The execution method of the adjustment operation is not limited. Optionally, the adjustment operation on the screen information includes a selection operation on the multiple candidate effect selection items and / or a trigger operation on the effect intensity adjustment control, such as the adjustment operation can be an operation to trigger a candidate effect of the current special effect, or an operation to adjust the processing intensity currently indicated by the effect intensity adjustment control. The target effect can be understood as the effect of the current special effect to which the adjustment operation indicates adjustment.

[0103] For example, when an adjustment operation for effect adjustment information is received, a target effect corresponding to the adjustment operation and obtained by processing the media resources based on the current special effect can be determined, and the target effect can be displayed in the media content editing interface, such as displaying the target effect in the form of a candidate effect using the first special effect in the first area of ​​the media content editing interface, and / or displaying a preview screen corresponding to the target effect in the second area of ​​the media content editing interface.

[0104] S204 : Displaying an edit item of a first special effect, where the first special effect is a special effect that has been published in the current application, and the edit item is used to edit the first special effect.

[0105] In this embodiment, when the media content editing interface is displayed, the editing item of the current special effect (such as the first special effect) can be displayed in the media content editing interface; or based on the first editing item display operation performed by the current user in the media content boundary interface, the editing item of the current special effect can be displayed in the special effect editing interface of the current special effect or the media content editing interface. At this time, optionally, displaying the editing item of the first special effect includes: displaying the first editing item of the first special effect in the media content editing interface; and / or, in response to the first editing item display operation performed in the media content editing interface, displaying the second editing item of the first special effect in the special effect editing interface of the first special effect, or displaying the second editing item of the first special effect in the media content editing interface.

[0106] Among them, the first edit item display operation can act on the edit item display operation in the media content editing interface. The execution method of the first edit item display operation is not limited. Optionally, an edit item display control is also displayed in the media content editing interface, and the edit item display control is used to trigger the execution of the first edit item display operation, such as the first edit item display operation can be executed by triggering the edit item display control displayed in the media content editing interface. The display location of the edit item display control is not limited, such as the edit item display control can be displayed in the first area or the second area of ​​the media content editing interface.

[0107] In response to a first editing item display operation acting on a media content editing interface, the second editing item of the first special effect is displayed in the special effect editing interface of the first special effect, or the second editing item of the first special effect is displayed in the media content editing interface, for example, when a first editing item display operation acting on a media content editing interface is received, such as when it is detected that the current user triggers the editing item display control 63 displayed in the media content editing interface (as shown in Figure 6, Figure 6 takes the editing item display control displayed in the first area 60 as an example), the special effect editing interface of the first special effect can be displayed, and the second editing item of the first special effect is displayed in the special effect editing interface, as shown in Figure 2; or, the editing item of the first special effect is displayed in the media content editing interface, so that the current user can create the second special effect by editing the first special effect.

[0108] S205 : In response to the special effect generation operation, create and generate a second special effect based on the editing operation on the first special effect.

[0109] In this embodiment, when a special effect generation operation is received, a second special effect may be created and generated based on the current user's editing operation on the first special effect, such as by processing the first special effect based on the first edit item and / or the second edit item to create and generate the second special effect. Optionally, creating and generating the second special effect based on the editing operation on the first special effect includes: processing the first special effect based on the first edit item and / or processing the first special effect based on the second edit item to create and generate the second special effect.

[0110] S206: Generate first media content based on the second special effect in the current application.

[0111] In this embodiment, after the second special effect is created and generated, the media resources processed with the second special effect can be displayed in the media content editing interface. At this time, optionally, generating the first media content based on the second special effect in the current application includes: displaying the media resources processed with the second special effect in the media content editing interface.

[0112] The media content generation method provided in this embodiment supports users to edit published special effects to create new special effects in the media content creation process, and generate media content based on the created special effects. It can enrich the generation methods of media content and special effects, and enhance the user's creation experience.

[0113] FIG7 is a structural block diagram of a media content generation device provided by an embodiment of the present disclosure. The device can be implemented by software and / or hardware, and can be configured in an electronic device, typically a mobile phone or tablet computer. The device can edit the published special effects by executing the media content generation method, and use the edited special effects to generate media content. As shown in FIG7 , the media content generation device provided by this embodiment may include: an edit item display module 701, a special effect generation module 702, and a media content generation module 703, wherein the edit item display module 701 is used to display an edit item of a first special effect, the first special effect is a special effect that has been published in the current application, and the edit item is used to edit the first special effect; the special effect generation module 702 is used to create and generate a second special effect based on the editing operation of the first special effect in response to the special effect generation operation; and the media content generation module 703 is used to generate target media content based on the second special effect in the current application.

[0114] The media content generation device provided in this embodiment displays an edit item for a first special effect through an edit item display module. The first special effect is a special effect that has been published in the current application, and the edit item is used to edit the first special effect. The special effect generation module responds to the special effect generation operation and creates and generates a second special effect based on the edit operation of the first special effect. The media content generation module generates the first media content based on the second special effect within the current application. By adopting the above-mentioned technical solution, this embodiment supports users to create special effects based on edit operations of published special effects, and uses the created special effects to generate media content, which can enrich the generation methods of special effects and media content.

[0115] Furthermore, the media content generation device provided by this embodiment may also include: an interface switching module, which is used to switch to the media resource acquisition interface in response to the triggering operation of the associated control of the first special effect before the editing item of the first special effect is displayed; a first resource acquisition module, which is used to obtain the media resources to be processed in the media resource acquisition interface; a first resource display module, which is used to display the media content editing interface of the media resource, and display the media resource processed with the current special effect on the media content editing interface, wherein the media content editing interface is used to edit the picture information and / or audio information of the media resource to obtain the first media content; the current special effect includes the first special effect.

[0116] In the above scheme, the editing item display module 701 can be used to: display the first editing item of the first special effect in the media content editing interface; and / or, in response to the first editing item display operation acting on the media content editing interface, display the second editing item of the first special effect in the special effect editing interface of the first special effect, or display the second editing item of the first special effect in the media content editing interface.

[0117] In the above scheme, the special effect generation module 702 can be used to: process the first special effect based on the first editing item and / or process the first special effect based on the second editing item to create and generate a second special effect; the media content generation module 703 can be used to: display the media resources processed with the second special effect on the media content editing interface.

[0118] Furthermore, the media content generation device provided in this embodiment may also include at least one of the following: a first control display module, used to display second media content and associated controls of the first special effect in the media content display interface before switching to the media resource acquisition interface in response to the triggering operation of the associated controls of the first special effect, the second media content is generated based on the first special effect; a second control display module, used to display special effect information and corresponding associated controls of at least one special effect in a preset special effect display interface before switching to the media resource acquisition interface in response to the triggering operation of the associated controls of the first special effect, the at least one special effect including the first special effect; a third control display module, used to display detailed information of the first special effect and associated controls of the first special effect in the details interface of the first special effect before switching to the media resource acquisition interface in response to the triggering operation of the associated controls of the first special effect.

[0119] In the above scheme, the media resource acquisition interface may include a shooting interface for media content. The media content generation device provided in this embodiment may also include: a screen display module for displaying an image screen generated using the first special effect on the shooting interface; and / or an editing item display module for displaying the editing item of the first special effect on the shooting interface.

[0120] In the above scheme, the editing item display module 701 can be used to: in response to the second editing item display operation, display the editing item of the first special effect in the special effect editing interface of the first special effect, and the second editing item display operation acts on the preset special effect display interface or the details interface of the first special effect, and the preset special effect display interface is used to display the special effect information of at least one special effect.

[0121] Furthermore, the media content generation device provided by this embodiment may also include: a second resource acquisition module, used to obtain the media resource to be processed after the second special effect is created and generated based on the editing operation of the first special effect; a second resource display module, used to display the media content editing interface of the media resource, and display the media resource processed with the current special effect on the media content editing interface, wherein the media content editing interface is used to edit the picture information and / or audio information of the media resource to obtain the first media content; the current special effect includes the second special effect.

[0122] In the above solution, the picture information may include effect adjustment information generated when the picture of the media resource is processed using the current special effect, and the effect adjustment information may include multiple candidate effect selection items and / or effect intensity adjustment controls.

[0123] In the above scheme, the first resource display module and / or the second resource display module can be used to: determine the target effect obtained by processing the media resource based on the current special effect in response to the adjustment operation of the effect adjustment information; and display the target effect corresponding to the media resource on the media content editing interface.

[0124] In the above solution, the adjustment operation on the screen information may include a selection operation on the multiple candidate effect selection items and / or a triggering operation on the effect intensity adjustment control.

[0125] In the above scheme, the media content editing interface may include a first area and a second area, the first area can be used to display the multiple candidate effect selection items and / or effect intensity adjustment controls, and the second area can be used to display a preview screen corresponding to the target effect.

[0126] In the above solution, the multiple candidate effect selection items can be displayed in the form of thumbnails of the corresponding preview screens.

[0127] Furthermore, the media content generation device provided by this embodiment may also include: an effect switching module, which is used to switch the target effect in response to the effect switching operation acting on the media content editing interface after displaying the media resource after the current special effect processing in the media content editing interface, and switch the preview screen displayed in the second area according to the switched target effect.

[0128] In the above solution, the special effect information may include at least one of publisher information, special effect name, special effect keyword information and special effect usage information.

[0129] In the above scheme, the editing item may include a first editing item and / or a second editing item, the first editing item may include a candidate effect selection item and / or an effect intensity editing item, and the effect intensity editing item may be used to edit the effect intensity of the first special effect; the second editing item may include a style editing item and / or a keyword editing item, the style editing item may be used to edit the special effect style information of the first special effect, and the keyword editing item may be used to edit the special effect keyword information of the first special effect.

[0130] In the above scheme, the editing item may include a second editing item, and the editing item display module 701 may be used to perform at least one of the following: displaying a special effect style editing item, the special effect style editing item includes at least one special effect style information, the at least one special effect style information includes the first special effect style information of the first special effect, and the first special effect style information is displayed as selected; displaying a special effect keyword editing item, the special effect keyword editing item includes at least one special effect keyword information, the at least one special effect keyword information includes the first special effect keyword information of the first special effect, and the first special effect keyword information is displayed as selected.

[0131] Furthermore, the media content generation device provided by this embodiment may also include: a special effect editing module, which is used to edit the first special effect in response to an editing operation on the first special effect after the editing item of the first special effect is displayed, and the editing operation acts on the editing item.

[0132] In the above scheme, the special effect editing module may include at least one of the following: a first selection unit, used to switch the second special effect style information from an unselected state to a selected state in response to a selection operation of the second special effect style information in the at least one special effect style information, and switch the first special effect style information from a selected state to an unselected state; a second selection unit, used to switch the second special effect keyword from an unselected state to a selected state in response to a selection operation of the second special effect keyword information in the at least one special effect keyword information; a deselection unit, used to switch the first special effect keyword corresponding to the deselection operation from a selected state to an unselected state in response to a deselection operation of the first special effect keyword; an updating unit, used to update the third special effect keyword information in response to a modification operation of the third special effect keyword information in the at least one special effect keyword information, and display the third special effect keyword information as a selected state; a deleting unit, used to cancel the display of the fourth special effect keyword information in response to a deleting operation of the fourth special effect keyword information in the at least one special effect keyword information.

[0133] In the above scheme, the editing item may include a second editing item, the second editing item may include a keyword editing item, and the special effect editing module may include: a keyword adding unit, used to display a special effect keyword input area in response to a special effect keyword information adding operation, and the special effect keyword input area is used for the current user to input the fifth special effect keyword information; in response to the input completion operation, add the display of the fifth special effect keyword information entered by the current user; or, in response to the special effect keyword input operation, obtain the fifth special effect keyword information and add the display of the fifth special effect keyword information.

[0134] In the above solution, the keyword adding unit may be configured to: adopt a selected state to add and display the fifth special effect keyword information.

[0135] Furthermore, the media content generation device provided by this embodiment may also include: a content acquisition module, used to obtain the special effect description content input by the current user before adding and displaying the fifth special effect keyword information; a word segmentation processing module, used to perform word segmentation processing on the special effect description content and obtain at least one keyword information as the fifth special effect keyword information.

[0136] In the above solution, the word segmentation processing module can be used to: perform word segmentation processing on the special effect description content based on semantic analysis; and / or perform word segmentation processing on the special effect description content based on preset delimiters.

[0137] Furthermore, the media content generation device provided in this embodiment may also include: a first publishing module for publishing the second special effect in the current application in response to the first publishing operation for the second special effect after the second special effect is created and generated based on the editing operation on the first special effect; a second publishing module for publishing the first media content and the second special effect in the current application in response to the second publishing operation for the first media content after the second special effect is created and generated based on the editing operation on the first special effect.

[0138] The media content generation device provided in the embodiments of the present disclosure can execute the media content generation method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of executing the media content generation method. For technical details not fully described in this embodiment, please refer to the media content generation method provided in any embodiment of the present disclosure.

[0139] Reference is now made to FIG8 , which illustrates a schematic diagram of the structure of an electronic device (e.g., a terminal device) 800 suitable for implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device illustrated in FIG8 is merely an example and should not limit the functionality or scope of use of the embodiments of the present disclosure.

[0140] As shown in Figure 8, the electronic device 800 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage device 808 into a random access memory (RAM) 803. Various programs and data required for the operation of the electronic device 800 are also stored in the RAM 803. The processing device 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0141] Typically, the following devices may be connected to the I / O interface 805: an input device 806 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 807 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 808 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 809. The communication device 809 may allow the electronic device 800 to communicate with other devices wirelessly or by wire to exchange data. Although FIG8 shows the electronic device 800 with various devices, it should be understood that it is not required to implement or have all of the devices shown. More or fewer devices may be implemented or have alternatively.

[0142] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network via the communication device 809, or installed from the storage device 808, or installed from the ROM 802. When the computer program is executed by the processing device 801, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.

[0143] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.

[0144] In some embodiments, the client and server can communicate using any currently known or later developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or later developed network.

[0145] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0146] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: displays an editing item of a first special effect, where the first special effect is a special effect that has been published in the current application, and the editing item is used to edit the first special effect; creates and generates a second special effect based on the editing operation of the first special effect in response to a special effect generation operation; and generates first media content based on the second special effect within the current application.

[0147] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including, but not limited to, object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0148] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0149] The units involved in the embodiments described in this disclosure may be implemented in software or hardware, wherein the name of a module does not, in some cases, limit the unit itself.

[0150] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.

[0151] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0152] According to one or more embodiments of the present disclosure, Example 1 provides a method for generating media content, including: displaying an editing item of a first special effect, wherein the first special effect is a special effect published in a current application, and the editing item is used to edit the first special effect; in response to a special effect generation operation, creating and generating a second special effect based on the editing operation of the first special effect; and generating first media content based on the second special effect within the current application.

[0153] According to one or more embodiments of the present disclosure, Example 2 is based on the method described in Example 1, and before the editing item of the first special effect is displayed, it also includes: in response to the triggering operation of the associated control of the first special effect, switching to the media resource acquisition interface; acquiring the media resource to be processed in the media resource acquisition interface; displaying the media content editing interface of the media resource, and displaying the media resource processed with the current special effect in the media content editing interface, wherein the media content editing interface is used to edit the picture information and / or audio information of the media resource to obtain the first media content; the current special effect includes the first special effect.

[0154] According to one or more embodiments of the present disclosure, Example 3 is based on the method described in Example 2, and the display of the editing item of the first special effect includes: displaying the first editing item of the first special effect in the media content editing interface; and / or displaying the second editing item of the first special effect in the special effect editing interface of the first special effect in response to the first editing item display operation acting in the media content editing interface, or displaying the second editing item of the first special effect in the media content editing interface.

[0155] According to one or more embodiments of the present disclosure, Example 4 is based on the method described in Example 3, wherein the creating and generating of the second special effect based on the editing operation of the first special effect includes: processing the first special effect based on the first editing item and / or processing the first special effect based on the second editing item to create and generate the second special effect; and generating the first media content based on the second special effect within the current application includes: displaying the media resource processed by the second special effect in the media content editing interface.

[0156] According to one or more embodiments of the present disclosure, Example 5, based on the method described in Example 2, further includes at least one of the following before switching to the media resource acquisition interface in response to the triggering operation of the associated control of the first special effect: displaying second media content and the associated control of the first special effect in the media content display interface, the second media content being generated based on the first special effect; displaying special effect information and corresponding associated controls of at least one special effect in a preset special effect display interface, the at least one special effect including the first special effect; and displaying detailed information of the first special effect and the associated control of the first special effect in the detailed interface of the first special effect.

[0157] According to one or more embodiments of the present disclosure, Example 6 is based on the method described in Example 5, wherein the media resource acquisition interface includes a shooting interface for media content, and the method further includes: displaying an image generated using the first special effect on the shooting interface; and / or displaying an editing item of the first special effect on the shooting interface.

[0158] According to one or more embodiments of the present disclosure, Example 7 is based on the method described in Example 1, and the display of the editing item of the first special effect includes: in response to a second editing item display operation, displaying the editing item of the first special effect in the special effect editing interface of the first special effect, and the second editing item display operation acts on a preset special effect display interface or a details interface of the first special effect, and the preset special effect display interface is used to display special effect information of at least one special effect.

[0159] According to one or more embodiments of the present disclosure, Example 8 is based on the method described in Example 7, and after the second special effect is created and generated based on the editing operation of the first special effect, it also includes: obtaining the media resource to be processed; displaying the media content editing interface of the media resource, and displaying the media resource after processing with the current special effect on the media content editing interface, wherein the media content editing interface is used to edit the picture information and / or audio information of the media resource to obtain the first media content; the current special effect includes the second special effect.

[0160] According to one or more embodiments of the present disclosure, Example 9 is a method described in any one of Examples 2-6 and 8, wherein the picture information includes effect adjustment information generated when the picture of the media resource is processed using the current special effect, and the effect adjustment information includes multiple candidate effect selection items and / or effect intensity adjustment controls.

[0161] According to one or more embodiments of the present disclosure, Example 10 is based on the method described in Example 9, wherein the method of displaying the media resource after being processed with the current special effect on the media content editing interface includes: determining a target effect obtained by processing the media resource based on the current special effect in response to an adjustment operation on the effect adjustment information; and displaying the target effect corresponding to the media resource on the media content editing interface.

[0162] According to one or more embodiments of the present disclosure, Example 11 is a method according to Example 10, wherein the adjustment operation on the screen information includes a selection operation on the multiple candidate effect selection items and / or a triggering operation on the effect intensity adjustment control.

[0163] According to one or more embodiments of the present disclosure, Example 12 is based on the method described in Example 10, wherein the media content editing interface includes a first area and a second area, the first area is used to display the multiple candidate effect selection items and / or effect intensity adjustment controls, and the second area is used to display a preview screen corresponding to the target effect.

[0164] According to one or more embodiments of the present disclosure, Example 13 is the method according to Example 12, wherein the multiple candidate effect selection items are displayed in the form of thumbnails of the corresponding preview screens.

[0165] According to one or more embodiments of the present disclosure, Example 14 is based on the method described in Example 12, and after the media content editing interface displays the media resource processed with the current special effects, it also includes: in response to an effect switching operation acting within the media content editing interface, switching the target effect, and switching the preview screen displayed in the second area according to the switched target effect.

[0166] According to one or more embodiments of the present disclosure, Example 15 is a method according to any one of Examples 5-7, wherein the special effect information includes at least one of publisher information, special effect name, special effect keyword information, and special effect usage information.

[0167] According to one or more embodiments of the present disclosure, Example 16 is based on the method described in any one of Examples 1-8, wherein the editing item includes a first editing item and / or a second editing item, the first editing item includes a candidate effect selection item and / or an effect intensity editing item, and the effect intensity editing item is used to edit the effect intensity of the first special effect; the second editing item includes a style editing item and / or a keyword editing item, the style editing item is used to edit the special effect style information of the first special effect, and the keyword editing item is used to edit the special effect keyword information of the first special effect.

[0168] According to one or more embodiments of the present disclosure, Example 17 is based on the method described in Example 16, wherein the editing item includes a second editing item, and the editing item for displaying the first special effect includes at least one of the following: displaying a special effect style editing item, wherein the special effect style editing item includes at least one special effect style information, wherein the at least one special effect style information includes first special effect style information of the first special effect, and the first special effect style information is displayed as selected; displaying a special effect keyword editing item, wherein the special effect keyword editing item includes at least one special effect keyword information, wherein the at least one special effect keyword information includes first special effect keyword information of the first special effect, and the first special effect keyword information is displayed as selected.

[0169] According to one or more embodiments of the present disclosure, Example 18 is based on the method described in Example 17, and after the editing item of the first special effect is displayed, it also includes: in response to an editing operation on the first special effect, editing the first special effect, and the editing operation acts on the editing item.

[0170] According to one or more embodiments of the present disclosure, Example 19 is based on the method described in Example 18, wherein the editing of the first special effect in response to the editing operation on the first special effect includes at least one of the following: in response to the selection operation on the second special effect style information in the at least one special effect style information, the second special effect style information is switched from an unselected state to a selected state, and the first special effect style information is switched from a selected state to an unselected state; in response to the selection operation on the second special effect keyword information in the at least one special effect keyword information, the second special effect keyword is switched from an unselected state to a selected state; in response to the deselection operation on the first special effect keyword, the first special effect keyword corresponding to the deselection operation is switched from a selected state to an unselected state; in response to the modification operation on the third special effect keyword information in the at least one special effect keyword information, the third special effect keyword information is updated, and the third special effect keyword information is displayed as a selected state; in response to the deletion operation on the fourth special effect keyword information in the at least one special effect keyword information, the fourth special effect keyword information is canceled from being displayed.

[0171] According to one or more embodiments of the present disclosure, Example 20 is based on the method described in Example 18, wherein the editing item includes a second editing item, the second editing item includes a keyword editing item, and the editing of the first special effect in response to the editing operation on the first special effect includes: in response to the special effect keyword information adding operation, displaying a special effect keyword input area, the special effect keyword input area is used for the current user to input the fifth special effect keyword information; in response to the input completion operation, adding the display of the fifth special effect keyword information entered by the current user; or in response to the special effect keyword input operation, obtaining the fifth special effect keyword information, and adding the display of the fifth special effect keyword information.

[0172] According to one or more embodiments of the present disclosure, Example 21 is the method according to Example 20, wherein the adding and displaying of the fifth special effect keyword information includes: adding and displaying the fifth special effect keyword information in a selected state.

[0173] According to one or more embodiments of the present disclosure, Example 22 is based on the method described in Example 20, and before adding and displaying the fifth special effect keyword information, it also includes: obtaining the special effect description content input by the current user; performing word segmentation processing on the special effect description content, and obtaining at least one keyword information as the fifth special effect keyword information.

[0174] According to one or more embodiments of the present disclosure, Example 23 is based on the method described in Example 22, and the word segmentation processing of the special effect description content includes: word segmentation processing of the special effect description content based on semantic analysis; and / or word segmentation processing of the special effect description content based on preset delimiters.

[0175] According to one or more embodiments of the present disclosure, Example 24, according to the method described in any one of Examples 1-8, further includes at least one of the following after the second special effect is created and generated based on the editing operation on the first special effect: in response to a first publishing operation for the second special effect, publishing the second special effect in the current application; in response to a second publishing operation for the first media content, publishing the first media content and the second special effect in the current application.

[0176] According to one or more embodiments of the present disclosure, Example 25 provides a device for generating media content, including: an editing item display module, used to display an editing item of a first special effect, where the first special effect is a special effect published in the current application, and the editing item is used to edit the first special effect; a special effect generation module, used to create and generate a second special effect based on the editing operation of the first special effect in response to a special effect generation operation; and a media content generation module, used to generate target media content based on the second special effect within the current application.

[0177] According to one or more embodiments of the present disclosure, Example 26 provides an electronic device, comprising: one or more processors; a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement a method for generating media content as described in any one of Examples 1-24.

[0178] According to one or more embodiments of the present disclosure, Example 27 provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for generating media content as described in any one of Examples 1-24.

[0179] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.

[0180] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details have been included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0181] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.

Claims

1. A method for generating media content, comprising: Display an edit item of a first special effect, where the first special effect is a special effect that has been published in the current application, and the edit item is used to edit the first special effect; In response to a special effect generation operation, creating and generating a second special effect based on the editing operation of the first special effect; Generate first media content based on the second special effect in the current application.

2. The method according to claim 1, wherein before displaying the edited item of the first special effect, it further comprises: In response to a triggering operation on the associated control of the first special effect, switching to a media resource acquisition interface; Acquire the media resources to be processed in the media resource acquisition interface; A media content editing interface of the media resource is displayed, and the media resource processed with the current special effect is displayed on the media content editing interface, wherein the media content editing interface is used to edit the picture information and / or audio information of the media resource to obtain the first media content; and the current special effect includes the first special effect.

3. The method according to claim 2, wherein the displaying the editing item of the first special effect comprises: Displaying a first editing item of the first special effect in a media content editing interface; and / or In response to a first editing item display operation performed in a media content editing interface, a second editing item of the first special effect is displayed in the special effect editing interface of the first special effect, or a second editing item of the first special effect is displayed in the media content editing interface.

4. The method according to claim 3, wherein the creating and generating the second special effect based on the editing operation of the first special effect comprises: Processing the first special effect based on the first editing item and / or processing the first special effect based on the second editing item to create and generate a second special effect; The generating the first media content based on the second special effect in the current application includes: The media resource processed by the second special effect is displayed on the media content editing interface.

5. The method according to claim 2, wherein before switching to the media resource acquisition interface in response to the triggering operation of the associated control of the first special effect, the method further comprises at least one of the following: Displaying second media content and associated controls of the first special effect in a media content display interface, where the second media content is generated based on the first special effect; Displaying special effect information and corresponding associated controls of at least one special effect in a preset special effect display interface, wherein the at least one special effect includes the first special effect; The detailed information of the first special effect and the associated controls of the first special effect are displayed in the detailed interface of the first special effect.

6. The method according to claim 5, wherein the media resource acquisition interface comprises a shooting interface of media content, and the method further comprises: Displaying an image generated by using the first special effect on the shooting interface; and / or An editing item of the first special effect is displayed on the shooting interface.

7. The method according to claim 1, wherein displaying the editing item of the first special effect comprises: In response to the second editing item display operation, the editing item of the first special effect is displayed in the special effect editing interface of the first special effect. The second editing item display operation acts on a preset special effect display interface or a details interface of the first special effect. The preset special effect display interface is used to display special effect information of at least one special effect.

8. The method according to claim 7, wherein after creating and generating the second special effect based on the editing operation of the first special effect, the method further comprises: Get the media resources to be processed; A media content editing interface of the media resource is displayed, and the media resource processed with the current special effect is displayed on the media content editing interface, wherein the media content editing interface is used to edit the picture information and / or audio information of the media resource to obtain the first media content; and the current special effect includes the second special effect.

9. A method according to any one of claims 2-6 and 8, wherein the picture information includes effect adjustment information generated when the picture of the media resource is processed using the current special effect, and the effect adjustment information includes multiple candidate effect selection items and / or effect intensity adjustment controls.

10. The method according to claim 9, wherein displaying the media resource processed with the current special effects in the media content editing interface comprises: In response to an adjustment operation on the effect adjustment information, determining a target effect obtained by processing the media resource based on the current special effect; The target effect corresponding to the media resource is displayed on the media content editing interface. 11 . The method according to claim 10 , wherein the adjustment operation on the screen information comprises a selection operation on the plurality of candidate effect selection items and / or a triggering operation on the effect intensity adjustment control.

12. The method according to claim 10, wherein the media content editing interface comprises a first area and a second area, the first area being used to display the multiple candidate effect selection items and / or effect strength adjustment controls, and the second area being used to display a preview screen corresponding to the target effect. 13 . The method according to claim 12 , wherein the plurality of candidate effect selection items are displayed in the form of thumbnails of corresponding preview images.

14. The method according to claim 12, wherein after the media content editing interface displays the media resource processed with the current special effect, it further comprises: In response to an effect switching operation performed within the media content editing interface, the target effect is switched, and the preview screen displayed in the second area is switched according to the switched target effect.

15. The method according to any one of claims 5-7, wherein the special effect information comprises at least one of publisher information, special effect name, special effect keyword information and special effect usage information.

16. The method according to any one of claims 1-8, wherein the editing item includes a first editing item and / or a second editing item, the first editing item includes a candidate effect selection item and / or an effect strength editing item, the effect strength editing item is used to edit the effect strength of the first special effect; the second editing item includes a style editing item and / or a keyword editing item, the style editing item is used to edit the special effect style information of the first special effect, and the keyword editing item is used to edit the special effect keyword information of the first special effect.

17. The method according to claim 16, wherein the editing item includes a second editing item, and the editing item that displays the first special effect includes at least one of the following: Displaying a special effect style editing item, wherein the special effect style editing item includes at least one special effect style information, wherein the at least one special effect style information includes first special effect style information of the first special effect, and the first special effect style information is displayed as a selected state; A special effect keyword editing item is displayed, wherein the special effect keyword editing item includes at least one special effect keyword information, wherein the at least one special effect keyword information includes first special effect keyword information of the first special effect, and the first special effect keyword information is displayed as a selected state.

18. The method according to claim 17, wherein after displaying the edited item of the first special effect, further comprising: In response to an editing operation on the first special effect, the first special effect is edited, and the editing operation acts on the editing item.

19. The method according to claim 18, wherein in response to the editing operation on the first special effect, editing the first special effect comprises at least one of the following: In response to a selection operation on second special effect style information in the at least one special effect style information, switching the second special effect style information from an unselected state to a selected state, and switching the first special effect style information from a selected state to an unselected state; In response to a selection operation on a second special effect keyword information in the at least one special effect keyword information, switching the second special effect keyword from an unselected state to a selected state; In response to a deselection operation on the first special effect keyword, switching the first special effect keyword corresponding to the deselection operation from a selected state to an unselected state; In response to a modification operation on a third special effect keyword information in the at least one special effect keyword information, updating the third special effect keyword information and displaying the third special effect keyword information as a selected state; In response to a deletion operation on the fourth special effect keyword information in the at least one special effect keyword information, the fourth special effect keyword information is canceled from being displayed.

20. The method according to claim 18, wherein the editing item comprises a second editing item, the second editing item comprises a keyword editing item, and the editing of the first special effect in response to the editing operation on the first special effect comprises: In response to the special effect keyword information adding operation, displaying a special effect keyword input area, wherein the special effect keyword input area is used for the current user to input fifth special effect keyword information; In response to the input completion operation, adding and displaying the fifth special effect keyword information input by the current user; or In response to the special effect keyword input operation, fifth special effect keyword information is obtained, and the fifth special effect keyword information is added and displayed.

21. The method according to claim 20, wherein the step of adding and displaying the fifth special effect keyword information comprises: The selected state is adopted to increase the display of the fifth special effect keyword information.

22. The method according to claim 20, wherein before adding and displaying the fifth special effect keyword information, it also includes: Obtaining the special effect description content input by the current user; Perform word segmentation processing on the special effect description content to obtain at least one keyword information as the fifth special effect keyword information.

23. The method according to claim 22, wherein the word segmentation processing of the special effect description content comprises: Performing word segmentation processing on the special effect description content based on semantic analysis; and / or The special effect description content is segmented based on a preset separator.

24. The method according to any one of claims 1 to 8, wherein after the second special effect is created and generated based on the editing operation of the first special effect, at least one of the following is further included: In response to a first publishing operation for the second special effect, publishing the second special effect in the current application; In response to a second publishing operation on the first media content, the first media content and the second special effect are published in the current application.

25. A device for generating media content, comprising: An editing item display module is used to display the editing items of the first special effect, where the first special effect is currently applied The special effect published in the editing item is used to edit the first special effect; A special effect generation module, configured to create and generate a second special effect based on an editing operation on the first special effect in response to a special effect generation operation; The media content generation module is used to generate target media content based on the second special effect in the current application.

26. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for generating media content according to any one of claims 1 to 24.

27. A computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a processor to implement the method for generating media content according to any one of claims 1 to 24 when executed.

Citation Information

Patent Citations

  • Media content generation method and device, electronic equipment and storage medium

    CN116886989A

  • Special effect data packet generation method and device, image processing method and device, equipment and storage medium

    CN113709549A

  • Special effect display method and device, electronic equipment and storage medium

    CN116225592A

  • Special effect prop generation method and device, picture processing method and device and electronic equipment

    CN116459508A

  • Real time video special effects system and method

    US20200186728A1