Slice video generation method and device, storage medium and electronic equipment

By obtaining live video and index values, segmenting and combining video clips, the problem of low efficiency in sliced ​​video generation in the prior art is solved, and automated generation and efficiency improvement are achieved.

CN119893233AActive Publication Date: 2025-04-25HANGZHOU MIANCHAO INFORMATION TECH CO LTD

Patent Information

Application Number
CN202510365371.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-26
Publication Date
2025-04-25
Estimated Expiration
2045-03-26

AI Technical Summary

Technical Problem

In the prior art, the efficiency of making sliced ​​videos is low, especially when a large number of sliced ​​videos are required, the manual method is slower, resulting in low generation efficiency.

Method used

By obtaining the live video and the corresponding indicator values, the live video is divided into multiple video clips, and the clips to be combined are selected according to the focus live broadcast indicators of each video clip, and finally the sliced ​​video is generated, so as to achieve automatic generation.

Benefits of technology

It realizes automatic generation of slice videos according to generation requirements without manual intervention throughout the whole process, significantly improving the efficiency of slice video generation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119893233A_ABST
    Figure CN119893233A_ABST
Patent Text Reader

Abstract

The invention relates to a slice video generation method and device, a storage medium and electronic equipment, and relates to the technical field of video editing.The method comprises the steps that a live broadcast video of a target live broadcast account within preset time and the index value of at least one live broadcast index within the preset time are obtained, obtaining the slice number, the duration range, the length-width ratio and the emphasized live broadcast index of the to-be-generated slice video; segmenting the live video into a plurality of video clips; determining a target index value corresponding to each video clip based on the index value of each live broadcast index, and selecting a to-be-combined clip from each video clip according to the target index value corresponding to each video clip; and combining the segments to be combined to obtain a final slice video, and repeatedly executing the step of selecting the segments to be combined from the video segments until the number of the final slice video reaches the slice number and the slice duration of the final slice video is within the duration range. The method has the effect of improving the slice video generation efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of video editing technology, and in particular to a method, device, storage medium and electronic device for generating sliced ​​videos. Background Art

[0002] Sliced ​​video refers to the division of a complete video into multiple small clips, which can be processed, transmitted and played independently. In the live streaming industry, sliced ​​video refers to the editing of the highlights and attractive clips in the live streaming video, and then processing them to form a new video. Among them, sliced ​​videos play several key roles in the live streaming industry. They help to increase product exposure, enhance the audience's willingness to buy, and optimize the effect of live streaming content. It is a very effective marketing tool in the live streaming industry. It can help merchants and anchors better promote products, improve sales performance, and establish closer ties with the audience.

[0003] At present, the method commonly used to produce sliced ​​videos is: based on manual methods, multiple video clips are cut out from the complete live video content, and then the individual video clips are edited and synthesized according to the requirements of the required sliced ​​videos to obtain the corresponding sliced ​​videos. Finally, the aspect ratio of the sliced ​​videos needs to be adjusted according to the requirements of the platform on which the sliced ​​videos are published to obtain the final releasable sliced ​​videos. Under this method, once the number of sliced ​​videos required is large, the speed of manually producing sliced ​​videos is slow, resulting in low efficiency in generating sliced ​​videos. Summary of the invention

[0004] In order to improve the efficiency of slice video generation, the present application provides a slice video generation method, device, storage medium and electronic device.

[0005] In a first aspect of the present application, a method for generating a sliced ​​video is provided, which specifically includes: Obtain the live video of the target live account within a preset time and the indicator value of at least one live indicator within the preset time, and obtain the number of slices, duration range, aspect ratio, and live broadcast indicator of the sliced ​​video to be generated, wherein the live broadcast indicator is an indicator for evaluating the live broadcast situation, and the live broadcast indicator is a live broadcast indicator that is focused on when generating the sliced ​​video among the live broadcast indicators; Dividing the live video into multiple video segments, each of which corresponds to a segment of live speech within the preset time; Based on the indicator values ​​of each of the live broadcast indicators, a target indicator value corresponding to each of the video clips is determined, and according to the target indicator values ​​corresponding to each of the video clips, a segment to be combined is selected from each of the video clips, wherein the target indicator value is an indicator value of the live broadcast indicator focused on the corresponding video clip; Combine the segments to be combined to obtain a final sliced ​​video, and repeat the step of selecting the segments to be combined from the video segments until the number of the final sliced ​​videos reaches the number of slices and the slice duration of the final sliced ​​video is within the duration range.

[0006] By adopting the above technical solution, the live video and the corresponding indicator values ​​are obtained, so as to provide editing materials for the subsequent generation of sliced ​​videos, and at the same time, the generation requirements of sliced ​​videos such as the number of slices, duration range, aspect ratio and focus on live broadcast indicators are obtained. Further, the live video is segmented according to the live broadcast script to obtain multiple video clips, so that each video clip is relatively complete. Furthermore, according to the target indicator values ​​corresponding to the focus on live broadcast indicators of each video clip, the segments to be combined that meet the generation requirements are selected from each video clip, and each segment to be combined is combined to finally obtain the final sliced ​​video with the number of slices that meet the generation requirements, thereby achieving the automatic generation of the required sliced ​​videos according to the generation requirements without manual intervention throughout the process, thereby improving the efficiency of sliced ​​video generation.

[0007] Optionally, the live broadcast index includes a popularity index, a sales index, and a comment number index, and the selecting the segment to be combined from each of the video segments according to the target index value corresponding to each of the video segments specifically includes: Determine the first rating as the ratio of the index value of the popularity index of the single video clip to the index value of the popularity index of the live video, determine the second rating as the ratio of the sales of the sales index of the single video clip to the total sales of the live video, and determine the third rating as the ratio of the number of comments of the number of comments index of the single video clip to the overall number of comments of the live video; Determine the fourth rating of the target live broadcast account in the dimension of the portrait of the users followed by the live broadcast account and the fifth rating in the dimension of the target group of the live broadcast account; According to the first rating, the second rating, the third rating, the fourth rating and the fifth rating corresponding to the same video segment, a segment to be combined is selected from each of the video segments.

[0008] By adopting the above technical solution, the higher the first rating, the better the popularity of the corresponding video clip during the live broadcast; the higher the second rating, the better the sales of the corresponding video clip during the live broadcast; the higher the third rating, the more comments on the corresponding video clip during the live broadcast, and the stronger the audience interaction. In addition, the higher the combined result of the fourth rating and the fifth rating, the easier it is for the corresponding video clip to attract users to convert and purchase products. Finally, based on the first rating, the second rating, the third rating, the fourth rating and the fifth rating, the availability of each video clip is comprehensively evaluated, so that the selected clip to be combined is more valuable.

[0009] Optionally, determining the fourth rating of the target live broadcast account in the dimension of the portrait of the users followed by the live broadcast account and the fifth rating in the dimension of the target group of people brought by the live broadcast account specifically includes: Determine, according to the follower group of the target live broadcast account, a follower user portrait of at least one dimension, and determine a first weight factor for each follower user portrait; The first weight factors are summed and averaged to obtain a fourth rating of the live broadcast account's follower portrait dimension; Determine a crowd portrait of at least one dimension according to the purchasing crowd of the target live broadcast account, and determine a second weight factor for each of the crowd portraits; The sum and average of the second weight factors are calculated to obtain the fifth rating of the target population of the live broadcast account.

