Video generation method and device, electronic equipment and storage medium

By displaying multiple element options in the live stream, allowing users to select the visual elements to record, the problem of cluttered images in live stream videos is solved. The generated video contains only the elements specified by the user, improving video quality and information delivery efficiency.

CN121486601APending Publication Date: 2026-02-06BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511852580.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-09
Publication Date
2026-02-06

AI Technical Summary

Technical Problem

During the live stream, the recorded video contained all visual elements of the live stream, resulting in a cluttered image and affecting video quality.

Method used

A video generation method is provided that allows users to select visual elements to record by displaying multiple element options in the live broadcast room, recording only the visual elements specified by the user, and removing irrelevant elements.

Benefits of technology

The generated video contains only the visual elements specified by the user, which simplifies the visuals, improves video quality, makes it easier for subsequent viewers to quickly identify the user's intent, and improves the efficiency of information transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121486601A_ABST
    Figure CN121486601A_ABST
Patent Text Reader

Abstract

The invention provides a video generation method and device, electronic equipment and a storage medium, and belongs to the technical field of multimedia. The method comprises the following steps: displaying a plurality of element options in a live broadcast room, wherein different element options are used for indicating different visual elements capable of participating in recording in the live broadcast room; under the condition that at least one element option in the multiple element options is selected, a live broadcast picture in the live broadcast room and a visual element corresponding to the at least one element option are recorded, and the live broadcast picture is shot by equipment of an anchor object in the live broadcast room; and in response to ending of recording, displaying a video containing the live broadcast picture and the visual element corresponding to the at least one element option. According to the method, the recorded video only contains the visual elements specified by the user object except the live broadcast picture, irrelevant elements in the live broadcast room are removed, the picture in the video is simplified, and the video quality is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the development of multimedia technology, more and more users are accustomed to live streaming or watching others' live streams to interact with others online. During a live stream, if users find content of interest (such as certain remarks or behaviors of the streamer, or special effects of gifts in the live stream), they usually record the live stream screen to obtain a video containing the content of interest, so that they can publish or share the content. Because the above recording process uses the device's built-in recording function, it records all visual elements in the live stream, resulting in a relatively cluttered video and affecting the video quality. Summary of the Invention

[0003] This disclosure provides a video generation method, apparatus, electronic device, and storage medium, which enables the recorded video to contain only visual elements specified by the user, in addition to the live stream frame, eliminating irrelevant elements from the live stream, simplifying the video frame, and improving video quality. The technical solution of this disclosure is as follows: According to one aspect of the embodiments of this disclosure, a video generation method is provided, comprising: Multiple element options are displayed in the live broadcast room, and different element options are used to indicate different visual elements in the live broadcast room that can participate in the recording; When at least one of the multiple element options is selected, the live screen in the live room and the visual elements corresponding to the at least one element option are recorded. The live screen is captured by the device of the broadcaster in the live room. In response to the end of recording, a video containing the live stream footage and visual elements corresponding to the at least one element option is displayed.

[0004] According to another aspect of the embodiments of this disclosure, a video generation apparatus is provided, comprising: The first display unit is configured to execute multiple element options in the live broadcast room, with different element options used to indicate different visual elements in the live broadcast room that can participate in the recording. The recording unit is configured to record the live screen in the live room and the visual elements corresponding to the at least one element option when at least one of the plurality of element options is selected, wherein the live screen is captured by the device of the broadcaster in the live room. The second display unit is configured to respond to the end of recording by displaying a video containing the live stream and visual elements corresponding to the at least one element option.

[0005] In some embodiments, the first display unit is configured to perform a recording settings operation on the live streaming room, displaying the recording settings interface of the live streaming room, the recording settings interface being used to set configuration information related to recording; and displaying the plurality of element options in the settings interface of the live streaming room.

[0006] In some embodiments, the first display unit is configured to display the plurality of element options in the live stream room when the recording conditions are met.

[0007] In some embodiments, the recording unit is configured to perform any of the following: When at least one of the multiple element options is selected, in response to the live broadcast room meeting the recording conditions, the live broadcast screen in the live broadcast room and the visual elements corresponding to the at least one element option are recorded. When at least one of the multiple element options is selected, in response to a trigger operation of the recording control in the live room, the live screen in the live room and the visual elements corresponding to the at least one element option are recorded, and the recording control is used to record the content in the live room.

[0008] In some embodiments, the recording conditions include at least one of the following: The live stream showed actions targeting virtual items. The keyword specified by the user appears in the live broadcast room; The host object in the live broadcast room executes the behavior specified by the user object.

[0009] In some embodiments, the target virtual item includes at least one of the following: Virtual items whose corresponding virtual resources exceed a preset value, where the virtual resources of each virtual item are the resources consumed when sending the virtual item; Newly launched virtual items; A dedicated virtual item is a virtual item that is associated with at least one of the audience object that sends the virtual item and the broadcaster object that receives the virtual item. The viewer sends the virtual item sent by the streamer for the first time.

[0010] In some embodiments, the apparatus further includes: The third display unit is configured to, in response to the activation of the automatic recording function for the live streaming room, display a condition setting control in the recording settings interface of the live streaming room. The condition setting control is used to obtain the recording conditions specified by the user object. In response to a trigger operation on the condition setting control, the recording conditions specified by the user object are displayed.

[0011] In some embodiments, the apparatus further includes: The fourth display unit is configured to, in response to the live broadcast room meeting the recording conditions, continue to display the live broadcast screen and the visual elements corresponding to the at least one element option when at least one element option among the plurality of element options is selected, and cancel the display of other visual elements except for the visual elements corresponding to the at least one element option.

[0012] In some embodiments, the first display unit is further configured to display the recording control in the live stream room when the recording conditions are met.

[0013] In some embodiments, the first display unit is further configured to perform a screen clearing operation on the live stream, canceling the display of visual elements in the live stream and displaying the recording control; The recording unit is configured to, in response to a triggering operation of the recording control in the live streaming room, restore the display of the visual element corresponding to the at least one element option when at least one element option among the plurality of element options is selected, and record the live streaming screen in the live streaming room and the visual element corresponding to the at least one element option.

[0014] In some embodiments, the second display unit is configured to perform any of the following: In response to the triggering operation of the recording end control in the live room, the recording is stopped and a video containing the live screen and the visual elements corresponding to the at least one element option is displayed; In response to the live stream meeting the recording end condition, recording stops, and a video containing the live stream screen and visual elements corresponding to the at least one element option is displayed.

[0015] In some embodiments, the second display unit is configured to perform a video display in a video management interface that includes the live stream and visual elements corresponding to the at least one element option, the video management interface being used to manage locally unpublished videos; The device further includes: The publishing unit is configured to publish the video in response to a publishing operation on the video.

[0016] In some embodiments, the apparatus further includes: The fifth display unit is configured to respond to the end of recording by displaying a completion prompt message in the live broadcast room, the completion prompt message being used to indicate that the video recording has been completed.

