Method, device, equipment and medium for converting multimedia editing files

The method and device facilitate seamless multimedia file conversion by analyzing and encapsulating instruction information between different applications, addressing format conversion errors and enhancing efficiency and reliability.

JP2025515621APending Publication Date: 2025-05-20BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2024564483
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-10-08
Filing Date
2023-09-25
Publication Date
2025-05-20

AI Technical Summary

Technical Problem

Existing multimedia editing applications face issues with file format conversion errors due to different data formats supported by various applications, leading to inefficiencies and reliability concerns.

Method used

A method and device for converting multimedia editing files by analyzing and encapsulating instruction information from a first data format to a second data format supported by a different application, using modules for acquisition, analysis, and encapsulation to ensure compatibility and reliability.

Benefits of technology

The solution enables seamless conversion of multimedia editing files across applications, enhancing efficiency and reliability while reducing the need for redundant conversions, thus improving the versatility and storage management of multimedia files.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025515621000001_ABST
    Figure 2025515621000001_ABST
Patent Text Reader

Abstract

The present disclosure provides a method, device, equipment, and medium for converting a multimedia editing file, in which the multimedia editing materials and editing operations of a multimedia editing file are indicated by different instruction information, and the instruction information is encapsulated as a data format that can be supported by each application program itself, eliminating the need to convert and edit large amounts of multimedia materials; and by converting the instruction information, file format conversion is realized in different applications; the conversion method is easy to implement and has high conversion efficiency, and also supports the conversion of multimedia editing files that occupy large amounts of internal storage space in different application programs, improving the reliability and versatility of multimedia file conversion.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] (Reference to Related Application) This application claims priority to Chinese patent application No. 202211230505.8 filed with the China Patent Office on October 8, 2022, and the entire contents disclosed in the above Chinese patent application are incorporated by reference as part of this application.

[0002] (Technical field) SUMMARY OF THE DISCLOSURE Embodiments of the present disclosure relate to a method, apparatus, device, and medium for converting multimedia editing files. [Background technology]

[0003] Currently, there are many application programs with various functions in electronic devices, and the same file can be processed by different application programs. For example, a user edits a video using a video editing application, and then posts the video using a video posting application. Furthermore, for example, a user edits an audio using an audio editing application, and then continues to process the audio and posts the audio using another audio editing application.

[0004] However, since different application programs support different data formats, problems may occur in file format conversion between different application programs. Therefore, when file format conversion occurs between different application programs, it is necessary to provide a reliable file conversion method so that conversion errors do not occur. Summary of the Invention [Problem to be solved by the invention]

[0005] To solve the above technical problems, or at least partially solve the above technical problems, the present disclosure provides a method, apparatus, device and medium for converting multimedia editing files. [Means for solving the problem]

[0006] In a first aspect, the present disclosure provides a method for converting a multimedia editing file, the method comprising: obtaining a first multimedia editing file, the first multimedia editing file being used to indicate an editing project for performing an editing operation on the multimedia material, being used to indicate first instruction information of the multimedia material, and being used to indicate second instruction information of the editing operation to be encapsulated in the first multimedia editing file according to a first data format, the first data format being a data format supported by a first application; analyzing the first multimedia editing file to obtain first indication information and second indication information; and encapsulating the first instruction information and the second instruction information as a second multimedia editing file in accordance with a second data format, the second multimedia editing file being used to indicate the editing project, the second data format being a data format supported by a second application.

[0007] In a second aspect, the present disclosure provides a multimedia editing file conversion device, the device comprising: an acquisition module for acquiring a first multimedia editing file, the first multimedia editing file being used to indicate an editing project for performing an editing operation on a multimedia material, and used to indicate first instruction information of the multimedia material, and second instruction information of the editing operation to be encapsulated into the first multimedia editing file according to a first data format, the first data format being a data format supported by a first application; an analysis module for analyzing the first multimedia editing file to obtain first indication information and second indication information; and an encapsulation module for encapsulating the first instruction information and the second instruction information as a second multimedia editing file in response to a second data format, the second multimedia editing file being used to indicate the editing project, the second data format being a data format supported by a second application.

[0008] In a third aspect, the present disclosure provides a computer-readable storage medium having instructions stored thereon, the instructions, when executed on a terminal device, causing the terminal device to implement the method.

[0009] In a fourth aspect, the present disclosure provides an apparatus, the apparatus including a memory, a processor, and a computer program capable of being stored in the memory and executed by the processor, the computer program being capable of implementing the above method when executed by the processor.

