Video exporting method and device and storage medium

By starting the video export process with the history export parameters in advance on the terminal device, and reusing the generated video when the user triggers the export control, the problem of long-term video editing and exporting processes is solved, and the user experience is improved.

CN119450108APending Publication Date: 2025-02-14BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202310956389.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-31
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

In the prior art, the video editing and exporting process on the terminal device takes a long time, especially the video encoding and exporting process, which leads to a long wait time for users and affects the user experience.

Method used

In response to the export interface command that jumps to the video editing draft, the export process is started in advance according to the historical export parameters to generate the first video; when the user triggers the export control, the current export parameter is obtained. If the target export parameter is consistent with the historical export parameter, The first video is reused as the target video.

Benefits of technology

Make full use of the free time users stay in the export interface and start the export process in advance, shorten the time users wait for export and improve the user experience of the export process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119450108A_ABST
    Figure CN119450108A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a video exporting method and device and a storage medium, and the method comprises the steps: exporting a video editing draft according to historical exporting parameters in response to an exporting interface instruction of skipping to the video editing draft, so as to generate a first video; obtaining a current export parameter in the export page in response to a trigger instruction of an export control in the export interface; and if a target export parameter in the current export parameters is consistent with a target export parameter in the historical export parameters, adopting the first video as a target video exported by the video editing draft. According to the method, the export of the video editing draft is started in advance when the export page is opened, so that the idle time of the user in the export interface is fully utilized, the time of waiting for export of the user is shortened, and the user experience in the export process is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the field of computer and network communication technology, and in particular, to a video exporting method, device, and storage medium. Background Art

[0002] With the development of network technology and the improvement of terminal device hardware performance, the demand for video creation and video editing on terminal devices is becoming more and more urgent.

[0003] However, in the prior art, the video editing process on the terminal device takes a long time, especially the video encoding and exporting process takes a long time. The user has to wait a long time for the video to be exported, which seriously affects the user experience. Summary of the invention

[0004] The embodiments of the present disclosure provide a video exporting method, device and storage medium to shorten the time a user waits for video exporting.

[0005] In a first aspect, an embodiment of the present disclosure provides a video exporting method, including:

[0006] In response to an instruction to jump to an export interface of a video editing draft, exporting the video editing draft according to a historical export parameter to generate a first video;

[0007] In response to a trigger instruction of an export control in the export interface, obtaining current export parameters in the export page;

[0008] If the target export parameters in the current export parameters are consistent with the target export parameters in the historical export parameters, the first video is used as the target video for exporting the video editing draft.

[0009] In a second aspect, an embodiment of the present disclosure provides a video exporting device, including:

[0010] A pre-export unit, configured to export the video editing draft according to the historical export parameters in response to an export interface instruction to jump to the video editing draft, so as to generate a first video;

[0011] A judgment unit, configured to obtain current export parameters in the export page in response to a trigger instruction of an export control in the export interface;

[0012] A multiplexing unit is used to use the first video as the target video for exporting the video editing draft if the target export parameter in the current export parameter is consistent with the target export parameter in the historical export parameter.

[0013] In a third aspect, an embodiment of the present disclosure provides an electronic device, including: at least one processor and a memory;

[0014] The memory stores computer-executable instructions;

[0015] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the video export method as described in the first aspect and various possible designs of the first aspect.

[0016] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, in which computer execution instructions are stored. When a processor executes the computer execution instructions, the video export method described in the first aspect and various possible designs of the first aspect is implemented.

[0017] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, including computer execution instructions. When a processor executes the computer execution instructions, it implements the video export method described in the first aspect and various possible designs of the first aspect.

[0018] The video export method, device and storage medium provided by the embodiments of the present disclosure generate a first video by exporting the video editing draft according to the historical export parameters in response to the export interface instruction of jumping to the video editing draft; obtaining the current export parameters in the export page in response to the trigger instruction of the export control in the export interface; if the target export parameters in the current export parameters are consistent with the target export parameters in the historical export parameters, the first video is used as the target video for exporting the video editing draft. The export of the video editing draft is started in advance when the export page is opened, which makes full use of the idle time of the user in the export interface, shortens the time the user waits for the export, and improves the user experience of the export process. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0020] Figure 1 A scene example diagram of a video export method provided in an embodiment of the present disclosure;

[0021] Figure 2 A schematic diagram of a video export method flow chart provided in an embodiment of the present disclosure;

[0022] Figure 3 A schematic diagram of a video export method flow chart provided by another embodiment of the present disclosure;

[0023] Figure 4 A schematic diagram of a video editing draft provided by an embodiment of the present disclosure;

[0024] Figure 5 A structural block diagram of a video export device provided in an embodiment of the present disclosure;

[0025] Figure 6 A schematic diagram of the hardware structure of an electronic device provided in one embodiment of the present disclosure. DETAILED DESCRIPTION

[0026] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.

[0027] In the prior art, the video editing process on the terminal device takes a long time, especially the video encoding and exporting process takes a long time. The user has to wait a long time for the video to be exported, which seriously affects the user experience.

[0028] In order to solve the above technical problems, the present disclosure takes into account that when a user needs to export a video editing draft, he usually needs to enter the export interface of the video editing draft and set the export parameters in the export interface, including but not limited to the video file name, export path, resolution, bit rate, encoding format, video container format (file packaging format), etc. The user usually stays in the export interface for a period of time. For most users, most of the export parameters in the export interface are usually not frequently modified. The users have certain usage habits for most of the export parameters. Even if they are modified, the modified export parameters may not affect the exported product, such as the video file name, export path, etc. etc., and will not affect the encoding of the video. Therefore, this part of idle time can be fully utilized to start the export of the video editing draft in advance in the background according to the historical export parameters. That is, when the user opens the export interface of the video editing draft, in response to the opening instruction of the export interface, the pre-export process of the video editing draft can be started according to the historical export parameters. Since the pre-export process runs in the background and the user is unaware of it, the user can continue to modify one or more export parameters in the export interface. In this way, when the user triggers the export control in the export interface, the pre-export process can be reused, which shortens the time the user waits for the export, makes the user perceive the export speed to be improved, and improves the user experience of the export process.