[0017] In some embodiments, the apparatus further includes: The publishing unit is configured to, in response to the end of recording, display a publishing control in the live streaming room, the publishing control being used to publish the recorded video; and, in response to a trigger operation on the publishing control, publish the video.

[0018] According to another aspect of the embodiments of this disclosure, an electronic device is provided, the electronic device comprising: One or more processors; Memory used to store the executable program code of the processor; The processor is configured to execute the program code to implement the video generation method described above.

[0019] According to another aspect of the present disclosure, a computer-readable storage medium is provided that, when program code in the computer-readable storage medium is executed by a processor of an electronic device, enables the electronic device to perform the video generation method described above.

[0020] According to another aspect of the present disclosure, a computer program product is provided, including a computer program / instructions that, when executed by a processor, implement the video generation method described above.

[0021] This disclosure provides a video generation method. By displaying multiple element options in a live broadcast room, users can select visual elements to be included in the recording according to their needs. When at least one element option is selected, the live broadcast screen and the visual element corresponding to the at least one element option are recorded to obtain and display a video. This ensures that the recorded video contains only the visual elements specified by the user, in addition to the live broadcast screen. This method is not only highly controllable and flexible, making it easier to generate videos that meet the user's intentions, but also eliminates irrelevant elements in the live broadcast room, simplifies the video, and improves video quality. As a result, viewers of the subsequent video can quickly discover the visual elements specified by the user and understand the user's intentions, thereby improving information transmission efficiency.

[0022] 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

[0023] 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.

[0024] Figure 1 This is a schematic diagram illustrating the implementation environment of a video generation method according to an exemplary embodiment.

[0025] Figure 2 This is a flowchart illustrating a video generation method according to an exemplary embodiment.

[0026] Figure 3 This is a flowchart illustrating another video generation method according to an exemplary embodiment.

[0027] Figure 4 This is a schematic diagram illustrating a plurality of element options according to an exemplary embodiment.

[0028] Figure 5 This is a schematic diagram illustrating another plurality of element options according to an exemplary embodiment.

[0029] Figure 6 This is a schematic diagram illustrating a recording of prompt information according to an exemplary embodiment.

[0030] Figure 7 This is a schematic diagram illustrating a display recording control according to an exemplary embodiment.

[0031] Figure 8 This is a schematic diagram illustrating a video display according to an exemplary embodiment.

[0032] Figure 9 This is a schematic diagram illustrating a completion prompt message according to an exemplary embodiment.

[0033] Figure 10 This is a schematic diagram illustrating a publishing control according to an exemplary embodiment.

[0034] Figure 11 This is a block diagram illustrating a video generation apparatus according to an exemplary embodiment.

[0035] Figure 12 This is a block diagram illustrating a terminal according to an exemplary embodiment. Detailed Implementation

[0036] 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.

[0037] 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.

[0038] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this disclosure are all authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the live broadcast footage and various visual elements in the live broadcast room involved in this disclosure were obtained with full authorization.

[0039] Figure 1 This is a schematic diagram illustrating an implementation environment of a video generation method according to an exemplary embodiment. Taking an electronic device as an example, see [example description missing]. Figure 1 The implementation environment specifically includes: terminal 101 and server 102.

[0040] In some embodiments, terminal 101 is at least one of devices such as a smartphone, smartwatch, desktop computer, laptop, MP3 player, MP4 player, and laptop computer. Terminal 101 has a live streaming application installed and running, and users can log in to the application through terminal 101 to access the services provided by the application. Terminal 101 can connect to server 102 via a wireless or wired network, thereby obtaining information from the live stream and interacting with users on other terminals. For example, terminal 101 can be a viewer's terminal during the live stream, allowing viewers to send virtual items to the streamer. Alternatively, terminal 101 can be a streamer's terminal, allowing streamers to receive virtual items from viewers or connect with other streamers. Alternatively, terminal 101 can also be an administrator's terminal during the live stream, for managing viewers and streamers.

[0041] Terminal 101 generally refers to one of a plurality of terminals; this embodiment uses terminal 101 as an example. Those skilled in the art will understand that the number of terminals can be more or less. For example, there may be several terminals, or dozens or hundreds of terminals, or even more. This disclosure does not limit the number of terminals or the type of device.

[0042] In some embodiments, server 102 can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), big data, and artificial intelligence platforms. Server 102 is used to provide background services for applications that support live streaming. In some embodiments, server 102 undertakes the main computing work, and terminal 101 undertakes the secondary computing work; or, server 102 undertakes the secondary computing work, and terminal 101 undertakes the main computing work; or, server 102 and terminal 101 collaborate on computing using a distributed computing architecture.

[0043] Figure 2 This is a flowchart illustrating a video generation method according to an exemplary embodiment, see [link to flowchart]. Figure 2 This video generation method, when applied to a terminal, includes the following steps: In step 201, the terminal displays multiple element options in the live broadcast room. Different element options are used to indicate different visual elements in the live broadcast room that can participate in the recording.

[0044] In this embodiment, the terminal displays a live streaming room. The live streaming room includes a broadcaster and viewers. The terminal can be the broadcaster's terminal, the viewers' terminal, or the manager's terminal; this embodiment does not limit this. During the live stream, the terminal displays multiple element options in the live streaming room for the user to select visual elements to be included in subsequent recordings. The user is the operator of the terminal and can be the broadcaster, viewers, or manager, etc.; this embodiment does not limit this.

[0045] The visual elements corresponding to each element option can be item effects of virtual items in the live broadcast room, identifiers of virtual items (such as names and icons), identifiers of the broadcaster (such as avatars and nicknames), comment information, or identifiers of the audience, etc., and this embodiment does not limit them. The audience corresponding to the element option can be the audience currently sending virtual items to the broadcaster, the currently logged-in audience on the terminal, or the audience ranked high on the contribution leaderboard, etc., and this embodiment does not limit them.

[0046] In step 202, when at least one element option among multiple element options is selected, the terminal records the live broadcast screen in the live broadcast room and the visual element corresponding to at least one element option. The live broadcast screen is captured by the device of the broadcaster in the live broadcast room.

[0047] In this embodiment of the disclosure, in response to the selection of at least one element option among a plurality of element options, the terminal displays that the at least one element option is selected. Then, in response to a recording operation in the live broadcast room or the live broadcast room meeting a certain recording condition, the terminal records the live broadcast screen in the live broadcast room and the visual elements corresponding to the selected at least one element option. The live broadcast screen is used to indicate the original live video stream of the broadcaster, which only contains the content captured by the broadcaster's device and does not contain other visual elements, such as controls, special effects, comment messages, etc.

[0048] In addition to being manually selected by the user on the terminal, at least one of the above-mentioned element options can also be automatically selected based on the user's behavioral characteristics, etc., and this disclosure does not limit this. The behavioral characteristics are used to represent the visual elements that the user habitually selects when recording video in a live broadcast room.