[0010] By adopting the above technical scheme, by determining the first weight factor of the user portrait of each dimension, the proportion of the followers of the user portrait of the corresponding dimension in the entire follower population can be better evaluated, and finally the first weight factors are averaged to obtain the fourth rating, so as to accurately evaluate the composition of the followers of the target live broadcast account; by determining the second weight factor of the population portrait of each dimension, the proportion of the purchasers of the population portrait of the corresponding dimension in the entire purchase population can be better evaluated, and finally the second weight factors are averaged to obtain the fifth rating, so as to accurately evaluate the composition of the purchase population of the target live broadcast account.

[0011] Optionally, selecting the segment to be combined from each of the video segments according to the first rating, the second rating, the third rating, the fourth rating, and the fifth rating corresponding to the same video segment specifically includes: Determine a corresponding weighted average according to the first rating, the second rating, the third rating, the fourth rating, and the fifth rating corresponding to the same video clip; Select a video segment with the largest weighted average from each of the video segments and determine it as the middle video segment, and select a preceding video segment whose video period is earlier than the video period corresponding to the middle video segment and a succeeding video segment whose video period is later than the video period corresponding to the middle video segment from each of the video segments; Calculating a first difference between the weighted average of the middle video segment and the weighted average of each of the previous video segments, determining a ratio of the first difference to the weighted average of the corresponding previous video segment as a first ring ratio value of the corresponding previous video segment, and determining a previous video segment corresponding to a maximum first ring ratio value among the first ring ratio values ​​as a front video segment, wherein the front video segment is a video segment combined before the middle video segment; Calculating a second difference value obtained by subtracting a weighted average value of the middle video segments from a weighted average value of each of the rear video segments, determining a ratio of the second difference value to the weighted average value of the middle video segments as a second ring ratio value of the corresponding rear video segment, and determining a rear video segment corresponding to a minimum second ring ratio value among the second ring ratio values ​​as a post-positioned video segment, wherein the post-positioned video segment is a video segment combined after the middle video segment; The front video segment, the middle video segment and the rear video segment are determined as segments to be combined.

[0012] By adopting the above technical solution, the larger the first ring ratio value is, the more the weighted average of the middle video segment increases compared with the corresponding front video segment. In terms of weighted average, the middle video segment increases the most compared with the front video segment. The front video segment is used as the starting video segment, so that the audience can browse from the front video segment to the middle video segment, and can obtain a more shocking viewing experience, and the promotion effect is better; the smaller the second ring ratio value is, the less the corresponding rear video segment decreases compared with the middle video segment in terms of weighted average. In terms of weighted average, the rear video segment decreases the least compared with the middle video segment. The rear video segment is used as the ending video segment, and when the audience browses from the middle video segment to the rear video segment, the video segment's attractiveness to the audience is avoided to drop suddenly and end viewing. Thereby, the final sliced ​​video obtained based on the combination of the front video segment, the middle video segment and the rear video segment can be more attractive to users.

[0013] Optionally, the method further includes: Obtain a purchaser profile corresponding to the product carried in the live video, and obtain historical product slices watched by historical users of the purchaser profile, and count the number of historical users whose viewing time of each historical product slice exceeds a preset time, and the product corresponding to the historical product slice is the same as the product carried; According to the order of the number from largest to smallest, the first number of historical product slices is selected from each of the historical product slices to be determined as the Yixi product slice; Counting the product conversion rate of the historical live broadcast account that publishes each Yixi product slice, and selecting the second historical live broadcast account from each of the historical live broadcast accounts in descending order of the product conversion rate to determine it as the easy conversion account of the corresponding Yixi product slice; Determine a first weight of each Yixi product slice and a second weight of the corresponding Yibianhua account, wherein the first weight is the ratio of the quantity corresponding to each Yixi product slice to the sum of the quantities corresponding to all Yixi product slices, and the second weight is the ratio of the product conversion rate of a single Yibianhua account corresponding to the Yixi product slice to the sum of the product conversion rates of all Yibianhua accounts; Based on the first weight and the corresponding second weight, music is composed for the final sliced ​​video.

[0014] By adopting the above technical solution, the more historical users whose viewing time for each historical product slice exceeds the preset time, the easier it is for the corresponding historical product slice to attract historical users of the purchasing population portrait to watch, and thus determine the Yixi product slice; the higher the product conversion rate, the easier it is for the historical live broadcast account to arouse the purchasing interest of users of the purchasing population portrait through the corresponding Yixi product slice, and thus determine the easy-to-convert account of the corresponding Yixi product slice. Finally, combined with the analysis of the first weight and the corresponding second weight, the reference slice video is determined from each Yixi product slice, and then the reasonable music is realized for the final slice video, so that the final slice video can better attract users after it is released.

[0015] Optionally, the providing music for the final sliced ​​video based on the first weight and the corresponding second weight specifically includes: Calculate the first weight product of each of the Yixi product slices and the second weight of each corresponding key live broadcast account, where the key live broadcast account is an easy-to-convert account whose matching degree with the first type of the product is lower than a preset matching degree threshold; When the matching degree between the to-be-sent slice account and the second type of the product is higher than the matching degree threshold, the first weight products are summed to obtain the sum of the weight products of the corresponding Yixi product slices, and the maximum sum of the weight products is selected from the sums of the weight products. The to-be-sent slice account is the live broadcast account that needs to publish the final slice video; The background music of the Yixi product slice corresponding to the sum of the maximum weight products is determined as the first background music, and the final slice video is composed of music based on the first background music.

[0016] By adopting the above technical solution, the larger the first weight product is, the easier it is for the corresponding key live broadcast account to attract users who purchase the crowd portrait to place orders through Yixi product slices. If the second type of matching degree is higher than the matching degree threshold, it means that the live broadcast room corresponding to the slice account to be released is more matched with the product to be carried. Furthermore, the larger the sum of the weight products is, the easier it is for users who purchase the crowd portrait to place orders in the live broadcast account with poor matching with the product to be carried based on the corresponding Yixi product slice, which means that the Yixi product slice itself is more likely to promote orders, and further indicates that the corresponding Yixi product slice is easier to attract users who purchase the crowd portrait and make transactions. Finally, the background music of the Yixi product slice corresponding to the maximum weight product sum is used as a reference to compose music for the final slice video, so that after the subsequent final slice video is released to the slice account to be released, it can better attract users to place orders for the product to be carried.

[0017] Optionally, the method further includes: When the matching degree between the to-be-sent slice account and the second type of the product is lower than the matching degree threshold, determine a similar live broadcast account among the key live broadcast accounts corresponding to each Yixi product slice, wherein the similar live broadcast account is the key live broadcast account with the greatest matching degree of the third type with the to-be-sent slice account; Calculate the second weight product of the first weight of each Yixi product slice and the second weight of the corresponding similar live broadcast account; The maximum second weight product is selected from each of the second weight products, the background music of the Yixi product slice corresponding to the maximum second weight product is determined as the second background music, and the final slice video is composed of music based on the second background music.

