Video processing method and device, and electronic equipment

By obtaining the description file of the video resource being downloaded, creating resource placeholders and editing, the problem of users waiting for the video resource to be prepared is solved, and video editing is carried out in advance, improving user experience.

CN119697402APending Publication Date: 2025-03-25WONDERSHARE TECH (HUNAN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411745594.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-29
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

During the video editing process, users need to wait for the video resource to be downloaded or prepared, resulting in a long wait time for the user and a decrease in user experience.

Method used

By obtaining the description file of the video resource being downloaded, creating a resource placeholder, and adding it to the time track for editing, allowing users to edit and plan the location of the material in advance.

Benefits of technology

You can edit the downloaded video resources in advance without waiting for the video resources to be prepared or downloaded completely, so as to improve the user's efficiency and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119697402A_ABST
    Figure CN119697402A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a video processing method. The video processing method comprises the following steps: acquiring a description file of a video resource being downloaded; creating a resource placeholder through the description file of the video resource; and adding the resource placeholder to a time track for editing operation. According to the video processing method provided by the embodiment of the invention, the video resource which is being downloaded can be edited in advance, so that the use efficiency and the use experience of a user are improved. The embodiment of the invention further provides a video processing device and electronic equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of data processing technology, and in particular, to a video processing method, device, and electronic device. Background Art

[0002] With the rise and popularity of 4K video and HDR technology, the time required for video image resource processing has increased compared to before. In the process of video editing, users often need to download materials from the resource library or wait for generation functions. These operations usually cause users to wait for a long time due to large resources or network delays. During the period when resources are not ready, users cannot operate video resources on the timeline. After waiting for the resources to be prepared, users can continue to edit the corresponding resources. The above situation causes users to wait for a long time, resulting in a poor user experience. Summary of the invention

[0003] In view of the problems existing in the above-mentioned prior art, the embodiments of the present application provide a video processing method, device, and electronic device, which can edit the video resources being downloaded in advance, thereby improving the user's usage efficiency and experience.

[0004] In a first aspect, an embodiment of the present application provides a video processing method, comprising the following steps:

[0005] Get the description file of the video resource being downloaded;

[0006] Creating a resource placeholder through the description file of the video resource; and

[0007] The resource placeholder is added to the time track for editing.

[0008] Furthermore, after the resource placeholder is added to the time track for editing, the method further includes:

[0009] Determine whether the video resource has been downloaded;

[0010] If so, convert the resource placeholder into a normal video resource.

[0011] Furthermore, after converting the resource placeholder into a normal video resource, the method further includes:

[0012] Apply the editing operation of the resource placeholder on the time track to the normal video resource.

[0013] Furthermore, the creating a resource placeholder through the description file of the video resource includes:

[0014] Converting the description file of the video resource into recognizable resource information; and

[0015] The resource placeholder is created using the identifiable resource information.

[0016] Furthermore, after converting the description file of the video resource into identifiable resource information, the method further includes:

[0017] The identifiable resource information is stored.

[0018] Furthermore, before obtaining the description file of the video resource being downloaded, the method further includes:

[0019] Determine whether the video resource has been downloaded;

[0020] If not, obtain the description file of the partial video resources that have completed downloading.

[0021] Furthermore, before obtaining the description file of the video resource being downloaded, it also includes determining whether the video resource has been downloaded;

[0022] If so, the downloaded video resource is added to the time track for editing.

[0023] In a second aspect, an embodiment of the present application further provides a video processing device, including:

[0024] A file acquisition module, used to obtain the description file of the video resource being downloaded;

[0025] A placeholder creation module, used to create a resource placeholder through a description file of the video resource; and

[0026] The editing operation module is used to add the resource placeholder to the time track for editing operation.

[0027] In a third aspect, an embodiment of the present application further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor is configured to implement the video processing method according to the first aspect when executing the program.

[0028] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored, wherein the computer program is used to implement the video processing method according to the first aspect above.

[0029] The embodiments of the present application bring the following beneficial effects:

[0030] In the video processing method provided in the embodiment of the present application, by obtaining the description file of the video resource being downloaded, creating a resource placeholder through the description file, and adding the resource placeholder to the time track for editing operations, the user can edit and plan the location of the material in advance on the time track or timeline. Therefore, the video processing method provided in the embodiment of the present application can edit the video resource being downloaded in advance without waiting for the video resource to be prepared or downloaded completely, thereby improving the user's usage efficiency and usage experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the embodiments of the present application 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 only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying any creative work.

[0032] Figure 1 A schematic diagram of a video processing method according to an embodiment of the present invention;

[0033] Figure 2 A structural block diagram of a video processing device provided in an embodiment of the present application;

[0034] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0035] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0036] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments described in the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.

[0037] In the specification and claims of this application and the above-mentioned drawings, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of this application, unless otherwise specified, "multiple" means two or more. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to the specific circumstances.

[0038] Figure 1 FIG. 1 is a flow chart of a video processing method according to an embodiment of the present application. Figure 1 As shown, the video processing method of the embodiment of the present application includes the following steps:

[0039] S101: Obtain a description file of the video resource being downloaded;

[0040] Currently, before editing a video resource, the video resource needs to be prepared or downloaded completely before the user can add the video resource to the time track for editing. When the video resource is not prepared, the user is in a waiting state and cannot perform any operations on the time track. Only after the video resource is prepared can the user perform subsequent operations on the video resource.

[0041] In the video processing method provided in the embodiment of the present application, the user does not need to wait for the video resources to be prepared or downloaded completely, and can obtain the description files of the video resources being downloaded or partially downloaded.

[0042] S102: Creating a resource placeholder through the description file of the video resource; and

[0043] Specifically, a resource placeholder refers to a symbol that occupies a fixed position and waits for content to be added to it, and is widely used in the editing of various files in a computer. In the video processing method provided in the embodiment of the present application, for a video resource being downloaded or a partially downloaded video resource, its description file can be obtained, and a resource placeholder can be created according to the description file.

[0044] S103: Add the resource placeholder to the time track for editing.

[0045] As described above, once the resource placeholder is created, the resource placeholder can be added to the time track for editing without waiting until the video resource is prepared or downloaded completely.

[0046] Therefore, in the video processing method provided in the embodiment of the present application, by obtaining the description file of the video resource being downloaded, creating a resource placeholder through the description file, and adding the resource placeholder to the time track for editing operations, the user can edit and plan the location of the material in advance on the time track or timeline. Therefore, the video processing method provided in the embodiment of the present application can edit the video resource being downloaded in advance without waiting for the video resource to be prepared or downloaded completely, thereby improving the user's usage efficiency and usage experience.

[0047] Furthermore, in some embodiments of the present application, after the resource placeholder is added to the time track for editing, the method further includes:

[0048] Determine whether the video resource has been downloaded;

[0049] If so, convert the resource placeholder into a normal video resource.

[0050] Specifically, after the resource placeholder is added to the time track for editing, if the video resource has been downloaded, the resource placeholder needs to be converted into a normal video resource to facilitate subsequent editing operations.

[0051] Furthermore, in some embodiments of the present application, after converting the resource placeholder into a normal video resource, the method further includes:

[0052] Apply the editing operation of the resource placeholder on the time track to the normal video resource.

[0053] As described above, after the resource placeholder is added to the time track for editing, if the video resource has been downloaded, the resource placeholder needs to be converted into a normal video resource, and the editing operation of the resource placeholder on the time track is applied to the normal video resource. Therefore, the video processing method provided in the embodiment of the present application does not need to wait until the video resource is prepared or downloaded completely, and can edit the video resource being downloaded in advance, thereby improving the user's usage efficiency and experience.

[0054] Further, in some embodiments of the present application, creating a resource placeholder through the description file of the video resource includes:

[0055] Converting the description file of the video resource into recognizable resource information; and

[0056] The resource placeholder is created using the identifiable resource information.

[0057] As described above, when creating a resource placeholder, it is necessary to convert the description file of the video resource into identifiable resource information, and then create the resource placeholder through the identifiable resource information, so that the user can perform subsequent editing operations.

[0058] Furthermore, in some embodiments of the present application, after converting the description file of the video resource into identifiable resource information, the method further includes:

[0059] The identifiable resource information is stored.

[0060] That is, after converting the above description file into resource information recognizable by the system, it needs to be stored locally, and a resource placeholder is created through the converted resource information and added to the editing track. In this way, there is no need to wait until the video resource is prepared or downloaded completely, and the video resource being downloaded can be edited in advance, thereby improving the user's usage efficiency and experience.

[0061] Furthermore, in some embodiments of the present application, before obtaining the description file of the video resource being downloaded, the method further includes:

[0062] Determine whether the video resource has been downloaded;

[0063] If not, obtain the description file of the partial video resources that have completed downloading.

[0064] That is, before obtaining the description file of the video resource being downloaded, it is necessary to determine in advance whether the video resource has been downloaded. For the video resource being downloaded or the video resource that has been partially downloaded, its description file can be obtained to create a resource placeholder for editing. There is no need to wait until the video resource is prepared or downloaded completely. The video resource being downloaded can be edited in advance, thereby improving the user's usage efficiency and experience.

[0065] Furthermore, in some embodiments of the present application, before obtaining the description file of the video resource being downloaded, the process further includes:

[0066] Determine whether the video resource has been downloaded;

[0067] If so, the downloaded video resource is added to the time track for editing.

[0068] Specifically, before obtaining the description file of the video resource being downloaded, it is necessary to determine in advance whether the video resource has been downloaded. When the video resource has been downloaded, the downloaded video resource is added to the time track for editing, thereby saving editing time and improving editing efficiency and user experience.

[0069] Figure 2 2 is a structural block diagram of a video processing device 200 provided in an embodiment of the present application. Figure 2 As shown, the video processing device 200 of the embodiment of the present application includes: a file acquisition module 210, a placeholder creation module 220 and an editing operation module 230, wherein:

[0070] The file acquisition module 210 is used to acquire the description file of the video resource being downloaded;

[0071] A placeholder creation module 220, configured to create a resource placeholder through a description file of the video resource; and