[0010] In a fifth aspect, the present disclosure provides a computer program product, the computer program product comprising computer programs / instructions which, when executed on a processor, realise the above method.

[0011] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure.

[0012] In order to more clearly describe the embodiments of the present disclosure, the following briefly introduces drawings necessary for describing the embodiments, and obviously, those skilled in the art can obtain other drawings based on these drawings without creative labor. [Brief description of the drawings]

[0013] [Figure 1] FIG. 2 is a flow diagram of a multimedia editing file conversion method provided by an embodiment of the present disclosure. [Diagram 2]2 is a schematic diagram of an interaction logic between a first application and a second application provided by an embodiment of the present disclosure. [Diagram 3] FIG. 1 is a schematic diagram of the basic architecture of an electronic device provided by an embodiment of the present disclosure. [Figure 4] 2 is a logical schematic diagram of a video editing method provided by an embodiment of the present disclosure; [Diagram 5] FIG. 2 is a structural schematic diagram of a multimedia editing file conversion device provided by an embodiment of the present disclosure; [Figure 6] FIG. 2 is a structural schematic diagram of a video editing device provided by an embodiment of the present disclosure; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] In order to clarify the above objects, features and advantages of the present disclosure, the present disclosure will be further described below. It should be noted that, under the condition that there is no conflict, the embodiments and features of the embodiments of the present disclosure can be combined with each other.

[0015] In the following description, numerous details are set forth in order to provide a thorough understanding of the present disclosure; however, the present disclosure may be practiced in other ways than as described herein, and it is apparent that the embodiments in the specification are merely some, but not all, of the embodiments of the present disclosure.

[0016] SUMMARY OF THE DISCLOSURE The embodiments of the present disclosure provide a method, apparatus, device, and medium for secure multimedia editing file conversion.

[0017] 1 shows a flow diagram of a multimedia editing file conversion method provided by an embodiment of the present disclosure. As shown in FIG. 1, the multimedia editing file conversion method includes the following steps:

[0018] S110, obtaining a first multimedia editing file, the first multimedia editing file being used to indicate an editing project for performing an editing operation on the multimedia material, being used to indicate first instruction information of the multimedia material, and being used to indicate second instruction information of the editing operation to be encapsulated as the first multimedia editing file according to a first data format, the first data format being a data format supported by the first application.

[0019] The first multimedia editing file refers to the original editing file that was generated using the first application.

[0020] Optionally, the first multimedia editing file includes, but is not limited to, a video editing file, an audio editing file, a photo editing file, and a text editing file, and thus the first application includes, but is not limited to, a video editing application, an audio editing application, a photo editing application, and a text editing application.

[0021] The first multimedia editing file includes instruction information, the instruction information corresponds to a first data format, and the instruction information includes first instruction information and second instruction information, specifically, the first instruction information for indicating a multimedia material may be a material number, and the second instruction information for indicating an editing operation is a binary command.

[0022] The editing project refers to a video project, an audio project, a text project, etc. obtained by editing in a first application, and the editing project corresponds to a first data format, and the editing operation refers to a processing operation that generates the editing project, which includes at least one of a video editing operation, an audio editing operation, a text editing operation, and a special effects editing operation.

[0023] The multimedia material refers to the original material used when the first application generates the editing project.

[0024] An editing operation is a processing operation that generates an editing project based on multimedia material.

[0025] In this embodiment, the electronic device utilizes a first application to determine multimedia materials and editing operations on the multimedia materials according to a user's operation, each multimedia material is indicated by a first instruction information, and the editing operations on the multimedia materials are indicated by a second instruction information, and the first application generates a first multimedia editing file according to the first instruction information and the second instruction information. Further, the first application uses a preset editing assembly to identify the first instruction information and the second instruction information from the first multimedia editing file, obtain the multimedia materials according to the first instruction information, perform editing operations on the multimedia materials according to the second instruction information, and generate an editing project, and finally, the first application displays the generated editing project on an editing interface.

[0026] Take as an example that the first application is a first video editing application, and the first multimedia editing file is a first video editing file. After a user shoots a video, the user uses the first video editing application to cut the shot video, for example, the user adds special effects and background music to the video and adjusts the playback order in the video editing interface of the first video editing application, the added special effects, the added background music and the determined playback order are video materials, i.e., multimedia materials, the operations of adding special effects, adding background music and adjusting the playback order are video editing operations, i.e., editing operations, and finally, the first video editing file, i.e., the first multimedia editing file, is generated according to the first instruction information corresponding to the video materials and the second instruction information corresponding to the video editing operations. Further, the first video editing application uses the video editing assembly to identify the first instruction information and the second instruction information from the first video editing file, obtain the video materials according to the first instruction information, perform editing operations on the video materials according to the second instruction information, and generate a video project, and finally, the first video editing application displays the generated video project in the video editing interface.