[0018] By adopting the above technical solution, if the second type matching degree between the to-be-sent slice account and the product to be sold is lower than the matching degree threshold, it means that the live broadcast room attributes corresponding to the to-be-sent slice account are poorly matched with the product to be sold. Then the second weight product is determined. The larger the second weight product is, the easier it is for similar live broadcast accounts to attract users with the purchasing population portrait of the product to place orders through the corresponding Yixi product slices. Finally, the maximum second weight product is selected from each second weight product, and the background music of the Yixi product slice corresponding to the maximum second weight product is used as a reference for the final slice video soundtrack, so that the final slice video published on this to-be-sent slice account can more easily attract users with the purchasing population portrait to place orders for the product to be sold.

[0019] In a second aspect of the present application, a slice video generation device is provided, specifically comprising: An information acquisition module is used to obtain the live video of the target live account within a preset time and the indicator value of at least one live indicator within the preset time, and obtain the number of slices, duration range, aspect ratio and emphasis on live indicators of the sliced ​​video to be generated, wherein the live indicator is an indicator for evaluating the live broadcast situation, and the emphasis on live indicators is a live indicator that is emphasized when generating sliced ​​videos among the live indicators; A video segmentation module, used to segment the live video into multiple video segments, each of which corresponds to a segment of live speech within the preset time; A segment selection module, for determining a target indicator value corresponding to each of the video segments based on the indicator value of each of the live broadcast indicators, and selecting a segment to be combined from each of the video segments according to the target indicator value corresponding to each of the video segments, wherein the target indicator value is an indicator value of the live broadcast indicator focused on the corresponding video segment; The slice generation module is used to combine the fragments to be combined to obtain a final sliced ​​video, and repeatedly execute the step of selecting the fragments to be combined from the video fragments until the number of the final sliced ​​video reaches the number of slices, and the slice duration of the final sliced ​​video is within the duration range.

[0020] By adopting the above technical solution, the information acquisition module obtains the live video, indicator values, number of slices, duration range, aspect ratio and live broadcast indicators within a preset time. Then the video segmentation module segments the live video into multiple video segments. Then the segment selection module selects the segments to be combined from each video segment. Finally, the slicing generation module combines the segments to be combined to obtain the final sliced ​​video.

[0021] In a third aspect of the present application, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is loaded and executed by a processor, the method steps described in any one of the first aspects are performed.

[0022] In a fourth aspect of the present application, an electronic device is provided, specifically comprising: A processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the processor is used to load and execute the computer program stored in the memory so that the electronic device performs the method as described in any one of the first aspects.

[0023] In summary, the present application includes at least one of the following beneficial technical effects: obtaining live video and corresponding indicator values, so as to provide editing materials for the subsequent generation of sliced ​​videos, and obtaining the number of slices, duration range, aspect ratio, and generation requirements of sliced ​​videos focusing on live broadcast indicators. Furthermore, the live video is segmented according to the live broadcast script to obtain multiple video clips, so that each video clip is relatively complete. Furthermore, according to the target indicator values ​​corresponding to the live broadcast indicators of each video clip, the segments to be combined that meet the generation requirements are selected from each video clip, and each segment to be combined is combined to finally obtain the final sliced ​​video with the number of slices that meet the generation requirements, thereby achieving the automatic generation of the required sliced ​​videos according to the generation requirements without manual intervention throughout the process, thereby improving the efficiency of sliced ​​video generation. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 It is a flowchart of a method for generating sliced ​​videos provided in an embodiment of the present application; Figure 2 It is a flowchart of another method for generating sliced ​​videos provided in an embodiment of the present application; Figure 3 It is a structural schematic diagram of a slice video generation device provided in an embodiment of the present application; Figure 4 It is a structural schematic diagram of another slice video generation device provided in an embodiment of the present application.

[0025] Explanation of the accompanying drawings: 11. Information acquisition module; 12. Video segmentation module; 13. Clip selection module; 14. Slice generation module; 15. First music soundtrack module; 16. Second music soundtrack module. DETAILED DESCRIPTION

[0026] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.

[0027] In the description of the embodiments of the present application, words such as "illustrative", "for example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "illustrative", "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "illustrative", "for example" or "for example" is intended to present related concepts in a concrete way.

[0028] In the description of the embodiments of the present application, the term "and / or" is only a kind of association relationship describing the associated objects, indicating that there may be three kinds of relationships, for example, A and / or B, which can represent: A exists alone, B exists alone, and A and B exist at the same time. In addition, unless otherwise specified, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" can explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.

[0029] See also Figure 1 The present application embodiment discloses a flow chart of a slice video generation method, which can be implemented by a computer program or run on a slice video generation device based on a von Neumann system. The computer program can be integrated into an application or run as an independent tool application, specifically including: S101: Obtain the live video of the target live account within a preset time and the indicator value of at least one live indicator within the preset time, and obtain the number of slices, duration range, aspect ratio and emphasis on live broadcast indicators of the sliced ​​video to be generated.

[0030] Specifically, in an embodiment of the present application, the target live broadcast account is a live broadcast account that needs to slice the video during the live broadcast. In addition, the target live broadcast account can be a live broadcast account that sells goods on a short video platform. In other embodiments, it can also be a live broadcast account that sells goods on an online shopping platform. The live broadcast video is the live broadcast video of the target live broadcast account within the preset time of this live broadcast. The preset time can be within the first 10 minutes, or within the first 20 minutes to the first 10 minutes. The number of goods sold by the anchor in the live broadcast video is at least one.

[0031] Furthermore, the live broadcast index is an index for evaluating the live broadcast situation, and the index value is the specific value of a single live broadcast index. Live broadcast indicators include but are not limited to popularity indicators, sales indicators, comment number indicators, and product delivery time during the live broadcast process, so that the live broadcast situation or effect of the live broadcast room can be evaluated from multi-dimensional live broadcast data such as live broadcast popularity, sales, and number of comments. The focus on live broadcast indicators is the live broadcast indicator that is considered in the various live broadcast indicators when generating sliced ​​videos, that is, the live broadcast data dimension that is mainly considered when slicing live videos. Exemplarily, if the focus on live broadcast indicators is popularity indicators, then when slicing live videos, the focus is on slicing the videos corresponding to the time periods with higher live broadcast popularity. Among them, sliced ​​videos refer to multiple small clips divided into a complete video, and these small clips can be processed, transmitted and played independently. In an embodiment of the present application, sliced ​​videos refer to a new video formed by editing out the exciting and attractive clips in the live video. The number of slices refers to the number of sliced ​​videos generated based on the live video, and the duration range is the interval range of the duration of the generated sliced ​​video.

[0032] In addition, the execution subject of a slice video generation method disclosed in an embodiment of the present application is a server, the server and the terminal are indirectly or directly connected by wireless or wired, the terminal is installed with an automatic slicing client, the server is the background server of the client, and can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. The terminal can be a tablet computer or a personal computer.

[0033] In an embodiment of the present application, one implementation scenario is: a person opens the client through a terminal and sends a slice request instruction. The server intercepts the live video within a preset time from the live video of the target live account, and obtains the indicator value of at least one live indicator within the preset time through the live data counted by the corresponding short video platform. For example, the live popularity data, comment data, etc. of the target live account within the preset time can be obtained. In other embodiments, the indicator value of at least one live indicator within the preset time can also be obtained through a preset third-party live data statistics tool. Furthermore, a feasible way to obtain the number of slices, duration range, aspect ratio, and emphasis on live broadcast indicators is: a person with a slicing demand enters the expected number of slices, the duration range of the sliced ​​video, the aspect ratio of the sliced ​​video, and the emphasis on live broadcast indicators in the client through the terminal, and the server finally obtains the relevant information.

[0034] S102: Segment the live video into multiple video segments, each video segment corresponds to a live speech within a preset time.

[0035] Specifically, after obtaining the live video, it is necessary to divide the live video into multiple video segments. In the embodiment of the present application, a feasible segmentation method is: segment the overall live speech of the anchor in the live video through natural language processing (NLP), and divide it into a preset number of live speech segments. Exemplarily, the overall live speech is: Today I bring you a xxx product, and the product has xxx features, etc. It can be divided into two segments of live speech, namely: Today I bring you a xxx product. The product has xxx features. Furthermore, according to the start time and end time of each segment of live speech obtained by segmentation in the live video, the corresponding video segment is segmented from the live video. It should be noted that each video segment corresponds to a segment of live speech within a preset time.

[0036] S103: Based on the indicator values ​​of each live broadcast indicator, determine the target indicator value corresponding to each video segment, and select the segment to be combined from each video segment according to the target indicator value corresponding to each video segment, and the target indicator value is the indicator value of the live broadcast indicator focused on the corresponding video segment.

[0037] Specifically, according to the time period corresponding to each video clip, the index value focusing on the live broadcast index of the corresponding time period is screened out from the index values ​​corresponding to each live broadcast index of the target live broadcast account within the preset time, that is, the target index value corresponding to each video clip. Further, according to the target index value corresponding to each video clip, the clip to be combined is selected from all video clips. One achievable implementation method is: the ratio of the index value of the popularity index of a single video clip to the index value of the popularity index of the live broadcast video, that is, the ratio of the average popularity value in the video time period corresponding to the video clip to the average popularity value within the preset time, is determined as the corresponding first rating. The higher the first rating, the better the popularity of the corresponding video clip. Similarly, the ratio of the sales of the sales index of a single video clip to the total sales corresponding to the live broadcast video is determined as the corresponding second rating, so as to evaluate the live broadcast sales in the corresponding video clip. The higher the second rating, the better the live broadcast sales of the corresponding video clip. The ratio of the number of comments of the comment number indicator of a single video clip to the overall number of comments corresponding to the live video is determined as the third rating, so as to evaluate the audience interactivity of the corresponding video clip during the live broadcast. The higher the third rating, the more comments there are during the live broadcast of the corresponding video clip, and the stronger the audience interactivity. It should be noted that the popularity value refers to the number of online viewers during the live broadcast.

[0038] Furthermore, to determine the fourth and fifth ratings of a single video clip, a feasible determination method is: according to the target live broadcast account's follower group, determine at least one dimension of the follower user portrait, and determine the first weight factor of each follower user portrait; sum and average the first weight factors to obtain the fourth rating of the live broadcast account's follower user portrait dimension; according to the target live broadcast account's purchasing group, determine at least one dimension of the crowd portrait, and determine the second weight factor of each crowd portrait; sum and average the second weight factors to obtain the fifth rating of the live broadcast account's target crowd dimension. It should be noted that the follower group is the user group that follows the target live broadcast account.

[0039] Specifically, the target live broadcast account's followers are analyzed through a preset third-party live broadcast analysis tool to determine at least one dimension of the follower portrait. Further, according to the distribution of the number of followers of each dimension, the first weight factor of each dimension of the follower portrait is determined. For example, the follower portraits of the three dimensions of age 26-30 years old, gender female, and annual income of more than 150,000 yuan are determined. If the follower population of the target live broadcast account accounts for 30% of the people aged 26-30 years old, the gender female accounts for 20%, and the annual income of 150,000 yuan accounts for 15%. Further, according to the order of the proportion of the number of people from high to low, three weight factor ranges of 0.8-1, 0.6-0.8, and 0.4-0.6 can be divided in turn. Finally, the first weight factor of the follower portrait of the dimension of age is taken from 0.8-1, and the value is 0.9. By analogy, the first weight factor of the follower portrait of the dimension of gender can be taken as 0.7, and the follower portrait of the dimension of annual income can be taken as 0.5. Finally, the average value of each first weight factor is calculated to obtain the fourth rating.

[0040] Further, the target live broadcast account's purchase population within a preset time is analyzed through a third-party live broadcast analysis tool to determine a population portrait of at least one dimension. Further, according to the population distribution of the population portrait of each dimension, the second weight factor of the population portrait of each dimension is determined. For example, the population portrait of the three dimensions of age 26-30 years old, gender female, and annual income of more than 150,000 yuan is determined. If the actual purchase population has a population of 26-30 years old, a population of 30% female, and a population of 150,000 yuan annual income, then the second weight factor of the population portrait of the age dimension is 0.7 from 0.6 to 0.8, the second weight factor of the population portrait of the gender dimension can be 0.8, and the second weight factor of the population portrait of the annual income dimension can be 0.4. Finally, the average value of each second weight factor is calculated to obtain the fifth rating.

[0041] Furthermore, the weighted average of the first rating, the second rating, the third rating, the fourth rating, and the fifth rating corresponding to a single video clip is determined, so as to comprehensively evaluate the availability of a single video clip in the entire live video. The higher the weighted average, the higher the availability, and the higher the highlight level of the corresponding video clip. Then, based on the weighted average of each video clip, the clip to be combined is selected from all video clips, that is, the video clip that needs to be assembled into a sliced ​​video. The specific process is: the video clip with the largest weighted average is selected from each video clip and determined as the middle video clip, that is, the video clip with the highest availability and the most likely to be favored by the audience in the live video. Furthermore, from each video clip, the previous video clip whose video period is earlier than the video period of the middle video clip is selected, and the subsequent video clip whose video period is later than the video period of the middle video clip is selected.

[0042] Calculate the first difference between the weighted average of the middle video segment and the weighted average of a single previous video segment, and determine the ratio of the first difference to the weighted average of the corresponding previous video segment as the first ratio of the corresponding previous video segment. The larger the first ratio, the more the middle video segment grows in weighted average compared to the corresponding previous video segment, and determine the previous video segment corresponding to the largest first ratio among the first ratios as the front video segment, that is, the video segment combined before the middle video segment. In terms of weighted average, the middle video segment grows the most compared to the front video segment. Taking the front video segment as the starting video segment allows the audience to browse from the front video segment to the middle video segment, and can gain a more shocking viewing experience, and the promotion effect is better.