[0029] The video export method provided by the present disclosure can be applied to electronic devices such as terminal devices or servers, such as Figure 1 As shown, taking the terminal device as an example, the user opens the export interface of the video editing draft.

[0030] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0031] The video export method disclosed in the present invention will be described in detail below in conjunction with specific embodiments.

[0032] refer to Figure 2 , Figure 2 A schematic diagram of a video export method flow chart provided in an embodiment of the present disclosure. The method of this embodiment can be applied to electronic devices such as terminal devices or servers, and the video export method includes:

[0033] S201. In response to an instruction to jump to an export interface of a video editing draft, the video editing draft is exported according to historical export parameters to generate a first video.

[0034] In this embodiment, in some video editing scenarios (such as video editing applications), the video editing draft includes original video material (one or more), one or more multimedia materials such as picture material, audio material, and editing information for the multimedia material, and the process of exporting the video encoding draft is the video encoding process, that is, synthesizing these multimedia materials into a video. When it is necessary to export the video editing draft, it is usually necessary to enter the export interface of the video editing draft and set the export parameters in the export interface, including but not limited to the video file name, export path, resolution, bit rate, encoding format, video container format (file encapsulation format), etc. The user usually stays in the export interface for a while. For most users, most of the export parameters in the export interface are usually not frequently modified. Even if modified, the modified export parameters may not affect the exported product, such as the video file name, export path, etc. Therefore, in this embodiment, this part of the idle time can be fully utilized to start the export of the video editing draft in advance in the background according to the historical export parameters. That is, when the user opens the export interface of the video editing draft, in response to the instruction to jump to the export interface of the video editing draft, the export process of the video editing draft can be started according to the historical export parameters to generate the first video corresponding to the video editing draft. The export process runs in the background and the user is unaware. The user can continue to modify one or more export parameters in the export interface.

[0035] Optionally, the export interface may save historical export parameters from the last export, so the export process for the video editing draft may be initiated based on the historical export parameters from the last export in the export interface.

[0036] S202: In response to a trigger instruction of an export control in the export interface, obtain current export parameters in the export page.

[0037] In this embodiment, the user can modify one or more export parameters in the export interface. After the modification is completed, the export control (such as the export button) in the export interface will be triggered. In response to the trigger instruction of the export control, the current export parameters in the export page can be obtained.

[0038] S203. If the target export parameters in the current export parameters are consistent with the target export parameters in the historical export parameters, the first video is used as the target video for exporting the video editing draft.

[0039] In this embodiment, after obtaining the current export parameters in the export page, the current export parameters can be compared with the historical export parameters. Considering that modifying some parameters in the export parameters will affect the export product, and modifying some parameters will not affect the export product, when comparing the current export parameters with the historical export parameters, only the target export parameters in the current export parameters and the target export parameters in the historical export parameters can be compared to see if they are consistent, wherein the target export parameters are export parameters that have an impact on the export result, including but not limited to resolution, bit rate, encoding format, etc. Optionally, modifying the video container format (file encapsulation format) may affect the export result, and of course may not affect the export result. In the scenario where modifying the video container format (file encapsulation format) affects the export result, the target export parameters include the video container format (file encapsulation format), and in the scenario where modifying the video container format (file encapsulation format) does not affect the export result, the target export parameters do not include the video container format (file encapsulation format). Modifying export parameters such as the video file name and export path does not affect the export result, so it is not used as the target export parameter and can be not compared.

[0040] If it is determined that the target export parameters in the current export parameters are consistent with the target export parameters in the historical export parameters, it means that the target export parameters have not been modified and will not affect the export results. That is, the first video exported from the video editing draft according to the historical export parameters is consistent with the second video exported from the video editing draft according to the current export parameters. Therefore, the final first video can be directly used as the target video for exporting the video editing draft. There is no need to export the video editing draft from scratch when the export control is triggered. This makes full use of the user's idle time in the export interface, shortens the time the user waits for export, and improves the user experience of the export process.

[0041] Optionally, when a trigger instruction of the export control in the export interface is received, the export process of the first video may be in progress, or may have been completed. Of course, it may also fail to run, or there may be other situations. Therefore, in this embodiment, when a trigger instruction of the export control in the export interface is received, the status of the export process of the first video can be detected.

[0042] Further, in S203, using the first video as the target video for exporting the video editing draft may specifically include:

[0043] If the export process of the first video is in progress, the export process of the first video continues to run and the export progress information is displayed until the export process of the first video is completed, and the first video is used as the target video for exporting the video editing draft.

[0044] In this embodiment, when a trigger instruction of the export control in the export interface is received, if the export process of the first video is in progress, there is no need to start the normal export process again. Instead, the export process of the first video continues to run, and the export process of the first video is reused to display the export progress information, which is also the progress information of the export process of the first video, until the export process of the first video is completed. The first video obtained after the export process of the first video is completed is a video file based on historical export parameters, and the video file is used as the target video for exporting the video editing draft.

[0045] Among them, after the export process of the first video is started, the progress information of the export process of the first video can be recorded. When the trigger instruction of the export control in the export interface is received, the export progress display interface is displayed, and the progress information of the export process of the first video is displayed in the export progress display interface.

