Method and apparatus for generating media content, and electronic device and storage medium
By displaying and editing the published effects, and creating new effects, the problem of limited media content generation methods is solved, and a variety of media content generation methods are realized.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-08-06
- Publication Date
- 2026-03-26
AI Technical Summary
The methods for generating media content are relatively simple and lack diversity.
A method for generating media content is provided, which allows users to edit published special effects by displaying editable items, and to create new special effects based on the editing operations, thereby generating media content.
It enriches the ways media content is generated, supports users in creating new effects based on the editing operations of published effects, and enhances the diversity of effects and media content generation.
Smart Images

Figure CN2024110135_26032026_PF_FP_ABST
Abstract
Description
Method, device, electronic device and storage medium for generating media content
[0001] The present application claims priority to the Chinese patent application No. 202310988670.8, filed on August 7, 2023, entitled "Method, device, electronic device and storage medium for generating media content", the whole content of which is incorporated herein by reference. TECHNICAL FIELD
[0002] Embodiments of the present disclosure relate to the technical field of computer, and particularly relate to a method, device, electronic device and storage medium for generating media content. BACKGROUND
[0003] In some platforms, a user can generate media content based on a special effect published in the platform. However, the way of generating media content is relatively single.
[0004] SUMMARY
[0005] Embodiments of the present disclosure provide a method, device, electronic device and storage medium for generating media content, to enrich the way of generating media content.
[0006] In a first aspect, embodiments of the present disclosure provide a method for generating media content, comprising: displaying an editing item of a first special effect, the first special effect being a special effect published in a current application, the editing item being used for editing the first special effect; in response to a special effect generation operation, creating and generating a second special effect based on an editing operation on the first special effect; and generating first media content based on the second special effect in the current application.
[0007] In a second aspect, embodiments of the present disclosure further provide a device for generating media content, comprising: an editing item display module configured to display an editing item of a first special effect, the first special effect being a special effect published in a current application, the editing item being used for editing the first special effect; a special effect generation module configured to, 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; and a media content generation module configured to generate target media content based on the second special effect in the current application.
[0008] In a third aspect, embodiments of the present disclosure further provide an electronic device, comprising: one or more processors; a memory configured to store one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method for generating media content according to the embodiments of the present disclosure.
[0009] In a fourth aspect, the present disclosure also provides a computer readable storage medium, having stored thereon a computer program, which, when executed by a processor, implements the method for generating media content according to any one of the embodiments of the present disclosure. BRIEF DESCRIPTION OF DRAWINGS
[0010] The above and other features, aspects, and advantages of the present disclosure will become more apparent with reference to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or like reference numerals are used to represent the same or similar elements. It should be understood that the drawings are schematic and elements and features are not necessarily to scale.
[0011] FIG. 1 is a flow diagram of a method for generating media content according to an embodiment of the present disclosure;
[0012] FIG. 2 is a display diagram of an editing item according to an embodiment of the present disclosure;
[0013] FIG. 3 is a display diagram of a special effect keyword input area according to an embodiment of the present disclosure;
[0014] FIG. 4 is a flow diagram of another method for generating media content according to an embodiment of the present disclosure;
[0015] FIG. 5 is a display diagram of a preset special effect display interface according to an embodiment of the present disclosure;
[0016] FIG. 6 is a display diagram of a media content editing interface according to an embodiment of the present disclosure;
[0017] FIG. 7 is a block diagram of a device for generating media content according to an embodiment of the present disclosure; and
[0018] FIG. 8 is a structural diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0019] Embodiments of the present disclosure will be described more fully hereinafter with reference to the accompanying drawings. While several embodiments of the present disclosure are shown in the drawings, it is understood that the present disclosure can be embodied in various forms and should not be construed as being limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and fully convey the scope of the present disclosure to those skilled in the art. It should be understood that the drawings and embodiments are for illustrative purposes only and are not intended to limit the scope of the present disclosure.
[0020] It should be understood that the various steps of the method embodiments of the present disclosure can be performed in different orders and / or in parallel. In addition, the method embodiments can 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 "includes" and its variants are to be read to be analogous to "comprises," or "comprising." The term "based on" is to be read as "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"; the term "some embodiments" means "at least some embodiments." Related terms have corresponding meanings.
[0022] It should be noted that the terms "first", "second", etc. mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not intended to limit the order or interdependence of the functions performed by these devices, modules or units.
[0023] It should be noted that the terms "one", "multiple" mentioned in the present disclosure are illustrative and not restrictive, and those skilled in the art should understand that "one or more" should be understood unless otherwise explicitly indicated in the context.
[0024] The names of the messages or information exchanged between the devices in the embodiments of the present disclosure are only for illustrative purposes, and are not intended to limit the scope of the messages or information.
[0025] It can be understood that, before using the technical solutions disclosed in the embodiments of the present disclosure, the type, use range, use scenario, etc. of the personal information involved in the present disclosure should be informed to the user and the authorization of the user should be obtained through appropriate means according to relevant laws and regulations.
[0026] For example, in response to receiving the active request of the user, prompt information is sent to the user to explicitly prompt the user that the operation requested to be performed will require obtaining and using the personal information of the user. Thus, the user can voluntarily choose whether to provide the personal information to the software or hardware such as electronic device, application program, server or storage medium, etc. that performs the operation of the technical solutions of the present disclosure according to the prompt information.
[0027] As an optional but not limited implementation manner, in response to receiving the active request of the user, the manner of sending prompt information to the user may, for example, be the manner of pop-up window, and the prompt information may, for example, be presented in the form of text in the pop-up window. In addition, the pop-up window may, for example, carry selection controls for the user to select "agree" or "disagree" to provide personal information to the electronic device.
[0028] It can be understood that the above notification and user authorization process is only illustrative, and does not limit the implementation manner of the present disclosure, and other manners meeting the relevant laws and regulations can also be applied to the implementation manner of the present disclosure.
[0029] FIG. 1 is a flowchart of a method for generating media content according to an embodiment of the present disclosure. The method can be performed 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, the device can be configured in a mobile phone or a tablet computer. The method for generating media content according to an embodiment of the present disclosure is suitable for editing a published special effect, and generating a scene of media content by using the edited special effect. As shown in FIG. 1, the method for generating media content according to an embodiment of the present disclosure can include the following steps.
[0030] S101, display an editing item of a first special effect, the first special effect being a published special effect in a current application, the editing item being used for editing the first special effect.
[0031] The first special effect can be a special effect that a current user wants to create and generate based on. The first special effect is a published special effect in a current application, such as a special effect published by the current user or other users in the current application. 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, and the like. Hereinafter, the AI special effect is taken as an example for description. The AI special effect can be used for image processing of a person image to obtain a stylized image.
[0032] For example, when a media content shooting interface or a media content editing page displays media content generated by using the first special effect, an editing entry of the first special effect is displayed to trigger display of the editing item of the first special effect. There are various ways to trigger display of the media content shooting interface or the media content editing page by using the first special effect. For example, when a media content display page displays second media content generated by using the first special effect, a media content shooting entry is displayed on the media content display page. Alternatively, a special effect information and a corresponding media content shooting entry of at least one special effect are displayed on a preset special effect display interface, the at least one special effect including the first special effect. Alternatively, detail information of the first special effect and a media content shooting entry are displayed on a detail interface of the first special effect. When the above-mentioned media content shooting entry (i.e., an entry for shooting a work with the same special effect) is triggered, the media content shooting interface is entered and the first special effect corresponding to the media content shooting entry is used by default. That is, after the first special effect is published, other users can create works by using the same special effect.
[0033] The editing item of the first special effect can be content for editing the first special effect, such as an option, a control, and / or an area (such as an input area) for editing the first special effect, and the like. Optionally, 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 for editing an effect intensity of the first special effect, and the second editing item includes a style editing item for editing special effect style information of the first special effect and / or a keyword editing item for editing special effect keyword information of the first special effect.
[0034] It can be understood that when the user enters the media content creation through the entrance of shooting the same work of the first special effect from the media content display page, the preset special effect display interface, or the detail information of the first special effect, by default, an image is processed by using a special effect model corresponding to the first special effect, when the user triggers to determine 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, and when the user completes the creation of the special effect effect, the special effect model corresponding to the newly modified special effect is determined. That is, when other users shoot the same work by using the first special effect, the special effect model of the existing first special effect can be modified and adjusted.
[0035] The first editing item can be an editing item for editing a 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 a 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. For example, 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 a 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 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 style information of the special effect, such as a comic style, a retro style, and the like. 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 for describing the special effect, such as keyword information for describing a property of the special effect or a property of a part in the special effect, and the like.
[0037] Specifically, the editing item of the first special effect can be displayed, such as displaying the first editing item and / or the second editing item of the first special effect in an interface such as the special effect editing interface of the first special effect and / or the media content editing interface of the first media content based on the corresponding trigger operation of the current user, so as to enable the current user to perform the editing operation 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, the special effect keyword information and / or the candidate effect of the first special effect can be displayed in a selected state, so as to facilitate the current user to clearly understand the related information of the first special effect before editing.
[0039] Optionally, the editing item includes a second editing item, and the display of the editing item of the first special effect includes at least one of the following: displaying a special effect style editing item, the special effect style editing item including at least one special effect style information, the at least one special effect style information including first special effect style information of the first special effect, the first special effect style information being displayed in a selected state; and displaying a special effect keyword editing item, the special effect keyword editing item including at least one special effect keyword information, the at least one special effect keyword information including first special effect keyword information of the first special effect, the first special effect keyword information being displayed in a selected state.
[0040] 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. For example, 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 of the first special effect when it is published. 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. For example, 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 of the first special effect when it is published.
[0041] For example, as shown in FIG. 2 (taking the special effect editing interface for creating and generating an AI special effect as an example), when the special effect style editing item of the first special effect is displayed, at least one special effect style information including the first special effect style information 20 of the first special effect can be displayed, and the first special effect style information 20 of the first special effect is displayed in a selected state. And / or, when the special effect keyword editing item of the first special effect is displayed, at least one special effect keyword information including the first special effect keyword 21 of the first special effect can be displayed, and the first special effect keyword information 21 of the first special effect is displayed in a selected state.
[0042] In the embodiment, after the display of the edit item of the first special effect, the current user can perform an editing operation on the first special effect based on the displayed edit item to edit the first special effect. At this time, optionally, after the display of the edit item of the first special effect, it further includes: in response to the editing operation on the first special effect, editing the first special effect, and the editing 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 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 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 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 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 on the second special effect style information can be a trigger operation for selecting a special effect style information, such as an operation of clicking a special effect style information in an unselected state, etc. The second special effect style information can be the special effect style information corresponding to the selection operation, such as the special effect style information clicked by the current user. The second special effect style information and the first special effect style information can be different special effect style information.
[0045] The selection operation on the second special effect keyword information can be a trigger operation for selecting a certain special effect keyword information, such as an operation of clicking a certain special effect keyword information in an unselected state. The second special effect keyword information can be a special effect keyword information corresponding to the selection operation, such as a special effect keyword information clicked by the current user. The deselection operation on the first special effect keyword can be an operation of deselecting a certain special effect keyword information in a selected state, such as an operation of clicking a certain special effect keyword information in a selected state. The modification operation can be an operation for indicating modification of a certain special effect keyword information. The third special effect keyword information can be a special effect keyword information modified by the modification operation. The deletion operation can be an operation for indicating deletion of a certain displayed special effect keyword information, such as an operation of triggering a deletion control corresponding to a special effect keyword information, and the like. The fourth special effect keyword information can be a special effect keyword information deleted by the deletion operation. The second special effect keyword information, the third special effect keyword information, and / or the fourth special effect keyword information can be the same or different special effect keyword information as the first special effect keyword information.
[0046] In the above embodiments, 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 receiving a selection operation on 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 receiving a selection operation on the displayed second special effect keyword information, the second special effect keyword information can be switched from the unselected state to the selected state. At this time, the first special effect keyword information can remain in the selected state (for a case where the current application supports the user to select multiple special effect keyword information), or be switched from the selected state to the unselected state (for a case where the current application only supports the user to select one special effect keyword information).
[0049] When receiving a deselection operation on a certain first special effect keyword information currently in the selected state, the first special effect keyword information can be switched from the selected state to the unselected state.
[0050] When a modification operation for the third special effect keyword information is received, the third special effect keyword information can be updated based on the modification operation, and the third special effect keyword information can be further displayed in the unselected state. When the third special effect keyword information is in the unselected state, it can be switched from the unselected state to the selected state. It can be understood that when the third special effect keyword information is in the unselected state, after updating the third special effect keyword information, the third special effect keyword information can also continue to be in the unselected state, which 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 can be canceled.
[0052] In some embodiments, the editing item includes a second editing item, and the second editing item includes a keyword editing item. In response to the editing operation on the first special effect, the first special effect is edited, including:
[0053] In response to a special effect keyword information adding operation, a special effect keyword input area is displayed, and the special effect keyword input area is used for a current user to input fifth special effect keyword information. In response to an input completion operation, the fifth special effect keyword information input by the current user is added and displayed.
[0054] In response to a special effect keyword input operation, fifth special effect keyword information is obtained, and the fifth special effect keyword information is added and displayed.
[0055] The special effect keyword input area can be an area for a user to input special effect keyword information through a keyboard, and the keyboard can be a virtual keyboard or a non-virtual keyboard. The special effect keyword information adding operation can be an operation for indicating to display the special effect keyword area, such as an operation of triggering a keyword adding control displayed in the special effect editing interface. The input completion operation can be an operation for indicating that the keyword input is completed, such as an operation of triggering an input completion control or a certain key on the keyboard.
[0056] In the above embodiments, the user 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 a triggering operation of the user, that is, the special effect keyword input area can be displayed when the user has a demand to input special effect keyword information through the keyboard, so as to simplify the content displayed in the special effect editing interface.
[0058] Specifically, the current application program can display the special effect keyword input area 30 when receiving a special effect keyword information adding operation. For example, when detecting that the current user triggers the keyword adding control 22 (as shown in FIG. 2), it can be determined that a special effect keyword information adding operation is received, and in response to the special effect keyword adding operation, the special effect keyword input area 30 is displayed in the current interface or the keyword adding interface 31 (as shown in FIG. 3).
[0059] Therefore, 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. And when the input is completed, an input completion operation is performed.
[0060] Correspondingly, when the current application program detects that the current user performs an input completion operation, the special effect keyword information corresponding to the special effect description content input by the current user can be displayed in the description area of the special effect editing interface.
[0061] In an optional implementation, when the editing item of the first special effect is displayed in the special effect editing interface, the special effect keyword input area can be further displayed, so that the user can directly input the special effect keyword information in the special effect keyword input area, and simplify the operation required by the user to input the special effect keyword information.
[0062] Specifically, when receiving an input operation of the current user in the special effect keyword input area of the special effect editing interface, the character input by the current user can be displayed in the special effect keyword input area. When the current user finishes inputting, the special effect description information input 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 input by the current user is displayed in the description area.
[0063] In the above implementation, the user can select the special effect keyword information desired to be selected by the user through a selection operation, and / or cancel the selection of the special effect keyword information not desired to be selected by the user through a deselection operation. Therefore, the special effect keyword information in the selected state can be used as the special effect keyword information of the second special effect created by the user. At this time, when the obtained special effect keyword information is displayed in the description area, the obtained special effect keyword information can be displayed in the selected state or the unselected state, which can be set according to the needs.
[0064] Considering that the effect description entered by the user in the effect keyword input area is usually the effect description the user wants to select, it is possible that when displaying the acquired effect keyword information in the description area, the acquired effect keyword information can be displayed in a selected state to further simplify the user's operations during the effect creation process. In this case, adding the display of the fifth effect keyword information can include: displaying the fifth effect keyword information in a selected state.
[0065] In some implementations, it is not necessary for users to input only one keyword at a time and / or to input in keyword form. For example, users can be allowed to input multiple keywords in the special effects keyword input area, and / or, users can be allowed to input one or more descriptive statements of special effects in the special effects keyword input area. Therefore, when the user finishes inputting, the user-inputted special effects description can be obtained, the description can be segmented, and at least one keyword obtained from the segmentation can be used as the special effects keyword information. Optionally, before adding and displaying the fifth special effects keyword information, the method further includes: obtaining the current user-inputted special effects description; performing word segmentation on the description to obtain at least one keyword as the fifth special effects keyword information.
[0066] In the above embodiments, the method of segmenting the special effects description content is not limited. Optionally, the segmentation of the special effects description content includes: segmenting the special effects description content based on semantic analysis; and / or segmenting the special effects description content based on preset delimiters. That is, the special effects description content can be segmented based on semantic analysis and / or preset delimiters, such as segmenting the special effects description content based on the semantics of natural language analysis, and / or segmenting the special effects description content based on preset delimiters such as spaces, commas, and / or pauses.
[0067] S102. In response to the effect generation operation, create and generate a second effect based on the editing operation on the first effect.
[0068] The effect generation operation can be a triggering operation that instructs the creation and generation of a new effect based on the editing operation of the first effect, such as triggering the operation of the completion control displayed in the effect editing interface or other gesture operations. In response to the effect generation operation, the newly created effect model is determined. The second effect can be considered as the effect created and generated in response to the effect generation operation.
[0069] In the embodiment, when the special effect generation operation is received, such as when the completion control 23 (as shown in FIG. 2) in the special effect editing interface is detected by the current user, the second special effect can be created and generated based on the editing operation of the current user on the first special effect, such as creating and generating the second special effect based on the editing item in the selected state when the special effect generation operation is received.
[0070] S103, generating the first media content based on the second special effect in the current application.
[0071] The first media content is the media content processed by the second special effect.
[0072] In the embodiment, after the second special effect is created, the current user can create media content by using the second special effect, such as generating the first media content based on the second special effect in the current application.
[0073] In some embodiments, after the second special effect is created and generated, the current user can publish the second special effect, such as publishing the second special effect alone or publishing the second special effect together with the media content created thereby. At this time, optionally, after the second special effect is created and generated based on the editing operation on 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 for the first media content, publishing the first media content and the second special effect in the current application.
[0074] The first publishing operation can be a trigger operation for indicating publishing the second special effect and not for indicating publishing the media content. The second publishing operation can be a trigger operation for indicating publishing the second special effect and the media content. The first publishing operation and the second publishing operation can be different trigger operations. The specific execution manner of the first publishing operation and the second publishing operation is not limited. The first media content can be the media content processed by the second special effect and published for the first time after the second special effect is created by the current user.
[0075] For example, when the first publishing operation for the second special effect is received, the second special effect can be published in the current application; and / or when the second publishing operation for the first media content processed by the second special effect is received, if the first media content is the 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, so as to enrich the publishing manner of the special effect and meet different publishing demands of the user.
[0076] In some embodiments, a preset special effect display interface or a detail interface of the first special effect can be displayed, and in response to a second editing item display operation acting on the preset special effect display interface or the detail interface, the editing item of the first special effect is displayed in the special effect editing interface 24 of the first special effect, as shown in FIG. 2. At this time, optionally, the display of the editing item of the first special effect includes: in response to the second editing item display operation acting on the preset special effect display interface or the detail interface of the first special effect, the editing item of the first special effect is displayed in the special effect editing 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.
[0077] The second editing item display operation can be an editing item display operation acting on the preset special effect display interface or the detail interface of the first special effect. The editing item display operation can be understood as an operation for indicating the display of the editing 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 the relevant information of the publisher of the special effect, such as the nickname and / or avatar of the publisher, etc. The special effect usage information of a special effect can be considered as information for describing the usage of the special effect, such as the number of uses or the number of users of the special effect, etc. The at least one special effect can include platform-provided special effects and / or user-published special effects in the platform, etc. The first special effect is included in the at least one special effect. The detail interface of the first special effect can be used to display the detail information of the first special effect.
[0078] In the above embodiments, after creating and generating the second special effect, the media resource to be processed can be obtained, and a media content editing interface of the obtained media resource is displayed to facilitate the user to edit the media resource and generate the first media content. At this time, optionally, after creating and generating the second special effect based on the editing operation on the first special effect, the method further includes: obtaining a media resource to be processed; displaying a media content editing interface of the media resource, and displaying the media resource processed by 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; and the current special effect includes the second special effect.
[0079] The media resource to be processed can be understood as a media resource used to be processed by a certain special effect (such as the second special effect) to generate the first media content. The media resource may, for example, include the content captured by the current user in the shooting interface, and / or the media content material selected by the current user in the material uploading interface. The material uploading interface can be an interface for uploading media content materials, such as the local album interface of the current user, etc.
[0080] For example, after the second special effect is created and generated, the media resource to be processed can be acquired, for example, a shooting interface can be displayed, and the media resource to be processed can be shot based on a shooting operation of the current user in the shooting interface; or a material uploading interface can be displayed, and the media content material selected by the current user can be selected as the media resource to be processed based on a material selection operation of the current user in the material uploading interface. After the media resource to be processed is acquired, a media content editing interface of the acquired media resource can be displayed to allow the current user to edit the picture information and / or the 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 editing item of a first special effect, the first special effect being a published special effect in the current application, and the editing 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 an editing operation on the first special effect. The first media content is generated based on the second special effect in the current application. By using the above technical solution, the user can create a special effect based on an editing operation on a published special effect, and generate media content by using the created special effect, so that the generation mode of the special effect and the generation mode of the media content can be enriched.
[0082] FIG. 4 is a flowchart of another media content generation method provided in the embodiment of the disclosure. The scheme in this embodiment can be combined with one or more optional schemes in the above embodiments. Optionally, before the display of the editing item of the first special effect, the method further includes: in response to a triggering operation of an associated control of the first special effect, switching to a media resource acquisition interface; acquiring a media resource to be processed in the media resource acquisition interface; displaying a media content editing interface of the media resource, and displaying the media resource processed by using a current special effect in the media content editing interface, wherein the media content editing interface is used to edit the picture information and / or the audio information of the media resource to obtain the first media content; and the current special effect includes the first special effect.
[0083] Correspondingly, as shown in FIG. 4, the media content generation method provided in this embodiment can include:
[0084] S201, in response to a triggering operation of an associated control of the first special effect, switching to a media resource acquisition interface.
[0085] The associated control of the first special effect can be an interface used to indicate switching to the media resource acquisition interface to acquire the media resource processed by using the first special effect. The media resource acquisition interface can include a shooting interface and / or a material uploading interface, for example.
[0086] It can be understood that when the media resource acquisition interface is a shooting interface, the image picture generated by using the first special effect can be 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 to be displayed on the shooting interface, so that the user can modify the first special effect on the shooting interface. At this time, optionally, the media content shooting interface is included in the media resource acquisition interface, and the method further includes: displaying the image picture generated by using the first special effect on the shooting interface; and / or displaying the editing entry 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, which will not be described here.
[0087] For example, as shown in FIG. 5 (taking the display of the association control 50 in the preset special effect display interface as an example), the association control 50 of the first special effect can be displayed, and when it is detected that the current user triggers the association control 50 of the first special effect, the media resource acquisition interface is switched to acquire the media resource to be processed.
[0088] In this embodiment, the display timing and display position of the association control of the first special effect are not limited. For example, when the media content displayed in the media content display interface is the media content generated based on the first special effect, the association control 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 association control of each special effect in the at least one special effect can be displayed in the preset special effect display interface, as shown in FIG. 5; and / or the association control of the first special effect can be displayed in the detail 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 association control of the first special effect, at least one of the following is further included: displaying the second media content and the association 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 the special effect information of at least one special effect and the corresponding association control in the preset special effect display interface, the at least one special effect including the first special effect; and displaying the detail information of the first special effect and the association control of the first special effect in the detail interface of the first special effect.
[0090] In addition, as shown in FIG. 5, the first identifier 51 and the second identifier 52 can be displayed in the preset special effect display interface. The first identifier 51 can be used to trigger the display of the special effect information of the special effect created by the current user in the preset special effect display interface; and the second identifier 52 can be used to trigger the display of the special effect information of the recommended special effect in the preset special effect display interface.
[0091] S202, acquiring the media resource to be processed in the media resource acquisition interface.
[0092] The media resource to be processed can be understood as a media resource for processing by using the first special effect to generate the media content. The media resource can include, for example, content captured by the current user in a shooting interface, and / or media content material selected by the current user in a material uploading interface.
[0093] In this embodiment, after displaying the media resource acquisition interface, the media resource to be processed can be acquired in the media resource acquisition interface. For example, a shooting interface can be displayed, and the media resource to be processed can be captured based on a shooting operation of the current user in the shooting interface; or a material uploading interface can be displayed, and the media content material selected by the current user can be used as the media resource to be processed based on a material selection operation of the current user in the material uploading interface.
[0094] S203, display a media content editing interface of the media resource, and display the media resource processed by using the current special effect in the media content editing interface. The media content editing interface is used to edit 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.
[0095] In this embodiment, after the media resource to be processed is acquired, a media content editing interface of the acquired media resource can be displayed, and the media resource processed by using the first special effect can be displayed in the media content editing interface, such as a preview picture of the media resource processed by using a candidate effect of the first special effect in a second area of the media content editing interface.
[0096] The picture information of the media resource can be related information of a picture of the media resource, such as a sticker added in the picture, a filter effect added in the picture, and / or a size of the picture. Optionally, the picture information includes effect adjustment information generated when the picture of the media resource is processed by using the current special effect. The effect adjustment information includes a plurality of candidate effect selection items and / or an effect intensity adjustment control.
[0097] The current special effect can be understood as a special effect currently used by the user to process the media resource, 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 a plurality of candidate effect selection items of the current special effect and / or an effect intensity adjustment control. For example, the plurality of 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 plurality of candidate effect selection items are displayed in the form of thumbnails of preview pictures corresponding to the candidate effect selection items. For example, a candidate effect selection item can be displayed in the form of a thumbnail of a preview picture 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 position of the plurality of candidate effect selection items of the current special effect in the media content editing interface is not limited. Optionally, as shown in FIG. 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 plurality of candidate effect selection items and / or the effect intensity adjustment control (not shown in FIG. 6), and the second area 61 is used to display the preview picture corresponding to the target effect. That is, when the media content editing interface is displayed, the plurality of candidate effect selection items 62 of the current special effect and / or the effect intensity adjustment control can be displayed in the first area 60 of the media content editing interface, and the preview picture corresponding to the target effect can be displayed in the second area 61 of the media content editing interface. The target effect can be a candidate effect selection item currently in a selected state or an effect currently indicated by the effect intensity adjustment control. The preview picture corresponding to the target effect can be understood as a picture obtained by processing the media resource to be processed using the target effect of the current special effect.
[0099] It can be understood that the plurality of candidate effects 62 can 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 can be determined by selecting different candidate effects.
[0100] The audio information of the media resource can be information related to the audio of the media resource, such as added background music, volume, or whether to play the original audio of the media resource, etc.
[0101] In some embodiments, the displaying, in the media content editing interface, the media resource processed using the current special effect includes: 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; and displaying, in the media content editing interface, the target effect corresponding to the media resource.
[0102] 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 manner of the adjustment operation is not limited. Optionally, the adjustment operation on the picture information includes a selection operation on the plurality of candidate effect selection items and / or a trigger operation on the effect intensity adjustment control, such as an operation of triggering a certain candidate effect of the current special effect, or an operation of adjusting the processing intensity currently indicated by the effect intensity adjustment control, and the like. The target effect can be understood as an effect of the current special effect indicated by the adjustment operation.
[0103] For example, when receiving the adjustment operation on the effect adjustment information, the target effect obtained by processing the media resource based on the current special effect corresponding to the adjustment operation can be determined, and the target effect is displayed on the media content editing interface, such as displaying the target effect in the form of a candidate effect of the first special effect in the first area of the media content editing interface, and / or displaying a preview picture corresponding to the target effect in the second area of the media content editing interface.
[0104] S204, display an editing item of a first special effect, the first special effect being a special effect that has been published in the current application, and the editing item being used for editing the first special effect.
[0105] In this embodiment, the editing item of the current special effect (such as the first special effect) can be displayed in the media content editing interface when the media content editing interface is displayed; or 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 based on the first editing item display operation of the current user in the media content boundary interface. At this time, optionally, the display of the editing item of the first special effect includes: displaying a 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, displaying a second editing item of the first special effect in the special effect editing interface of the first special effect, or displaying a second editing item of the first special effect in the media content editing interface.
[0106] The first editing item display operation can be an editing item display operation acting on the media content editing interface. The execution manner of the first editing item display operation is not limited. Optionally, the media content editing interface also displays an editing item display control, and the editing item display control is used to trigger the execution of the first editing item display operation, such as executing the first editing item display operation by triggering the editing item display control displayed in the media content editing interface. The display position of the editing item display control is not limited, such as displaying the editing item display control in the first area or the second area of the media content editing interface.
[0107] In response to the first editing item display operation performed on the 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 the first editing item display operation performed on the media content editing interface is received, such as when the editing item display control 63 displayed in the media content editing interface is detected (as shown in FIG. 6, for example, the editing item display control is displayed in the first area 60 in FIG. 6), the special effect editing interface of the first special effect is displayed, and the second editing item of the first special effect is displayed in the special effect editing interface, as shown in FIG. 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, creating and generating the second special effect based on the editing operation on the first special effect.
[0109] In this embodiment, when the special effect generation operation is received, the second special effect can be created and generated based on the editing operation of the current user on the first special effect, such as processing the first special effect based on the first editing item and / or the second editing item to create and generate the second special effect. At this time, optionally, the 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 editing item and / or processing the first special effect based on the second editing item to create and generate the second special effect.
[0110] S206, generating the 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 resource processed by the second special effect can be displayed in the media content editing interface. At this time, optionally, the generating the first media content based on the second special effect in the current application includes: displaying the media resource processed by the second special effect in the media content editing interface.
[0112] The media content generation method provided in this embodiment supports users to edit the published special effect to create a new special effect in the media content creation process, and generates media content based on the created special effect, which can enrich the media content generation method and the special effect generation method, and improve the creation experience of users.
[0113] FIG. 7 is a structural block diagram of a media content generation apparatus provided by an embodiment of the present disclosure. The apparatus can be implemented by software and / or hardware, and can be configured in an electronic device, typically, a mobile phone or a tablet computer. The apparatus can edit a published special effect by performing a media content generation method, and generate media content by using the edited special effect. As shown in FIG. 7, the media content generation apparatus provided by the embodiment can include an edit item display module 701, a special effect generation module 702, and a media content generation module 703. The edit item display module 701 is configured to display an edit item of a first special effect. The first special effect is a published special effect in a current application. The edit item is used to edit the first special effect. The special effect generation module 702 is 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 703 is configured to generate target media content based on the second special effect in the current application.
[0114] The media content generation apparatus provided by the embodiment displays an edit item of a first special effect by using the edit item display module. The first special effect is a published special effect in a current application. The edit item is used to edit the first special effect. The special effect generation module creates and generates 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 generates first media content based on the second special effect in the current application. The embodiment supports a user to create a special effect based on an editing operation on a published special effect, and generates media content by using the created special effect. The embodiment can enrich the generation mode of the special effect and the generation mode of the media content.
[0115] Further, the media content generation apparatus provided by the embodiment can further include an interface switching module configured to switch to a media resource acquisition interface in response to a triggering operation on an associated control of the first special effect before displaying the edit item of the first special effect; a first resource acquisition module configured to acquire a media resource to be processed in the media resource acquisition interface; and a first resource display module configured to display a media content editing interface of the media resource, and display the media resource processed by using a current special effect in the media content editing interface. The media content editing interface is used to edit 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 edit item display module 701 can be configured to display a first edit item of the first special effect in a media content editing interface; and / or, in response to a first edit item display operation in the media content editing interface, display a second edit item of the first special effect in a special effect editing interface of the first special effect, or display the second edit 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 configured to: create and generate a second special effect based on the first editing item processing the first special effect and / or based on the second editing item processing the first special effect; and the media content generation module 703 can be configured to: display the media resource processed by the second special effect in the media content editing interface.
[0118] Further, the media content generation apparatus provided in the embodiment can further include at least one of: a first control display module configured to display second media content and the associated control 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 control of the first special effect, the second media content being generated based on the first special effect; a second control display module configured to display special effect information of at least one special effect and the corresponding associated control in a preset special effect display interface before switching to the media resource acquisition interface in response to the triggering operation of the associated control of the first special effect, the at least one special effect including the first special effect; and a third control display module configured to display detail information of the first special effect and the associated control of the first special effect in a detail interface of the first special effect before switching to the media resource acquisition interface in response to the triggering operation of the associated control of the first special effect.
[0119] In the above scheme, the media resource acquisition interface can include a shooting interface of the media content, and the media content generation apparatus provided in the embodiment can further include: a picture display module configured to display an image picture generated by the first special effect in the shooting interface; and / or an editing item display module configured to display the editing item of the first special effect in the shooting interface.
[0120] In the above scheme, the editing item display module 701 can be configured to: display the editing item of the first special effect in the special effect editing interface of the first special effect in response to a second editing item display operation, the second editing item display operation being performed in a preset special effect display interface or a detail interface of the first special effect, the preset special effect display interface being configured to display special effect information of at least one special effect.
[0121] Further, the media content generation apparatus provided in the embodiment further can comprise: a second resource obtaining module, configured to obtain a media resource to be processed after the second special effect is created and generated based on the editing operation on the first special effect; a second resource display module, configured to display a media content editing interface of the media resource, and display the media resource processed by using a current special effect on the media content editing interface, wherein the media content editing interface is used to edit picture information and / or audio information of the media resource to obtain the first media content, and the current special effect comprises the second special effect.
[0122] In the foregoing solution, the picture information can comprise effect adjustment information generated when the picture of the media resource is processed by using the current special effect, and the effect adjustment information can comprise a plurality of candidate effect selection items and / or an effect intensity adjustment control.
[0123] In the foregoing solution, the first resource display module and / or the second resource display module can be configured to: in response to an adjustment operation on the effect adjustment information, determine a target effect obtained by processing the media resource based on the current special effect; and display the target effect corresponding to the media resource on the media content editing interface.
[0124] In the foregoing solution, the adjustment operation on the picture information can comprise a selection operation on the plurality of candidate effect selection items and / or a trigger operation on the effect intensity adjustment control.
[0125] In the foregoing solution, the media content editing interface can comprise a first region and a second region, the first region can be used to display the plurality of candidate effect selection items and / or the effect intensity adjustment control, and the second region can be used to display a preview picture corresponding to the target effect.
[0126] In the foregoing solution, the plurality of candidate effect selection items can be displayed in the form of thumbnails of the corresponding preview pictures.
[0127] Further, the media content generation apparatus provided in the embodiment further can comprise: an effect switching module, configured to, after the media resource processed by using the current special effect is displayed on the media content editing interface, switch the target effect in response to an effect switching operation performed on the media content editing interface, and switch the preview picture displayed in the second region according to the switched target effect.
[0128] In the foregoing solution, the special effect information can comprise at least one of publisher information, a special effect name, special effect keyword information and special effect usage information.
[0129] In the above scheme, the editing item can include a first editing item and / or a second editing item, the first editing item can include a candidate effect selection item and / or an effect intensity editing item, the effect intensity editing item can be used to edit the effect intensity of the first special effect; the second editing item can include 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, and the keyword editing item can be used to edit the special effect keyword information of the first special effect.
[0130] In the above scheme, the editing item can include a second editing item, and the editing item display module 701 can be configured to perform at least one of the following: display a special effect style editing item, the special effect style editing item including at least one special effect style information, the at least one special effect style information including first special effect style information of the first special effect, the first special effect style information being displayed in a selected state; and display a special effect keyword editing item, the special effect keyword editing item including at least one special effect keyword information, the at least one special effect keyword information including first special effect keyword information of the first special effect, the first special effect keyword information being displayed in a selected state.
[0131] Further, the media content generation apparatus provided in the embodiment can further include: a special effect editing module, configured to, after the display of the editing item of the first special effect, edit the first special effect in response to an editing operation on the first special effect, the editing operation being performed on the editing item.
[0132] In the above scheme, the special effect editing module can include at least one of the following: a first selection unit, configured to, in response to a selection operation on second special effect style information in the at least one special effect style information, switch the second special effect style information from an unselected state to a selected state, and switch the first special effect style information from the selected state to the unselected state; a second selection unit, configured to, in response to a selection operation on second special effect keyword information in the at least one special effect keyword information, switch the second special effect keyword from the unselected state to the selected state; a deselection unit, configured to, in response to a deselection operation on the first special effect keyword, switch the first special effect keyword corresponding to the deselection operation from the selected state to the unselected state; an update unit, configured to, in response to a modification operation on third special effect keyword information in the at least one special effect keyword information, update the third special effect keyword information and display the third special effect keyword information in the selected state; and a deletion unit, configured to, in response to a deletion operation on fourth special effect keyword information in the at least one special effect keyword information, cancel the display of the fourth special effect keyword information.
[0133] In the above scheme, the editing item can include a second editing item, the second editing item can include a keyword editing item, the special effect editing module can include: a keyword adding unit, configured to: in response to a special effect keyword information adding operation, display a special effect keyword input area, the special effect keyword input area being used for inputting fifth special effect keyword information by the current user; in response to an input completion operation, increase display of the fifth special effect keyword information input by the current user; or, in response to a special effect keyword input operation, acquire the fifth special effect keyword information, and increase display of the fifth special effect keyword information.
[0134] In the above scheme, the keyword adding unit can be configured to: increase display of the fifth special effect keyword information in a selected state.
[0135] Further, the media content generation apparatus provided in the embodiment further can include: a content acquisition module, configured to acquire special effect description content input by the current user before the fifth special effect keyword information is increased and displayed; and a word segmentation processing module, configured to perform word segmentation processing on the special effect description content to acquire at least one keyword information as the fifth special effect keyword information.
[0136] In the above scheme, the word segmentation processing module can be configured 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 a preset delimiter.
[0137] Further, the media content generation apparatus provided in the embodiment further can include: a first publishing module, configured to, 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 on the second special effect, publish the second special effect in a current application; and a second publishing module, configured to, after the second special effect is created and generated based on the editing operation on the first special effect, in response to a second publishing operation on the first media content, publish the first media content and the second special effect in the current application.
[0138] The media content generation apparatus provided in the embodiment can execute the media content generation method provided in any of the embodiments of the present disclosure, and has the corresponding function modules and beneficial effects of executing the media content generation method. Technical details not described in the embodiment can be referred to the media content generation method provided in any of the embodiments of the present disclosure.
[0139] Reference is now made to FIG. 8, which shows a structural diagram of an electronic device (e.g., a terminal device) 800 suitable for implementing embodiments of the present disclosure. The terminal device in embodiments of the present disclosure can include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (Personal Digital Assistant), a PAD (Tablet Personal Computer), a PMP (Portable Multimedia Player), a car terminal (e.g., a car navigation terminal), and the like, as well as a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in FIG. 8 is merely an example and should not impose any limitation on the functions and use range of embodiments of the present disclosure.
[0140] As shown in FIG. 8, the electronic device 800 can include a processing device (e.g., a central processor, a graphic processor, etc.) 801, which can perform various appropriate actions and processes according to programs stored in a read-only memory (ROM) 802 or loaded into a random access memory (RAM) 803 from a storage device 808. In the RAM 803, various programs and data required for the operation of the electronic device 800 are also stored. The processing device 801, the ROM 802, and the RAM 803 are connected to each other through a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0141] In general, the following devices can be connected to the I / O interface 805: an input device 806 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, and the like; an output device 807 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, and the like; a storage device 808 including, for example, a magnetic tape, a hard disk, and the like; and a communication device 809. The communication device 809 can allow the electronic device 800 to communicate with other devices wirelessly or via a wire to exchange data. Although FIG. 8 shows the electronic device 800 with various devices, it should be understood that all of the shown devices are not required to be implemented or provided. More or fewer devices can be alternatively implemented or provided.
[0142] In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts can be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product including a computer program carried on a non-transitory computer readable medium, the computer program containing program code for executing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network through 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-described functions defined in the methods of embodiments of the present disclosure are performed.
[0143] It should be noted that the computer-readable medium described above can be a computer-readable signal medium or a computer-readable storage medium or any combination thereof. The computer-readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any suitable combination of the above. More specific examples of the computer-readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, the computer-readable storage medium can be any tangible medium that contains or stores a program used by or in connection with an instruction execution system, apparatus or device. In the present disclosure, the computer-readable signal medium can include a data signal propagated in baseband or propagated as a carrier wave in a propagated data signal, in which the computer-readable program code is contained. Such a propagated data signal can take many forms, including but not limited to, an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer-readable signal medium can also be any computer-readable medium that can send, propagate or transfer the program for use by or in connection with the instruction execution system, apparatus or device. The program code contained in the computer-readable medium can be transmitted by any suitable medium, including but not limited to, wire, cable, RF (radio frequency), etc., or any suitable combination of the above.
[0144] In some embodiments, the client, server, or both can communicate using any current known or future 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 local area networks ("LAN"), wide area networks ("WAN"), the Internet, and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any current known or future developed networks.
[0145] The computer-readable medium described above can be included in the electronic device described above; or can exist separately from the electronic device, and not be assembled into the electronic device.
[0146] The computer readable medium described above carries one or more programs, which when executed by the electronic device, cause the electronic device to: display an editing item of a first special effect, the first special effect being a special effect that has been published in a current application, the editing item being used to edit the first special effect; in response to a special effect generation operation, create and generate a second special effect based on the editing operation on the first special effect; and generate first media content based on the second special effect within the current application.
[0147] Computer program code for carrying out operations of the present disclosure can be written in any one or more programming languages or combinations of languages including object oriented programming languages such as Java, Smalltalk, C++ as well as conventional procedural programming languages such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can 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 the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).
[0148] The flow diagrams and the block diagrams in the drawings are illustrations of architectures, functionalities, and operations of possible implementations of systems, methods, and computer program products according to various embodiments of present disclosure. In this regard, each block in the flow diagrams or block diagrams can represent a module, a procedure, or a part of code, which comprises one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur in a different order than that noted in the figures. For example, two blocks noted in succession can in fact be executed substantially concurrently or in the opposite order, depending on the functionality involved. It should also be noted that each block in the block diagrams and / or flow diagrams, and combinations of blocks in the block diagrams and / or flow diagrams, can be implemented by dedicated hardware-based systems that perform the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.
[0149] The units described in the embodiments of the present disclosure can be implemented by software, or by hardware. In some cases, the name of the module does not constitute a limitation on the unit itself.
[0150] The functionality described herein above can be performed, at least in part, by one or more hardware logic components. For example, and without limitation, an example type of hardware logic components that can be used include Field-programmable Gate Arrays (FPGAs), Application-specific Integrated Circuits (ASICs), Application-specific Standard Products (ASSPs), System-on-a-chip systems (SOCs), Complex Programmable Logic Devices (CPLDs), etc.
[0151] In the context of the present disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The 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, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium will include one or more lines of electrical connections, portable computer disks, hard disk drives, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or Flash memory), optical fibers, portable compact disc read-only memories (CD-ROMs), optical storage devices, magnetic storage devices, 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, comprising: displaying an editing item of a first special effect, the first special effect being a published special effect in a current application, the editing item being used for editing the first special effect; in response to a special effect generation operation, creating and generating a second special effect based on the editing operation on 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 further comprises, before the displaying an editing item of a first special effect, in the method according to example 1, switching to a media resource acquisition interface in response to a triggering operation on an association control of the first special effect; acquiring a media resource to be processed in the media resource acquisition interface; displaying a media content editing interface of the media resource, and displaying the media resource processed by a current special effect in the media content editing interface, wherein the media content editing interface is used for editing picture information and / or audio information of the media resource to obtain the first media content; and the current special effect comprises the first special effect.
[0154] According to one or more embodiments of this disclosure, Example 3, based on the method of Example 2, the display of the first special effect editing item includes: 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 acting within the media content editing interface, displaying a second editing item of the first special effect in the special effect editing interface, or displaying a second editing item of the first special effect in the media content editing interface.
[0155] According to one or more embodiments of this disclosure, Example 4 describes the method described in Example 3, wherein creating and generating a second special effect based on editing operations on 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 a second special effect; generating first media content based on the second special effect within the current application includes: displaying the media resource processed with the second special effect on the media content editing interface.
[0156] According to one or more embodiments of this disclosure, Example 5, based on the method of Example 2, further includes at least one of the following before switching to the media resource acquisition interface in response to a 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 a media content display interface, wherein 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; and displaying details information of the first special effect and the associated control of the first special effect in a details interface of the first special effect.
[0157] According to one or more embodiments of this disclosure, Example 6, based on the method of Example 5, includes a shooting interface for media content in the media resource acquisition interface, and the method further includes: displaying an image generated using the first special effect in the shooting interface; and / or displaying an editing item for the first special effect in the shooting interface.
[0158] According to one or more embodiments of this disclosure, Example 7 describes the method described in Example 1, wherein displaying 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, wherein the second editing item display operation is performed on a 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.
[0159] According to one or more embodiments of the present disclosure, example 8 further to example 7, after the creating and generating the second special effect based on the editing operation on the first special effect, the method further comprises: obtaining a media resource to be processed; displaying a media content editing interface of the media resource, and displaying the media resource processed by the current special effect in the media content editing interface, wherein the media content editing interface is used for editing picture information and / or audio information of the media resource to obtain the first media content; and the current special effect comprises the second special effect.
[0160] According to one or more embodiments of the present disclosure, example 9 further to any one of examples 2-6 and 8, the picture information comprises effect adjustment information generated when the picture of the media resource is processed by the current special effect, and the effect adjustment information comprises a plurality of candidate effect selection items and / or an effect intensity adjustment control.
[0161] According to one or more embodiments of the present disclosure, example 10 further to example 9, the displaying the media resource processed by the current special effect 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; and displaying the target effect corresponding to the media resource in the media content editing interface.
[0162] According to one or more embodiments of the present disclosure, example 11 further to example 10, the adjustment operation on the picture information comprises a selection operation on the plurality of candidate effect selection items and / or a trigger operation on the effect intensity adjustment control.
[0163] According to one or more embodiments of the present disclosure, example 12 further to example 10, the media content editing interface comprises a first area and a second area, the first area is used for displaying the plurality of candidate effect selection items and / or the effect intensity adjustment control, and the second area is used for displaying a preview picture corresponding to the target effect.
[0164] According to one or more embodiments of the present disclosure, example 13 further to example 12, the plurality of candidate effect selection items are displayed in the form of thumbnails of the corresponding preview pictures.
[0165] According to one or more embodiments of the present disclosure, example 14 further to example 12, after the displaying the media resource processed by the current special effect in the media content editing interface, the method further comprises: in response to an effect switching operation acting on the media content editing interface, switching the target effect, and switching the preview picture displayed in the second area according to the switched target effect.
[0166] According to one or more embodiments of the present disclosure, in Example 15, the method according to any one of Examples 5-7, 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, in Example 16, the method according to any one of Examples 1-8, 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, the effect intensity editing item is used to edit 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 special effect style information of the first special effect, and the keyword editing item is used to edit special effect keyword information of the first special effect.
[0168] According to one or more embodiments of the present disclosure, in Example 17, the method according to Example 16, the editing item includes a second editing item, and the displaying the editing item of the first special effect includes at least one of: 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 first special effect style information of the first special effect, and the first special effect style information is displayed in a selected state; and 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 first special effect keyword information of the first special effect, and the first special effect keyword information is displayed in a selected state.
[0169] According to one or more embodiments of the present disclosure, in Example 18, the method according to Example 17, after the displaying the editing item of the first special effect, further including: in response to an editing operation on the first special effect, editing the first special effect, the editing operation acting on the editing item.
[0170] According to one or more embodiments of the present disclosure, in example 19, the method according to example 18, the editing the first special effect in response to the editing operation on 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 the selected state to the unselected state; in response to a selection operation on second special effect keyword information in the at least one special effect keyword information, switching the second special effect keyword from the unselected state to the 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 the selected state to the unselected state; in response to a modification operation on 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 in the selected state; and in response to a deletion operation on fourth special effect keyword information in the at least one special effect keyword information, canceling display of the fourth special effect keyword information.
[0171] According to one or more embodiments of the present disclosure, in example 20, the method according to example 18, the editing item comprises a second editing item, the second editing item comprises a keyword editing item, and the editing the first special effect in response to the editing operation on the first special effect comprises: in response to a special effect keyword information adding operation, displaying a special effect keyword input area for inputting fifth special effect keyword information by a current user; in response to an input completion operation, adding display of the fifth special effect keyword information input by the current user; or in response to a special effect keyword input operation, obtaining fifth special effect keyword information, and adding display of the fifth special effect keyword information.
[0172] According to one or more embodiments of the present disclosure, in example 21, the method according to example 20, the adding display of the fifth special effect keyword information comprises: adding display of the fifth special effect keyword information in a selected state.
[0173] According to one or more embodiments of the present disclosure, in example 22, the method according to example 20, before the adding display of the fifth special effect keyword information, further comprising: obtaining special effect description content input by the current user; performing word segmentation processing on the special effect description content to obtain at least one keyword information as the fifth special effect keyword information.
[0174] According to one or more embodiments of the present disclosure, in example 23, the method according to example 22, the tokenizing the special effect description content comprises: tokenizing the special effect description content based on semantic analysis; and / or tokenizing the special effect description content based on a preset delimiter.
[0175] According to one or more embodiments of the present disclosure, in example 24, the method according to any one of examples 1-8, after the creating and generating the second special effect based on the editing operation on the first special effect, further comprising at least one of: in response to a first publishing operation on the second special effect, publishing the second special effect in a current application; and / or in response to a second publishing operation on 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, in example 25, a media content generation apparatus is provided, comprising: an editing item display module configured to display an editing item of a first special effect, the first special effect being a special effect that has been published in a current application, the editing item being used to edit the first special effect; a special effect generation module configured to, 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; and a media content generation module configured 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, in example 26, an electronic device is provided, comprising: one or more processors; and a memory configured to store one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the media content generation method according to any one of examples 1-24.
[0178] According to one or more embodiments of the present disclosure, in example 27, a computer readable storage medium is provided, having stored thereon a computer program, when the computer program is executed by a processor, the media content generation method according to any one of examples 1-24 is implemented.
[0179] The above description is merely preferred embodiments of the present disclosure and a description of principles of applied technologies. It should be understood by those skilled in the art that the disclosed scope of the present disclosure is not limited to the technical solutions formed by the specific combinations of the above technical features, and should also cover other technical solutions formed by any combinations of the above technical features or equivalent features without departing from the disclosed concept. For example, the above technical features can be replaced with technical features disclosed in the present disclosure (but not limited to) having similar functions to form technical solutions.
[0180] Moreover, while operations are depicted in a particular order, this should not be understood as requiring such an order nor infringing on the scope of the disclosure. Certain of the operations described in the discussion are combinable into a single operation, and certain operations can be separated into several operations. In some embodiments, the operations described in the discussion can be performed in an order different than presented in the discussion. In some embodiments, the operations described in the discussion can be performed concurrently. Also, while several specific implementation details are discussed in the discussion, these should not be interpreted as limiting the scope of the disclosure. Rather, certain features described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable sub-combination.
[0181] Although the subject matter has been described in language specific to structural features and / or methodological acts, it is to 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 disclosed as example forms of implementing the claims.
Claims
1. A method for generating media content, comprising: displaying an edit item of a first special effect, the first special effect being a special effect published in a current application, the edit item being used for editing the first special effect; in response to a special effect generation operation, creating and generating a second special effect based on an editing operation on the first special effect; generating a first media content based on the second special effect within the current application.
2. The method of claim 1, wherein before the displaying an edit item of a first special effect, further comprising: in response to a triggering operation on an associated control of the first special effect, switching to a media resource acquisition interface; acquiring a media resource to be processed in the media resource acquisition interface; displaying a media content editing interface of the media resource, and displaying the media resource processed by a current special effect in the media content editing interface, wherein the media content editing interface is used for editing picture information and / or audio information of the media resource to obtain the first media content, and the current special effect comprises the first special effect.
3. The method of claim 2, wherein the displaying an edit item of a first special effect comprises: displaying a first edit item of the first special effect in a media content editing interface; and / or in response to a first edit item display operation in the media content editing interface, displaying a second edit item of the first special effect in a special effect editing interface of the first special effect, or displaying the second edit item of the first special effect in the media content editing interface.
4. The method of claim 3, wherein the creating and generating a second special effect based on an editing operation on the first special effect comprises: creating and generating a second special effect based on processing the first special effect by the first edit item and / or processing the first special effect by the second edit item; and the generating a first media content based on the second special effect within the current application comprises: displaying the media resource processed by the second special effect in the media content editing interface.
5. The method of claim 2, wherein before the switching to a media resource acquisition interface in response to a triggering operation on an associated control of the first special effect, further comprising at least one of: displaying a second media content and the associated control of the first special effect in a media content display interface, the second media content being generated based on the first special effect; displaying special effect information of at least one special effect and a corresponding associated control in a preset special effect display interface, the at least one special effect comprising the first special effect; displaying detail information of the first special effect and the associated control of the first special effect in a detail interface of the first special effect.
6. The method of claim 5, wherein the media resource acquisition interface comprises a shooting interface of media content, and the method further comprises: displaying an image picture generated by the first special effect in the shooting interface; and / or displaying an edit item of the first special effect in the shooting interface.
7. The method of claim 1, wherein the displaying an edit item of a first special effect comprises: In response to a 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, the second editing item display operation being performed in a preset special effect display interface or a detail interface of the first special effect, the preset special effect display interface being used to display special effect information of at least one special effect.
8. The method of claim 7, further comprising, after creating and generating the second special effect based on the editing operation on the first special effect: obtaining a media resource to be processed; displaying a media content editing interface of the media resource, and displaying the media resource processed by using a current special effect in the media content editing interface, wherein the media content editing interface is used to edit picture information and / or audio information of the media resource to obtain the first media content, and the current special effect comprises the second special effect.
9. The method of any one of claims 2-6 and 8, wherein the picture information comprises effect adjustment information generated when the picture of the media resource is processed by using the current special effect, and the effect adjustment information comprises a plurality of candidate effect selection items and / or an effect intensity adjustment control.
10. The method of claim 9, wherein the displaying the media resource processed by using the current special effect 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; and displaying the target effect corresponding to the media resource in the media content editing interface.
11. The method of claim 10, wherein the adjustment operation on the picture information comprises a selection operation on the plurality of candidate effect selection items and / or a trigger operation on the effect intensity adjustment control.
12. The method of claim 10, wherein the media content editing interface comprises a first region and a second region, the first region is used to display the plurality of candidate effect selection items and / or the effect intensity adjustment control, and the second region is used to display a preview picture corresponding to the target effect.
13. The method of claim 12, wherein the plurality of candidate effect selection items are displayed in the form of thumbnails of the corresponding preview pictures.
14. The method of claim 12, further comprising, after displaying the media resource processed by using the current special effect in the media content editing interface: in response to an effect switching operation performed in the media content editing interface, switching the target effect, and switching the preview picture displayed in the second region according to the switched target effect.
15. The method of any one of claims 5-7, wherein the special effect information comprises at least one of publisher information, a special effect name, special effect keyword information, and special effect usage information.
16. The method of any of claims 1-8, wherein the editing items comprise first editing items and / or second editing items, the first editing items comprise candidate effect selection items and / or effect intensity editing items, the effect intensity editing items are used to edit effect intensity of the first special effect; the second editing items comprise style editing items and / or keyword editing items, the style editing items are used to edit special effect style information of the first special effect, the keyword editing items are used to edit special effect keyword information of the first special effect.
17. The method of claim 16, wherein the editing items comprise second editing items, the displaying the editing items of the first special effect comprises at least one of the following: displaying special effect style editing items, the special effect style editing items comprise at least one special effect style information, the at least one special effect style information comprises first special effect style information of the first special effect, the first special effect style information is displayed in a selected state; displaying special effect keyword editing items, the special effect keyword editing items comprise at least one special effect keyword information, the at least one special effect keyword information comprises first special effect keyword information of the first special effect, the first special effect keyword information is displayed in a selected state.
18. The method of claim 17, wherein after the displaying the editing items of the first special effect, further comprising: in response to an editing operation on the first special effect, editing the first special effect, the editing operation is performed on the editing items.
19. The method of claim 18, wherein the editing the first special effect in response to the editing operation on 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 the selected state to the unselected state; in response to a selection operation on second special effect keyword information in the at least one special effect keyword information, switching the second special effect keyword from the unselected state to the 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 the selected state to the unselected state; in response to a modification operation on 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 in the selected state; in response to a deletion operation on fourth special effect keyword information in the at least one special effect keyword information, canceling displaying the fourth special effect keyword information.
20. The method of claim 18, wherein the editing items comprise second editing items, the second editing items comprise keyword editing items, the editing the first special effect in response to the editing operation on the first special effect comprises: in response to a special effect keyword information adding operation, displaying a special effect keyword input area, the special effect keyword input area is used for a current user to input fifth special effect keyword information; In response to the input completion operation, the fifth special effect keyword information input by the current user is displayed. Or In response to the special effect keyword input operation, the fifth special effect keyword information is obtained and displayed.
21. The method of claim 20, wherein the displaying the fifth special effect keyword information comprises: displaying the fifth special effect keyword information in a selected state.
22. The method of claim 20, wherein before the displaying the fifth special effect keyword information, the method further comprises: obtaining a special effect description input by the current user; performing a word segmentation process on the special effect description to obtain at least one keyword information as the fifth special effect keyword information.
23. The method of claim 22, wherein the performing a word segmentation process on the special effect description comprises: performing a word segmentation process on the special effect description based on semantic analysis; and / or performing a word segmentation process on the special effect description based on a preset delimiter.
24. The method of any one of claims 1-8, wherein after the creating and generating the second special effect based on the editing operation on the first special effect, the method further comprises at least one of: in response to a first publishing operation on 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, publishing the first media content and the second special effect in the current application.
25. An apparatus for generating media content, comprising: an editing item display module configured to display an editing item of a first special effect, the first special effect being a special effect that has been published in a current application, the editing item being 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; a media content generation module configured to generate target media content based on the second special effect in the current application.
26. An electronic device, comprising: at least one processor; and 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 to enable the at least one processor to perform the method for generating media content according to any one of claims 1-24.
27. A computer readable storage medium storing computer instructions for causing a processor to perform the method for generating media content according to any one of claims 1-24 when executed by the processor.