Video clipping method and apparatus, and device and storage medium
By obtaining user request information in the video editing interface and analyzing video editing instructions, and directly performing video editing operations, the problem of cumbersome video editing process in the existing technology is solved, and operation simplification and rapid function positioning is achieved.
Patent Information
- Application Number
- PCT/CN2024/111533
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-08-17
- Filing Date
- 2024-08-12
- Publication Date
- 2025-02-20
AI Technical Summary
The existing video editing process is cumbersome, and users need to click multiple times, and the video editing functions are diverse, making it difficult for users to quickly find the appropriate editing function.
Get the request information entered by the user in the video clip interface, parse the video clip instructions, and perform video clip operations to display the clip effect.
Reduces click operations during video editing, simplifies the process, and facilitates users to quickly locate the most suitable editing functions.
Smart Images

Figure CN2024111533_20022025_PF_FP_ABST
Abstract
Description
Video editing method, device, equipment and storage medium
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to the Chinese invention patent application with application number 202311040684.3, entitled “A video editing method, device, equipment and storage medium” and filing date August 17, 2023, and the entire application is incorporated herein by reference. Technical Field
[0003] The present disclosure relates to the field of video processing technology, and in particular to a video editing method, apparatus, device, and storage medium. Background Art
[0004] With the development of Internet technology and terminal technology, more and more people need to make and publish videos. At present, the commonly used video making method is that in a video editing application, the user clicks a video editing control to implement the video editing operation.
[0005] However, the process of video editing is cumbersome, requiring users to click multiple times and the operation process is cumbersome. At the same time, there are many video editing functions, making it difficult for users to find the most suitable editing function.
[0006] Summary of the Invention
[0007] In order to solve the above technical problems, the embodiments of the present disclosure provide a video editing method, apparatus, device and storage medium to reduce click operations during video editing, simplify the video editing process, and facilitate users to quickly locate the most appropriate editing function.
[0008] In a first aspect, an embodiment of the present disclosure provides a video editing method, comprising: obtaining request information input by a user in a video editing interface; performing a video editing operation in response to a video editing instruction obtained by parsing the request information; and displaying an editing effect corresponding to the video editing operation in the video editing interface.
[0009] In a second aspect, an embodiment of the present disclosure provides a video editing device, comprising: a voice acquisition module for acquiring request information input by a user in a video editing interface; a video editing module for performing a video editing operation in response to a video editing instruction obtained by parsing the request information; and a video display module for displaying the editing effect corresponding to the video editing operation in the video editing interface.
[0010] In a third aspect, an embodiment of the present disclosure provides an electronic device, the electronic device comprising:
[0011] one or more processors;
[0012] a storage device for storing one or more programs;
[0013] When the one or more programs are executed by the one or more processors, the one or more processors implement the video editing method as described in any one of the first aspects above.
[0014] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the video editing method as described in any one of the first aspects above. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The above and other features, advantages, and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that the originals and elements are not necessarily drawn to scale.
[0016] FIG1 is a flow chart of a video editing method according to an embodiment of the present disclosure;
[0017] FIG2 is a flow chart of another video editing method in an embodiment of the present disclosure;
[0018] FIG3 is a method for determining a video editing instruction in an embodiment of the present disclosure;
[0019] FIG4 is a schematic structural diagram of a video editing device according to an embodiment of the present disclosure;
[0020] FIG5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0021] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.
[0022] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0023] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to." The term "based on" means "based, at least in part, on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one additional embodiment," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.
[0024] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules, or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules, or units. The modifications of "one" and "plurality" mentioned in this disclosure are illustrative and not restrictive. Those skilled in the art should understand that unless the context clearly indicates otherwise, they should be understood to mean "one or more."
[0025] With the development of internet and terminal technologies, more and more people need to create and publish videos. Consequently, many video editing applications have emerged and are widely used. In these video editing applications, the common editing method is to display video editing tracks, video clips, and controls for clipping in the video editing interface. In the video editing interface, users can click on the video editing tracks, video clips, or clipping controls to perform the corresponding video editing.
[0026] In a real-world application scenario, if a user wants to add a dynamic sticker between the 3rd and 8th seconds of a video, they need to select the timeline in the video editing track and drag the dynamic sticker they want to add onto the timeline or onto the video preview canvas. They can then configure the dynamic sticker's effects using the corresponding settings controls, such as its entry time, entry method, exit time, exit method, display position in the video, display transparency, and other display effects.
[0027] In another actual application scenario, if the user wants to make a video related to the input text information, the user enters the text information in the video editing interface, clicks the text-video generation control in the video editing interface, and then generates a video related to the text information based on the input text information.
[0028] In the above application scenarios, users are required to frequently click on the controls in the video editing interface. The entire operation process is complicated and not conducive to user operation, especially for users who use the video editing interface for the first time or are unfamiliar with video editing. It is very difficult to find the desired controls among the many editing controls and click them in the correct order. In other words, due to the large number of video editing functions, it is difficult for users to find the most suitable editing function in a short time.
[0029] To address the above technical issues, embodiments of the present disclosure provide a video editing method, apparatus, device, storage medium, and program product. The video editing method includes: obtaining user input request information in a video editing interface; performing a video editing operation in response to a video editing instruction obtained by parsing the request information; and displaying the editing effect corresponding to the video editing operation in the video editing interface.
[0030] In the disclosed embodiment, the video editing operation is performed by inputting request information in the video editing interface and utilizing the video editing instructions parsed from the request information. This enables video editing to be performed as long as the user inputs the request information, reduces the user's click operations on controls during the video editing process, simplifies the video editing process, and facilitates users to quickly locate the most appropriate editing function. It also has low requirements for users and is convenient for user operation.
[0031] Figure 1 is a flowchart of a video editing method in an embodiment of the present disclosure. This embodiment is applicable to situations where videos are edited. The method can be executed by a video editing device, which can be implemented in software and / or hardware. The video editing device can be configured in an electronic device.
[0032] As shown in FIG1 , the video editing method provided by the embodiment of the present disclosure mainly includes steps S101 - S103 .
[0033] S101: Obtain request information input by a user in a video editing interface.
[0034] In the embodiment of the present disclosure, the request information can be understood as information input by the user in the video editing interface for video editing, wherein the request information can be voice information or text information, which is no longer specifically limited in the implementation of the present disclosure.
[0035] In one embodiment of the present disclosure, when the requested information is voice information, the video editing method is performed by an electronic device equipped with a voice acquisition device. The electronic device may be a smart mobile terminal, a smart wearable device, a laptop computer, a desktop computer, a tablet computer, or the like. The electronic device may be equipped with a voice acquisition device, which may be a built-in voice acquisition device in the electronic device, such as a built-in microphone in the electronic device; or a voice acquisition device that establishes a communication connection with the electronic device, such as a microphone connected to the electronic device by a wire, or a microphone connected to the electronic device by a wireless link, etc.
[0036] In one embodiment of the present disclosure, when the request information is text information, an input box is provided in the video editing interface, and the user can input the text information in the input box.
[0037] In an embodiment of the present disclosure, the electronic device is installed with video editing software, or a video editing client can be opened via a web page. Both the video editing software and the web version of the video editing client can perform video editing according to the video editing instructions input by the user. Furthermore, in response to receiving the video editing software start instruction, the video editing software is opened and a video editing interface is displayed on the display screen of the electronic device. Furthermore, the video editing interface can be the homepage of the video editing software, or a sub-interface corresponding to a certain editing function in the video editing software.
[0038] In one embodiment of the present disclosure, a voice editing control is provided in the video editing software, wherein the voice editing control is used to enable the function of editing the video with voice in response to a trigger operation of the user.
[0039] In one embodiment of the present disclosure, the voice editing control may be a switch control in the settings. When the user triggers the voice editing control, the function of video editing using voice is enabled, that is, every request information uttered by the user is subsequently collected. When the user triggers the voice editing control again, the function of video editing using voice is disabled, that is, the collection of user request information is subsequently stopped.
[0040] In another embodiment of the present disclosure, an input box is provided in a video editing interface, and a voice collection control is provided in the input box. When a user performs a long press operation on the voice collection control, the user's input voice information is collected. When the user stops performing the long press operation on the voice collection control, the user's input voice information collection stops.
[0041] In one embodiment of the present disclosure, the function of using the request information to edit the video is enabled before the video editing operation begins, or the function of using the request information to edit the video is enabled during the video editing operation.
[0042] S102: Perform a video editing operation in response to a video editing instruction obtained by parsing the request information.
[0043] In the embodiment of the present disclosure, the video editing instruction refers to an instruction for performing video editing operations. For example, the video editing instruction may be an instruction for adding video material to a video draft, or an instruction for automatically generating a video draft based on existing video material.
[0044] In the embodiment of the present disclosure, the request information is parsed to obtain the video editing instructions contained in the request information, and the video is edited based on the video editing instructions.
[0045] In one embodiment of the present disclosure, before performing the video editing operation in response to the video editing instruction obtained by parsing the request information, it also includes: determining whether the intent included in the request information is the target intent; if the intent included in the request information is the target intent, generating a video editing instruction based on the target intent.
[0046] The target intent refers to an intent related to video editing, for example, it may be to generate a video template, to generate a video based on input text, to replace the background color of an existing video draft with black, to add a sticker, and so on.
[0047] In an embodiment of the present disclosure, after receiving the request information input by the user, the request information is parsed to find out the intent included in the request information, and it is determined whether the intent included in the request information is an intent related to video editing. If the intent included in the request information is an intent related to video editing, a video editing instruction is generated based on the intent included in the request information.
[0048] In one embodiment of the present disclosure, intent recognition is primarily used to distinguish and locate specific primary editing intents and potential secondary editing intents. In this embodiment, the intent recognition scheme employed includes, but is not limited to: supervised training using a language model for intent recognition and slot extraction; intent recognition based on the language understanding capabilities of a large language model, and classification using pre-set cluster centers.
[0049] In one embodiment of the present disclosure, after determining whether the intent included in the request information is the target intent, the method further includes: if the intent included in the request information is not the target intent, generating a prompt message, wherein the prompt message is used to instruct the user to input request information related to the video clip.
[0050] In an embodiment of the present disclosure, if the intent included in the request information is not an intent related to video editing, prompt information is generated and displayed to prompt the user to input request information related to editing.
[0051] The above prompt information can be displayed in any form such as voice, text, etc., which is not specifically limited in the embodiments of the present disclosure.
[0052] S103: Displaying the editing effect corresponding to the video editing operation in the video editing interface.
[0053] In one embodiment of the present disclosure, the editing effect corresponding to the video editing operation is displayed in the video preview area of the video editing interface. For example, if the video editing operation is to generate a video draft, the video draft is imported into the corresponding video editing track, and the video screen corresponding to the video draft is displayed in the video preview area. In another possible embodiment, if the video editing operation is to edit the generated video draft, the editing information corresponding to the video editing operation is updated in the video editing track, and the corresponding editing effect is displayed in the corresponding video screen.
[0054] Based on the above embodiments, the present disclosure provides an optimized video editing method. As shown in FIG2 , the optimized video editing method includes the following steps:
[0055] S201: Obtaining first-round request information input by a user in a video editing interface.
[0056] In one embodiment of the present disclosure, the first round of request information can be understood as the request information entered for the first time during the video editing process after the user starts the video editing interface and before performing any video editing operations. Furthermore, the first round of request information is used to indicate how to generate a video draft during the video editing process.
[0057] In one embodiment of the present disclosure, upon receiving a first round of request information input by a user, it is necessary to determine whether the intent included in the first round of request information is an intent related to video clipping. If the intent included in the first round of request information is an intent related to video clipping, step S202 and subsequent steps are executed. If the intent included in the first round of request information is not an intent related to video clipping, a prompt message is generated to prompt the user to enter an intent related to video clipping.
[0058] S202: Generate a video draft in response to the first-level editing instruction obtained by parsing the first-round request information.
[0059] In the disclosed embodiments, a first-level editing instruction can be understood as an editing instruction for generating a video draft when there is no video draft in the video editing interface. For example, the first-level editing instruction can be an instruction for generating a video based on input text information or an instruction for generating a video based on input image material.
[0060] In one embodiment of the present disclosure, based on the first-level editing instruction, a video related to the first-level editing instruction is obtained from a video library as a video draft.
[0061] In the disclosed embodiment, if the user does not provide any video material and the first-level editing instruction indicates that a video template should be provided, a video template associated with the first-level editing instruction is selected from the video library. For example, if the user enters the first-round request information for a food-related video template, a food-related video template is selected from the video library as the video draft.
[0062] In one embodiment of the present disclosure, video material is acquired, and a video draft is generated based on the first-level editing instruction and the video material, where the video material includes one or more of the following: video, picture, and text.
[0063] In the disclosed embodiment, if a user inputs video material, a video draft is generated based on the primary editing instructions and the video material. For example, if the video material is text information, a video draft is generated based on the text information. If the video material is an image, a video draft is generated based on the input image.
[0064] S203: Display the video screen corresponding to the video draft in the video editing interface.
[0065] In the disclosed embodiment, the video screen corresponding to the video draft generated in step S202 is displayed in the video preview area in the video editing interface, and the track corresponding to the video draft is filled into the track editor of the video editing.
[0066] S204: Obtain second-round request information input by the user in the video editing interface.
[0067] In the disclosed embodiment, the second round request information can be understood as a request information for editing an existing video draft. Further, in a video editing process, the user can input multiple second round request information, and the multiple second round request information corresponds to different secondary editing instructions.
[0068] In one embodiment of the present disclosure, upon receiving a second round of request information input by a user, it is necessary to determine whether the intent included in the second round of request information is an intent related to video clipping. If the intent included in the second round of request information is an intent related to video clipping, step S204 and subsequent steps are executed. If the intent included in the second round of request information is not an intent related to video clipping, a prompt message is generated to prompt the user to enter an intent related to video clipping.
[0069] S205 . In response to the secondary editing instruction obtained by parsing the second-round request information, edit the generated video draft.
[0070] In the disclosed embodiment, the secondary editing instruction can be understood as an instruction for editing an existing video draft in the video editing interface. For example, the secondary editing instruction can be an instruction to change the background color, change the background music, add a sticker, etc.
[0071] In one embodiment of the present disclosure, the existing video draft is further edited based on the secondary editing instruction.
[0072] S206: Display the editing effect corresponding to the secondary editing instruction in the video editing interface.
[0073] In the disclosed embodiment, if the secondary editing instruction is to add a sticker, a sticker is added to the preview screen in the video editing interface, and the sticker clip is added to the corresponding sticker track. If the secondary editing instruction is to add background music, a track corresponding to the background music is added in the video editor of the video editing interface, and the background music is added to the background music track.
[0074] It should be noted that, in the video editing process, the above steps S204-S206 can be executed multiple times according to the needs of the user.
[0075] In the disclosed embodiment, a video draft is generated through a first round of request information, and the existing video draft is edited through multiple second rounds of request information, ultimately achieving the editing result desired by the user.
[0076] Based on the above embodiments, the present disclosure provides a method for determining a video editing instruction. As shown in FIG3 , the method for determining a video editing instruction provided by the present disclosure mainly includes the following steps:
[0077] S301: Acquire operation information related to video clipping.
[0078] In the embodiment of the present disclosure, the operation information refers to the editing functions that can be implemented in the video editing platform. The operation information can be obtained by querying the configuration items of the video editing platform to obtain the operation information related to video editing.
[0079] S302: Based on the similarity between the target intention and the operation information, filter out the operation information related to the target intention.
[0080] In an embodiment of the present disclosure, the similarity between the target intention and the operation information is calculated, and the operation information is sorted according to the similarity of the operation information, and the operation information ranked first by a preset number is regarded as the operation information related to the target intention.
[0081] S303: Acquire the editing instruction corresponding to the operation information as a preset editing instruction library.
[0082] In the embodiment of the present disclosure, editing instructions corresponding to operation information related to the target intention are obtained from the editing instruction library of the video editing platform as a preset editing instruction library.
[0083] In the embodiment of the present disclosure, after the editing instructions are filtered out through the operation information, the retrieval amount of instructions can be further reduced.
[0084] S304: Query a preset editing instruction library to obtain an initial editing instruction corresponding to the target intention.
[0085] In the embodiment of the present disclosure, the preset editing instruction library stores the correspondence between intent and editing instruction. According to the target intent, the preset editing instruction library is searched to obtain the initial editing instruction corresponding to the target intent.
[0086] In one embodiment of the present disclosure, a pre-trained model can be used to screen initial instructions. For video editing scenarios, the training method of the face recognition model can be referred to to fine-tune the instruction comparison model to better retrieve intentions with higher similarity.
[0087] S305: Extract target editing parameters corresponding to the initial editing instruction from the target intent.
[0088] In the embodiment of the present disclosure, the parameters in the execution code implicit in the target intent are extracted. For example, if the target intent is "add a funny sticker", and the initial editing instruction is the existing "add a cute sticker"->addSticker({keyword:'cute'}), the slot extraction model will extract the "funny" parameter.
[0089] S306: Replace the initial editing parameters in the initial editing instruction with the target editing parameters to obtain a video editing instruction.
[0090] In the embodiment of the present disclosure, the slot extraction model will extract the parameter of "funny", use "funny" to replace "cute" in the initial editing instruction, and finally reconstruct the code of addSticker({keyword:'funny'}), which is the video editing instruction.
[0091] It should be noted that the generation method of the first-level editing instruction and the generation method of the second-level editing instruction both adopt the above-mentioned instruction generation method, which will not be described in detail in the embodiment of the present disclosure.
[0092] FIG4 is a structural diagram of a video editing device in an embodiment of the present disclosure. As shown in FIG4 , the video editing device 40 provided in the embodiment of the present disclosure mainly includes: a voice acquisition module 42 , a video editing module 42 and a video display module 43 .
[0093] Among them, the voice acquisition module 41 is used to obtain the request information input by the user in the video editing interface; the video editing module 42 is used to perform video editing operations in response to the video editing instructions obtained by parsing the request information; the video display module 43 is used to display the editing effects corresponding to the video editing operations in the video editing interface.
[0094] In one embodiment of the present disclosure, the request information includes first-round request information, and the video editing module 42 is specifically configured to generate a video draft in response to a first-level editing instruction obtained by parsing the first-round request information.
[0095] In one embodiment of the present disclosure, the request information includes at least one second-round request information, and the video editing module 42 is specifically used to generate a video draft in response to the first-level editing instruction obtained by parsing the first-round request information, and then edit the generated video draft in response to the second-level editing instruction obtained by parsing at least one second-round request information.
[0096] In one embodiment of the present disclosure, the device also includes: a target intention judgment module, which is used to respond to the video editing instruction obtained by parsing the request information and, before performing the video editing operation, determine whether the intention included in the request information is the target intention, wherein the target intention refers to the intention related to video editing; and an editing instruction generation module, which is used to generate a video editing instruction based on the target intention if the intention included in the request information is the target intention.
[0097] In one embodiment of the present disclosure, the device also includes a prompt information generation module, which is used to determine whether the intent included in the request information is the target intent, and if the intent included in the request information is not the target intent, generate a prompt information, wherein the prompt information is used to instruct the user to input request information related to the video clip.
[0098] In one embodiment of the present disclosure, the video editing module is specifically used to obtain a video related to the first-level editing instruction from a video library as a video draft based on the first-level editing instruction; or, obtain video material, and generate a video draft based on the first-level editing instruction and the video material, wherein the video material includes one or more of the following combinations: video, picture, text.
[0099] In one embodiment of the present disclosure, the editing instruction generation module includes: an initial editing instruction query unit, which is used to query the initial editing instruction corresponding to the target intention in the preset editing instruction library; a target editing parameter extraction unit, which is used to extract the target editing parameters corresponding to the initial editing instruction from the target intention; and an editing instruction determination unit, which is used to replace the initial editing parameters in the initial editing instruction with the target editing parameters to obtain a video editing instruction.
[0100] In one embodiment of the present disclosure, the editing instruction generation module also includes: an operation information acquisition unit, which is used to obtain operation information related to video editing before querying the initial editing instruction corresponding to the target intention in the editing instruction library; an operation information screening unit, which is used to screen out operation information related to the target intention based on the similarity between the target intention and the operation information; and an instruction library determination unit, which is used to obtain the editing instruction corresponding to the operation information as a preset editing instruction library.
[0101] The video editing device provided in the embodiment of the present disclosure can execute the steps executed in the video editing method provided in the embodiment of the method of the present disclosure, and the execution steps and beneficial effects are not repeated here.
[0102] Figure 5 is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. With specific reference below, Figure 5 illustrates a schematic diagram of the structure of an electronic device 500 suitable for implementing the embodiments of the present disclosure. The electronic device 500 according to the embodiments of the present disclosure may include, but is not limited to, a supercomputer. The electronic device shown in Figure 5 is merely an example and should not limit the functionality or scope of use of the embodiments of the present disclosure.
[0103] As shown in Figure 5, the electronic device 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes to implement the video editing method of the embodiment described in the present disclosure according to the program stored in the read-only memory (ROM) 502 or the program loaded from the storage device 508 into the random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the terminal device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0104] Typically, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the terminal device 500 to communicate with other devices wirelessly or by wire to exchange data. Although FIG. 5 illustrates the terminal device 500 with various devices, it should be understood that not all of the illustrated devices are required to be implemented or present. More or fewer devices may alternatively be implemented or present.
[0105] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart, thereby implementing the video editing method as described above. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 509, or installed from the storage device 508, or installed from the ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
[0106] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal 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 that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.
[0107] In some embodiments, the client and server can communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0108] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0109] In a possible implementation of the present disclosure, the computer-readable medium carries one or more programs. When the one or more programs are executed by the terminal device, the terminal device can implement the video editing method described in any one of the above embodiments.
[0110] In a possible implementation of the present disclosure, when the above one or more programs are executed by the terminal device, the terminal device may also execute other steps described in the above embodiment.
[0111] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including but not limited to object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0112] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of 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 than that 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 system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0113] The units involved in the embodiments described in this disclosure may be implemented in software or hardware, wherein the name of a unit does not necessarily limit the unit itself.
[0114] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0115] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0116] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.
[0117] In addition, although each operation is described in a specific order, this should not be required to require these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details have been included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0118] Although the subject matter has been described in terms of structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.
Claims
1. A video editing method, comprising: Obtaining request information input by the user in the video editing interface; In response to the video editing instruction obtained by parsing the request information, performing a video editing operation; The editing effect corresponding to the video editing operation is displayed in the video editing interface.
2. The video editing method according to claim 1, wherein: The request information includes first round request information, and the video clipping operation is performed in response to the video clipping instruction obtained by parsing the request information, including: In response to the first-level editing instruction obtained by parsing the first round of request information, a video draft is generated.
3. The video editing method according to claim 2, wherein: The request information includes at least one second round request information. After generating a video draft in response to the primary editing instruction included in the first round request information, the method further includes: In response to the secondary editing instruction obtained by parsing at least one of the second-round request information, the generated video draft is edited.
4. The video editing method according to claim 1, wherein: Before performing the video editing operation in response to the video editing instruction obtained by parsing the request information, the method further includes: Determining whether the intent included in the request information is a target intent, wherein the target intent refers to an intent related to video clipping; If the intent included in the request information is a target intent, a video clip instruction is generated based on the target intent.
5. The video editing method according to claim 4, wherein: After determining whether the intent included in the request information is the target intent, the method further includes: If the intent included in the request information is not the target intent, prompt information is generated, wherein the prompt information is used to instruct the user to input request information related to the video clip.
6. The video editing method according to claim 4, wherein: The step of generating a video draft based on the first-level editing instruction includes: Based on the first-level editing instruction, a video related to the first-level editing instruction is obtained from a video library as a video draft; or, Video material is obtained, and a video draft is generated based on the first-level editing instruction and the video material, wherein the video material includes one or more of the following combinations: video, picture, and text.
7. The video editing method according to claim 4, wherein: The generating of the video clip instruction based on the target intention comprises: Querying a preset editing instruction library for an initial editing instruction corresponding to the target intention; Extracting target clipping parameters corresponding to the initial clipping instruction from the target intention; The target editing parameters replace the initial editing parameters in the initial editing instruction to obtain a video editing instruction.
8. The video editing method according to claim 7, wherein: Before searching for an initial editing instruction corresponding to the target intention in a preset editing instruction library, the method further includes: Get operation information related to video clipping; Based on the similarity between the target intention and the operation information, filtering out the operation information related to the target intention; The editing instruction corresponding to the operation information is obtained as a preset editing instruction library.
9. A video editing device, comprising: A voice acquisition module is used to obtain the request information input by the user in the video editing interface; A video editing module, configured to perform a video editing operation in response to a video editing instruction obtained by parsing the request information; The video display module is used to display the editing effect corresponding to the video editing operation in the video editing interface.
10. An electronic device, comprising: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the video editing method according to any one of claims 1 to 8.
11. A computer-readable storage medium having a computer program stored thereon, wherein: When the program is executed by a processor, the video editing method according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Video production method, device and equipment and storage medium
CN111935504A
Video editing method and device
CN112887794A
Video processing method and device and storage medium
CN114866805A
Video editing method and device, computer equipment and storage medium
CN115120968A
Touch optimized design for video editing
US20140355960A1