[0027] It should be understood that since the first data format is a data format supported by the first application, it means that a file in the first data format can be read and processed by the first application, but this does not mean that the first application only supports the first data format and cannot support other data formats.

[0028] S120, the first multimedia editing file is analyzed to obtain first indication information and second indication information.

[0029] It should be understood that the electronic device uses a first application to generate an editing project, and displays the editing project in an editing interface, and then when a user wants to continue editing using the editing project, the electronic device shares the first multimedia editing file to a second application according to the user's sharing operation. Specifically, in the sharing process, the electronic device performs data format analysis on the first multimedia editing file through a data format analysis assembly preset in the first application or the device system, and obtains first instruction information and second instruction information.

[0030] S130, encapsulating the first instruction information and the second instruction information as a second multimedia editing file according to a second data format, the second multimedia editing file being used to indicate the editing project, and the second data format being a data format supported by a second application.

[0031] The second multimedia editing file refers to the target editing file generated after performing a data format conversion on the instruction information using the second application.

[0032] Optionally, the second multimedia editing file includes, but is not limited to, a video editing file, an audio editing file, a photo editing file, and a text editing file, and thus, the second application includes, but is not limited to, a video editing application, an audio editing application, a photo editing application, and a text editing application.

[0033] The second multimedia editing file includes instruction information, the instruction information corresponding to a second data format, and the instruction information includes first instruction information and second instruction information.

[0034] It should be understood that since the second data format is a data format supported by the second application, it means that a file in the second data format can be read and processed by the second application, but this does not mean that the second application only supports the second data format and cannot support other data formats.

[0035] In some embodiments, the second data format may be a common data format that can be supported by both the first application and the second application, that is, the second multimedia editing file is an intermediate file that can be read by both the first application and the second application. Specifically, after using the first application to generate the first multimedia editing file and sharing the generated video project to the second application, the first application encapsulates the first instruction information and the second instruction information obtained by parsing into the first multimedia editing file according to the second data format as the second multimedia editing file. Furthermore, the second application uses the preset editing assembly to identify the first instruction information and the second instruction information from the second multimedia editing file, and determines an editing project based on the first instruction information and the second instruction information; finally, the second application can directly display and post the editing project in the editing interface, and can also generate a new editing project based on the user's operation on the editing project; finally, the second application can display and post the new editing project in the editing interface.

[0036] Take as an example that the first application is a first video editing application, the first multimedia editing file is a first video editing file, and the second application is a second video editing application. After using the first video editing application to generate the first video editing file and sharing the generated video project to the second video editing application, the first video editing application encapsulates the first instruction information and the second instruction information obtained by parsing into the first video editing file according to the second data format as a second video editing file. Furthermore, the second video editing application uses a preset video editing assembly to identify the first instruction information and the second instruction information from the second multimedia editing file, and determines a video project according to the first instruction information and the second instruction information; finally, the second video editing application can directly display and post the video project in the video interface, and can also generate a new video project according to the user's operation on the video project; finally, the second video editing application can display and post the new video project in the editing interface.

[0037] In some other embodiments, the second data format is a data format supported by the second application and not supported by the first application, that is, the second multimedia editing file is a file that can only be read by the second application. Specifically, after using the first application to generate the first multimedia editing file and sharing the generated video project to the second application, the device system or other application can encapsulate the first instruction information and the second instruction information obtained by parsing into the first multimedia editing file as the second multimedia editing file according to the second data format. Furthermore, the second application can use the preset editing assembly to identify the first instruction information and the second instruction information from the second multimedia editing file, and determine an editing project based on the first instruction information and the second instruction information; finally, the second application can directly display and post the editing project in the editing interface, and can also generate a new editing project based on the user's operation on the editing project; finally, the second application can display and post the new editing project in the editing interface.

