Video editing method, device, electronic device and storage medium
The video editing method simplifies the process of replacing stock images by using a unified interface for clip segment switching, material selection, and preview, enhancing editing efficiency and video quality.
Patent Information
- Application Number
- JP2023577996
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-07-30
- Filing Date
- 2022-07-28
- Publication Date
- 2025-11-17
- Estimated Expiration
- 2042-07-28
AI Technical Summary
Current video editing methods require complex operations for replacing stock images, leading to low efficiency and prolonged video production times.
A video editing method that includes a material filling interface with a video preview area, clip segment switching area, and multimedia material selection area, allowing for fast switching and filling of clip segments with selected materials, and enabling simultaneous preview and playback of the edited video.
Simplifies the material replacement process, improving video editing efficiency and quality by allowing quick generation of high-quality videos that align with user intentions.
Smart Images

Figure 0007771229000001 
Figure 0007771229000002 
Figure 0007771229000003
Abstract
Description
[Technical Field]
[0001] This application claims priority to a Chinese patent application bearing application number 202110873178.7, filed with the China Patent Office on July 30, 2021, the entire contents of which are incorporated herein by reference.
[0002] TECHNICAL FIELD Embodiments of the present disclosure relate to the field of video processing technology, for example, to a video editing method, device, electronic device, and storage medium. [Background technology]
[0003] Currently, video generation software can recommend image materials based on user-introduced text, allowing users to create videos using the recommended image materials.
[0004] After a stock image is recommended, it is often necessary to replace the material filled in the video due to reasons such as the effect of the recommended stock image being poor or not meeting the user's intention. In the related technology, when a user wants to replace a stock image filled in a video, he or she selects the video segment where the stock image is located in the video editing interface, taps the replace control in the video editing interface to enter the material interface, selects the material in the material interface to fill the video segment, and then returns to the video editing interface to preview the effect of the filled material.
[0005] However, the material filling method in the related art requires complicated operations and low video editing efficiency, which makes the video production process take a long time. Summary of the Invention
[0006] Embodiments of the present disclosure provide a video editing method, apparatus, electronic device, and storage medium that enable fast loading and previewing of video material.
[0007] According to a first aspect, an embodiment of the present disclosure comprises: Displaying a material filling interface for a target clip video including a plurality of clip segments, the material filling interface including a video preview area, a clip segment switching area, and a multimedia material selection area; switching a selected first clip segment among the plurality of clip segments in response to a switching operation in the clip segment switching area; filling a first clip segment with the first material in response to a selection operation for the first material in a multimedia material selection area such that the first material is presented in the first clip segment in the target clip video; and displaying and playing back the target clip video in the video preview area in response to a playback trigger operation on the target clip video.
[0008] According to a second aspect, an embodiment of the present disclosure comprises: a filling interface display module configured to display a material filling interface of a target clip video including a plurality of clip segments, the material filling interface including a video preview area, a clip segment switching area, and a multimedia material selection area; a clip segment switching module configured to switch a selected first clip segment among the plurality of clip segments in response to a switching operation in the clip segment switching area; a material filling module configured to fill a first clip segment with the first material in response to a selection operation for the first material in a multimedia material selection area, such that the first material is presented in the first clip segment in the target clip video; The video editing apparatus further includes a video playback module configured to display and play the target clip video in the video preview area in response to a playback trigger operation on the target clip video.
[0009] According to a third aspect, an embodiment of the present disclosure comprises: at least one processor; a memory adapted to store at least one program; The present invention further provides an electronic device, wherein when the at least one program is executed by the at least one processor, the electronic device causes the at least one processor to implement the video editing method described in the embodiments of the present disclosure.
[0010] According to a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements the video editing method described in the embodiment of the present disclosure. [Brief explanation of the drawings]
[0011] In all the accompanying drawings, the same or similar elements are designated by the same or similar reference numerals. It should be understood that the accompanying drawings are schematic and that the materials and elements are not necessarily drawn to scale.
[0012] [Figure 1] 1 is a schematic diagram illustrating the flow of a video editing method according to an embodiment of the present disclosure; [Figure 2] FIG. 1 is a schematic diagram of a material loading interface according to an embodiment of the present disclosure. [Figure 3] FIG. 1 is a schematic diagram of a video editing interface according to an embodiment of the present disclosure. [Figure 4] FIG. 1 is a schematic diagram of a screen control list according to an embodiment of the present disclosure. [Figure 5] FIG. 1 is a schematic diagram of an interface for cropping image material according to an embodiment of the present disclosure. [Figure 6] FIG. 1 is a schematic diagram of an interface for trimming video footage according to an embodiment of the present disclosure. [Figure 7] FIG. 10 is a schematic diagram illustrating the flow of another video editing method according to an embodiment of the present disclosure. [Figure 8]FIG. 1 is a schematic diagram of a text editing interface according to an embodiment of the present disclosure. [Figure 9] 1 is a block diagram illustrating a configuration of a video editing device according to an embodiment of the present disclosure. [Figure 10] FIG. 1 is a schematic diagram illustrating the configuration of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE INVENTION
[0013] Hereinafter, embodiments of the present disclosure will be described in more detail with reference to the accompanying drawings. Although several embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be realized in a variety of forms and should not be construed as being limited to the embodiments described herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the accompanying drawings and embodiments of the present disclosure are merely illustrative and do not limit the scope of protection of the present disclosure.
[0014] It should be understood that steps described in the method embodiments of the present disclosure may be performed in a different order and / or in parallel. Furthermore, method embodiments may include additional steps and / or omit performing steps as shown. The scope of the present disclosure is not limited in this respect.
[0015] As used herein, the term "comprises" and variations thereof are open-ended, i.e., meaning "including, but not limited to." The term "based on" means "based at least in part on." The term "in one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one other embodiment," and the term "some embodiments" means "at least some embodiments." Relevant definitions of other terms are provided in the description below.
[0016] It should be noted that the concepts of "first," "second," etc. described in this disclosure are merely intended to distinguish between different devices, modules, or units, and are not intended to limit the order or interdependence of functions performed by these devices, modules, or units.
[0017] It should be noted that the modifications of "one" and "multiple" described in the present disclosure are exemplary and not limiting. It is obvious to those skilled in the art that unless otherwise specified, it should be understood as "one or multiple."
[0018] The names of messages or information exchanged between devices in the embodiments of the present disclosure are merely descriptive and do not limit the scope of these messages or information.
[0019] 1 is a schematic diagram illustrating the flow of a video editing method according to an embodiment of the present disclosure. The method may be performed by a video editing device. Here, the device may be realized by software and / or hardware and may be disposed in an electronic device, such as a mobile phone or a tablet. The video editing method according to an embodiment of the present disclosure is applied to a video editing case. As shown in FIG. 1, the video editing method according to this embodiment may include the following steps:
[0020] S101: Display a material filling interface for a target clip video including a plurality of clip segments, the material filling interface including a video preview area, a clip segment switching area, and a multimedia material selection area.
[0021] Here, the target clip video may be a currently clipped video or may be composed of multiple clip segments. Each clip segment may or may not be filled with material. The material may be recommended material and / or material selected by the user. The recommended material may be material recommended to the user based on a preset recommendation rule and filled into a corresponding clip segment, such as a sentence selected by the user, a text entered by the user, music selected by the user, or a video template selected by the user. The material may be image material or moving image material. An example in which a video is filled with material recommended based on a sentence selected by the user or a text entered by the user will be described below. That is, a case in which a video is composed of images and text will be described as an example.
[0022] The video preview area may be an area for displaying and playing the target clip video to allow the user to preview the presentation effect of the corresponding clip segments of the multiple filled materials.
[0023] The clip segment area may be an area that allows a user to select a clip segment in the target clip video. That is, the user can select a clip segment in the clip segment area and edit the clip segment. Multiple clip segments in the target clip video may be displayed in the clip segment area. Exemplarily, each clip segment may be presented in the clip segment switching area in the form of an image. For example, a clip segment filled with material in the target clip video may be presented in the form of a thumbnail image of the material filled in the clip segment, and a clip segment not filled with material in the target clip video may be presented in the form of a placeholder image of the clip segment. The multiple clip segments may be arranged in the clip segment area in the order of their corresponding clip segments in the target clip video. For example, the multiple clip segments may be arranged horizontally or vertically.
[0024] The multimedia material selection area may be used to present materials for the user to select. A plurality of materials for the user to select may be presented in the form of thumbnail images in the multimedia material selection area. The materials may include, but are not limited to, local materials of the user, such as local image materials (e.g., still and / or moving image materials) and video materials, and still and / or moving image materials (e.g., stamps) in a material library. Here, the image materials may be considered as image-type materials, and the video materials may be considered as video-type materials.
[0025] For example, as shown in FIG. 2, the electronic device may display a material filling interface for a target clip video, present a preview effect of a clip segment in the video in a video preview area 20 of the material filling interface (e.g., present the first clip segment in the video or the first frame screen of a selected clip segment by default), present multiple clip segments in the video in a clip segment switching area 21 of the material filling interface, and present user-selectable material 220 in a multimedia material selection area 22 of the material filling interface.
[0026] In an exemplary case, the electronic device may determine recommended materials corresponding to each phrase in a sentence or text selected by a user according to preset material recommendation rules based on a sentence selected by a user or a text entered by a user, and use the determined recommended materials to fill multiple clip segments in the video. After the filling is complete, the electronic device may display a video editing interface (as shown in FIG. 3) for the video to allow the user to edit the material, text, audio, or background music in the video. If the user wants to fill a clip segment in the video that is not filled with recommended material (e.g., no suitable material has been detected) with material, or to fill a clip segment in the video that has already been filled with material, the user may trigger a replacement control, for example, trigger a screen control 30 displayed in the video editing interface, or trigger a video track segment of a clip segment in the video track 31 of the video, to instruct the electronic device to display a screen control list (as shown in FIG. 4), and further trigger a replacement control 40 in the control list. When the electronic device detects that the user has triggered the replace control 40 in the screen control list, the electronic device may switch the current interface from a video editing interface to a video material filling interface, as shown in FIG.
[0027] S102: In response to a switching operation in the clip segment switching area, a selected first clip segment is switched among the plurality of clip segments.
[0028] Here, the first clip segment can be regarded as a selected clip segment, i.e., a clip segment in a selected state within the clip segment switching area, and the switching operation can be regarded as an operation of switching the selected clip segment, such as an operation of tapping or dragging a clip segment within the clip segment switching area, or a swipe operation acting within the clip segment switching area.
[0029] In this embodiment, the user may select and edit different clip segments within the clip segment switching area, for example, by tapping a clip segment in the clip segment switching area, the user may switch the clip segment from a selected state to an unselected state, or from an unselected state to a selected state. Furthermore, the user may also switch a clip segment from an unselected state to a selected state by moving the clip segment in the clip segment switching area to a preset selection position, or move a clip segment located at a preset selection position from the preset selection position to switch the clip segment from a selected state to an unselected state.
[0030] In one embodiment, a clip segment may be selected by moving the clip segment to a predetermined selection position, wherein the first clip segment is a clip segment located at the predetermined selection position of the clip segment, and switching the selected first clip segment among the plurality of clip segments described above includes switching the selected first clip segment by controlling the plurality of clip segments in the clip segment switching area to move synchronously.
[0031] Here, when the clip segment is located at a preset selection position, the selection operation may be a swipe operation in the same direction as the arrangement direction of the multiple clip segments in the clip segment switching area. For example, when the multiple clip segments are arranged horizontally, the selection operation may be a swipe operation in the horizontal direction.
[0032] In this embodiment, a preset selection position may be provided in the clip segment switching area to allow the user to select a clip segment. The preset selection position may be set according to needs. For example, if multiple clip segments are arranged horizontally in the clip segment switching area, the preset selection position may be located at the left side, right side, or center of the clip segment switching area. If multiple clip segments are arranged vertically in the clip segment switching area, the preset selection position may be located at the top, bottom, or center of the clip segment switching area. The following description will be given taking as an example a case where multiple clip segments are arranged horizontally in the clip segment switching area and the preset selection position is located at the center of the clip segment switching area.
[0033] For example, as shown in FIG. 2 , the electronic device displays a material filling interface and displays multiple clip segments of a target clip video in a clip segment switching area 21 of the material filling interface. When a user wishes to select a clip segment, the user may perform a horizontal swipe in the clip segment switching area 21. When detecting a horizontal swipe by the user in the clip segment switching area 21, the electronic device may control the multiple clip segments in the clip segment switching area 21 to move synchronously along the swipe direction of the horizontal swipe. When the user finishes swiping, the clip segment moved to a preset selection position 210 in the clip segment switching area 21 may be set as a first clip segment in the clip segment switching area 21.
[0034] S103: In response to a selection operation on a first material in the multimedia material selection area, the first material is filled into the first clip segment so that the first material is presented in the first clip segment in the target clip video.
[0035] Here, the selection operation may be an operation of selecting a certain material in the material selection area, for example, an operation of triggering the material or a replacement control corresponding to the material. The first material may be a material corresponding to the selection operation, for example, a material triggered by the selection operation or a material corresponding to a replacement control triggered by the selection operation. The first clip segment may be a clip segment in a selected state in the clip segment switching area, for example, a clip segment located at a preset selection position in the clip segment switching area.
[0036] For example, if a user wants to fill a selected first clip segment with a certain material, the user may perform a selection operation on the first material, e.g., trigger the material or a replacement control corresponding to the material. When the electronic device detects that the user has triggered a certain material or a replacement control corresponding to the material, the electronic device may determine that the selection operation on the first material has been accepted and may fill the first material into the first clip segment selected in the clip segment switching area. For example, if the first clip segment does not contain any material, the first material may be filled into the first clip segment as is. If the first clip segment is filled with material, the first material may be used to replace the original material filled into the first clip segment.
[0037] In this embodiment, the material filling interface may be configured to include a video preview area, a clip segment switching area, and a multimedia material selection area. The material filling interface enables fast clip segment switching and material filling and preview, eliminating the need to select a clip segment to be filled in the video editing interface, access the material filling interface to select and fill the material, and then return to the video editing interface after filling is complete to preview the clip segment after the material has been filled. The technical solution of this embodiment simplifies the operations required for material filling, improves video editing efficiency and the quality of the generated video, and meets users' needs for quickly generating high-quality videos. In addition, the technical solution of this embodiment allows users to replace originally recommended image materials in a video with video material, making the generated video more in line with the user's intentions and improving the user experience.
[0038] In this embodiment, the material selected by the user may be filled into the first clip segment as is, or if the duration and / or size of the material selected by the user does not match the duration and / or size of the first clip segment, the material selected by the user may be trimmed and the trimmed material may be filled into the first clip segment; this embodiment does not impose any restrictions on this.
[0039] In one embodiment, the electronic device may automatically trim a user-selected material, wherein filling the first material into the first clip segment so that the first material is presented in the first clip segment in the target clip video includes trimming the first material to obtain a second material using a preset trimming rule, and filling the first clip segment with the second material so that the second material is presented in the first clip segment in the target clip segment.
[0040] Here, the second material may be a material obtained by trimming the first material. The preset trimming rule may include a preset trimming size and / or trimming position, and may be set by a user or developer according to their needs.
[0041] For example, as shown in FIG. 2 , the electronic device displays a plurality of user-selectable materials 220 and a corresponding replacement control 221 for each material in the multimedia material selection area 22. If the user wants to use a material to replace a first clip segment (e.g., a clip segment located at a preset selection position 210) selected in the clip segment switching area 21, the user may trigger the replacement control 221 corresponding to the material. When the electronic device detects that the user has triggered the replacement control 221 corresponding to a material displayed in the multimedia material selection area 22, the electronic device may treat the material as the first material selected by the user and employ a preset trimming rule to trim the first material. For example, if the first material is a video material, the electronic device may trim the size of each video frame in the video material and / or the length of the video material to obtain a second material that fits the preset size and / or presentation duration of the first clip segment. If the first material is a stock material, the electronic device may trim the size of the stock material to obtain a second material that fits the preset size of the first clip segment. Furthermore, the obtained second material is filled into the first clip segment, and the second material is presented to the first clip segment.
[0042] In another embodiment, the electronic device may trim user-selected material in response to a user trimming operation, further comprising displaying a trimming interface for the first material before filling the first clip segment with the first material and trimming the first material to obtain second material in response to a trimming operation in the trimming interface, and wherein filling the first clip segment with the first material such that the first material is presented in the first clip segment in the target clip video includes filling the first clip segment with the second material in response to a fill operation in the trimming interface such that the second material is presented in the first clip segment in the target clip segment.
[0043] Here, the fill operation may be a trigger operation for filling the first clip segment with the second material obtained by trimming, for example, an operation for triggering a replacement control on the trimming page of the first material.
[0044] For example, as shown in FIG. 2 , the electronic device displays a plurality of user-selectable materials 220 in the multimedia material selection area 22 and a replacement control 221 corresponding to each material. If the user wants to trim a material, the user may trigger the material 220 displayed in the multimedia material selection area 22. When the electronic device detects that the user has triggered a material 220 displayed in the multimedia material selection area 22, the electronic device may select the material 220 as the first material selected by the user and switch the current interface from the material filling interface to a trimming interface, as shown in FIGS. 5 and 6 . If the first material is a stock material, the user can trim the first material to a desired size in the trimming interface (as shown in FIG. 5 ) to obtain a second material. If the first material is a video material, the user can trim a segment from the first material that they want to present as the first clip segment to obtain the second material. After completing the trimming of the first material, the user may further trigger a replacement control 50 in the trimming interface. When the electronics detects that the user has triggered the replacement control 50 in the trimming interface, it may switch the current interface from the trimming interface to a material filling interface to fill the first clip segment with the second material obtained by trimming.
[0045] For example, the first material includes video material, and after filling the second material into the first clip segment as described above, the method further includes, in response to an extension operation on the first clip segment, extending the second material into a third material based on the first material, filling the third material into the first clip segment, and extending the first clip segment, and shortening a clip segment adjacent to the first clip segment in the target clip video.
[0046] The extending operation may be an operation of extending the first clip segment, i.e., an operation of extending the time length of the first clip segment, and may be an operation of dragging the video track segment corresponding to the first clip segment. For example, if the video track segment is a horizontal track segment, the extending operation may be an operation of dragging the left boundary of the video track segment to the left and / or an operation of dragging the right boundary of the video track segment to the right.
[0047] For example, when the video track of the target clip video is located in the video editing interface of the target clip video, the user may trigger the confirmation control 23 in the material filling interface after completing filling of material, for example, filling the first clip segment with a second material. When the electronic device detects that the user has triggered the confirmation control 23 in the material filling interface, the electronic device may switch the current interface to the material editing interface, as shown in Figure 4 (for example, the video track segment of the first clip segment is the second video track segment in the video track). If the user wants to extend the first clip segment, the user may drag the left boundary of the video track segment of the first clip segment to the left, or drag the right boundary of the video track of the first clip segment to the right. When the electronic device detects a user's drag operation, it determines that it has accepted an extension operation on the first clip segment, and controls the boundary of the video track segment of the first clip segment to move in accordance with the user's drag operation, and when the user's drag ends, it may extend the second material to a time length corresponding to the video track segment after the drag based on the user's drag direction and the first material to obtain a third material, fill the third material into the first clip segment, and extend the first clip segment to a time length corresponding to the video track segment after the drag, and accordingly shorten the time length of the clip segment adjacent to the first clip segment in the target clip video.For example, when a user drags the video track segment of a first clip segment to the left, the second material is extended forward by adopting a video frame in the first material that is positioned earlier than the second material; when a user drags the video track segment of the first clip segment to the right, the second material is extended backward by adopting a video frame in the first material that is positioned later than the second material, and the third material obtained by the extension is used to replace the second material in the first clip segment, and the clip segment corresponding to the video track segment of the overlapping portion deletes other material filling the overlapping portion.
[0048] In the above embodiment, if there is an overlap between the video track segment of the extended first clip segment and the video track segment of another clip segment, the first clip segment may be extended. Also, only if the video track segment of the other clip segment completely overlaps with the video track segment of the extended first clip segment, i.e., only if the video track segment of the other clip segment is completely covered by the video track segment of the extended first clip segment, the first clip segment may be extended and the other clip segment may be deleted. If the video track segment of the extended first clip segment only partially overlaps with the video track segment corresponding to the other clip segment, the first clip segment may not be extended to the corresponding time node in the video of the clip segment, and the video track segment of the first clip segment may be adjusted so as not to overlap with the video track segment of the other material; this embodiment does not impose any restrictions on this.
[0049] Furthermore, the length of the first material may be further taken into consideration when controlling the boundary of the video track segment of the first clip segment to move in response to a user's dragging operation. For example, the boundary of the video track segment of the first clip segment may be controlled to move in response to a user's dragging operation only if the duration corresponding to the video track segment of the first clip segment does not exceed the duration of the first material. If the duration corresponding to the video track segment of the first clip segment reaches or exceeds the duration of the first material, the boundary of the video track segment of the first clip segment is not controlled to move in response to a user's dragging operation.
[0050] S104: In response to a playback trigger operation on the target clip video, the target clip video is displayed and played in the video preview area.
[0051] Here, the playback trigger operation may be a trigger operation to play the target clip video, i.e., a trigger operation to instruct the electronic device to sequentially play multiple clip segments in the target clip video, for example, an operation to trigger a playback control within a material filling interface.
[0052] For example, when multiple clip segments are arranged horizontally in the clip segment selection area 21, the electronic device displays a material filling interface as shown in Fig. 2. If a user wants to preview multiple materials filled into the target clip video, the user may trigger a playback control 24 in the material filling interface. When the electronic device detects that the user has triggered the playback control 24, the electronic device may play the target clip video from the first clip segment or the currently selected clip segment, so that the user can see the presentation effect of the materials filled into each clip segment.
[0053] In this embodiment, when a clip segment is being played in the video preview area, the clip segment displayed in the target clip segment switching area may be switched to a selected state. For example, during video playback, multiple clip segments in the clip segment switching area may be controlled to move synchronously (e.g., move synchronously to the left) to move the clip segment being played in the video preview area to a preset selection position in the clip segment switching area, thereby facilitating the user to determine the clip segment currently being played in the video preview area. This may further include switching the current clip segment being played in the video preview area to a selected state after displaying and playing the target clip video in the video preview area.
[0054] In this embodiment, after the user completes editing on the target clip video, the user may trigger an export control 32 (e.g., as shown in FIG. 3 ) in the video editing interface to instruct the electronic device to composite multiple clip segments in the target clip video, and may save or post the composite video.
[0055] The video editing method according to this embodiment displays a material filling interface for a target clip video including a plurality of clip segments, the material filling interface including a video preview area, a clip segment switching area, and a multimedia material selection area, and switches a selected first clip segment among the plurality of clip segments of the target clip video in response to a switching operation in the clip segment switching area, fills the first clip segment with the first material in response to a selection operation for the first material in the multimedia material selection area so that the first material is presented in the first clip segment in the target clip video, and displays and plays the target clip video in the video preview area in response to a playback trigger operation for the target clip video. By adopting the above technical solution, this embodiment realizes fast clip segment switching and material filling and previewing in clip segments on a single interface, simplifies the operations required for material filling, improves video editing efficiency and the quality of the generated video, and meets users' needs for fast generation of high-quality video.
[0056] 7 is a schematic diagram illustrating the flow of another video editing method according to an embodiment of the present disclosure. Aspects of this embodiment may be combined with one or more exemplary aspects of the above-described embodiments. For example, filling the first clip segment with the first material includes replacing the original material filled in the first clip segment with the first material.
[0057] For example, after replacing the original material filled in the first clip segment with the first material as described above, the method further includes resetting the material filled in the first clip segment to the original material in response to a material reset operation on the first clip segment.
[0058] For example, after replacing the original material filled in the first clip segment with the first material as described above, the method further includes displaying the original material at a predetermined position within the multimedia material selection area to allow the user to select it.
[0059] As shown in FIG. 7, the video editing method according to this embodiment may include the following steps.
[0060] S201: Display a material filling interface for a target clip video including a plurality of clip segments, the material filling interface including a video preview area, a clip segment switching area, and a multimedia material selection area.
[0061] S202: In response to a switching operation in the clip segment switching area, a selected first clip segment is switched among the plurality of clip segments.
[0062] S203: In response to a selection operation for a first material in the multimedia material selection area, the original material filled in the first clip segment is replaced with the first material so that the first material is presented in the first clip segment in the target clip video.
[0063] Here, the original material may be the material that was filled into the first clip segment before the selection operation was accepted.
[0064] For example, if a user wants to replace an original material filled in a clip segment with a first material in a multimedia material selection area, the user may select the clip segment and perform a selection operation on the first material. When the electronic device detects that the user has selected a material, the electronic device may delete the original material filled in the clip segment selected by the user and fill the clip segment with the first material selected by the user.
[0065] S204: The original material is displayed at a preset position within the multimedia material selection area, allowing the user to select it.
[0066] In this embodiment, if the user is dissatisfied with the original material filled in the target clip video, the user may change the original material. After the user changes the original material in the video to another material (e.g., the first material), the electronic device may display the replaced original material in the multimedia material selection interface. Therefore, if the user is still dissatisfied with the replaced material, the user can easily change back to the original material.
[0067] Exemplarily, the electronic device displays the original material filled into the first clip segment in the multimedia material selection area. For example, the original material filled into the first clip segment is displayed in the initial material display position in the image material panel of the multimedia material selection area (i.e., the panel displayed in the multimedia material selection area after triggering the image material control). If the user wants to replace the material filled into the first clip segment with the original material, the user may perform a selection operation that operates on the original material, for example, by triggering a replacement control corresponding to the original material. Upon detecting the user's selection operation, the electronic device may replace the material filled into the first clip segment with the original material and may also stop displaying the original material in the initial material display position in the image material panel of the multimedia material selection area.
[0068] S205: In response to a material reset operation on the first clip segment, the material filled in the first clip segment is reset to the original material.
[0069] Here, the reset operation can be understood as an operation of resetting the material filled into the first clip segment to the original material, for example, an operation of triggering a reset control in a material filling interface.
[0070] For example, if the material filled into the currently selected first clip segment is not its original material, the electronic device may display a reset control in the material filling interface. A user may trigger the reset control if they want to reset the material filled into the first clip segment. When the electronic device detects that the user has triggered the reset control in the material filling interface, the electronic device may reset the material filled into the first clip segment to its original material.
[0071] In one embodiment, a user may adjust subtitle content in each clip segment of a target clip video, and the video editing method according to this embodiment may further include: modifying the subtitle content of a second clip segment in the target clip video in response to a subtitle modification operation on the second clip segment, updating audio data of the second clip segment based on the modified subtitle content, and adjusting a duration of the second clip segment based on the updated audio data.
[0072] Here, the subtitle modification operation may be an operation to modify the subtitle content of a certain clip segment, for example, an editing operation on the subtitle content corresponding to the certain clip segment, and the second clip segment may be the clip segment corresponding to the subtitle modification operation.
[0073] For example, as shown in Fig. 3, the electronic device displays a video editing interface. If a user wants to change the subtitle content of a clip segment in a target clip video, when the user presents the clip segment in the video editing interface, the user may trigger a text control 33 in the video editing interface or a subtitle track segment corresponding to the clip segment in the subtitle track 34 of the target clip video, as shown in Fig. 8, to instruct the electronic device to display a text editing interface. Furthermore, the user may trigger a keyboard control 80 in the text editing interface to display a keyboard on the electronic device, prompting the user to edit the subtitle content of the clip segment. The electronic device may determine the subtitle content of the clip segment in response to the user's editing operation, generate new audio data based on the modified subtitle content, replace the original audio data of the clip segment with the new audio data, and adjust the duration of the clip segment according to the duration of the new audio data.
[0074] In this embodiment, an adjustment method corresponding to the type of material filled into a clip segment may be adopted to adjust the time length of the corresponding clip segment based on the generated audio data. For example, if the material filled into a clip segment is image material, the time length of the material presented in the clip segment may be directly shortened or extended according to the time length of the generated audio data. If the material filled into a clip segment is video material and the time length of the generated audio data is longer than the time length of the original audio data, the material may be extended by adding video frames or empty scenes located before or after the material before trimming, and the extended material may be filled into the clip segment. If the time length of the generated audio data is shorter than the time length of the original audio data, the material may be shortened by deleting some video frames at one or both ends of the material, and the shortened material may be filled into the clip segment.
[0075] In one embodiment, the user may adjust the subtitle pattern of each material in the video, and the video editing method according to this embodiment further includes adjusting the subtitle pattern of a third clip segment in the target clip video in response to a subtitle pattern adjustment operation for the third clip segment.
[0076] Here, the subtitle pattern adjustment operation may be an operation of adjusting a subtitle pattern of subtitles in a certain clip segment in the target clip video, and the third clip segment may be a clip segment corresponding to the subtitle pattern adjustment operation.
[0077] For example, as shown in Fig. 3, the electronic device displays a video editing interface. If a user wants to change the subtitle pattern of subtitles in a clip segment in a target clip video, when the clip segment is presented in the video editing interface, the user may trigger the text control 33 in the video segment interface or trigger the subtitle track segment corresponding to the clip segment in the subtitle track 34 of the target clip video, as shown in Fig. 8, to instruct the electronic device to display the text editing interface. Furthermore, the electronic device may trigger the pattern control 81 or the pattern character control 82 in the text editing interface to instruct the electronic device to display a selectable pattern list or pattern character list so that the user can select a desired pattern template or pattern character. When the electronic device detects that the user has triggered a pattern template in the pattern list or a pattern character in the pattern character list, the electronic device may determine that a subtitle adjustment operation for the clip segment has been accepted, and in response to the subtitle adjustment operation, the electronic device may present the subtitles of the clip segment using the pattern template or pattern character selected by the user.
[0078] The video editing method according to this embodiment can realize replacing the material filled in the video and resetting the original material filled in the video, so that the user can quickly replace or reset the material filled in the video, and further improve the efficiency of video editing.
[0079] FIG. 9 is a block diagram showing the configuration of a video editing device according to an embodiment of the present disclosure. The device may be implemented by software and / or hardware and may be disposed in an electronic device, such as a mobile phone or a tablet. A video can be edited by executing the video editing method. As shown in FIG. 9, the video editing device according to this embodiment may include a filling interface display module 901, a clip segment switching module 902, a material filling module 903, and a video playback module 904, among which: The filling interface display module 901 is configured to display a material filling interface of a target clip video including a plurality of clip segments, the material filling interface including a video preview area, a clip segment switching area, and a multimedia material selection area; a clip segment switching module 902 configured to switch a selected first clip segment among the plurality of clip segments in response to a switching operation in the clip segment switching area; a material filling module 903 configured to fill a first clip segment with the first material in response to a selection operation on the first material in the multimedia material selection area, so that the first material is presented in the first clip segment in the target clip video; A video playback module 904 is provided to display and play the target clip video in the video preview area in response to a playback trigger operation on the target clip video.
[0080] In this embodiment, the video editing apparatus uses a filling interface display module to display a material filling interface for a target clip video including a plurality of clip segments, the material filling interface including a video preview area, a clip segment switching area, and a multimedia material selection area; the clip segment switching module switches a selected first clip segment among the plurality of clip segments of the target clip video in response to a switching operation in the clip segment switching area; the material filling module fills the first material into the first clip segment in response to a selection operation for the first material in the multimedia material selection area so that the first material is presented in the first clip segment in the target clip video; and the video playback module displays and plays the target clip video in the video preview area in response to a playback trigger operation for the target clip video. By adopting the above technical solution, this embodiment realizes fast switching of clip segments and filling and previewing of materials in clip segments on a single interface, simplifies the operations required for material filling, improves video editing efficiency and the quality of generated videos, and meets users' needs for fast generation of high-quality videos.
[0081] In the above aspect, the first clip segment may be a clip segment located at a predetermined selected position of the clip segment, and the clip segment switching module 902 may be configured to switch the selected first clip segment by controlling multiple clip segments to move synchronously within the clip segment switching area.
[0082] In the above aspect, the material filling module 903 may be configured to employ a preset trimming rule to trim the first material to obtain a second material, and fill the second material into the first clip segment so that the second material is presented in the first clip segment in the target clip segment.
[0083] In the above aspect, the material filling module 903 may include a trimming interface display unit configured to display a trimming interface for the first material, a material trimming unit configured to trim the first material to obtain a second material in response to a trimming operation within the trimming interface, and a material filling unit configured to fill the second material into the first clip segment in response to a filling operation within the trimming interface so that the second material is presented in the first clip segment in the target clip segment.
[0084] In the above aspect, the first material may include video material, and the video editing device according to this embodiment may further include a video segment extension module configured to, in response to an extension operation on the first clip segment, extend the second material to a third material based on the first material, fill the third material into the first clip segment, thereby extending the first clip segment, and shorten a clip segment adjacent to the first clip segment in the target clip video.
[0085] In the above aspect, the video playback module 904 may further be configured to switch the current clip segment being displayed and played in the video preview area to a selected state after displaying and playing the target clip video in the video preview area.
[0086] In the above aspect, the material filling module 903 may be configured to replace the original material filled in the first clip segment with the first material.
[0087] For example, the video editing device according to this embodiment may further include a material reset module configured to replace the original material filled in the first clip segment with the first material, and then reset the material filled in the first clip segment to the original material in response to a material reset operation on the first clip segment.
[0088] In the above aspect, the material filling module 903 may further be configured to replace the original material filled in the first clip segment as described above with the first material, and then display the original material at a predetermined position within the multimedia material selection area to allow the user to select it.
[0089] For example, the video editing device according to this embodiment may further include a subtitle content modification module configured to modify the subtitle content of the second clip segment in response to a subtitle modification operation on the second clip segment in the target clip video, update the audio data of the second clip segment based on the modified subtitle content, and adjust the time length of the second clip segment based on the updated audio data.
[0090] For example, the video editing apparatus according to this embodiment may further include a subtitle pattern adjustment module configured to adjust the subtitle pattern of the third clip segment in the target clip video in response to a subtitle pattern adjustment operation on the third clip segment.
[0091] The video editing device according to the embodiment of the present disclosure can execute the video editing method according to any embodiment of the present disclosure, and has corresponding functional modules and beneficial effects for executing the video editing method. For details of the techniques not described in detail in this embodiment, please refer to the video editing method according to any embodiment of the present disclosure.
[0092] Reference is now made to FIG. 10 , which illustrates a schematic configuration diagram of an electronic device (e.g., a terminal device) 1000 suitable for implementing an embodiment of the present disclosure. The terminal device in the embodiment of the present disclosure may include, but is not limited to, mobile devices such as mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (PDAs), tablets (PADs), portable multimedia players (PMPs), and in-vehicle devices (e.g., in-vehicle navigation devices), as well as fixed devices such as digital TVs and desktop computers. The electronic device illustrated in FIG. 10 is merely an example and does not impose any limitations on the functionality and scope of use of the embodiment of the present disclosure.
[0093] 10, electronic device 1000 may include a processing unit (e.g., a central processing unit, a graphics processor, etc.) 1001, which can perform a number of appropriate operations and processes according to a program stored in read-only memory (ROM) 1002 or a program loaded from storage device 1006 into random access memory (RAM) 1003. RAM 1003 further stores various programs and data necessary for the operation of electronic device 1000. Processing unit 1001, ROM 1002, and RAM 1003 are interconnected via bus 1004. Input / output (I / O) interface 1005 is also connected to bus 1004.
[0094] Typically, input devices 1006, including, for example, a touch screen, touch panel, keyboard, mouse, camera head, microphone, accelerometer, gyroscope, etc.; output devices 1007, including, for example, a liquid crystal display (LCD), speaker, oscillator, etc.; storage devices 1006, including, for example, a magnetic tape, hard disk, etc.; and communication devices 1009 may be connected to the I / O interface 1005. The communication devices 1009 enable the electronic device 1000 to exchange data with other devices via wireless or wired communication. While FIG. 10 illustrates the electronic device 1000 with multiple devices, it should be understood that this is not intended to require the implementation or inclusion of all of the devices shown. More or fewer devices may alternatively be implemented or included.
[0095] According to embodiments of the present disclosure, the processes described above with reference to the flowcharts can be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product, which includes a computer program embodied in a non-transitory computer-readable medium, including program code configured to perform the methods illustrated in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via the communication device 1009, or installed from the storage device 1006, or installed from the ROM 1002. When executed by the processing device 1001, the computer program performs the functions defined in the methods of the embodiments of the present disclosure.
[0096] It should be noted that the computer-readable medium in this disclosure may be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. The computer-readable storage medium may be, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of the computer-readable storage medium include, but are not limited to, an electrical connection having one or more conductors, 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 compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program, and the program can be used in or in combination with a command execution system, apparatus, or device. In this disclosure, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which is capable of transmitting, propagating, or transmitting a program for use in or in connection with a command execution system, apparatus, or device. The program code contained in the computer-readable medium may be transmitted over any suitable medium, including, but not limited to, electrical wire, optical cable, RF (radio frequency), or the like, or any suitable combination thereof.
[0097] In some embodiments, clients and servers may communicate using any now known or later developed network protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect 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"), the Internet (e.g., internet), and an end-to-end network (e.g., an ad hoc end-to-end network), as well as any now known or later developed network.
[0098] The computer-readable medium may be included in the electronic device, or may be a standalone medium not mounted on the electronic device.
[0099] The computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to display a material filling interface for a target clip video including a video preview area, a clip segment switching area, and a multimedia material selection area, for the target clip video including a plurality of clip segments; switch a selected first clip segment among the plurality of clip segments in response to a switching operation in the clip segment switching area; fill the first material into the first clip segment in response to a selection operation for the first material in the multimedia material selection area so that the first material is presented in the first clip segment in the target clip video; and display and play the target clip video in the video preview area in response to a playback trigger operation for the target clip video.
[0100] Computer program code for carrying out the operations of the present disclosure can be written using one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, as well as general procedural programming languages such as "C" or similar programming languages. The program code can execute 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 the case of a remote computer, the remote computer can be connected to the user's computer by any network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., via the Internet using an Internet Service Provider).
[0101] The flowcharts and block diagrams in the accompanying drawings illustrate possible system architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams may represent a module, program segment, or portion of code, which includes one or more executable instructions for implementing a specified logical function. It should be noted that in some alternative implementations, the functions depicted in the blocks may be implemented in a different order than depicted in the drawings. For example, two successively shown blocks may actually be executed substantially in parallel, or, depending on the functionality, they may be executed in the reverse order. It should be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or operations, or by a combination of dedicated hardware and computer instructions.
[0102] The units according to the embodiments of the present disclosure may be realized by software or hardware, and the names of the modules may not necessarily limit the units themselves.
[0103] The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, exemplary hardware logic components that may be used include, but are not limited to, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), etc.
[0104] In the present disclosure, a machine-readable medium may be a tangible medium and may contain or store a program used by or in combination with a command execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the above. More specific examples of machine-readable storage media include one or more wire-based electrical connections, 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 compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0105] According to one or more embodiments of the present disclosure, Example 1 comprises: Displaying a material filling interface for a target clip video including a plurality of clip segments, the material filling interface including a video preview area, a clip segment switching area, and a multimedia material selection area; switching a selected first clip segment among the plurality of clip segments in response to a switching operation in the clip segment switching area; filling a first clip segment with the first material in response to a selection operation for the first material in a multimedia material selection area such that the first material is presented in the first clip segment in the target clip video; and displaying and playing back the target clip video in the video preview area in response to a playback trigger operation on the target clip video.
[0106] According to one or more embodiments of the present disclosure, Example 2 is a clip segment located at a preset selected position of the clip segments, and switching the selected first clip segment among the plurality of clip segments as described above includes: 2. The method of Example 1, comprising: switching a selected first clip segment by controlling a plurality of clip segments within the clip segment switching region to move synchronously.
[0107] According to one or more embodiments of the present disclosure, Example 3, as described above, may include filling the first clip segment with the first material such that the first material is presented in the first clip segment in the target clip video, The method of Example 1 includes employing a preset trimming rule to trim the first material to obtain a second material, and filling the first clip segment with the second material so that the second material is presented in the first clip segment in the target clip segment.
[0108] According to one or more embodiments of the present disclosure, Example 4 may further include, as described above, before filling the first material into the first clip segment: Displaying a trimming interface for the first material; trimming the first material to obtain a second material in response to a trimming operation within the trimming interface; The filling of the first clip segment with the first material such that the first material is presented in the first clip segment in the target clip video, as described above, includes: The method of Example 1 includes filling the first clip segment with the second material in response to a fill operation within the trimming interface such that the second material is presented in the first clip segment at the target clip segment.
[0109] According to one or more embodiments of the present disclosure, Example 5 is a method for loading the first clip segment with the second material, wherein the first material includes a video material. In response to an extension operation on the first clip segment, extending the second material into a third material based on the first material, and filling the first clip segment with the third material to extend the first clip segment; 5. The method of any one of Examples 3 and 4, further comprising shortening a clip segment adjacent to the first clip segment in the target clip video.
[0110] According to one or more embodiments of the present disclosure, Example 6 may further include: after displaying and playing the target clip video in the video preview area, 2. The method of example 1, further comprising switching the current clip segment being displayed and played in the video preview area to a selected state.
[0111] According to one or more embodiments of the present disclosure, Example 7 may further include the step of filling the first clip segment with the first material. 2. The method of Example 1, comprising replacing an original material filled in the first clip segment with the first material.
[0112] According to one or more embodiments of the present disclosure, Example 8 is the above-described method for replacing the original material filled in the first clip segment with the first material, and then: 8. The method of Example 7, further comprising, in response to a material reset operation on the first clip segment, resetting material filled into the first clip segment to the original material.
[0113] According to one or more embodiments of the present disclosure, Example 9 is the above-described method for replacing the original material filled in the first clip segment with the first material, and then: 8. The method of Example 7, further comprising displaying the original material at a preset location within the multimedia material selection area for user selection.
[0114] According to one or more embodiments of the present disclosure, Example 10 comprises: modifying subtitle content of a second clip segment in the target clip video in response to a subtitle modification operation on the second clip segment; The method of any one of Examples 1 to 4, 6 to 9, further comprising: updating audio data of the second clip segment based on the modified subtitle content; and adjusting the time length of the second clip segment based on the updated audio data.
[0115] According to one or more embodiments of the present disclosure, Example 11 comprises: The method of any one of Examples 1-4, 6-9, further comprising adjusting a subtitle pattern of a third clip segment in the target clip video in response to a subtitle pattern adjustment operation on the third clip segment.
[0116] According to one or more embodiments of the present disclosure, Example 12 comprises: a filling interface display module configured to display a material filling interface of a target clip video including a plurality of clip segments, the material filling interface including a video preview area, a clip segment switching area, and a multimedia material selection area; a clip segment switching module configured to switch a selected first clip segment among the plurality of clip segments in response to a switching operation in the clip segment switching area; a material filling module configured to fill a first clip segment with the first material in response to a selection operation for the first material in a multimedia material selection area, such that the first material is presented in the first clip segment in the target clip video; a video playback module configured to display and play the target clip video in the video preview area in response to a playback trigger operation on the target clip video.
[0117] According to one or more embodiments of the present disclosure, Example 13 comprises: one or more processors; a memory adapted to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors are caused to realize the video editing method according to any one of Examples 1 to 11.
[0118] According to one or more embodiments of the present disclosure, Example 14 provides a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, causes the video editing method described in any one of Examples 1 to 11 to be realized.
[0119] Also, although operations are described in a particular order, this should not be understood as requiring such operations to be performed in the particular order shown, or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, although certain specific implementation details are included in the above description, they should not be construed as limiting the scope of the present disclosure. Certain features described in the context of a single embodiment may also be implemented in combination in a single embodiment. Conversely, multiple features described in the context of a single embodiment may also be implemented in multiple embodiments, either alone or in any suitable subcombination.
Claims
1. 1. A method for editing a video, comprising: Displaying a material filling interface for a target clip video including a plurality of clip segments, the material filling interface including a video preview area, a clip segment switching area, and a multimedia material selection area; Switching the clip segment among the plurality of clip segments in response to a switching operation in the clip segment switching area to select a first clip segment; filling a first clip segment with the first material in response to a selection operation for the first material in the multimedia material selection area such that the first material is presented in the first clip segment in the target clip video; and displaying and playing back the target clip video in the video preview area in response to a playback trigger operation on the target clip video.
2. The first clip segment is a clip segment located at a preset selection position of the clip segment, and the above-mentioned switching of the clip segment among the plurality of clip segments to select the selected first clip segment is performed by: The method of claim 1, further comprising: switching a clip segment located at a predetermined selected position within the clip segment switching area by synchronously moving a plurality of clip segments within the clip segment switching area in an arrangement direction.
3. The filling of the first clip segment with the first material such that the first material is presented in the first clip segment in the target clip video, as described above, includes:
2. The method of claim 1, comprising: trimming the first material to obtain a second material using a preset trimming rule; and filling the first clip segment with the second material so that the second material is presented in the first clip segment in the target clip video.
4. Before filling the first material into the first clip segment, Displaying a trimming interface for the first material; trimming the first material to obtain a second material in response to a trimming operation within the trimming interface; The filling of the first clip segment with the first material such that the first material is presented in the first clip segment in the target clip video, as described above, includes:
2. The method of claim 1, further comprising, in response to a fill operation within the trimming interface, filling the first clip segment with the second material such that the second material is presented in the first clip segment in the target clip video.
5. The first material includes video material, and after filling the first clip segment with the second material as described above, In response to a user's dragging operation of dragging a boundary of a video track segment of a first clip segment, taking a video frame in the first material that is located before or after the second material based on the user's drag direction, and extending the second material forward or backward by a time length corresponding to the video track segment after the dragging to obtain a third material, and filling the first clip segment with the third material to extend the first clip segment; The method of claim 3 or 4, further comprising shortening clip segments adjacent to the first clip segment in the target clip video.
6. After playing, display the target clip video in the video preview area. The method of claim 1 , further comprising switching the current clip segment being displayed and played in the video preview area to a selected state.
7. The aforementioned filling of the first material into the first clip segment includes: The method of claim 1 , further comprising replacing original material filled into the first clip segment with the first material.
8. After replacing the original material filled in the first clip segment with the first material as described above, The method of claim 7 , further comprising resetting material filled into the first clip segment to the original material in response to a material reset operation on the first clip segment.
9. After replacing the original material filled in the first clip segment with the first material as described above, 8. The method of claim 7, further comprising displaying the original material at a preset location within the multimedia material selection area for user selection.
10. modifying subtitle content of a second clip segment in the target clip video in response to a subtitle modification operation on the second clip segment; The method of any one of claims 1 to 4 and 6 to 9, further comprising: updating audio data of the second clip segment based on the modified subtitle content; and adjusting a time length of the second clip segment based on the updated audio data.
11. The method of any one of claims 1 to 4 and 6 to 9, further comprising adjusting a subtitle pattern of a third clip segment in the target clip video in response to a subtitle pattern adjustment operation on the third clip segment.
12. a filling interface display module configured to display a material filling interface of a target clip video including a plurality of clip segments, the material filling interface including a video preview area, a clip segment switching area, and a multimedia material selection area; a clip segment switching module configured to switch a clip segment among the plurality of clip segments in response to a switching operation in the clip segment switching area, and set the selected clip segment as a first clip segment; a material filling module configured to fill a first clip segment with the first material in response to a selection operation for the first material in the multimedia material selection area so that the first material is presented in the first clip segment in the target clip video; a video playback module configured to display and play back the target clip video in the video preview area in response to a playback trigger operation on the target clip video.
13. at least one processor; a memory adapted to store at least one program; An electronic device, wherein when the at least one program is executed by the at least one processor, the electronic device causes the at least one processor to implement the video editing method according to any one of claims 1 to 4 and 6 to 9.
14. A computer-readable storage medium storing a computer program that, when executed by a processor, implements the video editing method according to any one of claims 1 to 4 and 6 to 9.
Citation Information
Patent Citations
Method and system for acquiring video materials on same interface and conducting production on video materials
CN104811629A
Cloud cutting live broadcast editing method and system thereof
CN109168015A
Video processing method, system, terminal equipment and system of mobile device
CN110383820A
Multimedia resource editing method and device, equipment and storage medium
CN113079405A
Content playback apparatus, content playback method and content playback program
JP2007200373A