[0046] In another case, when the trigger instruction of the export control in the export interface is received, the export process of the first video has been completed, and the export completion prompt information is directly displayed, for example, the export completion prompt interface is displayed, and the first video obtained after the export process of the first video is completed is directly used as the target video for exporting the video editing draft, without starting the normal export process again.

[0047] If it is determined that the target export parameter in the current export parameter is inconsistent with the target export parameter in the historical export parameter, the video editing draft is re-exported according to the current export parameter. If the pre-export process is in progress, the export process of the first video is terminated and the first video is deleted; if the export process of the first video has been completed, the first video is directly deleted.

[0048] The video export method provided in this embodiment exports the video editing draft according to the historical export parameters in response to the export interface instruction of jumping to the video editing draft to generate the first video; in response to the trigger instruction of the export control in the export interface, the current export parameters in the export page are obtained; if the target export parameters in the current export parameters are consistent with the target export parameters in the historical export parameters, the first video is used as the target video for exporting the video editing draft. The export of the video editing draft is started in advance when the export page is opened, which makes full use of the idle time of the user in the export interface, shortens the time the user waits for the export, and improves the user experience of the export process.

[0049] Based on any of the above embodiments, when the video editing draft is exported according to the historical export parameters in S201, a target folder can be created in the corresponding storage space according to the historical export path in the historical export parameters, and then the export process of the first video of the video editing draft is started according to the historical export parameters, and the first video in the export process is cached in the target folder. The target folder can be a non-hidden folder or a hidden folder. The hidden folder can make the user unaware of the export process of the first video, and can also prevent the user from accidentally deleting the target folder, resulting in the failure of the export process of the first video.

[0050] Furthermore, after the export process of the first video is completed, when the first video obtained after the export process of the first video is used as the target video for exporting the video editing draft, considering that the user may modify the export path in the export interface, the first video is moved from the above-mentioned target folder to the current export path in the current export parameters as the target video for exporting the video editing draft.

[0051] In addition, if the user also modifies other export parameters (not the above) that do not belong to the target export parameters in the export interface, the first video obtained after the export process of the first video is completed can be adjusted according to these other export parameters. For example, if the user modifies the video file name in the export interface, the video file name of the first video is modified according to the modified video file name.

[0052] Based on any of the above embodiments, after obtaining the current export parameters in the export page in S202, the following steps may also be included:

[0053] If it is detected that the export process of the first video fails, or the first video is deleted, the video editing draft is directly re-exported according to the current export parameters.

[0054] In this embodiment, after the export process of the first video is started, failure may occur, or the product of the export process of the first video may be deleted. When the trigger instruction of the export control in the export interface is received, it can be detected whether the export process of the first video fails, or whether the product of the export process of the first video is deleted. If it is detected that the export process of the first video has not failed and the product of the export process of the first video has not been deleted, it can be further determined whether the target export parameters in the current export parameters in the export interface are consistent with the target export parameters in the historical export parameters. If it is detected that the export process of the first video fails, or the first video is deleted, the video editing draft can be directly re-exported according to the current export parameters, wherein the generated first video can be deleted in the case where the export process of the first video fails and the product of the export process of the first video is not deleted.

[0055] Based on any of the above embodiments, after obtaining the current export parameters in the export page in S202, the following steps may also be included:

[0056] If it is detected that the current export path in the current export parameters and the path where the first video is located are not in the same disk partition, the video editing draft is directly re-exported according to the current export parameters.

[0057] In this embodiment, although modifying the export path will not affect the export result, if the current export path in the current export parameters and the path where the first video is located are not in the same disk partition, it may take a long time to move the first video across partitions after the export process of the first video is completed. Therefore, after receiving the trigger instruction of the export control in the export interface, if it is detected that the current export path in the current export parameters and the path where the first video is located are not in the same disk partition, the video editing draft is directly re-exported according to the current export parameters. Of course, if the current export path in the current export parameters and the first video are detected to be in the same disk partition, it can also be executed after obtaining the current export parameters in the export page in S202.

[0058] On the basis of any of the above embodiments, after the export process of the first video is started for the video editing draft, before the trigger instruction of the export control in the export interface is received, the user may modify any target export parameter. If the export process of the video editing draft is restarted according to the current export parameter after the trigger instruction of the export control in the export interface is received, some idle time may be wasted. For example, the user first modifies a target export parameter in the export interface, and then stays in the export interface for a long time before triggering the export control in the export interface, which wastes the idle time from modifying the target export parameter to triggering the export control in the export interface. Therefore, in this embodiment, after the export process of the first video is started for the video editing draft, before the trigger instruction of the export control in the export interface is received, if it is detected that any target export parameter in the export interface is modified, the export process of the first video is stopped, and the video editing draft is re-exported according to the historical export parameters and the modified target export parameters, that is, the export process of the first video is stopped and restarted every time a target export parameter is detected to be modified, thereby ensuring the effective use of idle time. More specifically, the target export parameter in the historical export parameter is replaced with the modified target export parameter to obtain the replaced export parameter, and the export process of the video editing draft is restarted based on the replaced export parameter.

[0059] Based on any of the above embodiments, Figure 3 As shown, the step S201 of exporting the video editing draft according to the historical export parameters further includes:

[0060] S2011. According to a preset detection strategy, determine whether a preset export start condition is currently met;

[0061] S2012: If it is determined that the preset export start condition is currently met, the video editing draft is exported according to the historical export parameters.

[0062] In this embodiment, before starting the pre-export process, it can be determined whether the preset export start conditions are currently met. If it is determined that the preset export start conditions are not currently met, the pre-export process is not started. When the export control in the export interface is triggered, the normal export process is started for the video editing draft according to the current export parameters in the export interface in response to the trigger instruction of the export control; if it is determined that the preset export start conditions are currently met, the pre-export process is started for the video editing draft according to the historical export parameters.