[0049] In step 203, in response to the end of recording, the terminal displays a video containing the live stream and visual elements corresponding to at least one element option.

[0050] In this embodiment of the disclosure, when recording ends, the terminal obtains a video containing the live screen and at least one visual element corresponding to an element option, and displays the video. This embodiment of the disclosure does not limit the display position of the video.

[0051] This disclosure provides a video generation method. By displaying multiple element options in a live broadcast room, users can select visual elements to be included in the recording according to their needs. When at least one element option is selected, the live broadcast screen and the visual element corresponding to the at least one element option are recorded to obtain and display a video. This ensures that the recorded video contains only the visual elements specified by the user, in addition to the live broadcast screen. This method is not only highly controllable and flexible, making it easier to generate videos that meet the user's intentions, but also eliminates irrelevant elements in the live broadcast room, simplifies the video, and improves video quality. As a result, viewers of the subsequent video can quickly discover the visual elements specified by the user and understand the user's intentions, thereby improving information transmission efficiency.

[0052] In some embodiments, multiple element options are displayed in the live stream, including: In response to recording settings operations in the live stream, the recording settings interface of the live stream is displayed. The recording settings interface is used to set configuration information related to recording. The settings interface of the live streaming room displays multiple element options.

[0053] The solution provided in this disclosure displays multiple element options in the recording settings interface, allowing users to open the recording settings interface at any time during the live broadcast. By using the multiple element options in the recording settings interface, users can set the visual elements that will participate in the recording later. This makes the solution more controllable and flexible, not only meeting user intentions but also being simple to operate, thus improving the efficiency of human-computer interaction.

[0054] In some embodiments, multiple element options are displayed in the live stream, including: If the recording conditions are met in the live stream, multiple element options will be displayed in the live stream.

[0055] The solution provided in this embodiment not only promptly prompts the user that recording is possible when the live broadcast room meets the recording conditions, thus improving information transmission efficiency, but also guides the user to set the visual elements to be recorded later through multiple element options. This is in line with the user's intentions and is simple to operate, thereby improving recording efficiency, which in turn improves human-computer interaction efficiency.

[0056] In some embodiments, when at least one element option among a plurality of element options is selected, the live stream screen in the live stream room and the visual element corresponding to at least one element option are recorded, including any of the following: When at least one of the multiple element options is selected, in response to the live room meeting the recording conditions, the live screen in the live room and the visual elements corresponding to at least one element option are recorded. When at least one of the multiple element options is selected, in response to the triggering operation of the recording control in the live room, the live screen in the live room and the visual element corresponding to at least one element option are recorded. The recording control is used to record the content in the live room.

[0057] The solution provided in this disclosure can not only automatically record the live screen and at least one visual element corresponding to an element option in the live room when the recording conditions are met, without user operation, thus improving recording efficiency and human-computer interaction efficiency; it can also provide recording controls for the user in the live room. When the user triggers the recording controls, the live screen and at least one visual element corresponding to an element option in the live room are recorded, ensuring that the recording process meets the user's needs, thereby improving the accuracy of the video.

[0058] In some embodiments, the recording conditions include at least one of the following: The live stream showed actions targeting specific virtual items; The live stream contains keywords specified by the user. The host object in the live broadcast room executes the behavior specified by the user object.

[0059] The solution provided in this disclosure determines that the live stream meets the recording conditions when there is a sending action targeting a virtual item, a keyword specified by a user, or an action specified by a user performed by a broadcaster in the live stream. It automatically records the live stream screen and the visual elements corresponding to at least one element option in the live stream. Since the target virtual item, keyword, and action specified by the user are likely to be content of interest to the user, the user is more likely to need to record. In this case, automatic recording can improve recording efficiency, i.e., improve human-computer interaction efficiency, while ensuring that the recording meets the user's intention to a certain extent, without requiring user operation.

[0060] In some embodiments, the target virtual item includes at least one of the following: The number of virtual items whose corresponding virtual resources exceed the preset value, and the virtual resources of each virtual item are the resources consumed when sending the virtual item; Newly launched virtual items; Exclusive virtual items are virtual items that are associated with at least one of the audience object that sends the virtual item and the broadcaster object that receives the virtual item. The audience sends the virtual item sent by the streamer for the first time.

[0061] The solution provided in this disclosure is relatively special because virtual items that can consume more virtual resources than a preset value, newly launched virtual items, exclusive virtual items, and virtual items sent for the first time are all more likely to hit the user's interests and the user is more likely to need to record. When a sending behavior for any of the above virtual items occurs in the live broadcast room, automatic recording is performed. This ensures that the recording is consistent with the user's intention to a certain extent, without requiring user operation, thereby improving recording efficiency and thus improving human-computer interaction efficiency.

[0062] In some embodiments, the method further includes: In response to the activation of the automatic recording function for the live room, a condition setting control is displayed in the recording settings interface of the live room. The condition setting control is used to obtain the recording conditions specified by the user object. In response to a trigger action on the condition setting control, display the recording conditions specified by the user object.

[0063] The solution provided in this embodiment, when the automatic recording function is activated, displays a condition setting control in the recording settings interface of the live broadcast room. This allows the user to obtain the recording conditions specified by the user through the condition setting control, so that automatic recording can be performed when the recording conditions are met. This achieves the purpose of allowing the user to control the timing of automatic recording, making it more controllable and flexible. It not only makes the automatically recorded video conform to the user's intention, but also simplifies the operation and improves the efficiency of human-computer interaction.

[0064] In some embodiments, the method further includes: If at least one of the multiple element options is selected, in response to the live broadcast meeting the recording conditions, the live broadcast screen and the visual element corresponding to at least one element option continue to be displayed, and the display of other visual elements except for the visual element corresponding to at least one element option is canceled.

[0065] The solution provided in this disclosure, when the live broadcast room meets the recording conditions, continues to display the live broadcast screen and the visual elements corresponding to at least one element option, while removing the display of other irrelevant visual elements. That is, during the automatic recording process, only the visual elements involved in the recording are displayed in addition to the live broadcast screen, which simplifies the live broadcast interface, makes it easier for users to intuitively see the visual elements involved in the recording, and improves the efficiency of information transmission.

[0066] In some embodiments, the method further includes: If the recording conditions are met in the live stream, a recording control will be displayed in the live stream.

[0067] The solution provided in this disclosure will only display the recording control when the recording conditions in the live room are met, so that users can record the content in the live room through the recording control. If the recording conditions are not met, the recording control will not be displayed. This not only saves operating costs, but also prompts users in a timely manner that they can record, improving information transmission efficiency. This allows users to be guided to record through the recording space more quickly, which is in line with user intentions and is simple to operate, thus improving recording efficiency and human-computer interaction efficiency.

