Video generation method, device, computer equipment and storage medium

By acquiring and customizing live playback data for virtual playback recording, the problems of unnecessary elements and network conditions for live playback recording in the prior art are solved, and the generation and efficient playback of personalized playback videos are realized.

CN114189704BActive Publication Date: 2024-11-15BEIJING YOUZHUJU NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111493760.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-08
Publication Date
2024-11-15
Estimated Expiration
2041-12-08

AI Technical Summary

Technical Problem

The existing live playback technology has the problem of recording screen playback that requires recording a complete screen, causing unnecessary elements to affect the viewing experience, and web playback has high restrictions on network conditions, especially in poor network scenarios.

Method used

By obtaining a variety of playback data in the live broadcast scenario, responding to the target customization instructions, selecting the target type of target playback data, performing virtual playback and recording, and generating customized playback videos to realize the selection and playback of personalized playback data.

Benefits of technology

The generated playback video can meet the needs of personalized customization, get rid of the limitations of playback scenarios, and improve the playback effect of playback videos, especially in scenarios with poor network conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114189704B_ABST
    Figure CN114189704B_ABST
Patent Text Reader

Abstract

The present disclosure provides a video generation method, device, computer equipment and storage medium, wherein the method includes: obtaining a plurality of playback data generated in a live broadcast scene; in response to a target customization instruction, selecting target playback data of a target type indicated by the target customization instruction from the plurality of playback data; performing virtual playback based on the target playback data, and performing video recording during the virtual playback process to generate a playback video corresponding to the live broadcast scene. The method provided in this embodiment can generate a customized playback video, thereby meeting the personalized customization requirements while getting rid of the limitations of the playback scenario.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of video playback and recording, and in particular to a video generation method, device, computer equipment and storage medium. Background Art

[0002] Compared with previous online videos, live broadcasts have the advantages of high participation and strong timeliness, and are widely used in online digital education, online sales, instant meetings, etc. However, each live broadcast has a fixed time, resulting in many people being unable to participate in the current live broadcast for various reasons and can only replay the live broadcast replay of the current session.

[0003] Existing live broadcast playback is generally divided into two categories. One is screen recording playback, which is to record the entire screen for viewing. However, this method requires recording the entire screen, which leads to the recording of some unnecessary elements, thus affecting viewing. The other is web page playback. However, this method has high restrictions on playback conditions. In scenarios where there is no network or the network conditions are poor, the playback effect is poor. Summary of the invention

[0004] The embodiments of the present disclosure at least provide a video generation method, apparatus, computer equipment, and storage medium.

[0005] In a first aspect, an embodiment of the present disclosure provides a video generation method, including:

[0006] Obtain various playback data generated in live broadcast scenarios;

[0007] In response to the target customization instruction, selecting target playback data of the target type indicated by the target customization instruction from the multiple playback data;

[0008] Virtual playback is performed based on the target playback data, and video recording is performed during the virtual playback to generate a playback video corresponding to the live broadcast scene.

[0009] In a possible implementation manner, the multiple playback data include at least one of the following:

[0010] Audio and video data, interactive data, and static resource links;

[0011] Among them, different types of playback data are displayed in different locations in the live broadcast scenario.

[0012] In a possible implementation manner, the target customization instruction further includes at least one of a subject type, watermark information, and a graphic link.

[0013] In a possible implementation, the performing virtual playback based on the target playback data includes:

[0014] sorting the target playback data based on timestamp information corresponding to the target playback data;

[0015] Perform virtual playback based on the sorting results.

[0016] In a possible implementation, recording a video during the virtual playback process to generate a playback video corresponding to the live broadcast scene includes:

[0017] Acquire display data generated based on the target playback data during the virtual playback process;

[0018] The display data is recorded to generate the playback video.

[0019] In a possible implementation, after generating the playback video, the method further includes:

[0020] Receive a playback request from the client;

[0021] A target playback video generated based on a target customization instruction matching the user terminal is determined, and the target playback video is sent to the user terminal for playback.

[0022] In a second aspect, the present disclosure also provides a video generation method, including:

[0023] Receive a target customization instruction, and obtain target playback data corresponding to the target customization instruction in a live broadcast scenario;

[0024] Virtual playback is performed based on the target playback data, and video recording is performed during the virtual playback to generate a playback video corresponding to the live broadcast scene.

[0025] In a third aspect, the present disclosure also provides a video generation device, including:

[0026] The acquisition module is used to obtain various playback data generated in the live broadcast scenario;

[0027] A response module, configured to select, in response to a target customization instruction, target playback data of a target type indicated by the target customization instruction from the multiple playback data;

[0028] The first generating module is used to perform virtual playback based on the target playback data, and to record video during the virtual playback process to generate a playback video corresponding to the live broadcast scene.

[0029] In a possible implementation manner, the multiple playback data include at least one of the following:

[0030] Audio and video data, interactive data, and static resource links;

[0031] Among them, different types of playback data are displayed in different locations in the live broadcast scenario.

[0032] In a possible implementation manner, the target customization instruction further includes at least one of a subject type, watermark information, and a graphic link.

[0033] In a possible implementation manner, the first generating module, when performing virtual playback based on the target playback data, is used to:

[0034] sorting the target playback data based on timestamp information corresponding to the target playback data;

[0035] Perform virtual playback based on the sorting results.

[0036] In a possible implementation manner, when the first generating module performs video recording during the virtual playback to generate a playback video corresponding to the live broadcast scene, it is used to:

[0037] Acquire display data generated based on the target playback data during the virtual playback process;

[0038] The display data is recorded to generate the playback video.

[0039] In a possible implementation manner, the device further includes a sending module, configured to:

[0040] Receive playback request from the client;

[0041] A target playback video generated based on a target customization instruction matching the user terminal is determined, and the target playback video is sent to the user terminal for playback.

[0042] In a fourth aspect, the present disclosure also provides another video generation device, including:

[0043] A receiving module, used to receive a target customization instruction and obtain target playback data corresponding to the target customization instruction in a live broadcast scenario;

[0044] The second generating module is used to perform virtual playback based on the target playback data, and to record video during the virtual playback to generate a playback video corresponding to the live broadcast scene.

[0045] In a fifth aspect, an embodiment of the present disclosure further provides a computer device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are executed by the processor, the above-mentioned first aspect, or the steps in any possible implementation of the first aspect, or the steps in the above-mentioned second aspect are executed.

[0046] In a sixth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the computer program executes the above-mentioned first aspect, or the steps of any possible implementation of the first aspect, or executes the steps of the above-mentioned second aspect.

[0047] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following is a brief introduction to the drawings required for use in the embodiments. The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and are used together with the specification to illustrate the technical solutions of the present disclosure. It should be understood that the following drawings only illustrate certain embodiments of the present disclosure and should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can also be obtained based on these drawings without creative work.

[0049] Figure 1 A flow chart of a video generation method provided by an embodiment of the present disclosure is shown;

[0050] Figure 2 A flowchart of another video generation method provided by an embodiment of the present disclosure is shown;

[0051] Figure 3 A schematic diagram of a video generating device provided by an embodiment of the present disclosure is shown;

[0052] Figure 4 A schematic diagram showing another video generating device provided by an embodiment of the present disclosure is shown;

[0053] Figure 5 A schematic diagram of the structure of a computer device provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical scheme and advantages of the embodiments of the present disclosure clearer, the technical scheme in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. The components of the embodiments of the present disclosure generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the drawings is not intended to limit the scope of the present disclosure for protection, but merely represents the selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present disclosure.

[0055] After research, it was found that the existing live recording technologies include screen recording and playback, that is, recording the entire screen for viewing. However, this method requires recording the entire screen, which leads to the recording of some unnecessary elements, thus affecting the viewing experience. The other is web page playback. However, this method has high restrictions on playback conditions. In scenarios where there is no network or the network conditions are poor, the playback effect is poor.

