Live video processing methods, devices, electronic equipment and storage media

CN119854530BActive Publication Date: 2026-09-01BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411834020.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-12
Publication Date
2026-09-01
Estimated Expiration
2044-12-12

AI Technical Summary

Technical Problem

[0003]本公开提供一种直播视频处理方法、装置、电子设备及存储介质,以至少解决相关技术中发布的直播视频片段内容单一,无法有效的反映直播间的真实情况,导致发布的直播视频片段的质量较差,进而也带来直播间推荐效果较差、推荐效率较低等技术问题

Benefits of technology

[0117] In response to the live stream segment generation command corresponding to the target live stream room, the system obtains the original live stream video segment of the target live stream room within the target live stream time period corresponding to the live stream segment generation command, and the target gifting special effects material corresponding to the target virtual items gifted by the live stream viewers within the target live stream time period. Based on the original live stream video segment and the target gifting special effects material, a target live stream video segment for publication is generated. This effectively improves the content richness and extensibility of the published live stream video segment. Furthermore, combining the original live stream video segment and the gifting special effects material of the virtual items gifted during the live stream to create the published live stream video segment can improve the universality of the published live stream video segment creation, ensuring that the published live stream video segment can effectively reflect the real situation of the live stream room, improving the quality of the published live stream video segment, and thus improving the recommendation effect and efficiency of the live stream room. Moreover, after the target live stream video segment is created offline on the server, it is published to the target account corresponding to the target live stream room, which can also effectively reduce the performance requirements of the terminal device, reduce the terminal device cost, and improve the performance of the terminal system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119854530B_ABST
    Figure CN119854530B_ABST
Patent Text Reader

Abstract

This disclosure relates to a live video processing method, apparatus, electronic device, and storage medium. The method includes responding to a live video segment generation instruction corresponding to a target live room; acquiring the original live video segment of the target live room within the target live time period corresponding to the live video segment generation instruction and target gift effect material, wherein the target gift effect material is the gift effect material corresponding to a target virtual item gifted by a live viewer in the target live room within the target live time period; generating a target live video segment based on the original live video segment and the target gift effect material; and publishing the target live video segment to the target account corresponding to the target live room. Utilizing embodiments of this disclosure can improve the richness and extensibility of the published live video segments, ensuring that the published live video segments can effectively reflect the real situation of the live room, improving the quality of the published live video segments, and thus improving the recommendation effect and efficiency of the live room.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of live streaming technology, and in particular to a live video processing method, apparatus, electronic device, and storage medium. Background Technology

[0002] With the development of live streaming technology, live streaming functionality has become widely popular. Related technologies can automatically identify high-quality moments in a live stream and publish corresponding video clips, which can then be used to better recommend live streams. However, these published video clips are often just the original footage of the live stream, merely representing the streamer's content. This limited content fails to effectively reflect the true state of the live stream, resulting in poor quality video clips and consequently, poor recommendation performance and low recommendation efficiency. Summary of the Invention

[0003] This disclosure provides a live video processing method, apparatus, electronic device, and storage medium to at least solve the technical problems in related technologies, such as the limited content of published live video clips, which fail to effectively reflect the real situation in the live room, resulting in poor quality of published live video clips and consequently, poor live room recommendation effects and low recommendation efficiency. The technical solution of this disclosure is as follows:

[0004] According to a first aspect of the present disclosure, a live video processing method is provided, comprising:

[0005] In response to the live segment generation instruction corresponding to the target live room, the original live video segment of the target live room and the target gift special effect material within the target live time period corresponding to the live segment generation instruction are obtained. The target gift special effect material is the gift special effect material corresponding to the target virtual item gifted by the live viewing object in the target live room within the target live time period.

[0006] Based on the original live video clip and the target gifted special effects material, generate a target live video clip;

[0007] The target live video clip is published to the target account corresponding to the target live room.

[0008] In an optional embodiment, the method further includes:

[0009] Determine at least one virtual item gifted by viewers in the target live stream during the target live stream time period;

[0010] Based on preset item filtering information, the target virtual item is determined from the at least one virtual item;

[0011] The preset item filtering information includes at least one of the following: first item filtering information, second item filtering information, and third item filtering information. The first item filtering information is used to filter out virtual items whose visual presentation level of the item gifting effect meets the preset presentation level. The second item filtering information is used to filter out virtual items that correspond to different item gifting effects in different live streaming scenarios. The third item filtering information is used to filter out virtual items whose corresponding item gifting effects are blocked by the live streaming initiating account corresponding to the target live streaming room.

[0012] In an optional embodiment, the target virtual item includes preset virtual items, the preset virtual items correspond to various item gifting effects, and the various item gifting effects correspond to different live streaming scenarios; the method further includes:

[0013] Determine the current live streaming scenario of the target live streaming room;

[0014] The gift effect materials corresponding to the preset virtual items in the target gift effect materials are obtained in the following way:

[0015] From the various item gifting effects, obtain the item gifting effect corresponding to the current live streaming scene.

[0016] In an optional embodiment, generating the target live video segment based on the original live video segment and the target gift special effects material includes:

[0017] Obtain the item gifting time corresponding to the target virtual item;

[0018] Based on the time the item is given away, the target gifting effect material is rendered into the original live video clip to obtain the target live video clip.

[0019] In an optional embodiment, the target virtual item includes one or more virtual items. If the target virtual item includes multiple virtual items, and at least two of the multiple virtual items correspond to the same item gifting time, the method further includes:

[0020] Obtain the amount of resources consumed for gifting the at least two virtual items, wherein the amount of resources consumed for gifting is positively correlated with the visual presentation level of the corresponding item gifting effect;

[0021] Based on the amount of resources consumed by the gift, the rendering order of the at least two virtual items is determined, wherein the rendering order is a descending sort of the at least two virtual items based on the amount of resources consumed by the gift.

[0022] The step of rendering the target gifting special effects material onto the original live stream video segment based on the item gifting time to obtain the target live stream video segment includes:

[0023] Based on the rendering order of the at least two virtual items and the gifting time of the at least two virtual items, the gifting special effects materials corresponding to the at least two virtual items are rendered into the original live video clip.

[0024] In an optional embodiment, publishing the target live video clip to the target account corresponding to the target live room includes:

[0025] The target live video clip is published to the target account so that the target live video clip is displayed on the preset page corresponding to the target account.

[0026] The preset page includes at least one of the following: the live streaming page corresponding to the target live streaming room, the account homepage of the target account, and the multimedia resource browsing page; the target account includes at least one of the following: the live streaming initiating account corresponding to the target live streaming room and the associated account of the live streaming initiating account.

[0027] In an optional embodiment, the method further includes:

[0028] Store the item gifting record during the live broadcast of the target live broadcast room. The item gifting record includes the item identifier of the virtual item gifted by the live broadcast viewers in the target live broadcast room during the live broadcast of the target live broadcast room.

[0029] The target-gift special effects materials are obtained using the following methods:

[0030] Obtain the target item identifier of the target virtual item gifted by the live stream viewers in the target live stream during the target live stream time period from the item gifting record;

[0031] Based on the target item identifier, the target gift effect material is obtained from the preset material library.

[0032] In an optional embodiment, the method further includes:

[0033] If the live streaming quality index data of the target live streaming room during the target live streaming time period is greater than or equal to a preset threshold, the live streaming segment generation instruction will be automatically triggered.

[0034] The live streaming quality index data is used to indicate the live streaming quality of the target live streaming room within the target live streaming time period.

[0035] In an optional embodiment, the method further includes:

[0036] The original live video segments of the target live room within the target live time period are classified to obtain the current live category corresponding to the original live video segments.

[0037] The preset threshold is a preset quality threshold corresponding to the current live streaming category; the automatic triggering of the live streaming segment generation instruction when the live streaming quality index data of the target live streaming room within the target live streaming time period is greater than or equal to the preset threshold includes:

[0038] If the live stream quality index data is greater than or equal to the preset quality threshold corresponding to the current live stream category, the live stream segment generation instruction will be automatically triggered.

[0039] In an optional embodiment, before publishing the target live video clip to the target account corresponding to the target live room, the method further includes:

[0040] The original live video segments of the target live room within the target live time period are classified to obtain the current live category corresponding to the original live video segments.

[0041] The step of publishing the target live video clip to the target account corresponding to the target live room includes:

[0042] If the live stream quality index data is greater than or equal to the preset quality threshold corresponding to the current live stream category, the target live stream video clip will be published to the target account.

[0043] According to a second aspect of the present disclosure, a live video processing method is provided, comprising:

[0044] In response to the video segment release command corresponding to the target live room, the target live video segment corresponding to the target live time period is obtained. The target live time period is the live time period corresponding to the live segment generation command for the target live room. The target live video segment is generated based on the original live video segment of the target live room within the target live time period and the target gift special effect material. The target gift special effect material is the gift special effect material corresponding to the target virtual item gifted by the live viewing object in the target live room within the target live time period.

[0045] Publish the target live video clip.

[0046] In an optional embodiment, the target virtual item is determined based on preset item filtering information from at least one virtual item gifted by the live stream viewers in the target live stream during the target live stream time period;

[0047] The preset item filtering information includes at least one of the following: first item filtering information, second item filtering information, and third item filtering information. The first item filtering information is used to filter out virtual items whose visual presentation level of the item gifting effect meets the preset presentation level. The second item filtering information is used to filter out virtual items that correspond to different item gifting effects in different live streaming scenarios. The third item filtering information is used to filter out virtual items whose corresponding item gifting effects are blocked by the live streaming initiating account corresponding to the target live streaming room.