[0068] In some embodiments, the method further includes: In response to the screen clearing operation of the live stream, visual elements in the live stream are removed and recording controls are displayed. When at least one of multiple element options is selected, in response to a triggering operation on the recording control in the live stream room, the live stream screen in the live stream room and the visual element corresponding to at least one element option are recorded, including: When at least one of the multiple element options is selected, in response to the triggering operation of the recording control in the live room, the visual element corresponding to at least one element option is restored to the display, and the live screen in the live room and the visual element corresponding to at least one element option are recorded.

[0069] The solution provided in this embodiment cancels the display of visual elements in the live broadcast room when the live broadcast room is in a clear screen state, and only displays the recording control. This makes it easier for users to quickly find the recording control and start recording based on it in a timely manner. The operation is simple and can improve recording efficiency, that is, improve human-computer interaction efficiency. Furthermore, during the recording process after the recording control is triggered, the visual element corresponding to at least one element option is restored to the display, making it easier for users to intuitively see the visual elements participating in the recording, thus improving information transmission efficiency.

[0070] In some embodiments, in response to the end of recording, a video containing the live feed and visual elements corresponding to at least one element option is displayed, including any of the following: In response to the triggering operation of the recording end control in the live room, stop recording and display a video containing the live screen and at least one visual element corresponding to the element option; When the recording ends in response to the live stream meeting the recording end conditions, the recording stops and a video containing the live stream footage and at least one visual element corresponding to an element option is displayed.

[0071] The solution provided in this disclosure not only provides a recording end control for the user in the live broadcast room, stopping recording when the user triggers the recording end control, ensuring that the recording process meets the user's needs and thus improving the accuracy of the video; it also automatically stops recording when the recording end conditions are met in the live broadcast room, without requiring user operation, thereby improving video acquisition efficiency, that is, improving human-computer interaction efficiency.

[0072] In some embodiments, displaying a video that includes a live feed and visual elements corresponding to at least one element option includes: The video management interface displays videos that include live footage and visual elements corresponding to at least one element option. The video management interface is used to manage locally unpublished videos. The method also includes: In response to the publishing operation of the video, the video is published.

[0073] The solution provided in this embodiment can display the recorded video in the video management interface, so as to uniformly manage the unpublished videos locally through the video management interface. Then, the user can find the recorded video from the video management interface and publish it. The video management interface enables asynchronous execution between video recording and video publishing, which is more controllable and flexible, meets the user's intention, and can improve the user's operating experience.

[0074] In some embodiments, the method further includes: In response to the end of recording, a completion message will be displayed in the live stream room to indicate that the video recording has been completed.

[0075] The solution provided in this disclosure, after recording is completed, displays a completion prompt in the live broadcast room, intuitively showing the user that the video has been recorded, thereby improving information transmission efficiency and facilitating the user to perform subsequent interactive operations on the recorded video in a timely manner.

[0076] In some embodiments, the method further includes: In response to the end of recording, a publish control is displayed in the live stream room. The publish control is used to publish the recorded video. Publish the video in response to a trigger action on the publish control.

[0077] The solution provided in this embodiment can directly display the publishing control in the live broadcast room after recording is completed, so that users can directly publish the recorded video through the publishing control without having to jump to other interfaces to publish the video. The operation is simple and can improve the efficiency of video publishing, that is, improve the efficiency of human-computer interaction.

[0078] The above Figure 2 The diagram shown is merely the basic process of this disclosure. The following section will further elaborate on the solution provided in this disclosure based on a specific implementation method. Figure 3 This is a flowchart illustrating another video generation method according to an exemplary embodiment. Taking an electronic device provided as a terminal as an example, see [link to example]. Figure 3 The video generation method includes the following steps: In step 301, the terminal displays multiple element options in the live broadcast room. Different element options are used to indicate different visual elements in the live broadcast room that can participate in the recording.

[0079] In this embodiment of the disclosure, during live streaming, the terminal displays multiple element options in the live streaming room for the user to select visual elements to be included in subsequent recordings. The terminal may passively display these multiple element options upon user interaction, or it may automatically display them under certain conditions. This embodiment of the disclosure does not limit the timing of the display of the multiple element options.

[0080] In some embodiments, the terminal passively displays the multiple element options upon user operation. Correspondingly, the process of the terminal displaying multiple element options in the live stream includes: in response to a recording settings operation on the live stream, the terminal displays the recording settings interface of the live stream. The recording settings interface is used to set configuration information related to recording. Then, the terminal displays multiple element options in the live stream settings interface. The solution provided by this disclosure, by displaying multiple element options in the recording settings interface, allows the user to open the recording settings interface at any time during the live stream. Through the multiple element options in the recording settings interface, the user can set the visual elements that will participate in the recording later. This provides greater controllability and flexibility, not only conforming to user intent but also being simple to operate, thus improving human-computer interaction efficiency.

[0081] For example, Figure 4 This is a schematic diagram illustrating a plurality of element options according to an exemplary embodiment. See also Figure 4 When the recording settings control 401 is triggered, the terminal displays the recording settings interface 402 of the live stream. The recording settings interface 402 displays the following element options: "Item Information," "My Information," "Broadcaster Information," and "Comment Interaction Information." The "Item Information" element option indicates whether the name, icon, and other information of virtual items sent in the live stream can be recorded. The "My Information" element option indicates whether the avatar, nickname, and other information of the user logged into the terminal can be recorded. The "Broadcaster Information" element option indicates whether the avatar, nickname, and other information of the broadcaster in the live stream can be recorded. The "Comment Interaction Information" element option indicates whether comments in the live stream can be recorded. Figure 4As can be seen, the "Item Information" and "My Information" elements are selected, which means that the subsequently recorded video includes the item information of the sent virtual item and the information of the user logged in on the terminal.

[0082] In other embodiments, the terminal automatically displays the multiple element options when a certain condition is met. Accordingly, the process of displaying multiple element options in the terminal's live streaming room includes: when the live streaming room meets the recording conditions, the terminal displays multiple element options in the live streaming room. The recording conditions may be that the virtual item sent in the live streaming room is the target virtual item, or that content of interest to the user appears in the live streaming room (such as a keyword or a behavior). This disclosure does not limit the recording conditions. The solution provided by this disclosure, when the live streaming room meets the recording conditions, not only promptly prompts the user that recording is possible, improving information transmission efficiency, but also guides the user to set the visual elements to be recorded later through multiple element options. This aligns with user intent, is simple to operate, and improves recording efficiency, i.e., it improves human-computer interaction efficiency.

[0083] For example, Figure 5 This is a schematic diagram illustrating another option of multiple elements according to an exemplary embodiment. See also Figure 5 When the live stream meets the recording requirements, the terminal displays an operation panel 501 containing multiple options within the live stream. The operation panel 501 displays options for "Item Information," "My Information," "Streamer Information," and "Comment Interaction Information." Figure 5 As can be seen, the "Item Information" element option, the "My Information" element option, and the "Broadcaster Information" element option are selected, which means that the subsequently recorded video includes the item information of the sent virtual item, the information of the user object logged in on the terminal, and the information of the broadcaster object. Figure 5 The terminal also displays a collapse control 502 with multiple element options. When the collapse control 502 is triggered, the terminal can collapse multiple element options, that is, minimize the display of multiple element options. When multiple element options are in the collapsed state, an expand control is displayed at the location of the collapse control 502, so that the user can expand and display multiple element options through the expand control.

[0084] In step 302, when at least one element option among multiple element options is selected, the terminal records the live broadcast screen in the live broadcast room and the visual element corresponding to at least one element option. The live broadcast screen is captured by the device of the broadcaster in the live broadcast room.

[0085] In this embodiment of the disclosure, in response to the selection of at least one element option from a plurality of element options, the terminal displays that the at least one element option is selected. Then, in response to the live broadcast room meeting a certain recording condition or a recording operation in the live broadcast room, the terminal records the live broadcast screen in the live broadcast room and the visual elements corresponding to the selected at least one element option. This embodiment of the disclosure does not limit the timing of recording.

[0086] In some embodiments, recording occurs when the live stream meets the recording conditions. Accordingly, step 302 includes: when at least one element option among multiple element options is selected, in response to the live stream meeting the recording conditions, the terminal records the live stream screen and the visual element corresponding to at least one element option in the live stream. The solution provided by this disclosure embodiment can automatically record the live stream screen and the visual element corresponding to at least one element option in the live stream when the recording conditions are met, without user operation, thus improving recording efficiency, i.e., improving human-computer interaction efficiency.

[0087] During recording, the terminal can also display recording prompts in the live stream to intuitively inform the user that recording is in progress, thereby improving information transmission efficiency. This embodiment does not limit the display style or location of the recording prompts. For example, Figure 6 This is a schematic diagram illustrating the recording of prompt information according to an exemplary embodiment. See also: Figure 6 The terminal displays a recording prompt message 601 at the bottom of the live broadcast room – “Recording in progress”.

[0088] This disclosure does not limit the recording conditions. The recording conditions may include at least one of the following: The first point is that there are sending actions targeting virtual items in the live stream; The second point is that keywords specified by the user appear in the live stream. Thirdly, the host object in the live broadcast room executes the behavior specified by the user object.

[0089] The solution provided in this disclosure determines that the live stream meets the recording conditions when there is a sending action targeting a virtual item, a keyword specified by a user, or an action specified by a user performed by a broadcaster in the live stream. It automatically records the live stream screen and the visual elements corresponding to at least one element option in the live stream. Since the target virtual item, keyword, and action specified by the user are likely to be content of interest to the user, the user is more likely to need to record. In this case, automatic recording can improve recording efficiency, i.e., improve human-computer interaction efficiency, while ensuring that the recording meets the user's intention to a certain extent, without requiring user operation.

[0090] This disclosure does not limit the target virtual item. The target virtual item may include at least one of the following: The first item refers to virtual items whose corresponding virtual resource quantity exceeds a preset value. The virtual resources of each virtual item are the resources consumed when sending the virtual item. This preset value can be customized by the user or determined based on the virtual resources consumed by the user when sending virtual items within a historical time period; this embodiment does not specify this value.

[0091] The second item is the newly launched virtual items.

[0092] Thirdly, a dedicated virtual item. A dedicated virtual item is a virtual item associated with at least one of the audience object that sends the virtual item and the broadcaster object that receives the virtual item. Optionally, the dedicated virtual item is associated with the interaction behavior between the audience object and the broadcaster object; or, the dedicated virtual item is associated with the object characteristics of the audience object or the broadcaster object, etc., which are not limited in this embodiment of the present disclosure.

[0093] The fourth item is the virtual item sent by the streamer to the audience for the first time.

[0094] The solution provided in this disclosure is relatively special because virtual items that can consume more virtual resources than a preset value, newly launched virtual items, exclusive virtual items, and virtual items sent for the first time are all more likely to hit the user's interests and the user is more likely to need to record. When a sending behavior for any of the above virtual items occurs in the live broadcast room, automatic recording is performed. This ensures that the recording is consistent with the user's intention to a certain extent, without requiring user operation, thereby improving recording efficiency and thus improving human-computer interaction efficiency.

[0095] The recording conditions mentioned above can be pre-set by the live streaming platform or customized by the user. In some embodiments, in response to the activation of the automatic recording function for the live streaming room, a condition setting control is displayed on the recording settings interface of the live streaming room. The condition setting control is used to obtain the recording conditions specified by the user. In response to the triggering operation of the condition setting control, the terminal displays the recording conditions specified by the user. The solution provided by this disclosure embodiment, when the automatic recording function is activated, facilitates the user to obtain the recording conditions specified by the user through the condition setting control on the recording settings interface of the live streaming room, so that automatic recording can be performed automatically when the recording conditions are met. This achieves the purpose of allowing the user to control the timing of automatic recording, making it more controllable and flexible. It not only makes the automatically recorded video conform to the user's intention, but also simplifies the operation and improves the efficiency of human-computer interaction.

[0096] For example, see continue. Figure 4 The aforementioned condition setting control refers to Figure 4 The recording settings interface shown contains multiple candidate condition launch controls. Figure 4 It is evident that the recording conditions specified by the user include sending virtual items with a value higher than 1000 virtual coins in the live stream, and sending newly launched virtual items.

[0097] In some embodiments, when at least one element option among multiple element options is selected, in response to the live broadcast meeting the recording conditions, the terminal continues to display the live broadcast screen and the visual element corresponding to at least one element option, while canceling the display of other visual elements besides the visual element corresponding to at least one element option. The solution provided by this disclosure, when the live broadcast meeting the recording conditions, continues to display the live broadcast screen and the visual element corresponding to at least one element option, while removing the display of other irrelevant visual elements. That is, during automatic recording, only the visual elements involved in the recording are displayed in addition to the live broadcast screen, simplifying the live broadcast interface, making it easier for users to intuitively see the visual elements involved in the recording, and improving information transmission efficiency.

[0098] In other embodiments, the recording occurs during a live stream. Accordingly, step 302 includes: when at least one element option among multiple element options is selected, in response to a triggering operation of the recording control in the live stream, the terminal records the live stream screen and the visual element corresponding to at least one element option. The recording control is used to record the content in the live stream. The solution provided by this disclosure also provides a recording control for the user in the live stream. When the user triggers the recording control, the live stream screen and the visual element corresponding to at least one element option in the live stream are recorded, ensuring that the recording process meets the user's needs, thereby improving video accuracy.

[0099] For example, see continue. Figure 5 The terminal displays a recording control 503 at the bottom of the live streaming interface. When the recording control 503 is triggered, the terminal records the live stream footage and at least one visual element corresponding to an element option in the live streaming room.

[0100] This disclosure does not limit the display style, display position, or display timing of the recording control. For example, the recording control may be displayed at a certain position in the live broadcast room throughout the entire live broadcast; or, the recording control may only be displayed when a certain condition is met.