[0063] Optionally, when judging whether the preset export start condition is currently met according to the preset detection strategy, the preset detection strategy may include one or more of the following detections:

[0064] 1) Detect whether the target draft editing algorithm has finished running, where the target draft editing algorithm may include but is not limited to frame insertion algorithm, anti-shake algorithm, matting algorithm, etc. Both the pre-export and normal export processes need to wait for the completion of these algorithms before exporting; if the target draft editing algorithm has not finished running when the opening instruction of the export interface of the video editing draft is received, the pre-export process may be temporarily not started, waiting for the target draft editing algorithm to finish running. If the trigger instruction of the export control in the export interface has not been received at this time, the pre-export process may be started, or the normal export process may be started for the video editing draft according to the current export parameters in the export interface after receiving the trigger instruction of the export control in the export interface.

[0065] 2) Check whether the processing capacity of the current device meets the maximum load pressure of the pre-export process. This test is performed to make the pre-export process as imperceptible to the user as possible and to minimize the impact on the user's normal editing experience. If the processing capacity of the current device does not meet the maximum load pressure of the pre-export process, the preset export start condition is not met.

[0066] Optionally, the corresponding processing capacity can be pre-configured for any device. The processing capacity can be the preset load pressure threshold for any device for the pre-export process. For example, the preset load pressure threshold for model 1 is 3840*2160 (4K), and the preset load pressure threshold for model 2 is 3840*2160*2 (8K). The configured preset load pressure threshold is related to the performance of the device hardware (such as GPU). The higher the device hardware performance, the higher the preset load pressure threshold. For the maximum load pressure of the pre-export process of the video editing draft, the maximum resolution of each track in the video editing draft can be obtained, and the sum of the maximum resolutions of each track can be calculated. The sum of the maximum resolutions of each track is determined as the maximum load pressure of the pre-export process. For example Figure 4The video editing draft shown includes 3 tracks, the maximum resolution of track 1 is 1080*1920, the maximum resolution of track 2 is 1280*720, and the maximum resolution of track 3 is 3840*2160, then the maximum load pressure is 1080*1920+1280*720+3840*2160; then the maximum load pressure of the pre-export process is compared with the preset load pressure threshold of the current device. If the maximum load pressure of the pre-export process exceeds the preset load pressure threshold, it is determined that the processing capacity of the current device does not meet the maximum load pressure of the pre-export process. For example, the current device is model 1, and the corresponding preset load pressure threshold is 3840*2160 (4K), then Figure 4 The maximum load pressure of the video editing draft pre-export process shown exceeds the preset load pressure threshold of the current device, and it is determined that the processing capacity of the current device does not meet the maximum load pressure of the pre-export process, that is, does not meet the preset export start condition.

[0067] 3) Check whether the target path of the product of the pre-export process has access rights. In the above embodiment, the product of the pre-export process will be cached in the storage space where the historical export path is located, or exported to any specified export path, which is recorded here as the target path of the product of the pre-export process. If the target path of the product of the pre-export process does not have access rights, the product obtained after the pre-export process is completed cannot be accessed or moved, and the product obtained after the pre-export process is completed cannot be used as the target video for exporting the video editing draft. Therefore, before starting the pre-export process, it is necessary to check whether the target path of the product of the pre-export process has access rights.

[0068] 4) Detecting whether the storage space of the target path of the product of the pre-export process satisfies the caching of the product of the pre-export process, which may specifically include whether the storage space of the target path of the product of the pre-export process is large enough to accommodate the product of the pre-export process, and may also include whether the single maximum file size allowed by the storage space of the target path of the product of the pre-export process is sufficient to accommodate the product of the pre-export process. If the product of the pre-export process cannot be accommodated, the caching of the product of the pre-export process is not satisfied, that is, the preset export start condition is not satisfied.

[0069] 5) Detect whether the material in the video editing draft is valid, for example, detect whether there is a problem that causes the material to be unable to be opened, such as whether the material is lost, whether the material has no access rights, or whether the material is abnormal.

[0070] 6) Detect whether member materials (VIP materials) are used in the video editing draft, and whether the current account is a member account (VIP account). If the member material current account is used in the video editing draft, and the current account is not a member account, the material is unavailable and the pre-export cannot be started. Optionally, the user can be prompted to apply for a member account or modify the material; if the current account is a member account, the preset export start condition is met.

[0071] Based on any of the above embodiments, the state of the export process of the first video (pre-export process state) may be managed as follows:

[0072] 1) If the preset export start conditions are not met, the configuration status is that the pre-export process is unavailable;

[0073] 2) If the pre-export process is started, the configuration status is that the pre-export process is running;

[0074] 3) If the pre-export process fails, the configuration status is that the pre-export process failed;

[0075] 4) If the pre-export process is completed, the configuration status is that the pre-export process is successful.

[0076] When a trigger instruction of the export control in the export interface is received, the status of the pre-export process can be obtained. If the status is that the pre-export process is unavailable or the pre-export process fails, the video editing draft is re-exported according to the current export parameters in the export interface; if the status is that the pre-export process is running, the export process of the first video continues to run, and the export process of the first video is reused, and the export progress information is displayed until the export process of the first video is completed, and the first video is used as the target video for exporting the video editing draft; if the status is that the pre-export process is successful, the export completion prompt information is directly displayed, and the first video is directly used as the target video for exporting the video editing draft.

[0077] Based on any of the above embodiments, this embodiment provides a video export method, and the steps of the video export method are as follows:

[0078] S401, receiving an opening instruction of an export interface of a video editing draft;

[0079] S402, judging whether the preset export start condition is currently met according to the preset detection strategy;

[0080] If it is determined that the preset export start condition is not met at present, the export process is not started, but after receiving the trigger instruction of the export control in the export interface, the normal export process is started for the video editing draft according to the current export parameters in the export interface; otherwise, S403 is executed;

[0081] S403: if it is determined that the preset export start condition is currently met, export the video editing draft according to the historical export parameters to generate a first video;

[0082] S404, receiving an export parameter modification operation instruction from the user in the export interface; this step is an optional step, and the user may modify the export parameters or not modify the export parameters; regardless of whether the export parameters are modified or not, after the user confirms the current export parameters, the export control in the export interface is triggered;

[0083] S405, receiving a trigger instruction of an export control in the export interface;

[0084] S406: Detect whether the export process of the first video fails or whether the first video is deleted;

[0085] If it is detected that the export process of the first video fails, or the first video is deleted, the video editing draft is directly re-exported according to the current export parameters in the export interface; otherwise, S407 is executed;

[0086] S407, determining whether the target export parameter in the current export parameter in the export interface is consistent with the target export parameter in the historical export parameter;

[0087] If it is determined that the target export parameters in the current export parameters are inconsistent with the target export parameters in the historical export parameters, the video editing draft is directly re-exported according to the current export parameters in the export interface, the export process of the first video is canceled, and the first video is deleted; otherwise, S408 is executed:

[0088] S408, detecting whether the current export path in the current export parameters and the path where the first video is located are in the same disk partition;

[0089] If it is determined that the current export path in the current export parameters and the path where the first video is located are not in the same disk partition, the video editing draft is directly re-exported according to the current export parameters in the export interface, the export process of the first video is canceled, and the first video is deleted; otherwise, S409 is executed:

[0090] S409, using the first video as the target video for exporting the video editing draft;

[0091] Specifically, it may include: if the export process of the first video is in progress, then continue to run the export process of the first video and display the export progress information until the export process of the first video is completed, and use the first video as the target video for exporting the video editing draft; or, if the export process of the first video has been completed, directly display the export completion prompt information, and use the first video as the target video for exporting the video editing draft.

[0092] In addition, it may also include: moving the first video from its path to the current export path in the current export parameters; it may also include other processes such as modifying the video file name of the first video according to the current video file name in the current export parameters.

[0093] Corresponding to the video export method of the above embodiment, Figure 5 The structure block diagram of the video export device provided by the embodiment of the present disclosure. For the convenience of explanation, only the part related to the embodiment of the present disclosure is shown. Figure 5 The video exporting device 500 includes: a pre-exporting unit 501, a judging unit 502, and an exporting unit 503.

[0094] The pre-export unit 501 is used to export the video editing draft according to the historical export parameters in response to the export interface instruction of jumping to the video editing draft to generate the first video;

[0095] The determining unit 502 is used to obtain the current export parameters in the export page in response to the triggering instruction of the export control in the export interface;

[0096] The export unit 503 is used to use the first video as the target video for exporting the video editing draft if the target export parameter in the current export parameter is consistent with the target export parameter in the historical export parameter.

[0097] In one or more embodiments of the present disclosure, when the exporting unit 503 adopts the first video as the target video for exporting the video editing draft, it is configured to:

[0098] If the export process of the first video is in progress, continue to run the export process of the first video and display export progress information until the export process of the first video is completed, and use the first video as the target video for exporting the video editing draft; or

[0099] If the export process of the first video has been completed, the export completion prompt information is directly displayed, and the first video is used as the target video for exporting the video editing draft.

[0100] In one or more embodiments of the present disclosure, when displaying the export progress information, the export unit 503 is used to:

[0101] Obtaining progress information of the export process of the first video;

[0102] An export progress display interface is displayed, and progress information of the export process of the first video is displayed in the export progress display interface.

[0103] In one or more embodiments of the present disclosure, when exporting the video editing draft according to the historical export parameters, the pre-export unit 501 is used to:

[0104] According to the historical export path in the historical export parameter, a target folder is created in the corresponding storage space, and the video editing draft is exported to the target folder according to the historical export parameter;

[0105] Accordingly, when the multiplexing unit adopts the first video as the target video for exporting the video editing draft, it is used to:

[0106] The first video is moved from the target folder to the current export path in the current export parameters, and is determined as the target video to be exported from the video editing draft.

[0107] In one or more embodiments of the present disclosure, the deriving unit 503 is further configured to:

[0108] If it is determined that the target export parameters in the current export parameters are inconsistent with the target export parameters in the historical export parameters, the video editing draft is re-exported according to the current export parameters.

[0109] In one or more embodiments of the present disclosure, after obtaining the current export parameters in the export page, the export unit 503 is further used to:

[0110] If it is detected that the export process of the first video fails, or the first video is deleted, the video editing draft is directly re-exported according to the current export parameters.

[0111] In one or more embodiments of the present disclosure, after obtaining the current export parameters in the export page, the export unit 503 is further used to:

[0112] If it is detected that the current export path in the current export parameters and the path where the first video is located are not in the same disk partition, the video editing draft is directly re-exported according to the current export parameters.

[0113] In one or more embodiments of the present disclosure, after exporting the video editing draft and before receiving a trigger instruction of an export control in the export interface, the export unit 503 is further configured to:

[0114] If it is detected that any target export parameter in the export interface is modified, the export process of the first video is stopped, and the video editing draft is re-exported according to the historical export parameters and the modified target export parameters.

[0115] In one or more embodiments of the present disclosure, when exporting the video editing draft according to the historical export parameters, the pre-export unit 501 is used to:

[0116] According to the preset detection strategy, determine whether the preset export start condition is currently met;

[0117] If it is determined that the preset export start condition is currently met, the video editing draft is exported according to the historical export parameters.

[0118] In one or more embodiments of the present disclosure, when the pre-export unit 501 determines whether the preset export start condition is currently met according to the preset detection strategy, it performs at least one of the following:

[0119] Detect whether the target draft editing algorithm has finished running; or

[0120] Check whether the processing capacity of the current device meets the maximum load pressure of the pre-export process; or

[0121] Check if the destination path of the pre-export process product has access permissions; or

[0122] Detecting whether the storage space of the target path of the product of the pre-export process satisfies the cache of the product of the pre-export process; or

[0123] Detecting whether the material in the video editing draft is valid;

[0124] Detect whether member materials are used in the video editing draft and whether the current account is a member account.

[0125] In one or more embodiments of the present disclosure, when detecting whether the processing capacity of the current device meets the maximum load pressure of the pre-derivation process, the pre-derivation unit 501 is used to:

[0126] Obtaining the maximum resolution of each track in the video editing draft, calculating the sum of the maximum resolutions of each track, and determining the sum of the maximum resolutions of each track as the maximum load pressure of the pre-export process;

[0127] Obtain the preset load pressure threshold of the current device for the pre-export process;

[0128] The maximum load pressure of the pre-derivation process is compared with the preset load pressure threshold. If the maximum load pressure of the pre-derivation process exceeds the preset load pressure threshold, it is determined that the processing capacity of the current device does not meet the maximum load pressure of the pre-derivation process.

[0129] The video export device provided in this embodiment can be used to execute the technical solution of the above method embodiment. Its implementation principle and technical effects are similar, and this embodiment will not be repeated here.

[0130] refer to Figure 6 , which shows a schematic diagram of the structure of an electronic device 600 suitable for implementing the embodiment of the present disclosure, and the electronic device 600 may be a terminal device or a server. The terminal device may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (Portable Android Devices, PADs), portable multimedia players (PMPs), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0131] like Figure 6 As shown, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 to a random access memory (RAM) 603. Various programs and data required for the operation of the electronic device 600 are also stored in the RAM 603. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0132] Typically, the following devices may be connected to the I / O interface 605: input devices 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 608 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 6 The electronic device 600 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0133] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 609, or installed from a storage device 608, or installed from a ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0134] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0135] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0136] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device executes the method shown in the above embodiment.

[0137] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0138] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0139] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".

[0140] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0141] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0142] In a first aspect, according to one or more embodiments of the present disclosure, a video exporting method is provided, comprising:

[0143] In response to an instruction to jump to an export interface of a video editing draft, exporting the video editing draft according to a historical export parameter to generate a first video;

[0144] In response to a trigger instruction of an export control in the export interface, obtaining current export parameters in the export page;

[0145] If the target export parameters in the current export parameters are consistent with the target export parameters in the historical export parameters, the first video is used as the target video for exporting the video editing draft.

[0146] According to one or more embodiments of the present disclosure, the step of using the first video as a target video for exporting the video editing draft includes:

[0147] If the export process of the first video is in progress, continue to run the export process of the first video and display export progress information until the export process of the first video is completed, and use the first video as the target video for exporting the video editing draft; or

[0148] If the export process of the first video has been completed, the export completion prompt information is directly displayed, and the first video is used as the target video for exporting the video editing draft.

[0149] According to one or more embodiments of the present disclosure, the displaying of the export progress information includes:

[0150] Obtaining progress information of the export process of the first video;

[0151] An export progress display interface is displayed, and progress information of the export process of the first video is displayed in the export progress display interface.

[0152] According to one or more embodiments of the present disclosure, exporting the video editing draft according to the historical export parameters includes:

[0153] According to the historical export path in the historical export parameter, a target folder is created in the corresponding storage space, and the video editing draft is exported to the target folder according to the historical export parameter;

[0154] Accordingly, the step of using the first video as a target video for exporting the video editing draft includes:

[0155] The first video is moved from the target folder to the current export path in the current export parameters, and is determined as the target video to be exported from the video editing draft.

[0156] According to one or more embodiments of the present disclosure, the method further includes:

[0157] If it is determined that the target export parameters in the current export parameters are inconsistent with the target export parameters in the historical export parameters, the video editing draft is re-exported according to the current export parameters.

[0158] According to one or more embodiments of the present disclosure, after obtaining the current export parameters in the export page, the method further includes:

[0159] If it is detected that the export process of the first video fails, or the first video is deleted, the video editing draft is directly re-exported according to the current export parameters.

[0160] According to one or more embodiments of the present disclosure, after obtaining the current export parameters in the export page, the method further includes:

[0161] If it is detected that the current export path in the current export parameters and the path where the first video is located are not in the same disk partition, the video editing draft is directly re-exported according to the current export parameters.

[0162] According to one or more embodiments of the present disclosure, after exporting the video editing draft and before receiving a trigger instruction of an export control in the export interface, the process further includes:

[0163] If it is detected that any target export parameter in the export interface is modified, the export process of the first video is stopped, and the video editing draft is re-exported according to the historical export parameters and the modified target export parameters.

[0164] According to one or more embodiments of the present disclosure, the exporting of the video editing draft according to the historical export parameters further includes:

[0165] According to the preset detection strategy, determine whether the preset export start condition is currently met;

[0166] If it is determined that the preset export start condition is currently met, the video editing draft is exported according to the historical export parameters.

[0167] According to one or more embodiments of the present disclosure, judging whether a preset export start condition is currently met according to a preset detection strategy includes at least one of the following:

[0168] Detect whether the target draft editing algorithm has finished running; or