[0038] An embodiment of the present disclosure provides a method for converting a multimedia editing file, including first obtaining a first multimedia editing file, the first multimedia editing file being used to indicate an editing project for performing an editing operation on multimedia material, and used to indicate first instruction information of the multimedia material, and second instruction information of the editing operation to be encapsulated as the first multimedia editing file according to a first data format, the first data format being a data format supported by a first application; then analyzing the first multimedia editing file to obtain the first instruction information and second instruction information, and then encapsulating the first instruction information and the second instruction information as a second multimedia editing file according to the second data format, the second multimedia editing file being used to indicate the editing project, the second data format being a data format supported by a second application. With the above method, the multimedia editing materials and editing operations of a multimedia editing file are indicated by different instruction information, and the instruction information is encapsulated as a data format that can be supported by each application program itself, eliminating the need to convert and edit large amounts of multimedia materials. By converting the instruction information, file format conversion in different applications is realized. This conversion method is easy to implement and has high conversion efficiency, and also supports the conversion of multimedia editing files that occupy a large amount of internal storage space in different application programs, improving the reliability and versatility of multimedia file conversion.

[0039] In another embodiment of the present disclosure, the methods of acquiring multimedia material are diverse, and the types of multimedia material are also diverse.

[0040] Specifically, the method of acquiring multimedia materials is as follows: Obtaining multimedia material from a multimedia editing interface of the first application; calling a port of a material parsing assembly of the first application to obtain multimedia material; The method includes at least one of: invoking a port of a special effects assembly of the first application to obtain the multimedia material.

[0041] The multimedia editing interface provides original multimedia editing data, including text data, audio data, video data, and so on.

[0042] The ports of the material analysis assembly can acquire material analysis data, and the ports of the material analysis assembly can acquire data such as variable speed data, rotation data, zoom data, and the like.

[0043] The ports of the special effects assembly can obtain special effects data, which may include audio special effects, video special effects, and the like.

[0044] Optionally, the multimedia material comprises: The data includes at least one of canvas data, video material data, audio material data, photo material data, and text material data, or a combination of multiple data.

[0045] Optionally, the canvas data includes a canvas size, the video material data includes at least one of a video duration, a video cutting time, a video variable speed data, a video rotation data, a video zoom data, a video width and height, an original path, a relative canvas position, a track level, the audio material includes at least one of an audio duration, an audio cutting time, an audio variable speed data, a volume data, an audio rotation data, an audio zoom data, an audio width and height, an audio track level, the photo material data includes at least one of a photo size, a relative canvas position, a photo color, a scenery in the photo, and the text material data includes at least one of a text size, a relative canvas position, a track level.

[0046] Therefore, different types of multimedia materials can be obtained through multiple ports, so that the multimedia editing file conversion method can use various scenarios such as video conversion, audio conversion, text conversion, photo conversion, etc., and the versatility of the method is improved.

[0047] In another embodiment of the present disclosure, the second data format may be a common data format that may be supported by both the first application and the second application, and a data format conversion is performed by the protocol assembly, and the second data format may be a format that is supported by the second application and not supported by the first application.

[0048] In some embodiments of the present disclosure, the second data format may be a common data format that can be supported by both the first application and the second application, and thus, after S130, the method includes the following steps:

[0049] The second multimedia editing file is encapsulated as a third multimedia editing file in response to a third data format, the third multimedia editing file being used to represent the editing project, the third data format being a data format supported by the second application and not supported by the first application.

[0050] Specifically, the editing operation indicated by the second instruction information in the first multimedia editing file is realized through a first protocol assembly, and the first protocol assembly supports a first data format but does not support a second data format and a third data format;

[0051] The editing operation indicated by the second instruction information in the third multimedia editing file is realized via a second protocol assembly, which supports the third data format but does not support the first data format and the second data format.

[0052] The first protocol assembly and the protocol relay assembly are predefined in a first application, and the second protocol assembly is predefined in a second application.

[0053] The format conversion process between the two applications is described in detail as follows: first, the first application uses the first protocol assembly to generate a first multimedia editing file according to the first instruction information corresponding to the multimedia material and the second instruction information corresponding to the editing operation in accordance with the first data format; then, the first application uses the relay protocol assembly to analyze the first multimedia editing file to obtain the first instruction information and the second instruction information; then, the first application uses the relay protocol assembly to generate a second multimedia editing file according to the first instruction information corresponding to the multimedia material and the second instruction information corresponding to the editing operation in accordance with the second data format; because the second data format is a common data format that can be supported by both the first and second applications, the first multimedia editing file that is not supported by the second application is converted into a second multimedia editing file that is supported by the second application; finally, the second application uses the second protocol assembly to generate a third multimedia editing file according to the first instruction information corresponding to the multimedia material and the second instruction information corresponding to the editing operation in accordance with the third data format.