[0048] In an optional embodiment, the target virtual item includes a preset virtual item, the preset virtual item corresponds to a variety of item gifting effects, and the variety of item gifting effects correspond to different live streaming scenarios; the gifting effect material corresponding to the preset virtual item in the target gifting effect material is the item gifting effect among the variety of item gifting effects that corresponds to the current live streaming scenario of the target live streaming room.

[0049] In an optional embodiment, the target live video segment is obtained by rendering the target gifting special effects material into the original live video segment based on the target item gifting time corresponding to the target virtual item.

[0050] In an optional embodiment, the target virtual item includes one or more virtual items. When the target virtual item includes multiple virtual items, and at least two of the multiple virtual items correspond to the same item gifting time, the gifting special effects materials corresponding to the at least two virtual items are rendered into the original live video segment based on the rendering order and the item gifting time of the at least two virtual items. The rendering order is a descending sort of the at least two virtual items based on the amount of gifting resources consumed by the at least two virtual items. The amount of gifting resources consumed is positively correlated with the visual presentation level of the corresponding item gifting special effects.

[0051] In an optional embodiment, after publishing the target live video segment, the method further includes:

[0052] The target live video clip is displayed on a target page, which includes at least one of the following: the live page corresponding to the target live room, the account homepage of the target account, and a multimedia resource browsing page.

[0053] In an optional embodiment, the target gift effect material is obtained from a preset material library based on the target item identifier of the target virtual item. The target item identifier is obtained from the item gifting record, which includes the item identifiers of virtual items gifted by the live viewers in the target live room during the live broadcast.

[0054] In an optional embodiment, the live stream segment generation instruction is automatically triggered when the live stream quality index data of the target live stream room within the target live stream time period is greater than or equal to a preset threshold.

[0055] The live streaming quality index data is used to indicate the live streaming quality of the target live streaming room within the target live streaming time period.

[0056] In an optional embodiment, the preset threshold is a preset quality threshold corresponding to the current live streaming category; the current live streaming category is the live streaming content category corresponding to the original live streaming video segment.

[0057] In an optional embodiment, the step of obtaining the target live video segment corresponding to the target live time period in response to the video segment publishing instruction corresponding to the target live room includes:

[0058] If the live streaming quality index data is greater than or equal to the preset quality threshold corresponding to the current live streaming category, the target live streaming video segment corresponding to the target live streaming time period is obtained in response to the video segment release instruction.

[0059] The current live stream category is the live stream content category corresponding to the original live stream video segment.

[0060] According to a third aspect of the present disclosure, a live video processing apparatus is provided, comprising:

[0061] The data acquisition module is configured to execute a live segment generation instruction in response to the target live room, and acquire the original live video segment and target gift special effects material of the target live room within the target live time period corresponding to the live segment generation instruction. The target gift special effects material is the gift special effects material corresponding to the target virtual item gifted by the live viewing object in the target live room within the target live time period.

[0062] The live video clip generation module is configured to generate a target live video clip based on the original live video clip and the target gift special effects material;

[0063] The first live stream segment publishing module is configured to publish the target live stream video segment to the target account corresponding to the target live stream room.

[0064] In an optional embodiment, the apparatus further includes:

[0065] The first virtual item determination module is configured to determine at least one virtual item gifted by a live stream viewer in the target live stream room during the target live stream time period.

[0066] The second virtual item determination module is configured to determine the target virtual item from the at least one virtual item based on preset item filtering information;

[0067] The preset item filtering information includes at least one of the following: first item filtering information, second item filtering information, and third item filtering information. The first item filtering information is used to filter out virtual items whose visual presentation level of the item gifting effect meets the preset presentation level. The second item filtering information is used to filter out virtual items that correspond to different item gifting effects in different live streaming scenarios. The third item filtering information is used to filter out virtual items whose corresponding item gifting effects are blocked by the live streaming initiating account corresponding to the target live streaming room.

[0068] In an optional embodiment, the target virtual item includes preset virtual items, the preset virtual items correspond to various item gifting effects, and the various item gifting effects correspond to different live streaming scenarios; the device further includes:

[0069] The current live streaming scenario determination module is configured to determine the current live streaming scenario of the target live streaming room;

[0070] The gifting special effects material corresponding to the preset virtual item in the target gifting special effects material is obtained using the following unit:

[0071] The item gifting effect acquisition unit is configured to acquire the item gifting effect corresponding to the current live streaming scene from the various item gifting effects.

[0072] In an optional embodiment, the live video clip generation module includes:

[0073] The item gifting time acquisition unit is configured to acquire the item gifting time corresponding to the target virtual item.

[0074] The special effects material rendering unit is configured to render the target gifting special effects material into the original live video segment based on the item gifting time, thereby obtaining the target live video segment.

[0075] In an optional embodiment, the target virtual item includes one or more virtual items. If the target virtual item includes multiple virtual items, and at least two of the multiple virtual items correspond to the same item gifting time, the device further includes:

[0076] The resource acquisition module is configured to acquire the amount of gifted resources corresponding to the at least two virtual items, wherein the amount of gifted resources is positively correlated with the visual presentation level of the corresponding item gifting effect;

[0077] The rendering order determination module is configured to determine the rendering order of the at least two virtual items based on the amount of resources consumed by the gift, wherein the rendering order is a descending sort of the at least two virtual items based on the amount of resources consumed by the gift.

[0078] The special effects material rendering unit includes:

[0079] The special effects material rendering subunit is configured to render the gift special effects materials corresponding to the at least two virtual items into the original live video segment based on the rendering order corresponding to the at least two virtual items and the gifting time corresponding to the at least two virtual items.

[0080] In an optional embodiment, the apparatus further includes:

[0081] The item gifting record storage module is configured to store the item gifting records during the live broadcast of the target live broadcast room. The item gifting records include the item identifiers of the virtual items gifted by the live broadcast viewers in the target live broadcast room during the live broadcast of the target live broadcast room.

[0082] The target gift special effects material is obtained using the following unit:

[0083] The target item identifier acquisition unit is configured to retrieve, from the item gifting record, the target item identifier of the target virtual item gifted by the live streaming viewer in the target live streaming room during the target live streaming time period;

[0084] The target gift special effects material acquisition unit is configured to retrieve the target gift special effects material from a preset material library based on the target item identifier.

[0085] In an optional embodiment, the apparatus further includes:

[0086] The automatic instruction triggering module is configured to automatically trigger the live segment generation instruction when the live quality index data of the target live room during the target live time period is greater than or equal to a preset threshold.

[0087] The live streaming quality index data is used to indicate the live streaming quality of the target live streaming room within the target live streaming time period.

[0088] In an optional embodiment, the apparatus further includes:

[0089] The first content category identification module is configured to perform category identification on the original live video segment of the target live room within the target live time period, and obtain the current live category corresponding to the original live video segment.

[0090] The preset threshold is a preset quality threshold corresponding to the current live streaming category; the automatic instruction triggering module includes:

[0091] The automatic instruction triggering unit is configured to automatically trigger the live stream segment generation instruction when the live stream quality index data is greater than or equal to the preset quality threshold corresponding to the current live stream category.

[0092] In an optional embodiment, the apparatus further includes:

[0093] The second content category identification module is configured to perform category identification on the original live video segment of the target live room within the target live time period, and obtain the current live category corresponding to the original live video segment.

[0094] The first live stream segment publishing module includes:

[0095] The video clip publishing unit is configured to publish the target live video clip to the target account when the live quality index data is greater than or equal to the preset quality threshold corresponding to the current live category.

[0096] According to a fourth aspect of the present disclosure, a live video processing apparatus is provided, comprising:

[0097] The target live video clip acquisition module is configured to execute a video clip publishing instruction in response to the target live room, and acquire the target live video clip corresponding to the target live time period. The target live time period is the live time period corresponding to the live clip generation instruction for the target live room. The target live video clip is generated based on the original live video clip of the target live room within the target live time period and the target gift special effects material. The target gift special effects material is the gift special effects material corresponding to the target virtual item gifted by the live viewers in the target live room within the target live time period.

[0098] The second live stream segment publishing module is configured to publish the target live stream video segment.

[0099] In an optional embodiment, the target virtual item is determined based on preset item filtering information from at least one virtual item gifted by the live stream viewers in the target live stream during the target live stream time period;

[0100] The preset item filtering information includes at least one of the following: first item filtering information, second item filtering information, and third item filtering information. The first item filtering information is used to filter out virtual items whose visual presentation level of the item gifting effect meets the preset presentation level. The second item filtering information is used to filter out virtual items that correspond to different item gifting effects in different live streaming scenarios. The third item filtering information is used to filter out virtual items whose corresponding item gifting effects are blocked by the live streaming initiating account corresponding to the target live streaming room.

[0101] In an optional embodiment, the target virtual item includes a preset virtual item, the preset virtual item corresponds to a variety of item gifting effects, and the variety of item gifting effects correspond to different live streaming scenarios; the gifting effect material corresponding to the preset virtual item in the target gifting effect material is the item gifting effect among the variety of item gifting effects that corresponds to the current live streaming scenario of the target live streaming room.

[0102] In an optional embodiment, the target live video segment is obtained by rendering the target gifting special effects material into the original live video segment based on the target item gifting time corresponding to the target virtual item.

[0103] In an optional embodiment, the target virtual item includes one or more virtual items. When the target virtual item includes multiple virtual items, and at least two of the multiple virtual items correspond to the same item gifting time, the gifting special effects materials corresponding to the at least two virtual items are rendered into the original live video segment based on the rendering order and the item gifting time of the at least two virtual items. The rendering order is a descending sort of the at least two virtual items based on the amount of gifting resources consumed by the at least two virtual items. The amount of gifting resources consumed is positively correlated with the visual presentation level of the corresponding item gifting special effects.

