CN116708945B - Media editing method, device, equipment and storage medium - Google Patents

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

Info

Publication number
CN116708945B
CN116708945B CN202310390352.1A CN202310390352A CN116708945B CN 116708945 B CN116708945 B CN 116708945B CN 202310390352 A CN202310390352 A CN 202310390352A CN 116708945 B CN116708945 B CN 116708945B
Authority
CN
China
Prior art keywords
media
target
frame
full
command
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.)
Active
Application number
CN202310390352.1A
Other languages
Chinese (zh)
Other versions
CN116708945A (en
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.)
Banyuetan New Media Technology Co ltd
Original Assignee
Banyuetan New Media 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 Banyuetan New Media Technology Co ltd filed Critical Banyuetan New Media Technology Co ltd
Priority to CN202310390352.1A priority Critical patent/CN116708945B/en
Publication of CN116708945A publication Critical patent/CN116708945A/en
Application granted granted Critical
Publication of CN116708945B publication Critical patent/CN116708945B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47205End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/835Generation of protective data, e.g. certificates
    • H04N21/8352Generation of protective data, e.g. certificates involving content or source identification data, e.g. Unique Material Identifier [UMID]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Television Signal Processing For Recording (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

In the scheme provided by the embodiment of the invention, whether the number of media fragments homologous to any one media fragment is larger than a preset threshold value or not in the fragments of the plurality of media fragments is judged according to the homologous media identifier of the any one media fragment, and if yes, the step 6 is executed; step 6, judging whether the full-frame command is received to be applied to the media segment with homology to any media segment; if yes, executing the step 8; and 8, according to the homologous media identification, acquiring a media fragment homologous to any one of the media fragments from the plurality of media fragments as a target media fragment, acquiring a target frame of the target media fragment, and adding the full-frame command to the target frame of the target media fragment. Therefore, through the technical scheme, the program computing resources are saved, and the user operation is more flexible and convenient.

Description

Media editing method, device, equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a media editing method, apparatus, device, and storage medium.
Background
In the existing media editing software, when a user performs editing processing on media, taking processing video media as an example, a segmentation command is added to media in an editing area to delete some abandoned video clips, then editing the reserved video clips, or newly adding some video clips to synthesize the reserved video clips, but when the media clips to be edited become a plurality of media clips, the media clips to be edited are needed to be treated as one whole to be processed by adding a non-time-series full-frame control command (for example, adjusting a sound speed change, adding a filter, etc.), if the non-time-series full-frame control command is directly added to one video clip, the selected video clip can only be acted on, but not the whole reserved video clip, if the non-time-series full-frame control command is needed to be added to some video clips, the non-time-series full-frame command is respectively added to all video clips, and when the video clips to be processed are fewer, the non-time-series full-frame command is respectively added to each video clip, but when the video clips to be processed are more, the non-time-series full-frame control command is respectively added to each video clip, which is very friendly to the user, and the user is not wasted.
Disclosure of Invention
The embodiment of the invention provides a media editing method which is used for efficiently editing media content.
In a first aspect, an embodiment of the present invention provides a media editing method, including: step 1, responding to the acquisition of a non-time sequence full frame command for any one of the plurality of media fragments, wherein each media fragment of the plurality of media fragments at least carries a corresponding media identifier, and the media identifier comprises: a homologous media identification and/or a non-homologous media identification, wherein the non-timing full-frame command is a control command which acts on each frame of the media and is irrelevant to timing;
step 2, judging whether an instruction of applying the non-time sequence full-frame command to the plurality of media fragments is received, if yes, executing step 3, and if not, executing step 4;
step 3, taking the plurality of media fragments as target media fragments, and executing step 9;
step 4, judging whether the media identifier has a non-homologous media identifier with any media segment, if so, executing step 5, otherwise, executing step 8;
step 5, judging whether the number of media fragments homologous to any one media fragment is larger than a preset threshold value in fragments of the plurality of media fragments according to the homologous media identifier of the any one media fragment, if so, executing step 6, and if not, executing step 8;
Step 6, judging whether the full-frame command is received to be applied to the media segment with homology to any media segment; if yes, executing the step 7, and if not, executing the step 8;
step 7, according to the homologous media identification, obtaining a media segment homologous to any one of the media segments from the plurality of media segments as a target media segment, and executing step 9;
step 8, taking any media segment as the target media segment, and executing step 9;
and 9, obtaining a target frame of the target media fragment, and adding the full-frame command to the target frame of the target media fragment.
In a second aspect, an embodiment of the present invention provides a media editing apparatus, the apparatus including: a first judging module, configured to respond to obtaining a non-time-sequence full-frame command for any one of the plurality of media segments, where each media segment of the plurality of media segments carries at least a corresponding media identifier, where the media identifier includes: a homologous media identification and/or a non-homologous media identification, wherein the non-timing full-frame command is a control command which acts on each frame of the media and is irrelevant to timing; judging whether an instruction of applying the non-time sequence full-frame command to the plurality of media fragments is received or not, and if so, jumping to a first execution module; if not, skipping to execute the second judging module;
The second judging module is used for judging whether the media identifier is a non-homologous media identifier of any media segment, if yes, the second judging module is jumped to a third judging module, and if not, the second executing module is jumped to execute;
the third judging module is used for judging whether the number of the media fragments which are homologous to any media fragment is larger than a preset threshold value in the fragments of the plurality of media fragments according to the homologous media identifier of any media fragment, if so, the second executing module is executed in a jumping mode;
a fourth judging module, configured to judge whether a media segment homologous to the arbitrary media segment is received by applying the full-frame command; if yes, the third execution module is jumped to execute, and if not, the second execution module is jumped to execute;
the first execution module takes the plurality of media fragments as target media fragments, acquires target frames of the target media fragments, and adds the full-frame command to the target frames of the target media fragments;
the second execution module is configured to take the any media segment as the target media segment, acquire a target frame of the target media segment, and add the full-frame command to the target frame of the target media segment;
The third execution module is configured to obtain, from the plurality of media segments, a media segment that is homologous to the any one media segment as a target media segment according to the homologous media identifier, and obtain a target frame of the target media segment, and add the full-frame command to the target frame of the target media segment.
In a third aspect, an embodiment of the present invention provides an electronic device, including: a memory, a processor, a communication interface; wherein the memory has executable code stored thereon which, when executed by the processor, causes the processor to at least implement the data governance method as described in the first aspect.
In a fourth aspect, embodiments of the present invention provide a non-transitory machine-readable storage medium having stored thereon executable code, which when executed by a processor of an electronic device, causes the processor to at least implement a media editing method as described in the first aspect.
In the scheme provided by the embodiment of the invention, whether the number of the media fragments homologous to any one media fragment is larger than a preset threshold value or not is judged according to the homologous media identifier of any one media fragment, if so, step 6 is executed; if yes, executing the step 8; and 8, according to the homologous media identification, acquiring a media fragment homologous to any one of the media fragments from the plurality of media fragments as a target media fragment, acquiring a target frame of the target media fragment, and adding the full-frame command to the target frame of the target media fragment. Therefore, through the technical scheme, the program computing resources are saved, and the user operation is more flexible and convenient.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of an image user interface of a media terminal according to an embodiment of the present invention;
FIG. 2A is a flowchart of a media editing method according to an embodiment of the present invention;
FIG. 2B is a schematic representation of media segments in examples provided by embodiments of the present invention;
FIG. 3A is an exemplary graphical interface variation diagram of performing the flowchart of FIG. 2A in conjunction with the graphical user interface of FIG. 1;
FIG. 4 is a schematic diagram of a media editing apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device corresponding to the media editing apparatus provided in the embodiment shown in fig. 4.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise, the "plurality" generally includes at least two, but does not exclude the case of at least one.
It should be understood that the term "and/or" as used herein is merely one relationship describing the association of the associated objects, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrase "if determined" or "if detected (stated condition or event)" may be interpreted as "when determined" or "in response to determination" or "when detected (stated condition or event)" or "in response to detection (stated condition or event), depending on the context.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a product or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such product or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a commodity or system comprising such elements.
In addition, the sequence of steps in the method embodiments described below is only an example and is not strictly limited.
The media editing method provided by the embodiment of the invention can be executed by an electronic device, and the electronic device can be a terminal device such as a PC, a notebook computer, a smart phone and the like, and can also be a server. The server may be a physical server comprising a separate host, or may be a virtual server, or may be a cloud server or a server cluster.
In an embodiment of the present invention, fig. 1 provides an image user interface of a media terminal according to an embodiment of the present invention, where content displayed in the image user interface of an editing terminal at least includes an object display area 101 and an editing area 102, where the object display area 101 is used to display content of each frame of each media segment to be edited, the editing area is used to edit the media frame of each media segment to be edited, the object display area 101 dynamically displays content of each frame of each media segment to be edited, and there is a corresponding editing line 103 of media frames in the editing area for editing each frame of each media segment to be edited, and an effect after editing the media segment to be edited can be displayed in the object display area 101.
In an embodiment, the method is applied to the media terminal, and may include the following steps, and a specific flowchart is shown in fig. 2A.
Fig. 2A is a flowchart of a media editing method according to an embodiment of the present invention, as shown in fig. 2, may include the following steps:
step 1, responding to the acquisition of a non-time sequence full-frame command for any one of the plurality of media fragments, wherein each media fragment of the plurality of media fragments at least carries a corresponding media identifier;
step 2, judging whether an instruction of applying the non-time sequence full-frame command to the plurality of media fragments is received, if yes, executing step 3, and if not, executing step 4;
step 3, taking the plurality of media fragments as target media fragments, and executing step 9;
step 4, judging whether the media identifier has a non-homologous media identifier with any media segment, if so, executing step 5, otherwise, executing step 8;
step 5, judging whether the number of media fragments homologous to any one media fragment is larger than a preset threshold value in fragments of the plurality of media fragments according to the homologous media identifier of the any one media fragment, if so, executing step 6, and if not, executing step 8;
The preset threshold value of the embodiment can be set in the code by itself, the preset threshold value can be set to judge that the number of media fragments homologous to any media fragment to be processed is more or less, for a user, when the number of media fragments homologous to any media fragment is less, even if the user needs to add a non-time sequence full-frame command to the media fragment homologous to any media fragment next, at this time, under the condition that the media fragments homologous to any media fragment are smaller, the user can manually add the non-time sequence full-frame command to each video respectively, the user can accept the non-time sequence full-frame command, but when the number of video fragments to be processed is more, the non-time sequence full-frame command is respectively added to each video respectively, the operation is relatively time-consuming, through the judgment of the preset threshold value, step 8 can be directly executed by default when the number of media fragments homologous to any media fragment is less, and the non-time sequence full-frame command is made to act on any media fragment, at this time, even if the setting cannot meet the requirement of the user, the user actually needs to act on the non-time sequence full-frame command to the media fragment homologous to any media fragment, then the user can accept the non-time sequence full-frame command to the media fragment, and then the user can accept the non-time sequence full-frame command to the media fragment to be added to the media fragment when the number of the media fragment homologous to any media fragment is smaller than the default, and the user needs to add the non-time sequence full-sequence frame command to the media command to be manually to be added to the media fragment.
However, when the number of media segments homologous to any media segment is large, respectively adding non-time sequence full-frame commands to each video, the operation is relatively time-consuming, and when the number of media segments homologous to any media segment is large, through judging the preset threshold, an indication of an input end is received, and when the full-frame commands are received and applied to the media segments homologous to any media segment, step 7 is executed, so that the program calculation resources are saved, and the user operation is more flexible and convenient.
Step 6, judging whether the full-frame command is received to be applied to the media segment with homology to any media segment; if yes, executing the step 7, and if not, executing the step 8;
step 7, according to the homologous media identification, obtaining a media segment homologous to any one of the media segments from the plurality of media segments as a target media segment, and executing step 9;
step 8, taking any media segment as the target media segment, and executing step 9;
and 9, obtaining a target frame of the target media fragment, and adding the full-frame command to the target frame of the target media fragment.
Further, in an embodiment of the present invention, the plurality of media segments are segmented by media segments of the same source and/or spliced by media segments of different sources;
specifically, in response to receiving a split command for any one source media segment, setting the media identification for each of the source media segments while executing the split command to split the source media segments, and
and responding to and receiving an adding command for adding a new media fragment to any source media fragment, and setting the media identifier for the source media fragment and the new media fragment when the adding command is executed to add the new media fragment.
Wherein the media identification comprises: a homologous media identification and/or a non-homologous media identification,
in the above examples, the first source identifier is taken as a homologous media identification example, the second source identifier is taken as a non-homologous media identification example, and the third source identifier is taken as a homologous media identification and/or a non-homologous media identification.
Illustratively, in the first example, as shown in frame 2a in fig. 2B, after receiving the segmentation command to the source media segment a, a plurality of media segments A1, A2, A3 arranged in sequence are obtained, and at this time, a first source identifier a may be set for each of A1, A2, A3 to identify each of the homologous media segments A1a, A2a, A3a.
In response to receiving an addition command for adding a new media segment to any source media segment, at least one media segment to be edited is a combination of a plurality of media segments of different sources, and when the addition command is executed to add the new media segment, a second source identifier is set for the different source media segments consisting of the source media segment and the new media segment.
Illustratively, in the second example, as shown in frame 2B of fig. 2B, an adding command for adding a new media segment B and a new media segment C to a source media segment a is received, and a plurality of sequentially arranged media segments a, B, and C are obtained, where a second source identifier B may be set for each of a, B, and C to identify each of different source media segments Ab, bb, and Cb.
When at least one media segment to be edited comprises a plurality of media segment combinations of a same source and a plurality of media segment combinations of different sources, in response to receiving an add segmentation command to a source media segment, a first source identifier is set to each of the source media segments when the segmentation command is executed to cut the source media segment, and in response to receiving an add command to add a new media segment to any of the source media segments, a second source identifier is set to the different source media segments consisting of the source media segment and the new media segment when the add command is executed to add the new media segment.
In a third example, as shown in frame 2C of fig. 2B, after receiving the segmentation command to the source media segment a, a plurality of sequentially arranged media segments A1, A2, A3 are obtained, and at this time, a first source identifier a may be set for each of A1, A2, A3 to identify each of the homologous media segments A1a, A2a, A3a, and an addition command to add the new media segment B and the new media segment C, and then sequentially arranged media segments are A1a, A2a, A3a, B, C, and a second source identifier B may be set for each of A1a, A2ab, A3ab, bb, cb.
Specifically, when all the media segments to be edited are homologous media segments, at this time, all the homologous media segments have the first source identifier, and then other media segments to be edited are media segments having the first source identifier corresponding to the target media segment, and then other media segments to be edited can be extracted according to the first source identifier;
illustratively, following the first example described above, as shown in frame 2a of fig. 2B, after receiving a segmentation command to a source media segment a, a plurality of sequentially arranged media segments A1, A2, A3 are obtained, and at this time, a first source identifier a may be set for each of A1, A2, A3 to identify each of the homologous media segments A1a, A2a, A3a, respectively, and when A1 is a target media segment, other media segments A2, A3 to be edited may be extracted according to the first source identifier a.
When all the media fragments to be edited are different source media fragments, at this time, all the different source media fragments have the second source identifiers, and then other media fragments to be edited are media fragments having the second source identifiers corresponding to the target media, and then other media fragments to be edited can be extracted according to the second source identifiers;
illustratively, following the second example described above, as shown in frame 2B of fig. 2B, an addition command for adding a new media segment B and a new media segment C to a source media segment a is received, and a plurality of sequentially arranged media segments a, B, C are obtained, where a second source identifier B may be set for each of a, B, C to identify each of the homologous media segments Ab, bb, cb, respectively, and when a is a target media segment, other media segments B, C to be edited may be extracted according to the second source identifier B.
When the media fragments to be edited comprise both homologous media fragments and different source media fragments, all the homologous media fragments have a first source identifier, the different source media fragments have a second source identifier, and other media fragments to be edited are media fragments having a first source identifier and a second source identifier corresponding to the target media, then other media fragments to be edited can be extracted according to the first source identifier and/or the second source identifier;
For example, following the third example described above, as shown in frame 2C of fig. 2B, after receiving the segmentation command to the source media segment a, a plurality of sequentially arranged media segments A1, A2, A3 are obtained, and at this time, a first source identifier a may be set for each of A1, A2, A3 to identify each of the homologous media segments A1a, A2a, A3a, and an addition command to add the new media segment B and the new media segment C, and then sequentially arranged media segments are A1a, A2a, A3a, B, C, and a second source identifier B may be set for each of A1a, A2ab, A3ab, bb, cb.
Then, when A1 is a target media fragment, other media fragments A2ab, A3ab, bb, cb to be edited may be extracted according to the first source identifier a and/or the second source identifier b.
In a fourth example, as shown in a frame 2ea in fig. 2B, after receiving a segmentation command to a source media segment a, a plurality of sequentially arranged media segments A1, A2, A3 are obtained, and at this time, a third source identifier C may be set for each of A1, A2, A3 to identify each of homologous media segments A1C, A2C, A3C, and an addition command to add a new media segment B and a new media segment C, then the sequentially arranged media segments are A1C, A2C, A3C, B, C, and at this time, a plurality of sequentially arranged media segments A1C, A2C, A3C, bc, cc may be obtained by setting a third source identifier C for the newly added media segments B, C.
Then, when A1c is the target media segment, other media segments A2c, A3c, bc, cc to be edited may be extracted according to the third source identifier c.
In a fifth example, as shown in frame 2eb of fig. 2B, an adding command for adding a new media segment B and a new media segment C to a source media segment a is received, a plurality of sequentially arranged media segments a, B, C are obtained, at this time, third source identifiers C are respectively set for a, B, C to respectively identify each homologous media segment Ac, bc, cc, and after receiving a segmentation command for a media segment B, at this time, only third source identifiers C need to be reserved for segments B1, B2, B3 of the media segment B, a plurality of sequentially arranged media segments Ac, B1C, B2C, B3C, cc are obtained,
then, when Ac is the target media fragment, other media fragments Ac, B1c, B2c, B3c, cc to be edited may be extracted according to the third source identifier c.
Illustratively, in executing the step 9, a target frame of a target media segment is acquired, and the full-frame command is added to the target frame of the target media segment. In particular, there may be the following exemplary implementations;
specifically, in the editing line of the media frame, according to the arrangement sequence of the target media segments in the media segments to be edited, a target position acted by the target full-frame command is obtained; and adding the target full-frame command in the editing area corresponding to the target position.
In the editing line of the media frame, according to the arrangement sequence of the target media fragments in the media fragments to be edited, acquiring a target position acted by the target full-frame command; specifically, a position of each frame of each media segment of the target media segment may be obtained as the target position; or taking any frame position of the target media fragment as a starting frame, and acquiring the position of each frame of each media fragment after the position of the starting frame in the target media fragment as the target position in the media frame editing line according to the arrangement sequence of the target media fragments in the media fragment to be edited.
According to the embodiment of the invention, when the multi-segment homologous media segments and the multi-segment different-source media segments are edited, the multi-segment homologous media segments can be flexibly and automatically obtained according to the method of the embodiment, and the non-time sequence full-frame command is added to the multi-segment homologous media segments, so that the user editing time is saved, and the media editing efficiency is improved.
Illustratively, following the first example described above, after receiving a segmentation command to a source media segment a, a plurality of sequentially arranged media segments A1, A2, A3 are obtained, at this time, a first source identifier a may be set for each of A1, A2, A3 to identify each of homologous media segments A1a, A2a, A3a, respectively, and when A1a is a target media segment, the homologous media segments A2a, A3a of A1a may be extracted according to the first source identifier a;
Illustratively, A1 is a target media segment comprising a plurality of media frames: A1A 1 1 , A1 2 ,A1 3 ,A1 4 ,A1 5 ,A1 6 The method comprises the steps of carrying out a first treatment on the surface of the The media segment with the first source identifier a is set according to the following modeSequentially arranged as A1 1 a, A1 2 a,A1 3 a,A1 4 a,A1 5 a,A1 6 a, A2a, A3a; illustratively, in any frame A1 4 a, acquiring a full-frame command at the position of a, and acquiring any frame A1 4 a target media fragment of a is A1, and the target media fragments with the first source identifier a are A1a, A2a and A3a according to the first source identifier a of the target media fragment A1;
illustratively, as shown in frame 2fa of FIG. 2B, the position of each frame of each media segment of the target media segment (exemplary media segments A1a, A2a, A3 a) may be taken as the target position, i.e., each frame A1 of media segment A1 1 a, A1 2 a,A1 3 a,A1 4 a,A1 5 a,A1 6 a, and each frame in the media fragment A2a, wherein each frame in the media fragment A3a is used as the target position, and the target full-frame command is added in an editing area corresponding to the target position; specifically, the target full-frame command may be added directly in the editing line of the media frame, and directly corresponding to the target position, or the target full-frame command may be added in the editing line of the target full-frame command, and corresponding to the target position.
Illustratively, as shown in frame 2fb of FIG. 2B, any one of the frames A1 of the target media segment A1a may be used 4 a position is a start frame, and the start frame A1 in the target media fragments (exemplary media fragments A1a, A2a, A3 a) is acquired in the media frame editing line according to the arrangement sequence of the target media fragments (exemplary media fragments A1a, A2a, A3 a) in the media fragments to be edited 4 a as the target position, i.e. the start frame A1 in the media fragment A1 4 a, each frame A1 after the position of a 4 a,A1 5 a,A1 6 a, and each frame in the media fragment A2a, wherein each frame in the media fragment A3a is used as the target position, and the target full-frame command is added in an editing area corresponding to the target position; in particular, it may be directly in the edit line of the media frame, directly corresponding to theThe target full-frame command may be added to a target position, or the target full-frame command may be added to the target position in an edit line of the target full-frame command.
Illustratively, following the second example described above, an add command to add a new media segment B and a new media segment C to a source media segment a is received, and a plurality of sequentially arranged media segments a, B, C are obtained, where a second source identifier B may be set for each of a, B, C to identify each of the homologous media segments, and when a is a target media segment, other media segments B, C to be edited may be extracted according to the second source identifier B.
Illustratively, ab is a target media segment comprising a plurality of media frames: a is that 1 b, A 2 b,A 3 b,A 4 b,A 5 b,A 6 b; the media segments with the second source identifier b are arranged in order as a 1 b, A 2 b,A 3 b,A 4 b,A 5 b,A 6 b, bb, cb; illustratively, in any frame A 4 b, acquiring a full-frame command from the position of b, and acquiring any frame A 4 b is Ab, and the target media fragment with the second source identifier b is obtained according to the second source identifier b of the target media fragment Ab and is Ab, bb and Cb;
illustratively, as shown in frame 2ga of FIG. 2B, the position of each frame of each media segment of the target media segment (exemplary media segments Ab, bb, cb) may be taken as the target position, i.e., with each frame A of media segment Ab 1 b, A 2 b,A 3 b,A 4 b,A 5 b,A 6 b, and each frame in the media fragment Bb, wherein each frame in the media fragment Cb is used as the target position, and the target full-frame command is added in the editing area corresponding to the target position; specifically, the target full-frame command may be added directly in the editing line of the media frame, and directly corresponding to the target position, or the target full-frame command may be added in the editing line of the target full-frame command, and corresponding to the target position.
Illustratively, as shown in frame 2gb in fig. 2B, the position of each frame of the target media segment (exemplary media segments Ab, bb, cb) after the position of the start frame A4B may be taken as the target position, that is, each frame A4B, A5B, A6B after the position of the start frame A4B in the media segment Ab, and each frame of the media segment Bb in the media segment to be edited, each frame of the media segment Cb as the target position, and the target full frame command is added in the editing area corresponding to the target position; specifically, the target full-frame command may be added directly in the editing line of the media frame, and directly corresponding to the target position, or the target full-frame command may be added in the editing line of the target full-frame command, and corresponding to the target position.
In an embodiment, the method applied to the media terminal may include the following steps:
step 401, responding to the target full-frame command as a non-time sequence full-frame command, and acquiring an indication of a media segment to be edited after the target full-frame command is applied to the target media segment, and acquiring the media segment to be edited;
step 402, in the editing line of the media frame, according to the arrangement sequence of the media segments to be edited, obtaining the target position acted by the target full-frame command, and adding the target full-frame command in the editing area corresponding to the target position; specifically, the target full-frame command may be added directly in an editing line of a media frame, and directly corresponding to the target position, or the target full-frame command may be added corresponding to the target position in an editing line of a target full-frame command in the editing region.
Specifically, according to the arrangement sequence of the media fragments to be edited, the position of each frame of each media fragment of the media fragments to be edited is obtained in the media frame editing line as the target position; or (b)
Taking any frame position of the target media fragment as a starting frame, and acquiring the position of each frame of each media fragment after the position of the starting frame in the media fragment to be edited in the media frame editing line as the target position according to the arrangement sequence of the media fragments to be edited;
The media fragments to be edited are obtained according to a first source identifier and/or a second source identifier of the target media fragment, or according to a third source identifier of the target media fragment, wherein the first source identifier is an identifier for identifying media fragments homologous to the target media fragment, the second source identifier is an identifier for identifying media fragments different from the target media fragment, and the third source identifier is an identifier for identifying media fragments homologous to the target media fragment and/or media fragments different from the target media fragment; for example, following the third example, after receiving the segmentation command for the source media segment a, a plurality of sequentially arranged media segments A1, A2, A3 are obtained, and at this time, a first source identifier a may be set for each of the A1, A2, A3 to identify each of the homologous media segments A1a, A2a, A3a, and then an addition command for the new media segment B and the new media segment C is added, and then sequentially arranged media segments are A1a, A2a, A3a, B, and C, and a second source identifier B is set for each of the A1a, A2a, A3a, B, C to identify each of the homologous media segments and the different source media segments A1ab, A2ab, A3ab, bb, cb. Then, when A1a is a target media fragment, other media fragments A2, A3, B, C to be edited can be extracted according to the first source identifier a and/or the second source identifier B, that is, the media fragments to be edited are obtained as A1ab, A2ab, A3ab, bb, cb.
Illustratively, A1a is a target media segment comprising a plurality of media frames: A1A 1 1 , A1 2 ,A1 3 ,A1 4 ,A1 5 ,A1 6 The method comprises the steps of carrying out a first treatment on the surface of the The media segments with the first source identifier a and/or the second source identifier b are arranged in order as A1 1 ab, A1 2 ab,A1 3 ab,A1 4 ab,A1 5 ab,A1 6 ab,A2ab, A3ab, bb, cb; illustratively, in any frame A1 4 a, acquiring a full-frame command at the position of a, and acquiring any frame A1 4 a target media fragment of a is A1, and the media fragment to be edited with the first source identifier a and/or the first source identifier b is acquired according to the first source identifier a and/or the second source identifier b of the target media fragment A1, and the media fragment to be edited with the first source identifier a and/or the first source identifier b is A1a, A2a, A3a, bb and Cb;
for example, as shown in the frame 2ha in fig. 2B, the position of each frame of each media segment of the media segments to be edited may be obtained as the target position in the media frame editing line according to the arrangement order of the media segments to be edited as A1a, A2a, A3a, bb, cb, that is, each frame A1 of the media segments A1 1 ab, A1 2 ab,A1 3 ab,A1 4 ab,A1 5 ab,A1 6 ab, and each frame in media fragment A2ab, and each frame in media fragment A3ab, and each frame in media fragment Bb, and each frame in media fragment Cb as the target location, adding the target full frame command in an edit zone corresponding to the target location; specifically, the target full-frame command may be added directly in the editing line of the media frame, and directly corresponding to the target position, or the target full-frame command may be added in the editing line of the target full-frame command, and corresponding to the target position.
Illustratively, as shown in frame 2hb of FIG. 2B, the arbitrary frame position of the target media segment may be used as a starting frame, and the media segments to be edited may be arranged in the order A1 1 ab, A1 2 ab,A1 3 ab,A1 4 ab,A1 5 ab,A1 6 ab, A2ab, A3ab, bb, cb, obtaining the initial frame A1 in the media fragment to be edited in the media frame editing line 4 The position of each frame of each media fragment after the position of ab is taken as the target position, namely the initial frame A1 in the media fragment A1 4 ab position after each frame A1 4 ab,A1 5 ab,A1 6 ab, and each frame in media fragment A2ab, and each frame in media fragment A3ab, and each frame in media fragment Bb,and each frame in the media fragment Cb is taken as the target position, and the target full-frame command is added in the editing area corresponding to the target position; specifically, the target full-frame command may be added directly in the editing line of the media frame, and directly corresponding to the target position, or the target full-frame command may be added in the editing line of the target full-frame command, and corresponding to the target position.
In one embodiment, in response to receiving an add split command to a source media segment, a third source identifier is set for each of the source media segments when the split command is executed to cut the source media segment, and an add command to add a newly added media segment to any of the source media segments is received, the third source identifier is also set for the newly added media segment when the add command is executed to add the newly added media segment.
When at least one media segment to be edited includes both a homologous media segment and a different homologous media segment, then the media segment to be edited may be extracted according to the third source identifier.
For example, following the fourth example, after receiving the segmentation command for the source media segment a, a plurality of sequentially arranged media segments A1, A2, A3 are obtained, and at this time, a third source identifier C may be set for each of the A1, A2, A3 to identify each of the homologous media segments A1C, A2C, A3C, and then an addition command for the newly added media segment B and the newly added media segment C is set, and then the sequentially arranged media segments are A1C, A2C, A3C, B, and C, and at this time, a plurality of sequentially arranged media segments A1C, A2C, A3C, bc, cc may be obtained by setting a third source identifier C for the newly added media segments B, C.
Then, when A1c is the target media segment, other media segments A2c, A3c, bc, cc to be edited can be extracted according to the third source identifier c, that is, the media segments to be edited are obtained as A1c, A2c, A3c, bc, cc.
Illustratively, A1 is a target media segment comprising a plurality of media frames: A1A 1 1 , A1 2 ,A1 3 ,A1 4 ,A1 5 ,A1 6 The method comprises the steps of carrying out a first treatment on the surface of the The media fragment with the third source identifier c set as described above,arranged in sequence as A1 1 c, A1 2 c,A1 3 c,A1 4 c,A1 5 c,A1 6 c, A2c, A3c, bc, cc. By way of example only, and in an illustrative,
illustratively, in any frame A1 4 c, acquiring a full-frame command at the position of c, and acquiring any frame A1 4 c is A1, and the media fragments to be edited with the third source identifier c are A1c, A2c, A3c, bc and Cc according to the third source identifier c of the target media fragment A1;
illustratively, as shown in the frame 2ka of fig. 2B, the position of each frame of each media segment of the media segments to be edited may be obtained as the target position in the media frame editing line according to the arrangement order of the media segments to be edited as A1c, A2c, A3c, bc, cc, that is, each frame A1 of the media segments A1 1 c, A1 2 c,A1 3 c,A1 4 c,A1 5 c,A1 6 c, and each frame in the media segment A2c, and each frame in the media segment A3c, and each frame in the media segment Bc, and each frame in the media segment Cc as the target position, adding the target full-frame command in the editing area corresponding to the target position; specifically, the target full-frame command may be added directly in the editing line of the media frame, and directly corresponding to the target position, or the target full-frame command may be added in the editing line of the target full-frame command, and corresponding to the target position.
Illustratively, as shown in frame 2kb in FIG. 2B, the arbitrary frame position of the target media fragment can be used as a starting frame, and the media fragment to be edited can be arranged according to the arrangement sequence A1 1 c, A1 2 c,A1 3 c,A1 4 c,A1 5 c,A1 6 c, A2c, A3c, bc, cc, obtaining the initial frame A1 in the media segment to be edited in the media frame editing line 4 c as the target position, i.e. with the start frame A1 in the media fragment A1 4 c each frame A1 after the position of c 4 c,A1 5 c,A1 6 c, media fragmentsEach frame in A2c, each frame in media segment A3c, each frame in media segment Bb, and each frame in media segment Cc is taken as the target position, and the target full-frame command is added in an editing area corresponding to the target position; specifically, the target full-frame command may be added directly in the editing line of the media frame, and directly corresponding to the target position, or the target full-frame command may be added in the editing line of the target full-frame command, and corresponding to the target position.
According to the embodiment of the invention, when multiple homologous media fragments and multiple different media fragments are edited, all the media fragments to be edited can be flexibly and automatically obtained according to the method of the embodiment, and non-time sequence full-frame commands are added to all the media fragments to be edited, so that the user editing time is saved, and the media editing efficiency is improved.
In an embodiment, the method applied to the media terminal may include the following steps:
step 501, in response to the target full-frame command being a non-time-sequential full-frame command, and not obtaining an indication of the target full-frame command being applied to a media segment that is homologous to the target media segment, and not obtaining an indication of a media segment to be edited after the target full-frame command is applied to the target media segment,
step 502, in the editing line of the media frame, acquiring a target position acted by the target full-frame command according to the target media segment; adding the target full-frame command in an editing area corresponding to the target position; specifically, the target full-frame command may be added directly in an editing line of a media frame, and directly corresponding to the target position, or the target full-frame command may be added corresponding to the target position in an editing line of a target full-frame command in the editing region.
Specifically, a position of each frame of the target media segment may be acquired as the target position; or (b)
And taking any frame position of the target media fragment as a starting frame, and acquiring the position of each frame after the position of the starting frame in the target media fragment in the media frame editing line as the target position.
Illustratively, following the first example described above, after receiving the addition of the segmentation command to the source media segment a, a plurality of sequentially arranged media segments A1, A2, A3 are obtained, at which time a first source identifier a may be set for each of A1, A2, A3 to identify each of the homologous media segments A1a, A2a, A3a, respectively;
illustratively, A1 is a target media segment comprising a plurality of media frames: A1A 1 1 , A1 2 ,A1 3 ,A1 4 ,A1 5 ,A1 6 The method comprises the steps of carrying out a first treatment on the surface of the The media segments with the first source identifier a are arranged in sequence as A1 1 a, A1 2 a,A1 3 a,A1 4 a,A1 5 a,A1 6 a,A2a,A3a;
Illustratively, as shown in frame 2ma of FIG. 2B, at any frame A1 4 a, acquiring a full-frame command at the position of a, and acquiring any frame A1 4 a is a target media segment A1, and each frame A1 of the target media segment A1 can be acquired 1 a, A1 2 a,A1 3 a,A1 4 a,A1 5 a,A1 6 a as the target position; and adding the target full-frame command corresponding to the target position in an editing line of the target full-frame command.
Illustratively, as shown in frame 2mb of FIG. 2B, at any frame A1 4 a position of a obtains a full-frame command, and any frame A1 of the target media fragment A1 can be obtained 4 a position is used as a starting frame, and each frame A1 after the position of the starting frame in the target media fragment is acquired in the media frame editing line 4 a,A1 5 a,A1 6 and a, taking the position of the part a as the target position, and adding the target full-frame command corresponding to the target position in an editing line of the target full-frame command.
Illustratively, following the second example described above, an add command is received to add the newly added media segment B and the newly added media segment C to the source media segment A to obtain a plurality of sequentially arranged media segments A, B, C, which may thenRespectively setting second source identifiers B for the pairs A, B and C to respectively identify the homologous media fragments Ab, bb and Cb, and extracting other media fragments B and C to be edited according to the second source identifiers B when the A is the target media fragment; illustratively, a is a target media segment comprising a plurality of media frames: a is that 1 , A 2 ,A 3 ,A 4 ,A 5 ,A 6 The method comprises the steps of carrying out a first treatment on the surface of the The media fragments with the second source identifier b are arranged as A in sequence 1 b, A 2 b,A 3 b,A 4 b,A 5 b,A 6 b,Bb,Cb;
Illustratively, as shown in frame 2na of FIG. 2B, at any frame A1 4 a, acquiring a full-frame command at the position of a, and acquiring any frame A1 4 a is a target media segment A1, and each frame a of the target media segment A1 can be acquired 1 b, A 2 b,A 3 b,A 4 b,A 5 b,A 6 b as the target position; adding the target full-frame command in an editing area corresponding to the target position; specifically, the target full-frame command may be added directly in the editing line of the media frame, and directly corresponding to the target position, or the target full-frame command may be added in the editing line of the target full-frame command, and corresponding to the target position.
Illustratively, as shown in frame 2nb of FIG. 2B, at any frame A 4 b, acquiring a full-frame command from the position of b, wherein any frame A of the target media fragment A1 can be obtained 4 b position is used as a starting frame, and each frame A after the position of the starting frame in the target media fragment is acquired in the media frame editing line 4 b,A 5 b,A 6 b, taking the position of the object as the target position, and adding the target full-frame command corresponding to the target position in an editing area; specifically, the target full-frame command may be added directly in the editing line of the media frame, and directly corresponding to the target position, or the target full-frame command may be added in the editing line of the target full-frame command, and corresponding to the target position.
For example, following the third example, after receiving the segmentation command for the source media segment a, a plurality of sequentially arranged media segments A1, A2, A3 are obtained, and at this time, a first source identifier a may be set for each of the A1, A2, A3 to identify each of the homologous media segments A1a, A2a, A3a, and then an addition command for the new media segment B and the new media segment C is added, and then sequentially arranged media segments are A1a, A2a, A3a, B, and C, and a second source identifier B is set for each of the A1a, A2a, A3a, B, C to identify each of the homologous media segments and the different source media segments A1ab, A2ab, A3ab, bb, cb. Then, when A1a is a target media fragment, other media fragments A2, A3, B, C to be edited can be extracted according to the first source identifier a and/or the second source identifier B, that is, the media fragments to be edited are obtained as A1ab, A2ab, A3ab, bb, cb.
Illustratively, A1a is a target media segment comprising a plurality of media frames: A1A 1 1 , A1 2 ,A1 3 ,A1 4 ,A1 5 ,A1 6 The method comprises the steps of carrying out a first treatment on the surface of the The media segments with the first source identifier a and/or the second source identifier b are arranged in order as A1 1 ab, A1 2 ab,A1 3 ab,A1 4 ab,A1 5 ab,A1 6 ab, A2ab, A3ab, bb, cb; illustratively, in any frame A1 4 a, acquiring a full-frame command at the position of a, and acquiring any frame A1 4 a target media fragment of a is A1, and the media fragment to be edited with the first source identifier a and/or the first source identifier b is acquired according to the first source identifier a and/or the second source identifier b of the target media fragment A1, and the media fragment to be edited with the first source identifier a and/or the first source identifier b is A1a, A2a, A3a, bb and Cb;
illustratively, as shown in frame 2pa of FIG. 2B, at any frame A1 4 ab, the position obtains the full frame command, and any frame A1 can be obtained 4 ab target media fragment is A1, each frame A1 of the target media fragment A1 can be obtained 1 ab, A1 2 ab,A1 3 ab,A1 4 ab,A1 5 ab,A1 6 ab's position as the target position; adding the target full-frame command in an editing area corresponding to the target position; in particular, it may be that the addition is directly in the edit line of the media frame, directly corresponding to the target positionThe target full-frame command may be added to the edit line of the target full-frame command corresponding to the target position.
Illustratively, as shown in frame 2pb of FIG. 2B, at any frame A 4 b, acquiring a full-frame command from the position of b, wherein any frame A1 of the target media fragment A1 can be obtained 4 The ab position is used as a starting frame, and each frame A1 after the position of the starting frame in the target media fragment is acquired in the media frame editing line 4 ab,A1 5 ab,A1 6 ab is used as the target position, and the target full-frame command is added in the editing area corresponding to the target position; specifically, the target full-frame command may be added directly in the editing line of the media frame, and directly corresponding to the target position, or the target full-frame command may be added in the editing line of the target full-frame command, and corresponding to the target position.
For example, following the fourth example, after receiving the segmentation command for the source media segment a, a plurality of sequentially arranged media segments A1, A2, A3 are obtained, and at this time, a third source identifier C may be set for each of the A1, A2, A3 to identify each of the homologous media segments A1C, A2C, A3C, and then an addition command for the newly added media segment B and the newly added media segment C is set, and then the sequentially arranged media segments are A1C, A2C, A3C, B, and C, and at this time, a plurality of sequentially arranged media segments A1C, A2C, A3C, bc, cc may be obtained by setting a third source identifier C for the newly added media segments B, C.
Illustratively, A1c is taken as a target media segment, and other media segments A2c, A3c, bc, cc to be edited can be extracted according to the third source identifier c. A1 as a target media segment, comprising a plurality of media frames: A1A 1 1 , A1 2 ,A1 3 ,A1 4 ,A1 5 ,A1 6 The method comprises the steps of carrying out a first treatment on the surface of the The media fragments with the third source identifier c are arranged as A1 in sequence 1 c, A1 2 c,A1 3 c,A1 4 c,A1 5 c,A1 6 c,A2c,A3c,Bc,Cc。
Illustratively, as shown in frame 2ra of FIG. 2B, at any frame A1 4 c, acquiring a full-frame command at the position of c, and directly acquiring any frame A1 4 c is a target media segment A1c, and each frame A1 of the target media segment A1c can be acquired 1 c, A1 2 c,A1 3 c,A1 4 c,A1 5 c,A1 6 c as the target position; adding the target full-frame command in an editing area corresponding to the target position; specifically, the target full-frame command may be added directly in the editing line of the media frame, and directly corresponding to the target position, or the target full-frame command may be added in the editing line of the target full-frame command, and corresponding to the target position.
Illustratively, as shown in frame 2rb of FIG. 2B, at any frame A1 4 c obtains the full-frame command from the position of c, and can target any frame A1 of the media fragment A1c 4 c position is used as a starting frame, and each frame A1 after the position of the starting frame in the target media fragment is acquired in the media frame editing line 4 c,A1 5 c,A1 6 c, taking the position of the object as the target position, and adding the target full-frame command corresponding to the target position in an editing area; specifically, the target full-frame command may be added directly in the editing line of the media frame, and directly corresponding to the target position, or the target full-frame command may be added in the editing line of the target full-frame command, and corresponding to the target position.
According to the embodiment of the invention, when multiple sections of homologous media fragments and multiple sections of different media fragments are edited, the media fragments which are being edited can be flexibly and automatically obtained according to the method of the embodiment, and only non-time sequence full-frame commands are added to the media fragments which are being edited, so that the user editing time is saved, and the media editing efficiency is improved.
In the embodiment of the present invention, in the setting of the editing software program of the editing terminal, a non-time-series full-frame command identifier needs to be used in advance to identify the non-time-series full-frame command, where the non-time-series full-frame command is a control command that acts on each frame of the media and is irrelevant to the time series, such as a filter command, a speed change command, etc., so that when the editing terminal obtains that the editing command for any one of the plurality of media segments has the non-time-series full-frame command identifier, it can be determined that the non-time-series full-frame command for any one of the plurality of media segments is obtained.
In an embodiment, a prompt control may be designed in the image user interface, and the prompt control is used to receive a trigger signal manually operated by a user to obtain an indication of applying the target full-frame command to a media segment homologous to the target media segment, or an indication of applying the target full-frame command to a media segment to be edited after the target media segment, or an indication of only applying the target full-frame command to a target media segment, and various indications of receiving manual triggering through the prompt control will be specifically described below in connection with the image user interface.
In the embodiment of the invention, a first prompt control is required to be preconfigured in an image user interface of editing software of an editing terminal and is used for receiving an indication of whether the non-time sequence full-frame command is applied to the plurality of media fragments; and
and pre-configuring a second prompt control, which is used for receiving an indication of whether to apply the full-frame command to the media fragments homologous to any media fragment when the number of the media fragments homologous to any media fragment is larger than a preset threshold value in the fragments of the plurality of media fragments according to the homologous media identification of any media fragment.
FIG. 3A illustrates a graphical user interface of the various switching variations involved of the graphical user interface of FIG. 1 in the practice of the media editing method of the present invention provided in connection with FIG. 2;
illustratively, as shown in the graphical user interface 3Aa in fig. 3A, the editing line 303 of the media frame presents a plurality of media segments, wherein the media segments identified by the shadows are homologous media segments; the homologous media segments carry homologous media identifications;
executing step 1, responding to and after acquiring the full-frame command 305 for any frame position of the target media segment of the editing line 303 of the media frame, executing step 2, displaying a first prompt control 306 in an editing area of an image user interface shown as 3Aa in fig. 3A to prompt a user whether to apply the full-frame command to all media segments, at this time, giving two options to the user, temporarily not adding the full-frame command editing line, executing step 3 after the user selects to apply the full-frame command to all media segments through the first prompt control 306, and switching to the image user interface shown as 3Ba in fig. 3A or 3Ca in fig. 3A as a display result, wherein the first prompt control 306 is not displayed in the image user interface of 3Ba in fig. 3A or 3Ca in fig. 3A;
After the user selects not to apply the full-frame command to all the media segments through the first prompt control 306, the above step 4 is executed to determine whether a non-homologous media identifier with any media segment exists in the media identifiers, if so, determine whether the number of media segments homologous with any media segment is greater than a preset threshold in segments of the plurality of media segments according to the homologous media identifier of any media segment,
if the number of media segments homologous to any one of the media segments is not greater than the preset threshold, executing steps 8-9 of the method of the embodiment, and switching to the image user interface shown as 3Ab in fig. 3A, wherein the second prompt control 307 is not displayed in 3Ab in fig. 3A as a display result; specifically, step 8-step 9 of the above method of this embodiment are executed, in which the arbitrary media segment is taken as the target media segment, a target frame of the target media segment is obtained, and the full-frame command is added to the target frame of the target media segment; in this example, the new edit line 304 of the full-frame command adds the target full-frame command corresponding to the target position in the edit line 304 of the target full-frame command of the edit area, that is, applies the full-frame command to only the target media segment acted on by the full-frame command 305 in the full-frame command edit line 304;
If the number of media segments homologous to any one of the media segments is smaller than the preset threshold, the method is switched to a graphical user interface shown as 3Ab in fig. 3A, and further as shown as 3Ab in fig. 3A, whether the second prompt control 307 prompts to apply the full-frame command to other media segments homologous to the media segment acted by the full-frame command 305 is further displayed, for example, in the interface shown as 3Ab in fig. 3A, the prompt item set by the second prompt control 307 is "apply to homologous media", which means that the user triggers the second prompt control 307 to apply to homologous media, in the interface shown as 3Ab in fig. 3A, the default user does not trigger the second prompt control 307, and when the second prompt control 307 is not triggered, it is considered that the second prompt control is not applied to all media segments, and is not applied to homologous media segments, and steps 8-9 of the embodiment are executed, with any one of the media segments as the target media segments, the target media segments are obtained, and the target frames of the target media segments are added to the target frames of the target media segments. Adding the target full-frame command in an editing area corresponding to the target position; specifically, the target full-frame command may be added directly in the editing line of the media frame, and directly corresponding to the target position, or the target full-frame command may be added in the editing line of the target full-frame command, and corresponding to the target position. Illustratively, the new full-frame command edit line 304 adds the target full-frame command corresponding to the target position in the target full-frame command edit line 304 of the edit area, that is, applies the full-frame command to only the target media segment acted upon by the full-frame command 305 in the full-frame command edit line 304.
The preset threshold value of this embodiment can be set in the code by itself, and the preset threshold value can be set to determine that the number of media segments homologous to any media segment to be processed is more or less, for the user, when the number of media segments homologous to any media segment is less, even if the user needs to add a non-time-series full-frame command to the media segment homologous to any media segment next, in the case that the number of media segments homologous to any media segment is less, the second prompt control 107 is not displayed for the user, so that the user manually adds the non-time-series full-frame command to each video respectively, and the user can also accept the method, but when the number of video segments to be processed is more, the non-time-series full-frame command is respectively added to each video respectively, so that the operation is relatively time-wasting, by determining the preset threshold value, the second prompt control 307 can not be displayed when the number of video segments to be processed is less, and the second prompt control 307 is displayed when the number of video segments to be processed is more, so that the user can operate more flexibly and conveniently.
If the user triggers the 3Ab second prompt control 307 in fig. 3A, step 7 of this embodiment is performed and the editing interface shown in fig. 3N is switched to; and according to the homologous media identification, acquiring a media fragment homologous to any one of the media fragments from the plurality of media fragments as a target media fragment, acquiring a target frame of the target media fragment, and adding the full-frame command to the target frame of the target media fragment. Illustratively, as shown in fig. 3A, in the editing line 303 of the media frame, a target position of the target full-frame command is obtained according to the arrangement order of the target media segments in the media segments to be edited; in the edit line 304 of the target full frame command of the edit section, the target full frame command is added corresponding to the target position.
The difference between the above-mentioned steps may be similar to the steps of jumping from the image user interface of the interface fig. 3M to the image user interface of the interface fig. 3Aa and jumping from the image user interface of the interface fig. 3Ab to the image user interface of the interface fig. 3N, and only the initial position of the full-frame command is different, which is not repeated here.
Illustratively, as shown in the graphical user interface of 3Ba in fig. 3A, the editing line 303 of the media frame presents a plurality of media segments, wherein the media segments identified by the shadows are homologous media segments; the homologous media segments carry homologous media identifications;
after performing step 1, in response to and after acquiring the full frame command 305 for any frame position of the target media segment of the editing line 303 of the media frame, step 2 is performed, the first prompt control 306 may be presented in the editing area of the image user interface as shown by 3Aa in fig. 3A, the image user interface as shown by 3Ba in fig. 3A prompts the user whether to apply the full frame command to all media segments,
in 3Ba in fig. 3A, an implementation manner that the first prompt control 306 is not triggered is given, that is, after the user selects to apply the full-frame command to all media segments through the first prompt control 306, the step 3 is executed, and the obtained page display result is shown in the page display result, in 3Ba in fig. 3A, the default is that the full-frame command is applied to a plurality of media segments to be edited, after the full-frame command 305 for any frame position of any media segment in the editing line 303 of the media frame is obtained, the starting frame of the target media segment may be directly taken as a target frame, and an infinitely extended position after the editing area corresponds to the target frame position is taken as a target position, where the target full-frame command is added; specifically, adding the target full-frame command in an editing area corresponding to the target position; specifically, the target full-frame command may be added directly in the editing line of the media frame after directly corresponding to the target position, or the target full-frame command may be added corresponding to the target position in the editing line of the target full-frame command. For example, the initial frame of the target media segment may be directly used as the target position, the new edit line 304 of the full-frame command is added in the edit line 304 of the target full-frame command of the edit area corresponding to the subsequent position of the target position, as shown in the edit line 304 of the target full-frame command in 3Ba in fig. 3A, the target full-frame command is directly added in the edit line of the media frame directly corresponding to the target position, and the illustration is not made.
When the first prompt control 306 in 3Ba in fig. 3A is triggered, the above step 4 is executed to determine whether a non-homologous media identifier with any media segment exists in the media identifiers, if so, determine whether the number of media segments homologous with any media segment in the segments of the plurality of media segments is greater than a preset threshold according to the homologous media identifier of any media segment,
if the number of media segments homologous to any one of the media segments is not greater than the preset threshold, performing the above-mentioned method steps 8-9 of the present embodiment, and switching to the graphical user interface shown as 3Bb in fig. 3A, as a display result, but not displaying the second prompt control 307 in 3Bb in fig. 3A; specifically, step 8-step 9 of the above method of this embodiment are executed, in which the arbitrary media segment is taken as the target media segment, a target frame of the target media segment is obtained, and the full-frame command is added to the target frame of the target media segment; in this example, the new edit line 304 of the full-frame command adds the target full-frame command corresponding to the target position in the edit line 304 of the target full-frame command of the edit area.
If the number of media segments homologous to any one of the media segments is smaller than the preset threshold, the method is switched to a graphical user interface shown by 3Bb in fig. 3A, and further as shown by 3Bb in fig. 3A, a second prompt control 307 is further displayed to prompt whether to apply the full-frame command to other media segments of the media segment homology acted by the full-frame command 305, and in an interface shown by 3Bb in fig. 3A, for example, a prompt item set by the second prompt control 307 is "apply to homologous media", which means that a user triggers the second prompt control 307 to apply to homologous media, in an interface shown by 3Bb in fig. 3A, it is displayed that the user does not trigger the second prompt control 307 by default, and when the second prompt control 307 is not triggered, it is considered that the second prompt control is not applied to all media segments or to homologous media segments, and only to the target media segment of the present segment, then steps 8-9 of this embodiment are executed, and any media segment is taken as the target media segment, and the target media segment of the target frame command is added to the target frame of the target media segment. Adding the target full-frame command in an editing area corresponding to the target position; specifically, the target full-frame command may be added directly in the editing line of the media frame, and directly corresponding to the target position, or the target full-frame command may be added in the editing line of the target full-frame command, and corresponding to the target position. Illustratively, the new full-frame command edit line 304 adds the target full-frame command corresponding to the target position in the target full-frame command edit line 304 of the edit area, that is, applies the full-frame command to only the target media segment acted upon by the full-frame command 305 in the full-frame command edit line 304.
The preset threshold value of this embodiment can be set in the code by itself, and the preset threshold value can be set to determine that the number of media segments homologous to any media segment to be processed is more or less, for the user, when the number of media segments homologous to any media segment is less, even if the user needs to add a non-time-series full-frame command to the media segment homologous to any media segment next, in the case that the number of media segments homologous to any media segment is less, the second prompt control 107 is not displayed for the user, so that the user manually adds the non-time-series full-frame command to each video respectively, and the user can also accept the method, but when the number of video segments to be processed is more, the non-time-series full-frame command is respectively added to each video respectively, so that the operation is relatively time-wasting, by determining the preset threshold value, the second prompt control 307 can not be displayed when the number of video segments to be processed is less, and the second prompt control 307 is displayed when the number of video segments to be processed is more, so that the user can operate more flexibly and conveniently.
If the user triggers that the second prompt control 307 in 3Bb in fig. 3A is triggered, step 7 of the present embodiment is performed and the editing interface is switched to as shown in 3N in fig. 3A; and according to the homologous media identification, acquiring a media fragment homologous to any one of the media fragments from the plurality of media fragments as a target media fragment, acquiring a target frame of the target media fragment, and adding the full-frame command to the target frame of the target media fragment. Illustratively, as shown in fig. 3N, in the editing line 303 of the media frame, the target position acted by the target full-frame command is obtained according to the arrangement sequence of the target media segments in the media segments to be edited; in the edit line 304 of the target full frame command of the edit section, the target full frame command is added corresponding to the target position.
The difference between the above-mentioned procedure of jumping from the 3M gui of fig. 3A to the gui of fig. 3Aa and the procedure of jumping from the gui of fig. 3Ab to the gui of fig. 3N may be similar, and only the initial position of the full frame command is different, which is not repeated here.
Illustratively, as shown in the graphical user interface of 3Ca in FIG. 3A, the edit line 303 of the media frame presents a plurality of media segments, wherein the media segments identified by the shadows are homologous media segments; the homologous media segments carry homologous media identifications;
step 1, described above, is performed in response to a full frame command 305 with any frame position of the target media segment for the edit line 303 of the media frame,
executing step 2 above, a first prompt control 306 may be presented in the edit field of the graphical user interface, shown as 3Ca in fig. 3A, which prompts the user whether to apply the full frame command to all media segments,
one implementation manner in which the first prompt control 106 is not triggered is shown in 3Ca in fig. 3A, that is, after the user selects to apply the full-frame command to all media segments through the first prompt control 306, the above step 3 is executed, and the obtained page display result is shown in fig. 3A, where the default in 3Ba in fig. 3A is that the full-frame command is applied to a plurality of media segments to be edited, and the plurality of media segments are obtained as target media segments according to the homologous media identifier and/or the non-homologous media identifier of any media segment, so as to obtain a target frame of the target media segment, and the full-frame command is added to the target frame of the target media segment. Adding the target full-frame command in an editing area corresponding to the target position; specifically, the target full-frame command may be added directly in the editing line of the media frame, and directly corresponding to the target position, or the target full-frame command may be added in the editing line of the target full-frame command, and corresponding to the target position. For example, the new edit line 304 of the full-frame command may directly use the start frame of the target media segment as the target position, and in the edit line 304 of the target full-frame command of the edit area, the target full-frame command is added corresponding to the target position, as shown in the edit line 304 of the target full-frame command in 3Ca in fig. 3A, the target full-frame command is added directly in the edit line of the media frame directly corresponding to the target position, and then the illustration is not made.
When the first prompt control 306 in 3Ca in fig. 3A is triggered, the above step 4 is executed to determine whether a non-homologous media identifier of the media identifier exists with respect to any media segment, if so, determine whether the number of media segments homologous with any media segment in the segments of the plurality of media segments is greater than a preset threshold according to the homologous media identifier of the any media segment,
if the number of media segments homologous to any one of the media segments is not greater than the preset threshold, performing the above-mentioned method steps 8-9 of the present embodiment, and switching to the image user interface shown as 3Cb in fig. 3A, where the second prompt control 307 is not displayed in 3Cb in fig. 3A as a display result; specifically, step 8-step 9 of the above method of this embodiment are executed, in which the arbitrary media segment is taken as the target media segment, a target frame of the target media segment is obtained, and the full-frame command is added to the target frame of the target media segment; in this example, the new edit line 304 of the full-frame command adds the target full-frame command corresponding to the target position in the edit line 304 of the target full-frame command of the edit area.
If the number of media segments homologous to any one of the media segments is smaller than the preset threshold, the method is switched to a graphical user interface shown by 3Cb in fig. 3A, and further as shown by 3Cb in fig. 3A, whether the second prompt control 307 prompts to apply the full-frame command to other media segments homologous to the media segment acted by the full-frame command 305 is further displayed, for example, in the interface shown by 3Cb in fig. 3A, the prompt item set by the second prompt control 307 is "apply to homologous media", which means that the user triggers the second prompt control 307 to apply to homologous media, in the interface shown by 3Cb in fig. 3A, the default user does not trigger the second prompt control 307, and when the second prompt control 307 is not triggered, it is considered that the second prompt control is not applied to all media segments, and the second prompt control is applied to only the target media segment, steps 8-9 of this embodiment are executed, where any one of the media segments is taken as the target media segment, the user triggers the second prompt control 307 to apply to homologous media segments, and in the interface shown by 3Cb in fig. 3A, which shows that the default the user does not trigger the second prompt control 307 to trigger the second prompt to apply to all media segments. Adding the target full-frame command in an editing area corresponding to the target position; specifically, the target full-frame command may be added directly in the editing line of the media frame, and directly corresponding to the target position, or the target full-frame command may be added in the editing line of the target full-frame command, and corresponding to the target position. Illustratively, the new full-frame command edit line 304 adds the target full-frame command corresponding to the target position in the target full-frame command edit line 304 of the edit area, that is, applies the full-frame command to only the target media segment acted upon by the full-frame command 305 in the full-frame command edit line 304.
The preset threshold value of this embodiment may be set in the code by itself, and the preset threshold value may be set to determine that the number of media segments homologous to any media segment to be processed is more or less, for the user, when the number of media segments homologous to any media segment is less, even if the user needs to add a non-time-series full-frame command to the media segment homologous to any media segment next, in this case, when the number of media segments homologous to any media segment is less, the second prompt control 107 is not displayed to the user, so that the user manually adds a non-time-series full-frame command to each video respectively, and the user may also accept the method, but when the number of video segments to be processed is more, respectively, the non-time-series full-frame command is added to each video respectively, so that the operation is relatively time-wasting, by determining by the preset threshold value, the second prompt control 307 is not displayed when the number of video segments to be processed is less, and the second prompt control 307 is displayed when the number of video segments to be processed is more, so that the program calculation resource is saved, and the user is more flexible and convenient to operate.
If the user triggers that the second prompt control 307 in 3Cb of fig. 3A is triggered, step 7 of this embodiment is performed and the editing interface is switched to as shown in 3N of fig. 3A; and according to the homologous media identification, acquiring a media fragment homologous to any one of the media fragments from the plurality of media fragments as a target media fragment, acquiring a target frame of the target media fragment, and adding the full-frame command to the target frame of the target media fragment. Illustratively, as shown in fig. 3N, in the editing line 303 of the media frame, the target position acted by the target full-frame command is obtained according to the arrangement sequence of the target media segments in the media segments to be edited; in the edit line 304 of the target full frame command of the edit section, the target full frame command is added corresponding to the target position.
The difference between the above-mentioned procedure of jumping from the 3M gui of fig. 3A to the gui of fig. 3Aa and the procedure of jumping from the gui of fig. 3Ab to the gui of fig. 3N may be similar, and only the initial position of the full frame command is different, which is not repeated here.
In another embodiment, a prompt control is not required to be designed in the image user interface, and is used for receiving a trigger signal of manual operation by a user, and automatically identifying the media fragment to be edited directly by means of artificial intelligence technology, and according to various characteristics of the media fragment to be edited, judging whether the target full-frame command is applied to the media fragment homologous to the target media fragment, or the media fragment to be edited after being applied to the target media fragment, or only the target media fragment of the current section, so as to further automatically give an instruction.
Illustratively, when it is identified that a media segment to be edited has a media segment that is homologous to the target media segment and a media segment that is not homologous to the target media segment, the media segments that are homologous to the target media segment are both original media segments, and the non-homologous media segment is a non-original media segment; an indication that the target full-frame command is to be applied to a media segment that is homologous to the target media segment may be automatically triggered; wherein the original media segments may be media segments that are identical to or associated with them (e.g., a certain unpublished self-shot segment) are not present in the media library, and the non-original media segments may be media segments that are identical to or associated with them (e.g., a clip of a certain television show) are present in the media library;
For example, when it is identified that the media segment to be edited has a media segment homologous to the target media segment and a media segment not homologous to the target media segment, which are both original media segments, the target full-frame command may be automatically triggered to be applied to the media segment to be edited after the target media segment;
for example, when it is identified that there is no media segment homologous to the target media segment in the media segments to be edited, the application of the target full frame command to the indication of the target media segment may be automatically triggered.
By adopting the scheme of the embodiment of the invention, when the media fragments to be edited comprise a plurality of sections of homologous media fragments and a plurality of sections of different source media fragments, the non-time-sequence full-frame command can be flexibly selected to be added to the homologous media fragments, the non-time-sequence full-frame command can be flexibly selected to be added to all the media fragments, or the non-time-sequence full-frame command can be added to the media fragments in the editing section, so that the flexible usability of editing software is improved, the editing time of a user is saved, and the editing efficiency is improved.
Data governance devices of one or more embodiments of the present invention are described in detail below. Those skilled in the art will appreciate that these means may be configured by the steps taught by the present solution using commercially available hardware components.
Fig. 4 is a schematic structural diagram of a data management device according to an embodiment of the present invention, as shown in fig. 4, where the device includes: the first judging module 11, the second judging module 12, the third judging module 13, the fourth judging module 14, the first executing module 15, the second executing module 16 and the third executing module 17;
a first judging module 11, configured to respond to obtaining a non-time-sequence full-frame command for any one of the plurality of media segments, where each media segment of the plurality of media segments carries at least a corresponding media identifier, where the media identifier includes: a homologous media identification and/or a non-homologous media identification, wherein the non-timing full-frame command is a control command which acts on each frame of the media and is irrelevant to timing; judging whether an instruction of applying the non-time sequence full-frame command to the plurality of media fragments is received or not, and if so, jumping to a first execution module; if not, skipping to execute the second judging module;
a second judging module 12, configured to judge whether a non-homologous media identifier with any media segment exists in the media identifiers, if so, skip to a third judging module, and if not, skip to execute a second executing module;
A third judging module 13, configured to judge, according to the homologous media identifier of any media segment, whether the number of media segments homologous to the any media segment is greater than a preset threshold, if so, skip to a fourth judging module, and if not, skip to execute a second executing module;
a fourth judging module 14, configured to judge whether a media segment homologous to the arbitrary media segment is received by applying the full-frame command; if yes, the third execution module is jumped to execute, and if not, the second execution module is jumped to execute;
the first execution module 15 takes the plurality of media fragments as target media fragments, acquires target frames of the target media fragments, and adds the full-frame command to the target frames of the target media fragments;
the second execution module 16 is configured to take the any media segment as the target media segment, acquire a target frame of the target media segment, and add the full-frame command to the target frame of the target media segment;
the third execution module 17 is configured to obtain, from the plurality of media segments, a media segment that is homologous to the any one media segment as a target media segment according to the homologous media identifier, and obtain a target frame of the target media segment, and add the full-frame command to the target frame of the target media segment.
The apparatus further comprises a first setting module 18 for setting the media identification for each of the source media segments when the segmentation command is executed to cut the source media segments, in response to receiving the segmentation command for any of the source media segments, and
and responding to and receiving an adding command for adding a new media fragment to any source media fragment, and setting the media identifier for the source media fragment and the new media fragment when the adding command is executed to add the new media fragment.
The apparatus further comprises a second setting module 19 for marking the non-time-series full-frame command with a non-time-series full-frame command identifier in advance, and determining that the non-time-series full-frame command for any one of the plurality of media segments is acquired in response to acquiring that the editing command for any one of the plurality of media segments has the non-time-series full-frame command identifier.
The apparatus further comprises a configuration module 20 for pre-configuring a first hint control for receiving an indication of whether to apply the non-sequential full frame command to the plurality of media segments; and
and pre-configuring a second prompt control, which is used for receiving an indication of whether to apply the full-frame command to the media fragments homologous to any media fragment when the number of the media fragments homologous to any media fragment is larger than a preset threshold value in the fragments of the plurality of media fragments according to the homologous media identification of any media fragment.
The apparatus shown in fig. 4 may perform the steps described in the foregoing embodiments, and detailed execution and technical effects are referred to in the foregoing embodiments and are not described herein.
In one possible design, the structure of the media editing apparatus shown in fig. 4 may be implemented as an electronic device, as shown in fig. 5, where the electronic device may include: memory 21, processor 22, communication interface 23. Wherein the memory 21 has stored thereon executable code which, when executed by the processor 22, causes the processor 22 to at least implement the data governance method as provided in the previous embodiments.
Additionally, embodiments of the present invention provide a non-transitory machine-readable storage medium having executable code stored thereon, which when executed by a processor of an electronic device, causes the processor to at least implement a data governance method as provided in the previous embodiments.
The apparatus embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by adding necessary general purpose hardware platforms, or may be implemented by a combination of hardware and software. Based on such understanding, the foregoing aspects, in essence and portions contributing to the art, may be embodied in the form of a computer program product, which may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A media editing method applied to an editing terminal, the method comprising:
step 1, responding to a non-time sequence full frame command of any one of a plurality of media fragments, wherein each media fragment of the plurality of media fragments at least carries a corresponding media identifier, and the media identifier comprises: a homologous media identification and/or a non-homologous media identification, wherein the non-timing full-frame command is a control command which acts on each frame of the media and is irrelevant to timing;
step 2, judging whether an instruction of applying the non-time sequence full-frame command to the plurality of media fragments is received, if yes, executing step 3, and if not, executing step 4;
step 3, taking the plurality of media fragments as target media fragments, and executing step 9;
step 4, judging whether the media identifier has a non-homologous media identifier with any media segment, if so, executing step 5, otherwise, executing step 8;
step 5, judging whether the number of media fragments homologous to any one media fragment is larger than a preset threshold value in fragments of the plurality of media fragments according to the homologous media identifier of the any one media fragment, if so, executing step 6, and if not, executing step 8;
Step 6, judging whether the full-frame command is received to be applied to the media segment with homology to any media segment; if yes, executing the step 7, and if not, executing the step 8;
step 7, according to the homologous media identification, obtaining a media segment homologous to any one of the media segments from the plurality of media segments as a target media segment, and executing step 9;
step 8, taking any media segment as the target media segment, and executing step 9;
and 9, obtaining a target frame of the target media fragment, and adding the full-frame command to the target frame of the target media fragment.
2. The media editing method of claim 1, wherein the plurality of media segments are segmented by media segments of a same source and/or spliced by media segments of different sources;
in response to receiving a split command for any source media segment, setting the media identification for each of the source media segments while executing the split command to split the source media segments, and
and in response to receiving an adding command for adding a new media fragment to any source media fragment, setting the media identifier for the source media fragment and the new media fragment when the adding command is executed to add the new media fragment.
3. The media editing method of claim 1, wherein the non-time-series full-frame command is indicated in advance with a non-time-series full-frame command identification, and in response to obtaining that an editing command for any one of the plurality of media segments has the non-time-series full-frame command identification, it is determined that a non-time-series full-frame command for any one of the plurality of media segments is obtained.
4. The media editing method of claim 1, wherein,
pre-configuring a first prompt control for receiving an indication of whether to apply the non-sequential full-frame command to the plurality of media segments; and
and pre-configuring a second prompt control, which is used for receiving an indication of whether to apply the full-frame command to the media fragments homologous to any media fragment when the number of the media fragments homologous to any media fragment is larger than a preset threshold value in the fragments of the plurality of media fragments according to the homologous media identification of any media fragment.
5. A media editing apparatus applied to an editing terminal, wherein the apparatus comprises:
the first judging module is configured to respond to obtaining a non-time sequence full frame command for any one of a plurality of media segments, where each media segment of the plurality of media segments carries at least a corresponding media identifier, and the media identifier includes: a homologous media identification and/or a non-homologous media identification, wherein the non-timing full-frame command is a control command which acts on each frame of the media and is irrelevant to timing; judging whether an instruction of applying the non-time sequence full-frame command to the plurality of media fragments is received or not, and if so, jumping to a first execution module; if not, skipping to execute the second judging module;
The second judging module is used for judging whether the media identifier is a non-homologous media identifier of any media segment, if yes, the second judging module is jumped to a third judging module, and if not, the second executing module is jumped to execute;
the third judging module is used for judging whether the number of the media fragments which are homologous to any media fragment is larger than a preset threshold value in the fragments of the plurality of media fragments according to the homologous media identifier of any media fragment, if so, the second executing module is executed in a jumping mode;
a fourth judging module, configured to judge whether a media segment homologous to the arbitrary media segment is received by applying the full-frame command; if yes, the third execution module is jumped to execute, and if not, the second execution module is jumped to execute;
the first execution module takes the plurality of media fragments as target media fragments, acquires target frames of the target media fragments, and adds the full-frame command to the target frames of the target media fragments;
the second execution module is configured to take the any media segment as the target media segment, acquire a target frame of the target media segment, and add the full-frame command to the target frame of the target media segment;
The third execution module is configured to obtain, from the plurality of media segments, a media segment that is homologous to the any one media segment as a target media segment according to the homologous media identifier, and obtain a target frame of the target media segment, and add the full-frame command to the target frame of the target media segment.
6. The media editing apparatus of claim 5, wherein the plurality of media segments are segmented by media segments of a same source and/or spliced by media segments of different sources;
the apparatus further comprises a first setting module for setting the media identification for each of the source media segments when the segmentation command is executed to cut the source media segments in response to receiving the segmentation command for any of the source media segments, and
and responding to and receiving an adding command for adding a new media fragment to any source media fragment, and setting the media identifier for the source media fragment and the new media fragment when the adding command is executed to add the new media fragment.
7. The media editing apparatus of claim 5, wherein the apparatus further comprises a second setting module for marking the non-time-series full-frame command with a non-time-series full-frame command identification in advance, and determining that a non-time-series full-frame command is acquired for any one of the plurality of media segments in response to acquiring that an editing command for any one of the plurality of media segments has the non-time-series full-frame command identification.
8. The media editing apparatus of claim 5, wherein the apparatus further comprises a configuration module for pre-configuring a first hint control for receiving an indication of whether to apply the non-sequential full frame command to the plurality of media segments; and
and pre-configuring a second prompt control, which is used for receiving whether to apply the full-frame command to the media fragments homologous to any media fragment when the number of the media fragments homologous to any media fragment is larger than a preset threshold value in the fragments of the plurality of media fragments according to the homologous media identification of any media fragment.
9. An electronic device, comprising: a memory, a processor, a communication interface; wherein the memory has stored thereon executable code which, when executed by the processor, causes the processor to perform the media editing method of any of claims 1 to 4.
10. A non-transitory machine-readable storage medium having stored thereon executable code which, when executed by a processor of an electronic device, causes the processor to perform the media editing method of any of claims 1 to 4.
CN202310390352.1A 2023-04-12 2023-04-12 Media editing method, device, equipment and storage medium Active CN116708945B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310390352.1A CN116708945B (en) 2023-04-12 2023-04-12 Media editing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310390352.1A CN116708945B (en) 2023-04-12 2023-04-12 Media editing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN116708945A CN116708945A (en) 2023-09-05
CN116708945B true CN116708945B (en) 2024-04-16

Family

ID=87844120

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310390352.1A Active CN116708945B (en) 2023-04-12 2023-04-12 Media editing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116708945B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106844705A (en) * 2017-02-06 2017-06-13 百度在线网络技术(北京)有限公司 Method and apparatus for showing content of multimedia
WO2018076174A1 (en) * 2016-10-25 2018-05-03 深圳市大疆创新科技有限公司 Multimedia editing method and device, and smart terminal
WO2019227283A1 (en) * 2018-05-28 2019-12-05 深圳市大疆创新科技有限公司 Multimedia editing method and intelligent terminal
CN112541353A (en) * 2020-12-24 2021-03-23 北京百度网讯科技有限公司 Video generation method, device, equipment and medium
CN112995756A (en) * 2021-03-01 2021-06-18 央视国际网络有限公司 Short video generation method and device and short video generation system
WO2021190078A1 (en) * 2020-03-26 2021-09-30 华为技术有限公司 Method and apparatus for generating short video, and related device and medium
CN115878098A (en) * 2021-09-29 2023-03-31 腾讯科技(深圳)有限公司 Data processing method, device, equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020120925A1 (en) * 2000-03-28 2002-08-29 Logan James D. Audio and video program recording, editing and playback systems using metadata
US20120198319A1 (en) * 2011-01-28 2012-08-02 Giovanni Agnoli Media-Editing Application with Video Segmentation and Caching Capabilities

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018076174A1 (en) * 2016-10-25 2018-05-03 深圳市大疆创新科技有限公司 Multimedia editing method and device, and smart terminal
CN106844705A (en) * 2017-02-06 2017-06-13 百度在线网络技术(北京)有限公司 Method and apparatus for showing content of multimedia
WO2019227283A1 (en) * 2018-05-28 2019-12-05 深圳市大疆创新科技有限公司 Multimedia editing method and intelligent terminal
WO2021190078A1 (en) * 2020-03-26 2021-09-30 华为技术有限公司 Method and apparatus for generating short video, and related device and medium
CN112541353A (en) * 2020-12-24 2021-03-23 北京百度网讯科技有限公司 Video generation method, device, equipment and medium
CN112995756A (en) * 2021-03-01 2021-06-18 央视国际网络有限公司 Short video generation method and device and short video generation system
CN115878098A (en) * 2021-09-29 2023-03-31 腾讯科技(深圳)有限公司 Data processing method, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
多源流媒体课件同步编辑系统的研究与实现;朱郑州;吴中福;王茜;;计算机科学(02);全文 *

Also Published As

Publication number Publication date
CN116708945A (en) 2023-09-05

Similar Documents

Publication Publication Date Title
CN107172454B (en) Video recommendation method, medium, device and computing equipment
US9870288B2 (en) Container-based processing method, apparatus, and system
US20150331882A1 (en) Redundant file deletion method, apparatus and storage medium
CN108459964B (en) Test case selection method, device, equipment and computer readable storage medium
CN110689928A (en) Systems and methods for predicting the effect of genomic variations on pre-mRNA splicing
US20160098390A1 (en) Command history analysis apparatus and command history analysis method
CN109033466B (en) Page sharing method calculates equipment and computer storage medium
JP6266008B2 (en) Method of applying virtual machine image to computer system, information processing system, and computer program
CN113760306B (en) Method and device for installing software, electronic equipment and storage medium
US10318343B2 (en) Migration methods and apparatuses for migrating virtual machine including locally stored and shared data
CN110543756B (en) Device identification method and device, storage medium and electronic device
CN106021319A (en) Voice interaction method, device and system
CN107506293B (en) Software performance data acquisition method and device
CN116708945B (en) Media editing method, device, equipment and storage medium
JP7338246B2 (en) Information processing device, log reference program
CN108595262B (en) Data processing method and device
JP6877959B2 (en) Information processing equipment and information processing programs
JP2022078314A (en) Information processing system, information processing device, information processing method and computer program
CN116634233B (en) Media editing method, device, equipment and storage medium
US20200174822A1 (en) Startup method and apparatus for virtual machine, and smart terminal
CN113641419A (en) File loading method and computer readable storage medium
JP2017162182A (en) Test device, test method, and test program
EP3136240A1 (en) Virtual computer system, method and program
KR20170003508A (en) Computing device software maintenance method and apparatus
CN113810783A (en) Rich media file processing method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20240326

Address after: 4175A, 4th Floor, Building 4, No. 49 Badachu Road, Shijingshan District, Beijing, 100144

Applicant after: Banyuetan New Media Technology Co.,Ltd.

Country or region after: China

Address before: 102100 North 708 Dayushu Village, Dayushu Town, Yanqing District, Beijing

Applicant before: Beijing Youbeika Technology Co.,Ltd.

Country or region before: China

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant