Method and related device for adding multiple materials to a single track in video editing
By implementing the merge display and folding bubble functions of multiple materials on a single track of the video editing tool, the problem of excessive material resources occupied under the multi-track solution is solved, and the efficiency and user experience of video editing are improved.
Patent Information
- Application Number
- CN202211145061.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-20
- Publication Date
- 2025-06-17
- Estimated Expiration
- 2042-09-20
AI Technical Summary
Among the existing video editing tools, multi-track schemes cause excessive material resources to be occupied, making it difficult for users to quickly find and adjust the required materials, affecting the video editing experience.
It is possible to add multiple materials on a single track, and by receiving the user's moving into the track operation, the landing position of the material is obtained and whether other materials exist. If the time starts the same, merge and display it as a shared thumbnail line and generate a folded bubble. After the user clicks, expand the thumbnails that display all the materials.
It realizes adding multiple materials to a single track, reducing the number of tracks, improving the efficiency of material resource search, making video editing and alignment more convenient, and improving user operation experience.
Smart Images

Figure CN115633133B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of video editing, and in particular, to a method and related device for adding multiple materials to a single track in video editing. Background Art
[0002] At present, most of the track operation devices of web - end video editing tools on the market adopt a multi - track solution, that is, different material resources are placed on different tracks. This solution where one material resource occupies one track still has certain defects in actual use. For example, when there are too many material resources to be added, there will also be too many tracks. In this case, users cannot quickly find the required track and adjust the parameters of the material resources on the track. And because there are too many tracks, some tracks will be far from the time axis and far from the main track where the video clip is located. This leads to the situation that users cannot quickly align the material resources with the video clip on the main track for operations such as setting key points. From the perspective of users creating videos, this way of adding materials where one material resource occupies one track is very inconvenient and seriously affects the user experience of editing videos.
[0003] Therefore, the prior art still needs to be improved and developed. Summary of the Invention
[0004] The main purpose of the present invention is to provide a video editing method that can add multiple same or different materials on a single track to optimize the user operation experience.
[0005] The first aspect of the present invention provides a method for adding multiple materials to a single track in video editing, including the following steps:
[0006] Receiving the user's operation of moving the material to be added into the track;
[0007] Obtaining the landing position of the material to be added in the track;
[0008] After the user determines the end position of the material to be added in the track, determining whether there is any other material at the landing position;
[0009] If there is the other material, determining whether the start time of the other material is the same as that of the material to be added;
[0010] If the start time of the other material is the same as that of the material to be added, displaying the other material and the material to be added on the track in the form of a shared thumbnail line, and generating a folding bubble at the start end of the shared thumbnail line; the folding bubble is used to expand and display the respective thumbnails of all the materials gathered by the shared thumbnail line when clicked by the user.
[0011] In an alternative embodiment of the first aspect of the present invention, if the starting times of the other material and the material to be added are the same, then the other material and the material to be added are displayed on the track in the form of a shared thumbnail line, and a folded bubble is generated at the starting end of the shared thumbnail line, including:
[0012] If the starting times of the other material and the material to be added are the same, then further determine whether the types of the other material and the material to be added are the same;
[0013] If the types of the other material and the material to be added are the same, then the other material and the material to be added are displayed on the track in the form of a shared thumbnail line, and the color of the shared thumbnail line is displayed as the characteristic color corresponding to the type.
[0014] In an alternative embodiment of the first aspect of the present invention, after determining whether the types of the other material and the material to be added are the same when the starting times of the other material and the material to be added are the same, it further includes:
[0015] If the types of the other material and the material to be added are not the same, then the other material and the material to be added are displayed on the track in the form of a shared thumbnail line, and the color of the shared thumbnail line is displayed as a preset color, and the preset color is different from the characteristic colors corresponding to each of the types.
[0016] In an alternative embodiment of the first aspect of the present invention, after determining whether the starting times of the other material and the material to be added are the same when there is the other material, it further includes:
[0017] If the starting times of the other material and the material to be added are not the same, then the other material is displayed on the track in the form of a first thumbnail line, and a first bubble with a thumbnail of the other material is generated at the starting end of the first thumbnail line; and the material to be added is displayed on the track in the form of a second thumbnail line, and a second bubble with a thumbnail of the material to be added is generated at the starting end of the second thumbnail line.
[0018] In an alternative embodiment of the first aspect of the present invention, determining whether the starting times of the other material and the material to be added are the same when there is the other material includes:
[0019] Obtain a first starting time of the other material based on the time axis;
[0020] Obtain a second starting time of the landing position based on the time axis;
[0021] If the difference between the first start time and the second start time is within a preset threshold range, it is determined that the start times of the other material and the material to be added are the same.
[0022] In an optional implementation manner of the first aspect of the present invention, the step of displaying the other material and the material to be added on the track in the form of a shared thumbnail line if the start times of the other material and the material to be added are the same further includes:
[0023] Obtain a first end time of the other material based on the time axis;
[0024] Obtain a second end time of the end position based on the time axis;
[0025] Compare the first end time and the second end time, and select the later time of the first end time and the second end time as the end point of the shared thumbnail line;
[0026] Compare the first start time and the second start time, and select the earlier time of the first start time and the second start time as the start point of the shared thumbnail line, and generate the shared thumbnail line between the start point and the end point.
[0027] In an optional implementation manner of the first aspect of the present invention, each of the materials in the shared thumbnail line set is stored in a different layer, and the label is the layer number corresponding to each material.
[0028] The second aspect of the present invention provides a video editing material adding device, and the video editing material adding device includes:
[0029] A material moving module, configured to receive an operation of the user to move the material to be added into the track;
[0030] A material position obtaining module, configured to obtain the landing position of the material to be added in the track;
[0031] A material overlap judging module, configured to judge whether there is other material at the landing position after the user determines the end position of the material to be added in the track;
[0032] A start time comparing module, configured to judge whether the start times of the other material and the material to be added are the same if there is the other material;
[0033] The material folding display module is used to, if the start times of the other materials and the material to be added are the same, display the other materials and the material to be added on the track in the form of a shared thumbnail line, and generate a folding bubble at the starting end of the shared thumbnail line; the folding bubble is used to expand and display the corresponding thumbnails of all the materials gathered by the shared thumbnail line when clicked by the user.
[0034] The third aspect of the present invention provides a video editing material adding device, which includes: a memory and at least one processor. Instructions are stored in the memory, and the memory and the at least one processor are interconnected by a line;
[0035] The at least one processor calls the instructions in the memory to enable the video editing material adding device to execute the method for adding multiple materials to a single track in video editing as described in any one of the above.
[0036] The fourth aspect of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the method for adding multiple materials to a single track in video editing as described in any one of the above.
[0037] Beneficial effects: The present invention provides a method and related device for adding multiple materials to a single track in video editing. After the method of the present invention receives the user's operation of moving the material to be added into the track, it will obtain the landing position of the material to be added in the track; when there are other materials at the landing position, it will judge whether the start times of the other materials and the material to be added are the same; if the start times of the other materials and the material to be added are the same, the other materials and the material to be added will be displayed on the track in the form of a shared thumbnail line, and a folding bubble will be generated at the starting end of the shared thumbnail line. After that, the user only needs to click on the folding bubble to display the corresponding thumbnails of all the materials gathered by the shared thumbnail line. The solution of the present invention realizes adding multiple materials on a single track, avoids the need to find the corresponding material resources through a scroll bar when there are too many video editing tracks, and improves the efficiency. Description of the Drawings
[0038] Figure 1 It is a schematic diagram of an embodiment of a method for adding multiple materials to a single track in video editing according to the present invention;
[0039] Figure 2 It is a schematic diagram of an embodiment after the bubble is folded in a method for adding multiple materials to a single track in video editing according to the present invention;
[0040] Figure 3 It is a schematic diagram of an embodiment after the bubble is expanded in a method for adding multiple materials to a single track in video editing according to the present invention;
[0041] Figure 4 Schematic diagram of an embodiment of an apparatus for adding video editing materials according to the present invention;
[0042] Figure 5 Schematic diagram of an embodiment of an apparatus for adding video editing materials according to the present invention. Detailed implementation manners
[0043] The embodiments of the present invention provide a method and related devices for adding multiple materials to a single track in video editing. The terms "first", "second", "third", "fourth", etc. (if any) in the specification, claims and above-mentioned drawings of the present invention are used to distinguish similar objects, and do not have to be used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments described herein can be implemented in an order other than that illustrated
[0044] or described herein. In addition, the term "comprising" or "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units does not have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0045] Referring to Figure 1 , in the first aspect of the present invention, a method for adding multiple materials to a single track in video editing is provided. The execution subject may be a video editing tool, and specifically includes the following steps:
[0046] S100. Receive the operation of the user to move the material to be added into the track; Refer to Figure 2 and Figure 3 , in the present invention, the tracks in the video editing tool are pre-classified mainly into three types, including the main track, the audio track, and the sub-track. The main track, the audio track, and the sub-track are parallel to each other with the time axis at the top as the reference. Among them, the main track is used to place video clips, the audio track is used to add audio, and other material resources other than the main audio and video are placed in the sub-track. Among them, other material resources include special effect pictures, special effect texts, stickers, etc. The main track and the audio track are single-layer, that is, the video clips added to the main track and the audio clips on the audio track are connected end to end in sequence from the tail of the previous clip, and these clips cannot overlap and play within the same time range. The sub-track is set with multiple layers, and other material resources can be displayed simultaneously within the same time range; in step S100, receiving the operation of the user to move the material to be added into the track refers to the operation of the user moving the material to be added from the material library to the sub-track;
[0047] S200. Obtain the landing position of the material to be added on the track; in the present invention, the user moves the material to be added with the mouse arrow. When the arrow of the material to be added is moved on the sub-track and stays for more than a certain period of time, the video editing tool will obtain the landing position of this arrow on the sub-track as the landing position of the material to be added on the track. This landing position is the coordinate obtained based on the display window of the video editing tool;
[0048] S300. After the user determines the end position of the material to be added on the track, determine whether there is any other material at the landing position; after placing the material to be added on the track in step S300 and staying for a period of time to determine the starting position, it is also necessary to determine the end position on the track. The end position can be determined by moving the mouse to an appropriate position and then clicking the left mouse button. After determining the landing position (i.e., the starting position) and the end position, dot markers will be generated at the landing position and the end position. The positions of the landing position and the end position can be adjusted again by moving the dot markers. When there is no mouse operation on the dot markers within a certain period of time, then the tool will automatically determine whether there is any other previously added material at the landing position. If so, the subsequent step S400 will be executed.
[0049] S400. If there is the other material, determine whether the time starting points of the other material and the material to be added are the same; in the present invention, the purpose of determining whether the time starting points of the other material and the material to be added are the same is to determine whether the other material and the material to be added can be combined and displayed on the track;
[0050] S500. If the time starting points of the other material and the material to be added are the same, display the other material and the material to be added on the track in the form of a shared thumbnail line, and generate a folding bubble at the starting end of the shared thumbnail line; the folding bubble is used to expand and display the respective thumbnails of all the materials gathered by the shared thumbnail line when the user clicks. See Figure 2 and Figure 3 , in the present invention, on the sub-track, if there are multiple material resources with the same starting time, then the multiple material resources will be combined and displayed. In order to make the combined display more concise, a shared thumbnail line is used for display. In order to facilitate the selection of the combined material resources later, a folding bubble is used. When the folding bubble is clicked, the folding bubble will expand, and the user will know how many material resources are combined in the shared thumbnail line. After the folding bubble expands in Figure 3 Figure 1 、 Figure 2 、 Figure 3 、 Figure 4 and Figure 5 The position will display the corresponding thumbnail for each material resource. After clicking on the corresponding thumbnail, the time interval corresponding to the clicked thumbnail resource material will be generated below the shared thumbnail line. The user can adjust the range of the time interval by adjusting the end lines at both ends of the time interval. The present invention realizes adding multiple materials in a single track of video editing, reduces the number of tracks, improves the efficiency of finding material resources, and makes video editing alignment more convenient.
[0051] In an optional implementation manner of the first aspect of the present invention, if the start times of the other material and the material to be added are the same, then the other material and the material to be added are displayed on the track in the form of a shared thumbnail line, and a folding bubble is generated at the start end of the shared thumbnail line, including:
[0052] If the start times of the other material and the material to be added are the same, then further determine whether the types of the other material and the material to be added are the same; if the types of the other material and the material to be added are the same, then the other material and the material to be added are displayed on the track in the form of a shared thumbnail line, and the color of the shared thumbnail line is displayed as the characteristic color corresponding to the type. In the present invention, if multiple material resources of the same type are merged by the shared thumbnail line, in order to improve the efficiency of finding and adjusting the corresponding resources later, a color is assigned to each type. For example, if all the merged material resources are special effect pictures, then the display color of the merged shared thumbnail line is red; if all the merged material resources are special effect texts, then the display color of the merged shared thumbnail line is green; if all the merged material resources are special effect stickers, then the display color of the merged shared thumbnail line is blue, and so on. In this way, when the user needs to find the added special effect text, they can look for it among the green ones.
[0053] In an optional implementation manner of the first aspect of the present invention, after further determining whether the types of the other material and the material to be added are the same when the start times of the other material and the material to be added are the same, it further includes:
[0054] If the types of the other material and the material to be added are different, the other material and the material to be added are displayed on the track in the form of a shared thumbnail line, and the color of the shared thumbnail line is displayed as a preset color, which is different from the characteristic colors corresponding to each of the types. In the invention, of course, there will also be a situation where different types of materials are combined together. To better identify this situation, a color can be specifically assigned for this situation, such as yellow. When the user sees a yellow shared thumbnail line, they can know that multiple different resources are combined in the yellow shared thumbnail line, and it is used to search in the yellow shared thumbnail line after finishing searching in the thumbnail lines of the corresponding type colors.
[0055] In an optional implementation manner of the first aspect of the present invention, after determining whether the time starting points of the other material and the material to be added are consistent if there is the other material, it further includes:
[0056] If the time starting points of the other material and the material to be added are inconsistent, the other material is displayed on the track in the form of a first thumbnail line, and a first bubble with a thumbnail of the other material is generated at the starting end of the first thumbnail line; and the material to be added is displayed on the track in the form of a second thumbnail line, and a second bubble with a thumbnail of the material to be added is generated at the starting end of the second thumbnail line. In the present invention, the shapes of the first bubble and the second bubble are the same as the shape of the folded state of the folding bubble. The color of the first thumbnail line is the color corresponding to the other material mentioned above, and the second thumbnail line is the color corresponding to the type of the material to be added mentioned above.
[0057] In an optional implementation manner of the first aspect of the present invention, determining whether the time starting points of the other material and the material to be added are consistent if there is the other material includes:
[0058] Obtain a first starting time of the other material based on the time axis; obtain a second starting time of the landing position based on the time axis; if the difference between the first starting time and the second starting time is within a preset threshold range, it is determined that the starting times of the other material and the material to be added are consistent. In the present invention, there is also a situation where the other material and the material to be added overlap and the time starting points are inconsistent, but the distance between the time starting points of the other material and the material to be added is very close. In this case, even if the other material and the material to be added are not combined and folded, the other material is very difficult to see. Therefore, in this case, it is still classified as a scenario where they are combined and folded into a shared thumbnail line for display to obtain a better visual effect.
[0059] In an alternative embodiment of the first aspect of the present invention, the step of, if the start times of the other material and the material to be added are the same, displaying the other material and the material to be added on the track in the form of a shared thumbnail line further includes:
[0060] Obtain a first end time of the other material based on the time axis; obtain a second end time of the end position based on the time axis; compare the first end time and the second end time, and select the later time of the first end time and the second end time as the end point of the shared thumbnail line; compare the first start time and the second start time, and select the earlier time of the first start time and the second start time as the start point of the shared thumbnail line, and generate the shared thumbnail line between the start point and the end point. In the present invention, generating a shared thumbnail line also involves the length of the shared thumbnail line. The principle for generating the length of the shared thumbnail line in the present invention is comprehensive coverage, that is, the shared thumbnail line covers both the duration of the other material on the time axis and the duration of the material to be added on the time axis. For example, if the start and end times of the other material on the time axis are from the 1st second to the 3rd second, and the start and end times of the material to be added on the time axis are from the 1st second to the 4th second, then the start and end times of the finally obtained shared thumbnail line on the time axis are from the 1st second to the 4th second.
[0061] In an alternative embodiment of the first aspect of the present invention, each of the materials in the shared thumbnail line set is stored in a different layer, and the label is the layer number corresponding to each of the materials.
[0062] See Figure 3 , the second aspect of the present invention provides a video editing material adding device, and the video editing material adding device includes:
[0063] A material moving module 10, configured to receive a user's operation of moving the material to be added into the track;
[0064] A material position obtaining module 20, configured to obtain the landing position of the material to be added in the track;
[0065] A material overlap determination module 30, configured to determine whether there is other material at the landing position after the user determines the end position of the material to be added in the track;
[0066] A start time comparison module 40, configured to, if there is the other material, determine whether the start times of the other material and the material to be added are the same;
[0067] The material folding display module 50 is used to, if the start times of the other materials and the material to be added are the same, display the other materials and the material to be added on the track in the form of a shared thumbnail line, and generate a folding bubble at the starting end of the shared thumbnail line; the folding bubble is used to expand and display the labels of all the materials gathered by the shared thumbnail line when clicked by the user, so that the user can select one of the labels and transform the shared thumbnail line into the thumbnail of the material corresponding to the label.
[0068] In an optional implementation manner of the second aspect of the present invention, the material folding display module 50 includes:
[0069] The material type comparison unit is used to further determine whether the types of the other materials and the material to be added are the same if the start times of the other materials and the material to be added are the same;
[0070] The first thumbnail line and bubble generation unit is used to, if the types of the other materials and the material to be added are the same, display the other materials and the material to be added on the track in the form of a shared thumbnail line, and display the color of the shared thumbnail line as the characteristic color corresponding to the type.
[0071] In an optional implementation manner of the second aspect of the present invention, the material folding display module 50 further includes:
[0072] The second thumbnail line and bubble generation unit is used to, if the types of the other materials and the material to be added are different, display the other materials and the material to be added on the track in the form of a shared thumbnail line, and display the color of the shared thumbnail line as a preset color, and the preset color is different from the characteristic colors corresponding to each type.
[0073] In an optional implementation manner of the second aspect of the present invention, the video editing material adding device further includes:
[0074] The material selection folding display module is used to, if the start times of the other materials and the material to be added are inconsistent, display the other materials on the track in the form of a thumbnail line and display the material to be added on the track in the form of a thumbnail.
[0075] In an optional implementation manner of the second aspect of the present invention, the start time comparison module 40 includes:
[0076] The first start time acquisition unit is used to acquire the first start time of the other materials based on the time axis;
[0077] A second start time acquisition unit, configured to acquire a second start time obtained by taking the landing position as a reference with respect to the time axis;
[0078] A first determination unit, configured to determine that the start times of the other material and the material to be added are the same if the difference between the first start time and the second start time is within a preset threshold range.
[0079] In an optional implementation manner of the second aspect of the present invention, the material folding display module 50 further includes:
[0080] A first end time acquisition unit, configured to acquire a first end time obtained by taking the other material as a reference with respect to the time axis;
[0081] A second end time acquisition unit, configured to acquire a second end time obtained by taking the end position as a reference with respect to the time axis;
[0082] A common thumbnail line end point determination unit, configured to compare the first end time and the second end time, and select the later time of the first end time and the second end time as the end point of the common thumbnail line;
[0083] A common thumbnail line start point determination unit, configured to compare the first start time and the second start time, and select the earlier time of the first start time and the second start time as the start point of the common thumbnail line;
[0084] A common thumbnail line generation unit, configured to generate the common thumbnail line between the start point and the end point.
[0085] In an optional implementation manner of the second aspect of the present invention, each of the materials in the common thumbnail line set is stored in a different layer, and the label is the layer number corresponding to each of the materials.
[0086] Figure 5FIG. 0 is a schematic diagram of a video editing material adding device provided by an embodiment of the present invention. The video editing material adding device may vary greatly due to different configurations or performances, and may include one or more processors 90 (central processing units, CPUs) (for example, one or more processors) and a memory 100, and one or more storage media 110 (for example, one or more mass storage devices) for storing application programs or data. Among them, the memory and the storage medium may be transient storage or persistent storage. The program stored in the storage medium may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the video editing material adding device. Further, the processor may be configured to communicate with the storage medium and execute a series of instruction operations in the storage medium on the medical tablet.
[0087] The video editing material adding device of the present invention may further include one or more power supplies 120, one or more wired or wireless network interfaces 130, one or more input / output interfaces 140, and / or one or more operating systems, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, and so on. Those skilled in the art can understand that Figure 5 the structure of the video editing material adding device shown in the figure does not constitute a specific limitation on the video editing material adding device of the present invention, and may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.
[0088] The present invention also provides a computer-readable storage medium. The computer-readable storage medium may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions run on a computer, the computer is caused to execute the steps of the video editing material adding method.
[0089] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the above-described system or device and unit can refer to the corresponding processes in the foregoing method embodiments, and will not be described herein again.
[0090] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.
[0091] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of various embodiments of the present invention.
Claims
1. A method for adding multiple materials to a single track in video editing, characterized in that, It includes the following steps: Receive the user's operation of moving the material to be added into the track; Obtain the landing position of the material to be added in the track; After the user determines the end position of the material to be added in the track, determine whether there is other material at the landing position; If there is the other material, determine whether the start times of the other material and the material to be added are the same; If the start times of the other material and the material to be added are the same, display the other material and the material to be added on the track in the form of a shared thumbnail line, and generate a folding bubble at the starting end of the shared thumbnail line; The folding bubble is used to expand and display the respective corresponding thumbnails of all the materials gathered by the shared thumbnail line when clicked by the user; The step of, if the start times of the other material and the material to be added are the same, then display the other material and the material to be added on the track in the form of a shared thumbnail line, and generate a folding bubble at the starting end of the shared thumbnail line includes: If the start times of the other material and the material to be added are the same, further determine whether the types of the other material and the material to be added are the same; If the types of the other material and the material to be added are the same, display the other material and the material to be added on the track in the form of a shared thumbnail line, and display the color of the shared thumbnail line as the characteristic color corresponding to the type; 2. The method for adding multiple materials to a single track in video editing according to claim 1, characterized in that, After the step of, if the start times of the other material and the material to be added are the same, further determine whether the types of the other material and the material to be added are the same, it further includes: If the types of the other material and the material to be added are not the same, display the other material and the material to be added on the track in the form of a shared thumbnail line, and display the color of the shared thumbnail line as a preset color, and the preset color is different from the characteristic colors corresponding to each of the types; 3. The method for adding multiple materials to a single track in video editing according to claim 1, characterized in that, After the step of, if there is the other material, determine whether the start times of the other material and the material to be added are the same, it further includes: If the start times of the other material and the material to be added are not the same, display the other material on the track in the form of a first thumbnail line, and generate a first bubble with the thumbnail of the other material at the starting end of the first thumbnail line; and display the material to be added on the track in the form of a second thumbnail line, and generate a second bubble with the thumbnail of the material to be added at the starting end of the second thumbnail line; 4. The method for adding multiple materials to a single track in video editing according to claim 1, characterized in that, The step of, if there is the other material, determine whether the start times of the other material and the material to be added are the same includes: Obtain a first start time of the other material based on the time axis; Obtain a second start time of the landing position based on the time axis; If the difference between the first start time and the second start time is within a preset threshold range, determine that the start times of the other material and the material to be added are the same.
5. The method for adding multiple materials to a single track in video editing according to claim 4, characterized in that, If the start times of the other material and the material to be added are the same, the step of displaying the other material and the material to be added on the track in the form of a shared abbreviated line further includes: Obtaining a first end time of the other material based on the time axis; Obtaining a second end time of the end position based on the time axis; Comparing the first end time and the second end time, and selecting the later time of the first end time and the second end time as the end point of the shared abbreviated line; Comparing the first start time and the second start time, and selecting the earlier time of the first start time and the second start time as the start point of the shared abbreviated line, and generating the shared abbreviated line between the start point and the end point.
6. The method for adding multiple materials to a single track in video editing according to claim 1, characterized in that, Each of the materials in the shared abbreviated line set is stored in a different layer.
7. A video editing material adding device, characterized in that, The video editing material adding device includes: A material moving module, configured to receive a user's operation of moving the material to be added into the track; A material position obtaining module, configured to obtain the landing position of the material to be added in the track; A material overlap judging module, configured to judge whether there is other material at the landing position after the user determines the end position of the material to be added in the track; A start time comparing module, configured to judge whether the start times of the other material and the material to be added are the same if there is the other material; A material folding display module, configured to, if the start times of the other material and the material to be added are the same, display the other material and the material to be added on the track in the form of a shared abbreviated line, and generate a folding bubble at the start end of the shared abbreviated line; the folding bubble is used to expand and display the corresponding thumbnails of all the materials collected by the shared abbreviated line when clicked by the user; The material folding display module includes: A material type comparison unit, configured to further judge whether the types of the other material and the material to be added are the same if the start times of the other material and the material to be added are the same; A first abbreviated line and bubble generation unit, configured to, if the types of the other material and the material to be added are the same, display the other material and the material to be added on the track in the form of a shared abbreviated line, and display the color of the shared abbreviated line as the characteristic color corresponding to the type.
8. A video editing material adding device, characterized in that, The video editing material adding device includes: a memory and at least one processor, instructions are stored in the memory, and the memory and the at least one processor are interconnected by a line; The at least one processor calls the instructions in the memory to enable the video editing material adding device to execute the method for adding multiple materials to a single video editing track according to any one of claims 1-6.
9. A computer-readable storage medium, on which a computer program is stored, characterized in that, The computer program, when executed by a processor, implements the method for adding multiple materials to a single video editing track according to any one of claims 1-6.
Citation Information
Patent Citations
Information display method and device, electronic equipment and storage medium
CN113473204A