Video processing method and device, equipment, medium and product
By identifying and trimming continuous video frames in the live stream data stream during the live broadcast, and trimming the video according to the live broadcast popularity attribute information, the time lag problem of live video trimming is solved, and real-time acquisition and publishing of video slices is realized.
Patent Information
- Application Number
- CN202511142284.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-14
- Publication Date
- 2025-10-28
AI Technical Summary
The existing technology has a time lag in video cropping processing in live broadcast scenarios and cannot meet the real-time live video slicing and publishing requirements.
During the live stream, continuous video frames in the live stream data stream are identified, and video slices are obtained by cropping the video according to the time period that meets the preset conditions based on the live stream popularity attribute information.
It enables real-time video clipping during live streaming, improving the timeliness and efficiency of video clip publishing.
Smart Images

Figure CN120856901A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer technology, and more particularly to a video processing method, apparatus, device, medium, and product. Background Technology
[0002] Video processing tools used in live streaming scenarios typically trim the video stream after the live stream ends, creating corresponding video segments, which are then published. However, video trimming has a certain time lag and cannot meet the real-time publishing requirements of live video segments. Summary of the Invention
[0003] This disclosure provides a video processing method, apparatus, device, medium, and product that can perform video trimming during live streaming, improving the timeliness of video clipping.
[0004] In a first aspect, embodiments of this disclosure provide a video processing method, the method comprising:
[0005] In response to the start of a live stream from the first live streaming account, obtain the live streaming data stream from the first live streaming account;
[0006] Identify the first set of consecutive video frames in the live data stream, wherein the first set of consecutive video frames is a set of video frames corresponding to the live streaming time period in which the live streaming popularity attribute information of the first live streaming account meets the preset conditions.
[0007] Based on the time information corresponding to the first set of consecutive video frames, video clipping is performed in the live data stream to obtain the first video slice.
[0008] Secondly, embodiments of this disclosure also provide a video processing apparatus, the apparatus comprising:
[0009] The video stream acquisition module is used to acquire the live data stream of the first live streaming account in response to the start of the live stream of the first live streaming account;
[0010] The video stream recognition module is used to identify the first set of continuous video frames in the live data stream. The first set of continuous video frames is a set of video frames corresponding to the live streaming time period when the live streaming popularity attribute information of the first live streaming account meets the preset conditions.
[0011] The video trimming module is used to trim the video in the live data stream based on the time information corresponding to the first group of consecutive video frames to obtain the first video slice.
[0012] Thirdly, embodiments of this disclosure also provide an electronic device, the electronic device comprising:
[0013] One or more processors;
[0014] Storage device for storing one or more programs.
[0015] When one or more programs are executed by one or more processors, the one or more processors implement any of the video processing methods described in the embodiments of this disclosure.
[0016] Fourthly, embodiments of this disclosure also provide a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform any of the video processing methods described in the embodiments of this disclosure.
[0017] Fifthly, embodiments of this disclosure also provide a computer program product, including a computer program that, when executed by a processor, implements any of the video processing methods described in the embodiments of this disclosure.
[0018] The technical solution of this disclosure embodiment obtains the live data stream of the first live streaming account upon its live streaming launch; identifies a first group of continuous video frames in the live data stream, wherein the first group of continuous video frames is a group of video frames corresponding to a live streaming time period in which the live streaming popularity attribute information of the first live streaming account meets preset conditions; and performs video trimming in the live data stream according to the time information corresponding to the first group of continuous video frames to obtain a first video slice. The technical solution of this disclosure embodiment solves the problem of time lag in live video trimming, enabling real-time trimming of the live data stream to obtain video slices during the live streaming process, thus improving the timeliness of video slices. Attached Figure Description
[0019] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the originals and elements are not necessarily drawn to scale.
[0020] Figure 1 A flowchart illustrating a video processing method provided in an embodiment of this disclosure;
[0021] Figure 2 A flowchart illustrating yet another video processing method provided in this disclosure embodiment;
[0022] Figure 3 A flowchart illustrating yet another video processing method provided in this disclosure embodiment;
[0023] Figure 4 A schematic diagram of a live streaming slicing function configuration page provided in an embodiment of this disclosure;
[0024] Figure 5A schematic diagram of a live video slice list page provided in an embodiment of this disclosure;
[0025] Figure 6 This is a schematic diagram of the structure of a video processing apparatus provided in an embodiment of the present disclosure;
[0026] Figure 7 This is a schematic diagram of the structure of an electronic device for implementing an embodiment of the present disclosure. Detailed Implementation
[0027] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0028] It should be understood that the steps described in the method embodiments of this disclosure may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.
[0029] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.
[0030] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.
[0031] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".
[0032] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0033] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.
[0034] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.
[0035] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0036] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.
[0037] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and related provisions.
[0038] Figure 1 This is a flowchart illustrating a video processing method provided in an embodiment of the present disclosure. This embodiment is applicable to video clipping processing scenarios, particularly real-time video stream clipping in live streaming scenarios. The method can be executed by a video processing device, which can be implemented in software and / or hardware, or optionally by an electronic device, such as a mobile terminal, a PC, or a server.
[0039] like Figure 1 As shown, the video processing method in this embodiment may specifically include:
[0040] S110, In response to the start of live streaming by the first live streaming account, obtain the live streaming data stream of the first live streaming account.
[0041] The first live streaming account can be any user account on the live streaming platform. The streamer identity corresponding to the first live streaming account can be an individual streamer, a popular streamer, a merchant streamer, or a platform test streamer, among other different user identities on the live streaming platform. The streamer identity of the live streaming room corresponding to the first live streaming account can be confirmed during the identity verification process when the first live streaming account logs into the live streaming platform.
[0042] When the streamer of the first live streaming account triggers the start of the live streaming on their live streaming platform client, the client can collect audio and video data through the camera and microphone. After encoding, the data stream is continuously sent to the server through the push streaming protocol, and the server distributes the data stream. The data stream is the live streaming data stream generated by the first live streaming account during the live streaming process, including the corresponding audio and video data.
[0043] Correspondingly, the server receives a live stream start request from the live streaming platform client, confirms the start of the live stream for the first live streaming account, and receives the corresponding live stream data stream. Specifically, the server's stream receiving server receives the pushed stream data and verifies it (e.g., whether it is a legitimate streamer's stream, whether the data is complete); after processing by the transcoding server, the high bitrate stream is transcoded into multiple resolution versions (e.g., 1080P, 720P, 480P) to adapt to different viewers' networks and devices, while also performing noise reduction, beauty optimization, etc.; the transcoded live stream data stream is distributed to the viewer's client by the distribution server to ensure low-latency access for global viewers.
[0044] S120. Identify the first group of continuous video frames in the live data stream, wherein the first group of continuous video frames is a group of video frames corresponding to the live streaming time period in which the live streaming popularity attribute information of the first live streaming account meets the preset conditions.
[0045] In this embodiment of the disclosure, the server can also provide a video processing service that trims the live data stream in the live broadcast to obtain corresponding video slices.
[0046] The goal of identifying the first set of consecutive video frames in a live stream is to identify the video frames that can be used as video cropping objects.
[0047] The first set of consecutive video frames can be a set of consecutive video frames during any live broadcast period of the first live broadcast account. For example, it can be a set of consecutive video frames arbitrarily determined according to a preset video slice trimming frequency and the number of video slices trimmed, or it can be determined according to a preset video slice trimming timing, after the preset duration of the first live broadcast account has started broadcasting.
[0048] In this embodiment, the first set of consecutive video frames can also be a set of video frames corresponding to a live streaming time period where the live streaming popularity attribute information of the first live streaming account meets preset conditions. That is, the live streaming popularity attribute information can be used as a reference in determining the first set of consecutive video frames. Video slices corresponding to live streaming time periods with relatively high live streaming popularity can have more reference value in terms of the attention, dissemination value, or commercial value of the video content.
[0049] During the live broadcast of the first live broadcast account, the server can obtain the information values of various live broadcast popularity attributes in real time, and then analyze the information values of various live broadcast popularity attributes to determine the change status or trend of the information values of the live broadcast popularity attributes, so as to determine the live broadcast time period when the live broadcast popularity attributes meet the preset conditions.
[0050] The live stream popularity attribute information can be metrics used to measure the attention and interaction activity of the first live stream account's live stream room. This information reflects the real-time live stream effect of the first live stream account's live stream room. For example, it includes attributes such as the number of real-time online viewers, the cumulative number of viewers, the viewing time, the number of bullet comments, the number of likes / favorites, the number of gifts, the number of shares / forwards, or the increase in the number of followers of the first live stream account. If the host of the first account's live stream room is an influencer or a merchant, the live stream popularity attribute information can also include interaction information with recommended items in the live stream room.
[0051] When one or more of the above-mentioned live streaming popularity attributes reach the corresponding preset value, or when the increment / growth rate of the information value reaches the corresponding preset value, it can be determined that the preset conditions of the live streaming popularity attributes are met, and the video frames of the corresponding live streaming period are determined as the first group of continuous video frames.
[0052] In one alternative implementation, the process of identifying the first group of consecutive video frames in the live stream can refer to the following steps:
[0053] First, obtain at least one attribute of the live streaming popularity of the first live streaming account during the live streaming process.
[0054] Among them, at least one of the live stream popularity attributes can be any one or more of the live stream popularity attributes listed above. As the live stream continues, a sequence of information values for at least one live stream popularity attribute can be obtained.
[0055] Second, in response to the fact that the first average value of the live streaming popularity attribute information in the first live streaming period and the second average value in the second live streaming period meet the preset conditions, the consecutive video frames in the first live streaming period and the second live streaming period are determined as the first group of consecutive video frames.
[0056] In this context, the first and second live streaming sessions are adjacent time periods of equal duration, which can be understood as the preset length of the information value sequence for one information value analysis. For example, the duration of the first and second live streaming sessions can be 30 seconds, 1 minute, 3 minutes, 5 minutes, or other corresponding durations. For instance, the first live streaming session is a 3-minute segment within the live streaming process, and the second live streaming session is a 3-minute segment following and adjacent to the first live streaming session. The first average value of the live streaming popularity attribute information in the first live streaming session is the average value of the information value sequence corresponding to the live streaming popularity attribute information in the first live streaming session, and the second average value of the live streaming popularity attribute information in the first live streaming session is the average value of the information value sequence corresponding to the live streaming popularity attribute information in the second live streaming session.
[0057] The first mean and the second mean satisfy a preset condition, which can be that the second mean is greater than the first mean; or, the ratio of the second mean to the first mean is greater than a preset value, wherein the preset value is greater than 1.
[0058] In a specific application example, the number of live stream viewers can be used as the attribute information for analyzing the live stream's popularity. The average number of viewers in the second live stream period (the last three minutes) is divided by the average number of viewers in the first live stream period (the adjacent first three minutes). If the final ratio is greater than a preset threshold (e.g., 1.1 or a value greater than 1.1), that is, when the average number of viewers in the last three minutes divided by the average number of viewers in the first three minutes is greater than 1.1, the consecutive video frames within the six minutes corresponding to the first and second live stream periods can be identified as the first group of consecutive video frames.
[0059] It should be noted that the first set of consecutive video frames refers to a group of video frames corresponding to the live streaming time period where the live streaming popularity attribute information of the first live streaming account meets the preset conditions. That is, the first set of consecutive video frames can be all consecutive video frames within that live streaming time period, or only a portion of them. The duration of the first set of consecutive video frames must not exceed the preset maximum duration of a video slice. For example, the maximum duration of a video slice can be 10% of the total live streaming duration of the first live streaming account, or other durations set based on video slice processing experience. The live streaming time period that meets the preset conditions can be the time period corresponding to the first and second live streaming time periods, or a portion of the first and second live streaming time periods.
[0060] S130. Based on the time information corresponding to the first group of consecutive video frames, perform video trimming in the live data stream to obtain the first video slice.
[0061] Based on the time information corresponding to the first group of consecutive video frames, video trimming is performed in the live data stream. This can be achieved by using the timestamps of the first and last frames in the first group of consecutive video frames as the start and end timestamps for trimming, thus creating a first video slice. Alternatively, the time information corresponding to any frame in the first group of consecutive video frames can be used as the start timestamp for trimming, resulting in a video slice of preset duration.
[0062] In one optional implementation, to ensure the integrity of the content of the first video slice obtained by cropping, i.e., to guarantee the integrity of the anchor's speech, audio processing and speech recognition can be combined to identify the timestamps corresponding to the audio-text content of the first group of consecutive video frames, and then natural language processing can be used to determine the boundaries of the complete sentences. Based on the timestamps of the "beginning complete sentence" and "ending complete sentence" in this video segment of the first group of consecutive video frames, video processing tools are used to crop the video, ensuring that the cropped segment starts from the beginning of a certain sentence and ends at the end of a certain sentence, ultimately obtaining the first video segment. The timestamps of the "beginning complete sentence" and "ending complete sentence" can be adjacent time information corresponding to the time information of one video frame in the first group of consecutive video frames.
[0063] The technical solution of this disclosure embodiment obtains the live data stream of the first live streaming account upon its live streaming launch; identifies a first group of continuous video frames in the live data stream, wherein the first group of continuous video frames is a group of video frames corresponding to a live streaming time period in which the live streaming popularity attribute information of the first live streaming account meets preset conditions; and performs video trimming in the live data stream according to the time information corresponding to the first group of continuous video frames to obtain a first video slice. The technical solution of this disclosure embodiment solves the problem of time lag in live video trimming, enabling real-time trimming of the live data stream to obtain video slices during the live streaming process, thus improving the timeliness of video slices.
[0064] In one optional implementation, during the process of identifying the first group of consecutive video frames in the live stream data stream, multiple groups of first group of consecutive video frames can be determined based on different live stream popularity attribute information. Accordingly, the first group of consecutive video frames includes multiple groups of first group of consecutive video frames determined based on different live stream popularity attribute information. Alternatively, multiple groups of first group of consecutive video frames can also be determined sequentially based on the same live stream popularity attribute information.
[0065] Therefore, based on the time information corresponding to the first group of consecutive video frames, video trimming in the live data stream to obtain the first video slice may also include the following steps:
[0066] Based on the time information of multiple sets of first-group consecutive video frames, the overlap degree of the multiple sets of first-group consecutive video frames in the time dimension is determined; in response to the overlap degree being greater than a preset overlap degree upper limit threshold, deduplication processing is performed on the multiple sets of first-group consecutive video frames; based on the time information corresponding to at least one set of first-group consecutive video frames after deduplication processing, video trimming is performed in the live data stream to obtain the first video slice. For example, the preset overlap degree upper limit threshold can be 50%.
[0067] Furthermore, if the content of the first set of consecutive video frames is related to the first item, the first set of consecutive video frames can be filtered through the following steps before video cropping:
[0068] Based on the item interaction information corresponding to the first item in each of the first group of consecutive video frames during the live broadcast period, multiple groups of the first group of consecutive video frames are filtered.
[0069] The "first item" can refer to the item recommended or explained when the first live stream account is a merchant or influencer. Item interaction information can include item link clicks, resource exchange amounts, or inventory changes—information reflecting the item's popularity. Item interaction information is also one or more pieces of information within the live stream's popularity attributes.
[0070] For example, in a specific e-commerce live streaming video slicing application instance, among multiple first-group consecutive video frames, priority can be given to consecutive video frames with higher preview stream exposure GPM (Gross Merchandise Value Per Mille, total sales per thousand impressions) corresponding to the first associated item; if the exposure GPM values are the same, consecutive video frames with higher preview stream CTR (Click-Through Rate) can be selected. This allows for the selection of video slices that are more beneficial to content dissemination and highlight the key points of the live stream content.
[0071] Based on the above embodiments, this disclosure further describes another implementation process for cropping real-time live data streams to obtain video slices.
[0072] Specifically, during the continuous generation of live data stream by the first live streaming account, in response to the start of video recording, the first timestamp corresponding to the start point of video trimming can be determined; in response to the end of video recording, the second timestamp corresponding to the end point of video trimming can be determined, and video trimming can be performed in the live data stream based on the first and second timestamps to obtain the second video slice.
[0073] The start and end of video recording can both be triggered by the streamer of the first live streaming account through the corresponding function button in the live streaming platform client. The server will receive the corresponding video recording start and end requests. In response to these requests, the server can determine a first and a second timestamp, and then trim the video in the live streaming data stream based on these timestamps to obtain a second video slice. That is, the second video slice can be a video slice trimmed after the streamer triggers the recording, and the content of this slice can be anything the streamer wants to record and save, such as item explanations or other important explanatory content.
[0074] In addition, in response to the fact that the duration of the time segment between the first and second timestamps is greater than the preset upper limit threshold of the segment duration, the start and end times of video trimming of the second video segment can be determined according to the third timestamp corresponding to the peak of the preset live streaming popularity attribute information in the time segment; and the video can be trimmed in the live streaming data stream according to the start and end times of video trimming to obtain the second video segment.
[0075] For example, assuming a preset maximum segment length threshold of 60 minutes, when the duration of the time segment between the first and second timestamps exceeds 60 minutes, the video content of the few minutes before and after the third timestamp, corresponding to the peak of the preset live stream popularity attribute information in the time segment, can be selected as the second video segment. The peak of the preset live stream popularity attribute information in the time segment can be the maximum number of viewers in the live stream during the time segment between the first and second timestamps, or the maximum amount of item interaction information of the first item associated with the video segment.
[0076] Figure 2 This is a flowchart illustrating another video processing method provided by an embodiment of the present invention. This embodiment belongs to the same inventive concept as the video processing methods in the above embodiments, and further describes the process of publishing video slices. This method can be executed by a video processing device, which can be implemented in software and / or hardware and integrated into a computer device with application development capabilities.
[0077] S210, In response to the start of live streaming by the first live streaming account, obtain the live streaming data stream of the first live streaming account.
[0078] S220. Identify the first group of continuous video frames in the live data stream, wherein the first group of continuous video frames is a group of video frames corresponding to the live streaming time period in which the live streaming popularity attribute information of the first live streaming account meets the preset conditions.
[0079] In one optional implementation, the live stream popularity attribute information includes at least one of the following: live stream viewership dimension attribute information and live stream attention rate dimension attribute information. The live stream viewership dimension attribute information may include information such as the cumulative exposure, cumulative views, and average number of online viewers per minute for the live stream room corresponding to the first live stream account. The live stream attention rate dimension attribute information may include information such as the number of newly added followers to the live stream room. In response to the live stream data stream being associated with at least one item, the live stream popularity attribute information also includes at least one of the following: item interaction dimension attribute information. The item interaction dimension attribute information may include information such as the number of item link clicks, the number of item favorites / shares, and the amount of item resource exchange.
[0080] S230. Based on the time information corresponding to the first group of consecutive video frames, perform video trimming in the live data stream to obtain the first video slice.
[0081] S240. Publish the first video slice to the video publishing page corresponding to the first live streaming account, and / or publish the first video slice to the preset video stream display page, and establish a mapping relationship between the first video slice and the live streaming data stream.
[0082] In this embodiment of the disclosure, the acquired first video slice can also be automatically published.
[0083] The video publishing page corresponding to the First Live account can be the account video homepage of the First Live account on the live streaming platform. When users of other live streaming platforms browse the video homepage of the First Live account, they can view the First video clip.
[0084] The preset video stream display page can be any video stream category display page. For example, it can be a video display category page in a live streaming platform, which can be pushed and displayed to other users of the live streaming platform client under that category.
[0085] Establishing a mapping relationship between the first video slice and the live data stream can be achieved by simultaneously displaying the corresponding live video data stream prompt information when the first video slice is displayed on the video publishing page and the preset video stream display page. Users who browse the first video slice can enter the live room corresponding to the first live account by interacting with the above prompt information, that is, they can retrieve the live data stream that has a mapping relationship with the first video slice.
[0086] In one alternative implementation, the prompt message may take the form of displaying the avatar of the first live streaming account with a breathing light effect while displaying the first video slice, or it may take the form of text prompts.
[0087] In addition, in some scenarios where automatic video slice publishing is not possible, a prompt message indicating that video slice publishing is possible can be displayed after the first video slice is obtained. If the broadcaster of the first live account triggers the video slice publishing operation, the first video slice will be published to the video publishing page corresponding to the first live account, and / or, the first video slice will be published to the preset video stream display page.
[0088] S250, in response to the end of the live stream of the first live account, stop displaying the first video slice on the video publishing page and / or the preset video stream display page.
[0089] Depending on the settings of the live video slices, you can stop displaying only the first video slice on the video publishing page, or only on the preset video stream display page, or you can stop displaying the first video slice on both the video publishing page and the preset video stream display page.
[0090] The technical solution of this disclosure embodiment, in response to the start of a live stream by a first live stream account, acquires the live stream data stream of the first live stream account; identifies a first group of continuous video frames in the live stream data stream, wherein the first group of continuous video frames is a group of video frames corresponding to a live stream time period in which the live stream popularity attribute information of the first live stream account meets preset conditions; performs video trimming in the live stream data stream according to the time information corresponding to the first group of continuous video frames to obtain a first video slice; publishes the first video slice to the video publishing page corresponding to the first live stream account, and / or publishes the first video slice to a preset video stream display page, and establishes a mapping relationship between the first video slice and the live stream data stream; in response to the end of the live stream of the first live stream account, stops displaying the first video slice on the video publishing page and / or the preset video stream display page. The technical solution of this disclosure embodiment solves the problem of time lag in live stream video trimming and publishing, and can trim the live stream data stream to obtain video slices in real time during the live stream, and automatically publish the video slices, improving the timeliness of trimming and publishing video slices, and efficiently promoting the live stream content of the first live stream account's live stream room.
[0091] Figure 3 This is a flowchart illustrating another video processing method provided by an embodiment of the present invention. This embodiment belongs to the same inventive concept as the video processing methods in the above embodiments, and further describes the process of video slice trimming configuration and slice information display. This method can be executed by a video processing device, which can be implemented in software and / or hardware and integrated into a computer device with application development capabilities.
[0092] S310, In response to the live streaming slice function configuration operation, determine the configuration result of at least one preset live streaming slice function configuration item.
[0093] During the application of the real-time live streaming slicing function of the video processing device, the function's role, usage method, and parameter configuration information can be displayed on the live streaming platform to introduce the real-time live streaming slicing function.
[0094] When a user on a live streaming platform triggers the live streaming segmentation feature configuration based on the introductory information, they are directed to the live streaming segmentation feature configuration page. This page can include several preset live streaming segmentation feature configuration items.
[0095] The preset live stream segment configuration options include at least one of the following: function switch configuration, automatic segment publishing configuration, maximum number of segments, segment trimming frequency, automatic segment title generation configuration, and segment display range configuration. For example, Figure 4 A diagram of the live streaming slicing feature configuration page.
[0096] The function switch configuration can display different function usage prompts depending on the configuration state. For example, if the function switch is in the off state by default, the prompts "When enabled, live video segments will be automatically generated and published during the live broadcast" or "When enabled, live video segments will be automatically generated during the live broadcast, and you need to manually publish the video" can be displayed.
[0097] The automatic video slice publishing configuration can include settings such as whether to publish automatically, publishing frequency, video publishing range, and the maximum amount of video slices to be automatically published.
[0098] The maximum number of video slices can be the maximum number of video slices that can be cropped during a live broadcast, corresponding to the maximum sum of the number of the first video slice and the number of the second video slice.
[0099] Users of the live streaming platform can interact with the buttons on the configuration page for each configuration item and input corresponding configuration information. The live streaming platform server can then determine the configuration result. The video processing device can then implement the live streaming slicing function based on the configuration result.
[0100] The slice cropping frequency can be the time interval between cropping a first video slice.
[0101] The automatic video segment title generation feature, when enabled, automatically generates video segment titles based on artificial intelligence, using the content of the video segment images and related object information. If this feature is not enabled, an input box will be displayed with the message "You can manually enter a fixed title, such as 'Come and check out the live stream'".
[0102] S320: In response to the start of live streaming by the first live streaming account, obtain the live streaming data stream of the first live streaming account.
[0103] S330: Based on the configuration results, identify the first group of consecutive video frames in the live data stream.
[0104] The configuration result shows that the live streaming slicing function is enabled, and the server will generate sliced videos of the live stream after the first live streaming account starts broadcasting.
[0105] The first set of consecutive video frames consists of a set of video frames corresponding to the live streaming time period when the live streaming popularity attribute information of the first live streaming account meets the preset conditions.
[0106] S340. Based on the time information corresponding to the first group of consecutive video frames, perform video trimming in the live data stream to obtain the first video slice.
[0107] S350. Publish the first video slice to the video publishing page corresponding to the first live streaming account, and / or publish the first video slice to the preset video stream display page, and establish a mapping relationship between the first video slice and the live streaming data stream.
[0108] S360, in response to the end of the live stream of the first live account, stops displaying the first video slice on the video publishing page and / or the preset video stream display page.
[0109] In addition, in an optional implementation, this disclosure may also provide a video slice information viewing function.
[0110] During or after a live stream on the primary live streaming account, the streamer can trigger the display of live video clip information. Correspondingly, a list of live video clips can be displayed in response to this action.
[0111] The live video slice list page includes at least one of the following: video slice description information of the cropped video slice, live room information associated with the video slice, slice playback data statistics, slice publishing status information, and video interaction buttons; the video interaction buttons include at least one of the following: video play button, video publish button, video delete button, video edit button, and video display status toggle button.
[0112] The statistics on video segment playback data can include information such as the number of times a video segment has been played and the number of people who have entered the live stream through that video segment.
[0113] For example, Figure 5 A diagram of the live video clip list page. Figure 5 The content displayed is equivalent to a video segment information table, including list items such as live video segment identification information, video related information, live room information, video duration, number of views, number of times the video was viewed, live room click rate, publishing status, and related operation buttons.
[0114] The live video slice identifier information can be the identifier information of already generated video slices, which can be sorted according to the generation time, with the most recently generated slices at the top. It can also display the video slice's cover image. Clicking on the video cover image will allow you to preview the video.
[0115] The video-related information is linked to the logic triggered by video clip trimming, whether it's automatically trimmed based on live stream popularity attribute information analysis or recorded by the broadcaster. If the corresponding video clip is a product explanation segment, it can display product information such as product images and titles. It can also be interactive, such as allowing users to click to access the product details page. If the corresponding video clip is a highlight segment (trimmed based on live stream popularity attribute information analysis), it can display highlight metrics, such as high number of viewers, high number of purchases, or high number of followers.
[0116] The live stream information refers to the relevant information of the live stream that generates the corresponding video slice, which may include at least one of the following: live stream title, live stream date, and live stream ID.
[0117] Video duration refers to the length of each video segment. Play count is the statistical result of the number of times a published video clip has been played after it was published.
[0118] The live stream click-through rate can be the probability of entering the corresponding live stream through a video slice, and can be represented by the ratio of the number of views contributed by those who enter the live stream through the video breathing light avatar on the recommendation page to the number of views of that video.
[0119] The operation buttons are function buttons that allow interactive operations on the corresponding video slices, determined based on information such as the playback and display status of the video slices. Each video slice can display one or more of these interactive operation buttons.
[0120] The technical solution of this disclosure, in response to the configuration operation of the live streaming slice function, determines the configuration result of at least one preset live streaming slice function configuration item; in response to the start of live streaming of the first live streaming account, obtains the live streaming data stream of the first live streaming account; according to the configuration result, identifies the first group of continuous video frames in the live streaming data stream; according to the time information corresponding to the first group of continuous video frames, performs video trimming in the live streaming data stream to obtain the first video slice; publishes the first video slice to the video publishing page corresponding to the first live streaming account, and / or publishes the first video slice to a preset video stream display page, and establishes a mapping relationship between the first video slice and the live streaming data stream; in response to the end of the live streaming of the first live streaming account, stops displaying the first video slice on the video publishing page and / or the preset video stream display page. The technical solution of this disclosure solves the problem of time lag in live streaming video trimming and publishing, as well as the problem of how to view the video slice publishing effect. It can trim the live streaming data stream in real time during the live streaming process according to the configuration of the live streaming slice function by the broadcaster to obtain video slices and publish video slices, improving the timeliness of video slices. It can also collect and display the data related to the publishing of each video slice.
[0121] Figure 6 This is a schematic diagram of the structure of a video processing apparatus provided in an embodiment of the present disclosure, applicable to video segment trimming scenarios, particularly for real-time video stream trimming in live streaming scenarios. Figure 6 As shown, the device includes: a video stream acquisition module 610, a video stream recognition module 620, and a video trimming module 630.
[0122] The video stream acquisition module 610 is used to acquire the live stream data stream of the first live stream account in response to the start of the live stream of the first live stream account; the video stream recognition module 620 is used to recognize the first group of continuous video frames in the live stream data stream, wherein the first group of continuous video frames is a group of video frames corresponding to the live stream time period when the live stream popularity attribute information of the first live stream account meets the preset conditions; the video trimming module 630 is used to trim the video in the live stream data stream according to the time information corresponding to the first group of continuous video frames to obtain the first video slice.
[0123] The technical solution of this disclosure embodiment obtains the live data stream of the first live streaming account upon its live streaming launch; identifies a first group of continuous video frames in the live data stream, wherein the first group of continuous video frames is a group of video frames corresponding to a live streaming time period in which the live streaming popularity attribute information of the first live streaming account meets preset conditions; and performs video trimming in the live data stream according to the time information corresponding to the first group of continuous video frames to obtain a first video slice. The technical solution of this disclosure embodiment solves the problem of time lag in live video trimming, enabling real-time trimming of the live data stream to obtain video slices during the live streaming process, thus improving the timeliness of video slices.
[0124] Optionally, based on any of the optional technical solutions in the embodiments of this disclosure, the video processing apparatus further includes a video publishing module, used for:
[0125] The first video slice is published to the video publishing page corresponding to the first live streaming account, and / or the first video slice is published to the preset video stream display page, and a mapping relationship between the first video slice and the live streaming data stream is established.
[0126] Optionally, based on any of the optional technical solutions in the embodiments of this disclosure, the video publishing module may also be used for:
[0127] In response to the end of the live stream of the first live account, stop displaying the first video clip on the video publishing page and / or the preset video stream display page.
[0128] Optionally, based on any of the optional technical solutions in the embodiments of this disclosure, the video stream recognition module 620 is specifically used for:
[0129] Obtain at least one live streaming popularity attribute information of the first live streaming account during the live streaming process;
[0130] In response to the fact that the first average value of the live streaming popularity attribute information in the first live streaming period and the second average value in the second live streaming period meet the preset conditions, the consecutive video frames in the first live streaming period and the second live streaming period are determined as the first group of consecutive video frames.
[0131] The first and second live broadcast sessions are adjacent and of the same duration.
[0132] Based on any optional technical solution in the embodiments of this disclosure, optionally, the preset conditions for the first live broadcast period before the second live broadcast period include:
[0133] The second mean is greater than the first mean; or,
[0134] The ratio of the second mean to the first mean is greater than a preset value, where the preset value is greater than 1.
[0135] Based on any optional technical solution in the embodiments of this disclosure, optionally, the first group of consecutive video frames includes multiple groups of first group of consecutive video frames determined based on different live streaming popularity attribute information, and the video trimming module 630 is specifically used for:
[0136] Based on the time information of multiple sets of consecutive first-group video frames, determine the degree of overlap of multiple sets of consecutive first-group video frames in the time dimension;
[0137] In response to an overlap degree exceeding a preset upper limit threshold, multiple groups of consecutive first-group video frames are deduplicated.
[0138] Based on the time information corresponding to at least one set of consecutive video frames after deduplication, video clipping is performed in the live data stream to obtain the first video slice.
[0139] Based on any optional technical solution in the embodiments of this disclosure, optionally, the content of the first group of consecutive video frames is associated with the first item, and the video trimming module 630 can also be used for:
[0140] Based on the item interaction information corresponding to the first item in each of the first group of consecutive video frames during the live broadcast period, multiple groups of the first group of consecutive video frames are filtered.
[0141] Optionally, based on any of the optional technical solutions in the embodiments of this disclosure, the video trimming module 630 may also be used for:
[0142] In response to the start of video recording, determine the first timestamp corresponding to the starting point of video trimming;
[0143] In response to the end of video recording, the second timestamp corresponding to the video trimming termination point is determined, and the video is trimmed in the live data stream according to the first and second timestamps to obtain the second video slice.
[0144] Optionally, based on any of the optional technical solutions in the embodiments of this disclosure, the video trimming module 630 may also be used for:
[0145] In response to the fact that the duration of the time segment between the first and second timestamps is greater than the preset upper limit threshold of the segment duration, the start and end times of video trimming of the second video segment are determined according to the third timestamp corresponding to the peak of the preset live streaming popularity attribute information in the time segment.
[0146] Based on the start and end times of the video trimming, the video is trimmed in the live data stream to obtain the second video slice.
[0147] Based on any optional technical solution in the embodiments of this disclosure, the live streaming popularity attribute information may optionally include at least one of the live streaming viewership dimension attribute information and the live streaming attention rate dimension attribute information;
[0148] In response to the fact that the live stream data stream is associated with at least one item, the live stream popularity attribute information also includes at least one of the item interaction dimension attributes in the live stream.
[0149] Optionally, based on any of the optional technical solutions in the embodiments of this disclosure, the video processing apparatus further includes a video trimming configuration module, used for:
[0150] In response to the live streaming slice function configuration operation, determine the configuration result of at least one preset live streaming slice function configuration item;
[0151] The preset live stream segment configuration options include at least one of the following: function switch configuration, automatic segment publishing configuration, maximum number of segments, segment trimming frequency, automatic generation of segment titles configuration, and segment display range configuration.
[0152] Optionally, based on any of the optional technical solutions in the embodiments of this disclosure, the video processing apparatus further includes a video slice information display module, used for:
[0153] In response to the operation of displaying live video slice information, display the live video slice list page;
[0154] The live video slice list page includes at least one of the following: video slice description information of the cropped video slice, live room information associated with the video slice, slice playback data statistics, slice publication status information, and video interaction buttons;
[0155] The video interaction buttons include at least one of the following: video play button, video publish button, video delete button, video edit button, and video display status toggle button.
[0156] The video processing apparatus provided in this disclosure can execute the video processing method provided in any embodiment of this disclosure, and has the corresponding functional modules and beneficial effects for executing the video processing method.
[0157] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of each functional unit are only for easy differentiation and are not used to limit the protection scope of the embodiments of this disclosure.
[0158] The following is for reference. Figure 7The diagram illustrates a structural schematic of an electronic device (e.g., a terminal device or a server) 700 suitable for implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 7 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.
[0159] like Figure 7 As shown, the electronic device 700 may include a processing unit (e.g., a central processing unit, a graphics processor, etc.) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage device 708 into a random access memory (RAM) 703. The RAM 703 also stores various programs and data required for the operation of the electronic device 700. The processing unit 701, ROM 702, and RAM 703 are interconnected via a bus 704. An input / output (I / O) interface 707 is also connected to the bus 704.
[0160] Typically, the following devices can be connected to I / O interface 705: input devices 706 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 707 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 708 including, for example, magnetic tapes, hard disks, etc.; and communication devices 709. Communication device 709 allows electronic device 700 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 7 An electronic device 700 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.
[0161] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication device 709, or installed from storage device 708, or installed from ROM 702. When the computer program is executed by processing device 701, it performs the functions defined in the methods of embodiments of this disclosure.
[0162] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0163] The electronic device provided in this disclosure and the video processing method provided in the above embodiments belong to the same inventive concept. Technical details not described in detail in this disclosure can be found in the above embodiments, and this embodiment has the same beneficial effects as the above embodiments.
[0164] This disclosure provides a computer storage medium storing a computer program that, when executed by a processor, implements the video processing method provided in the above embodiments.
[0165] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0166] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol) and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.
[0167] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.
[0168] The aforementioned computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to:
[0169] In response to the start of a live stream from the first live streaming account, obtain the live streaming data stream from the first live streaming account;
[0170] Identify the first set of consecutive video frames in the live data stream, wherein the first set of consecutive video frames is a set of video frames corresponding to the live streaming time period in which the live streaming popularity attribute information of the first live streaming account meets the preset conditions.
[0171] Based on the time information corresponding to the first set of consecutive video frames, video clipping is performed in the live data stream to obtain the first video slice.
[0172] Computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof, including but not limited to object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0173] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0174] The modules and units described in the embodiments of this disclosure can be implemented in software or hardware. The names of the modules and units do not necessarily limit the specific unit; for example, a media data editing module can also be described as "a module for editing first audio data and determining first display data of target display text associated with the first audio data."
[0175] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0176] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0177] This disclosure also provides a computer program product, including a computer program that, when executed by a processor, implements the video processing method provided in any embodiment of this disclosure.
[0178] In implementing a computer program product, computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof. Programming languages include object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as C or similar languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0179] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.
[0180] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.
[0181] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.
Claims
1. A video processing method, characterized in that, include: In response to the start of live streaming by the first live streaming account, obtain the live streaming data stream of the first live streaming account; Identify the first group of continuous video frames in the live data stream, wherein the first group of continuous video frames is a group of video frames corresponding to the live streaming time period in which the live streaming popularity attribute information of the first live streaming account meets the preset conditions. Based on the time information corresponding to the first group of consecutive video frames, video clipping is performed in the live data stream to obtain the first video slice.
2. The method according to claim 1, characterized in that, The method further includes: The first video slice is published to the video publishing page corresponding to the first live streaming account, and / or the first video slice is published to a preset video stream display page, and a mapping relationship between the first video slice and the live streaming data stream is established.
3. The method according to claim 2, characterized in that, The method further includes: In response to the end of the live stream of the first live streaming account, the display of the first video slice on the video publishing page and / or the preset video stream display page shall be stopped.
4. The method according to claim 1, characterized in that, The process of identifying the first group of consecutive video frames in the live stream includes: Obtain at least one live streaming popularity attribute information of the first live streaming account during the live streaming process; In response to the fact that the first average value of the live streaming popularity attribute information in the first live streaming period and the second average value in the second live streaming period meet the preset condition, the consecutive video frames in the first live streaming period and the second live streaming period are determined as the first group of consecutive video frames. The first live broadcast period and the second live broadcast period are adjacent time periods with the same duration.
5. The method according to claim 4, characterized in that, The first live broadcast period is before the second live broadcast period, and the preset conditions include: The second mean is greater than the first mean; or, The ratio of the second mean to the first mean is greater than a preset value, wherein the preset value is greater than 1.
6. The method according to claim 1, characterized in that, The first group of consecutive video frames includes multiple groups of first group of consecutive video frames determined based on different live stream popularity attribute information. The step of cropping the video in the live stream data stream according to the time information corresponding to the first group of consecutive video frames to obtain a first video slice includes: Based on the time information of multiple sets of the first group of consecutive video frames, determine the degree of overlap of the multiple sets of the first group of consecutive video frames in the time dimension; In response to the overlap degree being greater than a preset upper limit threshold for overlap degree, multiple sets of the first group of consecutive video frames are deduplicated. Based on the time information corresponding to at least one group of consecutive video frames in the first group after deduplication, video clipping is performed in the live data stream to obtain the first video slice.
7. The method according to claim 6, characterized in that, The content of the first set of consecutive video frames is associated with the first item, and the method further includes the following steps before video cropping: Based on the item interaction information corresponding to the first item in each of the first group of consecutive video frames during the live broadcast period, multiple groups of the first group of consecutive video frames are filtered.
8. The method according to claim 1, characterized in that, The method further includes: In response to the start of video recording, determine the first timestamp corresponding to the starting point of video trimming; In response to the end of video recording, a second timestamp corresponding to the video trimming termination point is determined, and video trimming is performed in the live data stream based on the first timestamp and the second timestamp to obtain a second video slice.
9. The method according to claim 8, characterized in that, Also includes: In response to the fact that the duration of the time segment between the first timestamp and the second timestamp is greater than the preset slice duration upper limit threshold, the start and end times of video trimming of the second video slice are determined according to the third timestamp corresponding to the peak value in the time segment based on the preset live streaming popularity attribute information; Based on the start and end times of the video trimming, the video is trimmed in the live data stream to obtain the second video slice.
10. The method according to any one of claims 1-9, characterized in that, The live stream popularity attribute information includes at least one of the following: live stream viewership dimension attribute information and live stream attention rate dimension attribute information; In response to the live stream being associated with at least one item, the live stream popularity attribute information also includes at least one of the item interaction dimension attribute information in the live stream.
11. The method according to any one of claims 1-9, characterized in that, The method further includes: In response to the live streaming slice function configuration operation, determine the configuration result of at least one preset live streaming slice function configuration item; The preset live stream segment configuration items include at least one of the following: function switch configuration, automatic segment publishing configuration, maximum number of segments, segment trimming frequency, automatic generation of segment titles configuration, and segment display range configuration.
12. The method according to any one of claims 1-9, characterized in that, The method further includes: In response to the operation of displaying live video slice information, display the live video slice list page; The live video slice list page includes at least one of the following: video slice description information of the cropped video slice, live room information associated with the video slice, slice playback data statistics, slice publication status information, and video interaction buttons; The video interaction buttons include at least one of the following: a video play button, a video publish button, a video delete button, a video edit button, and a video display status toggle button.
13. A video processing apparatus, characterized in that, include: The video stream acquisition module is used to acquire the live data stream of the first live account in response to the start of the live stream of the first live account; The video stream recognition module is used to identify the first group of continuous video frames in the live data stream, wherein the first group of continuous video frames is a group of video frames corresponding to the live streaming time period when the live streaming popularity attribute information of the first live streaming account meets the preset conditions. The video trimming module is used to trim the video in the live data stream according to the time information corresponding to the first group of consecutive video frames to obtain the first video slice.
14. An electronic device, characterized in that, The electronic device includes: One or more processors; Storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the video processing method as described in any one of claims 1-12.
15. A storage medium containing computer-executable instructions, characterized in that, The computer-executable instructions, when executed by a computer processor, are used to perform the video processing method as described in any one of claims 1-12.
16. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the video processing method as described in any one of claims 1-12.