[0104] In an optional embodiment, the apparatus further includes:

[0105] The target live video clip display module is configured to display the target live video clip on a target page, the target page including at least one of the live page corresponding to the target live room, the account home page of the target account, and a multimedia resource browsing page.

[0106] In an optional embodiment, the target gift effect material is obtained from a preset material library based on the target item identifier of the target virtual item. The target item identifier is obtained from the item gifting record, which includes the item identifiers of virtual items gifted by the live viewers in the target live room during the live broadcast.

[0107] In an optional embodiment, the live stream segment generation instruction is automatically triggered when the live stream quality index data of the target live stream room within the target live stream time period is greater than or equal to a preset threshold.

[0108] The live streaming quality index data is used to indicate the live streaming quality of the target live streaming room within the target live streaming time period.

[0109] In an optional embodiment, the preset threshold is a preset quality threshold corresponding to the current live streaming category; the current live streaming category is the live streaming content category corresponding to the original live streaming video segment.

[0110] In an optional embodiment, the target live video segment acquisition module includes:

[0111] The live video segment acquisition unit is configured to, in response to the video segment release instruction, acquire the target live video segment corresponding to the target live time period when the live quality index data is greater than or equal to the preset quality threshold corresponding to the current live category.

[0112] The current live stream category is the live stream content category corresponding to the original live stream video segment.

[0113] According to a fifth aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement any one of the live video processing methods of the present disclosure.

[0114] According to a sixth aspect of the present disclosure, a computer-readable storage medium is provided, wherein when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform any one of the live video processing methods of the present disclosure.

[0115] According to a seventh aspect of the present disclosure, a computer program product including instructions is provided that, when run on a computer, causes the computer to perform any one of the live video processing methods of the present disclosure.

[0116] The technical solutions provided by the embodiments of this disclosure have at least the following beneficial effects:

[0117] In response to the live stream segment generation command corresponding to the target live stream room, the system obtains the original live stream video segment of the target live stream room within the target live stream time period corresponding to the live stream segment generation command, and the target gifting special effects material corresponding to the target virtual items gifted by the live stream viewers within the target live stream time period. Based on the original live stream video segment and the target gifting special effects material, a target live stream video segment for publication is generated. This effectively improves the content richness and extensibility of the published live stream video segment. Furthermore, combining the original live stream video segment and the gifting special effects material of the virtual items gifted during the live stream to create the published live stream video segment can improve the universality of the published live stream video segment creation, ensuring that the published live stream video segment can effectively reflect the real situation of the live stream room, improving the quality of the published live stream video segment, and thus improving the recommendation effect and efficiency of the live stream room. Moreover, after the target live stream video segment is created offline on the server, it is published to the target account corresponding to the target live stream room, which can also effectively reduce the performance requirements of the terminal device, reduce the terminal device cost, and improve the performance of the terminal system.

[0118] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0119] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure, and are not intended to unduly limit this disclosure.

[0120] Figure 1 This is a schematic diagram illustrating an application environment according to an exemplary embodiment;

[0121] Figure 2 This is a flowchart illustrating a live video processing method according to an exemplary embodiment;

[0122] Figure 3 This is a schematic diagram of an account homepage that publishes target live video clips, according to an exemplary embodiment.

[0123] Figure 4 This is a flowchart illustrating another live video processing method according to an exemplary embodiment;

[0124] Figure 5 This is a block diagram of a live video processing apparatus according to an exemplary embodiment;

[0125] Figure 6 This is a block diagram of another live video processing apparatus according to an exemplary embodiment;

[0126] Figure 7 This is a block diagram illustrating an electronic device for live video processing according to an exemplary embodiment;

[0127] Figure 8 This is a block diagram illustrating another electronic device for live video processing according to an exemplary embodiment. Detailed Implementation

[0128] To enable those skilled in the art to better understand the technical solutions of this disclosure, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings.

[0129] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0130] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data used for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties.

[0131] Please see Figure 1 , Figure 1 This is a schematic diagram illustrating an application environment according to an exemplary embodiment, which may include a first terminal 100, a second terminal 200, and a server 300.

[0132] In one specific embodiment, the first terminal 100 can be the terminal on the live streaming initiator side (i.e., the broadcaster's terminal), the second terminal 300 can be the terminal on the live streaming viewer side (i.e., the viewer's terminal), and the server 300 can be the backend server of the live streaming platform. Specifically, the first terminal 100 can provide a live streaming information stream and send it to the server 300, and correspondingly, the server 300 can push the live streaming information stream to the second terminal 200. Furthermore, the server 300 can also generate live streaming video clips for publication based on the live streaming video clips and gift-giving effect materials corresponding to the gift-giving effect during the live streaming process of the first terminal 100, and publish the live streaming video clips to the corresponding target accounts, so that users can browse the published live streaming video clips.

[0133] In an optional embodiment, the first terminal 100 and the second terminal 200 may be electronic devices including, but not limited to, smartphones, desktop computers, tablets, laptops, smart speakers, digital assistants, augmented reality (AR) / virtual reality (VR) devices, smart wearable devices, etc., or software running on the aforementioned electronic devices, such as applications. Optionally, the operating system running on the electronic devices may include, but is not limited to, Android, iOS, Linux, Windows, etc.

[0134] In an optional embodiment, server 300 can be a standalone physical server, or a server cluster or distributed system consisting of multiple physical servers. For example, it may include a push-pull streaming server (which can be used for push-pull streaming processing of live video streams, etc.), an audio and video understanding server (which can be used to perform content understanding processing of live video streams by combining artificial intelligence algorithms, etc.), a special effects server (which can provide special effects rendering support for the live broadcast process, etc.), an audio and video processing server (which can combine video clips and gift special effects materials corresponding to gift special effects during the live broadcast process to generate live video clips to be released, etc.), and other servers.

[0135] In addition, it should be noted that, Figure 1 The example shown is merely one application environment provided by this disclosure; in practical applications, other application environments may also be included.

[0136] In the embodiments described in this specification, the first terminal 100, the second terminal 200, and the server 300 can be directly or indirectly connected via wired or wireless communication, and this disclosure does not impose any restrictions.

[0137] Figure 2 This is a flowchart illustrating a live video processing method according to an exemplary embodiment. This method can be applied to a server, such as... Figure 2 As shown, the method may include the following steps:

[0138] In step S201, in response to the live segment generation instruction corresponding to the target live room, the original live video segment and the target gift special effects material of the target live room within the target live time period corresponding to the live segment generation instruction are obtained.

[0139] In one specific embodiment, the live stream segment generation instruction can be used to instruct the generation of a live stream video segment containing corresponding bonus special effects materials. Optionally, the live stream segment generation instruction can include the start time of the live stream video segment to be generated (hereinafter referred to as the target live stream video segment), the end time of the live stream video segment to be generated, and the video identification information of the live stream video to which the live stream video segment to be generated belongs (i.e., the live stream video of the target live stream room). Accordingly, the aforementioned target live stream time period can be a time period with the start time of the live stream video segment to be generated as the start time and the end time of the live stream video segment to be generated as the end time. Further, the original live stream video segment can be obtained by combining the start time of the live stream video segment to be generated, the end time of the live stream video segment to be generated, and the video identification information of the live stream video to which the live stream video segment to be generated belongs, included in the live stream segment generation instruction.

[0140] In an optional embodiment, the above-mentioned live broadcast segment generation instruction can be automatically triggered, and correspondingly, the above method may further include:

[0141] If the live streaming quality index data of the target live streaming room is greater than or equal to the preset threshold during the target live streaming time period, the live streaming segment generation command will be automatically triggered.

[0142] In one specific embodiment, live streaming quality index data can be used to indicate the live streaming quality of a target live streaming room within a target live streaming time period. Optionally, the live streaming quality index data can be determined based on at least one data reflecting live streaming quality, such as live streaming content and the number of viewers in the live streaming room. Optionally, artificial intelligence technology can be combined to identify the live streaming content. When a certain continuous content segment is identified, at least one data reflecting live streaming quality, such as the continuous live streaming content segment and the number of viewers in the live streaming room within the corresponding time period of the continuous live streaming content segment, can be used as input to a pre-trained live streaming quality recognition model (an artificial intelligence model for live streaming quality recognition) to perform live streaming quality recognition and obtain the live streaming quality index data within the time period corresponding to the continuous live streaming content segment.

[0143] In an optional embodiment, the preset threshold can be set according to the actual application; optionally, the preset threshold can be the lower limit threshold of the live quality index data that automatically triggers the live segment generation instruction, or it can be the lower limit threshold of the live quality index data corresponding to the live video segment that can be used to create a live video segment to be published.

[0144] In the above embodiments, when the live streaming quality index data of the target live streaming room within the target live streaming time period is greater than or equal to a preset threshold, a live streaming segment generation instruction is automatically triggered. This can generate and publish live streaming video segments by combining live streaming video segments from the time period with better live streaming quality in the live streaming room. This can improve the convenience of generating live streaming video segments while effectively ensuring the quality of the generated live streaming video segments, thereby improving the recommendation effect and efficiency of the live streaming room.

[0145] In addition, it should be noted that in order to improve the server's high-concurrency processing capabilities, a message queue can be used to handle the response to live segment generation commands.

[0146] In an optional embodiment, the above method may further include:

[0147] Category identification is performed on the original live video clips of the target live room within the target live time period to obtain the current live category corresponding to the original live video clips;

