Video draft editing method and device and computing equipment

The method enables seamless video draft editing across different engines by converting and adapting resources, addressing compatibility problems and enhancing user experience and efficiency.

CN119182956APending Publication Date: 2024-12-24SHANGHAI HODE INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411217430.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2024-12-24

AI Technical Summary

Technical Problem

Existing video editing engines often cause compatibility issues when switching, leading to abnormal opening of user-generated video drafts and a degraded user experience.

Method used

A method and device for cross-engine editing that performs resource conversion and compatibility adaptation, allowing seamless migration and format conversion between different video editing engines by determining engine consistency, performing upgrade or downgrade conversions, and setting engine compatibility parameters.

Benefits of technology

Ensures video drafts can be opened and edited without compatibility issues, enhancing user experience and stability, and improving resource availability and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119182956A_ABST
    Figure CN119182956A_ABST
Patent Text Reader

Abstract

The invention discloses a video draft editing method and device, computing equipment, a storage medium and a program product. The method comprises the steps that a draft editing request triggered by a user is received, and the draft editing request carries a video draft to be edited; in response to the draft editing request, obtaining first video editing engine information for producing a to-be-edited video draft; judging whether second video editing engine information corresponding to the current video draft editor is consistent with the first video editing engine information or not; if not, performing resource conversion processing on the to-be-edited video draft according to the second video editing engine information; and carrying out draft display on the to-be-edited video draft after the resource conversion processing by utilizing the current video draft editor. According to the method and the device, the function of cross-engine editing of the video draft is realized, seamless resource migration and format conversion among different video editing engines can be realized, the situation that the video draft cannot be opened due to the problem of engine compatibility does not need to be worried about, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and in particular to a video draft editing method, apparatus, computing device, computer storage medium and computer program product. Background Art

[0002] With the development of the Internet, more and more users like to use smart devices to shoot and create short videos and share them on social platforms to express their life status or emotions. At present, major social platforms have provided corresponding video editing tools for users to edit and publish videos.

[0003] As the business develops, social platforms may develop new video editing engines so that video editing tools can support multiple video editing engines. When the video editing engine is switched, video drafts produced by users using the old video editing engine may not be opened normally or the opening effect may be abnormal, thus affecting the user experience. Summary of the invention

[0004] In view of the above problems, the present application is proposed to provide a video draft editing method, apparatus, computing device, computer storage medium and computer program product that overcome the above problems or at least partially solve the above problems.

[0005] According to one aspect of the present application, a video draft editing method is provided, comprising:

[0006] Receiving a draft editing request triggered by a user, wherein the draft editing request carries a draft video to be edited;

[0007] In response to a draft editing request, obtaining information of a first video editing engine for generating a video draft to be edited;

[0008] Determine whether the second video editing engine information corresponding to the current video draft editor is consistent with the first video editing engine information;

[0009] If not, performing resource conversion processing on the video draft to be edited according to the second video editing engine information;

[0010] The current video draft editor is used to display the video draft to be edited after resource conversion, so that the user can edit the video draft.

[0011] Further, according to the second video editing engine information, performing resource conversion processing on the video draft to be edited further includes:

[0012] If the first video editing engine is a new video editing engine and the second video editing engine is an old video editing engine, performing resource downgrading conversion processing on the video draft to be edited according to the information of the second video editing engine;

[0013] If the first video editing engine is an old video editing engine and the second video editing engine is a new video editing engine, resource upgrade conversion processing is performed on the video draft to be edited according to the information of the second video editing engine.

[0014] Further, according to the second video editing engine information, performing resource conversion processing on the video draft to be edited further includes:

[0015] Obtaining a material download address that has a mapping relationship with the second video editing engine information and each material identifier recorded in the draft video to be edited;

[0016] According to the material download address, the material is backfilled into the video draft to be edited.

[0017] Furthermore, obtaining a material download address that has a mapping relationship with the second video editing engine information and each material identifier recorded in the draft video to be edited further includes:

[0018] Sending a material acquisition request carrying the second video editing engine information and any material identifier to the material server, so that the material server can query a material download address that has a mapping relationship with the second video editing engine information and any material identifier;

[0019] Receive the material download address returned by the material server.

[0020] Furthermore, obtaining a material download address that has a mapping relationship with the second video editing engine information and each material identifier recorded in the draft video to be edited further includes:

[0021] Aggregating multiple material identifiers of the same material type to obtain an aggregated material identifier;

[0022] Sending a material acquisition request carrying the second video editing engine information and the aggregated material identifier to the material server, so that the material server can identify and process the aggregated material identifier, obtain multiple material identifiers, and query multiple material download addresses that have a mapping relationship with the second video editing engine information and the multiple material identifiers;

[0023] Receive multiple material download addresses returned by the material server.

[0024] Furthermore, according to the material download address, the material backfilling process for the video draft to be edited further includes:

[0025] Download and store the material according to the material download address;

[0026] The storage path corresponding to the downloaded material is used to replace the original storage path recorded in the draft video to be edited.

[0027] Furthermore, before using the current video draft editor to perform a draft display on the video draft to be edited after the resource conversion process, the method further includes: determining the material display difference between the first video editing engine and the second video editing engine;

[0028] Set engine compatibility adaptation parameters based on material display differences;

[0029] Using the current video draft editor to display the draft of the video to be edited after the resource conversion further includes:

[0030] According to the engine compatibility adaptation parameters, the current video draft editor is used to display the draft of the video to be edited after the resource conversion process.

[0031] Furthermore, the method also includes: after completing the resource conversion process, modifying the production engine information of the video draft to be edited into the second video editing engine information.

[0032] According to another aspect of the present application, a video draft editing device is provided, comprising:

[0033] A receiving module, adapted to receive a draft editing request triggered by a user, wherein the draft editing request carries a video draft to be edited;

[0034] An acquisition module, adapted to acquire information of a first video editing engine that produces a video draft to be edited in response to a draft editing request;

[0035] A judgment module, adapted to judge whether the second video editing engine information corresponding to the current video draft editor is consistent with the first video editing engine information;

[0036] A resource conversion processing module, adapted to perform resource conversion processing on the video draft to be edited according to the second video editing engine information if there is inconsistency;

[0037] The display module is suitable for using the current video draft editor to display the draft of the video to be edited after resource conversion, so that the user can edit the video draft.

[0038] According to another aspect of the present application, there is provided a computing device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;

[0039] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute operations corresponding to the above-mentioned video draft editing method.

[0040] According to another aspect of the present application, a computer storage medium is provided, in which at least one executable instruction is stored, and the executable instruction enables a processor to perform operations corresponding to the above-mentioned video draft editing method.

[0041] According to another aspect of the present application, a computer program product is provided, comprising at least one executable instruction, wherein the executable instruction enables a processor to perform operations corresponding to the above-mentioned video draft editing method.

[0042] According to the video draft editing method, device, computing device, computer storage medium and computer program product provided by the embodiments of the present application, the function of cross-engine editing of video drafts is realized, and seamless resource migration and format conversion between different video editing engines can be achieved, without worrying about the situation where the video draft cannot be opened due to engine compatibility issues. At the same time, the method can also effectively improve the availability and stability of video drafts and enhance the user experience.

[0043] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0045] Figure 1 A schematic diagram of a process of editing a video draft according to an embodiment of the present application is shown;

[0046] Figure 2A A schematic diagram showing a flow chart of a video draft editing method according to another embodiment of the present application is shown;

[0047] Figure 2B A schematic diagram of judging the upgrade or downgrade of a draft video to be edited;

[0048] Figure 2C Schematic diagram for draft cleaning;

[0049] Figure 3 A schematic diagram of the structure of a video draft editing device according to an embodiment of the present application is shown;

[0050] Figure 4 A schematic diagram of the structure of a computing device according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0051] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.

[0052] First, the terms involved in one or more embodiments of the present application are explained.

[0053] Video editing engine: refers to the underlying rendering capability of video editing, providing cropping, splicing, adding special effects, and audio and video encoding and decoding capabilities;

[0054] Video draft: refers to the collection of various materials and their related attributes obtained from video editing.

[0055] Figure 1 A flowchart of a video draft editing method according to an embodiment of the present application is shown.

[0056] like Figure 1 As shown, the method comprises the following steps:

[0057] Step S101: receiving a draft editing request triggered by a user, wherein the draft editing request carries a draft video to be edited.

[0058] In the embodiment of the present application, the user can re-edit the historically saved video drafts through a video editing tool, for example, a client (hereinafter referred to as APP) with a video editing function. For example, a draft editing request can be triggered by voice input or clicking a "continue editing" button in the APP interface or selecting a historical draft list item on the APP interface, wherein the draft editing request carries the video draft edited again by the user this time, and the video draft edited again by the user is referred to as a video draft to be edited, and the client receives the draft editing request triggered by the user.

[0059] Step S102, in response to a draft editing request, obtaining information of a first video editing engine for generating a draft video to be edited.

[0060] Specifically, after the user produces a video draft using a client with a video editing function, the information of the video editing engine used in the production of the produced video draft, such as the engine name, engine version number, etc., will be recorded. When the user wants to re-edit a video draft (i.e., the video draft to be edited), it is necessary to first obtain the production engine information that produced the video draft. In order to distinguish it from the video editing engine corresponding to the current video draft editor of the client, the production engine information is referred to as the first video editing engine information. By obtaining the first video editing engine information that produced the video draft to be edited, it is subsequently determined whether the video draft to be edited needs to be converted into resources.