[0056] Based on the above research, the present disclosure provides a video generation method, device, computer equipment and storage medium, which can obtain a variety of playback data generated in a live broadcast scene; then in response to a target customization instruction, select the target playback data of the target type indicated by the target customization instruction from the multiple playback data, thereby realizing the selection of personalized playback data; then virtual playback can be performed based on the target playback data, and video recording can be performed during the virtual playback process to generate a playback video corresponding to the live broadcast scene. Therefore, the method provided in this embodiment can generate a customized playback video, thereby meeting the personalized customization needs while getting rid of the limitations of the playback scenario.

[0057] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0058] To facilitate understanding of this embodiment, a video generation method disclosed in the embodiment of the present disclosure is first introduced in detail. The executor of the video generation method provided in the embodiment of the present disclosure is generally a computer device with certain computing capabilities, and the computer device includes, for example: a terminal device or a server.

[0059] Embodiment 1

[0060] See also Figure 1FIG. 1 is a flowchart of a video generation method provided by an embodiment of the present disclosure, wherein the method includes steps 101 to 103, wherein:

[0061] Step 101: Acquire various playback data generated in a live broadcast scenario.

[0062] Step 102: In response to the target customization instruction, select target playback data of the target type indicated by the target customization instruction from the multiple playback data.

[0063] Step 103: Perform virtual playback based on the target playback data, and perform video recording during the virtual playback process to generate a playback video corresponding to the live broadcast scene.

[0064] The following is a detailed description of the above steps 101 to 103.

[0065] With respect to step 101, a variety of playback data generated in a live broadcast scenario is obtained.

[0066] In a possible implementation, when acquiring the generated multiple playback data, the server may acquire and store the data pushed by each user terminal during the live broadcast process, and then perform the operations of steps 102 to 103 to directly generate the playback video on the server. The user terminal includes the host terminal and the audience terminal. In the application scenario of online education, the host terminal may refer to the teacher terminal, and the audience terminal may refer to the student terminal.

[0067] Alternatively, in another possible implementation, the multiple playback data obtained may also be data pushed from the server stored by the anchor end during the live broadcast process, as well as data collected by the image acquisition device of the anchor end, and then the operations of steps 102 to 103 are performed on the user end. After the playback video is generated, the playback video is uploaded to the server for other user ends to watch.

[0068] The playback data may refer to data generated by different modules in a live broadcast scenario, and may include, for example, multiple types such as audio and video data, interactive data, and static resource links.

[0069] The audio and video data is the video or audio data recorded during the live broadcast. In a possible implementation, the recording of the audio and video data can be achieved through the location area for displaying the audio and video data in the recording screen interface of the host end. The location area for displaying the audio and video data can be exemplarily an area for displaying the video captured by the camera of the host end (teacher end), or an area for displaying the video captured by the camera of the audience end (student end).

[0070] In another possible implementation, the audio and video data of the user end can also be recorded by the server, where the recorded audio and video data of the user end is the audio and video data that needs to be displayed during the live broadcast. In a possible application scenario, the anchor end may need to connect with other anchor ends (or audience ends) during the live broadcast. Therefore, in this case, in addition to recording the audio and video data of the current anchor end, the audio and video data of other anchor ends (or audience ends) also need to be recorded.

[0071] Furthermore, if the recorded audio and video data includes multiple user terminals, since the audio and video data of the multiple user terminals are recorded separately, when generating the multiple playback data, the audio and video data of the multiple user terminals can be fitted first to align the multiple audio and video data.

[0072] Specifically, the start time of each audio and video data may have a corresponding timestamp, which may be an absolute time, and then the audio and video data may be arranged based on the start time of each audio and video data, and the arranged audio and video data constitute the playback data.

[0073] The interactive data may be the interactive data between the audience and the host, or between the host and the live broadcast device during the live broadcast process; exemplary data may include barrage, comments, virtual gifts, etc., or may be handwriting data of the host drawing, marking, etc. on the host's end.