[0054] To avoid generating redundant files in the photo album or audio folder, the second multimedia editing file can be stored in the internal storage of the first application, and the second application retrieves the second multimedia editing file from the internal storage of the first application.

[0055] Thus, in some embodiments, prior to encapsulating the second multimedia editing file into a third multimedia editing file in accordance with the third data format, the method further comprises: storing the second multimedia editing file in the internal storage device of the first application, and setting the access authority of the storage path of the second multimedia editing file; and in response to a sharing operation for the second application, granting access authority to the storage path to the second application.

[0056] The internal storage device of the first application refers to a local internal storage device or a cloud space corresponding to the first application.

[0057] The access permission setting refers to opening or closing the access permission to the storage path of the second multimedia editing file.

[0058] The share operation is a user operation for triggering a first application to share a second multimedia editing file to a second application.

[0059] Furthermore, after opening the access authority, encapsulating the second multimedia editing file into a third multimedia editing file according to a third data format, specifically including the following steps:

[0060] When receiving an access request to the storage path sent by the second application and invoking a file sharing assembly and a file access assembly preset for the second multimedia editing file, the second multimedia editing file is read from the internal storage device of the first application, and the second multimedia editing file is encapsulated as a third multimedia editing file according to a third data format.

[0061] The access request is request information for accessing the storage path of the first application.

[0062] The file sharing assembly may be a shared port between the first application and the second application. Specifically, the file sharing assembly may be a FileProvider provided by a device system of a device on which the first application is deployed and deployed in a drive layer of the device system.

[0063] The file access assembly refers to an access port between the first application and the second application. Specifically, the file access assembly may be a ContentProvider provided by a device system of a device on which the first application is deployed and disposed in a drive layer of the device system.

[0064] It should be understood that when calling the equipment system to launch the second application, the equipment system first determines whether the second application is installed, if the second application is installed, launches the second application directly, the second application generates an access request to the storage path, and the first application sends the second multimedia editing file to the second application in response to the access request. Under other circumstances, if the second application is not installed, after the equipment system installs and launches the second application, the second application generates an access request to the storage path, and the first application sends the second multimedia editing file to the second application in response to the access request.

[0065] To understand the interaction logic between the first application and the second application, refer to FIG. 2, when the second application triggers to query the storage path, it calls the file access assembly (ContentProvider) to send an access request for the storage path, and then the first application calls the file sharing assembly (FileProvider) to send the second multimedia editing file to the second application.

[0066] The above file conversion process is described below based on the basic architecture. FIG. 3 shows a schematic diagram of the basic architecture of the electronic device provided by the embodiment of the present disclosure.

[0067] As shown in Figure 3, the basic architecture includes an application layer, a protocol layer, and a driving layer. The application layer includes a first application and a second application. The protocol layer includes a first protocol, a relay protocol, and a second protocol. The driving layer includes a port of a video analysis assembly (abbreviated as Video Analysis SDK), a port of a special effect assembly (abbreviated as Special Effect SDK), a file sharing assembly (FileProvider), and a file access assembly (ContentProvider).

[0068] Specifically, the first protocol corresponds to a first protocol assembly, and the first application uses the first protocol assembly to generate a first multimedia editing file according to the first data format based on the first instruction information corresponding to the multimedia material and the second instruction information corresponding to the editing operation. Optionally, the multimedia material can obtain video material data through a video analysis SDK and obtain special effect material data through a special effect SDK. Further, the relay protocol corresponds to a relay protocol assembly, and the first application uses the relay protocol assembly to generate a second multimedia editing file according to the second data format based on the first instruction information corresponding to the multimedia material and the second instruction information corresponding to the editing operation. Further, the second protocol corresponds to a second protocol assembly, and the second application uses the second protocol assembly to generate a third multimedia editing file according to the third data format based on the first instruction information corresponding to the multimedia material and the second instruction information corresponding to the editing operation.

[0069] Therefore, the second multimedia editing file corresponding to the second data format is used as a relay file between the first application and the second application, thereby realizing data format conversion between the applications.

[0070] In some other embodiments of the present disclosure, the editing operation indicated by the second instruction information in the first multimedia editing file is realized by a first application, which supports a first data format but does not support a second data format, and the editing operation indicated by the second instruction information in the second multimedia editing file is realized by a second application, which supports the second data format but does not support the first data format, and thus S130 specifically includes the following steps:

[0071] The first instruction information and the second instruction information are encapsulated as a second multimedia editing file according to a second data format using a pre-configured relay application.