[0061] Step S103, determine whether the second video editing engine information corresponding to the current video draft editor is consistent with the first video editing engine information, if not, execute step S104.

[0062] Specifically, after the user uses the client to produce the video draft to be edited, the social platform may replace the video editing engine of the video draft editor in the client. Therefore, there may be a situation where the video editing engine of the current video draft editor of the client is inconsistent with the video editing engine for producing the video draft to be edited. Here, it is necessary to determine whether the second video editing engine information corresponding to the current video draft editor is consistent with the first video editing engine information. If they are inconsistent, it means that the video editing engine of the video draft editor has been replaced, and you can jump to execute step S104; if they are consistent, it means that the video editing engine of the video draft editor has not been replaced, and you can directly enter the video draft editor to edit the video draft to be edited, and this method ends.

[0063] Step S104: performing resource conversion processing on the video draft to be edited according to the second video editing engine information.

[0064] If it is found that the video editing engine corresponding to the current video draft editor is inconsistent with the video editing engine used to produce the video draft to be edited, it is necessary to perform resource conversion on the video draft to be edited. When performing resource conversion, resource conversion is performed on the video draft to be edited based on the second video editing engine information, wherein the second video editing engine information is used to indicate the direction of resource format conversion.

[0065] Step S105, using the current video draft editor to display the video draft to be edited after the resource conversion process, so that the user can edit the video draft.

[0066] After the resource conversion process, you can enter the current video draft editor and use the current video draft editor to display the draft video to be edited after the resource conversion process, so that the user can use the current video draft editor to edit the draft video to be edited.

[0067] Specifically, you can use various editing tools provided by the current video draft editor to adjust various attribute values ​​of the video draft, such as resolution, frame rate, brightness, contrast, etc. In addition, you can also perform various visual effects processing on the video draft, such as adding text, watermarks, animations, etc.

[0068] In summary, according to the method provided in this embodiment, the function of cross-engine editing of video drafts is realized, and seamless resource migration and format conversion between different video editing engines can be achieved, without worrying about the situation where video drafts cannot be opened due to engine compatibility issues. At the same time, the method can also effectively improve the availability and stability of video drafts and enhance the user experience.

[0069] Figure 2A FIG. 2 shows a flow chart of a method for editing a video draft according to another embodiment of the present application. Figure 2A As shown, the method comprises the following steps:

[0070] Step S201: receiving a draft editing request triggered by a user, wherein the draft editing request carries a draft video to be edited.

[0071] In the embodiment of the present application, the user can re-edit the historically saved video drafts through a video editing tool, for example, a client (hereinafter referred to as APP) with a video editing function. For example, a draft editing request can be triggered by voice input or clicking a "continue editing" button in the APP interface or selecting a historical draft list item on the APP interface, wherein the draft editing request carries the video draft edited again by the user this time, and the video draft edited again by the user is referred to as a video draft to be edited, and the client receives the draft editing request triggered by the user.

[0072] In actual applications, each video draft is composed of one or more materials, such as video clips, audio clips, pictures, subtitles, filters, stickers, transitions, animations, etc. Among them, subtitles, filters, stickers, transitions, animations may need special processing due to different video editing engines. These materials that need special processing have unique identifiers material_id and material types material_type, and the material type facilitates the aggregation of material identifiers according to the material type in subsequent steps.

[0073] Step S202, in response to a draft editing request, obtaining information of a first video editing engine for generating a draft video to be edited.

[0074] Specifically, after the user produces a video draft using a client with a video editing function, the information of the video editing engine used in the production of the produced video draft, such as the engine name, engine version number, etc., will be recorded. When the user wants to re-edit a video draft (i.e., the video draft to be edited), it is necessary to first obtain the production engine information that produced the video draft. In order to distinguish it from the video editing engine corresponding to the current video draft editor of the client, the production engine information is referred to as the first video editing engine information. By obtaining the first video editing engine information that produced the video draft to be edited, it is subsequently determined whether the video draft to be edited needs to be converted into resources.

[0075] Step S203, determine whether the second video editing engine information corresponding to the current video draft editor is consistent with the first video editing engine information, if not, jump to execute step S204 or step S205.

[0076] Specifically, after the user uses the client to produce a draft video to be edited, the social platform may have replaced the video editing engine of the video draft editor in the client. Therefore, there may be a situation where the video editing engine of the current video draft editor of the client (referred to as the second video editing engine here) is inconsistent with the video editing engine that produces the draft video to be edited (i.e., the first video editing engine). Therefore, when performing a second editing of the draft video to be edited, it is necessary to first determine whether the second video editing engine information corresponding to the current draft video editor is consistent with the first video editing engine information, for example, determine whether the engine names are consistent. If they are inconsistent, it means that the video editing engine of the draft video editor has been replaced, and you can jump to execute step S204 or step S205; if they are consistent, it means that the video editing engine of the draft video editor has not been replaced, and you can directly enter the draft video editor to edit the draft video to be edited, and this method ends.