[0074] The static resource link is a link to a static resource displayed during the live broadcast, and the static resource may include, for example, static pictures, slides, music, videos, etc.; the static resources may be pre-stored on a server, and the static resource link is a storage link corresponding to the server, and the corresponding static resource may be directly obtained based on the static resource link.

[0075] In a possible implementation, different types of playback data have different display locations in the live broadcast scenario. The display location here may refer to a display area on the screen interface, such as a screen sharing area, a chat area, a courseware area, a microphone area, a brush area, etc. Different types of playback data may overlap between display areas on the screen interface.

[0076] With respect to step 102 , in response to the target customization instruction, target playback data of the target type indicated by the target customization instruction is selected from the multiple playback data.

[0077] The target customization instruction is an instruction sent by the user to the server for generating a personalized customized playback video according to actual usage requirements, wherein the target customization instruction may include at least one of a theme type, watermark information, and a graphic link.

[0078] Specifically, the theme type is used to describe the layout method, display frame, and main body color of various display areas; the graphic link is a triggerable link displayed during the playback of the video.

[0079] In one possible implementation, after the live broadcast ends, a customized page can be displayed to the anchor, and the user can set the playback data type, theme type, watermark information, and graphic link settings on the customized page to generate the target customized instructions.

[0080] The target customization instruction may carry a target type. After receiving the target customization instruction, playback data of the target type may be selected from the acquired multiple playback data according to the target customization instruction.

[0081] Here, it should be noted that when the user generates a target customized instruction, if the user does not set the playback data type, the playback data type set by the user can be defaulted to all types, that is, the target type carried in the target customized instruction is the type of all playback data; if the user does not set the subject type when generating a target customized instruction, it can be determined that the subject type set by the user is the default type.

[0082] For example, applied to online education scenarios, teachers can choose a combination of audio data and brush data according to the classroom situation, and add a watermark tag. Then when the server filters the data, it only filters out the audio data and brush interaction data, and adds a watermark-related static resource link. Based on this, a playback video suitable for the online education scenario can be generated.

[0083] Alternatively, in another possible implementation, the target customization instruction may also carry a target object type to achieve personalized customization of playback videos for different target objects. For example, for students, teachers may prefer that students focus on the content of the teacher's lecture, so the target type carried in the target customization instruction may include audio and video data and brush data; for parents, parents may need to understand the student's classroom learning status, so the target type carried in the target customization instruction may include audio and video data and interactive data.

[0084] In a possible application scenario, if there is only one target customization instruction for a live broadcast, and the target customization instruction carries only one target object type, then after the corresponding playback video is generated, only the target object of this type can watch the playback video, and other types of target objects cannot watch the playback video.

[0085] For example, if after the live broadcast ends, the target customization instruction set by the anchor only carries the target object type of "parents", then only "parents" can watch the playback video corresponding to the live broadcast, while "students" cannot watch it.

[0086] Through this method, target customization instructions adapted to different types of target objects can be generated, thereby generating personalized playback videos adapted to different target objects, thereby improving the playback effect of the playback video.

[0087] With respect to step 103 , virtual playback is performed based on the target playback data, and video recording is performed during the virtual playback process to generate a playback video corresponding to the live broadcast scene.

[0088] The virtual playback can be understood as rendering and playing the target playback data through a virtual graphics card. Since the playback process is performed by a virtual graphics card, the displayed data (i.e., the rendered data rendered by the virtual graphics card) is not truly displayed, and the displayed data is only digitized content. Furthermore, the content of the virtual playback of the virtual graphics card can be recorded into a playback video, and finally a playback video file is generated.

[0089] When virtual playback is performed based on the target playback data, in a possible implementation, the target playback data may be sorted based on timestamp information corresponding to the target playback data; and then virtual playback is performed based on the sorting result.

[0090] Specifically, for the filtered target playback data, each target playback data has a corresponding timestamp, and the timestamp is used to indicate the time when the target playback data is displayed. The sorting of the multiple playback data based on the timestamp information corresponding to the multiple playback data can be understood as determining multiple time nodes based on the timestamp information corresponding to the multiple playback data, and each time node is used to display the target playback data whose timestamp information matches the time node.

