Video output method, device, and storage medium
By deriving video editing drafts in the background using historical parameters and reusing the generated video if current parameters match, the method addresses the long wait times in video encoding and export, improving user experience.
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- BEIJING ZITIAO NETWORK TECH CO LTD
- Filing Date
- 2024-07-31
- Publication Date
- 2026-06-23
Smart Images

Figure 2026520469000001_ABST
Abstract
Description
Technical Field
[0001] Cross - reference to related applications This application claims the priority of a Chinese patent application filed on July 31, 2023, with application number 202310956389.6 and invention title "Video Export Method, Device and Storage Medium", and all the contents of the Chinese patent application are incorporated herein by reference.
[0002] The embodiments of the present disclosure relate to the technical fields of computers and network communications, and in particular, to video export methods, devices, and storage media.
Background Art
[0003] With the development of network technology and the improvement of the hardware performance of terminal devices, the needs for video creation and video editing by terminal devices are expanding.
[0004] However, in the prior art, the time required for the video editing process by terminal devices is long, especially the time required for the video encoding and export processes, and the time for users to wait for video export is long, which has a serious impact on the user experience.
Summary of the Invention
Problems to be Solved by the Invention
[0005] The embodiments of the present disclosure provide a video export method, device, and storage medium to shorten the time for users to wait for video export.
Means for Solving the Problems
[0006] In a first embodiment, an embodiment of the present disclosure provides a video derivation method that, in response to a command to jump to a video editing draft derivation interface, derives the video editing draft based on history derivation parameters and generates a first video; in response to a trigger command of a derivation control in the derivation interface, obtains the current derivation parameters in the derivation page; and adopts the first video as a target video derived from the video editing draft if the target derivation parameters in the current derivation parameters match the target derivation parameters in the history derivation parameters.
[0007] In a second embodiment, an embodiment of the present disclosure includes: a pre-derivation unit used to provide a video derivation device and, in response to an instruction to jump to a video editing draft derivation interface, derive the video editing draft and generate a first video based on history derivation parameters; a determination unit used to respond to a trigger instruction for a derivation control in the derivation interface and obtain the current derivation parameters in the derivation page; and a reuse unit used to adopt the first video as a target video derived from the video editing draft if the target derivation parameters in the current derivation parameters match the target derivation parameters in the history derivation parameters.
[0008] In a third embodiment, an embodiment of the present disclosure provides an electronic device comprising at least one processor and memory, wherein the memory stores computer execution instructions, and when the at least one processor executes the computer execution instructions stored in the memory, the at least one processor causes the at least one processor to execute a video derivation method described in the first embodiment and various possible designs based on the first embodiment.
[0009] In a fourth embodiment, an embodiment of the present disclosure provides a computer-readable storage medium storing computer execution instructions, and when a processor executes the computer execution instructions, it performs a video derivation method as described in the first embodiment and various possible designs based on the first embodiment.
[0010] In a fifth embodiment, an embodiment of the present disclosure provides a computer program product including a computer execution instruction, and when a processor executes the computer execution instruction, it performs a video derivation method as described in the first embodiment and various possible designs based on the first embodiment. [Brief explanation of the drawing]
[0011] To more clearly describe the embodiments of this disclosure or the technical modes in the prior art, the following is a brief introduction of the accompanying drawings that may be used in describing the embodiments or the prior art. However, the accompanying drawings in the following description are only a part of the embodiments of this disclosure, and it will be apparent to those skilled in the art that other accompanying drawings can be obtained from these drawings without any creative effort. [Figure 1] This is a diagram illustrating an example of an application of a video derivation method provided in one embodiment of the present disclosure. [Figure 2] This is a flowchart of a video derivation method provided in one embodiment of the present disclosure. [Figure 3] This is a flowchart of a video derivation method provided in another embodiment of the present disclosure. [Figure 4] This is a schematic diagram of a video editing draft provided in one embodiment of the present disclosure. [Figure 5] This is a structural block diagram of a video output device provided in one embodiment of the present disclosure. [Figure 6] This is a schematic diagram of the hardware structure of an electronic device provided in one embodiment of the present disclosure. [Modes for carrying out the invention]
[0012] To further clarify the purpose, technical modes and advantages of the embodiments of this disclosure, the technical modes of the embodiments of this disclosure will be described clearly and completely below with reference to the drawings of the embodiments of this disclosure. It is clear that the embodiments described are only a part of the embodiments of this disclosure, and not all of them. All other embodiments that can be obtained by a person skilled in the art without creative effort based on the embodiments of this disclosure are also within the scope of this disclosure.
[0013] In conventional technology, the video editing process on terminal devices takes a long time, especially the video encoding and export processes, resulting in long waiting times for users to export the video, which has a serious impact on the user experience.
[0014] To solve the technical problems described above, this disclosure considers that when a user derives a video editing draft as a video, they typically need to enter the video editing draft's derivation interface. The derivation parameters set in the derivation interface include, but are not limited to, the video file name, derivation path, resolution, bitrate, encoding format, and video container format (file package format). Users generally remain in the derivation interface for a certain period of time. For most users, it is not common to frequently modify most of the derivation parameters within the derivation interface. Because users have certain usage habits for most of the derivation parameters, even if they are modified, the modified derivation parameters, such as the video file name and derivation path, may not affect the derivation product and may not affect the video encoding. Therefore, this idle time can be fully utilized to start the derivation of the video editing draft early in the background based on the historical derivation parameters. That is, when a user opens the video editing draft's derivation interface, simply by responding to the command to open the derivation interface, the pre-derivation process for the video editing draft can be started based on the historical derivation parameters. Because the pre-derivation process runs in the background, the user is unaware of it, and can continue to modify one or more derivation parameters in the derivation interface. This allows the pre-derivation process to be reused when the user triggers a derivation control within the derivation interface, reducing the time the user has to wait for derivation, improving the derivation speed the user perceives, and enhancing the user experience of the derivation process.
[0015] The video derivation method provided in this disclosure is applicable to electronic devices such as terminal devices or servers, and as shown in Figure 1, using a terminal device as an example, the user opens the video editing draft derivation interface.
[0016] Furthermore, user information (including, but not limited to, user device information and user personal information) and data (including, but not limited to, analytical data, storage data, and display data) relating to this application are all information and data authorized by the user or the relevant parties. The collection, use, and processing of related data must comply with the laws and standards of the relevant countries and regions, and a corresponding operating interface will be provided to allow the user to choose or refuse authorization.
[0017] The video derivation method of this disclosure will be described in detail below based on specific examples.
[0018] Referring to Figure 2, which is a flowchart of a video derivation method provided by one embodiment of the present disclosure. The method of this embodiment is applicable to electronic devices such as terminal devices or servers, and the video derivation method includes the following steps.
[0019] In S201, in response to a command to jump to the video editing draft derivation interface, the video editing draft is derived based on the history derivation parameters, and the first video is generated.
[0020] In this embodiment, in some video editing scenarios (such as video editing applications), a video editing draft includes one or more multimedia materials such as original video materials (one or more), pixel materials, audio materials, etc. and editing information for the multimedia materials. The process of deriving a video encoding draft is a video encoding process, that is, these multimedia materials are synthesized into one video. When deriving the video editing draft as a video, usually, it is necessary to enter the derivation interface of the video editing draft. The derivation parameters set in the derivation interface include, but are not limited to, video file name, derivation path, resolution, bit rate, encoding format, video container format (file package format), etc. Usually, the user stays at the derivation interface for a certain period of time. For most users, usually, most of the derivation parameters in the derivation interface are not frequently modified. Even if modifications are made, the modified derivation parameters, such as the video file name, derivation path, etc., may not affect the derivation product. Therefore, in this embodiment, such idle time is fully utilized, and based on the historical derivation parameters, the derivation of the video editing draft is started early in the background. That is, when the user opens the derivation interface of the video editing draft, just in response to the command to jump to the derivation interface of the video editing draft, based on the historical derivation parameters, the derivation process of the video editing draft is started, and the first video corresponding to the video editing draft is generated. The derivation process is executed in the background without the user's perception, and the user can continue to modify one or more derivation parameters in the derivation interface.
[0021] Optionally, since the derivation interface can save the historical derivation parameters at the previous derivation, based on the historical derivation parameters at the previous derivation in the derivation interface, the derivation process of the video editing draft can be started early.
[0022] In S202, in response to a trigger instruction of a derivation control in the derivation interface, obtain the current derivation parameters in the derivation page.
[0023] In this embodiment, the user can modify one or more derivation parameters in the derivation interface. After the modification is completed, trigger a derivation control (for example, a derivation button) in the derivation interface, and in response to the trigger instruction of the derivation control, the current derivation parameters in the derivation page can be obtained.
[0024] In S203, when the target derivation parameter in the current derivation parameter matches the target derivation parameter in the historical derivation parameter, adopt the first video and the target video derived from the video editing draft as the target video.
[0025] In this embodiment, after obtaining the current derived parameters within the derived page, the current derived parameters are compared with the historical derived parameters. Since modifications to some derived parameters affect the derived product, while modifications to some parameters do not affect the derived product, when comparing the current derived parameters with the historical derived parameters, it is only possible to determine whether the target derived parameters in the current derived parameters match the target derived parameters in the historical derived parameters. The target derived parameters are those that affect the derivation result and include, but are not limited to, resolution, bitrate, and encoding format. Selectively, modifications to the video container format (file package format) may or may not affect the derivation result. In scenarios where modifications to the video container format (file package format) affect the derivation result, the target derived parameters include the video container format (file package format). In scenarios where modifications to the video container format (file package format) do not affect the derivation result, the target derived parameters do not include the video container format (file package format). Modifications to derivation parameters such as video file names and derivation paths do not affect the derivation results, and therefore are not treated as target derivation parameters and are excluded from the comparison.
[0026] If the target derived parameter in the current derived parameters is determined to match the target derived parameter in the history derived parameters, the target derived parameter is not modified, and the derivation result is not affected. That is, the first video derived from the video editing draft based on the history derived parameters matches the second video derived from the video editing draft based on the current derived parameters. Therefore, when the derivation control is triggered, there is no need to derive the video editing draft from the beginning, and the final first video can be directly adopted as the target video derived from the video editing draft. This makes it possible to make full use of the idle time the user is in the derivation interface, reduce the time the user has to wait for derivation, and improve the user experience of the derivation process.
[0027] When a trigger command for the derivation control within the derivation interface is selectively received, the first video derivation process may be in execution, completed, or, of course, may have failed or be in any other state. Therefore, in this embodiment, it is possible to detect the state of the first video derivation process when a trigger command for the derivation control within the derivation interface is received.
[0028] Furthermore, in S203, adopting the first video as the target video derived from the video editing draft specifically includes, if the derivation process for the first video is in progress, continuing to run the derivation process for the first video until the execution of the derivation process for the first video is completed, displaying derivation progress information, and adopting the first video as the target video derived from the video editing draft.
[0029] In this embodiment, when a trigger command for the derivation control in the derivation interface is received, if the derivation process for the first video is in progress, there is no need to restart the normal derivation process. Rather, the derivation process for the first video continues to run until it finishes, the derivation process for the first video is reused, and derivation progress information, which is progress information for the derivation process for the first video, is displayed. The first video obtained after the execution of the first video derivation process is completed is a video file based on history derivation parameters, and this video file is adopted as the target video derived from the video editing draft.
[0030] After the first video derivation process has started, it is possible to record the progress information of the first video derivation process. When a trigger command for the derivation control in the derivation interface is received, the derivation progress display interface is displayed, and the progress information of the first video derivation process is displayed on the derivation progress display interface.
[0031] In another case, when a trigger command for the derivation control in the derivation interface is received, the execution of the first video derivation process has already finished, and derivation completion prompt information, such as the derivation completion prompt interface, is displayed directly. Furthermore, there is no need to restart the normal derivation process, and the first video obtained after the execution of the first video derivation process has finished can be adopted as the target video derived from the video editing draft.
[0032] If it is determined that the target derived parameter in the current derived parameter does not match the target derived parameter in the history derived parameter, a re-derivation of the video editing draft is performed based on the current derived parameter. If the pre-derivation process is running, the derivation process for the first video is terminated and the first video is deleted. If the execution of the derivation process for the first video has finished, the first video is deleted directly.
[0033] According to the video derivation method provided in this embodiment, in response to a command to jump to the video editing draft derivation interface, the video editing draft is derived based on the history derivation parameters, a first video is generated, and in response to a trigger command of the derivation control in the derivation interface, the current derivation parameters in the derivation page are obtained, and if the target derivation parameter in the current derivation parameters matches the target derivation parameter in the history derivation parameters, the first video is adopted as the target video derived from the video editing draft. When the derivation page is opened, the video editing draft derivation is started early, making full use of the idle time the user is in the derivation interface, reducing the time the user has to wait for derivation, and improving the user experience of the derivation process.
[0034] Based on any of the above embodiments, in S201, when deriving the video editing draft based on the history derivation parameters, a target folder is created in the corresponding storage area based on the history derivation path in the history derivation parameters, and the derivation process of the first video of the video editing draft is started based on the history derivation parameters. The first video in the derivation process is cached in the target folder, and the target folder may be a non-hidden folder or a hidden folder. By using a hidden folder, the user may not be aware of the derivation process of the first video, and it is possible to avoid failure of the derivation process of the first video due to deletion of the target folder by user error.
[0035] Furthermore, after the execution of the first video derivation process is complete, if the first video obtained after the execution of the first video derivation process is to be adopted as the target video derived from the video editing draft, the user may modify the derivation path in the derivation interface. Therefore, the first video is moved from the target folder mentioned above to the current derivation path in the current derivation parameters and adopted as the target video derived from the video editing draft.
[0036] Furthermore, if the user modifies other derivation parameters (not those mentioned above) that do not belong to the target derivation parameters in the derivation interface, the first video obtained after the execution of the first video derivation process is completed can be adjusted based on these other derivation parameters. For example, if the user modifies the video file name in the derivation interface, the video file name for the first video will be modified based on the modified video file name.
[0037] Based on any of the above embodiments, in S202, after obtaining the current derivation parameters in the derivation page, if a failure in the first video derivation process or deletion of the first video is detected, the video editing draft is directly re-derivated based on the current derivation parameters.
[0038] In this embodiment, after starting the first video derivation process, there is a possibility of failure occurring or the product of the first video derivation process being deleted. When a trigger command of the derivation control in the derivation interface is received, it is possible to detect whether the first video derivation process has failed or whether the product of the first video derivation process has been deleted. If it is detected that the first video derivation process has not failed and the product of the first video derivation process has not been deleted, it is possible to further determine whether the target derivation parameter in the current derivation parameter in the derivation interface matches the target derivation parameter in the history derivation parameter. If it is detected that the first video derivation process has failed or the first video has been deleted, the video editing draft can be directly re-derived based on the current derivation parameter. In the case where the first video derivation process has failed and the product of the first video derivation process has not been deleted, the generated first video can be deleted.
[0039] Based on any of the embodiments described above, if, after obtaining the current derived parameters in the derived page, S202 detects that the current derived path in the current derived parameters and the path where the first video resides are not on the same disk partition, the video editing draft is further re-derived directly based on the current derived parameters.
[0040] In this embodiment, although modifying the derived path does not affect the derivation result, if the current derived path in the current derived parameters and the path where the first video resides are not on the same disk partition, it may take a long time to move the first video to another partition after the execution of the first video derivation process is completed. Therefore, if it is detected that the current derived path in the current derived parameters and the path where the first video resides are not on the same disk partition after receiving a trigger command for the derivation control in the derivation interface, the video editing draft is directly re-derived based on the current derived parameters. Of course, the detection process of whether the current derived path in the current derived parameters and the first video are on the same disk partition can also be performed after obtaining the current derived parameters in the derivation page in S202.
[0041] Based on any of the above embodiments, after initiating the first video derivation process for a video editing draft, the user may modify any target derivation parameter before receiving a trigger command for the derivation control in the derivation interface. If the video editing draft derivation process is restarted based on the current derivation parameter after receiving a trigger command for the derivation control in the derivation interface, some idle time may be wasted. For example, if the user first modifies a target derivation parameter, which is the derivation interface, and then remains in the derivation interface for a long time to trigger the derivation control in the derivation interface, the idle time between the modification of the target derivation parameter and the triggering of the derivation control in the derivation interface is wasted. Therefore, in this embodiment, if a modification of any target derivation parameter in the derivation interface is detected after initiating the first video derivation process for a video editing draft, but before receiving a trigger command for the derivation control in the derivation interface, the first video derivation process is stopped, and the video editing draft is re-derived based on the history derivation parameter and the modified target derivation parameter. In other words, each time a modification to the target derivation parameter is detected, the derivation process for the first video is stopped, the derivation process is restarted, and the effective use of idle time is ensured. More specifically, the target derivation parameter in the history derivation parameter is replaced with the modified target derivation parameter, the replaced derivation parameter is obtained, and the video editing draft derivation process is restarted based on the replaced derivation parameter.
[0042] Based on any of the above embodiments, as shown in Figure 3, S201, which derives the video editing draft based on the history derivation parameters, further includes S2011, which determines whether the current state satisfies a preset derivation activation condition based on a preset detection strategy, and S2012, which, if it is determined that the current state satisfies the preset derivation activation condition, derives the video editing draft based on the history derivation parameters.
[0043] In this embodiment, it is possible to determine in advance whether the current state satisfies the pre-set derivation start conditions before starting the pre-derivation process. If it is determined that the current state does not satisfy the pre-set derivation start conditions, the pre-derivation process is not started. When the derivation control in the derivation interface is triggered, the system responds to the trigger command of the derivation control and starts the normal derivation process for the video editing draft based on the current derivation parameters in the derivation interface. If it is determined that the current state satisfies the pre-set derivation start conditions, the system starts the pre-derivation process for the video editing draft based on the history derivation parameters.
[0044] When selectively determining whether the current state satisfies pre-defined derivation and activation conditions based on a pre-defined detection strategy, the pre-defined detection strategy may include one or more of the following detection items.
[0045] 1) Detect whether the execution of the target draft editing algorithm has finished. The target draft editing algorithm includes, but is not limited to, frame interpolation algorithms, image stabilization algorithms, and keying algorithms. Whether it is pre-derivation or a normal derivation process, it must be performed after the execution of these algorithms has finished. When a command to open the video editing draft derivation interface is received, if the execution of the target draft editing algorithm has not finished, the pre-derivation process will not start until the execution of the target draft editing algorithm has finished. At this time, if a trigger command for the derivation control in the derivation interface has not yet been received, the pre-derivation process will be started, or, after a trigger command for the derivation control in the derivation interface is received, the normal derivation process for the video editing draft will be started based on the current derivation parameters in the derivation interface.
[0046] 2) Detect whether the current device's processing power meets the maximum load pressure of the pre-extraction process. The purpose of this detection is to minimize user awareness of the pre-extraction process and avoid affecting the user's normal editing experience. If the current device's processing power does not meet the maximum load pressure of the pre-extraction process, the pre-set export start conditions will not be met.
[0047] It is possible to selectively pre-set the processing power corresponding to any device, and this processing power is the pre-set load pressure threshold for the pre-export process for any device. For example, the pre-set load pressure threshold for model 1 is 3840*2160 (4K), and the pre-set load pressure threshold for model 2 is 3840*2160*2 (8K). The pre-set load pressure threshold is related to the performance of the device hardware (e.g., GPU), and the higher the performance of the device hardware, the higher the pre-set load pressure threshold. For the maximum load pressure in the pre-export process of the video editing draft, the maximum resolution of each track in the video editing draft is obtained, the sum of the maximum resolutions of each track is calculated, and the sum of the maximum resolutions of each track is determined as the maximum load pressure of the pre-export process. For example, if the video editing draft shown in Figure 4 contains three tracks, with a maximum resolution of 1080*1920 for track 1, 1280*720 for track 2, and 3840*2160 for track 3, the maximum load pressure will be 1080*1920 + 1280*720 + 3840*2160. Then, the maximum load pressure of the pre-extraction process is compared with the preset load pressure threshold of the current device. If the maximum load pressure of the pre-extraction 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-extraction process. For example, if the current device is model 1 and the corresponding preset load pressure threshold is 3840*2160 (4K), the maximum load pressure of the pre-extraction process of the video editing draft shown in Figure 4 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-extraction process, i.e., the preset derivation start condition is not met.
[0048] 3) Detect whether or not there are access rights to the target path of the pre-extraction process's output. In the above embodiment, the output of the pre-extraction process is cached in the storage area where the history output path exists, or output to an arbitrarily specified output path; therefore, both are referred to here as the target path of the pre-extraction process's output. If there are no access rights to the target path of the pre-extraction process's output, the output obtained after the pre-extraction process has finished cannot be accessed or moved, and the output obtained after the pre-extraction process has finished cannot be used as the target video output from the video editing draft. Therefore, it is necessary to detect whether or not there are access rights to the target path of the pre-extraction process's output before starting the pre-extraction process.
[0049] 4) The system detects whether the storage area of the target path for the pre-extraction process's products satisfies the caching requirements for the pre-extraction process's products. Specifically, this includes whether the storage area of the target path for the pre-extraction process's products is sufficient and can accommodate the pre-extraction process's products, and may also include whether the maximum size of a single file allowed by the storage area of the target path for the pre-extraction process's products can accommodate the pre-extraction process's products. If the pre-extraction process's products cannot be accommodated, the system fails to satisfy the caching requirements for the pre-extraction process's products, i.e., it fails to satisfy the pre-configured derivation start conditions.
[0050] 5) Detect whether the materials in the video editing draft are valid. For example, detect whether the materials are missing, whether access permissions exist, and whether there are any problems preventing them from being opened due to abnormal conditions.
[0051] 6) The system detects whether member material (VIP material) is used in the video editing draft and whether the current account is a member account (VIP account). If member material is used in the video editing draft and the current account is not a member account, the material becomes unavailable and pre-export cannot be started. The system can optionally prompt the user to purchase a VIP account or modify the material. If the current account is a member account, the pre-configured export activation conditions are met.
[0052] Based on any of the above embodiments, it is possible to manage the state of the first video extraction process (the state of the pre-extraction process). Specifically, 1) if the pre-set extraction startup conditions are not met, the deployment state is "pre-extraction process unavailable", 2) when the pre-extraction process starts, the deployment state is "pre-extraction process running", 3) when the pre-extraction process fails midway, the deployment state is "pre-extraction process failed", and 4) when the execution of the pre-extraction process is completed, the deployment state is "pre-extraction process successful".
[0053] When a trigger command for the derivation control in the derivation interface is received, the status of the pre-derivation process can be obtained. If the status is pre-derivation process unavailable or pre-derivation process failed, the video editing draft is re-derived based on the current derivation parameters in the derivation interface. If the status is pre-derivation process running, the first video derivation process continues to run until the execution of the first video derivation process is completed, the first video derivation process is reused, derivation progress information is displayed, and the first video is adopted as the target video derived from the video editing draft. If the status is pre-derivation process successful, derivation completion prompt information is displayed directly, and the first video is directly adopted as the target video derived from the video editing draft.
[0054] Based on any of the above embodiments, this embodiment provides a video extraction method, the steps of which are as follows.
[0055] In S401, a command is received to open the video editing draft derivation interface.
[0056] In S402, based on a pre-configured detection strategy, it is determined whether the current state satisfies a pre-configured derived activation condition.
[0057] If it is determined that the current state does not meet the pre-set derivation start conditions, the derivation process will not be started. Instead, after receiving a trigger command from the derivation control in the derivation interface, the normal derivation process will be started for the video editing draft based on the current derivation parameters in the derivation interface. Conversely, if the system does not meet the pre-set derivation start conditions, S403 will be executed.
[0058] In S403, if it is determined that the current state satisfies the pre-set derivation activation conditions, a video editing draft is derived based on the history derivation parameters, and the first video is generated.
[0059] In S404, the system receives a command to modify the derived parameters performed by the user in the derivation interface. Optionally, the user may modify the derived parameters or not. In either case, the user confirms the current derived parameters and then triggers the derivation control within the derivation interface.
[0060] In S405, the trigger command for the derivation control within the derivation interface is received.
[0061] In S406, it is detected whether the first video derivation process has failed or whether the first video has been deleted. If it is detected that the first video derivation process has failed or the first video has been deleted, the video editing draft is directly re-derived based on the current derivation parameters in the derivation interface. If not, S407 is executed.
[0062] In S407, it is detected whether the target derived parameter in the current derived parameter within the derived interface matches the target derived parameter in the history derived parameter. If it is determined that the target derived parameter in the current derived parameter does not match the target derived parameter in the history derived parameter, the video editing draft is directly re-derived based on the current derived parameter within the derived interface, the derivation process for the first video is canceled, and the first video is deleted. If the opposite is true, S408 is executed.
[0063] In S408, it is detected whether the current derivation path in the current derivation parameters and the path where the first video resides are on the same disk partition. If it is determined that the current derivation path in the current derivation parameters and the path where the first video resides are not on the same disk partition, the video editing draft is directly re-derived based on the current derivation parameters in the derivation interface, the derivation process for the first video is canceled, and the first video is deleted. If the opposite is true, S409 is executed.
[0064] In S409, the first video is selected as the target video derived from the video editing draft. Specifically, if the first video derivation process is in progress, the first video derivation process continues until it is completed, derivation progress information is displayed, and the first video is selected as the target video derived from the video editing draft. Alternatively, if the first video derivation process has already been completed, derivation completion prompt information is displayed directly, and the first video is selected as the target video derived from the video editing draft.
[0065] Furthermore, this may further include moving the first video from the current path to the current derived path within the current derived parameters, and further including performing other processes on the first video, such as modifying the video file name, based on the current video file name within the current derived parameters.
[0066] Corresponding to the video extraction method of the above embodiment, Figure 5 is a structural block diagram of a video extraction device provided by an embodiment of the present disclosure. For the sake of clarity, only the parts relevant to the embodiment of the present disclosure are shown. Referring to Figure 5, the video extraction device 500 includes a pre-extraction unit 501, a determination unit 502, and an extraction unit 503.
[0067] Of these, the pre-derivation unit 501 is used to respond to a command to jump to the video editing draft derivation interface, derive the video editing draft based on the history derivation parameters, and generate a first video. The determination unit 502 is used to respond to a trigger command for the derivation control in the derivation interface and obtain the current derivation parameters in the derivation page. The derivation unit 503 is used to select the first video as the target video derived from the video editing draft if the target derivation parameter in the current derivation parameters matches the target derivation parameter in the history derivation parameters.
[0068] In one or more embodiments of the present disclosure, the derivation unit 503 is used to select the first video as the target video derived from the video editing draft, to continue running the first video derivation process until the execution of the first video derivation process is completed, to display derivation progress information, and to select the first video as the target video derived from the video editing draft, if the execution of the first video derivation process is in progress. Alternatively, if the execution of the first video derivation process has already been completed, to directly display derivation completion prompt information and to select the first video as the target video derived from the video editing draft.
[0069] In one or more embodiments of the present disclosure, the derivation unit 503 is used to display derivation progress information, to obtain progress information of the first video derivation process, to display a derivation progress display interface, and to cause the progress information of the first video derivation process to be displayed on the derivation progress display interface.
[0070] In one or more embodiments of the present disclosure, the pre-derivation unit 501 is used to derive the video editing draft based on the history derivation parameters, create a target folder in the corresponding storage area based on the history derivation path in the history derivation parameters, and derive the video editing draft to the target folder based on the history derivation parameters. Accordingly, the reuse unit is used to move the first video from the target folder to the current derivation path in the current derivation parameters and determine it as the target video derived from the video editing draft, if the first video is selected as the target video derived from the video editing draft.
[0071] In one or more embodiments of the present disclosure, if the derivation unit 503 determines that the target derivation parameter in the current derivation parameter does not match the target derivation parameter in the history derivation parameter, it re-derives the video editing draft based on the current derivation parameter.
[0072] In one or more embodiments of the present disclosure, after obtaining the current derivation parameters in the derivation page, the derivation unit 503 detects a failure in the first video derivation process or the deletion of the first video, and then directly re-derives the video edit draft based on the current derivation parameters.
[0073] In one or more embodiments of the present disclosure, after obtaining the current derivation parameters in the derivation page, if the derivation unit 503 detects that the current derivation path in the current derivation parameters and the path where the first video resides are not on the same disk partition, it directly re-derives the video editing draft based on the current derivation parameters.
[0074] In one or more embodiments of the present disclosure, after deriving the video editing draft and before receiving a trigger command for the derivation control in the derivation interface, if the derivation unit 503 detects a modification of any target derivation parameter in the derivation interface, it stops the first video derivation process and re-derives the video editing draft based on the history derivation parameter and the modified target derivation parameter.
[0075] In one or more embodiments of the present disclosure, when the pre-derivation unit 501 derives the video editing draft based on the history derivation parameters, it detects whether the current state satisfies a preset derivation activation condition based on a preset detection strategy, and if it determines that the current state satisfies the preset derivation activation condition, it derives the video editing draft based on the history derivation parameters.
[0076] In one or more embodiments of the present disclosure, the pre-extraction unit 501, based on a pre-configured detection strategy, determines whether the current state satisfies a pre-configured extraction activation condition and performs at least one of the following: Specifically, it determines whether the execution of the target draft editing algorithm has finished, whether the current device's processing capacity satisfies the maximum load pressure of the pre-extraction process, whether it has access rights to the target path of the pre-extraction process's products, whether the storage area of the target path of the pre-extraction process's products satisfies the caching requirements of the pre-extraction process's products, whether the material in the video editing draft is valid, whether member material is used in the video editing draft, and whether the current account is a member account.
[0077] In one or more embodiments of the present disclosure, the pre-extraction unit 501 detects whether the processing capacity of the current device meets the maximum load pressure of the pre-extraction process, obtains the maximum resolution of each track in the video editing draft, calculates the sum of the maximum resolutions of each track, determines the sum of the maximum resolutions of each track as the maximum load pressure of the pre-extraction process, obtains a pre-set load pressure threshold for the current device, compares the maximum load pressure of the pre-extraction process with the pre-set load pressure threshold, and determines that the processing capacity of the current device does not meet the maximum load pressure of the pre-extraction process if the maximum load pressure of the pre-extraction process exceeds the pre-set load pressure threshold.
[0078] The video output device provided in this embodiment is capable of implementing the technical form of the method embodiment described above, and its implementation principle and technical effect are similar; therefore, it will not be repeated in this embodiment.
[0079] The video derivation method, device, and storage medium provided in the embodiments of this disclosure generate a first video by deriving the video editing draft based on history derivation parameters in response to a command to jump to the video editing draft derivation interface, and also retrieve the current derivation parameters in the derivation page in response to a trigger command of the derivation control in the derivation interface, and adopt the first video as the target video derived from the video editing draft if the target derivation parameter in the current derivation parameters matches the target derivation parameter in the history derivation parameters. When opening the derivation page, the video editing draft derivation is started early, making full use of the idle time the user is in the derivation interface, reducing the time the user has to wait for derivation, and improving the user experience of the derivation process.
[0080] Referring to Figure 6, a schematic diagram of the structure of an electronic device 600 suitable for realizing an embodiment of the present disclosure is shown. The electronic device 600 is a terminal device or a server. Among these, terminal devices include, but are not limited to, mobile devices such as mobile phones, laptop computers, digital broadcast receivers, personal digital assistants (PDAs), tablet devices (Portable Android Devices, PADs), portable media players (PMPs), and in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device shown in Figure 6 is for illustrative purposes only and does not impose any limitations on the functionality and scope of the embodiments of the present disclosure.
[0081] As shown in Figure 6, the electronic device 600 may include a processing unit (e.g., a central processing unit, graphics processor, etc.) 601, which can perform various appropriate operations and processes according to a program stored in a read-only memory (ROM) 602, or a program loaded from a storage device 608 into a random access memory (RAM) 603. The RAM 603 stores various programs and data necessary for the operation of the electronic device 600. The processing unit 601, ROM 602, and 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.
[0082] Typically, devices that can be connected to the I / O interface 605 include, for example, input devices 606 such as touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, and gyroscopes; output devices 607 such as liquid crystal displays (LCDs), speakers, and oscillators; storage devices 608 such as magnetic tapes and hard disks; and communication devices 609. The communication device 609 enables the electronic device 600 to exchange data with other devices via wired or wireless communication. Figure 6 shows an electronic device 600 with various devices, but it should be understood that it is not necessary to implement or have all of the devices shown. More or fewer devices may be implemented or have all of them instead.
[0083] In particular, according to embodiments of the present disclosure, the processes described with reference to the flowchart may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product, the computer program product includes a computer program stored on a computer-readable medium, and the computer program includes program code for performing the method shown in the flowchart. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 609, or installed from a storage device 608, or installed from a ROM 602. When the computer program is executed on the processing unit 601, the above-described functions limited by the methods of embodiments of the present disclosure are performed.
[0084] The computer-readable medium described herein may be a computer-readable signal medium, a computer-readable storage medium, or any combination thereof. A computer-readable storage medium includes, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any combination thereof. More specific examples of computer-readable storage media include, but are not limited to, electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program used by, or in combination with, an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium may include a data signal propagating in the baseband or as part of a carrier wave, wherein a computer-readable program code is carried on the data signal. Such propagating data signals can take multiple forms and include, but are not limited to, electromagnetic signals, optical signals, or any suitable combination thereof. The computer-readable signal medium may be any computer-readable medium other than a computer-readable storage medium, and the computer-readable signal medium may transmit, propagate, or transmit programs used by or in combination with instruction execution systems, apparatus, or devices. The program code contained in the computer-readable medium may be transmitted via any suitable medium, including, but is not limited to, electric wires, optical cables, RF (radio frequency), or any suitable combination thereof.
[0085] The computer-readable medium described above may be included in the electronic device described above, or it may exist independently and not be incorporated into the electronic device.
[0086] The computer-readable medium contains one or more programs, and when these one or more programs are executed on the electronic device, the electronic device is made to perform the method shown in the above embodiment.
[0087] Computer program code for performing the operations disclosed herein can be written using one or more programming languages or a combination thereof. These programming languages include object-oriented programming languages such as Java, Smalltalk, and C++, and traditional procedural programming languages such as the "C" language or similar programming languages. The program code may run entirely on a user computer, partially on a user computer, run as a standalone software package, run partially on a user computer and partially on a remote computer, or run entirely on a remote computer or server. If a remote computer is involved, it may be connected to the user computer via any type of network, including a Local Area Network (LAN) or Wide Area Network (WAN), or it may be connected to an external computer (e.g., an Internet connection via an Internet service provider).
[0088] The flowcharts and block diagrams in the attached drawings illustrate the architecture, functions, and operations of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in the flowchart or block diagram may represent a module, program segment, or portion of code containing executable instructions for implementing one or more defined logical functions. It should also be understood that in alternative implementations, the functions described in a block may be executed in a different order than that shown in the drawings. For example, two consecutively shown blocks may actually be executed nearly parallel or in reverse order, depending on the functions involved. Each block in the block diagram and / or flowchart, and combinations of blocks in the block diagram and / or flowchart, may be implemented by a dedicated hardware-based system that performs the defined function or operation, or by a combination of dedicated hardware and computer instructions.
[0089] The units described in the embodiments of this disclosure may be implemented in software or in hardware. Herein, the names of the units are not necessarily limited to the modules themselves, for example, the first acquisition unit may be described as "a unit for acquiring at least two IP addresses."
[0090] At least some of the functions described in this text can be performed by one or more hardware logic components. For example, non-limiting examples of usable hardware logic components include field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standards (ASSPs), systems-on-a-chip (SOCs), and complex programmable logic devices (CPLDs).
[0091] In this disclosure, a mechanically readable medium may be a tangible medium containing or storing a program used by or in combination with an instruction execution system, apparatus, or device. A mechanically readable medium may be a mechanically readable signal medium or a mechanically readable storage medium. A mechanically readable medium includes, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. More specific examples of mechanically readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0092] In a first embodiment, one or more embodiments of the present disclosure provide a video derivation method that includes: responding to an instruction to jump to a video editing draft derivation interface, deriving the video editing draft based on history derivation parameters, and generating a first video; responding to a trigger instruction for a derivation control in the derivation interface, retrieving the current derivation parameters in the derivation page; and adopting the first video as a target video derived from the video editing draft if the target derivation parameters in the current derivation parameters match the target derivation parameters in the history derivation parameters.
[0093] According to one or more embodiments of the present disclosure, adopting the first video as the target video derived from the video editing draft includes, if the first video derivation process is running, continuing to run the first video derivation process until the execution of the first video derivation process is completed, displaying derivation progress information, and adopting the first video as the target video derived from the video editing draft; or, if the execution of the first video derivation process is completed, directly displaying derivation completion prompt information and adopting the first video as the target video derived from the video editing draft.
[0094] According to one or more embodiments of the present disclosure, displaying derivation progress information includes obtaining progress information of the first video derivation process, displaying a derivation progress display interface, and causing the progress information of the first video derivation process to be displayed on the derivation progress display interface.
[0095] According to one or more embodiments of the present disclosure, deriving the video editing draft based on a history derivation parameter includes creating a target folder in a corresponding storage area based on a history derivation path in the history derivation parameter, and deriving the video editing draft into the target folder based on the history derivation parameter; and correspondingly, adopting the first video as the target video derived from the video editing draft includes moving the first video from the target folder to the current derivation path in the current derivation parameter and determining it as the target video derived from the video editing draft.
[0096] According to one or more embodiments of the present disclosure, the method further includes re-deriving the video editing draft based on the current derived parameters if it is determined that the target derived parameter in the current derived parameters does not match the target derived parameter in the history derived parameters.
[0097] According to one or more embodiments of the present disclosure, if, after obtaining the current derived parameters in the obtained derived page, it is detected that the first video derivation process has failed or that the first video has been deleted, the video edit draft is directly re-derived based on the current derived parameters.
[0098] According to one or more embodiments of the present disclosure, if, after obtaining the current derivation parameters in the derivation page, it is detected that the current derivation path in the current derivation parameters and the path where the first video resides are not located on the same disk partition, the video editing draft is further re-derivated directly based on the current derivation parameters.
[0099] According to one or more embodiments of the present disclosure, if a modification of any target derivation parameter in the derivation interface is detected after the video editing draft has been derived but before a trigger command for the derivation control in the derivation interface is received, the first video derivation process is stopped and the video editing draft is re-derived based on the history derivation parameter and the modified target derivation parameter.
[0100] According to one or more embodiments of the present disclosure, deriving the video editing draft based on history derivation parameters further includes determining whether the current state satisfies a preset derivation trigger condition based on a preset detection strategy, and if it is determined that the current state satisfies the preset derivation trigger condition, deriving the video editing draft based on the history derivation parameters.
[0101] According to one or more embodiments of the present disclosure, determining whether the current state satisfies pre-configured derivation activation conditions based on a pre-configured detection strategy includes at least one of the following: detecting whether the execution of the target draft editing algorithm has finished; detecting whether the processing capacity of the current device satisfies the maximum load pressure of the pre-derivation process; detecting whether there is access to the target path of the pre-derivation process artifacts; detecting whether the storage area of the target path of the pre-derivation process artifacts satisfies the caching requirements of the pre-derivation process artifacts; detecting whether the material in the video editing draft is valid; detecting whether member material is used in the video editing draft; and detecting whether the current account is a member account.
[0102] According to one or more embodiments of the present disclosure, detecting whether the processing capacity of the current device meets the maximum load pressure of the pre-extraction process includes obtaining the maximum resolution of each track in the video editing draft, calculating the sum of the maximum resolutions of each track, determining the sum of the maximum resolutions of each track as the maximum load pressure of the pre-extraction process, obtaining a preset load pressure threshold for the pre-extraction process of the current device, comparing the maximum load pressure of the pre-extraction process with the preset load pressure threshold, and determining that if the maximum load pressure of the pre-extraction process exceeds the preset load pressure threshold, the processing capacity of the current device does not meet the maximum load pressure of the pre-extraction process.
[0103] In a second embodiment, one or more embodiments of the present disclosure provide a video derivation device and include: a pre-derivation unit used to provide a video derivation device that responds to an instruction to jump to a video editing draft derivation interface and derives the video editing draft and generates a first video based on history derivation parameters; a determination unit used to respond to a trigger instruction for a derivation control in the derivation interface and obtain the current derivation parameters in the derivation page; and a derivation unit used to select the first video as a target video derived from the video editing draft if the target derivation parameters in the current derivation parameters match the target derivation parameters in the history derivation parameters.
[0104] According to one or more embodiments of the present disclosure, the derivation unit is used to select the first video as the target video derived from the video editing draft, to continue running the first video derivation process until the execution of the first video derivation process is completed, display derivation progress information, and select the first video as the target video derived from the video editing draft, or, if the execution of the first video derivation process has already been completed, to directly display derivation completion prompt information and select the first video as the target video derived from the video editing draft.
[0105] According to one or more embodiments of the present disclosure, the derivation unit is used to display derivation progress information, to obtain progress information of the derivation process of the first video, to display a derivation progress display interface, and to cause the progress information of the derivation process of the first video to be displayed on the derivation progress display interface.
[0106] According to one or more embodiments of the present disclosure, the pre-derivation unit, when deriving the video editing draft based on the history derivation parameters, is used to create a target folder in the corresponding storage area based on the history derivation path in the history derivation parameters, and to derive the video editing draft into the target folder based on the history derivation parameters; and accordingly, the reuse unit, when adopting the first video as the target video derived from the video editing draft, moves the first video from the target folder to the current derivation path in the current derivation parameters and determines it to be the target video derived from the video editing draft.
[0107] According to one or more embodiments of the present disclosure, the derivation unit is also used to re-derive the video editing draft based on the current derivation parameters if it is determined that the target derivation parameter in the current derivation parameters does not match the target derivation parameter in the history derivation parameters.
[0108] According to one or more embodiments of the present disclosure, after obtaining the current derivation parameters in the derivation page, the derivation unit may also be used to directly re-derive the video editing draft based on the current derivation parameters if it detects a failure in the derivation process of the first video or the deletion of the first video.
[0109] According to one or more embodiments of the present disclosure, after obtaining the current derivation parameters in the derivation page, the derivation unit may also be used to re-derive the video editing draft based on the current derivation parameters if it detects that the current derivation path in the current derivation parameters and the path where the first video resides are not on the same disk partition.
[0110] According to one or more embodiments of the present disclosure, after deriving the video editing draft, and before receiving a trigger command for the derivation control in the derivation interface, the derivation unit may also be used to stop the first video derivation process if it detects a modification of any target derivation parameter in the derivation interface, and to re-derive the video editing draft based on the history derivation parameter and the modified target derivation parameter.
[0111] According to one or more embodiments of the present disclosure, when the pre-derivation unit derives the video editing draft based on the history derivation parameters, it determines, based on a preset detection strategy, whether the current state satisfies a preset derivation activation condition, and if it determines that the current state satisfies the preset derivation activation condition, it is used to derive the video editing draft based on the history derivation parameters.
[0112] According to one or more embodiments of the present disclosure, the pre-export unit includes, based on a pre-configured detection strategy, at least one of the following: detecting whether the execution of a target draft editing algorithm has finished, or whether the processing capacity of the current device meets the maximum load pressure of the pre-export process, or whether it has access rights to the target path of the pre-export process's output, or whether the storage area of the target path of the pre-export process's output meets the caching requirements of the pre-export process's output, or detecting whether the material in the video editing draft is valid, or detecting whether member material is used in the video editing draft, or detecting whether the current account is a member account.
[0113] According to one or more embodiments of the present disclosure, the pre-extraction unit, when detecting whether the processing capacity of the current device meets the maximum load pressure of the pre-extraction process, obtains the maximum resolution of each track in the video editing draft, calculates the sum of the maximum resolutions of each track, determines the sum of the maximum resolutions of each track as the maximum load pressure of the pre-extraction process, obtains a preset load pressure threshold for the pre-extraction process of the current device, compares the maximum load pressure of the pre-extraction process with the preset load pressure threshold, and if the maximum load pressure of the pre-extraction process exceeds the preset load pressure threshold, it is used to determine that the processing capacity of the current device does not meet the maximum load pressure of the pre-extraction process.
[0114] In a third embodiment, one or more embodiments of the present disclosure provide an electronic device comprising at least one processor and memory, wherein the memory stores computer execution instructions, and the at least one processor executes the computer execution instructions stored in the memory, thereby causing the at least one processor to perform a video derivation method described in the first embodiment and various possible designs based on the first embodiment.
[0115] In a fourth embodiment, one or more embodiments of the present disclosure provide a computer-readable storage medium storing computer execution instructions, and when a processor executes the computer execution instructions, it performs a video derivation method described in the first embodiment and various possible designs based on the first embodiment.
[0116] In a fifth embodiment, one or more embodiments of the present disclosure provide a computer program product including computer execution instructions, which, when a processor executes the computer execution instructions, realize a video derivation method described in the first embodiment and various possible designs based on the first embodiment.
[0117] The above description is merely illustrative of preferred embodiments and applicable technical principles of the present disclosure. Those skilled in the art will understand that the scope of the present disclosure is not limited to the technical forms formed by specific combinations of the above-described technical features, but also includes other technical forms formed by any combination of the above-described technical features or equivalent features, without departing from the spirit of the present disclosure. For example, this includes technical forms formed by replacing the above-described features with similarly functional technical features disclosed herein (but not limited to these).
[0118] Furthermore, although each operation is described in a specific order, this should not be interpreted as requiring that the operations be performed in a specific order indicated or in a sequential execution order. Multitasking and parallel processing may be advantageous in certain environments. Similarly, while details of several specific implementations are included in the above discussion, these should not be interpreted as limiting the scope of this disclosure. Certain features described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features described in the context of individual embodiments can also be implemented in multiple embodiments, individually or in any appropriate subcombination.
[0119] While the subject matter of the present invention has been described using language specific to structural features and / or the logical operation of the method, it should be understood that the subject matter limited in the appended claims is not necessarily limited to the specific features or operations described above. Rather, the specific features and operations described above are merely exemplary forms of implementing the claims.
Claims
1. A method for deriving a video, In response to a command to jump to the video editing draft derivation interface, the system derives the video editing draft based on the history derivation parameters and generates a first video. In response to a trigger command of the derivation control within the derivation interface, the current derivation parameter in the derivation page is obtained, A video derivation method comprising: adopting the first video as the target video derived from the video editing draft if the target derivation parameter in the current derivation parameter matches the target derivation parameter in the history derivation parameter.
2. Adopting the first video as the target video derived from the aforementioned video editing draft means that If the first video derivation process is in progress, the first video derivation process will continue to run until the execution of the first video derivation process is completed, the derivation progress information will be displayed, and the first video will be adopted as the target video derived from the video editing draft, or The method according to claim 1, further comprising: when the execution of the first video derivation process is completed, directly displaying derivation completion prompt information and adopting the first video as the target video derived from the video editing draft.
3. Displaying derivation progress information is To obtain progress information of the first video derivation process, The method according to claim 2, comprising displaying a derivation progress display interface and displaying progress information of the derivation process of the first video on the derivation progress display interface.
4. Deriving the video editing draft based on the history derivation parameters is: This includes creating a target folder in the corresponding storage area based on the history derivation path in the history derivation parameters, and deriving the video editing draft into the target folder based on the history derivation parameters. Accordingly, adopting the first video as the target video derived from the video editing draft is: The method according to any one of claims 1 to 3, comprising moving the first video from the target folder to the current derivation path in the current derivation parameters and determining it as the target video derived from the video editing draft.
5. The method according to any one of claims 1 to 3, further comprising re-deriving the video editing draft based on the current derived parameters if it is determined that the target derived parameter in the current derived parameters does not match the target derived parameter in the history derived parameters.
6. After obtaining the current derived parameters within the aforementioned derived page, The method according to any one of claims 1 to 3, further comprising, if a failure in the first video derivation process or deletion of the first video is detected, directly re-deriving the video editing draft based on the current derivation parameters.
7. After obtaining the current derived parameters within the aforementioned derived page, The method according to any one of claims 1 to 3, further comprising, if it is detected that the current derivation path in the current derivation parameters and the path where the first video resides are not located on the same disk partition, directly re-deriving the video editing draft based on the current derivation parameters.
8. After deriving the aforementioned video editing draft, and before receiving a trigger command for the derivation control within the derivation interface, The method according to any one of claims 1 to 3, further comprising detecting a modification of any target derivation parameter in the derivation interface, stopping the first video derivation process, and re-deriving the video editing draft based on the history derivation parameter and the modified target derivation parameter.
9. Deriving the video editing draft based on the history derivation parameters is: Based on a pre-configured detection strategy, it is determined whether the current state satisfies a pre-configured derivation and activation condition. The method according to any one of claims 1 to 3, further comprising: determining that the current state satisfies pre-set derivation activation conditions, deriving the video editing draft based on the history derivation parameters.
10. Determining whether the current state satisfies pre-defined derivation conditions based on pre-defined detection strategies is: To detect whether the target draft editing algorithm has finished running, or To detect whether the processing power of the current device meets the maximum load pressure of the pre-derivation process, or To detect whether the target path of the pre-extraction process's output has access rights, or, To detect whether the storage area of the target path for the pre-extraction process products satisfies the cache requirements for the pre-extraction process products. To detect whether the material in the aforementioned video editing draft is valid or not, The method according to claim 9, comprising detecting whether member material is used in the video editing draft and whether the current account is a member account.
11. Detecting whether the current device's processing power meets the maximum load pressure of the pre-derivation process is, The process involves obtaining the maximum resolution of each track in the aforementioned 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-derivation process. Obtain the pre-configured load pressure threshold for the current device's pre-derivation process, The method according to claim 10, comprising: comparing the maximum load pressure of the pre-derivation process with the preset load pressure threshold, and determining that if the maximum load pressure of the pre-derivation process exceeds the preset load pressure threshold, the processing capacity of the current device does not meet the maximum load pressure of the pre-derivation process.
12. A video output device, A pre-derivation unit used to derive the video editing draft and generate a first video in response to a command to jump to the video editing draft derivation interface, based on history derivation parameters, A determination unit used to obtain the current derived parameter in the derived page in response to a trigger command of the derivation control within the derivation interface, A video derivation device comprising: a reuse unit used to select the first video as a target video derived from the video editing draft when the target derivation parameter in the current derivation parameter matches the target derivation parameter in the history derivation parameter;
13. An electronic device comprising at least one processor and memory, The aforementioned memory stores computer execution instructions, An electronic device wherein the at least one processor executes computer execution instructions stored in the memory, thereby causing the at least one processor to perform the method according to any one of claims 1 to 11.
14. A computer-readable storage medium having computer execution instructions stored therein, wherein a processor executes the computer execution instructions to realize the method according to any one of claims 1 to 11.
15. A computer program product that includes a computer execution instruction, wherein when a processor executes the computer execution instruction, it realizes the method according to any one of claims 1 to 11.