[0077] Step S204: if the first video editing engine is a new video editing engine and the second video editing engine is an old video editing engine, then resource downgrading conversion processing is performed on the video draft to be edited according to the information of the second video editing engine.

[0078] Specifically, if the first video editing engine that produces the video draft to be edited is a new video editing engine, and the second video editing engine corresponding to the current video draft editor is an old video editing engine, it means that the social platform believes that the new video editing engine may not perform well and has performed an engine rollback to the old video editing engine. In order to enable the video draft produced by the new video editing engine to be opened normally and with normal effects under the old video editing engine, it is necessary to perform resource downgrade conversion processing on the video draft to be edited based on the second video editing engine information, and downgrade it into a resource that can be opened normally and with normal display effects by the second video editing engine.

[0079] Step S205: If the first video editing engine is an old video editing engine and the second video editing engine is a new video editing engine, the video draft to be edited is subjected to resource upgrade conversion processing according to the information of the second video editing engine.

[0080] Specifically, if the first video editing engine that produces the video draft to be edited is an old video editing engine, and the second video editing engine corresponding to the current video draft editor is a new video editing engine, it means that the social platform has updated the video editing engine or developed its own video editing engine. In order to enable the video draft produced by the old video editing engine to be opened normally and with normal effects under the new video editing engine, it is necessary to perform resource upgrade and conversion processing on the video draft to be edited according to the second video editing engine information, and upgrade it into a resource that can be opened normally and displayed normally by the second video editing engine.

[0081] By converting the resources of the video draft to be edited, it can be adapted to different video editing engines, thus realizing the function of cross-engine editing. Moreover, the method can effectively improve the availability and stability of the video draft and reduce the maintenance cost.

[0082] Figure 2B The flowchart of the upgrade and downgrade judgment of the video draft to be edited is as follows: Figure 2BAs shown, the old video editing engine is referred to as video editing engine A (engine A for short), and the new video editing engine is referred to as video editing engine B (engine B for short). If the video editing engine that produces the video draft to be edited is engine A, and the video editing engine of the current video draft editor is engine B, then it is necessary to perform resource upgrade and conversion processing on the video draft to be edited and upgrade it to engine B; if the video editing engine that produces the video draft to be edited is engine B, and the video editing engine of the current video draft editor is engine A, then it is necessary to perform resource downgrade and conversion processing on the video draft to be edited and downgrade it to engine A; if the video editing engine that produces the video draft to be edited is engine B, and the video editing engine of the current video draft editor is engine B, or, the video editing engine that produces the video draft to be edited is engine A, and the video editing engine of the current video draft editor is engine A, then it is not necessary to perform resource downgrade and upgrade conversion processing on the video draft to be edited, and directly jump into the current video draft editor. The upgrade or downgrade here refers to the new video editing engine and the old video editing engine. When the video draft to be edited needs to be upwardly compatible with the new video editing engine, it is called an upgrade. When the video draft to be edited needs to be downwardly compatible with the old video editing engine, it is called a downgrade.

[0083] In an optional implementation of the present application, resource conversion processing can be implemented by the following method:

[0084] Obtain a material download address that has a mapping relationship with the second video editing engine information and each material identifier recorded in the video draft to be edited; and perform material backfill processing on the video draft to be edited according to the material download address.

[0085] Specifically, assuming that multiple material identifiers are recorded in the video draft to be edited, when performing resource conversion processing, the material download address that has a mapping relationship with the second video editing engine information and each material identifier is first obtained, that is, download_url. Each material identifier and video editing engine information corresponds to a material download address, and then according to each material download address, the corresponding material is downloaded in turn, and filled into the video draft to be edited to complete the material backfill processing. Alternatively, after downloading the corresponding material in turn, the storage path corresponding to the downloaded material is used to replace the original storage path recorded in the video draft to be edited.

[0086] In an optional implementation, when obtaining a material download address that has a mapping relationship with the second video editing engine information and each material identifier recorded in the draft video to be edited, one material download address can be obtained each time, and a material acquisition request needs to be sent to the material server for each material identifier. That is to say, the client encapsulates the second video editing engine information and any material identifier into the material acquisition request, and sends the material acquisition request carrying the second video editing engine information and any material identifier to the material server. Since the material server stores various material identifiers, video editing engine information and material download addresses in an associated manner, for example, the material server stores the following material information in an associated manner: the subtitle material id is 1, Video editing engine A, material download address download_url_a: http: / / www.matetial_1_a.caption; subtitle material id is 1, video editing engine B, material download address download_url_b: http: / / www.matetial_1_b.caption. It should be noted that this is only an example and does not have any limiting effect. Therefore, the material server can search for a material download address that has a mapping relationship with the second video editing engine information and any material identifier based on the second video editing engine information and the material identifier, and return the found material download address to the client. The client receives the material download address returned by the material server in response to the material acquisition request, and then downloads and stores the material according to the material download address.