[0148] Accordingly, the aforementioned preset threshold can be a preset quality threshold corresponding to the current live streaming category (i.e., the lower limit of the live streaming quality index data for automatically triggering the live streaming segment generation instruction for the current live streaming category, which is also the lower limit of the live streaming quality index data for the current live streaming category's live streaming video segments that can be used to create live streaming video segments to be published); correspondingly, the aforementioned automatic triggering of the live streaming segment generation instruction when the live streaming quality index data of the target live streaming room within the target live streaming time period is greater than or equal to the preset threshold can include:

[0149] If the live stream quality index data is greater than or equal to the preset quality threshold corresponding to the current live stream category, the live stream segment generation command will be automatically triggered.

[0150] In a specific context, the current live stream category corresponding to the original live stream video clip can be the category of the live stream content within that clip. Specifically, the category division of live stream content can be set based on the platform's live stream content in actual application. For example, the categories of live stream content can include dance, singing, chat, etc. Optionally, since different categories of live stream content present different content, the criteria for judging live stream quality often differ; correspondingly, different preset quality thresholds can be set according to the category of live stream content.

[0151] In one specific embodiment, artificial intelligence technology can be used to identify categories of live video clips. Specifically, the live video clips can be input into a pre-trained category recognition model (an artificial intelligence model for category recognition) to perform category recognition and obtain the corresponding live category.

[0152] In the above embodiments, setting different preset quality thresholds based on the category of live content can improve the accuracy of identifying high-quality live video clips, thereby improving the quality of published live video clips while reducing the pressure on the server to generate video clips and improving server performance.

[0153] In another alternative embodiment, the broadcaster may also proactively trigger live segment generation instructions based on actual needs.

[0154] In one specific embodiment, the aforementioned target gift effect material can be the gift effect material corresponding to the target virtual item (the target virtual item gifted to the live stream initiator) gifted by the live stream viewers in the target live stream room during the target live stream time period. Specifically, the live stream viewers in the target live stream room can be the live stream viewing account of the target live stream room, and the live stream initiator in the target live stream room can be the live stream initiator account of the target live stream room.

[0155] In an optional embodiment, the above method may further include:

[0156] Store the item gifting records during the live broadcast of the target live broadcast room. The item gifting records include the item identifiers of the virtual items gifted by the viewers in the target live broadcast room during the live broadcast of the target live broadcast room.

[0157] Accordingly, the special effects materials for the aforementioned objectives will be obtained in the following ways:

[0158] Retrieve the target item identifier of the target virtual item gifted by the live stream viewers in the target live stream during the target live stream time period from the item gifting record;

[0159] Based on the target item identifier, retrieve the target gift effect material from the preset material library.

[0160] In one specific embodiment, the preset material library stores corresponding gift effect materials based on the item identifiers of virtual items in the platform. Accordingly, the gift effect materials corresponding to the target item identifier in the preset material library can be used as the target gift effect materials.

[0161] In the above embodiments, by storing the records of the virtual item identifiers of the live streaming objects in the target live streaming room and the virtual items given away during the live streaming process, it is convenient to quickly and accurately obtain the gifted special effects materials rendered in the live streaming video clips when publishing them later, which greatly improves the instruction and publishing efficiency of live streaming video clips.

[0162] In an optional embodiment, the above method may further include:

[0163] Identify at least one virtual item gifted by viewers in the target live stream during the target live stream time period;

[0164] Based on preset item filtering information, the target virtual item is determined from at least one virtual item;

[0165] In one specific embodiment, at least one virtual item can be any virtual item gifted by viewers in the target live stream during the target live stream time period. Specifically, the virtual item can be a live stream gift. More specifically, the at least one virtual item gifted by viewers in the target live stream during the target live stream time period can be determined by combining the gift gifting records.

[0166] In one specific embodiment, preset item filtering information can be used to filter out target virtual items. The target virtual items can be virtual items that are corresponding gifted special effects materials that can be rendered into the live video clip to be released. Optionally, the preset item filtering information may include at least one of the first item filtering information, the second item filtering information, and the third item filtering information.

[0167] In a specific embodiment, to ensure the visual presentation effect of the released live video clips, item gifting effects with good visual presentation effects can be selected to participate in the production of the released live video clips. Accordingly, the aforementioned first item selection information can be used to select virtual items whose visual presentation level of the item gifting effect meets the preset presentation level. Specifically, the preset presentation level can be set according to actual applications. The visual presentation level can characterize the presentation effect of the corresponding item gifting effect. Optionally, the visual presentation level can be positively correlated with the amount of resources consumed by the gifting. Accordingly, the corresponding visual presentation level can be determined by combining the amount of resources consumed by the virtual item. Optionally, the conversion relationship between the amount of resources consumed by the gifting and the visual presentation level can be preset. Accordingly, virtual items whose visual presentation level of the item gifting effect meets the preset presentation level can be virtual items whose corresponding amount of resources consumed by the gifting is greater than or equal to the preset amount of resources (the amount of resources corresponding to the preset presentation level). For example, the first item selection information can be the lower limit threshold (preset amount of resources) of the amount of resources consumed by the virtual item. Accordingly, virtual items whose corresponding amount of resources consumed by the gifting is less than the lower limit threshold can be filtered out. Specifically, the resource consumption for gifting virtual items can be the preset resource amount required to gift virtual items; specifically, the preset resources can be the virtual resources pre-set within the live streaming platform for gifting virtual items. In an optional embodiment, the visual presentation level can also be determined by combining the display duration of the corresponding gifting effect and / or the content proportion on the live streaming page during the display process. The visual presentation level is positively correlated with the display duration of the corresponding gifting effect and / or the content proportion on the live streaming page during the display process. Accordingly, the conversion relationship between the gifting resource consumption and the visual presentation level can be pre-set. Accordingly, virtual items whose visual presentation level of the gifting effect meets the preset presentation level can also be virtual items whose display duration of the corresponding gifting effect and / or the content proportion on the live streaming page during the display process reaches the corresponding threshold (the preset display duration and / or preset content proportion corresponding to the preset presentation level).

[0168] In an optional embodiment, a list of item identifiers for virtual items whose visual presentation level meets the preset presentation level can be pre-set in conjunction with the presentation effect of special effects; correspondingly, the first item filtering information can also be a list of item identifiers for virtual items whose visual presentation level meets the preset presentation level, and correspondingly, virtual items whose corresponding item identifiers are not in the item identifier list can be filtered out. The item identifier can be information used to identify the corresponding virtual item and can be used to distinguish different virtual items.

[0169] In an optional embodiment, some virtual items in a live streaming scenario may have different gifting effects in different live streaming scenarios. Optionally, for example, at least some effect materials may be different, the interaction objects for the effects may be different, or some live streaming scenarios may display the effects while others may not. To improve the convenience of maintenance, virtual items with different gifting effects in different live streaming scenarios can be filtered out. Accordingly, the aforementioned second item filtering information can be used to filter out virtual items with different gifting effects in different live streaming scenarios. For example, the second item filtering information may be a list of item identifiers for virtual items with different gifting effects in different live streaming scenarios.

[0170] In practical applications, streamers can disable corresponding item gifting effects based on actual needs; that is, after a viewer gifts virtual items, the corresponding gifting effect is not displayed. Correspondingly, to ensure that the published live video clips effectively reflect the actual situation in the live stream, virtual items for which the live stream initiating account has disabled corresponding item gifting effects can be filtered out. Accordingly, the aforementioned third item filtering information can be used to filter out virtual items for which the target live stream initiating account has disabled corresponding item gifting effects. For example, the third item filtering information can be a list of item identifiers for virtual items for which the target live stream initiating account has disabled corresponding item gifting effects.

[0171] In the above embodiments, by combining preset item filtering information including at least one of the first item filtering information, second item filtering information, and third item filtering information, the target virtual item is determined from at least one virtual item given away during the target live broadcast time period. The item giving effect can be filtered from at least one dimension, such as the special effect presentation effect, maintenance convenience, and reflection of the real situation in the live broadcast room, for use in integrating into the published live broadcast video clip. This can effectively reduce the server pressure and improve server performance while better improving the quality and content effectiveness of the published live broadcast video clip.

[0172] In addition, it should be noted that at least one virtual item gifted by viewers in the target live stream during the target live stream time period can also be considered as the target virtual item. The specific settings can be combined with the actual application requirements.

[0173] In an optional embodiment, in a scenario where virtual items with different gifting effects corresponding to different live streaming scenarios are not filtered out, the target virtual item may include a preset virtual item, which corresponds to multiple gifting effects, and these multiple gifting effects correspond to different live streaming scenarios; that is, the preset virtual item can be a virtual item with different gifting effects corresponding to different live streaming scenarios. Accordingly, the above method may further include:

[0174] Determine the current live streaming scenario of the target live streaming room;

[0175] The gift effect materials corresponding to the preset virtual items in the target gift effect materials are obtained in the following ways:

[0176] Extract the item gifting effect corresponding to the current live stream scene from a variety of item gifting effects.

[0177] In one specific embodiment, the division of live streaming scenarios can be set according to actual applications; for example, a live streaming scenario may include at least two scenarios, such as a first live streaming scenario where a single live streaming initiator conducts live streaming (audio-visual live streaming), a second live streaming scenario where at least two live streaming initiators conduct live battles (audio-visual live battles), and a third live streaming scenario where at least two live streaming initiators conduct voice live streaming. The gifting effect material corresponding to the preset virtual item in the target gifting effect material can be the item gifting effect corresponding to the current live streaming scenario among various item gifting effects corresponding to preset virtual items.

[0178] In the above embodiments, by configuring multiple item gifting effects adapted to different live streaming scenarios for the same virtual item, the diversity of item gifting effects used in the production of the published live streaming video clips can be enriched, thereby improving the quality of the published live streaming video clips.

[0179] In step S203, a target live video clip is generated based on the original live video clip and the target gift special effects material;

[0180] In an optional embodiment, generating the target live video segment based on the original live video clip and the target gift special effects material may include:

[0181] Get the item gifting time corresponding to the target virtual item;

[0182] Based on the time the item is given away, the target gifting effect material is rendered into the original live stream video clip to obtain the target live stream video clip.

[0183] In one specific embodiment, the gifting time of the target virtual item can be the trigger time of the gifting operation of the target virtual item. Specifically, in the process of rendering the target gifting effect material to the original live video clip based on the gifting time, the size of the original live video clip (e.g., landscape or portrait screen size) can also be considered to better ensure the presentation effect of the gifting effect in the live video clip; correspondingly, the target live video clip can be a live video clip that renders the target gifting effect material within the target live time period. Optionally, the target virtual item includes one or more virtual items. Optionally, when the target virtual item includes multiple virtual items, the corresponding gifting effect materials can be rendered to the corresponding positions in the original live video clip in sequence according to the order of the gifting times. Optionally, the target gifting effect material can be rendered into the original live video clip as a transparent layer.

[0184] In the above embodiments, by combining the gifting time with rendering the gifting special effects material into the original live video clip, it can be ensured that the generated target live video clip can effectively reflect the real situation in the live room. This can also ensure the compatibility between the audience entering the live room based on the target live video clip and the live room, thereby improving the user's live viewing experience.

[0185] In an optional embodiment, when the target virtual item includes multiple virtual items, and at least two of the multiple virtual items correspond to the same item gifting time, the above method may further include:

[0186] Obtain the amount of resources consumed as gifts for at least two of the aforementioned virtual items;

[0187] Based on the amount of resources consumed by the gift, determine the rendering order of at least two virtual items;

[0188] Accordingly, based on the time of item gifting, the target gifting effect material is rendered into the original live stream video clip to obtain the target live stream video clip, which may include:

[0189] Based on the rendering order of at least two virtual items and the gifting time of at least two virtual items, the gifting special effects materials corresponding to at least two virtual items are rendered into the original live video clip.

[0190] In one specific embodiment, the amount of resources consumed in gifting is positively correlated with the visual presentation level of the corresponding gifting effect, and the rendering order is a descending sort of at least two virtual items based on the resources consumed in gifting.

[0191] In addition, it should be noted that in practical applications, the rendering order of at least two virtual items can be randomly determined, or the rendering order can be determined by sorting at least two virtual items in ascending order according to the amount of resources consumed by the gift. The specific settings can be combined with the actual application.

[0192] In the above embodiments, when at least two virtual items are gifted simultaneously, the rendering order is determined by sorting the at least two virtual items in descending order according to the amount of gifting resources that are positively correlated with the visual presentation level of the gifting effect. This can prioritize displaying gifting effects with better visual presentation in the subsequent live stream recommendation process combined with the target live stream video clip, thereby improving the recommendation efficiency of the live stream.

[0193] In step S205, the target live video clip is published to the target account corresponding to the target live room.

[0194] In an optional embodiment, the target account includes at least one of the following: the live stream initiating account corresponding to the target live stream room and the associated account of the live stream initiating account. Specifically, the associated account of the live stream initiating account can be an account associated with the live stream initiating account, such as the management account corresponding to the live stream initiating account, or other accounts belonging to the same business party as the live stream initiating account (other user accounts of the broadcaster corresponding to the live stream initiating account), etc.

[0195] In an optional embodiment, the above-mentioned publishing of the target live video clip to the target account corresponding to the target live room includes:

[0196] The target live stream video clip is published to the target account so that the target account's corresponding preset page displays the target live stream video clip.

[0197] In one specific embodiment, the aforementioned preset page may include at least one of the following: the live streaming page corresponding to the target live streaming room, the account homepage of the target account, and the multimedia resource browsing page.

[0198] In one specific embodiment, when a target live video clip is published to a target account corresponding to a target live room, the target live video clip can be displayed on the account's homepage. Accordingly, the preset page can include the target account's homepage. Subsequently, the target live video clip published on the account's homepage can be pushed or processed. Accordingly, the preset page can also include a live page, a multimedia resource browsing page (a page for browsing multimedia resources such as videos), or other pages where the target live video clip can be viewed.

[0199] In the above embodiments, the target live video clip is published to the target account of at least one of the live streaming initiating account and the associated accounts of the live streaming initiating account corresponding to the target live streaming room. This allows at least one of the following pages to display the target live streaming video clip: the live streaming page corresponding to the target live streaming room, the account homepage of the target account, and the multimedia resource browsing page. This can greatly improve the diversity of the target live streaming video clip's presentation channels, and thus also improve the live streaming room recommendation effect and recommendation efficiency.

[0200] In one specific embodiment, the aforementioned preset page may include at least one of the following: the live streaming page corresponding to the target live streaming room, the account homepage of the target account, and the multimedia resource browsing page. In one specific embodiment, such as... Figure 3 As shown, Figure 3 This is a schematic diagram of an account homepage that publishes a target live video clip, according to an exemplary embodiment, wherein the work corresponding to 301 can be the target live video clip.

[0201] In addition, it should be noted that in order to improve the server's high-concurrency processing capabilities, message queues can be used to process the publishing of target live video segments.

[0202] In an optional embodiment, before publishing the target live video clip to the target account corresponding to the target live room, the above method may further include:

[0203] Category identification is performed on the original live video clips of the target live room within the target live time period to obtain the current live category corresponding to the original live video clips;

[0204] Accordingly, the target accounts that publish the target live stream video clips to the target live stream room include:

[0205] If the live stream quality index data is greater than or equal to the preset quality threshold corresponding to the current live stream category, the target live stream video clip will be published to the target account.

[0206] In one specific embodiment, the original live video segments of the target live room within the target live time period are classified to obtain the specific details of the current live category corresponding to the original live video segments. Please refer to the relevant descriptions above, which will not be repeated here.

[0207] In one specific embodiment, the preset quality threshold corresponding to the current live streaming category can be the lower limit threshold of the live streaming quality index data that the live streaming video segment corresponding to the current live streaming category can be used to create a live streaming video segment to be published.

[0208] In the above embodiments, before publishing the target live video segment, the original live video segment is first classified to obtain the current live category corresponding to the original live video segment. If the live quality index data is greater than or equal to the preset quality threshold corresponding to the current live category, the target live video segment is published to the target account. This can achieve quality identification of the published live video segment by combining the quality threshold corresponding to the category, thereby improving the quality of the published live video segment and enhancing the subsequent live room recommendation effect and recommendation efficiency.

[0209] In an optional embodiment, the target live video segment can also be combined with audio information from the target live video segment to add subtitles, titles, and other information before publishing.

[0210] In an optional embodiment, in order to reduce server load, the publishing frequency of the target live video segment corresponding to each live room can be preset, such as one target live video segment can be published every half hour, or three target live video segments can be published per live broadcast, etc.

[0211] In one optional embodiment, after the target live video clip is successfully published and the broadcaster ends the broadcast, the published target live video clip is made visible only to the broadcaster. Optionally, it can be displayed to the public indefinitely, depending on the broadcaster's actual settings. Furthermore, the broadcaster can also edit the target live video clip to create new works for publication, thereby improving the supply of high-quality works.

[0212] Furthermore, it should be noted that the video or video clip in the embodiments of this application can be audio or video.

[0213] As can be seen from the technical solutions provided in the above embodiments of this application, in response to the live stream segment generation instruction corresponding to the target live stream room, this embodiment obtains the original live stream video segment of the target live stream room within the target live stream time period corresponding to the live stream segment generation instruction, and the target gifting special effects material corresponding to the target virtual items gifted by the live stream viewers in the target live stream room within the target live stream time period; and generates a target live stream video segment for publication based on the original live stream video segment and the target gifting special effects material. This can effectively improve the richness and extensibility of the published live stream video segment. Furthermore, by combining the original live stream video segment and the gifting special effects material of the virtual items gifted during the live stream, the production of the published live stream video segment can also improve the universality of the published live stream video segment production, ensure that the published live stream video segment can effectively reflect the real situation of the live stream room, improve the quality of the published live stream video segment, and thus improve the recommendation effect and recommendation efficiency of the live stream room. Moreover, after the target live stream video segment is produced offline on the server, it is published to the target account corresponding to the target live stream room, which can also effectively reduce the performance requirements of the terminal device, reduce the cost of the terminal device, and improve the performance of the terminal system.

[0214] Figure 4 This is a flowchart illustrating another live video processing method according to an exemplary embodiment, which can be applied to a terminal, such as... Figure 4 As shown, the method may include the following steps:

[0215] S401: In response to the video segment publishing command corresponding to the target live room, obtain the target live video segment corresponding to the target live time period.

[0216] In one specific embodiment, the aforementioned target live streaming time period is the live streaming time period corresponding to the instruction to generate a live streaming segment for the target live streaming room; the target live streaming video segment is generated based on the original live streaming video segment of the target live streaming room within the target live streaming time period and the target gift special effects material; the target gift special effects material is the gift special effects material corresponding to the target virtual item gifted by the live streaming viewers in the target live streaming room within the target live streaming time period.

[0217] S402: Release target live video clips.

[0218] In one specific embodiment, when the server generates a target live video segment, it can send a video segment publishing instruction to the terminal, which carries the target live video segment or the address information of the target live video segment; accordingly, the terminal can obtain the target live video segment and publish the target live video segment.

[0219] In an optional embodiment, the target virtual item is determined based on preset item filtering information from at least one virtual item gifted by viewers in the target live stream during the target live stream time period.

[0220] The preset item filtering information includes at least one of the following: first item filtering information, second item filtering information, and third item filtering information. The first item filtering information is used to filter out virtual items whose visual presentation level of the item gifting effect meets the preset presentation level. The second item filtering information is used to filter out virtual items that correspond to different item gifting effects in different live streaming scenarios. The third item filtering information is used to filter out virtual items whose corresponding item gifting effects are blocked by the live streaming initiating account in the target live streaming room.

[0221] In the above embodiments, by combining preset item filtering information including at least one of the first item filtering information, second item filtering information, and third item filtering information, the target virtual item is determined from at least one virtual item gifted by the live stream viewers in the target live stream during the target live stream time period. The item gifting effect can be filtered from at least one dimension, such as the presentation effect, maintenance convenience, and effective reflection of the real situation in the live stream, for use in integrating into the published live stream video clip. This can effectively reduce the server pressure and improve system performance while better improving the quality and content effectiveness of the published live stream video clip.

[0222] In an optional embodiment, the target virtual item includes a preset virtual item, which corresponds to a variety of item gifting effects, and the various item gifting effects correspond to different live streaming scenarios; the gifting effect material corresponding to the preset virtual item in the target gifting effect material is the item gifting effect that corresponds to the current live streaming scenario of the target live streaming room among the various item gifting effects.

[0223] In the above embodiments, by configuring virtual items adapted to different live streaming scenarios for the same virtual item, the diversity of item gifting effects used in the production of the published live streaming video clips can be enriched, thereby improving the quality of the published live streaming video clips.

[0224] In an optional embodiment, the target live video clip is obtained by rendering the target gifting special effects material into the original live video clip based on the target virtual item's gifting time.

[0225] In the above embodiments, by combining the gifting time with rendering the gifting special effects material into the original live video clip, it can be ensured that the generated target live video clip can effectively reflect the real situation in the live room. This can also ensure the compatibility between the audience entering the live room based on the target live video clip and the live room, thereby improving the user's viewing experience of the live content.

[0226] In an optional embodiment, the target virtual item includes one or more virtual items. When the target virtual item includes multiple virtual items, and at least two of the multiple virtual items have the same item gifting time, the gifting special effect materials corresponding to the at least two virtual items are rendered into the original live video segment based on the rendering order and the item gifting time of the at least two virtual items. The rendering order is a descending sort of the at least two virtual items based on the amount of gifting resources consumed. The amount of gifting resources consumed is positively correlated with the visual presentation level of the corresponding item gifting special effect.

[0227] In the above embodiments, when at least two virtual items are gifted simultaneously, the at least two virtual items are sorted in descending order according to the amount of gifting resources that are positively correlated with the visual presentation level of the gifting effect. This can improve the efficiency of live streaming recommendations by prioritizing the display of gifting effects with better visual presentation when combined with the target live streaming video clips.

[0228] In an optional embodiment, after publishing the target live video segment, the method further includes:

[0229] Display the target live video clip on the target page, which includes at least one of the following: the live page corresponding to the target live room, the account homepage of the target account, and the multimedia resource browsing page.

[0230] In the above embodiments, the target live video clip is published to the target account corresponding to the target live room, so that at least one of the live page corresponding to the target live room, the account home page of the target account, and the multimedia resource browsing page displays the target live video clip. This can greatly improve the diversity of the target live video clip presentation channels, and thus also improve the live room recommendation effect and recommendation efficiency.

[0231] In an optional embodiment, the target gift effect material is obtained from a preset material library based on the target item identifier of the target virtual item. The target item identifier is obtained from the item gifting record, which includes the item identifiers of virtual items gifted by the live viewers in the target live room during the live broadcast.

[0232] In the above embodiments, by storing the records of the virtual item identifiers of the live streaming objects in the target live streaming room and the virtual items given away during the live streaming process, it is possible to quickly and accurately obtain the gifted special effects materials rendered in the live streaming video clips when they are subsequently released, which greatly improves the command and release efficiency of the live streaming video clips.

[0233] In an optional embodiment, the live stream segment generation instruction is automatically triggered when the live stream quality index data of the target live stream room within the target live stream time period is greater than or equal to a preset threshold.

[0234] Among them, the live streaming quality index data is used to indicate the live streaming quality of the target live streaming room within the target live streaming time period.

[0235] In the above embodiments, when the live streaming quality index data of the target live streaming room is greater than or equal to a preset threshold within the target live streaming time period, a live streaming segment generation instruction is automatically triggered. This can combine live streaming video segments from the time period with better live streaming quality in the live streaming room to generate and publish live streaming video segments. This can effectively ensure the quality of the generated live streaming video segments while making it convenient to generate them, thereby improving the recommendation effect of the live streaming room.

[0236] In an optional embodiment, the preset threshold is a preset quality threshold corresponding to the current live streaming category; the current live streaming category is the live streaming content category corresponding to the original live streaming video segment.

[0237] In the above embodiments, setting different live streaming quality index thresholds based on the category of live streaming content can improve the accuracy of identifying high-quality live streaming video clips, thereby improving the quality of published live streaming video clips while reducing the system's video clip generation pressure and improving system performance.

[0238] In an optional embodiment, in response to a video segment publishing command corresponding to the target live streaming room, obtaining the target live streaming video segment corresponding to the target live streaming time period includes:

[0239] If the live streaming quality index data is greater than or equal to the preset quality threshold corresponding to the current live streaming category, the target live streaming video segment corresponding to the target live streaming time period is obtained in response to the video segment release command.

[0240] The current live streaming category is the live streaming content category corresponding to the original live streaming video clip.

[0241] In the above embodiments, before publishing the target live video segment, the original live video segment is first classified to obtain the current live category corresponding to the original live video segment. If the live quality index data is greater than or equal to the preset quality threshold corresponding to the current live category, the target live video segment is published to the target account. This can achieve quality identification of the published live video segment by combining the quality threshold corresponding to the category, thereby improving the quality of the published live video segment and enhancing the subsequent live room recommendation effect and recommendation efficiency.

[0242] Regarding the above terminal-side embodiments, the specific implementation methods of each embodiment have been described in detail in the server-side embodiments of the method, and will not be elaborated here.

[0243] As can be seen from the technical solutions provided in the embodiments of this specification above, the video segment publishing instruction corresponding to the target live room in this specification obtains and publishes the target live video segment corresponding to the target live time period. This target live video segment is generated based on the original live video segment of the target live room within the target live time period and the target gifting special effects material corresponding to the target virtual items gifted by the live viewers in the target live room within the target live time period. This can effectively improve the richness and extensibility of the published live video segment. Furthermore, by combining the original live video segment and the gifting special effects material of the virtual items gifted during the live broadcast, the production of the published live video segment can also improve the universality of the published live video segment production while ensuring that the published live video segment can effectively reflect the real situation of the live room, thus improving the quality of the published live video segment and thereby improving the recommendation effect and recommendation efficiency of the live room. Moreover, there is no need to produce the published video segment on the terminal, which can also effectively reduce the performance requirements of the terminal device, reduce the cost of the terminal device, and improve the performance of the terminal system.

[0244] Figure 5 This is a block diagram illustrating a live video processing apparatus according to an exemplary embodiment. (Refer to...) Figure 5 The device includes:

[0245] The data acquisition module 510 is configured to execute a live segment generation instruction in response to the target live room, and acquire the original live video segment and target gift special effects material of the target live room within the target live time period corresponding to the live segment generation instruction. The target gift special effects material is the gift special effects material corresponding to the target virtual item gifted by the live viewing object in the target live room within the target live time period.

[0246] The live video clip generation module 520 is configured to generate a target live video clip based on the original live video clip and the target gift special effects material;

[0247] The first live stream segment publishing module 530 is configured to publish the target live stream video segment to the target account corresponding to the target live stream room.

[0248] In an optional embodiment, the above-described apparatus further includes:

[0249] The first virtual item determination module is configured to determine at least one virtual item gifted by a live stream viewer in the target live stream room during the target live stream time period.

[0250] The second virtual item determination module is configured to determine the target virtual item from at least one virtual item based on preset item filtering information;

[0251] The preset item filtering information includes at least one of the following: first item filtering information, second item filtering information, and third item filtering information. The first item filtering information is used to filter out virtual items whose visual presentation level of the item gifting effect meets the preset presentation level. The second item filtering information is used to filter out virtual items that correspond to different item gifting effects in different live streaming scenarios. The third item filtering information is used to filter out virtual items whose corresponding item gifting effects are blocked by the live streaming initiating account in the target live streaming room.

[0252] In an optional embodiment, the target virtual item includes preset virtual items, which correspond to various item gifting effects, and these effects correspond to different live streaming scenarios; the device further includes:

[0253] The current live streaming scenario determination module is configured to determine the current live streaming scenario of the target live streaming room.

[0254] The gift effect materials corresponding to the preset virtual items in the target gift effect materials are obtained using the following units:

[0255] The item gifting effect acquisition unit is configured to retrieve the item gifting effect corresponding to the current live streaming scene from a variety of item gifting effects.

[0256] In an optional embodiment, the live video clip generation module 520 includes:

[0257] The item gifting time acquisition unit is configured to acquire the item gifting time corresponding to the target virtual item.

[0258] The special effects material rendering unit is configured to render the target gift special effects material onto the original live video clip based on the item gifting time, thus obtaining the target live video clip.

[0259] In an optional embodiment, the target virtual item includes one or more virtual items. If the target virtual item includes multiple virtual items, and at least two of the multiple virtual items correspond to the same item gifting time, the apparatus further includes:

[0260] The resource acquisition module is configured to acquire the gifted resource amount corresponding to at least two virtual items. The gifted resource amount is positively correlated with the visual presentation level of the corresponding item gifting effect.

[0261] The rendering order determination module is configured to determine the rendering order of at least two virtual items based on the amount of resources consumed by the gift. The rendering order is a descending sort of the at least two virtual items based on the amount of resources consumed by the gift.

[0262] The special effects rendering unit includes:

[0263] The special effects material rendering subunit is configured to render the gift special effects materials corresponding to at least two virtual items into the original live video clip based on the rendering order corresponding to at least two virtual items and the gifting time corresponding to at least two virtual items.

[0264] In an optional embodiment, the above-described apparatus further includes:

[0265] The item gifting record storage module is configured to store the item gifting records during the live broadcast of the target live broadcast room. The item gifting records include the item identifiers of the virtual items gifted by the live broadcast viewers in the target live broadcast room during the live broadcast of the target live broadcast room.

[0266] The target gift special effects materials are obtained using the following units:

[0267] The target item identifier acquisition unit is configured to retrieve the target item identifier of the target virtual item gifted by the live stream viewers in the target live stream room during the target live stream time period from the item gifting record;

[0268] The target gift effect material acquisition unit is configured to retrieve the target gift effect material from the preset material library based on the target item identifier.

[0269] In an optional embodiment, the above-described apparatus further includes:

[0270] The automatic instruction triggering module is configured to automatically trigger a live segment generation instruction when the live quality index data of the target live room during the target live time period is greater than or equal to a preset threshold.

[0271] Among them, the live streaming quality index data is used to indicate the live streaming quality of the target live streaming room within the target live streaming time period.

[0272] In an optional embodiment, the above-described apparatus further includes:

[0273] The first content category identification module is configured to perform category identification on the original live video clips of the target live room within the target live time period, and obtain the current live category corresponding to the original live video clips.

[0274] The preset threshold is the preset quality threshold corresponding to the current live streaming category; the automatic command triggering module includes:

[0275] The automatic instruction triggering unit is configured to automatically trigger the live stream segment generation instruction when the live stream quality index data is greater than or equal to the preset quality threshold corresponding to the current live stream category.

[0276] In an optional embodiment, the above-described apparatus further includes:

[0277] The second content category identification module is configured to perform category identification on the original live video clips of the target live room within the target live time period, and obtain the current live category corresponding to the original live video clips.

[0278] The first live stream segment publishing module 530 includes:

[0279] The video clip publishing unit is configured to publish the target live video clip to the target account when the live quality index data is greater than or equal to the preset quality threshold corresponding to the current live category.

[0280] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0281] Figure 6 This is a block diagram of another live video processing apparatus according to an exemplary embodiment. (Refer to...) Figure 6 The device includes:

[0282] The target live video segment acquisition module 610 is configured to execute a video segment publishing instruction in response to the target live room, and acquire the target live video segment corresponding to the target live time period. The target live time period is the live time period corresponding to the live segment generation instruction for the target live room. The target live video segment is generated based on the original live video segment of the target live room within the target live time period and the target gifted special effects material. The target gifted special effects material is the gifted special effects material corresponding to the target virtual item gifted by the live viewing object in the target live room within the target live time period.

[0283] The second live stream segment publishing module 620 is configured to publish the target live stream video segment.

[0284] In an optional embodiment, the target virtual item is determined based on preset item filtering information from at least one virtual item gifted by viewers in the target live stream during the target live stream time period.

[0285] The preset item filtering information includes at least one of the following: first item filtering information, second item filtering information, and third item filtering information. The first item filtering information is used to filter out virtual items whose visual presentation level of the item gifting effect meets the preset presentation level. The second item filtering information is used to filter out virtual items that correspond to different item gifting effects in different live streaming scenarios. The third item filtering information is used to filter out virtual items whose corresponding item gifting effects are blocked by the live streaming initiating account in the target live streaming room.

[0286] In an optional embodiment, the target virtual item includes a preset virtual item, which corresponds to a variety of item gifting effects, and the various item gifting effects correspond to different live streaming scenarios; the gifting effect material corresponding to the preset virtual item in the target gifting effect material is the item gifting effect that corresponds to the current live streaming scenario of the target live streaming room among the various item gifting effects.