[0169] Check whether the processing capacity of the current device meets the maximum load pressure of the pre-export process; or

[0170] Check if the destination path of the pre-export process product has access permissions; or

[0171] Detecting whether the storage space of the target path of the product of the pre-export process satisfies the cache of the product of the pre-export process; or

[0172] Detecting whether the material in the video editing draft is valid;

[0173] Detect whether member materials are used in the video editing draft and whether the current account is a member account.

[0174] According to one or more embodiments of the present disclosure, the detecting whether the processing capacity of the current device meets the maximum load pressure of the pre-export process includes:

[0175] Obtaining the maximum resolution of each track in the video editing draft, calculating the sum of the maximum resolutions of each track, and determining the sum of the maximum resolutions of each track as the maximum load pressure of the pre-export process;

[0176] Obtain the preset load pressure threshold of the current device for the pre-export process;

[0177] The maximum load pressure of the pre-derivation process is compared with the preset load pressure threshold. If the maximum load pressure of the pre-derivation process exceeds the preset load pressure threshold, it is determined that the processing capacity of the current device does not meet the maximum load pressure of the pre-derivation process.

[0178] In a second aspect, according to one or more embodiments of the present disclosure, a video exporting device is provided, including:

[0179] A pre-export unit, configured to export the video editing draft according to the historical export parameters in response to an export interface instruction to jump to the video editing draft, so as to generate a first video;

[0180] A judgment unit, configured to obtain current export parameters in the export page in response to a trigger instruction of an export control in the export interface;

[0181] An export unit is used to use the first video as the target video for exporting the video editing draft if the target export parameter in the current export parameter is consistent with the target export parameter in the historical export parameter.

[0182] According to one or more embodiments of the present disclosure, when the export unit adopts the first video as the target video for exporting the video editing draft, it is configured to:

[0183] If the export process of the first video is in progress, continue to run the export process of the first video and display export progress information until the export process of the first video is completed, and use the first video as the target video for exporting the video editing draft; or

[0184] If the export process of the first video has been completed, the export completion prompt information is directly displayed, and the first video is used as the target video for exporting the video editing draft.

[0185] According to one or more embodiments of the present disclosure, when displaying the export progress information, the export unit is used to:

[0186] Obtaining progress information of the export process of the first video;

[0187] An export progress display interface is displayed, and progress information of the export process of the first video is displayed in the export progress display interface.

[0188] According to one or more embodiments of the present disclosure, when the pre-export unit exports the video editing draft according to the historical export parameters, it is used to:

[0189] According to the historical export path in the historical export parameter, a target folder is created in the corresponding storage space, and the video editing draft is exported to the target folder according to the historical export parameter;

[0190] Accordingly, when the multiplexing unit adopts the first video as the target video for exporting the video editing draft, it is used to:

[0191] The first video is moved from the target folder to the current export path in the current export parameters, and is determined as the target video to be exported from the video editing draft.

[0192] According to one or more embodiments of the present disclosure, the deriving unit is further configured to:

[0193] If it is determined that the target export parameters in the current export parameters are inconsistent with the target export parameters in the historical export parameters, the video editing draft is re-exported according to the current export parameters.

[0194] According to one or more embodiments of the present disclosure, after obtaining the current export parameters in the export page, the export unit is further used to:

[0195] If it is detected that the export process of the first video fails, or the first video is deleted, the video editing draft is directly re-exported according to the current export parameters.

[0196] According to one or more embodiments of the present disclosure, after obtaining the current export parameters in the export page, the export unit is further used to:

[0197] If it is detected that the current export path in the current export parameters and the path where the first video is located are not in the same disk partition, the video editing draft is directly re-exported according to the current export parameters.

[0198] According to one or more embodiments of the present disclosure, after exporting the video editing draft and before receiving a trigger instruction of an export control in the export interface, the export unit is further configured to:

[0199] If it is detected that any target export parameter in the export interface is modified, the export process of the first video is stopped, and the video editing draft is re-exported according to the historical export parameters and the modified target export parameters.

[0200] According to one or more embodiments of the present disclosure, when the pre-export unit exports the video editing draft according to the historical export parameters, it is used to:

[0201] According to the preset detection strategy, determine whether the preset export start condition is currently met;

[0202] If it is determined that the preset export start condition is currently met, the video editing draft is exported according to the historical export parameters.

[0203] According to one or more embodiments of the present disclosure, when the pre-export unit determines whether a preset export start condition is currently met according to a preset detection strategy, it performs at least one of the following:

[0204] Detect whether the target draft editing algorithm has finished running; or

[0205] Check whether the processing capacity of the current device meets the maximum load pressure of the pre-export process; or

[0206] Check if the destination path of the pre-export process product has access permissions; or

[0207] Detecting whether the storage space of the target path of the product of the pre-export process satisfies the cache of the product of the pre-export process; or

[0208] Detecting whether the material in the video editing draft is valid;

[0209] Detect whether member materials are used in the video editing draft and whether the current account is a member account.

[0210] According to one or more embodiments of the present disclosure, when detecting whether the processing capacity of the current device meets the maximum load pressure of the pre-derivation process, the pre-derivation unit is used to:

[0211] Obtaining the maximum resolution of each track in the video editing draft, calculating the sum of the maximum resolutions of each track, and determining the sum of the maximum resolutions of each track as the maximum load pressure of the pre-export process;

[0212] Obtain the preset load pressure threshold of the current device for the pre-export process;

[0213] The maximum load pressure of the pre-derivation process is compared with the preset load pressure threshold. If the maximum load pressure of the pre-derivation process exceeds the preset load pressure threshold, it is determined that the processing capacity of the current device does not meet the maximum load pressure of the pre-derivation process.