[0087] In an optional implementation, in order to improve resource conversion efficiency, for materials of the same material type, multiple material identifiers can be aggregated according to the material type. For example, multiple material identifiers can be spliced ​​according to a preset format to obtain an aggregated material identifier. That is to say, the aggregated material identifier aggregates multiple material identifiers of the same material type. In order to facilitate the material server to identify each material identifier from the aggregated material identifier, a preset delimiter can be used to separate two material identifiers. If the number of material identifier digits is a fixed number of digits, multiple material identifiers can also be directly spliced ​​together, and then a material acquisition request carrying the second video editing engine information and the aggregated material identifier is sent to the material server. The material server identifies the aggregated material identifier and identifies multiple material identifiers. Then, the material server can find out multiple material download addresses that have a mapping relationship with the second video editing engine information and the multiple material identifiers at one time, and return the multiple material download addresses to the client. The client receives the multiple material download addresses returned by the material server in response to the material acquisition request, and then downloads multiple materials at the same time according to the multiple material download addresses.

[0088] By aggregating material identifiers of the same material type, the number of material acquisition requests sent to the material server can be effectively reduced. Multiple material download addresses can be obtained through one request, thereby effectively improving resource conversion efficiency.

[0089] In an optional implementation, the original storage path of each material is recorded in the video draft to be edited, and the original storage path is used to indicate that when the video editing engine of the video draft editor is the first video editing engine, when the user uses the first video editing engine to edit the video draft, after the material is downloaded and stored according to the first video editing engine information and the material identifier, the location where the material is stored refers to the storage location of the material in the smart device installed with the above-mentioned client;

[0090] After receiving the material download address, the client downloads and stores the material according to the material download address. The downloaded material will be stored in the smart device installed with the above-mentioned client, thereby determining the storage path corresponding to the downloaded material. Then, the storage path corresponding to the downloaded material is used to replace the original storage path recorded in the draft video to be edited, thereby backfilling data.

[0091] In an optional implementation, different video editing engines may have differences in material display. Therefore, before using the current video draft editor to display the draft video to be edited after resource conversion processing, it is necessary to first determine the material display differences between the first video editing engine and the second video editing engine. Then, according to the material display differences, the engine compatibility adaptation parameters are set. Thus, according to the engine compatibility adaptation parameters, the current video draft editor can be used to display the draft video to be edited after resource conversion processing, so that the effects presented by different video editing engines are consistent.

[0092] For example, the granularity of the font size of two video editing engines is different, so the font size can be adjusted according to the engine information. If the font size of engine A is 10, and it is known that the actual font size of engine B will be twice as large as A, then the font size of the draft can be directly mapped, fontSizeB = fontSizeA*0.5, so that the engine compatibility adaptation parameter can be set to 0.5, so that the font size rendered by engine A and engine B can be guaranteed to be the same, and the effects presented by engine A and engine B for the video draft to be edited are consistent. In actual applications, the following materials may be involved: subtitles, flower characters, subtitle animations, combined subtitles, filters, stickers, and transitions. Among them, there may be some materials that have inconsistent material performance effects when rendered using different video editing engines. At this time, it is necessary to set the engine compatibility adaptation parameters. For different types of materials, the engine compatibility adaptation parameters set are different. For example, combined with the display effect of the video draft to be edited in the first video editing engine and the display effect of the second material in the second video editing engine, the material display difference between the first video editing engine and the second video editing engine is determined.

[0093] Figure 2C Schematic diagram of draft cleaning, where draft cleaning includes resource conversion processing and compatibility adaptation processing, such as Figure 2C As shown, here we take the upgrade of the draft video to be edited as an example for explanation. The draft video to be edited contains the following materials: subtitles, flower characters, subtitle animations, combined subtitles, filters, stickers, and transitions. For the above materials, the corresponding material IDs can be extracted respectively, that is, extract the subtitle template ID, extract the flower character ID, extract the subtitle animation ID, extract the combined subtitle ID, extract the filter ID, extract the sticker ID, and extract the transition ID. According to the above ID and the second video editing engine information, the material can be downloaded from the material server. For example, the above ID and the second video editing engine information can be sent to the material server through the material download component, and the material server can return the material download address, and then download the corresponding material according to the material download address; in addition, the material server can also directly return the material that has a mapping relationship with the above ID and the second video editing engine information. Then backfill the material, specifically, backfill subtitle data, backfill flower character data, backfill animation data, backfill combined subtitle data, backfill filter data, backfill sticker data, backfill transition data; different video editing engines may have material display differences when rendering and displaying materials, so engine compatibility adaptation is required, for example, subtitle compatibility adaptation, flower character compatibility adaptation, animation compatibility adaptation, combined subtitle compatibility adaptation, filter compatibility adaptation, sticker compatibility adaptation, transition compatibility adaptation. It should be noted that some materials may not require compatibility adaptation.