[0287] In an optional embodiment, the target live video clip is obtained by rendering the target gifting special effects material into the original live video clip based on the target virtual item's gifting time.

[0288] In an optional embodiment, the target virtual item includes one or more virtual items. When the target virtual item includes multiple virtual items, and at least two of the multiple virtual items have the same item gifting time, the gifting special effect materials corresponding to the at least two virtual items are rendered into the original live video segment based on the rendering order and the item gifting time of the at least two virtual items. The rendering order is a descending sort of the at least two virtual items based on the amount of gifting resources consumed. The amount of gifting resources consumed is positively correlated with the visual presentation level of the corresponding item gifting special effect.

[0289] In an optional embodiment, the above-described apparatus further includes:

[0290] The target live video clip display module is configured to display the target live video clip on a target page, which includes at least one of the following: the live page corresponding to the target live room, the account homepage of the target account, and the multimedia resource browsing page.

[0291] In an optional embodiment, the target gift effect material is obtained from a preset material library based on the target item identifier of the target virtual item. The target item identifier is obtained from the item gifting record, which includes the item identifiers of virtual items gifted by the live viewers in the target live room during the live broadcast.

[0292] In an optional embodiment, the live stream segment generation instruction is automatically triggered when the live stream quality index data of the target live stream room within the target live stream time period is greater than or equal to a preset threshold.