[0091] When performing virtual playback based on the sorting results, when playing to any time node, the target playback data matching the time node may be displayed.

[0092] Exemplarily, if the target playback data includes audio and video data and comment information, the audio and video data is continuous, and the corresponding timestamp is the start time to the end time of the playback; exemplarily, the anchor turns on the camera between the 10th and 20th minutes of the live broadcast, then the 10th minute can be counted as a time node; if the audience sends comment information at the 10th minute, 12th minute and 15th minute respectively, then the 10th minute, 12th minute and 15th minute can also be counted as time nodes, among which there are multiple target playback data corresponding to the time node "10th minute", including audio and video data and comment information.

[0093] After sorting, three time nodes, namely the 10th minute, the 12th minute and the 15th minute, can be determined. When virtual playback is performed based on the target playback data, the target playback data corresponding to any time node can be displayed when the playback is performed to the time node.

[0094] In a possible application scenario, the process of virtual playback and virtual recording can be completed by a recording tool, wherein the recording tool includes a virtual graphics card rendering function and a page acquisition function, and the recording tool can be embedded in a browser. When recording and replaying data, the browser can be started for virtual playback, and then the display data in the browser can be acquired through the virtual graphics card and recorded as a video.

[0095] After generating the playback video, the client can send a playback request to request to watch the playback video. After receiving the playback request from the client, the server can determine the target playback video generated based on the target customization instruction matching the client, and send the target playback video to the client for playing.

[0096] Here, the target customized instruction matched with the user terminal may be understood as a target customized instruction carrying the target user type to which the user terminal belongs.

[0097] For example, for the same live broadcast, the target playback video requested by the parent side and the target playback video requested by the student side may be different.

[0098] In this way, personalized customization of playback videos for different types of users can be achieved.

[0099] Embodiment 2

[0100] Based on the same concept, the present disclosure also provides another video generation method, see Figure 2 FIG. 2 is a flowchart of another video generation method provided by an embodiment of the present disclosure, wherein the method includes steps 201 to 202, wherein:

[0101] Step 201: Receive a target customization instruction, and obtain target playback data corresponding to the target customization instruction in a live broadcast scenario.

[0102] Step 202: Perform virtual playback based on the target playback data, and perform video recording during the virtual playback to generate a playback video corresponding to the live broadcast scene.

[0103] During the implementation of this solution, before starting the live broadcast, the anchor terminal can first send a target customization instruction, and the server can obtain the target playback data based on the target customization instruction, and then record the playback video through virtual playback. Using this solution can reduce the steps of the server screening the target playback data from a variety of playback data, thereby achieving the purpose of targeted selection. Among them, for non-target playback data, the server can choose to retain the playback data according to the actual situation, and this solution does not limit this.

[0104] Based on the same inventive concept, a video generating device corresponding to the video generating method is also provided in the embodiment of the present disclosure. Since the principle of solving the problem by the device in the embodiment of the present disclosure is similar to the above-mentioned video generating method in the embodiment of the present disclosure, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0105] Reference Figure 3 , which is a schematic diagram of the architecture of a video generation device provided by an embodiment of the present disclosure, the device comprises: an acquisition module 301, a response module 302, and a first generation module 303; wherein,

[0106] The acquisition module 301 is used to acquire various playback data generated in the live broadcast scenario;

[0107] A response module 302, configured to select, in response to a target customization instruction, target playback data of a target type indicated by the target customization instruction from the multiple playback data;

[0108] The first generating module 303 is used to perform virtual playback based on the target playback data, and to record video during the virtual playback process to generate a playback video corresponding to the live broadcast scene.

[0109] In a possible implementation manner, the multiple playback data include at least one of the following:

[0110] Audio and video data, interactive data, and static resource links;

[0111] Among them, different types of playback data are displayed in different locations in the live broadcast scenario.

[0112] In a possible implementation manner, the target customization instruction further includes at least one of a subject type, watermark information, and a graphic link.

