Video editing method and device, equipment and storage medium
By obtaining and parsing user request information in the video editing interface and automatically performing video editing operations, the operation problems caused by the cumbersome video editing process and diverse functions are solved, and a simpler and more efficient video editing process is achieved.
Patent Information
- Application Number
- CN202311040684.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-17
- Publication Date
- 2025-02-21
AI Technical Summary
The 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 editing interface, parse the video editing instructions, perform video editing operations, and display the editing effect in the interface.
It reduces the user's click operation during video editing, simplifies the process, facilitates users to quickly locate the most appropriate editing function, and reduces the difficulty of operation.
Smart Images

Figure CN119496923A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of video processing technology, and in particular to a video editing method, device, equipment and storage medium. Background Art
[0002] 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.
[0003] However, the process of video editing is cumbersome, users need to click multiple times, and the operation process is cumbersome. At the same time, there are many video editing functions, and it is difficult for users to find the most suitable editing function. Summary of the invention
[0004] 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 suitable editing function.
[0005] 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.
[0006] In a second aspect, an embodiment of the present disclosure provides a video editing device, comprising: a voice acquisition module, used to obtain request information input by a user in a video editing interface; a video editing module, used to perform a video editing operation in response to a video editing instruction obtained by parsing the request information; and a video display module, used to display the editing effect corresponding to the video editing operation in the video editing interface.
[0007] In a third aspect, an embodiment of the present disclosure provides an electronic device, the electronic device comprising:
[0008] one or more processors;
[0009] A storage device for storing one or more programs;
[0010] 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.
[0011] 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 above-mentioned first aspects.
[0012] The disclosed embodiments provide a video editing method, apparatus, device and storage medium, the 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 the editing effect corresponding to the video editing operation in the video editing interface. The disclosed embodiments input request information in a video editing interface and perform a video editing operation using the video editing instruction parsed from the request information, thereby achieving video editing as long as the user inputs the request information, reducing the user's click operation on controls during the video editing process, simplifying the video editing process, facilitating the user to quickly locate the most appropriate editing function, and having low requirements for the user, making it convenient for the user to operate. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0014] Figure 1 is a flowchart of a video editing method in an embodiment of the present disclosure;
[0015] Figure 2 is a flowchart of another video editing method in an embodiment of the present disclosure;
[0016] Figure 3 A method for determining a video editing instruction in an embodiment of the present disclosure;
[0017] Figure 4 is a structural schematic diagram of a video editing device in an embodiment of the present disclosure;
[0018] Figure 5 It is a structural schematic diagram of an electronic device in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0019] Embodiments of the present disclosure will be described in more detail below 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 being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0020] 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.
[0021] The term "including" and its variations used herein are open inclusions, 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"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0022] It should be noted that the concepts of "first", "second", etc. mentioned in the present 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 "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".
[0023] With the development of Internet technology and terminal technology, more and more people need to make and publish videos. As a result, many video editing applications have emerged and are widely used. In related video editing applications, the commonly used editing method is: displaying video editing tracks, video materials and controls for material editing in the video editing interface. In the video editing interface, users can click on the video editing track, video materials or material editing controls to achieve the corresponding video editing.
[0024] In an actual application scenario, if the user wants to add a dynamic sticker between the 3rd and 8th seconds of a video, the user needs to select the timeline in the video editing track, and then drag the dynamic sticker to be added to the timeline, or drag it to the video preview canvas. Then, according to the setting controls corresponding to the dynamic sticker, set the effect of the dynamic sticker, for example: set the dynamic sticker's entry time, entry method, exit time, exit method, display position in the video screen, display transparency, and other display effects.
[0025] 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.
[0026] 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.
[0027] In order to solve the above technical problems, the embodiments of the present disclosure provide a video editing method, device, equipment, storage medium and program product. The video editing method includes: 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 the editing effect corresponding to the video editing operation in the video editing interface.
[0028] 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 number of clicks on controls by the user 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.
[0029] Figure 1 This is a flowchart of a video editing method in an embodiment of the present disclosure. This embodiment is applicable to the situation of editing videos. The method can be executed by a video editing device. The video editing device can be implemented in software and / or hardware. The video editing device can be configured in an electronic device.
[0030] like Figure 1 As shown, the video editing method provided by the embodiment of the present disclosure mainly includes steps S101-S103.
[0031] S101: Obtain request information input by a user in a video editing interface.
[0032] 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 not specifically limited in the implementation of the present disclosure.
[0033] In one embodiment of the present disclosure, when the request 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, etc. The electronic device may be equipped with a voice acquisition device, which may be a voice acquisition device built into the electronic device, such as a built-in microphone of the electronic device; the voice acquisition device may also be a voice acquisition device that establishes a communication connection with the electronic device, such as a microphone that is wired to the electronic device, a microphone that is wirelessly linked to the electronic device, etc.
[0034] 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.
[0035] In the disclosed embodiment, the electronic device is installed with video editing software, or a video editing client can be opened in the form of a web page, and 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. Further, 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. Further, the video editing interface can be the homepage of the video editing software, or it can be a sub-interface corresponding to a certain editing function in the video editing software.
[0036] 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.
[0037] In one embodiment of the present disclosure, the voice clipping control may be a switch control in the setting items, and after the user triggers the voice clipping control, the function of video clipping by voice is turned on, that is, in the subsequent process, every request information spoken by the user is collected. After the user triggers the voice clipping control again, the function of video clipping by voice is turned off, that is, in the subsequent process, the collection of user request information is stopped.
[0038] In another embodiment of the present disclosure, an input box is set in the video editing interface, and a voice collection control is set in the input box. When the user performs a long press operation on the voice collection control, the voice information input by the user is collected. After the user stops performing the long press operation on the voice collection control, the voice information input by the user stops being collected.
[0039] In one embodiment of the present disclosure, the function of using request information to edit a video is enabled before the video editing operation begins, and the function of using request information to edit a video can also be enabled during the video editing operation. Specific limitations are made in the embodiments of the present disclosure.
[0040] S102: Perform a video editing operation in response to a video editing instruction obtained by parsing the request information.
[0041] In the disclosed embodiment, the video editing instruction refers to an instruction for performing an editing operation on a video. For example, the video editing instruction may be an instruction for adding video material to a video draft. The video editing instruction may be an instruction for automatically generating a video draft based on existing video material.
[0042] In the disclosed embodiment, the request information is parsed to obtain the video editing instruction contained in the request information, and the video is edited based on the video editing instruction.
[0043] In one embodiment of the present disclosure, the video editing instruction obtained in response to the parsing of the request information, before performing the video editing operation, 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 the video editing instruction based on the target intent.
[0044] 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.
[0045] 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.
[0046] In one embodiment of the present disclosure, intent recognition is mainly used to distinguish and locate specific primary editing intents and potential secondary editing intents. In the embodiment of the present disclosure, the intent recognition scheme includes but is not limited to: supervised training of intent recognition and slot extraction using a language model; intent recognition based on the language understanding ability of a large language model, and classification using preset cluster centers.
[0047] 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 prompt information, wherein the prompt information is used to instruct the user to input request information related to the video clip.
[0048] 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.
[0049] The above prompt information may be displayed in any manner such as voice, text, etc., which is not specifically limited in the embodiments of the present disclosure.
[0050] S103: Displaying the editing effect corresponding to the video editing operation in the video editing interface.
[0051] In one embodiment of the present disclosure, the editing effect corresponding to the video editing operation is displayed in the video preview area in the video editing interface. Exemplarily, 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.
[0052] Based on the above embodiments, the present disclosure provides an optimized video editing method, such as Figure 2 As shown, the optimized video editing method includes the following steps:
[0053] S201: Acquire a first round of request information input by a user in a video editing interface.
[0054] In one embodiment of the present disclosure, the first round of request information can be understood as the request information first input during the video editing process after the user starts the video editing interface and before performing any video editing operations. Further, the first round of request information is used to indicate how to generate a video draft during the video editing process.
[0055] In one embodiment of the present disclosure, when receiving the first round of request information input by the 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 performed. If the intent included in the first round of request information is not an intent related to video clipping, prompt information is generated to prompt the user to input an intent related to video clipping.
[0056] S202: Generate a video draft in response to the first-level editing instruction obtained by parsing the first round of request information.
[0057] In the disclosed embodiment, the 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 picture material.
[0058] In one embodiment of the present disclosure, a video related to the first-level editing instruction is obtained from a video library based on the first-level editing instruction as a video draft.
[0059] In the disclosed embodiment, if the user does not provide any video material and the first-level editing instruction indicates to provide a video template, a video template related to the first-level editing instruction is selected from the video library. For example, if the first round of request information input by the user is for a food-related video template, a food-related video template is selected from the video library as a video draft.
[0060] In one embodiment of the present disclosure, video material is acquired, and a video draft is generated based on the primary editing instruction and the video material, wherein the video material includes one or more of the following combinations: video, picture, text.
[0061] In the disclosed embodiment, if the video material input by the user is obtained, a video draft is generated based on the primary editing instruction and the video material. For example, when the video material is text information, a video draft is generated based on the text information. When the video material is a picture, a video draft is generated based on the input picture.
[0062] S203: Display the video screen corresponding to the video draft in the video editing interface.
[0063] 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.
[0064] S204: Acquire second round request information input by the user in the video editing interface.
[0065] In the disclosed embodiment, the second round request information may be understood as request information for editing an existing video draft. Further, in a video editing process, a user may input multiple second round request information, and the multiple second round request information corresponds to different secondary editing instructions.
[0066] In one embodiment of the present disclosure, when receiving the second round of request information input by the 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 performed. If the intent included in the second round of request information is not an intent related to video clipping, prompt information is generated to prompt the user to input an intent related to video clipping.
[0067] S205. In response to the secondary editing instruction obtained by parsing the second round of request information, the generated video draft is edited.
[0068] 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 for changing the background color, an instruction for changing the background music, an instruction for adding stickers, etc.
[0069] In one embodiment of the present disclosure, the existing video draft is further edited based on the secondary editing instruction.
[0070] S206: Display the editing effect corresponding to the secondary editing instruction in the video editing interface.
[0071] 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 filled into 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 filled into the background music track.
[0072] 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.
[0073] 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.
[0074] Based on the above embodiments, the present disclosure provides a method for determining a video editing instruction, such as Figure 3 As shown, the method for determining a video editing instruction provided by the embodiment of the present disclosure mainly includes the following steps:
[0075] S301: Obtain operation information related to video clipping.
[0076] 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 the video editing.
[0077] S302: Based on the similarity between the target intent and the operation information, filter out the operation information related to the target intent.
[0078] In an embodiment of the present disclosure, the similarity between the target intent 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 used as the operation information related to the target intent.
[0079] S303: Acquire the editing instruction corresponding to the operation information as a preset editing instruction library.
[0080] In the disclosed embodiment, 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.
[0081] In the disclosed embodiment, after the editing instructions are filtered out through the operation information, the retrieval amount of the instructions can be further reduced.
[0082] S304: Query a preset editing instruction library for an initial editing instruction corresponding to the target intention.
[0083] In the disclosed embodiment, the preset editing instruction library stores the correspondence between the intention and the editing instruction. According to the target intention, the preset editing instruction library is searched to obtain the initial editing instruction corresponding to the target intention.
[0084] 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.
[0085] S305: Extract target editing parameters corresponding to the initial editing instruction from the target intent.
[0086] In the disclosed embodiment, 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 clipping instruction is the existing "add a cute sticker"->addSticker({keyword:'cute'}), the slot extraction model will extract the "funny" parameter.
[0087] S306: Replace the initial editing parameters in the initial editing instruction with the target editing parameters to obtain a video editing instruction.
[0088] In the disclosed embodiment, the slot extraction model will extract the parameter of "funny", use "funny" to replace the "cute" in the initial editing instruction, and finally reorganize the code of addSticker({keyword:'funny'}), which is the video editing instruction.
[0089] 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.
[0090] Figure 4 FIG. 1 is a schematic diagram of the structure of a video editing device in an embodiment of the present disclosure. Figure 4 As shown, the video editing device 40 provided in the embodiment of the present disclosure mainly includes: a voice acquisition module 42, a video editing module 43 and a video display module 43.
[0091] 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.
[0092] 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.
[0093] 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 respond to the first-level editing instruction obtained by parsing the first-round request information, and after generating a video draft, respond to the second-level editing instruction obtained by parsing at least one second-round request information, to edit the generated video draft.
[0094] In one embodiment of the present disclosure, the device also includes: a target intent 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 intent included in the request information is the target intent, wherein the target intent refers to the intent related to video editing; and an editing instruction generation module, which is used to generate a video editing instruction based on the target intent if the intent included in the request information is the target intent.
[0095] 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 prompt information, wherein the prompt information is used to instruct the user to input request information related to the video clip.
[0096] 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 based on the first-level editing instruction as a video draft; or, to 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.
[0097] In one embodiment of the present disclosure, an editing instruction generation module includes: an initial editing instruction query unit, used to query the initial editing instruction corresponding to the target intent in a preset editing instruction library; a target editing parameter extraction unit, used to extract the target editing parameters corresponding to the initial editing instruction from the target intent; and an editing instruction determination unit, used to replace the initial editing parameters in the initial editing instruction with the target editing parameters to obtain a video editing instruction.
[0098] 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 intent in the editing instruction library; an operation information screening unit, which is used to screen out operation information related to the target intent based on the similarity between the target intent 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.
[0099] 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 no longer repeated here.
[0100] Figure 5 Schematic diagram of the structure of an electronic device in the embodiment of the present disclosure. Figure 5, which shows a schematic diagram of the structure of an electronic device 500 suitable for implementing the embodiment of the present disclosure. The electronic device 500 in the embodiment of the present disclosure may include, but is not limited to, a supercomputer. Figure 5 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0101] like Figure 5 As shown, 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 according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503 to implement the video editing method of the embodiment described in the present disclosure. 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.
[0102] Typically, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touch pad, 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. Figure 5 The terminal device 500 is shown as having various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0103] 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 contains 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 executed.
[0104] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0105] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may 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.
[0106] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0107] 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.
[0108] In a possible implementation manner 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 embodiments.
[0109] 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 separate software package, partially on the user's computer and partially on a remote computer, or entirely on a 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).
[0110] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0111] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.
[0112] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0113] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0114] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0115] In addition, although each operation is described in a specific order, this should not be required to perform these operations in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0116] Although the subject matter has been described in terms of specific structural features and / or method logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A video editing method, characterized in that: include: 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, characterized in that: 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, characterized in that: 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, characterized in that: 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, characterized in that: 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, characterized in that: 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 acquired, 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, characterized in that: 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, characterized in that: 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, characterized in that: include: 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, characterized in that: The electronic device comprises: 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, characterized in that: 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
Cited By
Video editing method and device, and electronic equipment
CN120786135A