[0293] Among them, the live streaming quality index data is used to indicate the live streaming quality of the target live streaming room within the target live streaming time period.

[0294] In an optional embodiment, the preset threshold is a preset quality threshold corresponding to the current live streaming category; the current live streaming category is the live streaming content category corresponding to the original live streaming video segment.

[0295] In an optional embodiment, the target live video segment acquisition module 610 includes:

[0296] The live video clip acquisition unit is configured to, in response to the video clip publishing instruction, acquire the target live video clip corresponding to the target live time period when the live quality index data is greater than or equal to the preset quality threshold corresponding to the current live category.

[0297] The current live streaming category is the live streaming content category corresponding to the original live streaming video clip.

[0298] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0299] Figure 7 This is a block diagram illustrating an electronic device for live video processing according to an exemplary embodiment. The electronic device may be a terminal, and its internal structure diagram may be as follows: Figure 7 As shown, the electronic device includes a processor, memory, network interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage medium. The network interface is used to communicate with external terminals via a network connection. When the computer program is executed by the processor, it implements a live video processing method. The display screen can be an LCD screen or an e-ink screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the device's casing, or an external keyboard, touchpad, or mouse.

[0300] Figure 8This is a block diagram illustrating another electronic device for live video processing according to an exemplary embodiment. The electronic device may be a server, and its internal structure diagram may be as follows: Figure 8 As shown, the electronic device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The network interface is used to communicate with external terminals via a network connection. When the computer program is executed by the processor, it implements a live video processing method.

[0301] Those skilled in the art will understand that Figure 7 or Figure 8 The structure shown is merely a block diagram of a portion of the structure related to the present disclosure and does not constitute a limitation on the electronic device to which the present disclosure is applied. A specific electronic device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0302] In an exemplary embodiment, an electronic device is also provided, including: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement the live video processing method as described in the embodiments of this disclosure.

[0303] In an exemplary embodiment, a computer-readable storage medium is also provided, wherein when the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the live video processing method of the present disclosure embodiments.

[0304] In an exemplary embodiment, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to perform the live video processing method of the embodiments of this disclosure.

[0305] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.

[0306] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.

[0307] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A live video processing method, characterized in that, include: In response to a live stream segment generation instruction corresponding to a target live stream room, the system obtains the original live stream video segment and target gift special effects material of the target live stream room within the target live stream time period corresponding to the live stream segment generation instruction. The target gift special effects material is the gift special effects material corresponding to the target virtual item gifted by the live stream viewers in the target live stream room within the target live stream time period. The live stream segment generation instruction is used to instruct the generation of a live stream video segment containing the target gift special effects material. Based on the original live video clip and the target gifted special effects material, generate a target live video clip; If the live streaming quality index data of the target live streaming room during the target live streaming time period is greater than or equal to the preset quality threshold corresponding to the current live streaming category, the target live streaming video clip will be published to the live streaming page corresponding to the target live streaming room so that the live streaming page can display the target live streaming video clip. The current live streaming category is the live streaming content category corresponding to the original live streaming video clip. The live streaming quality index data is used to indicate the live streaming quality of the target live streaming room during the target live streaming time period. The live streaming quality index data is determined based on at least one of the following data: live streaming content or the number of viewers in the live streaming room.

2. The live video processing method of claim 1, wherein, The method further includes: Determine at least one virtual item gifted by viewers in the target live stream during the target live stream time period; Based on preset item filtering information, the target virtual item is determined from the at least one virtual item; The preset item filtering information includes at least one of the following: first item filtering information, second item filtering information, and third item filtering information. The first item filtering information is used to filter out virtual items whose visual presentation level of the item gifting effect meets the preset presentation level. The second item filtering information is used to filter out virtual items that correspond to different item gifting effects in different live streaming scenarios. The third item filtering information is used to filter out virtual items whose corresponding item gifting effects are blocked by the live streaming initiating account corresponding to the target live streaming room.

3. The live video processing method according to claim 1, characterized in that, The target virtual item includes preset virtual items, which correspond to various item gifting effects, and these effects correspond to different live streaming scenarios; the method further includes: Determine the current live streaming scenario of the target live streaming room; The gift effect materials corresponding to the preset virtual items in the target gift effect materials are obtained in the following way: From the various item gifting effects, obtain the item gifting effect corresponding to the current live streaming scene.