[0113] In a possible implementation manner, the first generating module 303, when performing virtual playback based on the target playback data, is used to:

[0114] sorting the target playback data based on timestamp information corresponding to the target playback data;

[0115] Perform virtual playback based on the sorting results.

[0116] In a possible implementation manner, the first generating module 303, when performing video recording during virtual playback to generate a playback video corresponding to the live broadcast scene, is used to:

[0117] Acquire display data generated based on the target playback data during the virtual playback process;

[0118] The display data is recorded to generate the playback video.

[0119] In a possible implementation manner, the device further includes a sending module 304, configured to:

[0120] Receive a playback request from the client;

[0121] A target playback video generated based on a target customization instruction matching the user terminal is determined, and the target playback video is sent to the user terminal for playback.

[0122] Reference Figure 4 FIG. 4 is a schematic diagram of the architecture of another video generating device provided by an embodiment of the present disclosure, wherein the device comprises: a receiving module 401 and a second generating module 402; wherein:

[0123] The receiving module 401 is used to receive a target customization instruction and obtain target playback data corresponding to the target customization instruction in a live broadcast scenario;

[0124] The second generating module 402 is used to perform virtual playback based on the target playback data, and to record the video during the virtual playback to generate a playback video corresponding to the live broadcast scene.

[0125] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.

[0126] For descriptions of the processing flow of each module in the device and the interaction flow between each module, reference may be made to the relevant descriptions in the above method embodiment, which will not be described in detail here.

[0127] Based on the same technical concept, the embodiment of the present disclosure also provides a computer device. Figure 5 As shown, it is a schematic diagram of the structure of a computer device 500 provided in an embodiment of the present disclosure, including a processor 501, a memory 502, and a bus 503. Among them, the memory 502 is used to store execution instructions, including a memory 5021 and an external memory 5022; the memory 5021 here is also called an internal memory, which is used to temporarily store the operation data in the processor 501, and the data exchanged with the external memory 5022 such as a hard disk. The processor 501 exchanges data with the external memory 5022 through the memory 5021. When the computer device 500 is running, the processor 501 communicates with the memory 502 through the bus 503, so that the processor 501 executes the following instructions:

[0128] Obtain various playback data generated in live broadcast scenarios;

[0129] In response to the target customization instruction, selecting target playback data of the target type indicated by the target customization instruction from the multiple playback data;

[0130] Virtual playback is performed based on the target playback data, and video recording is performed during the virtual playback to generate a playback video corresponding to the live broadcast scene.

[0131] In a possible implementation manner, in the instruction executed by the processor 501, the multiple playback data includes at least one of the following:

[0132] Audio and video data, interactive data, and static resource links;

[0133] Among them, different types of playback data are displayed in different locations in the live broadcast scenario.

[0134] In a possible implementation manner, in the instructions executed by the processor 501, the target customization instruction further includes at least one of a theme type, watermark information, and a graphic link.

[0135] In a possible implementation, in the instruction executed by the processor 501, the performing virtual playback based on the target playback data includes:

[0136] sorting the target playback data based on timestamp information corresponding to the target playback data;

[0137] Perform virtual playback based on the sorting results.

[0138] In a possible implementation, in the instructions executed by the processor 501, the video recording during the virtual playback process to generate a playback video corresponding to the live broadcast scene includes:

[0139] Acquire display data generated based on the target playback data during the virtual playback process;

[0140] The display data is recorded to generate the playback video.

[0141] In a possible implementation manner, the instructions executed by the processor 501, after generating the playback video, further include:

[0142] Receive a playback request from the client;

[0143] A target playback video generated based on a target customization instruction matching the user terminal is determined, and the target playback video is sent to the user terminal for playback.

[0144] Alternatively, the processor 501 may execute the following instructions:

[0145] Receive a target customization instruction, and obtain target playback data corresponding to the target customization instruction in a live broadcast scenario;

[0146] Virtual playback is performed based on the target playback data, and video recording is performed during the virtual playback to generate a playback video corresponding to the live broadcast scene.