[0072] The relay application is an application installed in a device system other than the first application and the second application. Specifically, the relay application stores in advance a correspondence relationship between the first data format and the second data format, and converts the first data format into the second data format based on the correspondence relationship to generate a second multimedia editing file supported by the second application.

[0073] Therefore, the relay application can be used as a bridge for data format conversion to achieve data format conversion between applications.

[0074] In a further embodiment of the present disclosure, a whole method for converting multimedia editing files is described. For illustration, the embodiment uses the above embodiment of the protocol assembly as a specific implementation method for implementing data format conversion. Figure 4 shows a logic schematic diagram of the method for converting multimedia editing files provided by the embodiment of the present disclosure. As shown in Figure 4, the method for converting multimedia editing files includes the following steps:

[0075] S410, obtaining a first multimedia editing file, the first multimedia editing file being used to indicate an editing project for performing an editing operation on the multimedia material, being used to indicate first instruction information of the multimedia material, and being used to indicate second instruction information of the editing operation to be encapsulated as the first multimedia editing file according to a first data format, the first data format being a data format supported by the first application.

[0076] S420, the first multimedia editing file is analyzed to obtain first indication information and second indication information.

[0077] S430, encapsulating the first instruction information and the second instruction information as a second multimedia editing file according to a second data format, the second multimedia editing file being used to represent the editing project, and the second data format being a data format supported by a second application.

[0078] S440, storing the second multimedia editing file in the internal storage device of the first application, and setting the access authority of the storage path of the second multimedia editing file.

[0079] S450, in response to a sharing operation for the second application, granting the second application access authority to the storage path.

[0080] S460, calling a second application.

[0081] S470, determining whether a second application is installed.

[0082] Specifically, if the second application is installed, execute S480 directly; otherwise, execute S490.

[0083] S480, directly launching the second application to receive the access request for the storage path sent by the second application, and simultaneously invoking a file sharing assembly and a file access assembly preset for the second multimedia editing file.

[0084] S490, installing and launching a second application, receiving a storage path access request sent by the second application, and simultaneously invoking a file sharing assembly and a file access assembly preset for the second multimedia editing file.

[0085] S491, reading a second multimedia editing file from an internal storage device of the first application, and encapsulating the second multimedia editing file as a third multimedia editing file according to a third data format.

[0086] Based on the same inventive concept as the above method embodiment, the present disclosure further provides a multimedia editing file conversion device. Referring to FIG. 5, a structural schematic diagram of the multimedia editing file conversion device provided by the embodiment of the present disclosure is shown. The multimedia editing file conversion device 500 includes: an acquisition module 501 for acquiring a first multimedia editing file, the first multimedia editing file being used to indicate an editing project for performing an editing operation on a multimedia material, being used to indicate first instruction information of the multimedia material, and being used to indicate second instruction information of the editing operation to be encapsulated in the first multimedia editing file according to a first data format, the first data format being a data format supported by a first application; an analysis module 502 for analyzing the first multimedia editing file to obtain the first indication information and the second indication information; and an encapsulation module 503 for encapsulating the first instruction information and the second instruction information as a second multimedia editing file in accordance with a second data format, the second multimedia editing file being used to represent the editing project, the second data format being a data format supported by a second application.

[0087] In an optional embodiment, the second data format is a common data format supported by both the first application and the second application, and the device: The present invention further includes a secondary encapsulation module for encapsulating the second multimedia editing file as a third multimedia editing file in response to a third data format, the third multimedia editing file being used to represent the editing project, the third data format being a data format supported by the second application and not supported by the first application.

[0088] In an optional embodiment, the editing operation indicated by the second instruction information in the first multimedia editing file is realized via a first protocol assembly, the first protocol assembly supporting the first data format but not supporting the second data format and the third data format; The editing operation indicated by the second instruction information in the third multimedia editing file is realized via a second protocol assembly, which supports the third data format but does not support the first data format and the second data format.

[0089] In one optional embodiment, the apparatus comprises: an access authority module for storing the second multimedia editing file in an internal storage device of the first application and setting an access authority of a storage path of the second multimedia editing file; The storage device further includes an access authority opening module for granting access authority of the storage path to the second application in response to a sharing operation for the second application.

[0090] In an optional embodiment, the secondary encapsulation module is specifically used to receive an access request to the storage path sent by the second application, and when it invokes a file sharing assembly and a file access assembly pre-configured for the second multimedia editing file, read the second multimedia editing file from the internal storage device of the first application, and encapsulate the second multimedia editing file as the third multimedia editing file according to the third data format.