[0094] Figure 2CThe draft upgrade is used as an example. If the new video editing engine does not perform well and needs to be rolled back to the old video editing engine, the video draft will also be downgraded to the old video editing engine. The downgrade process is the same as the upgrade process, except that the engine information is different, so I will not go into details here.

[0095] Step S206, using the current video draft editor to display the video draft to be edited after the resource conversion process, so that the user can edit the video draft.

[0096] After the resource conversion process, you can enter the current video draft editor and use the current video draft editor to display the draft video to be edited after the resource conversion process, so that the user can use the current video draft editor to edit the draft video to be edited.

[0097] Specifically, you can use various editing tools provided by the current video draft editor to adjust various attribute values ​​of the video draft, such as resolution, frame rate, brightness, contrast, etc. In addition, you can also perform various visual effects processing on the video draft, such as adding text, watermarks, animations, etc.

[0098] In actual applications, the client can provide a video draft editing interface. After the user clicks on a video draft, it checks whether the video editing engine corresponding to the current video draft editor is consistent with the video editing engine that produces the video draft to be edited. If they are inconsistent, they need to be upgraded or downgraded. At this time, the loading state will be displayed. After cleaning, the user will jump into the current video draft editor.

[0099] In the embodiment of the present application, the above method realizes the function of cross-engine editing of video drafts, so that users can switch freely between different versions of video editing engines without worrying about the situation that the video draft cannot be opened due to engine compatibility issues. At the same time, this method can also effectively improve the availability and stability of video drafts and enhance the user experience.

[0100] Step S207, after completing the resource conversion process, modify the production engine information of the video draft to be edited to the second video editing engine information.

[0101] After completing the resource conversion process, the production engine information of the video draft to be edited will be changed from the first video editing engine information to the second video editing engine information. In this way, when the user edits the video draft next time, the production engine information obtained for producing the video draft to be edited will be the second video editing engine information. The second video editing engine information will be used later to determine whether resource conversion processing is needed.

[0102] This embodiment does not limit the execution order of step S206 and step S207, which may be executed simultaneously or one after another.

[0103] In summary, according to the method provided in this embodiment, the function of cross-engine editing of video drafts is realized, and seamless resource migration and format conversion between different video editing engines can be achieved, without having to worry about the inability to open the video draft due to engine compatibility issues. At the same time, the method can also effectively improve the availability and stability of video drafts and enhance the user experience. In addition, the method ensures the resource compatibility and visual effect consistency between different video editing engines by setting engine compatibility adaptation parameters, aggregates multiple material identifiers by material type, and realizes batch request and download of materials, thereby improving the processing speed and efficiency of video editing projects. When the new video editing engine performs poorly, the engine can also be downgraded, and the video draft can be rolled back along with the engine downgrade.

[0104] Figure 3 A schematic structural diagram of a video draft editing device according to an embodiment of the present application is shown.

[0105] like Figure 3 As shown, the device comprises:

[0106] The receiving module 301 is adapted to receive a draft editing request triggered by a user, wherein the draft editing request carries a draft video to be edited;

[0107] An acquisition module 302 is adapted to acquire, in response to a draft editing request, information of a first video editing engine for generating a video draft to be edited;

[0108] A determination module 303, adapted to determine whether the second video editing engine information corresponding to the current video draft editor is consistent with the first video editing engine information;

[0109] A resource conversion processing module 304 is adapted to perform resource conversion processing on the video draft to be edited according to the second video editing engine information if there is inconsistency;

[0110] The display module 305 is suitable for using the current video draft editor to display the video draft to be edited after the resource conversion process, so that the user can edit the video draft.

[0111] Optionally, the resource conversion processing module 304 is further adapted to: if the first video editing engine is a new video editing engine and the second video editing engine is an old video editing engine, then perform resource downgrade conversion processing on the video draft to be edited according to the second video editing engine information;

[0112] If the first video editing engine is an old video editing engine and the second video editing engine is a new video editing engine, resource upgrade conversion processing is performed on the video draft to be edited according to the information of the second video editing engine.

[0113] Optionally, the resource conversion processing module 304 is further adapted to: obtain a material download address that has a mapping relationship with the second video editing engine information and each material identifier recorded in the draft video to be edited;

[0114] According to the material download address, the material is backfilled into the video draft to be edited.

[0115] Optionally, the resource conversion processing module 304 is further adapted to: send a material acquisition request carrying the second video editing engine information and any material identifier to the material server, so that the material server can query a material download address that has a mapping relationship with the second video editing engine information and any material identifier;