[0147] The present disclosure also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the video generation method described in the above method embodiment are executed. The storage medium can be a volatile or non-volatile computer-readable storage medium.

[0148] The embodiments of the present disclosure also provide a computer program product, which carries a program code. The instructions included in the program code can be used to execute the steps of the video generation method described in the above method embodiment. For details, please refer to the above method embodiment, which will not be repeated here.

[0149] The computer program product may be implemented in hardware, software or a combination thereof. In one optional embodiment, the computer program product is implemented as a computer storage medium. In another optional embodiment, the computer program product is implemented as a software product, such as a software development kit (SDK).

[0150] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. In the several embodiments provided in the present disclosure, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of the device or unit can be electrical, mechanical or other forms.

[0151] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0152] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0153] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0154] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A video generation method, characterized in that: include: Acquire multiple playback data generated in a live broadcast scenario, wherein the multiple playback data include: audio and video data, interactive data, and static resource links; In response to the target customization instruction, selecting target playback data of the target type indicated by the target customization instruction from the multiple playback data; Perform virtual playback based on the target playback data, and perform video recording during the virtual playback process to generate a playback video corresponding to the live broadcast scene, The target customization instruction carries at least one target object type, different target object types correspond to different target types, and the playback video generated for the target type of the at least one target object type is only viewed by the target object of the at least one target object type.

2. The method according to claim 1, characterized in that Different types of playback data are displayed at different locations in the live broadcast scenario.

3. The method according to claim 1, characterized in that The target customization instruction also includes at least one of a subject type, watermark information, and a graphic link.

4. The method according to claim 1 or 2, characterized in that: The performing virtual playback based on the target playback data includes: sorting the target playback data based on timestamp information corresponding to the target playback data; Perform virtual playback based on the sorting results.

5. The method according to claim 1, characterized in that The video recording is performed during the virtual playback process to generate a playback video corresponding to the live broadcast scene, including: Acquire display data generated based on the target playback data during the virtual playback process; The display data is recorded to generate the playback video.

6. The method according to claim 1, characterized in that After generating the playback video, the method further includes: Receive a playback request from the client; A target playback video generated based on a target customization instruction matching the user terminal is determined, and the target playback video is sent to the user terminal for playback.

7. A video generation method, characterized in that: include: Receive a target customization instruction, and obtain target playback data corresponding to the target type indicated by the target customization instruction in a live broadcast scenario, wherein the target playback data includes: audio and video data, interactive data, and static resource links; Perform virtual playback based on the target playback data, and perform video recording during the virtual playback process to generate a playback video corresponding to the live broadcast scene, The target customization instruction carries at least one target object type, different target object types correspond to different target types, and the playback video generated for the target type of the at least one target object type is only viewed by the target object of the at least one target object type.

8. A video generating device, characterized in that: include: An acquisition module, used to acquire a variety of playback data generated in a live broadcast scenario, wherein the various playback data include: audio and video data, interactive data, and static resource links; A response module, configured to select, in response to a target customization instruction, target playback data of a target type indicated by the target customization instruction from the multiple playback data; The first generating module is used to perform virtual playback based on the target playback data and to record the video during the virtual playback to generate a playback video corresponding to the live broadcast scene. The target customization instruction carries at least one target object type, different target object types correspond to different target types, and the playback video generated for the target type of the at least one target object type is only viewed by the target object of the at least one target object type.

9. A video generating device, characterized in that: include: A receiving module, configured to receive a target customization instruction, and obtain target playback data corresponding to a target type indicated by the target customization instruction in a live broadcast scenario, wherein the target playback data includes: audio and video data, interactive data, and static resource links; The second generation module is used to perform virtual playback based on the target playback data and to record the video during the virtual playback to generate a playback video corresponding to the live broadcast scene. The target customization instruction carries at least one target object type, different target object types correspond to different target types, and the playback video generated for the target type of the at least one target object type is only viewed by the target object of the at least one target object type.

10. A computer device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the video generation method according to any one of claims 1 to 7 are performed.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the video generation method according to any one of claims 1 to 7 are executed.