Video material clipping method and device
The method automates video split-screen combining by determining a split-screen template and displaying overlapping video track segments, enhancing clip efficiency and user experience.
Patent Information
- Application Number
- JP2023579311
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2022-09-30
- Filing Date
- 2023-09-25
- Publication Date
- 2025-12-09
- Estimated Expiration
- 2043-09-25
AI Technical Summary
Current video clip methods require manual layout of multiple video materials for achieving a desired combined effect, leading to low efficiency.
A method and apparatus for video footage clipping that automatically determines a video split-screen template, displays video track segments on an editing track, and forms a video editing image with overlapping segments, allowing for fast split-screen combining without manual adjustments.
Enhances video clip efficiency by automating the split-screen combining process, improving user experience through visualization and reducing the need for manual adjustments.
Smart Images

Figure 0007782792000001 
Figure 0007782792000002 
Figure 0007782792000003
Abstract
Description
[Technical Field]
[0001] [CROSS-REFERENCE TO RELATED APPLICATIONS] This application claims priority from Chinese Patent Application No. 202211231854.1 filed on September 30, 2022, the entire contents of which are incorporated herein by reference.
[0002] [Technical field] The present disclosure relates to a video footage clipping method and apparatus. [Background technology]
[0003] With the rapid development of Internet technology, users can clip videos or images through application programs in electronic devices to obtain videos with rich visual effects. In video clip scenarios, users often combine multiple video materials to simultaneously display the contents of multiple video materials on a screen. Currently, users manually lay out the video materials to achieve the desired combined effect, but this method results in low video clip efficiency. Summary of the Invention [Means for solving the problem]
[0004] To solve the above technical problems, the present disclosure provides a video material clipping method and apparatus.
[0005] The present disclosure provides a video footage clipping method, acquiring a plurality of video footage; determining a video split screen template for indicating multiple split screen regions within the same video image; displaying a plurality of video track segments on a video edit track to display a video edit image formed from video images of the plurality of video track segments according to the video split-screen template; the plurality of video track segments are formed based on the plurality of video materials, at least one video material from the plurality of video materials is used to form one video track segment from the plurality of video track segments, and video materials for forming different video track segments from the plurality of video track segments are different video materials from the plurality of video materials; the plurality of video track segments at least partially overlap in corresponding timeline intervals on the video edit track; The video editing image has the plurality of split screen areas indicated by the video split screen template, the split screen areas in the video editing image are used to display video images of video track segments in the plurality of video tracks, and different split screen areas in the video editing image are used to display images of different video track segments in the plurality of video track segments.
[0006] In some embodiments, the method further includes accessing a video clip page based on a video split screen template used by the plurality of video track segments, and displaying a video edited image formed from video images of the plurality of video track segments in accordance with the video split screen template on the video clip page.
[0007] In some embodiments, after accessing the video clip page, in the corresponding clip draft file, one of the video track segments is set as a video track segment on the main track, and all other video track segments are set as video track segments on picture-in-picture tracks.
[0008] In some embodiments, the step of setting one said video track segment as a video track segment on a main track and all other said video track segments as video track segments on picture-in-picture tracks comprises: When the plurality of video track segments correspond one-to-one to the plurality of video materials, the method includes a step of setting the video track segment formed by the first acquired video material as the video track segment on the main track, and setting the video track segments formed by the other video materials as the video track segments on the picture-in-picture track, according to the order of acquiring the plurality of video materials.
[0009] In some embodiments, the step of displaying a video compilation image formed from video images of the plurality of video track segments in accordance with the video split screen template comprises: obtaining a canvas size corresponding to the video clip; determining a size and a position within the canvas of each of the video images of the plurality of video track segments based on obtaining video editing track information of the plurality of video track segments, a mapping relationship between the plurality of split screen areas and the video editing tracks indicated by the video split screen template, and a size of the canvas; and embedding the video images of the plurality of video track segments within the canvas based on the size and position of each of the video images of the plurality of video track segments within the canvas, and displaying the canvas to display a video edited image formed with the video images of the plurality of video track segments according to the video split screen template.
[0010] In some embodiments, the duration of the video track segments formed based on the video content matches the length of the timeline, and the start times of the video track segments are aligned on the timeline.
[0011] In some embodiments, when forming one of the plurality of video track segments based on at least one of the plurality of video materials, one or more video processing methods of video speed modification, insertion or joining of video segments of specified content are used to process the at least one video material to obtain a video track segment whose duration matches the length of the timeline.
[0012] In some embodiments, the method further includes the step of, in response to a video split screen template switching command, displaying a video edited image formed from video images of the plurality of video track segments according to a video split screen template indicated by the video split screen template switching command, wherein the video split screen template indicated by the video split screen template switching command has a layout different from that of the plurality of split screen areas indicated by the video split screen template used before switching.
[0013] In some embodiments, the method further includes, in response to a preview playback command, playing a video edit image formed from video images of the plurality of video track segments according to the video split screen template based on the timeline, wherein during playback, when a preview playback position is on the timeline within a timeline interval covered by the video track segments, the video images of the video track segments are displayed in the video edit image, and when the preview playback position is on the timeline outside a timeline interval covered by the video track segments, a preset background is displayed in a split screen area corresponding to the video track segment in the video edit image.
[0014] In some embodiments, the method further includes, in response to the adjustment command for a video track segment, adjusting the position, orientation or size of the video image of the video track segment within the corresponding split screen area, or exchanging the split screen areas corresponding to the video image of a different video track segment, or replacing the video track segment within the split screen area, or mirroring the video image of the video track segment within the corresponding split screen area.
[0015] The present disclosure provides a video material clipping device, an acquisition module for acquiring a plurality of video materials; a template determination module for determining a video split-screen template for indicating multiple split-screen regions within the same video image; a video processing module for displaying a plurality of video track segments on a video edit track and forming a video image of the plurality of video track segments into a video edit image according to the video split-screen template; a display module for displaying the video editing image; the plurality of video track segments are formed based on the plurality of video materials, at least one video material from the plurality of video materials is used to form one video track segment from the plurality of video track segments, and video materials for forming different video track segments from the plurality of video track segments are different video materials from the plurality of video materials; the plurality of video track segments at least partially overlap in corresponding timeline intervals on the video edit track; The video editing image has the plurality of split screen areas indicated by the video split screen template, the split screen areas in the video editing image are used to display video images of video track segments in the plurality of video tracks, and different split screen areas in the video editing image are used to display images of different video track segments in the plurality of video track segments.
[0016] The present disclosure provides an electronic device, including a memory and a processor, the memory configured to store computer program instructions; The processor is configured to execute the computer program instructions, and the electronic device executes the computer program instructions to cause the electronic device to implement the video material clipping method.
[0017] The present disclosure provides a readable storage medium, which includes computer program instructions, and an electronic device executes the computer program instructions to cause the electronic device to implement the above-mentioned video material clipping method.
[0018] The present disclosure provides a computer program product, and an electronic device executes the computer program product to cause the electronic device to implement the above-described video material clipping method.
[0019]
[0009] An embodiment of the present disclosure provides a video footage clipping method and apparatus, the method including: acquiring a plurality of video footage; determining a video split-screen template; displaying a plurality of video track segments formed based on the plurality of video footage on a video edit track; and displaying a video edited image formed from the video images of the plurality of video track segments according to the video split-screen template, thereby performing split-screen display of the video images of the plurality of video track segments through a plurality of split-screen areas within the video edited image, wherein at least one video footage of the plurality of video footage is used to form one of the plurality of video track segments, and the video footage forming the different video track segments is not completely identical, and when performing video split-screen combining, the plurality of video track segments at least partially overlap in corresponding timeline sections on the video edit track. The method of the present disclosure can achieve fast split-screen combining of multiple video footage through a video clipping tool, eliminating the need for manual adjustments and satisfying users' needs for fast video clip combining, and improving video footage clipping efficiency by automatically performing video split-screen combining.
[0020] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure.
[0021] In order to more clearly describe the embodiments of the present disclosure, the drawings that need to be used in the embodiments are briefly described below, and obviously, those skilled in the art can also obtain other drawings based on these drawings without requiring creative work. [Brief explanation of the drawings]
[0022] [Figure 1] 1 is a flowchart of a video material clipping method according to an embodiment of the present disclosure. [Figure 2]FIG. 10 is a schematic diagram illustrating an exemplary embodiment of the present disclosure in which two video track segments support video split screen merging using a video split screen template having two split screens, left and right. [Figure 3] 10 is a flowchart of a video footage clipping method according to another embodiment of the present disclosure. [Figure 4A] FIG. 1 is a schematic diagram of a man-machine interaction interface according to the present disclosure. [Figure 4B] FIG. 1 is a schematic diagram of a man-machine interaction interface according to the present disclosure. [Figure 4C] FIG. 1 is a schematic diagram of a man-machine interaction interface according to the present disclosure. [Figure 4D] FIG. 1 is a schematic diagram of a man-machine interaction interface according to the present disclosure. [Figure 4E] FIG. 1 is a schematic diagram of a man-machine interaction interface according to the present disclosure. [Figure 4F] FIG. 1 is a schematic diagram of a man-machine interaction interface according to the present disclosure. [Figure 4G] FIG. 1 is a schematic diagram of a man-machine interaction interface according to the present disclosure. [Figure 4H] FIG. 1 is a schematic diagram of a man-machine interaction interface according to the present disclosure. [Figure 4I] FIG. 1 is a schematic diagram of a man-machine interaction interface according to the present disclosure. [Figure 5] 1 is a structural schematic diagram of a video material clipping device according to an embodiment of the present disclosure; DETAILED DESCRIPTION OF THE INVENTION
[0023] In order to make the above-mentioned objects, features and advantages of the present disclosure more clearly understood, the solutions of the present disclosure will be further described below. As needed to explain, when not contradictory, the embodiments and features in the embodiments of the present disclosure can be combined with each other.
[0024] In the following description, many specific details are set forth in order to fully understand the present disclosure, but the present disclosure may be implemented in other ways different from those described herein. Obviously, the embodiments in the specification are only a part of the embodiments of the present disclosure, but are not all of the embodiments.
[0025] For example, the present disclosure provides a video material clipping method and apparatus, which displays a plurality of video track segments formed based on a plurality of video materials on a video editing track, and displays a video editing image formed from the video images of the plurality of video track segments according to a video split-screen template, thereby performing split-screen display of the video images of the plurality of video track segments through a plurality of split-screen areas in the video editing image, where at least one video material from the plurality of video materials is used to form one of the plurality of video track segments, and the video materials forming the different video track segments are not completely identical, and when performing video split-screen combining, the plurality of video track segments at least partially overlap in corresponding timeline sections on the video editing track, thereby ensuring the video split-screen combining effect. The method of the present disclosure can achieve fast split-screen combining of multiple video materials using a video clipping tool, eliminating the need for manual adjustments and satisfying users' needs for fast video clip combining, and improving video material clipping efficiency by automatically performing video split-screen combining.
[0026] The video clip tool can also provide users with a visualization component to trigger video split screen joining, which is advantageous for user convenience and improves the user's clip experience.
[0027] The video material clipping method of the present disclosure is performed by an electronic device. The electronic device may be a tablet computer, a mobile phone (such as a flip phone or a large-screen phone), a wearable device, an in-vehicle device, an augmented reality (AR) / virtual reality (VR) device, a laptop, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), a smart TV, a smart screen, a high-definition TV, a 4K TV, a smart speaker, a smart projector, or other Internet of Things (IoT) device. The present disclosure does not limit the specific type of electronic device. The present disclosure does not limit the type of operating system of the electronic device. Examples include the Android® system, Linux® system, Windows® system, and iOS system.
[0028] Based on the above description, the embodiment of the present disclosure takes an electronic device as an example, and combines drawings and application scenarios to describe in detail the video material clipping method according to the present disclosure.
[0029] 1 is a flowchart of a video material clipping method according to an embodiment of the present disclosure. As shown in FIG. 1, the method of this embodiment includes the following steps S101 to S103.
[0030] S101, acquiring multiple video materials;
[0031] In some embodiments, the electronic device may display a material selection page to the user, which is used to aggregate and display identification information of video materials that the user can select and edit, for example, by displaying thumbnails of videos and images in an album on the electronic device, and the electronic device may retrieve multiple video materials based on the user's selection.
[0032] The present disclosure does not limit any of the parameters such as the number of multiple video materials selected by the user, the format of the video content and video materials, the resolution, etc.
[0033] In some embodiments, to ensure the video split screen combining effect, a minimum number of video materials that need to be acquired can be set, for example, at least two video materials need to be acquired, and when the number of video materials selected by the user is less than the minimum number of video materials that need to be acquired, the electronic device can display prompt information to the user to prompt the user to add video materials.
[0034] In some other embodiments, in order to avoid the situation where the number of video track segments formed by too many video materials is too large, which may cause the screen of the video editing image formed by the split screen combination to be cluttered due to the split screen combination and result in a poor combination effect, a maximum number of video materials that can be acquired can be set, and when the maximum number of video materials that can be acquired is exceeded, the electronic device can also display prompt information to the user to prompt the user to reduce the video materials, and of course, the maximum number of video materials that can be acquired does not have to be limited.
[0035] S102, determining a video split-screen template for indicating multiple split-screen regions within the same video image.
[0036] The electronic device can determine the video split screen template in response to a video split screen combining command entered by a user, or the electronic device can determine the video split screen template after a user initiates clip creation but before selecting video material.
[0037] In some embodiments, the electronic device may display a target control on a page displayed to a user, and the user may input a video split screen combining command to the electronic device by operating the target control. For example, but not limited to, the target control may be displayed on a material selection page. The target control may be implemented in any manner, and the present disclosure does not limit parameters such as the size, position, style, and effect of the target control. For example, the style of the target control may use display forms such as letters, alphabets, numbers, icons, and pictures.
[0038] In some other embodiments, the electronic device may display a pop-up window to inquire whether the user needs to perform split-screen video material combination, and input a video split-screen combination command into the electronic device based on the user's confirmation. If the user selects skip, the electronic device may access a video clip page based on the acquired multiple video materials and perform video material clipping according to the existing method of the video clip tool in the electronic device. Of course, the user may also input a video split-screen combination command into the electronic device in other ways, such as voice, gesture, or combined gesture.
[0039] The number of split screen regions indicated by the video split screen template determined in this step may or may not match the number of video materials selected by the user, and this disclosure is not limited thereto. In some embodiments, a video split screen template that matches the number of split screens can be matched based on the number of video materials. In other embodiments, the video split screen template can be determined based on a preset scheme, randomly selected, or a policy for forming video track segments based on the video materials.
[0040] This disclosure does not limit the implementation method for determining the video split-screen template.
[0041] As is necessary to explain, the order in which steps S101 and S102 are executed in this embodiment may be reversed.
[0042] The electronic device can store video split screen templates supporting multiple different numbers of split screen regions in advance to form a collection of video split screen templates, and when a video split screen combining command is received, a matching is performed among the collection of video split screen templates based on the number of video materials selected by the user for the current video clip, and a video split screen template to be used is determined from multiple candidate combined templates that have been successfully matched. The video split screen template to be used may be determined based on one or more of the number of times the candidate combined template has been used, the number of times it has been stored, or history information of the video split screen templates used by the user in the video clip, or any of the candidate combined templates may be randomly determined as the video split screen template to be used.
[0043] In some other embodiments, the video split screen template may be specified in advance. For example, video split screen templates corresponding to two split screens, three split screens, and four split screens may be specified in advance. When a video split screen combining command is received, the video split screen template for the corresponding number of split screens specified in advance may be determined as the video split screen template to be used based on the determined number of split screens.
[0044] S103, displaying a plurality of video track segments on a video editing track to display a video editing image formed by video images of the plurality of video track segments according to the video split screen template.
[0045] After obtaining a plurality of video materials and determining a video split screen template, a split screen combination page can be accessed, and when the split screen combination page is accessed, video track segments corresponding to the number of split screen areas indicated by the video split screen template can be formed based on the plurality of video materials, the plurality of video track segments can be displayed on a video editing track, and a video editing image formed of video images of the plurality of video track segments according to the video split screen template can be displayed on the split screen combination page.
[0046] The multiple video track segments are formed based on multiple video materials, and at least one of the multiple video materials is used to form one of the multiple video track segments. The present disclosure does not limit the specific implementation of forming the video track segments from the video materials. For example, a video track segment corresponding to the video material may be generated without any video processing performed on the video material, or the corresponding video track segment may be obtained by processing at least one video material to form the video track segment using one or more video processing methods, such as splicing, speed change, repeat cycle, or insertion of a video segment with specified content. The multiple formed video track segments may have the same, different, or completely different time lengths, and the present disclosure does not limit this.
[0047] Furthermore, the video materials forming different video track segments within the plurality of video track segments are different video materials within the plurality of video materials, i.e., the video materials forming different video track segments may be completely different video materials within the plurality of video materials, or may not be completely the same video materials. For example, if there are video materials 1 to 3, video track segments 1 to 3 can be formed based on video materials 1 to 3, respectively, in which case the video materials forming the different video track segments are completely different video materials; or video materials 1 and 2 can be used to form video track segment 1, and video material 2 and video material 3 can be used to form video track segment 2, in which case the video materials forming the different video track segments are not completely the same video materials.
[0048] In a video clip, multiple video track segments formed based on multiple video materials are displayed on corresponding video editing tracks, and one video editing track displays one video track segment correspondingly, and the present solution may include multiple video editing tracks, and the number of video editing tracks may match the number of video track segments.
[0049] In this embodiment, multiple video track segments at least partially overlap in corresponding timeline sections on the video editing track. The timeline length of the video editing track is determined by the video track segment with the longest duration. For example, multiple video track segments can be considered to completely overlap in the time dimension if the time lengths of the multiple video track segments match and are aligned in corresponding timeline sections on the video editing track. If the time lengths of the multiple video tracks do not match, or if the time lengths of the multiple video track segments match but are not perfectly aligned on the video editing track, the video track segments overlapping at different time positions on the video clip track may be different. Therefore, by ensuring that multiple video track segments at least partially overlap in corresponding timeline sections on the video editing track, it is possible to ensure that video split-screen merging has a noticeable split-screen merging effect when performed within the overlapping range of the timeline sections.
[0050] The electronic device can display a split-screen merging page for the user and display a video editing image on the split-screen merging page, allowing the user to preview the merging effect of the split-screen merging of video materials through the split-screen merging page. The video editing image has multiple split-screen areas indicated by the video split-screen template, where the split-screen areas in the video editing image are used to display video images of video track segments in the multiple video tracks, and different split-screen areas in the video editing image are used to display images of different video track segments in the multiple video track segments. As can be understood, the multiple split-screen areas in the video editing image correspond one-to-one to the multiple video track segments. The size of the video editing image may differ from the size of the display area displaying the video editing image in the split-screen merging page, and the size of the video editing image can be adjusted to fit the size of the corresponding display area to ensure that the video editing image can be fully displayed on the display screen of the electronic device.
[0051] Because there may be differences in the time lengths of the video track segments and because the video track segments are aligned by timeline intervals on the video editing track, there may be differences in the video track segments that overlap at different preview display positions; for example, at some preview display positions, all video track segments overlap, and at some preview display positions, only some video track segments overlap.
[0052] Therefore, when displaying the video editing image, it can be realized in the following manner.
[0053] When the preview display position on the timeline is within the timeline section corresponding to the video track segment, the video image corresponding to the video track segment is displayed at the corresponding pre-display position in the split screen area corresponding to the video track segment in the video editing image; when the preview display position on the timeline is outside the timeline section corresponding to the video track segment, a preset background such as a black background is displayed in the split screen area corresponding to the video track segment in the video editing image to present a black screen display effect; of course, other set backgrounds such as other solid backgrounds or patterned backgrounds can also be displayed.
[0054] The method disclosed herein can realize fast split-screen merging of multiple video track segments formed based on multiple video materials through a video clip tool, eliminating the need for manual adjustment, meeting the clipping needs of users to quickly perform video split-screen merging, and improving the clipping efficiency of video materials by automatically performing video split-screen merging.
[0055] Based on the embodiment shown in FIG. 1, displaying a video edited image formed by the video images of the plurality of video track segments according to the video split screen template can be realized in the following manner.
[0056] Step a1: Obtain the canvas size corresponding to the video clip.
[0057] Step a2: Based on obtaining the video editing track information of the plurality of video track segments, the mapping relationship between the plurality of split screen areas and the video editing tracks indicated by the video split screen template, and the size of the canvas, determine the size and position of each of the video images of the plurality of video track segments within the canvas.
[0058] In some embodiments, the split screen areas corresponding to each of the multiple video track segments are determined based on a correspondence between the multiple video track segments and the multiple split screen areas indicated by the video split screen template, and the size of the canvas may match the size of the video image, so that each split screen area indicated by the video split screen template can be mapped to a different canvas area of the canvas, and there is a correspondence between the split screen areas and the canvas areas, and determining the split screen area corresponding to each video track segment is equivalent to determining the canvas area corresponding to each video track segment, and the size and position of the split screen area corresponding to the video track segment is, i.e., the size and position within the canvas of each of the video images of the video track segment.
[0059] Step a3: based on the size of each of the video images of the video track segments within the canvas, adjust the size of the video images of the video track segments to match the size of the corresponding split screen area, and then embed the video images whose size has been adjusted based on the position of the video images of the video track segments within the canvas into the canvas.
[0060] Step a4: displaying the canvas to display a video edited image formed by the video images of the plurality of video track segments according to the video split screen template.
[0061] The size of the canvas onto which the video images of multiple video track segments are embedded may not match the size of the screen area for displaying the video editing image on the display screen of the electronic device. During display, the size of the canvas and the size of the video image on the canvas can be adjusted to fit the corresponding screen area and size. As should be understood, adjusting the size of the canvas and the size of the video image is used to fit the display and derive the size of the clipped target video without affecting the completion of the video split screen joining and the entire clip. As shown in Figure 2, taking video split screen joining between two video track segments as an example, assuming that the corresponding video split screen template has two split screens, left and right, the video split screen template with two split screens, left and right, is exemplarily shown in block S1 in Figure 2. When split screen joining is performed on video track segment 1 and video track segment 2, the left split screen area S1a corresponding to video track segment 1 and the right split screen area S1b corresponding to video track segment 2 are determined according to the order of the video edit tracks corresponding to video track segments 1 and 2, respectively, and the correspondence between the split screen areas S1a and S1b in the split screen joining template. Assuming that the size of the canvas of the video clip matches the size of the video split screen template, the size and position of the video image of video track segment 1 within the canvas are determined based on the size and position of split screen area S1a, where the height of the video image of video track segment 1 matches the height of the canvas and the width of the video image of video track segment 1 is equal to half the width of the canvas. Then, based on the position of split screen area S1a, the position of the video image of video track segment 1 within the canvas is determined. Assuming that the center of the canvas is the origin, the normalized coordinate ranges along the abscissa and ordinate axes are both -0.5 to 0.5. The coordinate points of several positions are shown in Figure 2, and the coordinate position of the center of video track segment 1 within the canvas is (-0.25, 0).By processing video track segment 2 in a similar manner, it can be determined that the video image of video track segment 2 has a height in the canvas that matches the canvas, a width that is half the width of the canvas, and a normalized coordinate position in the canvas of the center of video material 2 at (0.25,0).The video images of video track segments 1 and 2, having been adjusted in size, can then be embedded into the canvas according to the normalized coordinate positions in the canvas of their respective centers.
[0062] As is necessary to explain, FIG. 2 uses a video split screen template in which two video track segments have two split screens, left and right, as an example for illustrative purposes, and the process of realizing video split screen merging using a video split screen template for more video track segments is similar.
[0063] FIG. 3 is a flowchart of a video material clipping method according to another embodiment of the present disclosure.
[0064] As shown in FIG. 3, optionally, based on the embodiment shown in FIG. 1, after S103, the following step S104 is further included.
[0065] S104, in response to a video split screen template switching command, displaying a video edited image formed of video images of the plurality of video track segments according to the video split screen template indicated by the video split screen template switching command.
[0066] The video split screen template indicated by the video split screen template switching command has a different layout of the split screen areas indicated by the video split screen template used before the switching, but the number of supported split screen areas is the same. The layout of the split screen areas indicated by the video split screen template can be realized by the sizes and positions of the split screen areas.
[0067] In response to the video split screen template switching command, the electronic device applies the video split screen template indicated by the video split screen template switching command to the plurality of video track segments, and forms a video editing image according to the video split screen template indicated by the video split screen template switching command based on the video images of the plurality of video track segments, and displays it on the split screen combining page, so that the user can preview the video split screen combining effect. The implementation manner of applying the video split screen template indicated by the video split screen template switching command to the plurality of video track segments to form the video editing image and the implementation manner of displaying the video editing image are similar to the embodiment shown in Fig. 1, and reference may be made to the detailed description of the embodiment shown in Fig. 1, and detailed descriptions thereof will be omitted here for brevity.
[0068] The electronic device can display one or more video split screen templates on a split screen combination page for a user to select from, and can obtain a video split screen template switching command in response to a user's trigger operation on any of the video split screen templates.
[0069] The present disclosure meets the user's clip needs by displaying other selectable video split screen templates to the user and supporting the user to switch between video split screen templates and replace the split screen combining effect presented by the video editing image formed with the image video of the video track segment based on the video split screen template.
[0070] As shown in FIG. 3, optionally, based on the embodiment shown in FIG. 1, after S103, the following step S105 is further included.
[0071] S105, in response to a preview playback command, playing a video edited image formed of video images of the plurality of video track segments according to the video split-screen template based on the timeline.
[0072] In some embodiments, a playback control can be displayed on the split screen combination page, and a user can input a preview playback command to the electronic device by operating the playback control. In response to the preview playback command, the electronic device plays a video edited image formed from video images of the multiple video track segments according to the video split screen template based on the timeline, and the effect of the preview playback is to simultaneously play multiple video track segments in their corresponding split screen areas.
[0073] During playback, when a preview playback position is on the timeline within a timeline section covered by the video track segment, a video image of the video track segment is displayed in the video editing image through a corresponding split screen area, and when the preview playback position is on the timeline outside the timeline section covered by the video track segment, a preset background is displayed in the split screen area corresponding to the video track segment in the video editing image.
[0074] Taking the video split screen template shown in Figure 2 as an example, assuming that video track segment 1 is 5 seconds long and video track segment 2 is 8 seconds long, and video track segments 1 and 2 are aligned along the timeline of the video editing track, the two video track segments from 0 to 5 seconds on the timeline are simultaneously played in their corresponding split screen areas. However, since video track segment 1 is not long enough from 5 to 8 seconds and its corresponding timeline section does not cover the 5-8 second period on the timeline, a black background is displayed in split screen area S1a and the video image of video track segment 2 is displayed in split screen area S1b during the 5-8 second period. When playback ends, the video track is automatically positioned at the start time position of the timeline.
[0075] In addition, during preview playback, some trigger operations by the user can interrupt the preview playback, such as clicking to switch the selected video track segment during playback, switching the video split screen, or clicking the display area to display the video editing image (i.e., the preview playback screen) in the split screen combination page, which will trigger a pause of playback. The visual effect presented when playback is paused is that the playback of multiple video track segments is paused simultaneously. Based on this, if the user triggers the playback control again, playback will continue from the preview display position that triggered the interruption.
[0076] During preview playback, the user can also trigger the playback control again to control pausing of playback.
[0077] The present disclosure supports users to preview the video split screen combination effect on the split screen combination page, so that users can clearly know whether the video clip effect derived in the current video split screen mode meets their expectations through the preview.
[0078] As shown in FIG. 3, optionally, based on the embodiment shown in FIG. 1, after S103, the following step S106 is further included.
[0079] S106, in response to the adjustment command for the video track segment, adjust the position, orientation or size of the video image of the video track segment within the corresponding split screen area, or exchange the split screen area corresponding to the video image of a different video track segment, or replace the video track segment, or mirror display the video image of the video track segment within the corresponding split screen area.
[0080] The adjustment commands input based on different triggering methods correspond to the above-mentioned different adjustment methods. For example, after selecting a video track segment to be adjusted from the display area displaying the video editing image in the split-screen combined page, the position, direction, or size of the video image of the selected video track segment within the corresponding split-screen area can be controlled and adjusted by a gesture or a combination of gestures. After selecting the video track segment to be adjusted, the video track segment can be dragged to the split-screen area corresponding to another video track segment and then released to exchange the split-screen areas corresponding to the two video track segments. After selecting the video track segment to be adjusted, the electronic device can be triggered to display a corresponding function panel and, based on the controls provided on the function panel, to replace the video track segment or to mirror the video image of the video track segment in the corresponding split-screen area. As should be understood, the above adjustment may be, but is not limited to, for all the video images of the video track segment.
[0081] Of course, triggering different adjustments may be realized by the above examples, but is not limited to them, for example, adjusting the position, size and orientation of the video image of a video track segment within the split screen area may be triggered by corresponding controls within the split screen combined page.
[0082] The present disclosure supports users to make one or more of the above adjustments to video track segments during the video split screen merging process, thereby achieving a video merging effect that meets users' expectations and satisfies users' video clip needs.
[0083] As is necessary to explain, the user may select to perform any of steps S104 to S106, and may repeatedly perform one or more steps according to needs, and when the user performs multiple steps, the order of the multiple steps is not limited, for example, the user may perform step S105 to preview, then perform step S106 to adjust the video track segment, and then perform step S105 to preview playback.
[0084] 1 and 3, if the user determines that the video split screen combining effect meets his / her expectations, the electronic device can access the video clip page and perform other clip operations, video deriving operations, etc. As shown in FIG. 3, the following step S107 may optionally be included.
[0085] S107, access a video clip page based on the video split screen template used by the plurality of video track segments, and display a video edited image formed from the video images of the plurality of video track segments in the video clip page according to the video split screen template.
[0086] When the split screen combination is completed, information of the multiple video track segments and the video split screen combination corresponding to the multiple video track segments can be introduced into a corresponding clip draft file in response to a user's trigger operation, and the corresponding clip page can be displayed to display a video edited image formed from the video images of the multiple video track segments according to the video split screen template in a preview area of the clip page.
[0087] Also, in the corresponding clip draft file, one video track segment of the plurality of video track segments is set as a video track segment on the main track, and all other video track segments except the video segment on the main track are set as video track segments on the picture-in-picture track.
[0088] In some embodiments, when forming video track segments that correspond one-to-one to the video materials based on multiple video materials, in the clip draft file, according to the order in which the multiple video materials are acquired, the video track segment formed from the video material acquired first is set as the video track segment on the main track, and the video track segments formed from the other video materials are set as video track segments on the picture-in-picture track.
[0089] Multiple video track segments are provided with a main track and a picture-in-picture track, and the video clip tool can utilize the existing video clip tool logic framework to respond to subsequent user clip operations according to picture-in-picture processing logic.
[0090] As should be explained, after accessing the clip page, the user may perform a new clip operation via the clip page and then derive the clipped target video, or may derive the clipped target video without performing a new clip operation.
[0091] In order to more clearly explain the video footage clipping method according to the present disclosure, the specific implementation process of the video footage clipping method according to the present disclosure will be described below in combination with Figures 4A to 4I. For ease of explanation, Figures 4A to 4I show that the electronic device is a mobile phone, and APP1 (abbreviated as Application 1) supporting a video clipping function is installed on the mobile phone.
[0092] Referring to FIGS. 4A to 4I, FIGS. 4A to 4I are schematic diagrams of a man-machine interaction interface according to an embodiment of the present disclosure.
[0093] 4A on the mobile phone, the user interface 11 is used to display the material selection page of the application 1, and the material selection page may be accessed through a creation entry provided on the home page of the application 1, or through other entries / paths provided by the application 1, and the present disclosure does not limit the manner of accessing the material selection page. The application 1 aggregates and displays material identifications to the user on the material selection page, and can select materials based on the user's operations, trigger split-screen merging, enter clipping, etc.
[0094] As shown in FIG. 4A, the user interface 11 includes an area 101, a control 102, and a control 103.
[0095] Area 101 can display thumbnails of materials such as images, photos, and videos included in an album, and can display them according to different categories. Multiple labels can be set in area 101, and thumbnails of materials with the corresponding labels are aggregated and displayed based on the selected label. Because the size of area 101 is limited, it may not be possible to display all thumbnails of materials at once, so the user can view more materials by sliding up and down. In area 101, each material corresponds to display area a1, and area a1 displays thumbnails of the corresponding material. For video materials, area a1 can also display the duration of the video material. When a user selects a material, a selection mark and order information can be displayed in area a1, and the display style (e.g., color, edge line of area a1, brightness, etc.) of area a1 corresponding to the material selected by the user can be different to distinguish the material selected by the user from unselected material.
[0096] The control 102 is used to trigger a video split screen join for the captured video material, and therefore the control 102 can also be understood as an entry to access a split screen join page. The name of the control 102 may be "Join."
[0097] Control 103 is used to import selected video material into the clip draft and trigger access to the clip page to clip the video material, where application 1 can perform a set of functions on the imported material, such as adding special effects, stickers, picture-in-picture, text, audio, etc.
[0098] This disclosure does not limit the display style of the control 102 and the control 103 .
[0099] As should be explained, when a user selects material as an image or a photo, when the user accesses the split screen combination page based on control 102 or directly accesses the video clip page via control 103, application 1 can generate video material of a preset length based on the image or photo, and the present disclosure does not limit the preset length, for example, the preset length may be 2 seconds, 3 seconds, etc.
[0100] Assume that the user selects four video materials on the material selection page, and when the split screen combination page is accessed, application 1 will form video track segments 1 to 4 that correspond one-to-one to the four video materials based on the four video materials. Since this is an example in which no arbitrary video processing is performed, the formed video track segments 1 to 4 can be understood to be the original video materials 1 to 4.
[0101] After the application 1 receives a user operation such as clicking the control 102 on the user interface 11 shown in FIG. 4A, the application 1 generates a video split screen combination command based on the user operation, and in response to the video split screen combination command, the application 1 exemplarily displays the user interface 12 shown in FIG. 4B on the mobile phone, where the user interface 12 is used to display a split screen combination page, on which the video split screen combination effect can be previewed and adjusted.
[0102] The user interface 12 includes an area 104, an area 105, an area 106, a control 107, and a control 108.
[0103] Area 104 is a preview area of a video edited image formed with video images of multiple video materials according to a video split-screen combining template determined by application 1. Assuming that application 1 automatically matches video split-screen template 1 to multiple video materials, as shown in Figure 4B, the four split-screen areas indicated by video split-screen template 1 are the same size and arranged in two rows and two columns, with video material 1 corresponding to the split-screen area in the first row and first column, video material 2 corresponding to the split-screen area in the first row and second column, video material 3 corresponding to the split-screen area in the second row and first column, and video material 4 corresponding to the split-screen area in the second row and second column.
[0104] Area 105 is used to display a progress bar, which can represent the progress of playback and also show the timeline of the video editing track, and can be manually dragged by the user.
[0105] The area 106 may include a label 109, which is used to trigger the display of more video split screen templates that support four video materials in the area 106. When the user clicks on the label 109, the area 106 can display a preset number of video split screen templates that support four video materials, and arrange and display them in a set manner, for example, arranged horizontally from left to right, and can be positioned by default on the currently used video split screen template 1, which can be displayed in the leftmost position of the area 106. 4B, four video split screen templates are displayed in area 106, respectively designated as video split screen templates 1 to 4. Suppose video split screen template 1 is selected by default and the user clicks video split screen template 2. Then, application 1 can exemplarily display user interface 13 shown in FIG. 4C on the mobile phone, display a canvas in area 104 of user interface 13, and form the video images of the four video materials on the canvas into a video edited image according to the split screen areas designated by video split screen template 2. The corresponding video edited image is displayed in area 104, and video split screen template 2 in area 106 is in a selected state. By displaying video split screen templates in area 106 whose number of split screen areas matches the number of video materials selected by the user, the user can quickly select and switch between the video split screen templates they want to use, which is advantageous for improving editing efficiency.
[0106] As should be explained, the area 106 may further include other labels, such as a label named "AA" in the area 106, which may correspond to a specified function panel, and is not specifically limited here, and the labels of the functions to be set on the split screen combined page can be determined according to needs.
[0107] Control 107 is an entry for logging out of the split screen combination page, and application 1 can receive a trigger operation on control 107 from the user to return to and display the material selection page shown in Figure 4A, with the material selection page in the state it was in before access and the previously selected material still in the selected state. The user can access the split screen combination page multiple times via control 102, and can log out of the split screen combination page via control 107 and return to the material selection page.
[0108] Control 108 is a playback control that controls the display of a video edit image formed from multiple video materials in area 104 according to a timeline and a video split-screen template, thereby presenting the effect of simultaneously playing or pausing each video material in its corresponding split-screen area. In some embodiments, the split-screen combination page shown in FIG. 4B is accessed from the material selection page, and the playback progress is set to the time position of the first frame by default and is paused. The user can reposition the preview display position by dragging the progress bar in area 105 and control simultaneous playback / pause in the split-screen areas corresponding to each of the four video materials by operating control 108. Because the video materials have different lengths, when playback of a shorter video material ends, the corresponding split-screen area may be displayed with a black screen, but this is not limited to this.
[0109] Continuing with FIG. 4B, displaying split-screen regions corresponding to different video material in area 104 is operable, and a user can select video material via the split-screen regions corresponding to the video material and adjust the video material within area 104.
[0110] In some embodiments, a user may select video material by clicking on a split-screen area corresponding to the video material in area 104, and the display style of the selected video material in area 104 may be different from the display style of other unselected video material, for example, the selected video material may be displayed semi-transparently, and any of the above adjustments may be performed on the selected video material by different operations.
[0111] 1. Adjust the position of the video image of the video material within the corresponding split screen area.
[0112] Assuming that a selected video material is long-pressed and dragged within the split-screen area corresponding to the video material, the position of the video image of the video material in the corresponding split-screen area can be moved, and when the video material is dragged to the boundary position of the split-screen area, application 1 can prompt the user by vibration, text, or other methods. For example, in the user interface 14 shown in Figure 4D, the user clicks on the split-screen area of video material 2 to select video material 2, and drags video material 2 along the direction indicated by the arrow to move the video image of video material 2 downward into the corresponding split-screen area, and the image area portion of video material 2 moved outside the split-screen area may not be displayed in area 104.
[0113] 2. Adjust the size of the video material within the corresponding split screen area
[0114] The user can simultaneously press and hold the selected video material with two fingers and then use two fingers to zoom in and out within the area corresponding to the video material to adjust the size of the video material within the split-screen area. When the boundary of the video material is aligned with the size of the corresponding split-screen area, application 1 can prompt the user by vibration, text, or other means. For example, in the case of user interface 15 shown in FIG. 4E, the user selects video material 2 by clicking the split-screen area corresponding to video material 2, and then uses two fingers to zoom in and out to zoom out the size of the video image of video material 2 within the corresponding split-screen area. (The implementation method for zooming in on a video material is similar.)
[0115] 3. Swap the split screen area of different video sources
[0116] A selected video material can be long pressed and dragged to the position of another video material's split-screen area, and then the finger can be released to trigger the swap of the split-screen areas, causing a video split-screen combining effect of the swapped split-screen areas to be displayed in area 104, and the video material will adapt to the size of the corresponding split-screen area after the split-screen areas have been swapped. When a video material is selected, the edge box of the image area corresponding to the video material can be highlighted, and when the selected video material is dragged to the position of another split-screen area, the edge box of the video image area corresponding to the video material dragged with the finger will always remain highlighted, and when the finger is released to trigger the video material to swap the split-screen areas or return the video material to the original split-screen area, the edge box of the video image area of the corresponding video material will no longer be highlighted.
[0117] As should be understood, other display styles can also be used to highlight the video material that adjusts the split screen area selected by the user, and are not limited to highlighting the edge box of the image area, but can also be used to highlight the selected video material by adding a mask with a specific effect, for example.
[0118] For example, in the case of user interface 16 shown in FIG. 4F and user interface 17 shown in FIG. 4G, as shown in user interface 16, the user presses and holds the split screen area corresponding to video material 2 to select video material 2, and then drags video material 2 to the position of the split screen area corresponding to video material 1, thereby triggering video material 1 and video material 2 to exchange their split screen areas. The state shown in user interface 16 is a state in which the exchange of the split screen areas is triggered but the finger is not released, in which video material 1 moves to the position of the split screen area of video material 2, but video material 2 is not yet displayed in the split screen area of video material 1. After the user releases his finger, as shown in user interface 17, video material 1 and video material 2 have successfully exchanged their split screen areas, and after the split screen areas have been successfully exchanged, the two video materials adaptively adjust their sizes to fit the size of the split screen areas.
[0119] Continuing with FIG. 4B, a user can trigger the display of a function panel when single-clicking on a split-screen area of the video material, which can be used to trigger several editing operations on the video material, such as vertical flip, horizontal flip, and rotation of the material.
[0120] Assuming that application 1 receives a trigger operation (e.g., a single click operation) on a split screen area corresponding to video material 2 in area 104, application 1 may exemplarily display user interface 18 shown in FIG. 4H, where user interface 18 includes a functional panel a2 corresponding to video material 2, and functional panel a2 may include controls 110 to 113.
[0121] The control 110 is used to trigger the replacement of the video material, and after the user operates the control 110 (e.g., clicks), the application 1 accesses a material selection page, from which the user can select another material (video material or video material generated based on an image / photo) to replace the video material 2, and the present disclosure can enable repeated introduction of video material.
[0122] The control 111 is used to trigger vertical flip of the video image of the video material within the corresponding split screen area, and the application 1 receives a trigger operation (e.g., a click operation) from the user on the control 111, and the application 1 vertically flips the video image of the video material 2 within the split screen area corresponding to the video material 2, thereby displaying it as a symmetrical mirror image.
[0123] The control 112 is used to trigger horizontal flipping of the video image of the video material within the corresponding split screen area, and the application 1 receives a user's trigger operation (e.g., a click operation) on the control 112, and the application 1 horizontally flips the video image of the video material 2 within the split screen area corresponding to the video material 2, thereby displaying it in a horizontally symmetrical mirror image.
[0124] Control 113 is used to trigger rotation of the video image of the video material within the split screen area, and the rotation angle may be a preset angle, for example, each time control 113 is triggered the selected video material may rotate 90 degrees to the left or 90 degrees to the right.
[0125] As will be appreciated, the function panel may further include other controls that trigger adjustments and is not limited to the exemplary controls 110-113 herein.
[0126] Continuing with FIG. 4B, the user interface 12 further includes an introduction control 114. When the application 1 receives a trigger operation on the introduction control 114, the application 1 introduces and records information of the plurality of video materials and the currently used video split screen template into a clip draft file, jumps to a clip page, and displays a video edited image formed of video images of the plurality of video materials according to the used video split screen template in a preview area of the clip page.
[0127] In a clip draft file, material track information is assigned to each of a plurality of video materials, and the first video material selected by the user, i.e., video material 1, is the video material on the main track, and the remaining video materials are the video materials on the picture-in-picture track (which can also be understood as main track material), i.e., video materials 2 to 3 are the video materials on the picture-in-picture track (which can also be understood as picture-in-picture material), and the order of the plurality of picture-in-picture tracks is arranged according to the order in which the corresponding video materials are obtained.
[0128] Assuming that the user does not switch the video split screen template during the video clip process, application 1 receives a trigger operation on introduction control 114 and exemplarily displays user interface 19 shown in FIG. 4I on the mobile phone, and displays a video edit image formed from video images of video materials 1 to 4 according to video split screen template 1 in preview area 115 included in user interface 19. Application 1 can then respond to the user's clip operation on the clip page according to the manner of the main track material and picture-in-picture track material. For example, application 1 can delete a certain picture-in-picture material and display a preset background in the split screen area corresponding to the picture-in-picture material. Furthermore, for example, when adding a new picture-in-picture material to an existing picture-in-picture track, the picture-in-picture material is embedded in the split screen area of the existing picture-in-picture track, but covers a different timeline section on the video edit track. When adding a new picture-in-picture track, application 1 displays the newly added picture-in-picture material, covering a specified split screen area.
[0129] After the video split screen combining is completed and the clip page is accessed, the picture-in-picture processing logic supported by the application 1 is multiplexed, so that the user can still manually readjust the screen size according to their needs, and there is no need to independently reset the processing logic of the video split screen combining on the video clip page. This can reduce the complexity of the processing logic of the application 1 while meeting the user's video split screen combining clip needs.
[0130] As should be noted, after the user previews the video split screen merging effect on the split screen merging page and adjusts the video material, the user can enter the clipping process by operating the input control 114, i.e., the clipping page can be accessed via the input control displayed in the user interface shown in any of the embodiments of Figures 4C to 4I.
[0131] 5 is a structural diagram of a video footage clipping device according to an embodiment of the present disclosure. As shown in FIG. 5, the device 500 according to this embodiment includes an acquisition module 501, a template determination module 502, a video processing module 503, and a display module 504.
[0132] The acquisition module 501 is used to acquire multiple video materials.
[0133] The template determination module 502 is used to determine a video split-screen template for showing multiple split-screen regions within the same video image.
[0134] The video processing module 503 is used for displaying a plurality of video track segments on a video editing track, and forming video images of the plurality of video track segments into a video editing image according to the video split-screen template.
[0135] The display module 504 is used to display the video editing image.
[0136] the plurality of video track segments are formed based on the plurality of video materials, at least one video material from the plurality of video materials is used to form one video track segment from the plurality of video track segments, and video materials for forming different video track segments from the plurality of video track segments are different video materials from the plurality of video materials; the plurality of video track segments at least partially overlap in corresponding timeline intervals on the video edit track; The video editing image has the plurality of split screen areas indicated by the video split screen template, the split screen areas in the video editing image are used to display video images of video track segments in the plurality of video tracks, and different split screen areas in the video editing image are used to display images of different video track segments in the plurality of video track segments.
[0137] In some embodiments, the video processing module 503 is further used to access a video clip page based on the video split screen template used by the plurality of video track segments, and display a video edited image formed from the video images of the plurality of video track segments in the video clip page according to the video split screen template.
[0138] In some embodiments, the video processing module 503 is further used to, after accessing the video clip page, set one of the video track segments as a video track segment on the main track and set all other video track segments as video track segments on picture-in-picture tracks in the corresponding clip draft file.
[0139] In some embodiments, the video processing module 503 is specifically used to, when the plurality of video track segments correspond one-to-one to the plurality of video materials, set the video track segment formed by the first acquired video material as the video track segment on the main track according to the order of acquiring the plurality of video materials, and set the video track segments formed by the other video materials respectively as the video track segments on the picture-in-picture track.
[0140] In some embodiments, the video processing module 503 is specifically used to obtain the size of a canvas corresponding to a video clip, determine the size and position of each of the video images of the multiple video track segments within the canvas based on obtaining the video editing track information of the multiple video track segments, the mapping relationship between the multiple split screen areas and video editing tracks indicated by the video split screen template, and the size of the canvas, and embed the video images of the multiple video track segments within the canvas based on the size and position of each of the video images of the multiple video track segments within the canvas.
[0141] The display module 504 is specifically used for displaying the canvas to display a video edited image formed by the video images of the plurality of video track segments according to the video split screen template.
[0142] In some embodiments, the duration of the video track segments formed based on the video content matches the length of the timeline, and the start times of the video track segments are aligned on the timeline.
[0143] In some embodiments, when forming one of the plurality of video track segments based on at least one of the plurality of video materials, the video processing module 503 is specifically used to process the at least one video material using one or more video processing methods, including video speed modification, insertion or combination of video segments of specified content, to obtain a video track segment whose duration matches the length of the timeline.
[0144] In some embodiments, the video processing module 503 is further configured to, in response to a video split screen template switching command, display a video edited image formed based on video images of the plurality of video track segments in accordance with a video split screen template indicated by the video split screen template switching command, wherein the video split screen template indicated by the video split screen template switching command has a layout of the plurality of split screen areas different from that indicated by the video split screen template used before switching.
[0145] The display module 504 is further used for displaying a video edited image formed by the video images of the plurality of video track segments according to the video split-screen template indicated by the video split-screen template switching command.
[0146] In some embodiments, the display module 504 is further configured to, in response to a preview playback command, display a video edit image formed of video images of the plurality of video track segments according to the video split screen template based on the timeline, and during playback, when the preview playback position is on the timeline within a timeline interval covered by the video track segments, display the video images of the video track segments in the video edit image via corresponding split screen areas, and when the preview playback position is on the timeline outside the timeline interval covered by the video track segments, display a preset background in the split screen area corresponding to the video track segments in the video edit image.
[0147] In some embodiments, the video processing module 503 is further adapted to, in response to an adjustment command for a video track segment, adjust the position, orientation, or size of the video image of the video track segment within a corresponding split screen region, or swap the split screen regions corresponding to the video image of a different video track segment, or replace the video track segment within the split screen region, or mirror the video image of the video track segment within the corresponding split screen region.
[0148] The apparatus of this embodiment can be used to implement the technical solutions of any of the above method embodiments, and its realization principles and technical effects are similar, so reference can be made to the detailed descriptions of the above method embodiments, and for the sake of brevity, detailed descriptions will be omitted here.
[0149] Illustratively, the present disclosure provides an electronic device, including one or more processors, a memory, and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more processors, when executing the one or more computer programs, cause the electronic device to implement the video material clipping method of the above embodiment.
[0150] Illustratively, the present disclosure provides a chip system, which is applied to an electronic device including a memory and a sensor, and which includes a processor, which executes the video material clipping method of the above embodiment.
[0151] Illustratively, the present disclosure provides a computer-readable storage medium having a computer program stored therein, which, when executed by a processor, causes an electronic device to implement the video material clipping method of the above embodiment.
[0152] Illustratively, the present disclosure provides a computer program product, which, when executed on a computer, causes the computer to perform the video material clip method of the above embodiment.
[0153] In the above embodiments, all or part of the functions may be implemented by software, hardware, or a combination of software and hardware. When implemented in software, the functions may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded into a computer and executed, the processes or functions according to the embodiments of the present disclosure are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored on a computer-readable storage medium. The computer-readable storage medium may be any available medium accessible by a computer, or may be a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium (e.g., a soft disk, a hard disk, or a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state disk (SSD)).
[0154] As should be explained, in this specification, relational terms such as "first" and "second" are merely used to distinguish one entity or operation from another and do not necessarily require or imply the existence of any such actual relationship or ordering between those entities or operations. Furthermore, the words "comprise," "comprises," or any other variation thereof are intended to cover a non-exclusive inclusion, whereby a process, method, article, or device comprising a set of elements not only includes those elements, but also includes other elements not expressly listed or inherent in such process, method, article, or device. Absent further limitations, an element qualified by the phrase "comprises ..." does not exclude the presence of other identical elements in the process, method, article, or device that includes said element.
[0155] The foregoing are merely specific embodiments of the present disclosure, intended to enable those skilled in the art to understand or realize the present disclosure. Many modifications to these examples will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other examples without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the examples described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A video material clipping method comprising: acquiring a plurality of video footage; determining a video split screen template for indicating multiple split screen regions within the same video image; displaying a plurality of video track segments on a video edit track to display a video edit image formed from video images of the plurality of video track segments according to the video split-screen template; the plurality of video track segments are formed based on the plurality of video materials, at least one video material from the plurality of video materials is used to form one video track segment from the plurality of video track segments, and video materials for forming different video track segments from the plurality of video track segments are different video materials from the plurality of video materials; the plurality of video track segments encompass at least one identical time in a corresponding timeline section on the video edit track; the video edit image has the plurality of split screen regions indicated by the video split screen template, a split screen region in the video edit image is used to display video images of video track segments in the plurality of video track segments, and different split screen regions in the video edit image are used to display images of different video track segments in the plurality of video track segments; the time lengths of the video track segments formed based on the video materials are equal to the length of the timeline, and the start times of the video track segments are aligned on the timeline; The method further includes accessing a video clip page based on a video split screen template used by the plurality of video track segments, and displaying a video compilation image formed from video images of the plurality of video track segments in the video clip page in accordance with the video split screen template; After accessing the video clip page, in a corresponding clip draft file, set one of the video track segments as a video track segment on a main track, and set all other video track segments as video track segments on picture-in-picture tracks; the step of setting one of the video track segments as a video track segment on a main track and setting all of the other video track segments as video track segments on a picture-in-picture track includes the step of, when the plurality of video track segments correspond one-to-one to the plurality of video materials, setting the video track segment formed of the video material acquired first as a video track segment on the main track, and setting the video track segments formed of the other video materials as video track segments on the picture-in-picture track, in accordance with the order of acquiring the plurality of video materials.
2. displaying a video edited image formed from video images of the plurality of video track segments in accordance with the video split screen template, obtaining a canvas size corresponding to the video clip; determining a size and a position within the canvas of each of the video images of the plurality of video track segments based on obtaining video editing track information of the plurality of video track segments, a mapping relationship between the plurality of split screen areas and the video editing tracks indicated by the video split screen template, and a size of the canvas; and embedding the video images of the plurality of video track segments within the canvas based on the size and position of each of the video images of the plurality of video track segments within the canvas, and displaying the canvas to display a video edited image formed from the video images of the plurality of video track segments according to the video split screen template.
3. 2. The method of claim 1, wherein when forming one of the plurality of video track segments based on at least one of the plurality of video materials, the at least one video material is processed using one or more video processing methods, including video speed modification, insertion or combination of video segments of specified content, to obtain a video track segment whose duration matches the length of the timeline.
4. 2. The method of claim 1, further comprising the step of: in response to a video split screen template switching command, displaying a video edited image formed from video images of the plurality of video track segments according to a video split screen template indicated by the video split screen template switching command, wherein the video split screen template indicated by the video split screen template switching command has a layout different from that of the plurality of split screen areas indicated by the video split screen template used before switching.
5. further comprising the step of playing, in response to a preview playback command, a video edited image formed of video images of the plurality of video track segments according to the video split screen template based on the timeline; 2. The method of claim 1, wherein during playback, when a preview playback position is on a timeline within a timeline interval covered by the video track segment, a video image of the video track segment is displayed in the video editing image through a corresponding split screen area, and when the preview playback position is on a timeline outside a timeline interval covered by the video track segment, a preset background is displayed in a split screen area corresponding to the video track segment in the video editing image.
6. 2. The method of claim 1, further comprising the steps of: adjusting the position, orientation or size of the video image of the video track segment within a corresponding split screen area in response to an adjustment command for the video track segment; exchanging the split screen areas corresponding to the video image of a different video track segment; replacing the video track segment within the split screen area; or mirroring the video image of the video track segment within the corresponding split screen area.
7. A video material clipping device, an acquisition module for acquiring a plurality of video materials; a template determination module for determining a video split-screen template for indicating multiple split-screen regions within the same video image; a video processing module for displaying a plurality of video track segments on a video edit track and forming a video image of the plurality of video track segments into a video edit image according to the video split-screen template; a display module for displaying the video editing image; the plurality of video track segments are formed based on the plurality of video materials, at least one video material from the plurality of video materials is used to form one video track segment from the plurality of video track segments, and video materials for forming different video track segments from the plurality of video track segments are different video materials from the plurality of video materials; the plurality of video track segments encompass at least one identical time in a corresponding timeline section on the video edit track; the video edit image has the plurality of split screen regions indicated by the video split screen template, a split screen region in the video edit image is used to display video images of video track segments in the plurality of video track segments, and different split screen regions in the video edit image are used to display images of different video track segments in the plurality of video track segments; the time lengths of the video track segments formed based on the video materials are equal to the length of the timeline, and the start times of the video track segments are aligned on the timeline; the video processing module is further adapted to access a video clip page based on a video split screen template used by the plurality of video track segments, and display a video edited image formed from video images of the plurality of video track segments in the video clip page according to the video split screen template; the video processing module is further used for, after accessing the video clip page, setting one of the video track segments as a video track segment on a main track and setting all other video track segments as video track segments on picture-in-picture tracks in a corresponding clip draft file; The video material clipping device is further configured to set, when the plurality of video track segments correspond one-to-one to the plurality of video materials, the video track segment formed by the first acquired video material as the video track segment on the main track, and set the video track segments formed by the other video materials as video track segments on the picture-in-picture track, in accordance with the order of acquiring the plurality of video materials.
8. a readable storage medium containing computer program instructions; A readable storage medium that causes an electronic device to execute the computer program instructions to implement the video material clip method of claim 1.
9. An electronic device comprising: a memory; and a processor; the memory configured to store computer program instructions; The processor is configured to execute the computer program instructions, and the electronic device executes the computer program instructions to cause the electronic device to implement the video material clip method of claim 1.
10. 10. A computer program, the computer program being executed by an electronic device to cause the electronic device to implement the video material clipping method according to claim 1.
Citation Information
Patent Citations
Video splicing method an device, terminal device, and storage medium
CN109120950A
Video generation method and device, electronic equipment and storage medium
CN114374872A
JPP7130144B
Real-time broadcast editing system and method
US20200186887A1