WO2025087013A1 - Editing processing method and apparatus, and electronic device and computer-readable storage medium - Google Patents
Editing processing method and apparatus, and electronic device and computer-readable storage medium Download PDFInfo
- Publication number
- WO2025087013A1 WO2025087013A1 PCT/CN2024/122676 CN2024122676W WO2025087013A1 WO 2025087013 A1 WO2025087013 A1 WO 2025087013A1 CN 2024122676 W CN2024122676 W CN 2024122676W WO 2025087013 A1 WO2025087013 A1 WO 2025087013A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- material package
- target material
- target
- combination
- materials
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/44—Processing 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
- H04N21/44016—Processing 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 involving splicing one content stream with another content stream, e.g. for substituting a video clip
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/44—Processing 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/835—Generation of protective data, e.g. certificates
- H04N21/8352—Generation of protective data, e.g. certificates involving content or source identification data, e.g. Unique Material Identifier [UMID]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8456—Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Definitions
- the present disclosure relates to the field of video processing technology, and in particular to a clipping processing method, device, electronic device, and computer-readable storage medium.
- video editing is an important step before publishing various videos.
- creators can add special effects, filters, texts, stickers, video clips and other materials to the video based on the material resources provided by the video editing tool to package the video, so that the edited video to be published has better effect.
- the materials currently provided by video editing tools are all independent materials, the creators need to have a certain ability to combine the materials, or the creators need to spend a long time to create a combined display effect including multiple materials. Therefore, the editing efficiency of video materials is affected, which affects the creator's user experience.
- the present disclosure provides a clip processing method, device, electronic device and computer-readable storage medium.
- a first aspect of an embodiment of the present disclosure provides a clip processing method, the method comprising: displaying a video clipping interface, the video clipping interface comprising a material area and a timeline area, when a material package option displayed in the material area is in a selected state, the material area also displays at least one material package identifier, each material package identifier is used to indicate a material package resource, and each material package resource is a material package in the form of a composite fragment generated by multiple materials; in response to a target trigger operation on a target material package identifier among the multiple material package identifiers, converting a target material package resource indicated by the target material package identifier into a target material package combination, and displaying the target material package combination in the timeline area; wherein the target material package combination is a combination of multiple target materials corresponding to the target material package identifier, and the multiple target materials are displayed independently of each other and have a binding relationship.
- the target triggering operation includes a downloading operation and a dragging operation
- the target material package In response to a target trigger operation on a target material package identifier among the multiple material package identifiers, the target material package The target material package resource indicated by the identifier is converted into a target material package combination, and the target material package combination is displayed in the timeline area, including: in response to the download operation, downloading the target material package resource and converting the target material package resource into a target material package combination; in response to the drag operation, displaying the target material package combination in the timeline area.
- the target material package combination in response to the drag operation, is displayed in the timeline area, including: when the trajectory of the drag operation does not enter the timeline area, the target material package identifier moves along with the drag operation; when the trajectory of the drag operation enters the timeline area, the target material package combination moves along with the drag operation.
- the target material package resource indicated by the target material package identifier is converted into a target material package combination, including: parsing the target material package resource to obtain multiple material contents, the multiple material contents including material contents that have a strong dependency on the video; performing de-dependency processing on the multiple material contents to obtain multiple target materials; and grouping the multiple target materials to generate the target material package combination.
- parsing the target material package resource to obtain multiple material contents includes: performing compatibility and upgrade processing on the target material package resource to obtain the processed target material package resource; parsing the processed target material package resource to obtain the multiple material contents.
- the method after displaying the target material package combination in the timeline area, also includes: in response to a first editing operation on the target material package combination, performing corresponding processing on the multiple target materials; the first editing operation includes at least one of the following: a selection operation on at least one material among the multiple target materials; a material package release operation on at least one material among the multiple target materials; a move operation on the target material package combination; a duration editing operation on the target material package combination; a deletion operation on the target material package combination; a deactivation operation on the target material package combination; a cutting operation on the target material package combination; a copy operation on the target material package combination; a new composite fragment operation on the target material package combination; and a subtitle/lyrics recognition operation on the target material package combination.
- the method further includes: in response to a second editing operation on the first target material in the target material package combination, performing corresponding processing on the first target material; wherein the second editing operation includes at least one of the following: a selection operation, a move operation, a duration editing operation, a deletion operation, a deactivation operation, a mirroring operation, a cutting operation, a copying operation, a new composite clip operation, and a subtitle/lyrics identification operation; in some embodiments of the present application, the method further includes: after multiple editing and displaying of the target material object of at least one target material in the target material package combination, in response to a triggering operation on the timeline area, updating the target material object to the target material package combination, or adding the display of the target material package combination in the timeline area; wherein the target material object includes at least one of the following: a first material package combination, a first material; each material included in the first material package combination corresponds to a target material in
- the method further includes: generating a second material package combination in response to a new material package operation for multiple second materials displayed in the timeline area; and converting the second material package combination into a second material package resource for sharing.
- the method also includes: in response to a trigger operation of synchronizing the current draft file corresponding to the video editing interface to the mobile terminal for editing, converting the material packages in the current draft file into a material package in the form of a composite fragment to generate a first draft file; and sending the first draft file to the mobile terminal.
- the method after sending the first draft file to the mobile terminal, the method also includes: receiving a second draft file sent by the mobile terminal, the second draft file being a draft file after the mobile terminal has edited the first draft file; converting the material packages in the second draft file that conform to the form of fragments into a material package combination to generate a third draft file; and displaying the third draft file in the video editing interface.
- an editing processing device comprising: a display module for displaying a video editing interface, the video editing interface comprising a material area and a timeline area, when the material package option displayed in the material area is in a selected state, the material area also displays at least one material package identifier, each material package identifier is used to indicate a material package resource, each material package resource is a material package in the form of a composite fragment generated by multiple materials; a control module for responding to a target trigger operation on a target material package identifier among the multiple material package identifiers, converting a target material package resource indicated by the target material package identifier into a target material package combination, and displaying the target material package combination in the timeline area; wherein the target material package combination is a combination of multiple target materials corresponding to the target material package identifier, and the multiple target materials are displayed independently of each other and have a binding relationship.
- the target trigger operation includes a download operation and a drag operation; the control module is specifically used to download the target material package resources in response to the download operation, and convert the target material package resources into a target material package combination; in response to the drag operation, the target material package combination is displayed in the timeline area.
- control module is specifically used to, when the trajectory of the drag operation does not enter the timeline area, the target material package identifier follows the drag operation to move; when the trajectory of the drag operation enters the timeline area, the target material package combination follows the drag operation to move.
- control module is specifically used to parse the target material package resources to obtain multiple material contents, including material contents that have a strong dependency on the video; perform de-dependency processing on the multiple material contents to obtain multiple target materials; and perform grouping processing on the multiple target materials to generate the target material package combination.
- control module is specifically used to perform compatibility and upgrade processing on the target material package resources to obtain the processed target material package resources; and parse the processed target material package resources to obtain the multiple material contents.
- the control module is further used to, after displaying the target material package combination in the timeline area, respond to a first editing operation on the target material package combination to perform corresponding processing on the multiple target materials;
- the first editing operation includes at least one of the following: a selection operation on at least one material among the multiple target materials; a material package removal operation on at least one material among the multiple target materials; a move operation on the target material package combination; a time length editing operation on the target material package combination; a deletion operation on the target material package combination; a deactivation operation on the target material package combination; operation; a cut operation on the target material package combination; a copy operation on the target material package combination; a new composite clip operation on the target material package combination; and a subtitle/lyrics recognition operation on the target material package combination.
- the control module is also used to, after displaying the target material package combination in the timeline area, respond to a second editing operation on the first target material in the target material package combination to perform corresponding processing on the first target material; wherein the second editing operation includes at least one of the following: a selection operation, a move operation, a duration editing operation, a deletion operation, a deactivation operation, a mirroring operation, a cutting operation, a copying operation, a new composite segment operation, and a subtitle/lyrics recognition operation; in some embodiments of the present application, the control module is also used to, after multiple edits and displays of the target material object are performed on at least one target material in the target material package combination, respond to a triggering operation on the timeline area to update the target material object to the target material package combination, or to add and display the target material package combination in the timeline area; wherein the target material object includes at least one of the following: a first material package combination and a first material; each material included in the first material package combination corresponds
- control module is further used to generate a second material package combination in response to a new material package operation for multiple second materials displayed in the timeline area; and convert the second material package combination into a second material package resource for sharing.
- control module is also used to respond to a trigger operation of synchronizing the current draft file corresponding to the video editing interface to the mobile terminal for editing, convert the material package combination in the current draft file into a material package in the form of a composite fragment, and generate a first draft file; and send the first draft file to the mobile terminal.
- control module is also used to receive a second draft file sent by the mobile terminal after sending the first draft file to the mobile terminal, the second draft file being a draft file after the mobile terminal has edited the first draft file; converting a material package in the second draft file that conforms to a fragment format into a material package combination to generate a third draft file; and displaying the third draft file in the video editing interface.
- a third aspect of an embodiment of the present disclosure provides a editing processing method, the method comprising: displaying a video editing interface, the video editing interface comprising a material area and a timeline area; in response to a new material package operation for a plurality of materials in the timeline area, displaying a material package combination in the timeline area, the material package combination being a combination of the plurality of materials, the plurality of materials being displayed independently of each other and having a binding relationship; converting the material package combination into a material package resource, the material package resource being a material package in the form of a composite fragment generated by the plurality of materials; and displaying a material package identifier in the material area, the material package identifier being used to indicate the material package resource.
- a clip processing device comprising: a display module for displaying a video clip interface, the video clip interface comprising a material area and a timeline area; in response to a new material package operation for a plurality of materials in the timeline area, displaying a material package combination in the timeline area, the material package combination being a combination of the plurality of materials, the plurality of materials being displayed independently of each other and having a binding relationship; a control module for converting the material package combination into a material package resource, the material package resource being a material package in the form of a composite segment generated by the plurality of materials; and displaying The module is also used to display a material package logo in the material area, and the material package logo is used to indicate the material package resource.
- an electronic device comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the clipping processing method as described in the first aspect or the third aspect is implemented.
- a computer-readable storage medium on which a computer program is stored.
- the computer program is executed by a processor, the clipping processing method as described in the first aspect or the third aspect is implemented.
- a computer program product includes a computer program.
- the processor executes the computer program to implement the clipping processing method as described in the first aspect or the third aspect.
- a chip which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run program instructions to implement the clipping processing method described in the first aspect or the third aspect.
- FIG1 is a flow chart of a method for editing provided by an embodiment of the present disclosure
- FIG2 is a second flow chart of the editing method provided by the embodiment of the present disclosure.
- FIG3 is a third flow chart of the editing processing method provided in the embodiment of the present disclosure.
- FIG4A is a fourth flowchart of the editing processing method provided by an embodiment of the present disclosure.
- FIG4B is a fifth flowchart of the editing method provided in an embodiment of the present disclosure.
- FIG5 is a schematic diagram of an interface of a clipping processing method provided by an embodiment of the present disclosure.
- FIG6 is a structural block diagram of a clip processing device provided by an embodiment of the present disclosure.
- FIG. 7 is a structural block diagram of an electronic device provided by an embodiment of the present disclosure.
- first, second, etc. in the specification and claims of the present disclosure are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable when appropriate, so that the embodiments of the present disclosure can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first”, “second”, etc. are generally of the same type, and the number of objects is not limited.
- the first object can be one or more.
- “and/or” in the specification and claims represents at least one of the connected objects, and the character “/" generally indicates that the objects associated with each other are in an "or” relationship.
- the mother draft can also be called the main draft.
- the child draft is the nested content in the mother draft.
- the child draft can be independent of the mother draft.
- the child draft and the mother draft are independent of each other.
- the composite fragment corresponds to a child draft in the mother draft.
- the material package corresponds to part of the content in the mother draft, which is part of the mother draft and cannot be independent of the mother draft.
- a video editing interface is displayed, which includes a material area and a timeline area.
- the material area also displays at least one material package identifier, each material package identifier is used to indicate a material package resource, and each material package resource is a material package in the form of a composite fragment generated by multiple materials; in response to a target trigger operation on a target material package identifier among the multiple material package identifiers, the target material package resource indicated by the target material package identifier is converted into a target material package combination, and the target material package combination is displayed in the timeline area; wherein, the target material package combination is a combination of multiple target materials corresponding to the target material package identifier, and the multiple target materials are displayed independently of each other and have a binding relationship.
- the material package combination corresponding to the material package identifier can be displayed in the timeline area by triggering the material package identifier in the material area.
- the material package combination is displayed in the form of a combination of multiple materials rather than in the form of a compound clip, which increases the display form of materials provided by the video editing tool to users, is convenient for creators to use, improves the editing efficiency of creators, and reduces the requirements for the editing ability of creators; and the material package displayed in the cloud is in the form of a compound clip, which is easy to manage, and the material package displayed in the timeline area is in the form of a combination, which is convenient for creators to understand the material composition and Secondary editing can improve user experience.
- the electronic device in the embodiments of the present disclosure may be a personal computer (PC), a television (TV), an ATM or an ATM, or other non-mobile electronic device; the embodiments of the present disclosure are not specifically limited thereto.
- PC personal computer
- TV television
- ATM ATM
- ATM ATM
- the execution subject of the clipping processing method provided in the embodiment of the present disclosure may be the above-mentioned electronic device, or may be a functional module and/or functional entity in the electronic device that can implement the clipping processing method.
- the specific execution subject may be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
- an embodiment of the present disclosure provides a clipping processing method, which may include the following steps 101 to 102 .
- a video editing interface which includes a material area and a timeline area.
- the material area when the material package option displayed in the material area is in a selected state, the material area also displays at least one material package identifier, each material package identifier is used to indicate a material package resource, and each material package resource is a material package in the form of a composite fragment generated by multiple materials.
- the material area displays multiple material type options, including material package options, special effects options, filter options, text options, sticker options, material library options, etc.
- material type options including material package options, special effects options, filter options, text options, sticker options, material library options, etc.
- the specific options can be determined based on actual conditions and are not limited here.
- the material area displays a plurality of material identifiers corresponding to the corresponding material options in the selected state.
- the material package resources When stored in the cloud, the material package resources exist in the form of compound clips. However, when using them, you need to convert the material package resources into a material package combination before you can display them in the timeline area.
- the target material package combination is a combination of multiple target materials corresponding to the target material package identifier, and the multiple target materials are displayed independently of each other and have a binding relationship.
- the target material package combination is displayed in the timeline area, and each of the multiple target materials that constitute the target material package combination is displayed separately in the timeline area.
- the multiple target materials are displayed independently, but there is an association relationship (binding relationship) between the materials in the multiple target materials.
- the association relationship may include a relative position relationship, a relative time relationship, etc.
- the material package combination corresponding to the material package identifier can be displayed in the timeline area by triggering the material package identifier in the material area.
- the material package combination is displayed in the form of a combination of multiple materials instead of in the form of a composite clip, which increases the display form of the materials provided by the video editing tool for the user, making it easier for the creator to use. It improves the editing efficiency of creators and reduces the requirements for their editing skills.
- the material packages displayed in the cloud are in the form of composite clips, which is easy to manage, and the material packages displayed in the timeline area are in a combined form, which is convenient for creators to understand the composition of the materials and secondary editing, which can improve the user experience.
- the target trigger operation when the target material package resources indicated by the target material package have been previously downloaded locally, the target trigger operation does not include a download operation; when the target material package resources indicated by the target material package have not been downloaded locally, the target trigger operation includes a download operation.
- the target material package resource when the target trigger operation includes a download operation, can be converted into a target material package combination during the download process, or the target material package resource can be converted into a target material package combination after being downloaded locally.
- the target material package resource in response to an operation of adding a target resource package resource indicated by a target resource package identifier in the timeline area, can be converted into a target material package combination and the target resource package combination can be displayed in the timeline area.
- the adding operation may be a triggering operation of clicking the target resource package logo in the material area, or a triggering operation of dragging the target resource package logo to the timeline area, or other feasible operations, which may be determined according to actual conditions and are not limited here.
- the target trigger operation includes a download operation and a drag operation; the above step 102 can be specifically implemented through the following steps 102a and 102b.
- the target material package resource in response to a download operation, is downloaded and converted into a target material package combination. That is, before the dragging operation, the target material package resource has been converted into a target material package combination. In this way, in response to the dragging operation, the target material package combination can be quickly displayed in the timeline area, which can improve the user experience.
- step 102b may be specifically implemented through the following steps 102b1 and 102b2 .
- the target material package identifier moves following the drag operation.
- the target material package combination when the trajectory of the drag operation enters the timeline area, the target material package combination follows the drag operation, that is, after the target material package identifier is dragged into the timeline area, the target material package identifier becomes the target material package combination.
- the style of the target material package combination can be displayed before the drag operation is completed, so that the user can understand the target material package combination in advance, which can improve the user experience.
- the multiple materials constituting the material package resource include material content that has a strong dependency on the video
- the conversion of the target material package resource indicated by the target material package identifier into a target material package combination may be specifically implemented through the following steps 201 to 203 .
- the multiple material contents include material contents that have a strong dependency on the video.
- Each of the multiple material contents may have a strong dependency on the video, or some of the multiple material contents may have a strong dependency on the video.
- the specific dependency may be determined based on actual conditions and is not limited here.
- De-dependence processing is performed on the multiple material contents to obtain multiple target materials.
- the material package resource analysis and processing, material content dependency removal, and multiple material grouping processing can be determined according to actual conditions and are not limited here.
- the target material package combination is obtained by parsing, removing dependencies and grouping the target material package resources, so that the target material package resources in the form of a composite fragment are converted into a target material package combination in a combined form, so that the target material package combination can be displayed in the timeline area, thereby improving the editing efficiency based on the target material package combination.
- the above step 201 can be specifically implemented through the following steps 201a and 201b.
- the compatibility and upgrade processing can be determined according to actual conditions and is not limited here.
- a low-version material package can also be used in a high-version editing tool, thereby improving the utilization rate of the material package resources and improving the efficiency of video editing.
- the editing processing method provided by the embodiment of the present application may further include the following step 103.
- the first editing operation includes at least one of the following: a selection operation on at least one of the multiple target materials; a material package release operation on at least one of the multiple target materials; a move operation on the target material package combination; a duration editing operation on the target material package combination; a deletion operation on the target material package combination; a deactivation operation on the target material package combination; a cutting operation on the target material package combination; a copy operation on the target material package combination; a new composite segment operation on the target material package combination; and a subtitle/lyrics recognition operation on the target material package combination.
- the first editing operation is a selection operation on at least one of the multiple target materials
- the first editing operation may be a selection operation on one of the multiple target materials, or may be a selection operation on multiple of the multiple target materials.
- the corresponding processing is that multiple target materials in the target material package combination become selected.
- the first editing operation is to unpack at least one of the multiple target materials
- the first editing operation may be to unpack one of the multiple target materials, or may be to unpack multiple or all of the multiple target materials.
- the multiple target materials are processed independently and no longer have any association with each other.
- the corresponding processing is that the multiple target materials included in the target material package combination are moved together, and the relative position relationship remains unchanged.
- the duration editing operation may be a dragging trimming or lengthening operation, a rightward trimming control operation, a leftward trimming control operation, or a time region trimming operation when the target material package combination is selected.
- the corresponding processing is shortening or lengthening the duration.
- the corresponding processing is to delete the target material package combination and cancel the display of the target material package combination in the timeline area.
- the corresponding processing is to deactivate the target material package combination, gray out the target material package combination, and cannot perform any editing operation on the target material package combination.
- the corresponding processing is to cut the target material package combination to the clipboard.
- the corresponding processing is to copy the target material package combination.
- the corresponding processing is to convert the target material package combination into a composite segment for display.
- the corresponding processing is to identify subtitles/lyrics in multiple target materials in the target material package combination.
- multiple target materials in the target material package combination can be edited synchronously through the first editing operation, which can improve the editing efficiency.
- the editing processing method provided by the embodiment of the present application may further include the following step 104.
- the second editing operation includes at least one of the following: selection operation, move operation, duration editing operation, deletion operation, deactivation operation, mirroring operation, cutting operation, copying operation, creating a new composite segment operation, and identifying subtitles/lyrics operation.
- the selection operation may be a double-click selection operation or other selection operations.
- the material package combination can be selected by operating one of the materials in the material package combination, or the one material can be selected by operating one of the materials in the material package combination. Specifically, different operations can be set, which are not limited here.
- the second editing operation is a move operation
- only the first target material may be moved based on the move operation.
- the second editing operation is a duration editing operation
- only the first target material is selected in the target material package combination, only the duration of the first target material can be edited based on the duration editing operation.
- the second editing operation is a deletion operation, in the case that only the first target material is selected in the target material package combination, only the first target material can be deleted based on the deletion operation.
- the second editing operation is a deactivation operation
- only the first target material may be deactivated based on the deactivation operation.
- the second editing operation is a mirroring operation
- a mirror image of the first target material can be displayed based on the mirroring operation.
- the second editing operation is a cutting operation
- only the first target material when only the first target material is selected in the target material package combination, only the first target material can be cut to the clipboard based on the cutting operation.
- the second editing operation is a copy operation, in the case that only the first target material is selected in the target material package combination, only the first target material is copied based on the copy operation.
- the second editing operation is a new composite clip operation
- only the first target material is selected in the target material package combination
- only the first target material is synthesized into a composite clip based on the new composite clip operation.
- the second editing operation is a subtitle/lyrics recognition operation
- the subtitle/lyrics operation is based on the subtitle/lyrics recognition operation to only recognize the subtitles/lyrics in the first target material.
- any target material in the target material package combination can be edited separately through the second editing operation, which can increase the editing methods of the target material package combination and improve editing efficiency.
- the combination information corresponding to the target material package combination includes the number information of multiple target materials, the identification information of each target material, and the draft material information of each target material.
- the number information is reduced by 1
- the number information is increased by 1.
- the initial target material package combination can be displayed in the timeline area based on the draft material information of each target material.
- the edited target material package combination can be restored to the initial target material package combination, and the edited target material package combination and the initial target material package combination can also be displayed in the timeline area at the same time.
- the editing processing method provided by the embodiment of the present application may also include the following step 105 or step 106.
- step 105 is to restore the edited target material package combination to the initial target material package combination.
- the target material package combination is added and displayed in the timeline area.
- the target material object includes at least one of the following: a first material package combination and a first material; each material included in the first material package combination corresponds to a target material in the target material package combination, and the first material corresponds to a target material in the target material package combination.
- step 106 is to simultaneously display the edited target material package combination and the initial target material package combination in the timeline area.
- the target material object is a target material package combination after editing.
- the target material package object can be a material package or a separate material, which can be determined according to actual conditions.
- the target material object is updated to the target material package combination or the target material package combination is added and displayed in the timeline area, which is convenient for users to compare the display effects before and after editing.
- the operating efficiency can be improved.
- the editing processing method provided in the embodiments of the present application may also include the following steps 107 and 108.
- a second material package combination is generated.
- the function of customizing and sharing material package resources is provided to users.
- the customization methods of material packages can be increased, and the methods of sharing customized material packages can be increased, which can improve the user experience.
- the material packages can be combined into a composite fragment, or the composite fragment can be de-composited and then a new material package combination can be performed, so that the mutual conversion between the composite fragment and the material package combination can be realized.
- the editing processing method provided in the embodiments of the present application may also include the following steps 109 and 110.
- the material packages in the current draft file are combined and converted into material packages in the form of composite clips to generate a first draft file.
- the editing processing method provided by the embodiment of the present application may further include the following steps 111 and 113.
- the second draft file is a draft file obtained by editing the first draft file by the mobile terminal.
- the material package in the form of a compound clip is a sub-draft material, not a master draft material.
- editing is supported on the non-mobile terminal and the mobile terminal respectively. Therefore, in order to be compatible with the material package display forms of the non-mobile terminal and the mobile terminal, the material package form needs to be converted.
- the conversion process is as follows:
- the material packages that conform to the clip form are synchronized to the mobile terminal;
- the material packages corresponding to some of the materials are converted into material packages in the form of compound clips, and then the material packages that conform to the clip form are synchronized to the mobile terminal;
- the material package combination is synchronized to the non-mobile terminal.
- an embodiment of the present disclosure provides a clipping method, which may include the following steps 401 to 402 .
- a video editing interface which includes a material area and a timeline area.
- the material package combination is a combination of the multiple materials, and the multiple materials are displayed independently of each other and have a binding relationship.
- the material package resource is a material package in the form of a composite fragment generated by the multiple materials.
- the above step 403 can specifically be to perform decombination processing on the material package combination to obtain multiple materials, perform dependency generation processing on the multiple materials to obtain multiple material contents, perform material package resource creation processing on the multiple material contents to generate material package resources.
- the combination processing is the inverse processing of the grouping processing in the above step 203
- the dependency generation processing is the inverse processing of the removal of dependency processing in the above step 202
- the material package resource creation processing is the inverse processing of the parsing processing in the above step 201.
- the material package logo is displayed in the material area, and the material package resources are shared to the cloud, that is, they can be used by other users.
- the description of the material area, timeline area, material package combination, and material package resources can be specifically referred to the relevant description of steps 101 to 113 in the above embodiment, which will not be repeated here.
- a function of customizing and sharing material package resources based on multiple materials is provided to users.
- the customization methods of material packages can be increased, and the methods of sharing customized material packages can be increased, which can improve the user experience.
- the material packages can be combined into a composite fragment, or the composite fragment can be de-composited and then a new material package combination can be performed, so that the mutual conversion between the composite fragment and the material package combination can be realized.
- FIG5 there is a schematic diagram of a video editing interface, wherein the area indicated by mark “51” is the material area, the area indicated by mark “52” is the timeline area, the area indicated by mark “53” is the player area, and the area indicated by mark “54” is the function panel, wherein the material package option in the material area is in a selected state, and material 1, material 2, and material 3 selected in the timeline area are the three materials in the material package combination.
- FIG6 is a block diagram of a clip processing device shown in an embodiment of the present disclosure.
- the device comprises: a display module 601 for displaying a video clip interface, wherein the video clip interface comprises a material area and a timeline area.
- the material area When the material package option displayed in the material area is in a selected state, the material area further displays at least one material package identifier, wherein each material package identifier is used to indicate a material package resource, and each material package resource is a material package in the form of a composite fragment generated by multiple materials; a control module 602 for responding to a target trigger operation on a target material package identifier among the multiple material package identifiers, converting a target material package resource indicated by the target material package identifier into a target material package combination, and displaying the target material package combination in the timeline area; wherein the target material package combination is a combination of multiple target materials corresponding to the target material package identifier, and the multiple target materials are displayed independently of each other and have a binding relationship.
- the target trigger operation includes a download operation and a drag operation; the control module 602 is specifically used to download the target material package resources in response to the download operation, and convert the target material package resources into a target material package combination; in response to the drag operation, the target material package combination is displayed in the timeline area.
- control module 602 is specifically used to, when the trajectory of the drag operation does not enter the timeline area, the target material package identifier follows the movement of the drag operation; when the trajectory of the drag operation enters the timeline area, the target material package combination follows the movement of the drag operation.
- control module 602 is specifically used to parse the target material package resources to obtain multiple material contents, including material contents that have a strong dependency on the video; perform de-dependency processing on the multiple material contents to obtain multiple target materials; and perform grouping processing on the multiple target materials to generate the target material package combination.
- control module 602 is specifically used to perform compatibility and upgrade processing on the target material package resource to obtain the processed target material package resource; and parse the processed target material package resource to obtain the multiple material contents.
- the control module 602 is further used to, after displaying the target material package combination in the timeline area, respond to a first editing operation on the target material package combination to perform corresponding processing on the multiple target materials;
- the first editing operation includes at least one of the following: a selection operation on at least one material among the multiple target materials; a material package removal operation on at least one material among the multiple target materials; a move operation on the target material package combination; a time length editing operation on the target material package combination; a deletion operation on the target material package combination; Deactivate operation; cut operation on the target material package combination; copy operation on the target material package combination; create a new composite clip operation on the target material package combination; recognize subtitles/lyrics operation on the target material package combination.
- the control module 602 is also used to, after displaying the target material package combination in the timeline area, perform corresponding processing on the first target material in response to a second editing operation on the first target material in the target material package combination; wherein the second editing operation includes at least one of the following: a selection operation, a move operation, a duration editing operation, a deletion operation, a deactivation operation, a mirroring operation, a cutting operation, a copying operation, a new composite segment operation, and a subtitle/lyrics recognition operation; in some embodiments of the present application, the control module is also used to, after multiple edits and displays of target material objects are performed on at least one target material in the target material package combination, update the target material object to the target material package combination in response to a triggering operation on the timeline area, or add and display the target material package combination in the timeline area; wherein the target material object includes at least one of the following: a first material package combination and a first material; each material included in the first material package combination corresponds
- control module 602 is further used to generate a second material package combination in response to a new material package operation for multiple second materials displayed in the timeline area; and convert the second material package combination into a second material package resource for sharing.
- control module 602 is also used to respond to a trigger operation of synchronizing the current draft file corresponding to the video editing interface to the mobile terminal for editing, convert the material package combination in the current draft file into a material package in the form of a composite fragment, and generate a first draft file; and send the first draft file to the mobile terminal.
- control module 602 is also used to receive a second draft file sent by the mobile terminal after sending the first draft file to the mobile terminal, the second draft file being a draft file after the mobile terminal has edited the first draft file; converting a material package in the second draft file that conforms to a fragment format into a material package combination to generate a third draft file; and displaying the third draft file in the video editing interface.
- each module can implement the editing processing method provided in the above method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described here.
- Figure 6 is a structural block diagram of an editing processing device shown in an embodiment of the present disclosure, as shown in Figure 6, including: a display module 601, used to display a video editing interface, the video editing interface includes a material area and a timeline area; in response to a new material package operation for multiple materials in the timeline area, a material package combination is displayed in the timeline area, the material package combination is a combination of the multiple materials, the multiple materials are displayed independently of each other and have a binding relationship; a control module 602, used to convert the material package combination into a material package resource, the material package resource is a material package in the form of a composite fragment generated by the multiple materials; the display module 601 is also used to display a material package identifier in the material area, the material package identifier is used to indicate the material package resource.
- a display module 601 used to display a video editing interface, the video editing interface includes a material area and a timeline area; in response to a new material package operation for multiple materials in the timeline area, a material package combination is displayed in
- each module can implement the editing processing method provided in the above method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described here.
- FIG7 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure, which is used to exemplarily illustrate an electronic device that implements any clipping processing method in an embodiment of the present disclosure and should not be construed as a specific limitation on the embodiment of the present disclosure.
- the electronic device 700 may include a processor (e.g., a central processing unit, a graphics processing unit, etc.) 701, which may perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage device 708 into a random access memory (RAM) 703.
- ROM read-only memory
- RAM random access memory
- Various programs and data required for the operation of the electronic device 700 are also stored in the RAM 703.
- the processor 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704.
- An input/output (I/O) interface 705 is also connected to the bus 704.
- the following devices may be connected to the I/O interface 705: input devices 706 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 707 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 708 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 709.
- the communication device 709 may allow the electronic device 700 to communicate with other devices wirelessly or by wire to exchange data.
- the electronic device 700 having various devices is shown, it should be understood that it is not required to implement or have all the devices shown. More or fewer devices may be implemented or have alternatively.
- an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart.
- the computer program can be downloaded and installed from the network through the communication device 709, or installed from the storage device 708, or installed from the ROM 702.
- the processor 701 the functions defined in any clip processing method provided by the embodiment of the present disclosure can be executed.
- the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two.
- the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above.
- Computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
- a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device.
- a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried.
- This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above.
- Computer readable signal media may also be any computer readable medium other than computer readable storage media that can send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device.
- the program code contained on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency) frequency), etc., or any suitable combination of the above.
- the client and the server can communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., communication network).
- HTTP HyperText Transfer Protocol
- Examples of communication networks include local area networks ("LAN”), wide area networks ("WAN”), internets (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
- the computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
- the above-mentioned computer-readable medium carries one or more programs.
- the electronic device displays a video editing interface, the video editing interface includes a material area and a timeline area, and when the material package option displayed in the material area is in a selected state, the material area also displays at least one material package identifier, each material package identifier is used to indicate a material package resource, and each material package resource is a material package in the form of a composite fragment generated by multiple materials; in response to a target trigger operation on a target material package identifier among the multiple material package identifiers, converting a target material package resource indicated by the target material package identifier into a target material package combination, and displaying the target material package combination in the timeline area; wherein, the target material package combination is a combination of multiple target materials corresponding to the target material package identifier, and the multiple target materials are displayed independently of each other and have a binding relationship.
- the computer-readable medium carries one or more programs.
- the electronic device displays a video editing interface, which includes a material area and a timeline area; in response to a new material package operation for multiple materials in the timeline area, displays a material package combination in the timeline area, and the material package combination is a combination of the multiple materials, and the multiple materials are displayed independently of each other and have a binding relationship; converts the material package combination into a material package resource, and the material package resource is a material package in the form of a composite fragment generated by the multiple materials; and displays a material package identifier in the material area, and the material package identifier is used to indicate the material package resource.
- computer program codes for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including but not limited to object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages.
- the program code may be executed entirely on the computer, partially on the computer, as an independent software package, partially on the computer and partially on a remote computer, or entirely on a remote computer or server.
- the remote computer may be connected to the computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
- LAN local area network
- WAN wide area network
- Internet service provider e.g., via the Internet using an Internet service provider
- each box in the flowchart or block diagram may represent a module, a program segment, or a portion of code, which includes one or more Executable instructions for implementing a specified logical function.
- the functions marked in the blocks may also occur in an order different from that marked in the accompanying drawings. For example, two blocks represented in succession may actually be executed substantially in parallel, and they may sometimes be executed in the opposite order, depending on the functions involved.
- each block in the block diagram and/or flow chart, and the combination of blocks in the block diagram and/or flow chart may be implemented with a dedicated hardware-based system that performs the specified function or operation, or may be implemented with a combination of dedicated hardware and computer instructions.
- the units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.
- exemplary types of hardware logic components include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
- FPGAs field programmable gate arrays
- ASICs application specific integrated circuits
- ASSPs application specific standard products
- SOCs systems on chips
- CPLDs complex programmable logic devices
- a computer-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment.
- a computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium.
- a computer-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing.
- a more specific example of a computer-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
- RAM random access memory
- ROM read-only memory
- EPROM or flash memory erasable programmable read-only memory
- CD-ROM portable compact disk read-only memory
- CD-ROM compact disk read-only memory
- magnetic storage device or any suitable combination of the foregoing.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
Description
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求申请号为202311416622.8,题为“剪辑处理方法、装置、电子设备及计算机可读存储介质”、申请日为2023年10月27日的中国发明专利申请的优先权,通过引用方式将该申请整体并入本文。This application claims priority to the Chinese invention patent application with application number 202311416622.8, entitled “Editing processing method, device, electronic device and computer-readable storage medium” and filing date October 27, 2023, and the entire application is incorporated herein by reference.
本公开涉及视频处理技术领域,尤其涉及一种剪辑处理方法、装置、电子设备及计算机可读存储介质。The present disclosure relates to the field of video processing technology, and in particular to a clipping processing method, device, electronic device, and computer-readable storage medium.
随着互联网信息的日益丰富,观看视频已成为人们日常生活中的一项娱乐活动。为了提高用户的观看体验,在发布各类视频之前,对视频进行剪辑是一个重要环节。创作者在对视频进行剪辑的过程中,可以基于视频剪辑工具提供的素材资源,为视频添加特效、滤镜、文本、贴纸、视频片段等素材,以对视频进行包装,使得剪辑得到的待发布视频的效果更好。With the increasing abundance of information on the Internet, watching videos has become an entertainment activity in people's daily lives. In order to improve the user's viewing experience, video editing is an important step before publishing various videos. In the process of video editing, creators can add special effects, filters, texts, stickers, video clips and other materials to the video based on the material resources provided by the video editing tool to package the video, so that the edited video to be published has better effect.
然而,由于视频剪辑工具当前为创作者提供的素材均是独立素材,需要创作者具备一定的对素材的组合创作能力,或者创作者需要花费较长的时间,才能创作出包括多个素材的组合展示效果。因此,影响视频素材的剪辑效率,影响创作者的使用体验。However, since the materials currently provided by video editing tools are all independent materials, the creators need to have a certain ability to combine the materials, or the creators need to spend a long time to create a combined display effect including multiple materials. Therefore, the editing efficiency of video materials is affected, which affects the creator's user experience.
发明内容Summary of the invention
为了解决上述技术问题或者至少部分地解决上述技术问题,本公开提供了一种剪辑处理方法、装置、电子设备及计算机可读存储介质。In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a clip processing method, device, electronic device and computer-readable storage medium.
本公开实施例的第一方面,提供一种剪辑处理方法,该方法包括:展示视频剪辑界面,该视频剪辑界面包括素材区域和时间线区域,在该素材区域展示的素材包选项处于选中状态的情况下,该素材区域还展示有至少一个素材包标识,每个素材包标识用于指示一个素材包资源,每个素材包资源为由多个素材生成的复合片段形式的素材包;响应于对该多个素材包标识中的目标素材包标识的目标触发操作,将该目标素材包标识指示的目标素材包资源转换为目标素材包组合,在时间线区域展示该目标素材包组合;其中,该目标素材包组合为该目标素材包标识对应的多个目标素材的组合,该多个目标素材互相独立展示且存在绑定关系。A first aspect of an embodiment of the present disclosure provides a clip processing method, the method comprising: displaying a video clipping interface, the video clipping interface comprising a material area and a timeline area, when a material package option displayed in the material area is in a selected state, the material area also displays at least one material package identifier, each material package identifier is used to indicate a material package resource, and each material package resource is a material package in the form of a composite fragment generated by multiple materials; in response to a target trigger operation on a target material package identifier among the multiple material package identifiers, converting a target material package resource indicated by the target material package identifier into a target material package combination, and displaying the target material package combination in the timeline area; wherein the target material package combination is a combination of multiple target materials corresponding to the target material package identifier, and the multiple target materials are displayed independently of each other and have a binding relationship.
本申请一些实施例中,该目标触发操作包括下载操作和拖拽操作;In some embodiments of the present application, the target triggering operation includes a downloading operation and a dragging operation;
该响应于对该多个素材包标识中的目标素材包标识的目标触发操作,将该目标素材包 标识指示的目标素材包资源转换为目标素材包组合,在时间线区域展示该目标素材包组合,包括:响应于该下载操作,下载该目标素材包资源,并将该目标素材包资源转换为目标素材包组合;响应于该拖拽操作,在时间线区域展示该目标素材包组合。In response to a target trigger operation on a target material package identifier among the multiple material package identifiers, the target material package The target material package resource indicated by the identifier is converted into a target material package combination, and the target material package combination is displayed in the timeline area, including: in response to the download operation, downloading the target material package resource and converting the target material package resource into a target material package combination; in response to the drag operation, displaying the target material package combination in the timeline area.
本申请一些实施例中,该响应于该拖拽操作,在时间线区域展示该目标素材包组合,包括:在该拖拽操作的轨迹未进入时间线区域的情况下,目标素材包标识跟随拖拽操作移动;在该拖拽操作的轨迹进入时间线区域的情况下,目标素材包组合跟随拖拽操作移动。In some embodiments of the present application, in response to the drag operation, the target material package combination is displayed in the timeline area, including: when the trajectory of the drag operation does not enter the timeline area, the target material package identifier moves along with the drag operation; when the trajectory of the drag operation enters the timeline area, the target material package combination moves along with the drag operation.
本申请一些实施例中,该将该目标素材包标识指示的目标素材包资源转换为目标素材包组合,包括:解析该目标素材包资源,得到多个素材内容,该多个素材内容中包括对视频存在强依赖关系的素材内容;对该多个素材内容进行去依赖处理,得到多个目标素材;对该多个目标素材进行成组处理,生成该目标素材包组合。In some embodiments of the present application, the target material package resource indicated by the target material package identifier is converted into a target material package combination, including: parsing the target material package resource to obtain multiple material contents, the multiple material contents including material contents that have a strong dependency on the video; performing de-dependency processing on the multiple material contents to obtain multiple target materials; and grouping the multiple target materials to generate the target material package combination.
本申请一些实施例中,该解析该目标素材包资源,得到多个素材内容,包括:对该目标素材包资源进行兼容并升级处理,得到处理后的该目标素材包资源;解析处理后的该目标素材包资源,得到该多个素材内容。In some embodiments of the present application, parsing the target material package resource to obtain multiple material contents includes: performing compatibility and upgrade processing on the target material package resource to obtain the processed target material package resource; parsing the processed target material package resource to obtain the multiple material contents.
本申请一些实施例中,该在时间线区域展示该目标素材包组合之后,该方法还包括:响应于对该目标素材包组合的第一编辑操作,对该多个目标素材进行相应处理;第一编辑操作包括以下至少一项:对该多个目标素材中的至少一个素材的选中操作;对该多个目标素材中的至少一个素材解除素材包操作;对该目标素材包组合的移动操作;对该目标素材包组合的时长编辑操作;对该目标素材包组合的删除操作;对该目标素材包组合的停用操作;对该目标素材包组合的剪切操作;对该目标素材包组合的复制操作;对该目标素材包组合的新建复合片段操作;对该目标素材包组合的识别字幕/歌词操作。In some embodiments of the present application, after displaying the target material package combination in the timeline area, the method also includes: in response to a first editing operation on the target material package combination, performing corresponding processing on the multiple target materials; the first editing operation includes at least one of the following: a selection operation on at least one material among the multiple target materials; a material package release operation on at least one material among the multiple target materials; a move operation on the target material package combination; a duration editing operation on the target material package combination; a deletion operation on the target material package combination; a deactivation operation on the target material package combination; a cutting operation on the target material package combination; a copy operation on the target material package combination; a new composite fragment operation on the target material package combination; and a subtitle/lyrics recognition operation on the target material package combination.
本申请一些实施例中,该在时间线区域展示该目标素材包组合之后,该方法还包括:响应于对该目标素材包组合中的第一目标素材的第二编辑操作,对第一目标素材进行相应处理;其中,第二编辑操作包括以下至少一项:选中操作、移动操作、时长编辑操作、删除操作,停用操作,镜像操作、剪切操作、复制操作、新建复合片段操作、识别字幕/歌词操作;本申请一些实施例中,该方法还包括:在对该目标素材包组合中的至少一个目标素材进行多次编辑显示目标素材对象之后,响应于对时间线区域的触发操作,将该目标素材对象更新为该目标素材包组合,或者,在该时间线区域增加显示该目标素材包组合;其中,该目标素材对象包括以下至少一项:第一素材包组合、第一素材;第一素材包组合包括的每个素材分别与该目标素材包组合中的一个目标素材对应,第一素材对应该目标素材包组合中的一个目标素材。In some embodiments of the present application, after displaying the target material package combination in the timeline area, the method further includes: in response to a second editing operation on the first target material in the target material package combination, performing corresponding processing on the first target material; wherein the second editing operation includes at least one of the following: a selection operation, a move operation, a duration editing operation, a deletion operation, a deactivation operation, a mirroring operation, a cutting operation, a copying operation, a new composite clip operation, and a subtitle/lyrics identification operation; in some embodiments of the present application, the method further includes: after multiple editing and displaying of the target material object of at least one target material in the target material package combination, in response to a triggering operation on the timeline area, updating the target material object to the target material package combination, or adding the display of the target material package combination in the timeline area; wherein the target material object includes at least one of the following: a first material package combination, a first material; each material included in the first material package combination corresponds to a target material in the target material package combination, and the first material corresponds to a target material in the target material package combination.
本申请一些实施例中,该方法还包括:响应于对该时间线区域展示的多个第二素材的新建素材包操作,生成第二素材包组合;将第二素材包组合转换为第二素材包资源分享出去。 In some embodiments of the present application, the method further includes: generating a second material package combination in response to a new material package operation for multiple second materials displayed in the timeline area; and converting the second material package combination into a second material package resource for sharing.
本申请一些实施例中,该方法还包括:响应于将该视频剪辑界面对应的当前草稿文件同步至移动端进行剪辑的触发操作,将该当前草稿文件中的素材包组合转换成复合片段形式的素材包,生成第一草稿文件;将第一草稿文件发送至该移动端。In some embodiments of the present application, the method also includes: in response to a trigger operation of synchronizing the current draft file corresponding to the video editing interface to the mobile terminal for editing, converting the material packages in the current draft file into a material package in the form of a composite fragment to generate a first draft file; and sending the first draft file to the mobile terminal.
本申请一些实施例中,该将该第一草稿文件发送至该移动端之后,该方法还包括:接收该移动端发送的第二草稿文件,第二草稿文件为该移动端对第一草稿文件进行剪辑处理后的草稿文件;将第二草稿文件中的符合片段形式的素材包转换为素材包组合,生成第三草稿文件;在该视频剪辑界面展示第三草稿文件。In some embodiments of the present application, after sending the first draft file to the mobile terminal, the method also includes: receiving a second draft file sent by the mobile terminal, the second draft file being a draft file after the mobile terminal has edited the first draft file; converting the material packages in the second draft file that conform to the form of fragments into a material package combination to generate a third draft file; and displaying the third draft file in the video editing interface.
本公开实施例的第二方面,提供一种剪辑处理装置,该装置包括:展示模块,用于展示视频剪辑界面,该视频剪辑界面包括素材区域和时间线区域,在该素材区域展示的素材包选项处于选中状态的情况下,该素材区域还展示有至少一个素材包标识,每个素材包标识用于指示一个素材包资源,每个素材包资源为由多个素材生成的复合片段形式的素材包;控制模块,用于响应于对该多个素材包标识中的目标素材包标识的目标触发操作,将该目标素材包标识指示的目标素材包资源转换为目标素材包组合,在时间线区域展示该目标素材包组合;其中,该目标素材包组合为该目标素材包标识对应的多个目标素材的组合,该多个目标素材互相独立展示且存在绑定关系。According to a second aspect of the disclosed embodiments, there is provided an editing processing device, the device comprising: a display module for displaying a video editing interface, the video editing interface comprising a material area and a timeline area, when the material package option displayed in the material area is in a selected state, the material area also displays at least one material package identifier, each material package identifier is used to indicate a material package resource, each material package resource is a material package in the form of a composite fragment generated by multiple materials; a control module for responding to a target trigger operation on a target material package identifier among the multiple material package identifiers, converting a target material package resource indicated by the target material package identifier into a target material package combination, and displaying the target material package combination in the timeline area; wherein the target material package combination is a combination of multiple target materials corresponding to the target material package identifier, and the multiple target materials are displayed independently of each other and have a binding relationship.
本申请一些实施例中,该目标触发操作包括下载操作和拖拽操作;该控制模块,具体用于响应于该下载操作,下载该目标素材包资源,并将该目标素材包资源转换为目标素材包组合;响应于该拖拽操作,在时间线区域展示该目标素材包组合。In some embodiments of the present application, the target trigger operation includes a download operation and a drag operation; the control module is specifically used to download the target material package resources in response to the download operation, and convert the target material package resources into a target material package combination; in response to the drag operation, the target material package combination is displayed in the timeline area.
本申请一些实施例中,该控制模块,具体用于在该拖拽操作的轨迹未进入时间线区域的情况下,目标素材包标识跟随拖拽操作移动;在该拖拽操作的轨迹进入时间线区域的情况下,目标素材包组合跟随拖拽操作移动。In some embodiments of the present application, the control module is specifically used to, when the trajectory of the drag operation does not enter the timeline area, the target material package identifier follows the drag operation to move; when the trajectory of the drag operation enters the timeline area, the target material package combination follows the drag operation to move.
本申请一些实施例中,该控制模块,具体用于解析该目标素材包资源,得到多个素材内容,该多个素材内容中包括对视频存在强依赖关系的素材内容;对该多个素材内容进行去依赖处理,得到多个目标素材;对该多个目标素材进行成组处理,生成该目标素材包组合。In some embodiments of the present application, the control module is specifically used to parse the target material package resources to obtain multiple material contents, including material contents that have a strong dependency on the video; perform de-dependency processing on the multiple material contents to obtain multiple target materials; and perform grouping processing on the multiple target materials to generate the target material package combination.
本申请一些实施例中,该控制模块,具体用于对该目标素材包资源进行兼容并升级处理,得到处理后的该目标素材包资源;解析处理后的该目标素材包资源,得到该多个素材内容。In some embodiments of the present application, the control module is specifically used to perform compatibility and upgrade processing on the target material package resources to obtain the processed target material package resources; and parse the processed target material package resources to obtain the multiple material contents.
本申请一些实施例中,该控制模块,还用于在时间线区域展示该目标素材包组合之后,响应于对该目标素材包组合的第一编辑操作,对该多个目标素材进行相应处理;第一编辑操作包括以下至少一项:对该多个目标素材中的至少一个素材的选中操作;对该多个目标素材中的至少一个素材解除素材包操作;对该目标素材包组合的移动操作;对该目标素材包组合的时长编辑操作;对该目标素材包组合的删除操作;对该目标素材包组合的停用操 作;对该目标素材包组合的剪切操作;对该目标素材包组合的复制操作;对该目标素材包组合的新建复合片段操作;对该目标素材包组合的识别字幕/歌词操作。In some embodiments of the present application, the control module is further used to, after displaying the target material package combination in the timeline area, respond to a first editing operation on the target material package combination to perform corresponding processing on the multiple target materials; the first editing operation includes at least one of the following: a selection operation on at least one material among the multiple target materials; a material package removal operation on at least one material among the multiple target materials; a move operation on the target material package combination; a time length editing operation on the target material package combination; a deletion operation on the target material package combination; a deactivation operation on the target material package combination; operation; a cut operation on the target material package combination; a copy operation on the target material package combination; a new composite clip operation on the target material package combination; and a subtitle/lyrics recognition operation on the target material package combination.
本申请一些实施例中,该控制模块,还用于在时间线区域展示该目标素材包组合之后,响应于对该目标素材包组合中的第一目标素材的第二编辑操作,对第一目标素材进行相应处理;其中,第二编辑操作包括以下至少一项:选中操作、移动操作、时长编辑操作、删除操作,停用操作,镜像操作、剪切操作、复制操作、新建复合片段操作、识别字幕/歌词操作;本申请一些实施例中,该控制模块,还用于在对该目标素材包组合中的至少一个目标素材进行多次编辑显示目标素材对象之后,响应于对时间线区域的触发操作,将该目标素材对象更新为该目标素材包组合,或者,在该时间线区域增加显示该目标素材包组合;其中,该目标素材对象包括以下至少一项:第一素材包组合、第一素材;第一素材包组合包括的每个素材分别与该目标素材包组合中的一个目标素材对应,第一素材对应该目标素材包组合中的一个目标素材。In some embodiments of the present application, the control module is also used to, after displaying the target material package combination in the timeline area, respond to a second editing operation on the first target material in the target material package combination to perform corresponding processing on the first target material; wherein the second editing operation includes at least one of the following: a selection operation, a move operation, a duration editing operation, a deletion operation, a deactivation operation, a mirroring operation, a cutting operation, a copying operation, a new composite segment operation, and a subtitle/lyrics recognition operation; in some embodiments of the present application, the control module is also used to, after multiple edits and displays of the target material object are performed on at least one target material in the target material package combination, respond to a triggering operation on the timeline area to update the target material object to the target material package combination, or to add and display the target material package combination in the timeline area; wherein the target material object includes at least one of the following: a first material package combination and a first material; each material included in the first material package combination corresponds to a target material in the target material package combination, and the first material corresponds to a target material in the target material package combination.
本申请一些实施例中,该控制模块,还用于响应于对该时间线区域展示的多个第二素材的新建素材包操作,生成第二素材包组合;将第二素材包组合转换为第二素材包资源分享出去。In some embodiments of the present application, the control module is further used to generate a second material package combination in response to a new material package operation for multiple second materials displayed in the timeline area; and convert the second material package combination into a second material package resource for sharing.
本申请一些实施例中,该控制模块,还用于响应于将该视频剪辑界面对应的当前草稿文件同步至移动端进行剪辑的触发操作,将该当前草稿文件中的素材包组合转换成复合片段形式的素材包,生成第一草稿文件;将第一草稿文件发送至该移动端。In some embodiments of the present application, the control module is also used to respond to a trigger operation of synchronizing the current draft file corresponding to the video editing interface to the mobile terminal for editing, convert the material package combination in the current draft file into a material package in the form of a composite fragment, and generate a first draft file; and send the first draft file to the mobile terminal.
本申请一些实施例中,该控制模块,还用于在将该第一草稿文件发送至该移动端之后,接收该移动端发送的第二草稿文件,第二草稿文件为该移动端对第一草稿文件进行剪辑处理后的草稿文件;将第二草稿文件中的符合片段形式的素材包转换为素材包组合,生成第三草稿文件;在该视频剪辑界面展示第三草稿文件。In some embodiments of the present application, the control module is also used to receive a second draft file sent by the mobile terminal after sending the first draft file to the mobile terminal, the second draft file being a draft file after the mobile terminal has edited the first draft file; converting a material package in the second draft file that conforms to a fragment format into a material package combination to generate a third draft file; and displaying the third draft file in the video editing interface.
本公开实施例的第三方面,提供一种剪辑处理方法,该方法包括:展示视频剪辑界面,该视频剪辑界面包括素材区域和时间线区域;响应于对该时间线区域中的多个素材的新建素材包操作,在该时间线区域中展示素材包组合,该素材包组合为该多个素材的组合,该多个素材互相独立展示且存在绑定关系;将该素材包组合转化为素材包资源,该素材包资源为由该多个素材生成的复合片段形式的素材包;在该素材区域展示素材包标识,该素材包标识用于指示该素材包资源。A third aspect of an embodiment of the present disclosure provides a editing processing method, the method comprising: displaying a video editing interface, the video editing interface comprising a material area and a timeline area; in response to a new material package operation for a plurality of materials in the timeline area, displaying a material package combination in the timeline area, the material package combination being a combination of the plurality of materials, the plurality of materials being displayed independently of each other and having a binding relationship; converting the material package combination into a material package resource, the material package resource being a material package in the form of a composite fragment generated by the plurality of materials; and displaying a material package identifier in the material area, the material package identifier being used to indicate the material package resource.
本公开实施例的第四方面,提供一种剪辑处理装置,该装置包括:展示模块,用于展示视频剪辑界面,该视频剪辑界面包括素材区域和时间线区域;响应于对该时间线区域中的多个素材的新建素材包操作,在该时间线区域中展示素材包组合,该素材包组合为该多个素材的组合,该多个素材互相独立展示且存在绑定关系;控制模块,用于将该素材包组合转化为素材包资源,该素材包资源为由该多个素材生成的复合片段形式的素材包;展示 模块,还用于在该素材区域展示素材包标识,该素材包标识用于指示该素材包资源。According to a fourth aspect of the embodiments of the present disclosure, there is provided a clip processing device, the device comprising: a display module for displaying a video clip interface, the video clip interface comprising a material area and a timeline area; in response to a new material package operation for a plurality of materials in the timeline area, displaying a material package combination in the timeline area, the material package combination being a combination of the plurality of materials, the plurality of materials being displayed independently of each other and having a binding relationship; a control module for converting the material package combination into a material package resource, the material package resource being a material package in the form of a composite segment generated by the plurality of materials; and displaying The module is also used to display a material package logo in the material area, and the material package logo is used to indicate the material package resource.
本公开实施例的第五方面,提供一种电子设备,该电子设备包括处理器、存储器及存储在该存储器上并可在该处理器上运行的计算机程序,该计算机程序被该处理器执行时实现如第一方面或第三方面所述的剪辑处理方法。According to a fifth aspect of an embodiment of the present disclosure, an electronic device is provided, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the clipping processing method as described in the first aspect or the third aspect is implemented.
本公开实施例的第四方面,提供一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现如第一方面或第三方面所述的剪辑处理方法。According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the clipping processing method as described in the first aspect or the third aspect is implemented.
本公开实施例的第五方面,提供了一种计算机程序产品,其中,该计算机程序产品包括计算机程序,当该计算机程序产品在处理器上运行时,使得处理器执行该计算机程序,实现如第一方面或第三方面所述的剪辑处理方法。According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, wherein the computer program product includes a computer program. When the computer program product runs on a processor, the processor executes the computer program to implement the clipping processing method as described in the first aspect or the third aspect.
本公开实施例的第六方面,提供了一种芯片,该芯片包括处理器和通信接口,该通信接口和该处理器耦合,该处理器用于运行程序指令,实现如第一方面或第三方面所述的剪辑处理方法。According to a sixth aspect of an embodiment of the present disclosure, a chip is provided, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run program instructions to implement the clipping processing method described in the first aspect or the third aspect.
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
图1为本公开实施例提供的一种剪辑处理方法的流程示意图之一;FIG1 is a flow chart of a method for editing provided by an embodiment of the present disclosure;
图2为本公开实施例提供的剪辑处理方法的流程示意图之二;FIG2 is a second flow chart of the editing method provided by the embodiment of the present disclosure;
图3为本公开实施例提供的剪辑处理方法的流程示意图之三;FIG3 is a third flow chart of the editing processing method provided in the embodiment of the present disclosure;
图4A为本公开实施例提供的剪辑处理方法的流程示意图之四;FIG4A is a fourth flowchart of the editing processing method provided by an embodiment of the present disclosure;
图4B为本公开实施例提供的剪辑处理方法的流程示意图之五;FIG4B is a fifth flowchart of the editing method provided in an embodiment of the present disclosure;
图5为本公开实施例提供的一种剪辑处理方法的界面示意图;FIG5 is a schematic diagram of an interface of a clipping processing method provided by an embodiment of the present disclosure;
图6为本公开实施例提供的一种剪辑处理装置的结构框图;FIG6 is a structural block diagram of a clip processing device provided by an embodiment of the present disclosure;
图7为本公开实施例提供的一种电子设备的结构框图。FIG. 7 is a structural block diagram of an electronic device provided by an embodiment of the present disclosure.
为了能够更清楚地理解本公开的上述目的、特征和优点,下面将对本公开的方案进行进一步描述。需要说明的是,在不冲突的情况下,本公开的实施例及实施例中的特征可以相互组合。In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
在下面的描述中阐述了很多具体细节以便于充分理解本公开,但本公开还可以采用其 他不同于在此描述的方式来实施;显然,说明书中的实施例只是本公开的一部分实施例,而不是全部的实施例。In the following description, many specific details are set forth to provide a thorough understanding of the present disclosure, but the present disclosure may also be employed in other It is implemented in a manner different from that described herein; obviously, the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all the embodiments.
本公开的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本公开的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the specification and claims of the present disclosure are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable when appropriate, so that the embodiments of the present disclosure can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and/or" in the specification and claims represents at least one of the connected objects, and the character "/" generally indicates that the objects associated with each other are in an "or" relationship.
母草稿也可称为主草稿,子草稿是母草稿中的嵌套内容,子草稿可以独立于母草稿中,子草稿与母草稿是相互独立的内容;复合片段对应为母草稿中的一个子草稿;素材包对应为母草稿中的部分内容,是母草稿的一部分,不能独立于母草稿中。The mother draft can also be called the main draft. The child draft is the nested content in the mother draft. The child draft can be independent of the mother draft. The child draft and the mother draft are independent of each other. The composite fragment corresponds to a child draft in the mother draft. The material package corresponds to part of the content in the mother draft, which is part of the mother draft and cannot be independent of the mother draft.
目前,存在创作者在剪辑过程中,将多个素材添加到时间线区域进行组合展示,然后合成为复合片段形式的独立素材的使用场景,其中,合成为复合片段的多个素材可以为本地素材、云端下载素材等,合成为复合片段的多个素材所属的素材类型可以包括特效、滤镜、文本、贴纸、视频片段等中的至少一项。Currently, there is a usage scenario in which creators add multiple materials to the timeline area for combined display during the editing process, and then synthesize them into independent materials in the form of a composite clip, where the multiple materials synthesized into the composite clip can be local materials, cloud downloaded materials, etc., and the material types of the multiple materials synthesized into the composite clip can include at least one of special effects, filters, texts, stickers, video clips, etc.
在开发测试中发现,大部分特效、滤镜都需要实体才能生效;在复合片段的使用场景中,需保证特效只依据子草稿中内容进行合成,而不依据母草稿内容,因此复合片段可独立成段,里面的素材内容作用于子草稿内的视频,不作用于母草稿中的视频。然而,素材包本身多为特效、滤镜的组合,在使用中需结合母草稿中的内容进行合成,不能独立构成段落,素材包内的素材依赖母草稿中的视频,复合片段无法满足素材包的使用场景,技术上目前也无法兼容两种场景。During development and testing, we found that most special effects and filters require entities to take effect; in the use scenario of compound clips, it is necessary to ensure that special effects are synthesized only based on the content in the child draft, not the content in the parent draft. Therefore, compound clips can be independent segments, and the material content in them acts on the video in the child draft, not on the video in the parent draft. However, the material package itself is mostly a combination of special effects and filters. When used, it needs to be synthesized in combination with the content in the parent draft and cannot form a paragraph independently. The materials in the material package depend on the video in the parent draft. Compound clips cannot meet the use scenarios of material packages, and technically, they are currently incompatible with both scenarios.
为了解决上述技术问题,本申请实施例中,通过展示视频剪辑界面,该视频剪辑界面包括素材区域和时间线区域,在该素材区域展示的素材包选项处于选中状态的情况下,该素材区域还展示有至少一个素材包标识,每个素材包标识用于指示一个素材包资源,每个素材包资源为由多个素材生成的复合片段形式的素材包;响应于对该多个素材包标识中的目标素材包标识的目标触发操作,将该目标素材包标识指示的目标素材包资源转换为目标素材包组合,在时间线区域展示该目标素材包组合;其中,该目标素材包组合为该目标素材包标识对应的多个目标素材的组合,该多个目标素材互相独立展示且存在绑定关系。如此,可以通过对素材区域的素材包标识的触发操作,在时间线区域展示素材包标识对应的素材包组合,素材包组合以多个素材的组合的形式展示,而不是以复合片段的形式展示,增加了视频剪辑工具为用户提供的素材的展示形式,便于创作者使用,提高了创造者的剪辑效率,而且降低了对创作者剪辑能力的要求;而且在云端展示的素材包为复合片段形式的,便于管理,在时间线区域展示的素材包为组合形式的,便于创造者理解素材组成以及 二次编辑,可以提高用户体验。In order to solve the above technical problems, in an embodiment of the present application, a video editing interface is displayed, which includes a material area and a timeline area. When the material package option displayed in the material area is in a selected state, the material area also displays at least one material package identifier, each material package identifier is used to indicate a material package resource, and each material package resource is a material package in the form of a composite fragment generated by multiple materials; in response to a target trigger operation on a target material package identifier among the multiple material package identifiers, the target material package resource indicated by the target material package identifier is converted into a target material package combination, and the target material package combination is displayed in the timeline area; wherein, the target material package combination is a combination of multiple target materials corresponding to the target material package identifier, and the multiple target materials are displayed independently of each other and have a binding relationship. In this way, the material package combination corresponding to the material package identifier can be displayed in the timeline area by triggering the material package identifier in the material area. The material package combination is displayed in the form of a combination of multiple materials rather than in the form of a compound clip, which increases the display form of materials provided by the video editing tool to users, is convenient for creators to use, improves the editing efficiency of creators, and reduces the requirements for the editing ability of creators; and the material package displayed in the cloud is in the form of a compound clip, which is easy to manage, and the material package displayed in the timeline area is in the form of a combination, which is convenient for creators to understand the material composition and Secondary editing can improve user experience.
本公开实施例中的电子设备可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等非移动电子设备;本公开实施例不作具体限定。The electronic device in the embodiments of the present disclosure may be a personal computer (PC), a television (TV), an ATM or an ATM, or other non-mobile electronic device; the embodiments of the present disclosure are not specifically limited thereto.
本公开实施例提供的剪辑处理方法的执行主体可以为上述的电子设备,也可以为该电子设备中能够实现该剪辑处理方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本公开实施例不作限定。The execution subject of the clipping processing method provided in the embodiment of the present disclosure may be the above-mentioned electronic device, or may be a functional module and/or functional entity in the electronic device that can implement the clipping processing method. The specific execution subject may be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
下面结合附图,通过具体的实施例及其应用场景对本公开实施例提供的剪辑处理方法进行详细地说明。The following describes in detail the editing processing method provided by the embodiment of the present disclosure through specific embodiments and application scenarios in conjunction with the accompanying drawings.
如图1所示,本公开实施例提供一种剪辑处理方法,该方法可以包括下述的步骤101至步骤102。As shown in FIG. 1 , an embodiment of the present disclosure provides a clipping processing method, which may include the following steps 101 to 102 .
101、展示视频剪辑界面,该视频剪辑界面包括素材区域和时间线区域。101. Display a video editing interface, which includes a material area and a timeline area.
其中,在该素材区域展示的素材包选项处于选中状态的情况下,该素材区域还展示有至少一个素材包标识,每个素材包标识用于指示一个素材包资源,每个素材包资源为由多个素材生成的复合片段形式的素材包。Among them, when the material package option displayed in the material area is in a selected state, the material area also displays at least one material package identifier, each material package identifier is used to indicate a material package resource, and each material package resource is a material package in the form of a composite fragment generated by multiple materials.
其中,素材区域展示有多个素材类型选项,多个素材类型选项包括素材包选项,还包括特效选项、滤镜选项、文本选项、贴纸选项、素材库选项等,具体可以根据实际情况确定,此处不做限定。Among them, the material area displays multiple material type options, including material package options, special effects options, filter options, text options, sticker options, material library options, etc. The specific options can be determined based on actual conditions and are not limited here.
其中,在不同的素材选项处于选中状态时,素材区域展示对应的处于选中状态的素材选项对应的多个素材标识。When different material options are in a selected state, the material area displays a plurality of material identifiers corresponding to the corresponding material options in the selected state.
在云端存储时素材包资源是以复合片段的形式存在的,但是在使用时,需要先将素材包资源转换为素材包组合,才能在时间线区域进行展示。When stored in the cloud, the material package resources exist in the form of compound clips. However, when using them, you need to convert the material package resources into a material package combination before you can display them in the timeline area.
102、响应于对该多个素材包标识中的目标素材包标识的目标触发操作,将该目标素材包标识指示的目标素材包资源转换为目标素材包组合,在时间线区域展示该目标素材包组合。102. In response to a target triggering operation on a target material package identifier among the multiple material package identifiers, convert a target material package resource indicated by the target material package identifier into a target material package combination, and display the target material package combination in a timeline area.
其中,该目标素材包组合为该目标素材包标识对应的多个目标素材的组合,该多个目标素材互相独立展示且存在绑定关系。The target material package combination is a combination of multiple target materials corresponding to the target material package identifier, and the multiple target materials are displayed independently of each other and have a binding relationship.
可以理解,在时间线区域展示目标素材包组合,组成目标素材包组合的多个目标素材中的每个目标素材分别在时间线区域展示,多个目标素材之间是独立显示的,但是多个目标素材中的素材之间存在关联关系(绑定关系)。It can be understood that the target material package combination is displayed in the timeline area, and each of the multiple target materials that constitute the target material package combination is displayed separately in the timeline area. The multiple target materials are displayed independently, but there is an association relationship (binding relationship) between the materials in the multiple target materials.
其中,关联关系可以包括位置相对关系,时长相对关系等。The association relationship may include a relative position relationship, a relative time relationship, etc.
本申请实施例中,可以通过对素材区域的素材包标识的触发操作,在时间线区域展示素材包标识对应的素材包组合,素材包组合以多个素材的组合的形式展示,而不是以复合片段的形式展示,增加了视频剪辑工具为用户提供的素材的展示形式,便于创作者使用, 提高了创造者的剪辑效率,而且降低了对创作者剪辑能力的要求;而且在云端展示的素材包为复合片段形式的,便于管理,在时间线区域展示的素材包为组合形式的,便于创造者理解素材组成以及二次编辑,可以提高用户体验。In the embodiment of the present application, the material package combination corresponding to the material package identifier can be displayed in the timeline area by triggering the material package identifier in the material area. The material package combination is displayed in the form of a combination of multiple materials instead of in the form of a composite clip, which increases the display form of the materials provided by the video editing tool for the user, making it easier for the creator to use. It improves the editing efficiency of creators and reduces the requirements for their editing skills. The material packages displayed in the cloud are in the form of composite clips, which is easy to manage, and the material packages displayed in the timeline area are in a combined form, which is convenient for creators to understand the composition of the materials and secondary editing, which can improve the user experience.
本申请一些实施例中,在目标素材包指示的目标素材包资源之前已经下载到本地的情况下,目标触发操作不包括下载操作,在目标素材包指示的目标素材包资源未下载到本地的情况下,目标触发操作包括下载操作。In some embodiments of the present application, when the target material package resources indicated by the target material package have been previously downloaded locally, the target trigger operation does not include a download operation; when the target material package resources indicated by the target material package have not been downloaded locally, the target trigger operation includes a download operation.
本申请一些实施例中,在目标触发操作包括下载操作的情况下,可以在下载过程中,将该目标素材包资源转换为目标素材包组合,也可以在下载到本地之后,再将该目标素材包资源转换为目标素材包组合,如可以响应于在时间线区域添加目标资源包标识指示的目标资源包资源的添加操作,将该目标素材包资源转换为目标素材包组合,并在时间线区域显示目标资源包组合。In some embodiments of the present application, when the target trigger operation includes a download operation, the target material package resource can be converted into a target material package combination during the download process, or the target material package resource can be converted into a target material package combination after being downloaded locally. For example, in response to an operation of adding a target resource package resource indicated by a target resource package identifier in the timeline area, the target material package resource can be converted into a target material package combination and the target resource package combination can be displayed in the timeline area.
其中,添加操作可以为点击素材区域的目标资源包标识的触发操作,也可以为将目标资源包标识拖拽至时间线区域的触发操作,还可以是其他的可行性操作,具体可以根据实际情况确定,此处不做限定。The adding operation may be a triggering operation of clicking the target resource package logo in the material area, or a triggering operation of dragging the target resource package logo to the timeline area, or other feasible operations, which may be determined according to actual conditions and are not limited here.
本申请一些实施例中,结合图1,如图2所示,该目标触发操作包括下载操作和拖拽操作;上述步骤102具体可以通过下述步骤102a和步骤102b实现。In some embodiments of the present application, in combination with FIG. 1 , as shown in FIG. 2 , the target trigger operation includes a download operation and a drag operation; the above step 102 can be specifically implemented through the following steps 102a and 102b.
102a、响应于该下载操作,下载该目标素材包资源,并将该目标素材包资源转换为目标素材包组合。102a. In response to the download operation, download the target material package resource, and convert the target material package resource into a target material package combination.
102b、响应于该拖拽操作,在时间线区域展示该目标素材包组合。102b. In response to the dragging operation, display the target material package combination in the timeline area.
本申请实施例中,响应于下载操作,下载该目标素材包资源,并将该目标素材包资源转换为目标素材包组合,即在拖拽操作之前,即已经将目标素材包资源转换为目标素材包组合,如此响应于拖拽操作,可以快速在时间线区域展示目标素材包组合,可以提高用户体验。In an embodiment of the present application, in response to a download operation, the target material package resource is downloaded and converted into a target material package combination. That is, before the dragging operation, the target material package resource has been converted into a target material package combination. In this way, in response to the dragging operation, the target material package combination can be quickly displayed in the timeline area, which can improve the user experience.
本申请一些实施例中,结合图2,如图3所示,上述步骤102b具体可以通过下述步骤102b1和步骤102b2实现。In some embodiments of the present application, in combination with FIG. 2 , as shown in FIG. 3 , the above step 102b may be specifically implemented through the following steps 102b1 and 102b2 .
102b1、在该拖拽操作的轨迹未进入时间线区域的情况下,目标素材包标识跟随拖拽操作移动。102b1. When the track of the drag operation does not enter the timeline area, the target material package identifier moves following the drag operation.
102b2、在该拖拽操作的轨迹进入时间线区域的情况下,目标素材包组合跟随拖拽操作移动。102b2. When the track of the drag operation enters the timeline area, the target material package combination moves following the drag operation.
本申请实施例中,在拖拽操作的轨迹进入时间线区域的情况下,目标素材包组合跟随拖拽操作移动,即在拖拽目标素材包标识进入时间线区域之后,目标素材包标识变为目标素材包组合,如此,在拖拽操作未结束之前,即可以展示目标素材包组合的样式,让用户可以提前了解目标素材包组合,可以提高用户体验。 In an embodiment of the present application, when the trajectory of the drag operation enters the timeline area, the target material package combination follows the drag operation, that is, after the target material package identifier is dragged into the timeline area, the target material package identifier becomes the target material package combination. In this way, the style of the target material package combination can be displayed before the drag operation is completed, so that the user can understand the target material package combination in advance, which can improve the user experience.
本申请实施例中,由于构成素材包资源的多个素材中包括对视频存在强依赖关系的素材内容,因此,在将素材包资源转换为素材包组合的过程中,需要去除对视频存在强依赖关系的素材内容的这类素材的对视频的依赖。In the embodiment of the present application, since the multiple materials constituting the material package resource include material content that has a strong dependency on the video, in the process of converting the material package resource into a material package combination, it is necessary to remove the dependency of such material content that has a strong dependency on the video on the video.
本申请一些实施例中,如图4A所示,该将该目标素材包标识指示的目标素材包资源转换为目标素材包组合具体可以通过下述步骤201至步骤203实现。In some embodiments of the present application, as shown in FIG. 4A , the conversion of the target material package resource indicated by the target material package identifier into a target material package combination may be specifically implemented through the following steps 201 to 203 .
201、解析该目标素材包资源,得到多个素材内容。201. Parse the target material package resource to obtain multiple material contents.
其中,该多个素材内容中包括对视频存在强依赖关系的素材内容。The multiple material contents include material contents that have a strong dependency on the video.
可以多个素材内容中每个素材内容均对视频存在强依赖关系,也可以多个素材内容中部分素材内容对视频存在强依赖关系,具体可以根据实际情况确定,此处不做限定。Each of the multiple material contents may have a strong dependency on the video, or some of the multiple material contents may have a strong dependency on the video. The specific dependency may be determined based on actual conditions and is not limited here.
202、对该多个素材内容进行去依赖处理,得到多个目标素材。202. De-dependence processing is performed on the multiple material contents to obtain multiple target materials.
203、对该多个目标素材进行成组处理,生成该目标素材包组合。203. Group the multiple target materials to generate the target material package combination.
其中,素材包资源解析处理、素材内容去依赖、多个素材成组处理可以根据实际情况确定,此处不做限定。Among them, the material package resource analysis and processing, material content dependency removal, and multiple material grouping processing can be determined according to actual conditions and are not limited here.
本申请实施例中,通过对目标素材包资源进行解析处理、去依赖处理和成组处理,得到目标素材包组合,使得将复合片段形式的目标素材包资源转换为组合形式的目标素材包组合,从而可以使得在时间线区域展示目标素材包组合,提高基于目标素材包组合的剪辑效率。In an embodiment of the present application, the target material package combination is obtained by parsing, removing dependencies and grouping the target material package resources, so that the target material package resources in the form of a composite fragment are converted into a target material package combination in a combined form, so that the target material package combination can be displayed in the timeline area, thereby improving the editing efficiency based on the target material package combination.
本申请一些实施例中,上述步骤201具体可以通过下述步骤201a和步骤201b实现。In some embodiments of the present application, the above step 201 can be specifically implemented through the following steps 201a and 201b.
201a、对该目标素材包资源进行兼容并升级处理,得到处理后的该目标素材包资源。201a. Perform compatibility and upgrade processing on the target material package resources to obtain the processed target material package resources.
其中,兼容并升级处理可以根据实际情况确定,此处不做限定。Among them, the compatibility and upgrade processing can be determined according to actual conditions and is not limited here.
201b、解析处理后的该目标素材包资源,得到该多个素材内容。201b. Analyze the processed target material package resources to obtain the multiple material contents.
本申请实施例中,通过兼容并升级处理,使得低版本的素材包也可以在高版本的剪辑工具中使用,从而可以提高素材包资源的利用率,提高视频剪辑效率。In the embodiment of the present application, through compatibility and upgrade processing, a low-version material package can also be used in a high-version editing tool, thereby improving the utilization rate of the material package resources and improving the efficiency of video editing.
本申请一些实施例中,在上述步骤102之后,本申请实施例提供的剪辑处理方法还可以包括下述步骤103。In some embodiments of the present application, after the above step 102, the editing processing method provided by the embodiment of the present application may further include the following step 103.
103、响应于对该目标素材包组合的第一编辑操作,对该多个目标素材进行相应处理。103. In response to a first editing operation on the target material package combination, perform corresponding processing on the plurality of target materials.
第一编辑操作包括以下至少一项:对该多个目标素材中的至少一个素材的选中操作;对该多个目标素材中的至少一个素材解除素材包操作;对该目标素材包组合的移动操作;对该目标素材包组合的时长编辑操作;对该目标素材包组合的删除操作;对该目标素材包组合的停用操作;对该目标素材包组合的剪切操作;对该目标素材包组合的复制操作;对该目标素材包组合的新建复合片段操作;对该目标素材包组合的识别字幕/歌词操作。The first editing operation includes at least one of the following: a selection operation on at least one of the multiple target materials; a material package release operation on at least one of the multiple target materials; a move operation on the target material package combination; a duration editing operation on the target material package combination; a deletion operation on the target material package combination; a deactivation operation on the target material package combination; a cutting operation on the target material package combination; a copy operation on the target material package combination; a new composite segment operation on the target material package combination; and a subtitle/lyrics recognition operation on the target material package combination.
其中,若第一编辑操作为对多个目标素材中的至少一个素材的选中操作,则第一编辑操作可以为对多个目标素材中的一个标素材的选中操作,也可以为对多个目标素材中的多 个素材或全部素材的选中操作。对应地,相应处理为目标素材包组合中的多个目标素材变为选中状态。If the first editing operation is a selection operation on at least one of the multiple target materials, the first editing operation may be a selection operation on one of the multiple target materials, or may be a selection operation on multiple of the multiple target materials. Correspondingly, the corresponding processing is that multiple target materials in the target material package combination become selected.
其中,若第一编辑操作为对多个目标素材中的至少一个素材解除素材包操作,则第一编辑操作可以为对多个目标素材中的一个素材解除素材包操作,也可以为对多个目标素材中的多个素材或全部素材解除素材包操作。对应地,相应处理为多个目标素材独立存在,互相之间不再存在关联关系。If the first editing operation is to unpack at least one of the multiple target materials, the first editing operation may be to unpack one of the multiple target materials, or may be to unpack multiple or all of the multiple target materials. Correspondingly, the multiple target materials are processed independently and no longer have any association with each other.
其中,若第一编辑操作为对该目标素材包组合的移动操作,对应地,相应处理为目标素材包组合包括的多个目标素材一起移动。相对位置关系不变。If the first editing operation is a moving operation on the target material package combination, correspondingly, the corresponding processing is that the multiple target materials included in the target material package combination are moved together, and the relative position relationship remains unchanged.
其中,若第一编辑操作为对该目标素材包组合的时长编辑操作,则时长编辑操作可以为目标素材包组合选中状态下,拖动裁剪或加长操作、点击向右裁剪控件操作,点击向左裁剪控件操作或时间区域裁剪操作。对应地,相应处理为时长缩短或变长。If the first editing operation is a duration editing operation of the target material package combination, the duration editing operation may be a dragging trimming or lengthening operation, a rightward trimming control operation, a leftward trimming control operation, or a time region trimming operation when the target material package combination is selected. Correspondingly, the corresponding processing is shortening or lengthening the duration.
其中,若第一编辑操作为对该目标素材包组合的删除操作,则相应处理为删除目标素材包组合,在时间线区域取消显示目标素材包组合。If the first editing operation is a deletion operation on the target material package combination, the corresponding processing is to delete the target material package combination and cancel the display of the target material package combination in the timeline area.
其中,若第一编辑操作为对该目标素材包组合的停用操作,则相应处理为停用目标素材包组合,将目标素材包组合置灰,无法对目标素材包组合进行任意编辑操作。If the first editing operation is a deactivation operation on the target material package combination, the corresponding processing is to deactivate the target material package combination, gray out the target material package combination, and cannot perform any editing operation on the target material package combination.
其中,若第一编辑操作为对该目标素材包组合的剪切操作,则相应处理为将目标素材包组合剪切至剪切板。If the first editing operation is a cutting operation on the target material package combination, the corresponding processing is to cut the target material package combination to the clipboard.
其中,若第一编辑操作为对该目标素材包组合的复制操作,则相应处理为复制目标素材包组合。If the first editing operation is a copy operation of the target material package combination, the corresponding processing is to copy the target material package combination.
其中,若第一编辑操作为对该目标素材包组合的新建复合片段操作,则相应处理为将目标素材包组合转换为复合片段进行显示。If the first editing operation is an operation of creating a new composite segment for the target material package combination, the corresponding processing is to convert the target material package combination into a composite segment for display.
其中,若第一编辑操作为对该目标素材包组合的识别字幕/歌词操作,则相应处理为识别该目标素材包组合中多个目标素材中的字幕/歌词。If the first editing operation is an operation of identifying subtitles/lyrics for the target material package combination, the corresponding processing is to identify subtitles/lyrics in multiple target materials in the target material package combination.
本申请实施例中,通过第一编辑操作可以对目标素材包组合中的多个目标素材进行同步编辑,可以提高编辑效率。In the embodiment of the present application, multiple target materials in the target material package combination can be edited synchronously through the first editing operation, which can improve the editing efficiency.
本申请一些实施例中,本申请一些实施例中,在上述步骤102之后,本申请实施例提供的剪辑处理方法还可以包括下述步骤104。In some embodiments of the present application, in some embodiments of the present application, after the above step 102, the editing processing method provided by the embodiment of the present application may further include the following step 104.
104、响应于对该目标素材包组合中的第一目标素材的第二编辑操作,对第一目标素材进行相应处理。104. In response to a second editing operation on a first target material in the target material package combination, perform corresponding processing on the first target material.
其中,第二编辑操作包括以下至少一项:选中操作、移动操作、时长编辑操作、删除操作,停用操作,镜像操作、剪切操作、复制操作、新建复合片段操作、识别字幕/歌词操作。Among them, the second editing operation includes at least one of the following: selection operation, move operation, duration editing operation, deletion operation, deactivation operation, mirroring operation, cutting operation, copying operation, creating a new composite segment operation, and identifying subtitles/lyrics operation.
其中,若第二编辑操作为选中操作,选中操作可以为双击选中操作,也可以为其他选 中操作,相应处理为第一目标素材处于选中状态。本申请实施例中可以通过对素材包组合中的一个素材的操作选中素材包组合,也可以通过对素材包组合中的一个素材的操作选中该一个素材,具体可以设置不同的操作,此处不做限定。If the second editing operation is a selection operation, the selection operation may be a double-click selection operation or other selection operations. In the embodiment of the present application, the material package combination can be selected by operating one of the materials in the material package combination, or the one material can be selected by operating one of the materials in the material package combination. Specifically, different operations can be set, which are not limited here.
其中,若第二编辑操作为移动操作,在目标素材包组合中仅第一目标素材处于选中状态的情况下,基于移动操作,可以仅移动第一目标素材。If the second editing operation is a move operation, in the case that only the first target material is in a selected state in the target material package combination, only the first target material may be moved based on the move operation.
其中,若第二编辑操作为时长编辑操作,在目标素材包组合中仅第一目标素材处于选中状态的情况下,基于时长编辑操作可以仅编辑第一目标素材的时长。If the second editing operation is a duration editing operation, when only the first target material is selected in the target material package combination, only the duration of the first target material can be edited based on the duration editing operation.
其中,若第二编辑操作为删除操作,在目标素材包组合中仅第一目标素材处于选中状态的情况下,基于删除操作可以仅删除第一目标素材。If the second editing operation is a deletion operation, in the case that only the first target material is selected in the target material package combination, only the first target material can be deleted based on the deletion operation.
其中,若第二编辑操作为停用操作,在目标素材包组合中仅第一目标素材处于选中状态的情况下,基于停用操作可以仅停用第一目标素材。If the second editing operation is a deactivation operation, in the case that only the first target material is in a selected state in the target material package combination, only the first target material may be deactivated based on the deactivation operation.
其中,若第二编辑操作为镜像操作,在目标素材包组合中仅第一目标素材处于选中状态的情况下,基于镜像操作可以显示第一目标素材的镜像。If the second editing operation is a mirroring operation, when only the first target material is in a selected state in the target material package combination, a mirror image of the first target material can be displayed based on the mirroring operation.
其中,若第二编辑操作为剪切操作,在目标素材包组合中仅第一目标素材处于选中状态的情况下,基于剪切操作可以仅将第一目标素材剪切至剪切板。If the second editing operation is a cutting operation, when only the first target material is selected in the target material package combination, only the first target material can be cut to the clipboard based on the cutting operation.
其中,若第二编辑操作为复制操作,在目标素材包组合中仅第一目标素材处于选中状态的情况下,基于复制操作仅复制第一目标素材。If the second editing operation is a copy operation, in the case that only the first target material is selected in the target material package combination, only the first target material is copied based on the copy operation.
其中,若第二编辑操作为新建复合片段操作,在目标素材包组合中仅第一目标素材处于选中状态的情况下,基于新建复合片段操作仅将第一目标素材合成为复合片段。If the second editing operation is a new composite clip operation, and only the first target material is selected in the target material package combination, only the first target material is synthesized into a composite clip based on the new composite clip operation.
其中,若第二编辑操作为识别字幕/歌词操作,在目标素材包组合中仅第一目标素材处于选中状态的情况下,基于识别字幕/歌词操作仅识别第一目标素材中的字幕/歌词操作。If the second editing operation is a subtitle/lyrics recognition operation, when only the first target material is selected in the target material package combination, the subtitle/lyrics operation is based on the subtitle/lyrics recognition operation to only recognize the subtitles/lyrics in the first target material.
本申请一些实施例中,通过第二编辑操作可以对目标素材包组合中的任意一个目标素材单独进行编辑,可以增加目标素材包组合的编辑方式,提高编辑效率。In some embodiments of the present application, any target material in the target material package combination can be edited separately through the second editing operation, which can increase the editing methods of the target material package combination and improve editing efficiency.
本申请实施例中,目标素材包组合对应的组合信息中包括多个目标素材的数目信息,每个目标素材的标识信息,以及每个目标素材的草稿素材信息等。当目标素材包组合中去掉一个素材之后,数目信息减1,当目标素材包组合中增加一个素材之后,数目信息加1。而且本申请实施例中,可以基于每个目标素材的草稿素材信息,在时间线区域显示初始的目标素材包组合,具体的可以将编辑后的目标素材包组合还原为初始的目标素材包组合,也可以在时间线区域同时显示编辑后的目标素材包组合和初始的目标素材包组合。In the embodiment of the present application, the combination information corresponding to the target material package combination includes the number information of multiple target materials, the identification information of each target material, and the draft material information of each target material. When a material is removed from the target material package combination, the number information is reduced by 1, and when a material is added to the target material package combination, the number information is increased by 1. In addition, in the embodiment of the present application, the initial target material package combination can be displayed in the timeline area based on the draft material information of each target material. Specifically, the edited target material package combination can be restored to the initial target material package combination, and the edited target material package combination and the initial target material package combination can also be displayed in the timeline area at the same time.
本申请一些实施例中,在上述步骤103和/或步骤104之后,本申请实施例提供的剪辑处理方法还可以包括下述步骤105或步骤106。In some embodiments of the present application, after the above-mentioned step 103 and/or step 104, the editing processing method provided by the embodiment of the present application may also include the following step 105 or step 106.
105、在对该目标素材包组合中的至少一个目标素材进行多次编辑显示目标素材对象之后,响应于对时间线区域的触发操作,将该目标素材对象更新为该目标素材包组合。 105. After performing multiple edits on at least one target material in the target material package combination to display a target material object, in response to a triggering operation on the timeline area, update the target material object to the target material package combination.
可以理解,上述步骤105为将编辑后的目标素材包组合还原为初始的目标素材包组合。It can be understood that the above step 105 is to restore the edited target material package combination to the initial target material package combination.
106、在对该目标素材包组合中的至少一个目标素材进行多次编辑显示目标素材对象之后,响应于对时间线区域的触发操作,在该时间线区域增加显示该目标素材包组合。106. After multiple edits are performed on at least one target material in the target material package combination to display the target material object, in response to a trigger operation on the timeline area, the target material package combination is added and displayed in the timeline area.
其中,该目标素材对象包括以下至少一项:第一素材包组合、第一素材;第一素材包组合包括的每个素材分别与该目标素材包组合中的一个目标素材对应,第一素材对应该目标素材包组合中的一个目标素材。The target material object includes at least one of the following: a first material package combination and a first material; each material included in the first material package combination corresponds to a target material in the target material package combination, and the first material corresponds to a target material in the target material package combination.
可以理解,上述步骤106为在时间线区域同时显示编辑后的目标素材包组合和初始的目标素材包组合。It can be understood that the above step 106 is to simultaneously display the edited target material package combination and the initial target material package combination in the timeline area.
目标素材对象为编辑后的目标素材包组合,目标素材包对象可以是一个素材包,也可以是一个单独地素材,具体可以根据实际情况确定。The target material object is a target material package combination after editing. The target material package object can be a material package or a separate material, which can be determined according to actual conditions.
本申请实施例中,通过对时间线区域的触发操作,将该目标素材对象更新为该目标素材包组合或在该时间线区域增加显示该目标素材包组合,便于用户对比编辑后和编辑前的显示效果,而且相对于从素材区域查找目标素材包标识,然后基于目标素材包标识添加目标素材包组合,可以提高操作效率。In an embodiment of the present application, by triggering the timeline area, the target material object is updated to the target material package combination or the target material package combination is added and displayed in the timeline area, which is convenient for users to compare the display effects before and after editing. In addition, compared with searching for the target material package identifier from the material area and then adding the target material package combination based on the target material package identifier, the operating efficiency can be improved.
本申请一些实施例中,本申请实施例提供的剪辑处理方法还可以包括下述步骤107和步骤108。In some embodiments of the present application, the editing processing method provided in the embodiments of the present application may also include the following steps 107 and 108.
107、响应于对该时间线区域展示的多个第二素材的新建素材包操作,生成第二素材包组合。107. In response to a new material package creation operation on a plurality of second materials displayed in the timeline area, a second material package combination is generated.
108、将第二素材包组合转换为第二素材包资源分享出去。108. Convert the second material package combination into the second material package resources and share them.
本申请实施例中,为用户提供了自定义素材包资源并分享的功能,如此,可以增加素材包的自定义方式,并增加分享自定义素材包的方式,可以提高用户体验。In the embodiment of the present application, the function of customizing and sharing material package resources is provided to users. In this way, the customization methods of material packages can be increased, and the methods of sharing customized material packages can be increased, which can improve the user experience.
本申请实施例中,可以将素材包组合合成为复合片段,也可以将复合片段进行解除复合片段之后,在进行新建素材包组合处理,如此可以实现复合片段和素材包组合之间的相互转换。In the embodiment of the present application, the material packages can be combined into a composite fragment, or the composite fragment can be de-composited and then a new material package combination can be performed, so that the mutual conversion between the composite fragment and the material package combination can be realized.
本申请一些实施例中,本申请实施例提供的剪辑处理方法还可以包括下述步骤109和步骤110。In some embodiments of the present application, the editing processing method provided in the embodiments of the present application may also include the following steps 109 and 110.
109、响应于将该视频剪辑界面对应的当前草稿文件同步至移动端进行剪辑的触发操作,将该当前草稿文件中的素材包组合转换成复合片段形式的素材包,生成第一草稿文件。109. In response to a triggering operation of synchronizing the current draft file corresponding to the video editing interface to the mobile terminal for editing, the material packages in the current draft file are combined and converted into material packages in the form of composite clips to generate a first draft file.
110、将第一草稿文件发送至该移动端。110. Send the first draft file to the mobile terminal.
本申请一些实施例中,在上述步骤110之后,本申请实施例提供的剪辑处理方法还可以包括下述步骤111和步骤113。In some embodiments of the present application, after the above step 110, the editing processing method provided by the embodiment of the present application may further include the following steps 111 and 113.
111、接收该移动端发送的第二草稿文件。111. Receive a second draft file sent by the mobile terminal.
其中,第二草稿文件为该移动端对第一草稿文件进行剪辑处理后的草稿文件。 The second draft file is a draft file obtained by editing the first draft file by the mobile terminal.
112、将第二草稿文件中的符合片段形式的素材包转换为素材包组合,生成第三草稿文件。112. Convert the material packages that conform to the clip format in the second draft file into a material package combination to generate a third draft file.
113、在该视频剪辑界面展示第三草稿文件。113. Display the third draft file on the video editing interface.
需要说明的是,复合片段形式的素材包是子草稿素材,不是母草稿素材。It should be noted that the material package in the form of a compound clip is a sub-draft material, not a master draft material.
本申请实施例中,支持在非移动端和移动端分别进行剪辑,因此,为了兼容非移动端和移动端的素材包展示形式,需要进行素材包形式的转换,转换过程如下:In the embodiment of the present application, editing is supported on the non-mobile terminal and the mobile terminal respectively. Therefore, in order to be compatible with the material package display forms of the non-mobile terminal and the mobile terminal, the material package form needs to be converted. The conversion process is as follows:
在非移动端展示的初始素材包组合转换为复合片段形式的素材包之后,将符合片段形式的素材包同步至移动端;After the initial material packages displayed on the non-mobile terminal are combined and converted into material packages in the form of compound clips, the material packages that conform to the clip form are synchronized to the mobile terminal;
在非移动端展示的已编辑但仍有部分素材是素材包组合的形式的情况下,将部分素材对应的素材包组合转换成复合片段形式的素材包之后,将符合片段形式的素材包同步至移动端;If some of the edited materials displayed on the non-mobile terminal are still in the form of material package combinations, the material packages corresponding to some of the materials are converted into material packages in the form of compound clips, and then the material packages that conform to the clip form are synchronized to the mobile terminal;
在移动端复合片段形式的素材包转换为素材包组合之后,将素材包组合同步至非移动端。After the material package in the form of a composite clip on the mobile terminal is converted into a material package combination, the material package combination is synchronized to the non-mobile terminal.
如图4B所示,本公开实施例提供一种剪辑处理方法,该方法可以包括下述的步骤401至步骤402。As shown in FIG. 4B , an embodiment of the present disclosure provides a clipping method, which may include the following steps 401 to 402 .
401、展示视频剪辑界面,该视频剪辑界面包括素材区域和时间线区域。401. Display a video editing interface, which includes a material area and a timeline area.
402、响应于对该时间线区域中的多个素材的新建素材包操作,在该时间线区域中展示素材包组合。402. In response to a new material package operation for a plurality of materials in the timeline area, display a material package combination in the timeline area.
其中,该素材包组合为该多个素材的组合,该多个素材互相独立展示且存在绑定关系。Among them, the material package combination is a combination of the multiple materials, and the multiple materials are displayed independently of each other and have a binding relationship.
403、将该素材包组合转化为素材包资源。403. Convert the material package combination into a material package resource.
其中,该素材包资源为由该多个素材生成的复合片段形式的素材包。The material package resource is a material package in the form of a composite fragment generated by the multiple materials.
上述步骤403具体可以为对素材包组合进行解组合处理,得到多个素材,对多个素材进行依赖生成处理,得到多个素材内容,将多个素材内容进行创建素材包资源处理,生成素材包资源。其中接组合处理与上述步骤203中的成组处理互为逆处理,依赖生成处理与上述步骤202中的去依赖处理互为逆处理,创建素材包资源处理与上述步骤201中的解析处理互为逆处理,具体可以参考上述相关描述。The above step 403 can specifically be to perform decombination processing on the material package combination to obtain multiple materials, perform dependency generation processing on the multiple materials to obtain multiple material contents, perform material package resource creation processing on the multiple material contents to generate material package resources. The combination processing is the inverse processing of the grouping processing in the above step 203, the dependency generation processing is the inverse processing of the removal of dependency processing in the above step 202, and the material package resource creation processing is the inverse processing of the parsing processing in the above step 201. For details, please refer to the above related description.
404、在该素材区域展示素材包标识,该素材包标识用于指示该素材包资源。404. Display a material package identifier in the material area, where the material package identifier is used to indicate the material package resource.
其中,在素材区域展示素材包标识,即将素材包资源分享至云端,即可以供其他用户使用。Among them, the material package logo is displayed in the material area, and the material package resources are shared to the cloud, that is, they can be used by other users.
其中,对素材区域、时间线区域、素材包组合,素材包资源的描述具体可以参考上述实施例中对步骤101至步骤113的相关描述,此处不再赘述。Among them, the description of the material area, timeline area, material package combination, and material package resources can be specifically referred to the relevant description of steps 101 to 113 in the above embodiment, which will not be repeated here.
本申请实施例中,为用户提供了基于多个素材自定义素材包资源并分享的功能,如此,可以增加素材包的自定义方式,并增加分享自定义素材包的方式,可以提高用户体验。 In the embodiment of the present application, a function of customizing and sharing material package resources based on multiple materials is provided to users. In this way, the customization methods of material packages can be increased, and the methods of sharing customized material packages can be increased, which can improve the user experience.
本申请实施例中,可以将素材包组合合成为复合片段,也可以将复合片段进行解除复合片段之后,在进行新建素材包组合处理,如此可以实现复合片段和素材包组合之间的相互转换。In the embodiment of the present application, the material packages can be combined into a composite fragment, or the composite fragment can be de-composited and then a new material package combination can be performed, so that the mutual conversion between the composite fragment and the material package combination can be realized.
示例性地,如图5所示,为一种视频剪辑界面示意图,其中,标记“51”指示的区域为素材区域,标记“52”指示的区域为时间线区域,标记“53”指示的区域为播放器区域,标记“54”指示的区域为功能面板,其中,素材区域的素材包选项处于选中状态,时间线区域处于选中状态的素材1、素材2和素材3为素材包组合中的3个素材。Exemplarily, as shown in FIG5 , there is a schematic diagram of a video editing interface, wherein the area indicated by mark “51” is the material area, the area indicated by mark “52” is the timeline area, the area indicated by mark “53” is the player area, and the area indicated by mark “54” is the function panel, wherein the material package option in the material area is in a selected state, and material 1, material 2, and material 3 selected in the timeline area are the three materials in the material package combination.
图6为本公开实施例示出的一种剪辑处理装置的结构框图,如图6所示,包括:展示模块601,用于展示视频剪辑界面,该视频剪辑界面包括素材区域和时间线区域,在该素材区域展示的素材包选项处于选中状态的情况下,该素材区域还展示有至少一个素材包标识,每个素材包标识用于指示一个素材包资源,每个素材包资源为由多个素材生成的复合片段形式的素材包;控制模块602,用于响应于对该多个素材包标识中的目标素材包标识的目标触发操作,将该目标素材包标识指示的目标素材包资源转换为目标素材包组合,在时间线区域展示该目标素材包组合;其中,该目标素材包组合为该目标素材包标识对应的多个目标素材的组合,该多个目标素材互相独立展示且存在绑定关系。FIG6 is a block diagram of a clip processing device shown in an embodiment of the present disclosure. As shown in FIG6 , the device comprises: a display module 601 for displaying a video clip interface, wherein the video clip interface comprises a material area and a timeline area. When the material package option displayed in the material area is in a selected state, the material area further displays at least one material package identifier, wherein each material package identifier is used to indicate a material package resource, and each material package resource is a material package in the form of a composite fragment generated by multiple materials; a control module 602 for responding to a target trigger operation on a target material package identifier among the multiple material package identifiers, converting a target material package resource indicated by the target material package identifier into a target material package combination, and displaying the target material package combination in the timeline area; wherein the target material package combination is a combination of multiple target materials corresponding to the target material package identifier, and the multiple target materials are displayed independently of each other and have a binding relationship.
本申请一些实施例中,该目标触发操作包括下载操作和拖拽操作;该控制模块602,具体用于响应于该下载操作,下载该目标素材包资源,并将该目标素材包资源转换为目标素材包组合;响应于该拖拽操作,在时间线区域展示该目标素材包组合。In some embodiments of the present application, the target trigger operation includes a download operation and a drag operation; the control module 602 is specifically used to download the target material package resources in response to the download operation, and convert the target material package resources into a target material package combination; in response to the drag operation, the target material package combination is displayed in the timeline area.
本申请一些实施例中,该控制模块602,具体用于在该拖拽操作的轨迹未进入时间线区域的情况下,目标素材包标识跟随拖拽操作移动;在该拖拽操作的轨迹进入时间线区域的情况下,目标素材包组合跟随拖拽操作移动。In some embodiments of the present application, the control module 602 is specifically used to, when the trajectory of the drag operation does not enter the timeline area, the target material package identifier follows the movement of the drag operation; when the trajectory of the drag operation enters the timeline area, the target material package combination follows the movement of the drag operation.
本申请一些实施例中,该控制模块602,具体用于解析该目标素材包资源,得到多个素材内容,该多个素材内容中包括对视频存在强依赖关系的素材内容;对该多个素材内容进行去依赖处理,得到多个目标素材;对该多个目标素材进行成组处理,生成该目标素材包组合。In some embodiments of the present application, the control module 602 is specifically used to parse the target material package resources to obtain multiple material contents, including material contents that have a strong dependency on the video; perform de-dependency processing on the multiple material contents to obtain multiple target materials; and perform grouping processing on the multiple target materials to generate the target material package combination.
本申请一些实施例中,该控制模块602,具体用于对该目标素材包资源进行兼容并升级处理,得到处理后的该目标素材包资源;解析处理后的该目标素材包资源,得到该多个素材内容。In some embodiments of the present application, the control module 602 is specifically used to perform compatibility and upgrade processing on the target material package resource to obtain the processed target material package resource; and parse the processed target material package resource to obtain the multiple material contents.
本申请一些实施例中,该控制模块602,还用于在时间线区域展示该目标素材包组合之后,响应于对该目标素材包组合的第一编辑操作,对该多个目标素材进行相应处理;第一编辑操作包括以下至少一项:对该多个目标素材中的至少一个素材的选中操作;对该多个目标素材中的至少一个素材解除素材包操作;对该目标素材包组合的移动操作;对该目标素材包组合的时长编辑操作;对该目标素材包组合的删除操作;对该目标素材包组合的 停用操作;对该目标素材包组合的剪切操作;对该目标素材包组合的复制操作;对该目标素材包组合的新建复合片段操作;对该目标素材包组合的识别字幕/歌词操作。In some embodiments of the present application, the control module 602 is further used to, after displaying the target material package combination in the timeline area, respond to a first editing operation on the target material package combination to perform corresponding processing on the multiple target materials; the first editing operation includes at least one of the following: a selection operation on at least one material among the multiple target materials; a material package removal operation on at least one material among the multiple target materials; a move operation on the target material package combination; a time length editing operation on the target material package combination; a deletion operation on the target material package combination; Deactivate operation; cut operation on the target material package combination; copy operation on the target material package combination; create a new composite clip operation on the target material package combination; recognize subtitles/lyrics operation on the target material package combination.
本申请一些实施例中,该控制模块602,还用于在时间线区域展示该目标素材包组合之后,响应于对该目标素材包组合中的第一目标素材的第二编辑操作,对第一目标素材进行相应处理;其中,第二编辑操作包括以下至少一项:选中操作、移动操作、时长编辑操作、删除操作,停用操作,镜像操作、剪切操作、复制操作、新建复合片段操作、识别字幕/歌词操作;本申请一些实施例中,该控制模块,还用于在对该目标素材包组合中的至少一个目标素材进行多次编辑显示目标素材对象之后,响应于对时间线区域的触发操作,将该目标素材对象更新为该目标素材包组合,或者,在该时间线区域增加显示该目标素材包组合;其中,该目标素材对象包括以下至少一项:第一素材包组合、第一素材;第一素材包组合包括的每个素材分别与该目标素材包组合中的一个目标素材对应,第一素材对应该目标素材包组合中的一个目标素材。In some embodiments of the present application, the control module 602 is also used to, after displaying the target material package combination in the timeline area, perform corresponding processing on the first target material in response to a second editing operation on the first target material in the target material package combination; wherein the second editing operation includes at least one of the following: a selection operation, a move operation, a duration editing operation, a deletion operation, a deactivation operation, a mirroring operation, a cutting operation, a copying operation, a new composite segment operation, and a subtitle/lyrics recognition operation; in some embodiments of the present application, the control module is also used to, after multiple edits and displays of target material objects are performed on at least one target material in the target material package combination, update the target material object to the target material package combination in response to a triggering operation on the timeline area, or add and display the target material package combination in the timeline area; wherein the target material object includes at least one of the following: a first material package combination and a first material; each material included in the first material package combination corresponds to a target material in the target material package combination, and the first material corresponds to a target material in the target material package combination.
本申请一些实施例中,该控制模块602,还用于响应于对该时间线区域展示的多个第二素材的新建素材包操作,生成第二素材包组合;将第二素材包组合转换为第二素材包资源分享出去。In some embodiments of the present application, the control module 602 is further used to generate a second material package combination in response to a new material package operation for multiple second materials displayed in the timeline area; and convert the second material package combination into a second material package resource for sharing.
本申请一些实施例中,该控制模块602,还用于响应于将该视频剪辑界面对应的当前草稿文件同步至移动端进行剪辑的触发操作,将该当前草稿文件中的素材包组合转换成复合片段形式的素材包,生成第一草稿文件;将第一草稿文件发送至该移动端。In some embodiments of the present application, the control module 602 is also used to respond to a trigger operation of synchronizing the current draft file corresponding to the video editing interface to the mobile terminal for editing, convert the material package combination in the current draft file into a material package in the form of a composite fragment, and generate a first draft file; and send the first draft file to the mobile terminal.
本申请一些实施例中,该控制模块602,还用于在将该第一草稿文件发送至该移动端之后,接收该移动端发送的第二草稿文件,第二草稿文件为该移动端对第一草稿文件进行剪辑处理后的草稿文件;将第二草稿文件中的符合片段形式的素材包转换为素材包组合,生成第三草稿文件;在该视频剪辑界面展示第三草稿文件。In some embodiments of the present application, the control module 602 is also used to receive a second draft file sent by the mobile terminal after sending the first draft file to the mobile terminal, the second draft file being a draft file after the mobile terminal has edited the first draft file; converting a material package in the second draft file that conforms to a fragment format into a material package combination to generate a third draft file; and displaying the third draft file in the video editing interface.
本公开实施例中,各模块可以实现上述方法实施例提供的剪辑处理方法,且能达到相同的技术效果,为避免重复,这里不再赘述。In the embodiments of the present disclosure, each module can implement the editing processing method provided in the above method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described here.
图6为本公开实施例示出的一种剪辑处理装置的结构框图,如图6所示,包括:展示模块601,用于展示视频剪辑界面,该视频剪辑界面包括素材区域和时间线区域;响应于对该时间线区域中的多个素材的新建素材包操作,在该时间线区域中展示素材包组合,该素材包组合为该多个素材的组合,该多个素材互相独立展示且存在绑定关系;控制模块602,用于将该素材包组合转化为素材包资源,该素材包资源为由该多个素材生成的复合片段形式的素材包;展示模块601,还用于在该素材区域展示素材包标识,该素材包标识用于指示该素材包资源。Figure 6 is a structural block diagram of an editing processing device shown in an embodiment of the present disclosure, as shown in Figure 6, including: a display module 601, used to display a video editing interface, the video editing interface includes a material area and a timeline area; in response to a new material package operation for multiple materials in the timeline area, a material package combination is displayed in the timeline area, the material package combination is a combination of the multiple materials, the multiple materials are displayed independently of each other and have a binding relationship; a control module 602, used to convert the material package combination into a material package resource, the material package resource is a material package in the form of a composite fragment generated by the multiple materials; the display module 601 is also used to display a material package identifier in the material area, the material package identifier is used to indicate the material package resource.
本公开实施例中,各模块可以实现上述方法实施例提供的剪辑处理方法,且能达到相同的技术效果,为避免重复,这里不再赘述。 In the embodiments of the present disclosure, each module can implement the editing processing method provided in the above method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described here.
图7为本公开实施例提供的一种电子设备的结构示意图,用于对实现本公开实施例中任意剪辑处理方法的电子设备进行示例性说明,不应理解为对本公开实施例的具体限定。FIG7 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure, which is used to exemplarily illustrate an electronic device that implements any clipping processing method in an embodiment of the present disclosure and should not be construed as a specific limitation on the embodiment of the present disclosure.
如图7所示,电子设备700可以包括处理器(例如中央处理器、图形处理器等)701,其可以根据存储在只读存储器(ROM)702中的程序或者从存储装置708加载到随机访问存储器(RAM)703中的程序而执行各种适当的动作和处理。在RAM 703中,还存储有电子设备700操作所需的各种程序和数据。处理器701、ROM 702以及RAM 703通过总线704彼此相连。输入/输出(I/O)接口705也连接至总线704。As shown in FIG. 7 , the electronic device 700 may include a processor (e.g., a central processing unit, a graphics processing unit, etc.) 701, which may perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage device 708 into a random access memory (RAM) 703. Various programs and data required for the operation of the electronic device 700 are also stored in the RAM 703. The processor 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input/output (I/O) interface 705 is also connected to the bus 704.
通常,以下装置可以连接至I/O接口705:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置706;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置707;包括例如磁带、硬盘等的存储装置708;以及通信装置709。通信装置709可以允许电子设备700与其他设备进行无线或有线通信以交换数据。虽然示出了具有各种装置的电子设备700,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。Typically, the following devices may be connected to the I/O interface 705: input devices 706 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 707 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 708 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 709. The communication device 709 may allow the electronic device 700 to communicate with other devices wirelessly or by wire to exchange data. Although the electronic device 700 having various devices is shown, it should be understood that it is not required to implement or have all the devices shown. More or fewer devices may be implemented or have alternatively.
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置709从网络上被下载和安装,或者从存储装置708被安装,或者从ROM 702被安装。在该计算机程序被处理器701执行时,可以执行本公开实施例提供的任意剪辑处理方法中限定的功能。In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 709, or installed from the storage device 708, or installed from the ROM 702. When the computer program is executed by the processor 701, the functions defined in any clip processing method provided by the embodiment of the present disclosure can be executed.
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射 频)等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. Computer readable signal media may also be any computer readable medium other than computer readable storage media that can send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency) frequency), etc., or any suitable combination of the above.
在一些实施方式中,客户端、服务端可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。In some embodiments, the client and the server can communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., communication network). Examples of communication networks include local area networks ("LAN"), wide area networks ("WAN"), internets (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:展示视频剪辑界面,该视频剪辑界面包括素材区域和时间线区域,在该素材区域展示的素材包选项处于选中状态的情况下,该素材区域还展示有至少一个素材包标识,每个素材包标识用于指示一个素材包资源,每个素材包资源为由多个素材生成的复合片段形式的素材包;响应于对该多个素材包标识中的目标素材包标识的目标触发操作,将该目标素材包标识指示的目标素材包资源转换为目标素材包组合,在时间线区域展示该目标素材包组合;其中,该目标素材包组合为该目标素材包标识对应的多个目标素材的组合,该多个目标素材互相独立展示且存在绑定关系。The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: displays a video editing interface, the video editing interface includes a material area and a timeline area, and when the material package option displayed in the material area is in a selected state, the material area also displays at least one material package identifier, each material package identifier is used to indicate a material package resource, and each material package resource is a material package in the form of a composite fragment generated by multiple materials; in response to a target trigger operation on a target material package identifier among the multiple material package identifiers, converting a target material package resource indicated by the target material package identifier into a target material package combination, and displaying the target material package combination in the timeline area; wherein, the target material package combination is a combination of multiple target materials corresponding to the target material package identifier, and the multiple target materials are displayed independently of each other and have a binding relationship.
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:展示视频剪辑界面,该视频剪辑界面包括素材区域和时间线区域;响应于对该时间线区域中的多个素材的新建素材包操作,在该时间线区域中展示素材包组合,该素材包组合为该多个素材的组合,该多个素材互相独立展示且存在绑定关系;将该素材包组合转化为素材包资源,该素材包资源为由该多个素材生成的复合片段形式的素材包;在该素材区域展示素材包标识,该素材包标识用于指示该素材包资源。The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: displays a video editing interface, which includes a material area and a timeline area; in response to a new material package operation for multiple materials in the timeline area, displays a material package combination in the timeline area, and the material package combination is a combination of the multiple materials, and the multiple materials are displayed independently of each other and have a binding relationship; converts the material package combination into a material package resource, and the material package resource is a material package in the form of a composite fragment generated by the multiple materials; and displays a material package identifier in the material area, and the material package identifier is used to indicate the material package resource.
在本公开实施例中,可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言,诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言,诸如“C”语言或类似的程序设计语言。程序代码可以完全地在计算机上执行、部分地在计算机上执行、作为一个独立的软件包执行、部分在计算机上部分在远程计算机上执行、或者完全在远程计算机或服务端上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。In embodiments of the present disclosure, computer program codes for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including but not limited to object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on the computer, partially on the computer, as an independent software package, partially on the computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个 用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram may represent a module, a program segment, or a portion of code, which includes one or more Executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may also occur in an order different from that marked in the accompanying drawings. For example, two blocks represented in succession may actually be executed substantially in parallel, and they may sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each block in the block diagram and/or flow chart, and the combination of blocks in the block diagram and/or flow chart, may be implemented with a dedicated hardware-based system that performs the specified function or operation, or may be implemented with a combination of dedicated hardware and computer instructions.
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定。The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
在本公开的上下文中,计算机可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。计算机可读介质可以是计算机可读信号介质或计算机可读储存介质。计算机可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。计算机可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a computer-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. A computer-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. A more specific example of a computer-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描 述的特定特征和动作仅仅是实现权利要求书的示例形式。 Although the subject matter has been described using language specific to structural features and/or methodological logical acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. The specific features and acts described are merely example forms of implementing the claims.
Claims (15)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311416622.8 | 2023-10-27 | ||
| CN202311416622.8A CN119906860A (en) | 2023-10-27 | 2023-10-27 | Editing processing method, device, electronic device and computer-readable storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025087013A1 true WO2025087013A1 (en) | 2025-05-01 |
Family
ID=95465590
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2024/122676 Pending WO2025087013A1 (en) | 2023-10-27 | 2024-09-30 | Editing processing method and apparatus, and electronic device and computer-readable storage medium |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN119906860A (en) |
| WO (1) | WO2025087013A1 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN120529133B (en) * | 2025-06-30 | 2026-01-09 | 北京字跳网络技术有限公司 | Video draft generation method, device, equipment, storage medium and program product |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007096678A (en) * | 2005-09-28 | 2007-04-12 | Seiko Epson Corp | Movie editing apparatus, movie editing method, and computer program |
| CN110381371A (en) * | 2019-07-30 | 2019-10-25 | 维沃移动通信有限公司 | A kind of video clipping method and electronic equipment |
| CN113315883A (en) * | 2021-05-27 | 2021-08-27 | 北京达佳互联信息技术有限公司 | Method and device for adjusting video combined material |
| CN114157917A (en) * | 2021-11-29 | 2022-03-08 | 北京百度网讯科技有限公司 | Video editing method and device and terminal equipment |
| CN115695907A (en) * | 2021-07-30 | 2023-02-03 | 北京字跳网络技术有限公司 | Video editing method and device, electronic equipment and storage medium |
| CN116939284A (en) * | 2022-03-29 | 2023-10-24 | 北京字跳网络技术有限公司 | Material package generation method, video editing method, device, equipment and media |
-
2023
- 2023-10-27 CN CN202311416622.8A patent/CN119906860A/en active Pending
-
2024
- 2024-09-30 WO PCT/CN2024/122676 patent/WO2025087013A1/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007096678A (en) * | 2005-09-28 | 2007-04-12 | Seiko Epson Corp | Movie editing apparatus, movie editing method, and computer program |
| CN110381371A (en) * | 2019-07-30 | 2019-10-25 | 维沃移动通信有限公司 | A kind of video clipping method and electronic equipment |
| CN113315883A (en) * | 2021-05-27 | 2021-08-27 | 北京达佳互联信息技术有限公司 | Method and device for adjusting video combined material |
| CN115695907A (en) * | 2021-07-30 | 2023-02-03 | 北京字跳网络技术有限公司 | Video editing method and device, electronic equipment and storage medium |
| CN114157917A (en) * | 2021-11-29 | 2022-03-08 | 北京百度网讯科技有限公司 | Video editing method and device and terminal equipment |
| CN116939284A (en) * | 2022-03-29 | 2023-10-24 | 北京字跳网络技术有限公司 | Material package generation method, video editing method, device, equipment and media |
Also Published As
| Publication number | Publication date |
|---|---|
| CN119906860A (en) | 2025-04-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR102575848B1 (en) | Video processing method and device, electronic device, and computer readable storage medium | |
| CN109634598B (en) | Page display method, device, equipment and storage medium | |
| CN110389796A (en) | Edit operation processing method, device and electronic equipment | |
| WO2024251228A1 (en) | Media content display method and apparatus, electronic device, and storage medium | |
| CN110554874A (en) | Method and device for reusing webpage components of SaaS platform | |
| WO2025031364A1 (en) | Method and apparatus for generating media content, and electronic device and storage medium | |
| CN114968621B (en) | Data communication method, device, equipment, storage medium and system | |
| CN110070593B (en) | Method, device, equipment and medium for displaying picture preview information | |
| US20240303413A1 (en) | Document editing method and apparatus, and terminal and non-transitory storage medium | |
| WO2024183814A1 (en) | Content sharing method and apparatus, device, computer readable storage medium, and product | |
| WO2019029451A1 (en) | Method for publishing mobile applications and electronic apparatus | |
| CN114579128A (en) | A method and device for building a visual page, a storage medium, and a computer device | |
| CN118132056A (en) | Page development method, device, equipment and storage medium | |
| CN110780874B (en) | Method and device for generating information | |
| WO2024139852A1 (en) | Media playback method and device | |
| WO2025031371A1 (en) | Special effect generation method and apparatus, and electronic device and storage medium | |
| WO2025087013A1 (en) | Editing processing method and apparatus, and electronic device and computer-readable storage medium | |
| WO2023005831A1 (en) | Resource playing method and apparatus, electronic device, and storage medium | |
| CN114997115B (en) | Document processing method, device, equipment and medium | |
| US20240103802A1 (en) | Method, apparatus, device and medium for multimedia processing | |
| CN115733812B (en) | Information interaction method, device, equipment and medium | |
| CN109815455A (en) | Item file treating method and apparatus | |
| CN116016420B (en) | A task list sharing method, device, equipment and medium | |
| CN115617420A (en) | Application program generation method, device, device and storage medium | |
| CN112231008B (en) | Application module management method, device, storage medium and electronic device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 24881379 Country of ref document: EP Kind code of ref document: A1 |