Movatterモバイル変換


[0]ホーム

URL:


CN115460448A - Media resource editing method and device, electronic equipment and storage medium - Google Patents

Media resource editing method and device, electronic equipment and storage medium
Download PDF

Info

Publication number
CN115460448A
CN115460448ACN202211001428.9ACN202211001428ACN115460448ACN 115460448 ACN115460448 ACN 115460448ACN 202211001428 ACN202211001428 ACN 202211001428ACN 115460448 ACN115460448 ACN 115460448A
Authority
CN
China
Prior art keywords
segment
media resource
media
window
resource
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211001428.9A
Other languages
Chinese (zh)
Inventor
姜海洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co LtdfiledCriticalBeijing Dajia Internet Information Technology Co Ltd
Priority to CN202211001428.9ApriorityCriticalpatent/CN115460448A/en
Publication of CN115460448ApublicationCriticalpatent/CN115460448A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

The disclosure relates to a media resource editing method, a media resource editing device, an electronic device and a storage medium, and relates to the technical field of data processing. The present disclosure at least solves the problem of the related art that at least two media asset segments cannot be played simultaneously. The method comprises the following steps: displaying a resource editing interface, wherein the resource editing interface comprises a preview area, a first fragment display area and a second fragment display area; in response to the first trigger operation, displaying a thumbnail of the first media resource segment in the second segment display area; displaying a first window and a second window in a preview area; and responding to the playing operation aiming at the target media resource, playing the target media resource and displaying a playing interface, wherein a first media resource segment in the target media resource is played in parallel with the background media resource. Therefore, the media resource segment and the first media resource segment in the background media resource which are played simultaneously are realized, and the playing effect of at least two media resource segments simultaneously is realized.

Description