[0101] In some embodiments, when the recording conditions in the live broadcast room are met, the terminal displays a recording control in the live broadcast room. The solution provided in this disclosure only displays the recording control when the recording conditions in the live broadcast room are met, so that subsequent users can record the content in the live broadcast room using the recording control. If the recording conditions are not met, the recording control will not be displayed. This not only saves runtime resources but also promptly prompts users that recording is possible, improving information transmission efficiency. It quickly guides users to record through the recording space, aligns with user intent, is simple to operate, and improves recording efficiency, thus enhancing human-computer interaction efficiency.

[0102] In other embodiments, in response to a screen-clearing operation of the live stream, the terminal cancels the display of visual elements in the live stream and displays a recording control. Then, when at least one element option among multiple element options is selected, in response to a triggering operation of the recording control in the live stream, the visual element corresponding to at least one element option is restored to the display, and the live stream screen and the visual element corresponding to at least one element option in the live stream are recorded. The solution provided by the embodiments of this disclosure cancels the display of visual elements in the live stream when the live stream is in a screen-clearing state, and only displays the recording control, making it easier for users to quickly find the recording control and start recording in a timely manner. The operation is simple and can improve recording efficiency, that is, improve human-computer interaction efficiency. Furthermore, during the recording process after the recording control is triggered, the visual element corresponding to at least one element option is restored to the display, making it easier for users to intuitively see the visual elements participating in the recording, thus improving information transmission efficiency.

[0103] For example, Figure 7 This is a schematic diagram illustrating a display recording control according to an exemplary embodiment. See also: Figure 7 The terminal displays the message "Swipe right to clear screen and record video" in the comment section of the live stream, prompting the user to record video. Then, in response to the right swipe operation, the terminal displays that the live stream is in a cleared screen state and shows the recording control 701 at the bottom of the live stream.

[0104] In step 303, in response to the end of recording, the terminal displays a video containing the live stream and visual elements corresponding to at least one element option.

[0105] In this embodiment of the disclosure, when recording ends, the terminal obtains a video containing the live stream and visual elements corresponding to at least one element option, and displays the video.

[0106] This disclosure does not limit the method of ending recording. In some embodiments, in response to the triggering operation of the recording end control in the live broadcast room, the terminal stops recording and displays a video containing the live broadcast screen and visual elements corresponding to at least one element option. Alternatively, in other embodiments, in response to the live broadcast room meeting the recording end condition, recording stops and a video containing the live broadcast screen and visual elements corresponding to at least one element option is displayed. The recording end condition may include at least one of the following: the recording duration reaches a preset duration, or the live broadcast room does not meet the recording condition; this disclosure does not limit this. The solution provided by this disclosure not only provides a recording end control for the user in the live broadcast room, stopping recording when the user triggers the recording end control, ensuring that the recording process meets the user's needs and thus improving video accuracy; it also automatically stops recording when the live broadcast room meets the recording end condition, without user operation, improving video acquisition efficiency, i.e., improving human-computer interaction efficiency.

[0107] This disclosure does not limit the display position of the video. In some embodiments, the terminal displays a video containing live footage and at least one visual element corresponding to an element option in the video management interface. The video management interface is used to manage locally unpublished videos. The solution provided by this disclosure can display recorded videos in the video management interface, so as to uniformly manage locally unpublished videos through the video management interface. Then, users can find and publish the recorded videos from the video management interface. The video management interface enables asynchronous execution between video recording and video publishing, which is more controllable and flexible, conforms to the user's intention, and can improve the user's operating experience.

[0108] For example, Figure 8 This is a schematic diagram illustrating a video display according to an exemplary embodiment. See also: Figure 8 When the recording end control 801 is triggered, the recorded video 803 is displayed in the video management interface 802 on the terminal.

[0109] In some embodiments, in response to the end of recording, the terminal displays a completion notification in the live streaming room, indicating that the video recording has been completed. The solution provided by this disclosure, by displaying a completion notification in the live streaming room after recording has ended, intuitively demonstrates to the user that the video recording is complete, improving information transmission efficiency and facilitating timely interactive operations by the user on the recorded video.

[0110] For example, Figure 9 This is a schematic diagram illustrating a completion prompt message according to an exemplary embodiment. See also: Figure 9The terminal displays a completion notification message 901 in the comment section of the live stream. The completion notification message 901 includes a viewing control 902. When the viewing control 902 is triggered, the terminal displays the video management interface, which shows the recorded video.

[0111] In step 304, in response to the video publishing operation, the terminal publishes the video.

[0112] In this embodiment of the disclosure, upon detecting a publishing operation for a video, the terminal publishes the video.

[0113] In some embodiments, in response to the end of recording, the terminal displays a publishing control in the live broadcast room. The publishing control is used to publish the recorded video. Then, in response to the triggering operation of the publishing control, the terminal publishes the video. The solution provided by the embodiments of this disclosure can directly display the publishing control in the live broadcast room after recording ends, making it convenient for users to directly publish the recorded video using the publishing control without having to jump to other interfaces to publish the video. This simplifies the operation, improves video publishing efficiency, and thus improves human-computer interaction efficiency.

[0114] For example, Figure 10 This is a schematic diagram illustrating a publishing control according to an exemplary embodiment. See also... Figure 10 The terminal displays a completion message 1001 in the comment section of the live stream. The completion message 1001 includes a publish control 1002. When the publish control 1002 is triggered, the terminal can directly publish the video.

[0115] Before publishing the video, the terminal can also edit the video. Optionally, when the publish control is triggered, the terminal can display the video in the video editing interface. Then, in response to the video editing operation, the terminal displays the edited video. Then, in response to the confirm publish operation in the video editing interface, the terminal publishes the edited video.

[0116] The recorded video can also be shared with other users. Optionally, the publishing control can be replaced with a sharing control to implement the sharing function, which will not be elaborated further here.

[0117] This disclosure provides a video generation method. By displaying multiple element options in a live broadcast room, users can select visual elements to be included in the recording according to their needs. When at least one element option is selected, the live broadcast screen and the visual element corresponding to the at least one element option are recorded to obtain and display a video. This ensures that the recorded video contains only the visual elements specified by the user, in addition to the live broadcast screen. This method is not only highly controllable and flexible, making it easier to generate videos that meet the user's intentions, but also eliminates irrelevant elements in the live broadcast room, simplifies the video, and improves video quality. As a result, viewers of the subsequent video can quickly discover the visual elements specified by the user and understand the user's intentions, thereby improving information transmission efficiency.

[0118] All of the above-mentioned optional technical solutions can be combined in any way to form optional embodiments of this disclosure, and will not be described in detail here.

[0119] Figure 11 This is a block diagram illustrating a video generation apparatus according to an exemplary embodiment. See also Figure 11 The video generation device includes: a first display unit 1101, a recording unit 1102, and a second display unit 1103.