[0091] In an optional embodiment, the editing operations indicated by the second instruction information in the first multimedia editing file are implemented by the first application, the first application supporting the first data format but not supporting the second data format; the editing operations indicated by the second instruction information in the second multimedia editing file are implemented by the second application, the second application supporting the second data format but not supporting the first data format; Therefore, the encapsulation module is specifically used to encapsulate the first instruction information and the second instruction information as a second multimedia editing file according to the second data format using a pre-configured relay application.

[0092] In an optional embodiment, the multimedia material comprises: The data includes at least one of canvas data, video material data, audio material data, photo material data, and text material data, or a combination of multiple data.

[0093] In an optional embodiment, the method of obtaining multimedia material comprises: obtaining the multimedia material from a multimedia editing interface of the first application; calling a port of a material parsing assembly of the first application to obtain the multimedia material; and invoking a port of a special effects assembly of the first application to obtain the multimedia material.

[0094] In the reliable multimedia editing file conversion device provided by the embodiment of the present disclosure, First, obtain a first multimedia editing file, the first multimedia editing file is used to indicate an editing project for performing an editing operation on the multimedia material, and is used to indicate first instruction information of the multimedia material and second instruction information of the editing operation to be encapsulated as the first multimedia editing file according to a first data format, the first data format being a data format supported by the first application; then analyze the first multimedia editing file to obtain the first instruction information and second instruction information, and then encapsulate the first instruction information and the second instruction information as a second multimedia editing file according to the second data format, the second multimedia editing file is used to indicate the editing project, the second data format being a data format supported by the second application. With the above method, the multimedia editing materials and editing operations of a multimedia editing file are indicated by different instruction information, and the instruction information is encapsulated as a data format that can be supported by each application program itself, eliminating the need to convert and edit large amounts of multimedia materials. By converting the instruction information, file format conversion in different applications is realized. This conversion method is easy to implement and has high conversion efficiency, and also supports the conversion of multimedia editing files that occupy a large amount of internal storage space in different application programs, improving the reliability and versatility of multimedia file conversion.

[0095] In addition to the above methods and apparatus, an embodiment of the present disclosure further provides a computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, and when the instructions are executed on a terminal device, the terminal device realizes the video editing method described in the embodiment of the present disclosure.

[0096] The present disclosure further provides a computer program product, which includes computer programs / instructions, and when the computer programs / instructions are executed on a processor, the method for converting a multimedia editing file of the embodiments of the present disclosure is realized.

[0097] In addition, the embodiment of the present disclosure further provides a multimedia editing file conversion device. Referring to FIG. 6, the multimedia editing file conversion device 600 includes: The video editing device may further include a processor 601, a memory 602, an input device 603, and an output device 604. There may be one or more processors 601 in the video editing device, but Fig. 6 illustrates one processor as an example. In some embodiments of the present disclosure, the processor 601, the memory 602, the input device 603, and the output device 604 may be connected by a bus or other methods, and Fig. 6 illustrates the connection by a bus as an example.

[0098] The memory 602 may be used to store software programs and modules, and the processor 601 executes various functional applications and data processing of the video editing device by executing the software programs and modules stored in the memory 602. The memory 602 mainly includes a program storage area and a data storage area, and the program storage area may store an operating system, at least one application program required for the functions, and the like. The memory 602 may include a high-speed random memory, and may further include a non-volatile memory, such as at least one magnetic disk device, a flash memory device, or other volatile solid-state memory. The input device 603 may be used to receive input numerical or textual information and generate signal inputs related to user settings and function control of the video editing device.

[0099] Specifically, in this embodiment, the processor 601 loads executable files corresponding to the processes of one or more application programs into the memory 602 in accordance with the following instructions, and the processor 601 executes the application programs stored in the memory 602, thereby realizing various functions of the above-mentioned video editing equipment.

[0100] As used herein, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another and do not require or imply an actual relationship or sequence between these entities or operations. And the terms "comprise", "comprises", or any other variation thereof, are intended to cover a non-exclusive inclusion, since a process, method, article, or device that includes a set of elements is not necessarily limited to only those elements, but can include other elements not expressly listed, or elements inherent to such process, method, article, or device. Unless specifically limited, an element limited by the words "comprises" does not preclude the presence of additional identical elements in the process, method, article, or device that includes the element.