Media resource editing method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to a method and an apparatus for editing a media resource, an electronic device, and a storage medium.
Background
With the popularization of intelligent terminals and the development of network technologies, users can watch, edit or publish media resources through social platform software, and amateur life is enriched. Before the media resources are published through the social platform, a plurality of media resource segments uploaded or shot can be edited, such as clipping, subtitle adding, sensitive information shielding, image frame tone adjusting, sticker adding and the like, and finally the plurality of media resource segments are played in a certain sequence.
It can be understood that, for a plurality of media resource segments shot at different shooting angles within the same time period and the same shooting object, or for a plurality of media resource segments shot at different shooting angles within the same time period and different shooting objects having an association relationship, if the plurality of media resource segments are played at the same time, the viewing user accounts of the plurality of media resource segments are facilitated, and more accurate media information can be obtained. Therefore, a media asset capable of playing at least two media asset segments simultaneously is a problem to be solved.
Disclosure of Invention
The present disclosure provides a media asset editing method, apparatus, electronic device and storage medium, to at least solve the problem in the related art that at least two media asset segments cannot be played simultaneously. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a media asset editing method, including: displaying a resource editing interface, wherein the resource editing interface is used for editing the target media resource; the target media resource comprises a plurality of media resource segments, and the resource editing interface comprises a preview area, a first segment display area and a second segment display area; the preview area is used for displaying the target media resource; the first segment display area is used for displaying a thumbnail of a background media resource, and the background media resource comprises at least one multimedia resource segment in a plurality of media resource segments; the preview area comprises a first window, and the first window is used for displaying images in the background media resources; in response to a first trigger operation for a thumbnail of a first media asset segment in the first segment display area, displaying the thumbnail of the first media asset segment in the second segment display area and removing the first media asset segment from the background media asset; the first media resource segment is any one media resource segment in the target media resource; displaying a first window and a second window in the preview area, wherein the second window is used for displaying the image in the first media resource segment; and responding to the playing operation aiming at the target media resource, playing the target media resource and displaying a playing interface, wherein the playing interface comprises a first window and a second window, and a first media resource segment in the target media resource is played in parallel with the background media resource.
Optionally, the method for editing a media resource further includes: after a first window and a second window are displayed in a preview area, setting a first parallel playing time period of a first media resource segment and a background media resource when a target media resource is played in response to a first position adjustment operation aiming at the first media resource segment; wherein the first position adjustment operation is used for adjusting the relative position of the thumbnail of the first media resource segment in the second segment display area and the thumbnail of the background media resource in the first segment display area; the position of the thumbnail of the first media resource segment corresponds to the position of the thumbnail of the background media resource, and the corresponding part corresponds to a first parallel playing time interval; in the playing process of the target media resource, the first media resource segment and the background media resource are played in parallel in the first parallel playing time interval.
Optionally, in the media asset editing method, the asset editing interface includes a third segment display area; the method for editing the media resources further comprises the following steps: in response to a resource move operation that moves the second media asset segment from the first segment display region to the third segment display region, displaying a thumbnail of the second media asset segment in the third segment display region and removing the second media asset segment from the background media asset; the second media resource segment is any one media resource segment in the target media resource; displaying a first window, a second window and a third window in the preview area, wherein the third window is used for displaying images in the second media resource segment; the playing interface comprises a first window, a second window and a third window, and in the playing process of the target media resource, the first media resource segment, the second media resource segment and the background media resource are played in parallel.
Optionally, the method for editing a media resource further includes: after the first window, the second window and the third window are displayed in the preview area, responding to a second position adjustment operation aiming at a second media resource segment, and setting a second parallel playing time interval of the second media resource segment and a background media resource when the target media resource is played; wherein the second position adjustment operation is used for adjusting the relative position of the thumbnail of the second media resource segment in the third segment display area and the thumbnail of the background media resource in the first segment display area; the part of the position of the thumbnail of the second media resource segment corresponding to the position of the thumbnail of the background media resource corresponds to a second parallel playing time period; in the playing process of the target media resource, the second media resource segment and the background media resource are played in parallel in a second parallel playing time interval, and the second parallel time interval and the first parallel time interval are overlapped.
Optionally, in the above media resource editing method, the second window is located on an upper layer of the first window; the method for editing the media resources further comprises the following steps: in the playing process of the target media resource, when the background media resource comprises at least two media resource segments, the first window is used for sequentially playing each media resource segment in the background media resource.
Optionally, the method for editing a media resource further includes: responding to the resource import operation of the media resource segments, and acquiring the media resource segments included by the target media resource; displaying a resource editing interface comprising: and responding to the editing triggering operation, and displaying a resource editing interface.
Optionally, the above "in response to a first trigger operation for a thumbnail of a first media resource segment in the first segment display area, displaying the thumbnail of the first media resource segment in the second segment display area, and removing the first media resource segment from the background media resource" includes: in response to a second trigger operation for the thumbnail of at least one first media resource segment in the first segment display area, displaying the thumbnail of the at least one first media resource segment in the second segment display area and removing the at least one first media resource segment from the background media resource; at least one first media resource segment is a media resource segment in the target media resource; the second window is used for playing each first media resource segment in the at least one first media resource segment in sequence.
Optionally, the method for editing a media asset further includes any one of: after the first window and the second window are displayed in the preview area, displaying the first window after zooming in/out in the preview area in response to a first zooming operation aiming at the first window; the first window displayed on the playing interface is the first window after zooming; displaying the scaled second window in the preview area in response to a second scaling operation for the second window; and the second window displayed on the playing interface is the scaled second window.
Optionally, the method for editing a media asset further includes any one of: after the first window and the second window are displayed in the preview area, responding to a third position adjustment operation aiming at the first window, and displaying the first window after position adjustment in the preview area; the first window displayed on the playing interface is the first window with the adjusted display position; responding to a fourth position adjusting operation aiming at the second window, and displaying the second window after position adjustment in the preview area; and the second window displayed on the playing interface is the second window with the adjusted display position.
Optionally, the method for editing a media resource further includes: after a first media resource segment and a first parallel playing time interval of a background media resource are set when a target media resource is played, responding to a third trigger operation aiming at a thumbnail of the first media resource segment, and displaying a first time interval adjusting control of the thumbnail of the first media resource segment in a second segment display area; and responding to the first time length adjusting operation aiming at the first time adjusting control, adjusting the playing time length of the first media resource segment, and correspondingly updating the first parallel playing time interval.
Optionally, the method for editing a media resource further includes: after a first media resource segment and a first parallel playing time interval of the background media resource are set when the target media resource is played, responding to a fourth trigger operation aiming at a thumbnail of any media resource segment in the background media resource, and displaying a second duration adjusting control of the thumbnail of any media resource segment in the background media resource in a first segment display area; and responding to a second time length adjusting operation aiming at the second time adjusting control, adjusting the playing time length of any media resource segment in the background media resources, and correspondingly resetting the first parallel playing time interval.
Optionally, in the media asset editing method, the asset editing interface further includes a linear axis, where the linear axis is used to indicate a display position of an image displayed in the preview area in a thumbnail of the background media asset and a thumbnail of the first media asset segment; the method for editing the media resources further comprises the following steps: and in response to the position moving operation aiming at the linear axis, displaying the image in the background media resource corresponding to the moved linear axis on the first window, and displaying the image of the first media resource segment corresponding to the moved linear axis on the second window.
Optionally, in the media asset editing method, the asset editing interface further includes at least one attribute adjustment control; the method for editing the media resources further comprises the following steps: after the first window and the second window are displayed in the preview area, responding to the selection operation aiming at the first target object or the second target object, setting the first window displayed in the preview area to be in a state to be edited, and setting the media resource segment corresponding to the second target object displayed in the first segment display area to be in a state to be edited; wherein the first target object is: an image in a background media asset displayed in a first window; the second object is: the first segment display area displays thumbnails in the background media assets corresponding to the linear axis.
Optionally, in the media asset editing method, the asset editing interface further includes at least one attribute adjustment control; the method for editing the media resources further comprises the following steps: after the first window and the second window are displayed in the preview area, in response to a selection operation aiming at a third target object or a fourth target object, setting the second window displayed in the preview area to be in a state to be edited, and setting a media resource segment corresponding to the fourth target object displayed in the second segment display area to be in a state to be edited; wherein the third target object is: an image in a background media asset displayed in a second window; the fourth object is: the second segment display area displays thumbnails in the background media asset corresponding to the linear axis.
Optionally, in the media resource editing method, at least one of the attribute adjustment controls is any of: a transparency control, a mute control, an animation mode setting control, a filter control, a subtitle control and a color adjusting control; the method for editing the media resources further comprises the following steps: under the condition that a first window displayed in the preview area is in a state to be edited, in response to a fifth trigger operation for any one of the at least one property adjustment control, displaying an image in the background media resource after the property adjustment on the first window, wherein a property adjustment object of the fifth trigger operation is: media resource segments corresponding to images in background media resources displayed by a first window; under the condition that a second window displayed in the preview area is in a state to be edited, in response to a sixth trigger operation for any one of the at least one property adjustment control, displaying an image in the first media resource segment after the property adjustment on the second window, wherein a property adjustment object of the sixth trigger operation is: and the media resource segment corresponding to the image in the background media resource displayed by the second window.
Optionally, the "displaying the thumbnail of the first media asset segment in the second segment display area" includes: in the second segment display area, displaying a thumbnail of the first media resource segment in a time interval position area corresponding to the first parallel playing time interval; the method for editing the media resources further comprises the following steps: after the thumbnail of the first media resource segment is displayed in the second segment display area, in response to a display switching operation of the first media resource segment displayed in the second segment display area, a first image identifier of the first media resource segment and a second image identifier corresponding to the first parallel playing time period are displayed in a time period position area corresponding to the first parallel playing time period in the second segment display area.
Optionally, the "displaying the thumbnail of the first media resource segment in the second segment display area and removing the first media resource segment from the background media resource in response to the first trigger operation for the thumbnail of the first media resource segment in the first segment display area" includes: displaying a second segment display area on the asset editing interface in response to a first asset editing operation for a thumbnail of a first media asset segment in the first segment display area; in response to a second asset editing operation directed to a thumbnail of a first media asset segment in the first segment display region, a thumbnail of the first media asset segment is displayed in the second segment display region and the first media asset segment is removed from the background media asset.
Optionally, the method for editing a media resource further includes: in response to a third asset editing operation for the thumbnail of the first media asset segment in the first segment display area, displaying a delete control response area on the asset editing interface; in response to a fourth asset editing operation for a thumbnail of the first media asset segment in the first segment display area, the first media asset segment is removed from the background media asset.
Optionally, the method for editing a media resource further includes: in response to an effect adding operation for any media resource segment of the background media resource, displaying a boundary transition image in the first window, the boundary transition image being for an image added to the background media resource behind the any media resource segment; and displaying the edited boundary transition image and the boundary transition image in the first window in response to the effect editing operation aiming at the boundary transition image.
According to a second aspect of the embodiments of the present disclosure, there is provided a media asset editing apparatus, including: an editing display unit, a clip display unit, a preview display unit, and a play display unit; the editing and displaying unit is used for displaying a resource editing interface, and the resource editing interface is used for editing the target media resource; the target media resource comprises a plurality of media resource segments, and the resource editing interface comprises a preview area, a first segment display area and a second segment display area; the first segment display area is used for displaying a thumbnail of a background media resource, and the background media resource comprises at least one multimedia resource segment in a plurality of media resource segments; the preview area comprises a first window, and the first window is used for displaying images in the background media resources; the segment display unit is used for responding to a first trigger operation aiming at the thumbnail of the first media resource segment in the first segment display area, displaying the thumbnail of the first media resource segment in the second segment display area and removing the first media resource segment from the background media resource; the first media resource segment is any one media resource segment in the target media resource; the preview display unit is used for displaying a first window and a second window in the preview area, and the second window is used for displaying the image in the first media resource segment; and the playing display unit is used for responding to the playing operation aiming at the target media resource, playing the target media resource and displaying a playing interface, wherein the playing interface comprises a first window and a second window, and a first media resource segment in the target media resource is played in parallel with the background media resource.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the above instructions to implement the media asset editing method as provided by the first aspect and any one of its possible designs.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions of the computer-readable storage medium, when executed by a processor, can implement the method for editing a media resource as provided in the first aspect and any one of the possible design manners thereof.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising computer programs/instructions which, when executed by a processor, implement the media asset editing method as provided by the first aspect and any one of its possible designs.
The technical scheme provided by the disclosure at least brings the following beneficial effects: firstly, displaying a resource editing interface, wherein the resource editing interface comprises a preview area, a first fragment display area and a second fragment display area; the first segment display area is used for displaying a thumbnail of a background media resource, and the background media resource comprises at least one multimedia resource segment in a plurality of media resource segments; the preview area includes a first window for displaying an image in a background media asset. Then in response to a first trigger operation for the thumbnail of the first media resource segment in the first segment display area, displaying the thumbnail of the first media resource segment in the second segment display area, and removing the first media resource segment from the background media resource; the first media resource segment is any one media resource segment in the target media resource; and displaying a first window and a second window in the preview area, wherein the second window is used for displaying the image in the first media resource segment. And finally, responding to the playing operation aiming at the target media resource, playing the target media resource and displaying a playing interface, wherein the playing interface comprises a first window and a second window, and a first media resource segment in the target media resource is played in parallel with the background media resource. In this way, the media resource segment in the background media resource displayed by the first window in the preview area and the first media resource segment displayed by the second window in the preview area are used as the target media resource, and the media resource segment in the background media resource and the first media resource segment in the background media resource played simultaneously are realized in response to the playing operation for the target media resource through the first window and the second window in the preview area, so that the playing effect of at least two media resource segments at the same time is realized. Meanwhile, the target media resource can be obtained by adopting simple editing operation, the editing complexity of the edited target media resource is reduced, and the propaganda, entertainment and appreciation of the edited target media resource are improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is one of the flow diagrams illustrating a method of media asset editing according to an exemplary embodiment;
FIG. 2 is an interface partition diagram illustrating a resource editing interface in accordance with an illustrative embodiment;
FIG. 3 is one of the display flow diagrams of a resource editing interface, according to an exemplary embodiment;
FIG. 4 is a second illustrative display flow diagram of a resource editing interface in accordance with an illustrative embodiment;
FIG. 5 is one of the schematic diagrams of a resource editing interface shown in accordance with an exemplary embodiment;
FIG. 6 is a schematic diagram illustrating a display flow of a first media asset in accordance with an illustrative embodiment;
FIG. 7 is a schematic diagram illustrating a process for deleting a media asset in a background media asset in accordance with an illustrative embodiment;
FIG. 8 is a second schematic diagram illustrating a resource editing interface in accordance with an illustrative embodiment;
FIG. 9 is a third illustration of a resource editing interface, shown in accordance with an illustrative embodiment;
FIG. 10 is a fourth illustration of a resource editing interface, according to an exemplary embodiment;
FIG. 11 is a fifth diagram illustrating a resource editing interface, according to an exemplary embodiment;
FIG. 12 is a sixth schematic illustration of a resource editing interface, shown in accordance with an exemplary embodiment;
FIG. 13 is a seventh illustration of a resource editing interface, according to an exemplary embodiment;
FIG. 14 is an eighth pictorial diagram illustrating a resource editing interface, according to an exemplary embodiment;
FIG. 15 is a ninth illustration of a resource editing interface, shown in accordance with an exemplary embodiment;
FIG. 16 is a block diagram illustrating a media asset editing apparatus in accordance with an exemplary embodiment;
fig. 17 is a schematic diagram of a structure of an electronic device shown in accordance with an exemplary embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the disclosure, as detailed in the appended claims.
In addition, in the description of the embodiments of the present disclosure, "/" indicates an OR meaning, for example, A/B may indicate A or B, unless otherwise specified. "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present disclosure, "a plurality" means two or more than two.
It should be noted that, the media resource segments referred to in the present disclosure are all information and data authorized by the user or fully authorized by each party.
In the related art, at least two media resource segments may be imported to the video clip opening software in response to a user operation, and a target media resource may be generated and exported, where the target media resource is capable of playing at least two media resource segments simultaneously. Because the video editing software has the characteristics of multiple functions, multiple parameters and multiple controls, the operation steps and the use method of the video editing software need to be specially learned, the editing difficulty of the target media resource is increased, the complexity of editing the target media resource is also increased, the frequency of editing the target media resource by a user is reduced, and the popularity, the entertainment and the appreciation of the edited target media resource are further caused.
The embodiment of the disclosure provides a media resource editing method, which can be applied to a mobile phone, an intelligent watch, a tablet computer, a notebook computer, a desktop computer, a handheld computer, an ultra-mobile personal computer (UMPC), and other electronic devices capable of storing, editing and displaying a target media resource. The following describes a media asset editing method provided in an embodiment of the present disclosure with reference to the drawings, and the following exemplarily describes the method by taking an execution subject as a media asset editing apparatus as an example.
Fig. 1 is a schematic flowchart of a media asset editing method according to an embodiment of the present disclosure. As shown in fig. 1, a method for editing a media asset provided by an embodiment of the present disclosure includes the followingsteps 101 to 104.
Step 101, the media asset editing device displays an asset editing interface.
In the disclosed embodiment, the asset editing interface is used for editing a target media asset; the target media asset comprises a plurality of media asset segments. As shown in FIG. 2, the resource editing interface includes a preview area, a first segment display area, and a second segment display area. The preview area is used for displaying the target media resource; the first segment display area is for displaying a thumbnail of a background media asset, the background media asset including at least one multimedia asset segment of the plurality of media asset segments. As shown in fig. 2, the preview area includes a first window for displaying an image in the background media asset.
In the embodiment of the present disclosure, the media resource segment may be a video, a picture, a text, an audio, a motion picture, an interactive media, a game, a web page, a virtual reality, and the like, which is not limited in the embodiment of the present disclosure. The target media asset comprises a plurality of media asset segments, wherein at least two of the plurality of media asset segments are capable of being played simultaneously. The background media resource comprises at least one multimedia resource segment in the plurality of media resource segments, wherein the media resource segments in the background media resource are played according to a preset sequence under the condition that the number of the segments of the background media resource comprising the plurality of media resource segments is more than or equal to two.
In the embodiment of the present disclosure, the first segment display area is used to display thumbnails of background media resources, specifically, each media resource segment in the background media resources corresponds to at least one thumbnail. The thumbnail corresponding to the media resource segment may be a preset image or an image obtained by reducing any image in the media resource segment. It can be understood that, in the first segment display area, the number of thumbnails of each media resource segment is set according to the size of the display area occupied by each media resource segment. When the number is greater than 1, the thumbnails may or may not be identical.
In the embodiment of the present disclosure, the media resource editing apparatus may change the display order of the plurality of media resource segments in the first segment display area, that is, change the playing order of the media resource segments in the background media resource, in response to a drag operation for the media resource segments in the background media resource. It will be appreciated that the drag operation may be an operation directed to a thumbnail of a media asset segment in the background media asset.
In the embodiment of the present disclosure, since the resource editing interface may further include a play control, in response to a trigger operation for the play control, a plurality of media resource segments in the background media resource may be sequentially played in the first window. Thus, the first window can be used to display an image in each media asset segment in the background media asset. It will be appreciated that since each media asset segment is edited as a whole in the asset editing interface, the media asset editing device may be disposed in the first window for displaying a thumbnail of each media asset segment in the background media asset without displaying an image of each media asset segment in the background media asset in the first window.
In the embodiment of the disclosure, the media asset editing device may further display a cancel control, a discard control, and a save control on the asset editing interface. The cancel control is used for canceling the operation on the pin for one time, the abandon control is used for abandoning all the operations after the resource editing interface is started at this time, and the save control is used for saving all the operations after the resource editing interface is started at this time, so that the obtained target media resource is obtained.
Optionally, in an embodiment of the present disclosure, the method for editing a media resource provided in the embodiment of the present disclosure further includes: the media resource editing device responds to the resource import operation of the media resource segments and obtains the media resource segments included by the target media resource. Thestep 101 of displaying a resource editing interface specifically includes: the media asset editing device displays an asset editing interface in response to an editing trigger operation.
In the embodiment of the disclosure, a resource import operation is performed in response to a plurality of media resource segments, wherein the plurality of media resources are resource segments included in a target media resource. And under the condition that a resource editing interface is displayed in response to the editing triggering operation, determining a plurality of media resource segments obtained in response to the resource importing operation as background media resources. It will be appreciated that if the asset import operation is first responded to, the asset editing interface is displayed while the plurality of media asset segments comprised by the target media asset are displayed in the first segment display area and the preview area. If the resource editing interface is displayed firstly, after the resource import operation is responded, a plurality of media resource segments included by the target media resource are displayed in the first segment display area and the preview area.
In a first example, as shown in fig. 3 (a), any media asset is played on the media asset playing interface, and a screen gesture (two fingers right-stroke) is performed. As shown in (b) of fig. 3, a media resource segment list is displayed, and a plurality of media resource segments that need to be imported are determined by a multi-selection operation on the media resource segments. As shown in fig. 3 (c), the resource importing operation of the plurality of media resource segments imports the selected plurality of media resource segments, and the indication information being imported is displayed during the importing process. As shown in (d) in fig. 3, after the instruction information indicating that the importing is completed is indicated, the image editing control is displayed, a click operation (editing trigger operation) for a target control "picture in picture" in the image editing control is input, as shown in (e) in fig. 3, in response to the click operation for the target control "picture in picture", a resource editing interface is displayed, a thumbnail of the background media resource is displayed in the first segment display area, and a first window is displayed in the preview area.
In a second example, for a case where an editing trigger operation is received during editing of a certain media resource segment, after shooting the media resource segment a, a click operation for a target control in an image editing control in picture-in-picture is input for the media resource segment a and the image editing control, as shown in (a) in fig. 4. As shown in fig. 4 (b), in response to a click operation for the target control "picture-in-picture", a media resource segment a is acquired, and a resource editing interface is displayed. Note that, in this example, the resource import operation is the same as the edit trigger operation. As shown in fig. 4 (b), the display editing interface further includes a resource import control. As shown in (c) in fig. 4, in response to the triggering operation for the resource import control, a media resource segment list is displayed, and multiple selection operations on media resource segments determine a plurality of media resource segments that need to be imported.
In the embodiment of the present disclosure, on the basis of the first example or the second example, the resource editing interface is displayed to include a resource import control, and in response to a trigger operation for the resource import control, a media resource segment list is displayed, and multiple selection operations on media resource segments are performed to determine a plurality of media resource segments that need to be imported, so as to facilitate importing another media resource segment again.
In the embodiment of the present disclosure, the editing triggering operation may be according to a preset operation path, a screen gesture indication, or a mechanical case. The specific operation mode of the editing trigger operation is not limited in the embodiment of the present disclosure.
In the embodiment of the present disclosure, the resource editing interface is used for editing the effect of the target media resource, that is, editing the effect of multiple media resources played simultaneously, such as a playing time interval, a display position relationship between two media resource segments during playing simultaneously, an occupied display area size, and the like.
It is to be understood that, for the image, subtitle or dubbing in each media asset segment, the media asset editing apparatus may also perform image editing for each image in the target media asset in response to the user operation after saving the target media asset displayed by the asset editing interface in response to the user operation. It can be understood that the media asset editing apparatus may also perform image editing on the media images in the multiple media asset segments, and then import the edited media asset segments into the asset editing interface.
The technical scheme provided by the disclosure at least brings the following beneficial effects: the method comprises the steps of obtaining a plurality of media resource segments included by a target media resource, displaying a resource editing interface, independently triggering through resource import operation and editing triggering operation respectively so as to independently control the resource editing interface and the target media resource, and obtaining all media resource segments meeting user requirements by responding to multiple resource import operations. Therefore, the control flexibility of the resource editing interface and the plurality of media resource segments included by the target media resource is improved.
Instep 102, the media asset editing apparatus displays a thumbnail of a first media asset segment in a second segment display area in response to a first trigger operation for the thumbnail of the first media asset segment in the first segment display area, and removes the first media asset segment from the background media asset.
In an embodiment of the present disclosure, the first media resource segment is any media resource segment in the target media resource. The first trigger operation includes: an operation to move the first media asset segment from the first segment display area to the second segment display area.
In the disclosed embodiment, the second segment display area is similar to the first segment display area for displaying a thumbnail of the first media asset segment. The thumbnail corresponding to the first media resource segment may be a preset image, or may be an image obtained by reducing any image in the first media resource segment. It is understood that the first media asset segment is displayed in the second media asset segment according to the display area size of the first media asset segment in the first segment display area and the number of thumbnails.
Illustratively, on the basis of (e) in fig. 3, as shown in fig. 5, an asset editing interface is displayed, and thumbnails of background media assets are displayed in a first segment display area, and a first window is displayed in a preview area. A thumbnail of the first media asset segment is displayed in the second segment display area. And after responding to the first trigger operation, not displaying the thumbnail of the first media resource segment in the first segment display area.
Optionally, in this embodiment of the present disclosure, thestep 102 may be implemented by the following steps, specifically including: the media asset editing device displays a second segment display area on the asset editing interface in response to a first asset editing operation on a thumbnail of a first media asset segment in the first segment display area; the media asset editing means displays a thumbnail of the first media asset segment in the second segment display region and removes the first media asset segment from the background media asset in response to a second asset editing operation for the thumbnail of the first media asset segment in the first segment display region.
In the disclosed embodiment, the first asset editing operation and the second asset editing operation may be operations for thumbnails of media asset segments in the background media asset. For example, the first resource editing operation may be a long press operation, and the second resource editing operation may be a drag operation. In the case where the asset editing interface is displayed, the first asset editing operation and the second asset editing operation may be received at any time.
In the disclosed embodiment, as shown in fig. 6, in response to a first asset editing operation for a first media asset segment B, a blank second segment display area is displayed and a prompt message is displayed in the second segment display area (e.g., placed there, converted to a separate layer). In response to a second asset editing operation for the first media asset segment B, a thumbnail of the first media asset segment is displayed in the second segment display area.
The technical scheme provided by the disclosure at least brings the following beneficial effects: and in response to the first resource editing operation, the second segment display area is separately displayed, and the display position of the second segment display area is highlighted so as to facilitate other operations for the second segment display area. In addition, by responding to the second resource editing operation of the thumbnail of the first media resource segment, the editing object of the second resource editing operation can be definitely indicated as the first media resource segment, and the first media resource segment is moved from the first segment display area to the second segment display area. Therefore, the media resource segment displayed in the second segment display area is flexibly controlled.
Optionally, in this embodiment of the present disclosure, the method for editing a media resource further includes: the media asset editing device responds to a third asset editing operation of the thumbnail of the first media asset segment in the first segment display area and displays a deletion control response area on the asset editing interface; the media asset editing device removes the first media asset segment from the background media asset in response to a fourth asset editing operation for a thumbnail of the first media asset segment in the first segment display area.
In the embodiment of the present disclosure, in the background media resource in the first segment display area of the resource editing interface, due to a misoperation in the import process or a user changing the resource requirement of the background media resource, the media resource segment in the background media resource needs to be deleted. After deleting the media asset segment of the background media asset, the media asset segment is also deleted from the target media asset. In the case where the resource editing interface is displayed, the third resource editing operation and the fourth resource editing operation may be received at any time.
In the embodiment of the present disclosure, the first resource editing operation and the third resource editing operation may be the same operation. For example, it is assumed that, in a case where a long-press operation for the first media asset is received, the second clip display area and the deletion control response area are displayed in the asset editing interface in response to the long-press operation. The second or fourth asset editing operation can be responded to the same first media asset.
In an embodiment of the present disclosure, the media asset editing apparatus removes the first media asset segment from the background media asset and no longer displays the first media asset segment in the first segment display area.
In the disclosed embodiment, a delete control response area is displayed in response to a third asset editing operation for the first media asset segment C, as shown in fig. 7 (a). As shown in fig. 7 (b), in response to a fourth asset editing operation for the first media asset segment C, the first media asset segment C is removed from the background media asset and is no longer displayed in the first segment display area.
The technical scheme provided by the disclosure at least brings the following beneficial effects: and in response to the third resource editing operation, displaying the deletion control response area separately, and highlighting the display position of the deletion control response area so as to delete the media resource segment according to the deletion control response area. In addition, by responding to the fourth resource editing operation of the thumbnail of the first media resource segment, the editing object of the fourth resource editing operation can be definitely indicated as the first media resource segment, and the first media resource segment can be deleted from the first segment display area. Therefore, the media resource segment displayed in the first segment display area is flexibly controlled.
In the embodiment of the present disclosure, after the media asset editing apparatus displays the thumbnail of the first media asset segment in the second segment display area, other media assets in the first segment display area may also be determined as the first media asset segment again. Then the media resource editing device repeats the first trigger operation and moves the first media resource segment which is re-determined in the first segment display area, so that the thumbnail of the first media resource which is re-determined is displayed in the second segment display area.
Optionally, in this embodiment of the disclosure, in order to display more first media resource segments in the second segment display area, thestep 102 includes: the media asset editing device displays a thumbnail of at least one first media asset segment in the second segment display area and removes the at least one first media asset segment from the background media asset in response to a second trigger operation for the thumbnail of the at least one first media asset segment in the first segment display area.
Wherein, at least one first media resource segment is a media resource segment in the target media resource. The second trigger operation includes: an operation to move at least one first media asset segment from a first segment display area to a second segment display area.
In the embodiment of the disclosure, the media resource editing device may also sequentially select the thumbnails of the at least one first media resource segment before responding to the second trigger operation, and then respond to the second trigger operation for the thumbnails of the selected at least one first media resource segment.
In the embodiment of the disclosure, the media asset editing apparatus may change the display order of at least one media asset segment in the second segment display region in response to a drag operation for the at least one media asset segment. It will be appreciated that the drag operation may be an operation directed to a thumbnail of at least one media asset segment in the second segment display area.
The technical scheme provided by the disclosure at least brings the following beneficial effects: by responding to the second trigger, at least one first media resource segment is displayed in the second segment display area, so that the media resource segment in the background media resource in the first segment display area is realized, and compared with at least one second media resource segment in the second deviation display area, the quantity relationship of multiple pairs or multiple pairs is realized, so that the obtained target media resource is more diversified, and the display mode of the target media resource is flexibly controlled.
Step 103, the media asset editing device displays the first window and the second window in the preview area.
In an embodiment of the disclosure, the second window is for displaying an image in the first media asset segment. And under the condition that the second window comprises a plurality of first media resource segments, the second window is used for sequentially playing each first media resource segment in at least one first media resource segment. The first window is located at the upper layer of the second window, that is, if the first window and the second window are simultaneously displayed at the same position in the preview interface, only the display content of the first window can be seen in the preview area if the transparency of the first window is 0.
Optionally, in this embodiment of the present disclosure, afterstep 103, the method for editing a media resource further includes: setting a first parallel playing time period of the first media resource segment and the background media resource when the target media resource is played in response to a first position adjustment operation aiming at the first media resource segment; wherein the first position adjustment operation is used for adjusting the relative position of the thumbnail of the first media resource segment in the second segment display area and the thumbnail of the background media resource in the first segment display area; the position of the thumbnail of the first media resource segment corresponds to the position of the thumbnail of the background media resource, and the corresponding part corresponds to a first parallel playing time interval; in the playing process of the target media resource, the first media resource segment and the background media resource are played in parallel in the first parallel playing time interval.
It should be noted that, when the second segment display area displays the first media resource segment or at least one first media resource segment, the thumbnail of the first media resource segment is displayed from the initial position of the second segment display area, or the thumbnail of at least one first media resource segment is sequentially displayed according to the response sequence of at least one first resource segment. The initial position of the second clip display area is the same as the initial position of the first clip display area, that is, when the target media resource is played, the playing time on the playing time axis is the same.
In the embodiment of the present disclosure, by responding to the first position adjustment operation for the first media resource segment, the relative position between the thumbnail of the first media resource segment in the second segment display area and the thumbnail of the background media resource in the first segment display area is adjusted, that is, the relative playing time between the first media resource segment in the second segment display area and the background media resource in the first segment display area is adjusted, that is, the first parallel playing period of the first media resource segment and the background media resource when the playing target media resource is set.
It will be appreciated that the first media asset segment may be played back after the background media asset has been played for a period of time while the target media asset is being played. Illustratively, on the basis of fig. 5, in response to the first position adjustment operation, as shown in fig. 8, the relative positions of the thumbnail of the first media asset segment in the updated second segment display area and the thumbnail of the background media asset in the first segment display area are displayed.
The technical scheme provided by the disclosure at least brings the following beneficial effects: the first parallel playing time interval of the first media resource segment and the background media resource when the target media resource is played is set by responding to the first position adjustment operation aiming at the first media resource segment, so that the parallel playing time for simultaneously playing the two media resource segments is flexibly adjusted, and the flexibility of playing the target media resource is increased.
Optionally, in this embodiment of the present disclosure, the displaying a thumbnail of the first media resource segment in the second segment display area instep 103 specifically includes: the media resource editing device displays a thumbnail of the first media resource segment in a time interval position area corresponding to the first parallel playing time interval in the second segment display area; the method for editing the media resources further comprises the following steps: the media asset editing device displays the thumbnail of the first media asset segment in the second segment display area, and then responds to the display switching operation of the first media asset segment displayed in the second segment display area, and displays the first image identifier of the first media asset segment and the second image identifier corresponding to the first parallel playing time period in the time period position area corresponding to the first parallel playing time period in the second segment display area.
In the embodiment of the present disclosure, in the second segment display area, in the time interval position area corresponding to the first parallel playing time interval, the first media resource segment and the playing time interval may be identified through two display manners. First, as shown in fig. 8, a thumbnail of a first media asset segment is displayed in a first parallel play period; secondly, as shown in fig. 9, a first image identifier of a first media asset segment is displayed at a start position of a first parallel playing period, and then a second image identifier is displayed at another position within the first parallel playing period, and the first image identifier and the second image identifier are connected. The first image identifier may be a thumbnail of the first media asset segment, and the second image identifier may be a straight line drawn from the first image identifier.
The first display mode can display more contents, possibly cause interference to the background media resource displayed in the first segment display area, but can more intuitively display the corresponding relation of the two media resource segments displayed in the first parallel playing time segment. The second display method is opposite to the first display method, and can display less content, so that although it is inconvenient to intuitively display the correspondence between the two media resource segments displayed in the first parallel play time period, it is possible to reduce interference caused to the background media resource displayed in the first segment display area.
In the embodiment of the present disclosure, the media asset editing apparatus switches the current display mode of the first media asset segment displayed in the second segment display area to another display mode by responding to the display switching operation. The current display mode may be displaying a thumbnail, or displaying the first image identifier and the second image identifier.
The technical scheme provided by the disclosure at least brings the following beneficial effects: in the second segment display area, the first media resource segment and the first parallel playing time segment can be displayed in two modes, and the first media resource segment is displayed in the second segment display area according to the characteristics of the two display modes by responding to the switching of the display and switching.
Optionally, in this embodiment of the present disclosure, after thestep 103, the method for editing a media asset further includes any one of the following: the media resource editing device responds to a first zooming operation aiming at the first window and displays the zoomed first window in the preview area; the first window displayed on the playing interface is the first window after zooming; displaying the scaled second window in the preview area in response to a second scaling operation for the second window; and the second window displayed on the playing interface is the scaled second window.
Wherein, the first zooming operation can be a double-finger pinch operation or a double-finger separation operation. The second zoom operation may be a double finger pinch operation, or a double finger split operation.
Illustratively, as shown in fig. 10 (a), in a preview area of a resource editing interface, a first window and a second window are displayed, the first window and the second window are the same in size, the first window is displayed on an upper layer to cover the second window, and a double-finger pinch operation for the first window input by a user is received. As shown in fig. 10 (b), in response to the double-finger pinch-in operation for the first window, the reduced first window is displayed in the preview area, and after the first window is reduced, a partial area in the second window is blocked by the first window. As shown in (c) of fig. 10, in response to the two-finger pinch-in operation for the second window, the reduced second window is displayed in the preview area, the reduced second window not being blocked by the reduced first window.
The technical scheme provided by the disclosure at least brings the following beneficial effects: the sizes of the first window and the second window in the preview area are changed by responding to the first zooming operation and the second zooming operation, so that the relative display positions of the media resource segments in the target media resource in the playing process can be flexibly set, and the setting flexibility of the target media resource is improved.
Optionally, in this embodiment of the present disclosure, after thestep 103, the method for editing a media asset further includes any one of the following: after the first window and the second window are displayed in the preview area, the media resource editing device responds to a third position adjustment operation aiming at the first window and displays the first window after position adjustment in the preview area; the first window displayed on the playing interface is the first window with the adjusted display position; responding to a fourth position adjusting operation aiming at the second window, and displaying the second window after position adjustment in the preview area; and the second window displayed on the playing interface is the second window with the adjusted display position.
Wherein the third position adjustment operation and the fourth position adjustment operation may be drag operations.
Illustratively, on the basis of (c) in fig. 10, in a preview area of the resource editing interface, a first window and a second window are displayed, and the first window does not block the second window. As shown in (a) of fig. 11, a downward drag operation for the first window is received, and as shown in (b) of fig. 11, the dragged first window is displayed in the preview area in response to the drag operation for the first window.
It can be understood that the drag operation for the second window is similar to the drag operation for the first window, and is not described herein again.
The technical scheme provided by the disclosure at least brings the following beneficial effects: the positions of the first window and the second window in the preview area are changed by responding to the third position adjustment operation and the fourth position adjustment operation, so that the relative display positions of the media resource segments in the target media resources in the playing process can be flexibly set, and the setting flexibility of the target media resources is improved.
It should be noted that, if a plurality of media asset segments are included in the background media asset of the first segment display area, the order in which the media asset segments are played in the first window is changed in the case of changing the display order of the thumbnails of the media asset segments in the first segment display area. If the second segment display area includes at least two first media asset segments, then the order in which the second window plays the first media asset segments is changed with the display order of the thumbnails of the first media asset segments in the second segment display area changed.
And step 104, the media resource editing device responds to the playing operation aiming at the target media resource, plays the target media resource and displays a playing interface.
In the embodiment of the disclosure, the playing interface includes a first window and a second window, and the first media resource segment in the target media resource is played in parallel with the background media resource.
In an embodiment of the present disclosure, the method for editing a media resource further includes: in the playing process of the target media resource, when the background media resource comprises at least two media resource segments, the first window is used for sequentially playing each media resource segment in the background media resource. It will be appreciated that the preview area of the asset editing interface is consistent with the play interface.
The technical scheme provided by the disclosure at least brings the following beneficial effects: and playing the target media resource edited on the preview interface through the playing interface so as to realize the simultaneous playing of at least two media resource segments.
In the embodiment of the present disclosure, in the process of playing the target media resource, if the editing operation for the target media resource is received, the playing of the target media resource is stopped, and the target media resource is updated in response to the editing operation.
In the embodiment of the disclosure, the first parallel playing time period is set in the first segment display area and the second segment display area of the resource editing interface to form the media resource segment played in parallel, so that the playing form of the media resource is enriched. And the positions and the sizes of the first window and the second window for playing the media resource fragments are adjusted through dragging operation and zooming operation, so that richer media resource playing forms are formed.
The technical scheme provided by the disclosure at least brings the following beneficial effects: in this way, through the first window and the second window included in the preview area, the media resource segment in the background media resource displayed on the first window in the preview area and the first media resource segment displayed on the second window in the preview area are used as the target media resource, and the media resource segment and the first media resource segment in the background media resource which are played simultaneously are realized in response to the playing operation for the target media resource, so that the playing effect of at least two media resource segments at the same time is realized. Meanwhile, the target media resource can be obtained by adopting simple editing operation, the editing complexity of the edited target media resource is reduced, and the propaganda, entertainment and appreciation of the edited target media resource are improved.
Optionally, in this embodiment of the disclosure, after "setting a first parallel playing time period of the first media resource segment and the background media resource when the target media resource is played", the method for editing the media resource further includes: in response to a third trigger operation for the thumbnail of the first media resource segment, displaying a first duration adjustment control for the thumbnail of the first media resource segment in the second segment display area; and responding to the first time length adjusting operation aiming at the first time adjusting control, adjusting the playing time length of the first media resource segment, and correspondingly updating the first parallel playing time interval.
In the embodiment of the present disclosure, for the first media resource segment displayed in the second segment display area, in addition to being capable of adjusting the display position, the playing time length can also be adjusted. When responding to the first time length adjusting operation aiming at the first time adjusting control, the initial position corresponding to the display position of the first media resource segment in the second segment display area is unchanged.
Illustratively, as shown in fig. 12 (a), in response to a click operation on a thumbnail of a first media resource segment, a first duration adjustment control of the thumbnail of the first media resource segment is displayed in the second segment display area, and a playing duration of the first media resource segment corresponding to the first duration adjustment control is displayed in the first duration adjustment control. As shown in (b) of fig. 12, a first time length adjustment operation for the first time adjustment control is received, where the first time length adjustment operation may be clicking a right arrow of the first time adjustment control and dragging to the right to increase the playing time length. As shown in (c) of fig. 12, in response to the first time length adjustment operation for the first time adjustment control, a display area corresponding to the first media resource segment is added to the second segment display area to indicate that the playing time length is increased, and the playing time length of the first media resource segment corresponding to the adjusted first time length adjustment control is displayed in the first time length adjustment control.
The technical scheme provided by the disclosure at least brings the following beneficial effects: and changing the playing time length of the first media resource segment in the second segment display area by responding to the third trigger operation and the first time length adjusting operation so as to adjust the first parallel playing time period. Therefore, the playing content of the second window in the preview area is adjusted through simple operation, so that the playing time of each media resource segment in the target media resource is flexibly set, and the setting flexibility of the target media resource is improved.
Optionally, in this embodiment of the disclosure, after "setting a first parallel playing time period of the first media resource segment and the background media resource when the target media resource is played", the method for editing the media resource further includes: responding to a fourth trigger operation aiming at the thumbnail of any media resource segment in the background media resources, and displaying a second time length adjusting control of the thumbnail of any media resource segment in the background media resources in the first segment display area; and responding to a second time length adjusting operation aiming at the second time adjusting control, adjusting the playing time length of any media resource segment in the background media resources, and correspondingly resetting the first parallel playing time interval.
In the embodiment of the present disclosure, for the media resource segment of the background media resource displayed in the first segment display area, in addition to being capable of adjusting the display position, the playing time length can also be adjusted. And when responding to the second time length adjusting operation aiming at the second time adjusting control, the initial position corresponding to the display position of the media resource segment of the background media resource in the first segment display area is unchanged.
In the embodiment of the present disclosure, the fourth trigger operation is similar to the third trigger operation, and the first duration adjustment control and the second duration adjustment control are not described herein again.
The technical scheme provided by the disclosure at least brings the following beneficial effects: and changing the playing time length of the media resource segment in the first segment display area by responding to the fourth trigger operation and the second time length adjusting operation so as to adjust the first parallel playing time period. Therefore, the playing content of the first window in the preview area is adjusted through simple operation, so that the playing time of each media resource segment in the target media resource is flexibly set, and the setting flexibility of the target media resource is improved.
Optionally, in this embodiment of the present disclosure, the asset editing interface further includes a linear axis, where the linear axis is used to indicate a display position of the image displayed in the preview area in the thumbnail of the background media asset and the thumbnail of the first media asset segment. After thestep 103, the method for editing a media asset provided by the present disclosure further includes: in response to a position movement operation with respect to the linear axis, displaying an image in the background media asset corresponding to the moved linear axis in the first window, and displaying an image of the first media asset segment corresponding to the moved linear axis in the second window.
In the embodiment of the present disclosure, as shown in (a) in fig. 13, overlaying the first segment display area and the second segment display area on the resource editing interface linear axis can indicate that the linear axis displays media resource segments corresponding to the linear axis in the background media resource corresponding to the first segment display area, and displays media resource segments corresponding to the linear axis in the first media resource segment corresponding to the second segment display area, and the first window and the second window in the preview area. As shown in fig. 13 (b), in response to the position moving operation for the linear axis, the updated linear axis position is displayed in the first segment display area and the second segment display area, and the image in the background media asset corresponding to the moved linear axis is displayed in the first window and the image of the first media asset segment corresponding to the moved linear axis is displayed in the second window.
In the embodiment of the present disclosure, the resource editing interface further includes a current playing time of the background media resource and a total playing time length.
The technical scheme provided by the disclosure at least brings the following beneficial effects: by displaying the linear axis on the resource editing interface, the corresponding relation of the media resource segments in the first segment display area and the second segment display area is visually displayed, the visualization degree of the editing target media resource is improved, and the efficiency of editing the target media resource is improved.
Optionally, in this embodiment of the present disclosure, the resource editing interface further includes at least one property adjustment control. After the first window and the second window are displayed in the preview area, the method for editing a media resource provided by the embodiment of the disclosure further includes: responding to the selection operation aiming at the first target object or the second target object, setting a first window displayed in the preview area as a state to be edited, and setting a media resource segment corresponding to the second target object displayed in the first segment display area as the state to be edited; wherein the first target object is: an image in a background media asset displayed in a first window; the second object is: the first segment display area displays thumbnails in the background media asset corresponding to the linear axis.
In the embodiment of the present disclosure, since the first window and the first segment display area are in one-to-one correspondence, a first associated display relationship between the first window and the first segment display area is set. Illustratively, as shown in fig. 14, when the image in the background media asset displayed in the selected first window is selected, the thumbnail in the background media asset corresponding to the selected first segment display area display linear axis is also displayed. Conversely, when the selected first segment display area displays the thumbnail in the background media asset corresponding to the linear axis, the image in the background media asset displayed in the selected first window is also displayed.
The technical scheme provided by the disclosure at least brings the following beneficial effects: the first window and the first segment display area are displayed in an associated mode, so that the current editing effect can be displayed through the first window, and the efficiency of editing the target media resource is improved.
Optionally, in this embodiment of the present disclosure, the resource editing interface further includes at least one property adjustment control. After the first window and the second window are displayed in the preview area, the method for editing a media resource provided by the embodiment of the disclosure further includes: responding to the selection operation aiming at the third target object or the fourth target object, setting a second window displayed in the preview area as a state to be edited, and setting a media resource segment corresponding to the fourth target object displayed in the second segment display area as the state to be edited; wherein the third target object is: an image in a background media asset displayed in a second window; the fourth object is: the second segment display area displays thumbnails in the background media assets corresponding to the linear axis.
In the embodiment of the present disclosure, since the second window and the second segment display area are in one-to-one correspondence, a second associated display relationship between the second window and the second segment display area is set. The second association display relationship is similar to the first association display relationship, and is not described herein again.
The technical scheme provided by the disclosure at least brings the following beneficial effects: the second window and the second segment display area are displayed in an associated mode, so that the current editing effect can be displayed through the second window, and the efficiency of editing the target media resource is improved.
Optionally, in this embodiment of the present disclosure, the at least one property adjustment control is any one of: transparency control, mute control, animation mode setting control, filter control, subtitle control and color adjustment control. The method for editing media resources provided by the embodiment of the present disclosure further includes: under the condition that a first window displayed in the preview area is in a state to be edited, in response to a fifth trigger operation for any one of the at least one property adjustment control, displaying an image in the background media resource after the property adjustment on the first window, wherein a property adjustment object of the fifth trigger operation is: media resource segments corresponding to images in background media resources displayed by a first window; under the condition that a second window displayed in the preview area is in a state to be edited, in response to a sixth trigger operation for any one of the at least one property adjustment control, displaying an image in the first media resource segment after the property adjustment on the second window, wherein a property adjustment object of the sixth trigger operation is: and the media resource segment corresponding to the image in the background media resource displayed by the second window.
In this embodiment of the present disclosure, on the basis of the first associated display relationship and the second associated display relationship, a property adjustment operation is performed on the first window and the second window, so as to implement an adjustment function that can be implemented by the property adjustment control.
It should be noted that the fifth triggering operation is used to adjust a media resource segment corresponding to an image in the background media resource displayed in the first window. The sixth triggering operation is used to adjust the first media resource segment displayed in the second window.
The technical scheme provided by the disclosure at least brings the following beneficial effects: and adjusting the media resource segments according to the attribute adjusting control displayed on the resource editing interface, so that the target media resource is generated on the basis of the background media resource, and the playing effect meeting the requirements of the user can be presented.
Optionally, in an embodiment of the present disclosure, the method for editing a media resource provided by the embodiment of the present disclosure further includes: in response to an effect adding operation for any media resource segment of the background media resource, displaying a boundary transition image in the first window, the boundary transition image being used for an image added to the background media resource behind any media resource segment; and displaying the edited boundary transition image and the boundary transition image in the first window in response to the effect editing operation aiming at the boundary transition image.
In the embodiment of the present disclosure, the difference between multiple media resource segments in the background media resource may be large, or may be similar, and in order to distinguish the relationship between the media resource segments, a boundary transition image may be added.
In the embodiment of the present disclosure, the effect addition operation may be a click operation for the effect addition space. As shown in FIG. 15, the effect addition space may be identified by a "+" display between any two adjacent media asset segments in the first segment display area.
In the embodiment of the present disclosure, the boundary transition image may be a combined image of adjacent images of any two adjacent media resource segments, and may also be an image loaded from a gallery.
The technical scheme provided by the disclosure at least brings the following beneficial effects: and setting a transition effect between any two media resource segments according to the effect adding operation displayed on the resource editing interface, so that a target media resource is generated on the basis of the background media resource, and a playing effect meeting the requirements of a user can be presented.
Optionally, in an embodiment of the present disclosure, the resource editing interface includes a third segment display area. The method for editing media resources provided by the embodiment of the present disclosure further includes: in response to a resource move operation that moves the second media asset segment from the first segment display region to the third segment display region, displaying a thumbnail of the second media asset segment in the third segment display region and removing the second media asset segment from the background media asset; the second media resource segment is any one media resource segment in the target media resource; displaying a first window, a second window and a third window in the preview area, wherein the third window is used for displaying images in the second media resource segment; the playing interface comprises a first window, a second window and a third window, and in the playing process of the target media resource, the first media resource segment, the second media resource segment and the background media resource are played in parallel.
In an embodiment of the present disclosure, the resource moving operation includes an operation to move a second media resource segment from the first segment display area to the third segment display area.
In the disclosed embodiment, the third segment display area is similar to the second segment display area, and the third segment display area is used for displaying a thumbnail of the second media asset segment. Similar editing effects can be achieved in the third segment display area in response to all similar operations with the second segment display area, and details are not repeated here.
In the embodiment of the present disclosure, the second segment display area and the third segment display area may be displayed in a superposition manner, and then displayed in a differentiated manner by paging. Specifically, the page identifier may be set to distinguish the second segment display area from the third segment display area. Of course, the second segment display area and the third segment display area may be switched by the page identifier.
It will be appreciated that, similar to the third segment display region, a fourth segment display region, a fifth segment display region, and so forth, may also be provided such that the target media asset may play 3, 4, 5, or even more segments of the media asset at the same time.
The technical scheme provided by the disclosure at least brings the following beneficial effects: and setting a third segment display area on the resource editing interface so that the target media resource can be simultaneously overlapped with more media resource segments, and the target media resource can present a playing effect meeting the requirements of the user.
Further optionally, in this disclosure, after "the first window, the second window, and the third window are displayed in the preview area", the method for editing a media resource provided in this disclosure further includes: setting a second parallel playing time period of the second media resource segment and the background media resource when the target media resource is played in response to a second position adjustment operation aiming at the second media resource segment; wherein the second position adjustment operation is operative to adjust a relative position of a thumbnail of the second media asset segment in the third segment display area to a thumbnail of the background media asset in the first segment display area; the part of the position of the thumbnail of the second media resource segment corresponding to the position of the thumbnail of the background media resource corresponds to a second parallel playing time period; in the playing process of the target media resource, the second media resource segment and the background media resource are played in parallel in a second parallel playing time interval, and the second parallel time interval and the first parallel time interval are overlapped.
In the embodiment of the present disclosure, the second parallel time period is similar to the first parallel time period, and in the playing process of the target media resource, there may be a background media resource and a first media resource segment that are played simultaneously, a background media resource, a first media resource segment and a second media resource segment that are played simultaneously, and a background media resource and a second media resource segment that are played simultaneously.
The technical scheme provided by the disclosure at least brings the following beneficial effects: and setting a third segment display area on the resource editing interface, and setting a second parallel playing time period by responding to the second position adjustment operation, so that the target media resource can simultaneously overlap more media resource segments, and the target media resource can present a playing effect meeting the requirements of the user.
The foregoing describes aspects of embodiments of the present disclosure primarily from a methodological perspective. It is understood that, in order to implement the above functions, the media asset editing apparatus includes at least one of a hardware structure and a software module corresponding to the respective functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
The embodiment of the present disclosure may perform the division of the functional units for the media asset editing apparatus according to the method example described above, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the units in the embodiments of the present disclosure is schematic, and is only one logical function division, and there may be another division manner in actual implementation.
Fig. 16 is a schematic structural diagram illustrating a media asset editing apparatus according to an exemplary embodiment. Referring to fig. 16, a media asset editing apparatus provided in an embodiment of the present disclosure includes:edit display section 1601,clip display section 1602,preview display section 1603, and playdisplay section 1604;
anediting display unit 1601, configured to display a resource editing interface, where the resource editing interface is used to edit a target media resource; the target media resource comprises a plurality of media resource segments, and the resource editing interface comprises a preview area, a first segment display area and a second segment display area; the first segment display area is used for displaying a thumbnail of a background media resource, and the background media resource comprises at least one multimedia resource segment in a plurality of media resource segments; the preview area comprises a first window, and the first window is used for displaying images in the background media resources; for example, as shown in fig. 1, anediting display unit 1601 may be used to performstep 101.
Asegment display unit 1602, configured to display a thumbnail of a first media resource segment in a second segment display area and remove the first media resource segment from a background media resource in response to a first trigger operation for the thumbnail of the first media resource segment in the first segment display area; the first media resource segment is any one media resource segment in the target media resource; for example, as shown in FIG. 1, asegment display unit 1602 may be used to performstep 102.
Apreview display unit 1603, configured to display a first window and a second window in the preview area, where the second window is used to display an image in the first media resource segment; for example, as shown in FIG. 1,preview display unit 1603 may be used to performstep 103.
The playing and displayingunit 1604 is configured to, in response to a playing operation for the target media resource, play the target media resource and display a playing interface, where the playing interface includes a first window and a second window, and a first media resource segment in the target media resource is played in parallel with a background media resource. For example, as shown in FIG. 1, theplay display unit 1604 may be used to performstep 104.
With regard to the apparatus in the above-described embodiment, the specific manner in which each unit performs the operation has been described in detail in the embodiment related to the method, and will not be described in detail here.
Fig. 17 is a schematic structural diagram of an electronic device provided by the present disclosure. As shown in fig. 17, the electronic device may include aprocessor 1701, amemory 1702 for storing instructions executable by theprocessor 1701; wherein theprocessor 1701 is configured to execute the instructions to implement the method for editing a media resource in the embodiment.
Additionally, the electronic device may include acommunication bus 1703 and at least onecommunication interface 1704.
Theprocessor 1701 may be a Central Processing Unit (CPU), a micro-processing unit, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to control the execution of programs in accordance with the disclosed aspects.
Communication bus 1703 is a signal path used to transfer information between the above components.
Communication interface 1704 may employ any transceiver or the like for communicating with another device or communication network, such as an ethernet, a Radio Access Network (RAN), a Wireless Local Area Network (WLAN), or the like.
Thememory 1702 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that may store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that may store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disk read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. Thememory 1702, which may be self-contained, is coupled to theprocessor 1701 via acommunication bus 1703. Thememory 1702 may also be integrated with theprocessor 1701.
Thememory 1702 is used to store instructions for performing the disclosed aspects and is controlled for execution by theprocessor 1701. Theprocessor 1701 is configured to execute programs or instructions stored in thememory 1702 to implement the functions in the disclosed methods.
As an example, in connection with fig. 16, theediting display unit 1601, theclip display unit 1602, thepreview display unit 1603, and theplay display unit 1604 in the media asset editing apparatus implement the same functions as those of theprocessor 1701 in fig. 17.
In particular implementations,processor 1701 may include one or more CPUs, such as CPU0 and CPU1 in fig. 17, as one embodiment.
In a specific implementation, the electronic device may include a plurality ofprocessors 1701, and each of the processors 81 may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor, as an example. Theprocessor 1701 here may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
In particular implementations, the electronic device may also include anoutput device 1705 and aninput device 1706, as an example. Theoutput device 1705 is in communication with theprocessor 1701 and may display information in a variety of ways. For example, theoutput device 1705 may be a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display device, a Cathode Ray Tube (CRT) display device, a projector (projector), or the like. Theinput device 1706, which is in communication with theprocessor 1701, may accept input from a user in a variety of ways. For example, theinput device 1706 may be a mouse, keyboard, touch screen device, or sensing device, among others.
Those skilled in the art will appreciate that the configuration shown in fig. 17 does not constitute a limitation of the electronic device, and may include more or fewer components than those shown, or combine certain components, or employ a different arrangement of components. The electronic device in fig. 17 may be a server, a client, or other devices.
In addition, the present disclosure also provides a computer readable storage medium, on which a program or instructions are stored, and when the instructions in the readable storage medium are executed by a processor, the electronic device is enabled to execute the media resource editing method provided by the above embodiment. Alternatively, the readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Additionally, the present disclosure also provides a computer program product comprising computer programs/instructions, the computer program product being stored in a non-volatile readable storage medium, the computer program product, when executed by at least one processor, causing an electronic device to perform the media asset editing method as provided in the above embodiments.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (23)