[0120] The first display unit 1101 is configured to execute multiple element options in the live broadcast room, with different element options used to indicate different visual elements in the live broadcast room that can participate in the recording. The recording unit 1102 is configured to record the live screen in the live room and the visual elements corresponding to the at least one element option when at least one element option among a plurality of element options is selected. The live screen is captured by the device of the broadcaster in the live room. The second display unit 1103 is configured to perform a response to the end of recording by displaying a video containing the live feed and visual elements corresponding to at least one element option.

[0121] In some embodiments, the first display unit is configured to perform a recording settings interface for the live room in response to a recording settings operation on the live room. The recording settings interface is used to set configuration information related to recording. Multiple element options are displayed in the live room settings interface.

[0122] In some embodiments, the first display unit is configured to display multiple element options in the live broadcast room if the recording conditions are met.

[0123] In some embodiments, the recording unit is configured to perform any of the following: When at least one of the multiple element options is selected, in response to the live room meeting the recording conditions, the live screen in the live room and the visual elements corresponding to at least one element option are recorded. When at least one of the multiple element options is selected, in response to the triggering operation of the recording control in the live room, the live screen in the live room and the visual element corresponding to at least one element option are recorded. The recording control is used to record the content in the live room.

[0124] In some embodiments, the recording conditions include at least one of the following: The live stream showed actions targeting specific virtual items; The live stream contains keywords specified by the user. The host object in the live broadcast room executes the behavior specified by the user object.

[0125] In some embodiments, the target virtual item includes at least one of the following: The number of virtual items whose corresponding virtual resources exceed the preset value, and the virtual resources of each virtual item are the resources consumed when sending the virtual item; Newly launched virtual items; Exclusive virtual items are virtual items that are associated with at least one of the audience object that sends the virtual item and the broadcaster object that receives the virtual item. The audience sends the virtual item sent by the streamer for the first time.

[0126] In some embodiments, the apparatus further includes: The third display unit is configured to, in response to the activation of the automatic recording function for the live streaming room, display a condition setting control in the recording settings interface of the live streaming room. The condition setting control is used to obtain the recording conditions specified by the user object. In response to the triggering operation of the condition setting control, the recording conditions specified by the user object are displayed.

[0127] In some embodiments, the apparatus further includes: The fourth display unit is configured to, in response to the live broadcast meeting the recording conditions, continue to display the live broadcast screen and the visual element corresponding to at least one element option when at least one element option is selected, and cancel the display of other visual elements except for the visual element corresponding to at least one element option.

[0128] In some embodiments, the first display unit is further configured to display recording controls in the live streaming room when the recording conditions are met.

[0129] In some embodiments, the first display unit is further configured to perform a screen clearing operation on the live stream, canceling the display of visual elements in the live stream and displaying recording controls; The recording unit is configured to, in response to a triggering operation of the recording control in the live room, restore the display of the visual element corresponding to at least one element option when at least one element option among a plurality of element options is selected, and record the live screen in the live room and the visual element corresponding to at least one element option.

[0130] In some embodiments, the second display unit is configured to perform any of the following: In response to the triggering operation of the recording end control in the live room, stop recording and display a video containing the live screen and at least one visual element corresponding to the element option; When the recording ends in response to the live stream meeting the recording end conditions, the recording stops and a video containing the live stream footage and at least one visual element corresponding to an element option is displayed.

[0131] In some embodiments, the second display unit is configured to perform a video display in a video management interface that includes a live stream and visual elements corresponding to at least one element option. The video management interface is used to manage locally unpublished videos. The device also includes: The publishing unit is configured to publish the video in response to a publishing operation.

[0132] In some embodiments, the apparatus further includes: The fifth display unit is configured to respond to the end of recording by displaying a completion message in the live broadcast room. The completion message is used to indicate that the video recording has been completed.

[0133] In some embodiments, the apparatus further includes: The publishing unit is configured to display a publishing control in the live stream room in response to the end of recording. The publishing control is used to publish the recorded video; the video is published in response to the triggering operation of the publishing control.

[0134] This disclosure provides a video generation apparatus that displays multiple element options in a live streaming room, allowing users to select visual elements to be included in the recording process according to their needs. When at least one element option is selected, the live stream and the visual elements corresponding to the at least one element option are recorded to obtain and display a video. This ensures that the recorded video contains only the visual elements specified by the user, in addition to the live stream. This not only provides strong controllability and flexibility, facilitating the generation of videos that meet the user's intentions, but also eliminates irrelevant elements in the live stream, simplifies the video, and improves video quality. Consequently, viewers of the subsequent video can quickly discover the visual elements specified by the user and understand the user's intentions, thus improving information transmission efficiency.

[0135] It should be noted that the video generation device provided in the above embodiments is only illustrated by the division of the above functional units during video recording in a live broadcast room. In practical applications, the above functions can be assigned to different functional units as needed, that is, the internal structure of the electronic device can be divided into different functional units to complete all or part of the functions described above. In addition, the video generation device and the video generation method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0136] 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.

[0137] When an electronic device is provided as a terminal, Figure 12 This is a block diagram illustrating a terminal 1200 according to an exemplary embodiment. The terminal... Figure 12 A structural block diagram of a terminal 1200 provided in an exemplary embodiment of this disclosure is shown. The terminal 1200 may be a smartphone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III), MP4 player (Moving Picture Experts Group Audio Layer IV), laptop computer, or desktop computer. The terminal 1200 may also be referred to as a user device, portable terminal, laptop terminal, desktop terminal, or other names.

[0138] Typically, terminal 1200 includes a processor 1201 and a memory 1202.

[0139] Processor 1201 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 1201 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 1201 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 1201 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 1201 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.

[0140] The memory 1202 may include one or more computer-readable storage media, which may be non-transitory. The memory 1202 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1202 are used to store at least one computer program, which is executed by the processor 1201 to implement the video generation method provided in the method embodiments of this application.

[0141] In some embodiments, the terminal 1200 may also optionally include a peripheral device interface 1203 and at least one peripheral device. The processor 1201, memory 1202, and peripheral device interface 1203 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 1203 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: radio frequency circuitry 1204, display screen 1205, camera assembly 1206, audio circuitry 1207, and power supply 1208.

[0142] Peripheral device interface 1203 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 1201 and memory 1202. In some embodiments, processor 1201, memory 1202 and peripheral device interface 1203 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 1201, memory 1202 and peripheral device interface 1203 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.

[0143] The radio frequency (RF) circuit 1204 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 1204 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 1204 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. In some embodiments, the RF circuit 1204 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 1204 can communicate with other terminals via at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 1204 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.