[0101] The above description is merely a specific embodiment of the present disclosure, which is intended to enable those skilled in the art to understand or realize the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Thus, the present disclosure is not intended to be limited to these examples herein, but should be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. 1. A method for converting a multimedia editing file, comprising the steps of: obtaining a first multimedia editing file, the first multimedia editing file being used to indicate an editing project for performing editing operations on multimedia material, to indicate first instruction information of the multimedia material, and to indicate second instruction information of the editing operations to be encapsulated in the first multimedia editing file according to a first data format, the first data format being a data format supported by a first application; analyzing the first multimedia editing file to obtain the first indication information and the second indication information; and encapsulating the first instruction information and the second instruction information as a second multimedia editing file in accordance with a second data format, the second multimedia editing file being used to represent the editing project, the second data format being a data format supported by a second application.

2. the second data format is a common data format supported by both the first application and the second application, and the conversion method includes:

2. The method of claim 1, further comprising: encapsulating the second multimedia editing file as a third multimedia editing file in accordance with a third data format, the third multimedia editing file being used to represent the editing project, the third data format being a data format supported by the second application and not supported by the first application.

3. The editing operation indicated by the second instruction information in the first multimedia editing file is realized through a first protocol assembly, and the first protocol assembly supports the first data format but does not support the second data format and the third data format; 3. The conversion method of claim 2, wherein the editing operation indicated by the second instruction information in the third multimedia editing file is realized via a second protocol assembly, the second protocol assembly supporting the third data format but not supporting the first data format and the second data format.

4. Prior to the step of encapsulating the second multimedia editing file as a third multimedia editing file in accordance with a third data format, the method of conversion further comprises: storing the second multimedia editing file in an internal storage device of the first application, and setting an access authority of a storage path of the second multimedia editing file; 4. The method according to claim 2, further comprising the step of: granting said second application access authority to said storage path in response to a sharing operation for said second application.

5. encapsulating the second multimedia editing file as a third multimedia editing file in accordance with a third data format; The conversion method of claim 4, further comprising the steps of: when receiving an access request to the storage path sent by the second application and invoking a file sharing assembly and a file access assembly previously set for the second multimedia editing file, reading the second multimedia editing file from the internal storage device of the first application, and encapsulating the second multimedia editing file as the third multimedia editing file according to the third data format.

6. an editing operation indicated by the second instruction information in the first multimedia editing file is realized by the first application, the first application supporting the first data format but not supporting the second data format; an editing operation indicated by the second instruction information in the second multimedia editing file is realized by the second application, the second application supporting the second data format but not supporting the first data format; Thus, the step of encapsulating the first and second indications into a second multimedia editing file in accordance with a second data format comprises:

2. The method of claim 1, further comprising: encapsulating the first instruction information and the second instruction information into the second multimedia editing file in accordance with the second data format using a pre-configured relay application.

7. The multimedia material is: The method of any one of claims 1 to 6, further comprising converting at least one of the following data or a combination of multiple data: canvas data, video material data, audio material data, photo material data, and text material data.

8. The method for acquiring multimedia material comprises: obtaining the multimedia material from a multimedia editing interface of the first application; calling a port of a material parsing assembly of the first application to obtain the multimedia material; The method of any one of claims 1 to 7, further comprising at least one of: invoking a port of a special effects assembly of the first application to obtain the multimedia material.

9. A multimedia editing file conversion device, comprising: an acquisition module for acquiring a first multimedia editing file, the first multimedia editing file being used to indicate an editing project for performing an editing operation on a multimedia material, being used to indicate first instruction information of the multimedia material, and being used to indicate second instruction information of the editing operation to be encapsulated in the first multimedia editing file according to a first data format, the first data format being a data format supported by a first application; an analysis module for analyzing the first multimedia editing file to obtain the first indication information and the second indication information; and an encapsulation module for encapsulating the first instruction information and the second instruction information as a second multimedia editing file in accordance with a second data format, the second multimedia editing file being used to represent the editing project, the second data format being a data format supported by a second application.

10. A computer-readable storage medium having instructions stored therein, the instructions being, when executed by a terminal device, causing the terminal device to implement the conversion method according to any one of claims 1 to 8.

11. An apparatus comprising a memory, a processor, and a computer program that can be stored in the memory and executed by the processor, the apparatus realizing the conversion method according to any one of claims 1 to 8 when the computer program is executed by the processor.

12. A computer program product comprising computer programs / instructions which, when executed on a processor, result in the implementation of the method according to any one of claims 1 to 8.