CN202211001428.9A2022-08-192022-08-19Media resource editing method and device, electronic equipment and storage mediumPendingCN115460448A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202211001428.9ACN115460448A (en)2022-08-192022-08-19Media resource editing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202211001428.9ACN115460448A (en)2022-08-192022-08-19Media resource editing method and device, electronic equipment and storage medium

Publications (1)

Publication NumberPublication Date
CN115460448Atrue CN115460448A (en)2022-12-09

Family

ID=84297791

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202211001428.9APendingCN115460448A (en)2022-08-192022-08-19Media resource editing method and device, electronic equipment and storage medium

Country Status (1)

CountryLink
CN (1)CN115460448A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN116634233A (en)*2023-04-122023-08-22北京优贝卡科技有限公司Media editing method, device, equipment and storage medium
CN119200933A (en)*2024-09-062024-12-27北京字跳网络技术有限公司 Image content processing method, device, electronic device, storage medium and program product

Citations (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102789799A (en)*2006-12-222012-11-21苹果公司Two-dimensional timeline display of media items
US20130104042A1 (en)*2011-02-162013-04-25Apple Inc.Anchor Override for a Media-Editing Application with an Anchored Timeline
US20130121668A1 (en)*2011-11-142013-05-16Brian MeaneyMedia editing with multi-camera media clips
US20160104508A1 (en)*2014-10-102016-04-14Samsung Electronics Co., Ltd.Video editing using contextual data and content discovery using clusters
WO2017101414A1 (en)*2015-12-142017-06-22乐视控股(北京)有限公司Android platform-based multimedia playing method and device, and mobile terminal device
WO2017176940A1 (en)*2016-04-082017-10-12Nightlight Systems LlcDigital media messages and files
CN110494833A (en)*2018-05-282019-11-22深圳市大疆创新科技有限公司A kind of multimedia editing method and intelligent terminal
CN113473204A (en)*2021-05-312021-10-01北京达佳互联信息技术有限公司Information display method and device, electronic equipment and storage medium
US20220028427A1 (en)*2011-02-162022-01-27Apple Inc.Media-Editing Application with Novel Editing Tools

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102789799A (en)*2006-12-222012-11-21苹果公司Two-dimensional timeline display of media items
US20130104042A1 (en)*2011-02-162013-04-25Apple Inc.Anchor Override for a Media-Editing Application with an Anchored Timeline
US20220028427A1 (en)*2011-02-162022-01-27Apple Inc.Media-Editing Application with Novel Editing Tools
US20130121668A1 (en)*2011-11-142013-05-16Brian MeaneyMedia editing with multi-camera media clips
US20160104508A1 (en)*2014-10-102016-04-14Samsung Electronics Co., Ltd.Video editing using contextual data and content discovery using clusters
WO2017101414A1 (en)*2015-12-142017-06-22乐视控股(北京)有限公司Android platform-based multimedia playing method and device, and mobile terminal device
WO2017176940A1 (en)*2016-04-082017-10-12Nightlight Systems LlcDigital media messages and files
CN110494833A (en)*2018-05-282019-11-22深圳市大疆创新科技有限公司A kind of multimedia editing method and intelligent terminal
CN113473204A (en)*2021-05-312021-10-01北京达佳互联信息技术有限公司Information display method and device, electronic equipment and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN116634233A (en)*2023-04-122023-08-22北京优贝卡科技有限公司Media editing method, device, equipment and storage medium
CN117499745A (en)*2023-04-122024-02-02北京优贝卡科技有限公司Media editing method, device, equipment and storage medium
CN116634233B (en)*2023-04-122024-02-09北京七彩行云数字技术有限公司Media editing method, device, equipment and storage medium
CN117499745B (en)*2023-04-122024-06-28中科方寸知微(南京)科技有限公司Media editing method, device, equipment and storage medium
CN119200933A (en)*2024-09-062024-12-27北京字跳网络技术有限公司 Image content processing method, device, electronic device, storage medium and program product

Similar Documents

PublicationPublication DateTitle
US12333137B2 (en)Configuration of application execution spaces and sub-spaces for sharing data on a mobile touch screen device
US20130106888A1 (en)Interactively zooming content during a presentation
JP2022520094A (en) Interface display method and its devices, terminals and computer programs
US12301983B2 (en)Content operation method and device, terminal, and storage medium
CN111866423A (en) Screen recording method and corresponding device for electronic terminal
EP4268913A1 (en)Position adjustment method and apparatus for operation controls, and terminal, and storage medium
KR102720297B1 (en) How to display trending events in applications and electronic devices
CN114095776B (en)Screen recording method and electronic equipment
CN111679772B (en)Screen recording method and system, multi-screen device and readable storage medium
CN112774192A (en)Game scene jumping method and device, electronic equipment and storage medium
US11941728B2 (en)Previewing method and apparatus for effect application, and device, and storage medium
CN115460448A (en)Media resource editing method and device, electronic equipment and storage medium
CN112667118A (en)Method, apparatus and computer readable medium for displaying historical chat messages
CN111796826A (en)Bullet screen drawing method, device, equipment and storage medium
CN109656445A (en)Content processing method, device, terminal and storage medium
CN112752132A (en)Cartoon picture bullet screen display method and device, medium and electronic equipment
EP4607326A1 (en)Method and apparatus for special effect interaction, device, and storage medium
CN113918522A (en) A file generation method, device and electronic device
EP4528454A1 (en)Media data playback method and apparatus, storage medium and electronic device
CN112929748A (en)Video processing method, video processing device, electronic equipment and medium
CN116596611A (en)Commodity object information display method and electronic equipment
CN113805997B (en)Information display method, information display device, electronic equipment and storage medium
CN109714474A (en)Content copying methods, device, terminal and storage medium
CN112995401A (en)Control display method, device, equipment and medium
CN113559503B (en)Video generation method, device and computer readable medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20221209


[8]ページ先頭

©2009-2025 Movatter.jp