[0144] Display screen 1205 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 1205 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 1201 for processing. In this case, display screen 1205 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 1205, disposed on the front panel of terminal 1200; in other embodiments, there may be at least two display screens, disposed on different surfaces of terminal 1200 or in a folded design; in still other embodiments, display screen 1205 may be a flexible display screen, disposed on a curved or folded surface of terminal 1200. Furthermore, display screen 1205 may also be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. The display screen 1205 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0145] The camera assembly 1206 is used to acquire images or videos. In some embodiments, the camera assembly 1206 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is located on the front panel of the terminal, and the rear-facing camera is located on the back of the terminal. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 1206 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash is a combination of a warm-light flash and a cool-light flash, which can be used for light compensation at different color temperatures.

[0146] The audio circuit 1207 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting the sound waves into electrical signals that are input to the processor 1201 for processing, or input to the radio frequency circuit 1204 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each positioned at a different location on the terminal 1200. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert electrical signals from the processor 1201 or the radio frequency circuit 1204 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 1207 may also include a headphone jack.

[0147] Power supply 1208 is used to power the various components in terminal 1200. Power supply 1208 can be AC ​​power, DC power, a disposable battery, or a rechargeable battery. When power supply 1208 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, and a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0148] Those skilled in the art will understand that Figure 12 The structure shown does not constitute a limitation on terminal 1200 and may include more or fewer components than shown, or combine certain components, or use different component arrangements.

[0149] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 1202 including instructions, which can be executed by a processor 1201 of a terminal 1200 to complete the video generation method described above. Optionally, the computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, or optical data storage device, etc.

[0150] A computer program product includes a computer program / instructions that, when executed by a processor, implement the video generation method described above.

[0151] 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 disclosure 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.

[0152] 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 video generation method, characterized in that, The method includes: Multiple element options are displayed in the live broadcast room, and different element options are used to indicate different visual elements in the live broadcast room that can participate in the recording; When at least one of the multiple element options is selected, the live screen in the live room and the visual elements corresponding to the at least one element option are recorded. The live screen is captured by the device of the broadcaster in the live room. In response to the end of recording, a video containing the live stream footage and visual elements corresponding to the at least one element option is displayed.

2. The video generation method according to claim 1, characterized in that, The option to display multiple elements in the live stream includes: In response to the recording settings operation of the live room, the recording settings interface of the live room is displayed, and the recording settings interface is used to set configuration information related to recording; The settings interface of the live streaming room displays the multiple element options.

3. The video generation method according to claim 1, characterized in that, The option to display multiple elements in the live stream includes: If the recording conditions are met in the live stream room, the multiple element options will be displayed in the live stream room.

4. The video generation method according to claim 1, characterized in that, When at least one element option among the plurality of element options is selected, the live broadcast screen in the live broadcast room and the visual elements corresponding to the at least one element option are recorded, including any one of the following: When at least one of the multiple element options is selected, in response to the live broadcast room meeting the recording conditions, the live broadcast screen in the live broadcast room and the visual elements corresponding to the at least one element option are recorded. When at least one of the multiple element options is selected, in response to a trigger operation of the recording control in the live room, the live screen in the live room and the visual elements corresponding to the at least one element option are recorded, and the recording control is used to record the content in the live room.

5. The video generation method according to claim 4, characterized in that, The recording conditions include at least one of the following: The live stream showed actions targeting virtual items. The live stream contains keywords specified by the user. The host object in the live broadcast room executes the behavior specified by the user object.

6. The video generation method according to claim 5, characterized in that, The target virtual item includes at least one of the following: Virtual items whose corresponding virtual resources exceed a preset value, where the virtual resources of each virtual item are the resources consumed when sending the virtual item; Newly launched virtual items; A dedicated virtual item is a virtual item that is associated with at least one of the audience object that sends the virtual item and the broadcaster object that receives the virtual item. The viewer sends the virtual item sent by the streamer for the first time.

7. The video generation method according to any one of claims 3-5, characterized in that, The method further includes: In response to the activation of the automatic recording function for the live streaming room, a condition setting control is displayed in the recording settings interface of the live streaming room. The condition setting control is used to obtain the recording conditions specified by the user object. In response to a trigger operation on the condition setting control, the recording conditions specified by the user object are displayed.

8. The video generation method according to any one of claims 3-5, characterized in that, The method further includes: When at least one of the multiple element options is selected, in response to the live broadcast room meeting the recording conditions, the live broadcast screen and the visual elements corresponding to the at least one element option continue to be displayed, and the display of other visual elements except for the visual elements corresponding to the at least one element option is canceled.

9. The video generation method according to any one of claims 4, characterized in that, The method further includes: If the recording conditions are met in the live stream, the recording control is displayed in the live stream.

10. The video generation method according to claim 4, characterized in that, The method further includes: In response to the screen clearing operation of the live broadcast room, the visual elements in the live broadcast room are canceled and the recording control is displayed; When at least one element option among the plurality of element options is selected, in response to a trigger operation on the recording control in the live broadcast room, the live broadcast screen in the live broadcast room and the visual elements corresponding to the at least one element option are recorded, including: When at least one of the multiple element options is selected, in response to the triggering operation of the recording control in the live broadcast room, the visual element corresponding to the at least one element option is restored to the display, and the live broadcast screen in the live broadcast room and the visual element corresponding to the at least one element option are recorded.

11. The video generation method according to claim 1, characterized in that, The response to the end of recording, displaying a video containing the live stream and visual elements corresponding to the at least one element option, includes any of the following: In response to the triggering operation of the recording end control in the live room, the recording is stopped and a video containing the live screen and the visual elements corresponding to the at least one element option is displayed; In response to the live stream meeting the recording end condition, recording stops, and a video containing the live stream screen and visual elements corresponding to the at least one element option is displayed.

12. The video generation method according to claim 1, characterized in that, The video display includes the live stream and visual elements corresponding to the at least one element option, including: The video management interface displays a video containing the live stream and visual elements corresponding to the at least one element option. The video management interface is used to manage locally unpublished videos. The method further includes: In response to the publishing operation of the video, the video is published.

13. The video generation method according to claim 1, characterized in that, The method further includes: In response to the end of recording, a completion prompt message is displayed in the live broadcast room, which indicates that the video has been recorded.

14. The video generation method according to claim 1, characterized in that, The method further includes: In response to the end of recording, a publishing control is displayed in the live broadcast room, which is used to publish the recorded video. The video is published in response to a triggering operation on the publishing control.

15. A video generation apparatus, characterized in that, The device includes: The first display unit is configured to execute multiple element options in the live broadcast room, with different element options used to indicate different visual elements in the live broadcast room that can participate in the recording. The recording unit is configured to record the live screen in the live room and the visual elements corresponding to the at least one element option when at least one of the plurality of element options is selected, wherein the live screen is captured by the device of the broadcaster in the live room. The second display unit is configured to respond to the end of recording by displaying a video containing the live stream and visual elements corresponding to the at least one element option.

16. An electronic device, characterized in that, The electronic device includes: One or more processors; Memory used to store the executable program code of the processor; The processor is configured to execute the program code to implement the video generation method as described in any one of claims 1 to 14.

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

18. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the video generation method according to any one of claims 1 to 14.