4. The live video processing method according to claim 1, characterized in that, The process of generating the target live video clip based on the original live video clip and the target gifted special effects material includes: Obtain the item gifting time corresponding to the target virtual item; Based on the time the item is given away, the target gifting effect material is rendered into the original live video clip to obtain the target live video clip.

5. The live video processing method according to claim 4, characterized in that, The target virtual item includes one or more virtual items. If the target virtual item includes multiple virtual items, and at least two of the multiple virtual items correspond to the same item gifting time, the method further includes: Obtain the amount of resources consumed for gifting the at least two virtual items, wherein the amount of resources consumed for gifting is positively correlated with the visual presentation level of the corresponding item gifting effect; Based on the amount of resources consumed by the gift, the rendering order of the at least two virtual items is determined, wherein the rendering order is a descending sort of the at least two virtual items based on the amount of resources consumed by the gift. The step of rendering the target gifting special effects material onto the original live stream video segment based on the item gifting time to obtain the target live stream video segment includes: Based on the rendering order of the at least two virtual items and the gifting time of the at least two virtual items, the gifting special effects materials corresponding to the at least two virtual items are rendered into the original live video clip.

6. The live video processing method according to claim 1, characterized in that, The method further includes: The target live video clip is published to the account homepage of the target account corresponding to the target live room, so that the account homepage displays the target live video clip; And / or, The target live video clip is published to the multimedia resource browsing page of the target account corresponding to the target live room, so that the multimedia resource browsing page displays the target live video clip; The target account includes at least one of the live streaming initiating account corresponding to the target live streaming room and the associated account of the live streaming initiating account.

7. The live video processing method according to claim 1, characterized in that, The method further includes: Store the item gifting record during the live broadcast of the target live broadcast room. The item gifting record includes the item identifier of the virtual item gifted by the live broadcast viewers in the target live broadcast room during the live broadcast of the target live broadcast room. The target-gift special effects materials are obtained using the following methods: Obtain the target item identifier of the target virtual item gifted by the live stream viewers in the target live stream during the target live stream time period from the item gifting record; Based on the target item identifier, the target gift effect material is obtained from the preset material library.

8. The live video processing method according to any one of claims 1 to 7, characterized in that, The method further includes: If the live streaming quality index data of the target live streaming room during the target live streaming time period is greater than or equal to a preset threshold, the live streaming segment generation instruction will be automatically triggered. The live streaming quality index data is used to indicate the live streaming quality of the target live streaming room within the target live streaming time period.

9. The live video processing method according to claim 8, characterized in that, The method further includes: The original live video segments of the target live room within the target live time period are classified to obtain the current live category corresponding to the original live video segments. The preset threshold is a preset quality threshold corresponding to the current live streaming category; the automatic triggering of the live streaming segment generation instruction when the live streaming quality index data of the target live streaming room within the target live streaming time period is greater than or equal to the preset threshold includes: If the live stream quality index data is greater than or equal to the preset quality threshold corresponding to the current live stream category, the live stream segment generation instruction will be automatically triggered.

10. A method for processing live video, characterized in that, include: If the live stream quality index data corresponding to the target live stream room is greater than or equal to the preset quality threshold corresponding to the current live stream category, in response to the video segment release instruction corresponding to the target live stream room, the target live stream video segment corresponding to the target live stream time period is obtained. The target live stream time period is the live stream time period corresponding to the live stream segment generation instruction for the target live stream room. The target live stream video segment is generated based on the original live stream video segment of the target live stream room within the target live stream time period and the target gift special effect material. The target gift special effect material is the gift special effect material corresponding to the target virtual item gifted by the live stream viewers in the target live stream room within the target live stream time period. The live stream segment generation instruction is used to instruct the generation of a live stream video segment containing the target gift special effect material. The current live stream category is the live stream content category corresponding to the original live stream video segment. The live stream quality index data is used to indicate the live stream quality of the target live stream room within the target live stream time period. The live stream quality index data is determined based on at least one of the following data: live stream content or number of live stream viewers. Publish the target live video clip and display the target live video clip on the live page corresponding to the target live room.

11. The live video processing method according to claim 10, characterized in that, The target virtual item is determined based on preset item filtering information from at least one virtual item gifted by viewers in the target live stream during the target live stream time period; The preset item filtering information includes at least one of the following: first item filtering information, second item filtering information, and third item filtering information. The first item filtering information is used to filter out virtual items whose visual presentation level of the item gifting effect meets the preset presentation level. The second item filtering information is used to filter out virtual items that correspond to different item gifting effects in different live streaming scenarios. The third item filtering information is used to filter out virtual items whose corresponding item gifting effects are blocked by the live streaming initiating account corresponding to the target live streaming room.

12. The live video processing method according to claim 10, characterized in that, The target virtual item includes preset virtual items, which correspond to various gifting effects, and these various gifting effects correspond to different live streaming scenarios. The gifting effect material corresponding to the preset virtual item in the target gifting effect material is the gifting effect material that corresponds to the current live streaming scenario of the target live streaming room among the various gifting effects.

13. The live video processing method according to claim 10, characterized in that, The target live video clip is obtained by rendering the target gifting special effects material onto the original live video clip based on the target virtual item's corresponding target item gifting time.

14. The live video processing method according to claim 13, characterized in that, The target virtual item includes one or more virtual items. When the target virtual item includes multiple virtual items, and at least two of the multiple virtual items have the same item gifting time, the gifting special effect material corresponding to the at least two virtual items is rendered into the original live video segment based on the rendering order and the item gifting time of the at least two virtual items. The rendering order is a descending sort of the at least two virtual items based on the amount of gifting resources consumed. The amount of gifting resources consumed is positively correlated with the visual presentation level of the corresponding item gifting special effect.

15. The live video processing method according to claim 10, characterized in that, The method further includes: publishing the target live video clip and displaying the target live video clip on at least one page of the account homepage and multimedia resource browsing page of the target account corresponding to the target live room; the target account includes at least one account of the live broadcast initiating account corresponding to the target live room and the associated account of the live broadcast initiating account.

16. The live video processing method according to claim 10, characterized in that, The target gift special effects material is obtained from a preset material library based on the target item identifier of the target virtual item. The target item identifier is obtained from the item gifting record, which includes the item identifiers of virtual items gifted by the live viewers in the target live room during the live broadcast.

17. The live video processing method according to any one of claims 10 to 16, characterized in that, The live stream segment generation instruction is automatically triggered when the live stream quality index data of the target live stream room within the target live stream time period is greater than or equal to a preset threshold. The live streaming quality index data is used to indicate the live streaming quality of the target live streaming room within the target live streaming time period.

18. The live video processing method according to claim 17, characterized in that, The preset threshold is the preset quality threshold corresponding to the current live streaming category; the current live streaming category is the live streaming content category corresponding to the original live streaming video segment.

19. A live video processing device, characterized in that, include: The data acquisition module is configured to execute a live segment generation instruction corresponding to the target live room, and acquire the original live video segment and target gift special effects material of the target live room within the target live time period corresponding to the live segment generation instruction. The target gift special effects material is the gift special effects material corresponding to the target virtual item gifted by the live viewing object in the target live room within the target live time period. The live segment generation instruction is used to instruct the generation of a live video segment containing the target gift special effects material. The live video clip generation module is configured to generate a target live video clip based on the original live video clip and the target gift special effects material; The first live stream segment publishing module is configured to publish the target live stream video segment to the live stream page corresponding to the target live stream room when the live stream quality index data of the target live stream room during the target live stream time period is greater than or equal to the preset quality threshold corresponding to the current live stream category, so that the live stream page displays the target live stream video segment. The current live stream category is the live stream content category corresponding to the original live stream video segment. The live stream quality index data is used to indicate the live stream quality of the target live stream room during the target live stream time period. The live stream quality index data is determined based on at least one of the following data: live stream content or number of live stream viewers.

20. A live video processing device, characterized in that, include: The target live video segment acquisition module is configured to, in response to a video segment release instruction for the target live room, acquire a target live video segment corresponding to a target live time period when the live quality index data corresponding to the target live room is greater than or equal to a preset quality threshold corresponding to the current live category. The target live video segment is generated based on the original live video segment of the target live room within the target live time period and target gifted special effects materials. The target gifted special effects materials are gifted special effects materials corresponding to target virtual items gifted by viewers in the target live room within the target live time period. The live segment generation instruction is used to instruct the generation of a live video segment containing the target gifted special effects materials. The current live category is the live content category corresponding to the original live video segment. The live quality index data is used to indicate the live quality of the target live room within the target live time period, and the live quality index data is determined based on at least one of the following: live content or the number of viewers in the live room. The second live stream segment publishing module is configured to publish the target live stream video segment and display the target live stream video segment on the live stream page corresponding to the target live stream room.

21. An electronic device, characterized in that, include: processor; Memory used to store the processor's executable instructions; The processor is configured to execute the instructions to implement the live video processing method as described in any one of claims 1 to 18.

22. A computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is able to perform the live video processing method as described in any one of claims 1 to 18.

23. A computer program product containing instructions, characterized in that, When the instructions are executed on a computer, the computer performs the live video processing method as described in any one of claims 1 to 18.

Citation Information

Patent Citations

  • Video clip collection method, device, equipment, storage medium and program product

    CN111050205A

  • Video recording and synthesizing method and device, equipment and storage medium

    CN113014948A

  • Special effect display method and device for live broadcast room, equipment, storage medium and product

    CN117880600A