[0214] In a third aspect, according to one or more embodiments of the present disclosure, there is provided an electronic device, comprising: at least one processor and a memory;

[0215] The memory stores computer-executable instructions;

[0216] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the video export method as described in the first aspect and various possible designs of the first aspect.

[0217] In a fourth aspect, according to one or more embodiments of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer execution instructions. When a processor executes the computer execution instructions, the video export method described in the first aspect and various possible designs of the first aspect is implemented.

[0218] In a fifth aspect, according to one or more embodiments of the present disclosure, a computer program product is provided, comprising computer execution instructions. When a processor executes the computer execution instructions, the video export method as described in the first aspect and various possible designs of the first aspect is implemented.

[0219] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0220] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0221] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A video export method, characterized in that: include: In response to an instruction to jump to an export interface of a video editing draft, exporting the video editing draft according to a historical export parameter to generate a first video; In response to a trigger instruction of an export control in the export interface, obtaining current export parameters in the export page; If the target export parameters in the current export parameters are consistent with the target export parameters in the historical export parameters, the first video is used as the target video for exporting the video editing draft.

2. The method according to claim 1, characterized in that The step of using the first video as a target video for exporting the video editing draft includes: If the export process of the first video is in progress, continue to run the export process of the first video and display export progress information until the export process of the first video is completed, and use the first video as the target video for exporting the video editing draft; or If the export process of the first video has been completed, the export completion prompt information is directly displayed, and the first video is used as the target video for exporting the video editing draft.

3. The method according to claim 2, characterized in that The display of export progress information includes: Obtaining progress information of the export process of the first video; An export progress display interface is displayed, and progress information of the export process of the first video is displayed in the export progress display interface.

4. The method according to any one of claims 1 to 3, characterized in that: The exporting of the video editing draft according to the historical export parameters includes: According to the historical export path in the historical export parameter, a target folder is created in the corresponding storage space, and the video editing draft is exported to the target folder according to the historical export parameter; Accordingly, the step of using the first video as a target video for exporting the video editing draft includes: The first video is moved from the target folder to the current export path in the current export parameters, and is determined as the target video to be exported from the video editing draft.

5. The method according to any one of claims 1 to 3, characterized in that: Also includes: If it is determined that the target export parameters in the current export parameters are inconsistent with the target export parameters in the historical export parameters, the video editing draft is re-exported according to the current export parameters.

6. The method according to any one of claims 1 to 3, characterized in that: After obtaining the current export parameters in the export page, the method further includes: If it is detected that the export process of the first video fails, or the first video is deleted, the video editing draft is directly re-exported according to the current export parameters.

7. The method according to any one of claims 1 to 3, characterized in that: After obtaining the current export parameters in the export page, the method further includes: If it is detected that the current export path in the current export parameters and the path where the first video is located are not in the same disk partition, the video editing draft is directly re-exported according to the current export parameters.

8. The method according to any one of claims 1 to 3, characterized in that: After exporting the video editing draft and before receiving a trigger instruction of an export control in the export interface, the method further includes: If it is detected that any target export parameter in the export interface is modified, the export process of the first video is stopped, and the video editing draft is re-exported according to the historical export parameters and the modified target export parameters.

9. The method according to any one of claims 1 to 3, characterized in that: The exporting of the video editing draft according to the historical export parameters also includes: According to the preset detection strategy, determine whether the preset export start condition is currently met; If it is determined that the preset export start condition is currently met, the video editing draft is exported according to the historical export parameters.

10. The method according to claim 9, characterized in that The step of judging whether a preset export start condition is currently met according to a preset detection strategy includes at least one of the following: Detect whether the target draft editing algorithm has finished running; or Check whether the processing capacity of the current device meets the maximum load pressure of the pre-export process; or Check whether the target path of the product of the pre-export process has access permissions; or Detecting whether the storage space of the target path of the product of the pre-export process satisfies the cache of the product of the pre-export process; or Detecting whether the material in the video editing draft is valid; Detect whether member materials are used in the video editing draft and whether the current account is a member account.

11. The method according to claim 10, characterized in that The detecting whether the processing capacity of the current device meets the maximum load pressure of the pre-export process includes: Obtaining the maximum resolution of each track in the video editing draft, calculating the sum of the maximum resolutions of each track, and determining the sum of the maximum resolutions of each track as the maximum load pressure of the pre-export process; Obtain the preset load pressure threshold of the current device for the pre-export process; The maximum load pressure of the pre-derivation process is compared with the preset load pressure threshold. If the maximum load pressure of the pre-derivation process exceeds the preset load pressure threshold, it is determined that the processing capacity of the current device does not meet the maximum load pressure of the pre-derivation process.

12. A video export device, characterized in that: include: A pre-export unit, configured to export the video editing draft according to the historical export parameters in response to an export interface instruction to jump to the video editing draft, so as to generate a first video; A judgment unit, configured to obtain current export parameters in the export page in response to a trigger instruction of an export control in the export interface; A multiplexing unit is used to use the first video as the target video for exporting the video editing draft if the target export parameter in the current export parameter is consistent with the target export parameter in the historical export parameter.

13. An electronic device, characterized in that: include: at least one processor and memory; The memory stores computer-executable instructions; The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the method according to any one of claims 1 to 11.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the processor executes the computer-executable instructions, the method according to any one of claims 1 to 11 is implemented.

15. A computer program product, characterized in that The method comprises computer-executable instructions, and when a processor executes the computer-executable instructions, the method according to any one of claims 1 to 11 is implemented.

Citation Information

Cited By

  • Video exporting method and device, and storage medium

    EP4757320A1

  • Video exporting method and device, and storage medium

    WO2025026367A1