[0116] Receive the material download address returned by the material server.

[0117] Optionally, the resource conversion processing module 304 is further adapted to: aggregate multiple material identifiers having the same material type to obtain an aggregated material identifier;

[0118] Sending a material acquisition request carrying the second video editing engine information and the aggregated material identifier to the material server, so that the material server can identify and process the aggregated material identifier, obtain multiple material identifiers, and query multiple material download addresses that have a mapping relationship with the second video editing engine information and the multiple material identifiers;

[0119] Receive multiple material download addresses returned by the material server.

[0120] Optionally, the resource conversion processing module 304 is further adapted to: download and store the material according to the material download address;

[0121] The storage path corresponding to the downloaded material is used to replace the original storage path recorded in the draft video to be edited.

[0122] Optionally, the apparatus further comprises: a determination module adapted to determine a material display difference between the first video editing engine and the second video editing engine;

[0123] The settings module is suitable for setting engine compatibility adaptation parameters according to material display differences;

[0124] The display module is further adapted to: based on the engine compatibility adaptation parameters, use the current video draft editor to perform a draft display of the video draft to be edited after the resource conversion process.

[0125] Optionally, the device further comprises: a modification module adapted to modify the production engine information of the video draft to be edited into the second video editing engine information after completing the resource conversion process.

[0126] In summary, according to the device provided by this embodiment, the function of cross-engine editing of video drafts is realized, and seamless resource migration and format conversion between different video editing engines can be achieved, without worrying about the inability to open the video draft due to engine compatibility issues. At the same time, the method can also effectively improve the availability and stability of video drafts and enhance the user experience. In addition, the method ensures the resource compatibility and visual effect consistency between different video editing engines by setting engine compatibility adaptation parameters, aggregates multiple material identifiers by material type, and realizes batch request and download of materials, thereby improving the processing speed and efficiency of video editing projects. When the new video editing engine performs poorly, the engine can also be downgraded, and the video draft can be rolled back along with the engine downgrade.

[0127] An embodiment of the present application provides a non-volatile computer storage medium, which stores at least one executable instruction or computer program, and the executable instruction or computer program can enable a processor to perform operations corresponding to the video draft editing method in any of the above method embodiments.

[0128] An embodiment of the present application provides a computer program product, which includes at least one executable instruction or computer program, and the executable instruction or computer program can enable a processor to perform operations corresponding to the video draft editing method in any of the above-mentioned method embodiments.

[0129] Figure 4 A schematic diagram of the structure of an embodiment of a computing device of the present application is shown. The specific embodiment of the present application does not limit the specific implementation of the computing device.

[0130] like Figure 4 As shown, the computing device may include: a processor (processor) 402 , a communications interface (Communications Interface) 404 , a memory (memory) 406 , and a communication bus 408 .

[0131] The processor 402, the communication interface 404, and the memory 406 communicate with each other via the communication bus 408. The communication interface 404 is used to communicate with other devices such as a client or other server network elements. The processor 402 is used to execute the program 410, which can specifically execute the relevant steps in the above-mentioned video draft editing method embodiment for a computing device.

[0132] Specifically, the program 410 may include program codes, which include computer operation instructions.

[0133] The processor 402 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application. The one or more processors included in the computing device may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.

[0134] The memory 406 is used to store the program 410. The memory 406 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0135] Program 410 can be specifically used to enable processor 402 to execute the video draft editing method in any of the above method embodiments. The specific implementation of each step in program 410 can refer to the corresponding description in the corresponding steps and units in the above video draft editing embodiment, which will not be repeated here. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described devices and modules can refer to the corresponding process description in the above method embodiments, which will not be repeated here.

[0136] The algorithm or display provided here are not inherently related to any specific computer, virtual system or other equipment. Various general systems can also be used together with the teaching based on this. According to the above description, it is obvious to construct the structure required for this type of system. In addition, the present application embodiment is not directed to any specific programming language yet. It should be understood that various programming languages ​​can be utilized to realize the content of the present application described here, and the above description of specific languages ​​is to disclose the best mode of implementation of the present application.

[0137] In the description provided herein, a large number of specific details are described. However, it is understood that the embodiments of the present application can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

[0138] Similarly, it should be understood that in order to streamline the present application and help understand one or more of the various inventive aspects, in the above description of the exemplary embodiments of the present application, the various features of the embodiments of the present application are sometimes grouped together into a single embodiment, figure, or description thereof. However, the disclosed method should not be interpreted as reflecting the following intention: the claimed application requires more features than the features clearly stated in each claim. More specifically, as reflected in the claims below, the inventive aspects are less than all the features of the single embodiment disclosed above. Therefore, the claims following the specific embodiment are hereby expressly incorporated into the specific embodiment, wherein each claim itself serves as a separate embodiment of the present application.

[0139] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.