[0072] The editing operation module 230 is used to add the resource placeholder to the time track for editing operation.

[0073] In the video processing device provided in the embodiment of the present application, by obtaining the description file of the video resource being downloaded, and using the description file, creating a resource placeholder, and adding the resource placeholder to the time track for editing. Therefore, the video processing method provided in the embodiment of the present application can edit the video resource being downloaded in advance without waiting for the video resource to be prepared or downloaded completely, thereby improving the user's usage efficiency and usage experience.

[0074] It should be noted that the specific implementation of the video processing device of the embodiment of the present application is similar to the specific implementation of the video processing method of the embodiment of the present application. Please refer to the description of the method part for details, and no further details will be given here.

[0075] Figure 3 Schematic diagram of the structure of an electronic device 300 according to an embodiment of the present application.

[0076] like Figure 3 As shown, the electronic device 300 includes a central processing unit (CPU) 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 302 or a program loaded from the storage part 302 to a random access memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the electronic device 300 are also stored. The CPU 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.

[0077] The following components are connected to the I / O interface 305: an input section 306 including a keyboard, a mouse, etc.; an output section 307 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 308 including a hard disk, etc.; and a communication section 309 including a network interface card such as a LAN card, a modem, etc. The communication section 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to the I / O interface 305 as needed. A removable medium 311, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 310 as needed, so that a computer program read therefrom is installed into the storage section 308 as needed.

[0078] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a machine-readable medium, and the computer program includes a 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 section 309, and / or installed from a removable medium 311. When the computer program is executed by a central processing unit (CPU) 301, the above-mentioned functions defined in the electronic device of the present application are executed.

[0079] It should be noted that the computer-readable medium shown in the present application 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 electronic device, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, 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.

[0080] In the present application, 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-executing electronic device, apparatus, or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A 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 combination with an instruction-executing electronic device, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0081] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the processing receiving device, method and computer program product according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the aforementioned module, 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 alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two 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 box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based electronic device that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0082] The units or modules involved in the embodiments of the present application may be implemented by software or hardware. The units or modules described may also be set in a processor, and the processor is used to implement the video processing method when executing the program:

[0083] Get the description file of the video resource being downloaded;

[0084] Creating a resource placeholder through the description file of the video resource; and

[0085] The resource placeholder is added to the time track for editing.

[0086] As another aspect, the present application further provides a computer-readable storage medium, which may be included in the electronic device described in the above embodiment; or may exist independently and not be assembled into the electronic device. The above computer-readable storage medium stores one or more programs, and when the above programs are used by one or more processors to execute the video processing method described in the present application:

[0087] Get the description file of the video resource being downloaded;

[0088] Creating a resource placeholder through the description file of the video resource; and

[0089] The resource placeholder is added to the time track for editing.

[0090] As another aspect, the present application further provides a computer program product, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer program product stores one or more programs, and when the above programs are used by one or more processors to execute the video processing method described in the present application:

[0091] Get the description file of the video resource being downloaded;

[0092] Creating a resource placeholder through the description file of the video resource; and

[0093] The resource placeholder is added to the time track for editing.

[0094] The above description is only a preferred embodiment of the present application, and does not limit the patent scope of the present application. All equivalent structural changes made by using the contents of the present application specification and drawings under the application concept of the present application, or directly / indirectly used in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A video processing method, characterized in that: The following steps are involved: Get the description file of the video resource being downloaded; Creating a resource placeholder through the description file of the video resource; and The resource placeholder is added to the time track for editing.

2. The video processing method according to claim 1, characterized in that: After the resource placeholder is added to the time track for editing, the method further includes: Determine whether the video resource has been downloaded; If so, convert the resource placeholder into a normal video resource.

3. The video processing method according to claim 2, characterized in that: After converting the resource placeholder into a normal video resource, the method further includes: Apply the editing operation of the resource placeholder on the time track to the normal video resource.

4. The video processing method according to claim 1, characterized in that: The step of creating a resource placeholder through the description file of the video resource includes: Converting the description file of the video resource into recognizable resource information; and The resource placeholder is created using the identifiable resource information.

5. The video processing method according to claim 4, characterized in that: After converting the description file of the video resource into identifiable resource information, the method further includes: The identifiable resource information is stored.

6. The video processing method according to claim 1, characterized in that: Before obtaining the description file of the video resource being downloaded, the method further includes: Determine whether the video resource has been downloaded; If not, obtain the description file of the partial video resources that have completed downloading.

7. The video processing method according to claim 6, characterized in that: Before obtaining the description file of the video resource being downloaded, the method also includes: Determine whether the video resource has been downloaded; If so, the downloaded video resource is added to the time track for editing.

8. A video processing device, characterized in that: include: A file acquisition module, used to obtain the description file of the video resource being downloaded; A placeholder creation module, used to create a resource placeholder through a description file of the video resource; and The editing operation module is used to add the resource placeholder to the time track for editing operation.

9. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor is configured to implement the video processing method according to any one of claims 1 to 7 when executing the program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is used to implement the video processing method according to any one of claims 1-7.