[0043] Furthermore, the second difference of the weighted average of the single subsequent video segment minus the weighted average of the middle video segment is calculated, and the ratio of this second difference to the weighted average of the middle video segment is determined as the second ring ratio value of the corresponding subsequent video segment. The smaller the second ring ratio value is, the less the corresponding subsequent video segment decreases in weighted average compared to the middle video segment, and the subsequent video segment corresponding to the smallest second ring ratio value among the second ring ratio values ​​is determined as the post-video segment, that is, the video segment combined after the middle video segment. In terms of weighted average, the post-video segment decreases the least compared to the middle video segment, and the post-video segment is used as the ending video segment. When the audience browses from the middle video segment to the post-video segment, it is avoided that the video segment ends the viewing due to a sudden drop in the attractiveness of the audience. Finally, the front video segment, the middle video segment and the post-video segment are determined as the segments to be combined, so as to facilitate the subsequent combination to obtain a sliced ​​video that is more attractive to the audience.

[0044] S104: Combine the segments to be combined to obtain a final sliced ​​video, and repeat the step of selecting the segments to be combined from the video segments until the number of final sliced ​​videos reaches the number of slices and the slice duration of the final sliced ​​video is within the duration range.

[0045] Specifically, the various segments to be combined are combined in order to obtain a final sliced ​​video, and the slice duration of this final sliced ​​video is within the duration range, which can be regarded as the completion of the generation of a single sliced ​​video. If the slice duration is not within the duration range, then the preceding video segment or the succeeding video segment of the middle video segment is replaced. Exemplarily, the preceding video segment is replaced with the preceding video segment with the second highest first ratio value. Furthermore, in order to meet the requirement on the number of slices, the step of selecting the segments to be combined from the various video segments is repeated, that is, the segments to be combined are selected again from the various video segments and combined, and the selected objects do not include the middle video segment, and finally the second final sliced ​​video is obtained, and so on, until the number of final sliced ​​videos reaches the number of slices.

[0046] See also Figure 2 The present application embodiment discloses a flowchart of another method for generating sliced ​​videos, which can be implemented by a computer program or run on a sliced ​​video generating device based on the von Neumann system. The computer program can be integrated into an application or run as an independent tool application, specifically including: S201: Obtain the live video of the target live account within a preset time and the indicator value of at least one live indicator within the preset time, and obtain the number of slices, duration range, aspect ratio and emphasis on live broadcast indicators of the sliced ​​video to be generated.

[0047] S202: Segment the live video into a plurality of video segments, each of which corresponds to a segment of live speech within a preset time.

[0048] S203: Based on the indicator values ​​of each live broadcast indicator, determine the target indicator value corresponding to each video segment, and select the segment to be combined from the corresponding video segments according to the target indicator value corresponding to each video segment, and the target indicator value is the indicator value of the live broadcast indicator focused on the corresponding video segment.

[0049] S204: Combine the segments to be combined to obtain a final sliced ​​video, and repeat the step of selecting the segments to be combined from the video segments until the number of final sliced ​​videos reaches the number of slices and the slice duration of the final sliced ​​video is within the duration range.

[0050] For details, please refer to steps S101-S104, which will not be described in detail here.

[0051] S205: Obtain the purchasing population portrait corresponding to the product promoted in the live video, and obtain the historical product slices watched by the historical users of the purchasing population portrait, and count the number of historical users whose viewing time of each historical product slice exceeds the preset time. The product corresponding to the historical product slice is the same as the product promoted.

[0052] S206: In order of quantity from large to small, select the historical product slice with the first number from each historical product slice and determine it as the Yixi product slice.

[0053] S207: Count the product conversion rates of the historical live broadcast accounts that publish each Yixi product slice, and select the second historical live broadcast account from each historical live broadcast account in descending order of product conversion rates to determine it as the easy-to-convert account of the corresponding Yixi product slice.

[0054] Specifically, through a preset third-party live broadcast analysis tool, the purchase population portrait corresponding to the product with goods in this live broadcast video is determined. For example, the purchase population portrait is: 26 to 30 years old, female, and annual income of about 120,000 yuan, etc. Further, through the third-party live broadcast analysis tool, the historical product slices watched by the historical users of the purchase population portrait can be determined. The products with goods in the historical product slices are the same as the products with goods in this live broadcast video. Then, the number of historical users whose viewing time for each historical product slice exceeds the preset time is counted. The more the number, the more attractive the corresponding historical product slice is to the historical users of the purchase population portrait. Finally, in order from large to small, the first number of historical product slices is selected from each historical product slice, and it is determined as an easy-to-like product slice, that is, a product slice video that is easily favored by users of the purchase population portrait. It should be noted that the third-party live broadcast analysis tool is a software or service platform developed and provided by a third-party organization or company independent of the live broadcast platform for monitoring, collecting, analyzing and interpreting live broadcast data.

[0055] Furthermore, the product conversion rate of the historical live broadcast accounts that published Yixi product slices is counted, that is, the proportion of users who purchased and placed orders through the product purchase links in the Yixi product slices. The higher the product conversion rate, the easier it is for the historical live broadcast account to arouse the purchasing interest of users in the purchasing population portrait through the corresponding Yixi product slices. Then, in descending order of product conversion rate, the second historical live broadcast account is selected from each historical live broadcast account to determine it as the easy-to-convert account of the corresponding Yixi product slice, that is, the live broadcast account that is easy to convert products through the corresponding Yixi product slice.

[0056] S208: Determine the first weight of each Yixi product slice and the second weight of the corresponding Yihuanhua account.

[0057] S209: Based on the first weight and the corresponding second weight, composing music for the final sliced ​​video.

[0058] Specifically, determine the first weight of each Yixi product slice and the second weight of the corresponding Yibianhua account, the first weight being the ratio of the quantity corresponding to each Yixi product slice to the sum of the quantities corresponding to all Yixi product slices, and the second weight being the ratio of the product conversion rate of a single Yibianhua account corresponding to the Yixi product slice to the sum of the product conversion rates of all corresponding Yibianhua accounts.

[0059] Further, the first type of matching degree between each Yihua conversion account corresponding to each Yixi product slice and the product with goods in the live video is determined. A feasible determination method is: determine the portrait of the purchasing population and the portrait of the user who follows the Yihua conversion account through a third-party live analysis tool, and then map the portrait of the purchasing population and the portrait of the user who follows the Yihua conversion account to a high-dimensional space for vectorization to obtain the corresponding vector, and then calculate the cosine similarity between the two vectors to obtain the corresponding first type of matching degree. The larger the cosine similarity, the more similar the portrait of the user who follows the Yihua conversion account and the portrait of the purchasing population of the product with goods, and the higher the first type of matching degree. Exemplarily, the product with goods is infant products, and the Yihua conversion account is also a live broadcast account related to infants and young children, so the matching degree between the two is relatively high. Further, from each Yihua conversion account corresponding to a single Yixi product slice, select a key live broadcast account whose first type of matching degree is lower than the preset matching degree threshold, that is, an Yihua conversion account whose portrait of the user who follows the product with goods is less similar to the portrait of the purchasing population of the product with goods. Similarly, the second type of matching degree between the slice account to be released and the product with goods can be determined, wherein the slice account to be released is the live broadcast account that needs to release the final slice video.

[0060] Calculate the first weight product of each Yixi product slice and the second weight product of each corresponding key live broadcast account. The larger the first weight product, the easier it is for the corresponding key live broadcast account to attract users who purchase the crowd portrait to place orders through the Yixi product slice. If the second type matching degree is higher than the matching degree threshold, it means that the live broadcast room corresponding to the slice account to be released is more matched with the product to be sold. Then sum the first weight products corresponding to a single Yixi product slice to obtain the sum of the weight products. The larger the sum of the weight products, the easier it is for users who purchase the crowd portrait to place orders in the live broadcast accounts that are less matched with the product to be sold based on the corresponding Yixi product slice, which means that it is the Yixi product slice itself that promotes the order, which further indicates that the corresponding Yixi product slice is more likely to attract users who purchase the crowd portrait and make transactions. Finally, the maximum weight product sum is selected from the sums of the weight products, and the background music of the Yixi product slice corresponding to the maximum weight product sum is determined as the first background music, which is used as a reference for the final slice video soundtrack or the background music of the final slice video is directly set as the first background music, so that after the final slice video is released by the slice account to be released, it can effectively attract users to place orders and increase the sales of the products. In other embodiments, the words contained in the Yixi product slice corresponding to the maximum weight product sum can also be determined, and the video clips containing the words are segmented from the live video for assembly to obtain the assembled slice video.

[0061] Furthermore, if the second type matching degree between the slice account to be sent and the product with goods is lower than the matching degree threshold, it means that the live broadcast room attribute corresponding to the slice account to be sent is poorly matched with the product with goods, then determine the similar live broadcast account among the key live broadcast accounts corresponding to the single Yixi product slice, that is, the key live broadcast account with the largest third type matching degree of the slice account to be sent. It can be understood that the similar live broadcast account and the slice account to be sent are relatively similar, then calculate the first weight of each Yixi product slice and the second weight product of the corresponding similar live broadcast account. The larger the second weight product, the easier it is for the similar live broadcast account to attract users who purchase the crowd portrait to place an order through the corresponding Yixi product slice. Finally, select the maximum second weight product from each second weight product, determine the background music of the Yixi product slice corresponding to this maximum second weight product as the second background music, and set the soundtrack of the final slice video to this second background music. It should be noted that the user portraits of the key live broadcast account and the slice account to be released are vectorized, and the cosine similarity between the two vectors is calculated to determine the third type matching degree between the key live broadcast account and the slice account to be sent.

[0062] The implementation principle of a sliced ​​video generation method in an embodiment of the present application is: obtain a live video and the corresponding indicator values, so as to provide editing materials for the subsequent generation of sliced ​​videos, and at the same time obtain the generation requirements of sliced ​​videos such as the number of slices, duration range, aspect ratio, and focus on live broadcast indicators. Further, the live video is segmented according to the live broadcast speech to obtain multiple video clips, so that each video clip is relatively complete. Further, according to the target indicator values ​​corresponding to the focus on live broadcast indicators of each video clip, the to-be-combined segments that meet the generation requirements are selected from each video clip, and each to-be-combined segment is combined to finally obtain a final sliced ​​video with the number of slices that meet the generation requirements, thereby achieving the whole process without manual intervention, automatically generating the required sliced ​​videos according to the generation requirements, and improving the efficiency of sliced ​​video generation.

[0063] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0064] See also Figure 3 , is a schematic diagram of the structure of a slice video generation device provided in an embodiment of the present application. The device for slice video generation can be implemented as all or part of the device through software, hardware or a combination of both. The device includes an information acquisition module 11, a video segmentation module 12, a segment selection module 13 and a slice generation module 14.

[0065] The information acquisition module 11 is used to obtain the live video of the target live account within a preset time and the indicator value of at least one live indicator within the preset time, and obtain the number of slices, duration range, aspect ratio and emphasis on live indicators of the sliced ​​video to be generated, where the live indicator is an indicator for evaluating the live broadcast situation, and the emphasis on live indicators is a live indicator that is emphasized when generating sliced ​​videos among the live indicators; The video segmentation module 12 is used to segment the live video into multiple video segments, each video segment corresponds to a live speech within a preset time; The segment selection module 13 is used to determine the target indicator value corresponding to each video segment based on the indicator value of each live broadcast indicator, and select the segment to be combined from each video segment according to the target indicator value corresponding to each video segment, wherein the target indicator value is the indicator value of the live broadcast indicator focused on the corresponding video segment; The slice generation module 14 is used to combine the segments to be combined to obtain a final slice video, and repeatedly execute the step of selecting the segments to be combined from the video segments until the number of final slice videos reaches the number of slices and the slice duration of the final slice video is within the duration range.

[0066] Optionally, the segment selection module 13 is specifically used for: The ratio of the index value of the popularity index of the single video clip to the index value of the popularity index of the live video is determined as the corresponding first rating, the ratio of the sales of the sales index of the single video clip to the total sales corresponding to the live video is determined as the corresponding second rating, and the ratio of the number of comments of the number of comments index of the single video clip to the overall number of comments corresponding to the live video is determined as the third rating; Determine the fourth rating of the target live broadcast account in the dimension of the portrait of the users followed by the live broadcast account and the fifth rating in the dimension of the target group of the live broadcast account; According to the first rating, the second rating, the third rating, the fourth rating and the fifth rating corresponding to the same video segment, a segment to be combined is selected from each video segment.

[0067] Optionally, the segment selection module 13 is specifically used for: Determine at least one dimension of follower profiles of the target live broadcast account according to the follower group of the target live broadcast account, and determine a first weight factor for each follower profile; The first weight factors are summed and averaged to obtain the fourth rating of the live broadcast account's follower portrait dimension; Determine at least one dimension of crowd portrait based on the purchasing population of the target live broadcast account, and determine a second weight factor for each crowd portrait; The second weight factors are summed up and averaged to obtain the fifth rating of the target population dimension of the live broadcast account.

[0068] Optionally, the segment selection module 13 is specifically used for: Determine a corresponding weighted average according to the first rating, the second rating, the third rating, the fourth rating, and the fifth rating corresponding to the same video clip; Select a video segment with the largest weighted average from each video segment and determine it as the middle video segment, and select a preceding video segment whose video period is earlier than the video period corresponding to the middle video segment and a succeeding video segment whose video period is later than the video period corresponding to the middle video segment from each video segment; Calculate a first difference between the weighted average of the middle video segment and the weighted average of each previous video segment, determine the ratio of the first difference to the weighted average of the corresponding previous video segment as a first ring ratio value of the corresponding previous video segment, and determine the previous video segment corresponding to the maximum first ring ratio value among the first ring ratio values ​​as the front video segment, the front video segment being the video segment combined before the middle video segment; Calculating a second difference between the weighted average of each subsequent video segment and the weighted average of the intermediate video segments, determining a ratio of the second difference to the weighted average of the intermediate video segments as a second ring ratio value of the corresponding subsequent video segment, and determining a subsequent video segment corresponding to a minimum second ring ratio value among the second ring ratio values ​​as a post-positioned video segment, wherein the post-positioned video segment is a video segment combined after the intermediate video segment; The front video segment, the middle video segment and the rear video segment are determined as segments to be combined.

[0069] Optional, such as Figure 4 As shown, the device also includes a first music matching module 15, which is specifically used for: Obtain the purchaser profile corresponding to the product carried in the live video, and obtain the historical product slices watched by the historical users of the purchaser profile, and count the number of historical users whose viewing time of each historical product slice exceeds the preset time. The product corresponding to the historical product slice is the same as the product carried; In descending order of quantity, the first historical product slice is selected from each historical product slice to be determined as the Yixi product slice; Count the product conversion rates of the historical live broadcast accounts that publish each Yixi product slice, and select the second-highest historical live broadcast account from each historical live broadcast account in descending order of product conversion rates to determine it as the easy-to-convert account of the corresponding Yixi product slice; Determine a first weight of each Yixi product slice and a second weight of the corresponding Yihuanhua account, wherein the first weight is the ratio of the quantity corresponding to each Yixi product slice to the sum of the quantities corresponding to all Yixi product slices, and the second weight is the ratio of the product conversion rate of a single Yihuanhua account corresponding to the Yixi product slice to the sum of the product conversion rates of all corresponding Yihuanhua accounts; Based on the first weight and the corresponding second weight, music is composed for the final sliced ​​video.

[0070] Optionally, the first music matching module 15 is specifically used for: Calculate the first weight product of each Yixi product slice and the second weight of each corresponding key live broadcast account, where the key live broadcast account is an easy-to-convert account whose matching degree with the first type of the product is lower than a preset matching degree threshold; When the matching degree between the to-be-sent slice account and the second type of the product is higher than the matching degree threshold, the sum of the weight products of the corresponding Yixi product slices is obtained by summing up the first weight products, and the maximum weight product sum is selected from the sums of the weight products. The to-be-sent slice account is the live broadcast account that needs to publish the final slice video. The background music of the Yixi product slice corresponding to the sum of the maximum weight products is determined as the first background music, and the final slice video is accompanied by music based on the first background music.

[0071] Optionally, the device further includes a second music matching module 16, which is specifically used for: When the second type matching degree between the waiting slice account and the product is lower than the matching degree threshold, determine the similar live broadcast account among the key live broadcast accounts corresponding to each Yixi product slice, and the similar live broadcast account is the key live broadcast account with the greatest third type matching degree with the waiting slice account; Calculate the second weight product of the first weight of each Yixi product slice and the second weight of the corresponding similar live broadcast account; The maximum second weight product is selected from each second weight product, the background music of the Yixi product slice corresponding to the maximum second weight product is determined as the second background music, and the final slice video is composed of music based on the second background music.

[0072] It should be noted that the sliced ​​video generation device provided in the above embodiment only uses the division of the above functional modules as an example when executing the sliced ​​video generation method. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the sliced ​​video generation device provided in the above embodiment and the sliced ​​video generation method embodiment belong to the same concept. The implementation process is detailed in the method embodiment and will not be repeated here.

[0073] An embodiment of the present application further discloses a computer-readable storage medium, and the computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, a slice video generation method of the above embodiment is adopted.

[0074] Among them, the computer program can be stored in a computer-readable medium, the computer program includes computer program code, the computer program code can be in the form of source code, object code, executable file or certain middleware, etc. The computer-readable medium includes any entity or device that can carry the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the computer-readable medium includes but is not limited to the above-mentioned components.

[0075] Among them, through this computer-readable storage medium, a slice video generation method of the above embodiment is stored in a computer-readable storage medium, and is loaded and executed on a processor to facilitate the storage and application of the above method.

[0076] An embodiment of the present application further discloses an electronic device, wherein a computer program is stored in a computer-readable storage medium, and when the computer program is loaded and executed by a processor, the above-mentioned sliced ​​video generation method is adopted.

[0077] The electronic device may be a desktop computer, a laptop computer, a cloud server or other electronic device, and the electronic device includes but is not limited to a processor and a memory. For example, the electronic device may also include input and output devices, a network access device, and a bus.

[0078] Among them, the processor can adopt a central processing unit (CPU). Of course, according to actual usage, other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. can also be adopted. The general-purpose processor can adopt a microprocessor or any conventional processor, etc., and this application does not impose any restrictions on this.

[0079] Among them, the memory can be an internal storage unit of the electronic device, such as a hard disk or memory of the electronic device, or it can be an external storage device of the electronic device, such as a plug-in hard disk, a smart memory card (SMC), a secure digital card (SD) or a flash memory card (FC) equipped on the electronic device. Moreover, the memory can also be a combination of an internal storage unit and an external storage device of the electronic device. The memory is used to store computer programs and other programs and data required by the electronic device. The memory can also be used to temporarily store data that has been output or is to be output, and this application does not impose any restrictions on this.

[0080] Among them, through this electronic device, a slice video generation method of the above embodiment is stored in the memory of the electronic device, and is loaded and executed on the processor of the electronic device for easy use.

[0081] The above is only an exemplary embodiment of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. This application is intended to cover any variation, use or adaptive change of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field that are not recorded in the present disclosure. The description and examples are only regarded as exemplary, and the scope and spirit of the present disclosure are defined by the claims.

Claims

1. A method for generating sliced ​​video, characterized in that: The method comprises: Obtain the live video of the target live account within a preset time and the indicator value of at least one live indicator within the preset time, and obtain the number of slices, duration range, aspect ratio, and live broadcast indicator of the sliced ​​video to be generated, wherein the live broadcast indicator is an indicator for evaluating the live broadcast situation, and the live broadcast indicator is a live broadcast indicator that is focused on when generating the sliced ​​video among the live broadcast indicators; Dividing the live video into multiple video segments, each of which corresponds to a segment of live speech within the preset time; Based on the indicator values ​​of each of the live broadcast indicators, a target indicator value corresponding to each of the video clips is determined, and according to the target indicator values ​​corresponding to each of the video clips, a segment to be combined is selected from each of the video clips, wherein the target indicator value is an indicator value of the live broadcast indicator focused on the corresponding video clip; Combine the segments to be combined to obtain a final sliced ​​video, and repeat the step of selecting the segments to be combined from the video segments until the number of the final sliced ​​videos reaches the number of slices and the slice duration of the final sliced ​​video is within the duration range.

2. The method for generating sliced ​​video according to claim 1, characterized in that: The live broadcast index includes a popularity index, a sales index and a comment number index. The segment to be combined is selected from each of the video segments according to the target index value corresponding to each of the video segments, specifically including: Determine the first rating as the ratio of the index value of the popularity index of the single video clip to the index value of the popularity index of the live video, determine the second rating as the ratio of the sales of the sales index of the single video clip to the total sales of the live video, and determine the third rating as the ratio of the number of comments of the number of comments index of the single video clip to the overall number of comments of the live video; Determine the fourth rating of the target live broadcast account in the dimension of the portrait of the users followed by the live broadcast account and the fifth rating in the dimension of the target group of the live broadcast account; According to the first rating, the second rating, the third rating, the fourth rating and the fifth rating corresponding to the same video segment, a segment to be combined is selected from each of the video segments.

3. The method for generating sliced ​​video according to claim 2, characterized in that: Determining the fourth rating of the target live broadcast account in the dimension of the portrait of the users followed by the live broadcast account and the fifth rating in the dimension of the target group of the live broadcast account specifically includes: Determine, according to the follower group of the target live broadcast account, a follower user portrait of at least one dimension, and determine a first weight factor for each follower user portrait; The first weight factors are summed and averaged to obtain a fourth rating of the live broadcast account's follower portrait dimension; Determine a crowd portrait of at least one dimension according to the purchasing crowd of the target live broadcast account, and determine a second weight factor for each of the crowd portraits; The sum and average of the second weight factors are calculated to obtain the fifth rating of the target population of the live broadcast account.

4. The method for generating sliced ​​video according to claim 2, characterized in that: The selecting the segment to be combined from each of the video segments according to the first rating, the second rating, the third rating, the fourth rating, and the fifth rating corresponding to the same video segment specifically includes: Determine a corresponding weighted average according to the first rating, the second rating, the third rating, the fourth rating, and the fifth rating corresponding to the same video clip; Select a video segment with the largest weighted average from each of the video segments and determine it as the middle video segment, and select a preceding video segment whose video period is earlier than the video period corresponding to the middle video segment and a succeeding video segment whose video period is later than the video period corresponding to the middle video segment from each of the video segments; Calculating a first difference between the weighted average of the middle video segment and the weighted average of each of the previous video segments, determining a ratio of the first difference to the weighted average of the corresponding previous video segment as a first ring ratio value of the corresponding previous video segment, and determining a previous video segment corresponding to a maximum first ring ratio value among the first ring ratio values ​​as a front video segment, wherein the front video segment is a video segment combined before the middle video segment; Calculating a second difference value obtained by subtracting a weighted average value of the middle video segments from a weighted average value of each of the rear video segments, determining a ratio of the second difference value to the weighted average value of the middle video segments as a second ring ratio value of the corresponding rear video segment, and determining a rear video segment corresponding to a minimum second ring ratio value among the second ring ratio values ​​as a post-positioned video segment, wherein the post-positioned video segment is a video segment combined after the middle video segment; The front video segment, the middle video segment and the rear video segment are determined as segments to be combined.

5. The method for generating sliced ​​video according to claim 1, characterized in that: The method further comprises: Obtain a purchaser profile corresponding to the product carried in the live video, and obtain historical product slices watched by historical users of the purchaser profile, and count the number of historical users whose viewing time of each historical product slice exceeds a preset time, and the product corresponding to the historical product slice is the same as the product carried; According to the order of the number from largest to smallest, the first number of historical product slices is selected from each of the historical product slices to be determined as the Yixi product slice; Counting the product conversion rate of the historical live broadcast account that publishes each Yixi product slice, and selecting the second historical live broadcast account from each of the historical live broadcast accounts in descending order of the product conversion rate to determine it as the easy conversion account of the corresponding Yixi product slice; Determine a first weight of each Yixi product slice and a second weight of the corresponding Yibianhua account, wherein the first weight is the ratio of the quantity corresponding to each Yixi product slice to the sum of the quantities corresponding to all Yixi product slices, and the second weight is the ratio of the product conversion rate of a single Yibianhua account corresponding to the Yixi product slice to the sum of the product conversion rates of all Yibianhua accounts; Based on the first weight and the corresponding second weight, music is composed for the final sliced ​​video.

6. The method for generating sliced ​​video according to claim 5, characterized in that: The performing music matching for the final sliced ​​video based on the first weight and the corresponding second weight specifically includes: Calculate the first weight product of each of the Yixi product slices and the second weight of each corresponding key live broadcast account, where the key live broadcast account is an easy-to-convert account whose matching degree with the first type of the product is lower than a preset matching degree threshold; When the matching degree between the to-be-sent slice account and the second type of the product is higher than the matching degree threshold, the first weight products are summed to obtain the sum of the weight products of the corresponding Yixi product slices, and the maximum sum of the weight products is selected from the sums of the weight products. The to-be-sent slice account is the live broadcast account that needs to publish the final slice video; The background music of the Yixi product slice corresponding to the sum of the maximum weight products is determined as the first background music, and the final slice video is composed of music based on the first background music.

7. The method for generating sliced ​​video according to claim 6, characterized in that: The method further comprises: When the matching degree between the to-be-sent slice account and the second type of the product is lower than the matching degree threshold, determine a similar live broadcast account among the key live broadcast accounts corresponding to each Yixi product slice, wherein the similar live broadcast account is the key live broadcast account with the greatest matching degree of the third type with the to-be-sent slice account; Calculate the second weight product of the first weight of each Yixi product slice and the second weight of the corresponding similar live broadcast account; The maximum second weight product is selected from each of the second weight products, the background music of the Yixi product slice corresponding to the maximum second weight product is determined as the second background music, and the final slice video is composed of music based on the second background music.

8. A slice video generation device, characterized in that: include: An information acquisition module (11) is used to acquire the live video of the target live account within a preset time and the index value of at least one live index within the preset time, and to acquire the number of slices, the duration range, the aspect ratio and the emphasis live index of the sliced ​​video to be generated, wherein the live index is an index for evaluating the live broadcast situation, and the emphasis live index is a live index that is emphasized when generating the sliced ​​video among the live indicators; A video segmentation module (12) is used to segment the live video into a plurality of video segments, each of which corresponds to a segment of live speech within the preset time; A segment selection module (13) is used to determine the target indicator value corresponding to each of the video segments based on the indicator value of each of the live broadcast indicators, and select the segment to be combined from each of the video segments according to the target indicator value corresponding to each of the video segments, wherein the target indicator value is the indicator value of the live broadcast indicator of the corresponding video segment; The slice generation module (14) is used to combine the segments to be combined to obtain a final slice video, and repeatedly perform the step of selecting the segments to be combined from the video segments until the number of the final slice video reaches the number of slices, and the slice duration of the final slice video is within the duration range.

9. A computer-readable storage medium having a computer program stored therein, characterized in that: When the computer program is loaded and executed by a processor, the method according to any one of claims 1 to 7 is adopted.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and capable of running on the processor, characterized in that: When the processor loads and executes the computer program, the method according to any one of claims 1 to 7 is adopted.

Citation Information

Patent Citations

  • Audio and video correlation playing method and device, server and storage medium

    CN109618229A

  • Live video album generation method, device, equipment, and storage medium

    CN111698554A

  • Live video processing method and device, computer readable medium and electronic equipment

    CN115484467A

  • Live broadcast information pushing method based on fan portraits

    CN116934420A

  • Live broadcast video stream code rate self-adaption method capable of expanding video coding

    CN117014619A

Cited By

  • Film and television shooting planning method and system based on deep learning

    CN120769130A

  • Movie shooting planning method and system based on deep learning

    CN120769130B