[0140] In addition, those skilled in the art will appreciate that, although some embodiments herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present application and form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.

[0141] The various component embodiments of the present application can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) can be used in practice to implement some or all functions of some or all components according to the embodiments of the present application. The application can also be implemented as a device or apparatus program (e.g., computer program and computer program product) for executing a part or all of the methods described herein. Such a program implementing the present application can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.

[0142] It should be noted that the above embodiments illustrate the present application rather than limit the present application, and that those skilled in the art may design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be constructed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of multiple such elements. The present application may be implemented by means of hardware including several different elements and by means of a suitably programmed computer. In a unit claim that lists several devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.

Claims

1. A video draft editing method, comprising: Receiving a draft editing request triggered by a user, wherein the draft editing request carries a draft video to be edited; In response to the draft editing request, obtaining information of a first video editing engine for generating the draft video to be edited; Determine whether the second video editing engine information corresponding to the current video draft editor is consistent with the first video editing engine information; If not, performing resource conversion processing on the video draft to be edited according to the second video editing engine information; The current video draft editor is used to display the video draft to be edited after the resource conversion process, so that the user can edit the video draft.

2. The method according to claim 1, wherein: The performing resource conversion processing on the draft video to be edited according to the second video editing engine information further includes: If the first video editing engine is a new video editing engine and the second video editing engine is an old video editing engine, performing resource degradation conversion processing on the video draft to be edited according to the information of the second video editing engine; If the first video editing engine is an old video editing engine and the second video editing engine is a new video editing engine, resource upgrade conversion processing is performed on the video draft to be edited according to the information of the second video editing engine.

3. The method according to claim 1 or 2, wherein: The performing resource conversion processing on the draft video to be edited according to the second video editing engine information further includes: Obtaining a material download address that has a mapping relationship with the second video editing engine information and each material identifier recorded in the draft video to be edited; According to the material download address, the material backfill processing is performed on the video draft to be edited.

4. The method according to claim 3, wherein: The step of obtaining a material download address that has a mapping relationship with the second video editing engine information and each material identifier recorded in the draft video to be edited further includes: Sending a material acquisition request carrying the second video editing engine information and any material identifier to a material server, so that the material server can query a material download address that has a mapping relationship with the second video editing engine information and any material identifier; Receive the material download address returned by the material server.

5. The method according to claim 3, wherein: The step of obtaining a material download address that has a mapping relationship with the second video editing engine information and each material identifier recorded in the draft video to be edited further includes: Aggregating multiple material identifiers of the same material type to obtain an aggregated material identifier; Sending a material acquisition request carrying the second video editing engine information and the aggregated material identifier to a material server, so that the material server can identify and process the aggregated material identifier, obtain multiple material identifiers, and query multiple material download addresses that have a mapping relationship with the second video editing engine information and the multiple material identifiers; Receive multiple material download addresses returned by the material server.

6. The method according to claim 4 or 5, wherein: The material backfilling process for the draft video to be edited according to the material download address further includes: Download and store the material according to the material download address; The storage path corresponding to the downloaded material is used to replace the original storage path recorded in the draft video to be edited.

7. The method according to claim 6, wherein: Before using the current video draft editor to perform a draft display on the video draft to be edited after the resource conversion process, the method further includes: determining the material display difference between the first video editing engine and the second video editing engine; According to the material display differences, engine compatibility adaptation parameters are set; The using the current video draft editor to display the draft of the video to be edited after the resource conversion process further includes: According to the engine compatibility adaptation parameters, the current video draft editor is used to display the draft of the video to be edited after the resource conversion process.

8. The method according to any one of claims 1 to 7, wherein: The method further comprises: after completing the resource conversion process, modifying the production engine information of the video draft to be edited into second video editing engine information.

9. A video draft editing device, comprising: A receiving module, adapted to receive a draft editing request triggered by a user, wherein the draft editing request carries a draft video to be edited; An acquisition module, adapted to acquire, in response to the draft editing request, information of a first video editing engine that produces the video draft to be edited; A judgment module, adapted to judge whether the second video editing engine information corresponding to the current video draft editor is consistent with the first video editing engine information; a resource conversion processing module, adapted to perform resource conversion processing on the video draft to be edited according to the second video editing engine information if there is inconsistency; The display module is suitable for using the current video draft editor to display the draft of the video to be edited after the resource conversion process, so that the user can edit the video draft.

10. A computing device comprising: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform operations corresponding to the video draft editing method as described in any one of claims 1-8.

11. A computer storage medium, wherein at least one executable instruction is stored in the storage medium, and the executable instruction enables a processor to execute operations corresponding to the video draft editing method as described in any one of claims 1-8.

12. A computer program product, comprising at least one executable instruction, wherein the executable instruction enables a processor to execute operations corresponding to the video draft editing method as described in any one of claims 1-8.