CN113395534A - Live playback video processing method, device, equipment and storage medium - Google Patents

Live playback video processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN113395534A
CN113395534A CN202110658978.7A CN202110658978A CN113395534A CN 113395534 A CN113395534 A CN 113395534A CN 202110658978 A CN202110658978 A CN 202110658978A CN 113395534 A CN113395534 A CN 113395534A
Authority
CN
China
Prior art keywords
live
video
playback
target
live broadcast
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110658978.7A
Other languages
Chinese (zh)
Inventor
张立峰
王国铼
唐高望
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Miluoxing Technology Group Co ltd
Original Assignee
Hangzhou Miluoxing Technology Group Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Miluoxing Technology Group Co ltd filed Critical Hangzhou Miluoxing Technology Group Co ltd
Priority to CN202110658978.7A priority Critical patent/CN113395534A/en
Publication of CN113395534A publication Critical patent/CN113395534A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks

Abstract

The application provides a live playback video processing method, a live playback video processing device, live playback video processing equipment and a storage medium, and relates to the technical field of network live broadcasting. The method comprises the following steps: responding to a broadcasting request sent by a target terminal, creating a target live broadcast room and generating a virtual account; entering a target live broadcast room by using the virtual account; acquiring live broadcast video of a target live broadcast room from each terminal entering the target live broadcast room; and performing off-screen rendering on the live video to obtain a rendered live playback video. According to the scheme, live video is acquired in real time and rendered off the screen in real time, so that high synchronization and consistency of all information streams including live audio and video streams of a target live room, white board information, interactive information of a target terminal and a terminal of at least one student side and the like are ensured, the problem of poor synchronization effect of all information is effectively solved, the efficiency of live teaching video playback is improved, and the watching experience of a user is improved.

Description

Live playback video processing method, device, equipment and storage medium
Technical Field
The present application relates to the field of live broadcast technologies, and in particular, to a live broadcast playback video processing method, apparatus, device, and storage medium.
Background
With the development of internet classroom, education online live broadcast is more and more popular. After live broadcasting, the live broadcasting content in class is stored, so that the requirement of the student on playing back the recorded live broadcasting teaching video for learning during review after class can be met.
At present, in the live course in class, live teaching video includes: the audio and video of the teacher on class, the interactive information of the teacher and the students, the whiteboard blackboard writing information and the like, and then the audio and video stream, the interactive information, the whiteboard blackboard writing and the like are respectively stored into separate files. When a student needs to play back a live teaching video, the server needs to synthesize audio and video streams, interactive information and whiteboard writing information so as to meet the requirement of review of the student after class.
However, when the live teaching video is played back in the prior art, the effect of synchronizing the information is poor, so that the playback effect of the live teaching video is poor, and the watching experience of a user is influenced.
Disclosure of Invention
The present invention aims to provide a live playback video processing method, apparatus, device and storage medium, so as to effectively solve the problem of poor synchronization effect of each information in a live video, achieve the purpose of improving playback efficiency of a live teaching video, and improve viewing experience of a user.
In order to achieve the above purpose, the technical solutions adopted in the embodiments of the present application are as follows:
in a first aspect, an embodiment of the present application provides a live playback video processing method, which is applied to a server and includes:
responding to a broadcasting request sent by a target terminal, creating a target live broadcast room and generating a virtual account;
entering the target live broadcast room by using the virtual account;
acquiring live broadcast videos of the target live broadcast room from all terminals entering the target live broadcast room;
and performing off-screen rendering on the live video to obtain a rendered live playback video.
Optionally, the entering the target live broadcast room by using the virtual account includes:
and connecting the virtual account to a service server in the server, and calling a login interface provided by the service server to enter the target live broadcast room.
Optionally, the acquiring a live video of the target live broadcast room from each terminal entering the target live broadcast room includes:
receiving address information of the live video sent by the at least one cache server, wherein the live video is sent to the cache server by at least one terminal entering the target live broadcast room;
and acquiring the live broadcast video of the target live broadcast room according to the address information of the live broadcast video.
Optionally, the virtual account is an account with an auditing right.
Optionally, the off-screen rendering of the live video to obtain a rendered live playback video further includes:
generating page number information of the live playback video in a playback list according to the live time of the live playback video;
and saving the live playback video to the page number indicated by the page number information in the playback list.
Optionally, the off-screen rendering of the live video to obtain a rendered live playback video further includes:
storing the live playback video into a playback list corresponding to the title type of the live playback video according to the title type of the live playback video;
generating page number information of the live playback video according to a sequence of the live playback video in the playback list of the title type;
and saving the live playback video to the page number indicated by the page number information in the playback list.
Optionally, after saving the live playback video to the page indicated by the page information in the playback list, the method further includes:
receiving a playback request sent by a playback terminal; wherein the playback request comprises: page number information of the target live broadcast playback video in the playback list;
searching the playback list for the live playback video of the page number indicated by the page number information according to the playback request;
and returning the live playback video to the playback terminal so that the playback terminal plays the live playback video.
In a second aspect, an embodiment of the present application further provides a live playback video processing apparatus, which is applied to a server, where the apparatus includes:
the response module is used for responding to a broadcasting request sent by the target terminal, creating a target live broadcast room and generating a virtual account;
the entry module is used for entering the target live broadcast room by using the virtual account;
the acquisition module is used for acquiring the live broadcast video of the target live broadcast room from each terminal entering the target live broadcast room;
and the rendering module is used for performing off-screen rendering on the live video to obtain a rendered live playback video.
Optionally, the entry module is further configured to:
and connecting the virtual account to a service server in the server, and calling a login interface provided by the service server to enter the target live broadcast room.
Optionally, the obtaining module is further configured to:
receiving address information of the live video sent by the at least one cache server, wherein the live video is sent to the cache server by at least one terminal entering the target live broadcast room;
and acquiring the live broadcast video of the target live broadcast room according to the address information of the live broadcast video.
Optionally, the virtual account is an account with an auditing right.
Optionally, the apparatus further comprises:
the generating module is used for generating page number information of the live playback video in a playback list according to the live time of the live playback video;
and the storage module is used for storing the live playback video into the page number indicated by the page number information in the playback list.
Optionally, the storage module is further configured to store the live playback video into a playback list corresponding to the title type of the live playback video according to the title type of the live playback video;
the generation module is further configured to generate page number information of the live playback video according to a sequence of the live playback video in the playback list of the title type;
the storage module is further configured to store the live playback video into a page indicated by the page information in the playback list.
Optionally, the apparatus further comprises:
the receiving module is used for receiving a playback request sent by a playback terminal; wherein the playback request comprises: page number information of the target live broadcast playback video in the playback list;
a searching module, configured to search, according to the playback request, for a live playback video of a page number indicated by the page number information from the playback list;
and the return module is used for returning the live playback video to the playback terminal so as to enable the playback terminal to play the live playback video.
In a third aspect, an embodiment of the present application further provides an electronic device, including: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the electronic device is operating, the processor executing the machine-readable instructions to perform the steps of the method as provided by the first aspect.
In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the method as provided in the first aspect.
The beneficial effect of this application is:
the embodiment of the application provides a live playback video processing method, a live playback video processing device, equipment and a storage medium, wherein the method comprises the following steps: responding to a broadcasting request sent by a target terminal, creating a target live broadcast room and generating a virtual account; entering a target live broadcast room by using the virtual account; acquiring live broadcast video of a target live broadcast room from each terminal entering the target live broadcast room; and performing off-screen rendering on the live video to obtain a rendered live playback video. In the scheme, the server uses the generated virtual account number to enter a target live broadcast room created on the target terminal, then the server acquires live broadcast video of the target live broadcast room from each terminal entering the target live broadcast room, so that the live broadcast video can be acquired in real time and rendered off the screen, and live broadcast audio and video streams of the target live broadcast room are ensured to be contained in the live broadcast video, white board information, high synchronization and consistency of each information stream such as interactive information of the target terminal and the terminal of at least one student side, the problem of poor synchronization effect of each information is effectively solved, the efficiency of playback of live broadcast teaching video is improved, and the watching experience of a user is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic structural diagram of a live playback video processing system according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a live playback video processing method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another live playback video processing method according to an embodiment of the present application;
fig. 5 is a schematic flowchart of another live playback video processing method according to an embodiment of the present application;
fig. 6 is a schematic flowchart of another live playback video processing method according to an embodiment of the present application;
fig. 7 is a schematic flowchart of another live playback video processing method according to an embodiment of the present application;
fig. 8 is an overall flowchart of a live playback video processing method according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a live playback video processing apparatus according to an embodiment of the present application.
Detailed Description
In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it should be understood that the drawings in the present application are for illustrative and descriptive purposes only and are not used to limit the scope of protection of the present application. Additionally, it should be understood that the schematic drawings are not necessarily drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be performed out of order, and steps without logical context may be performed in reverse order or simultaneously. One skilled in the art, under the guidance of this application, may add one or more other operations to, or remove one or more operations from, the flowchart.
In addition, the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that in the embodiments of the present application, the term "comprising" is used to indicate the presence of the features stated hereinafter, but does not exclude the addition of further features.
The framework of the live playback video processing system provided by the present application is briefly described by various embodiments as follows.
Fig. 1 is a schematic structural diagram of a live playback video processing system according to an embodiment of the present application; as shown in fig. 1, the live playback video processing system 100 includes: at least one of the terminal 101, the server 102, and the network 103, wherein the terminal 101 and the server 102 may include a processor for executing instruction operations. The terminal 101 and the server 102 may be communicatively connected through a network 103.
For example, as shown in fig. 1, the terminal 101 and the server 102 are deployed and operated independently in different electronic devices, for example, the terminal 101 may be a computer, a mobile internet device, a tablet, a mobile phone terminal, and other devices having an operation function and a display function, and the server 102 is a processing device deployed in a server and having a data processing function.
In some embodiments, for example, a live application is installed on the terminal 101, so that a user can enter a target live room through the live application installed in advance on the terminal 101 to view various live videos.
The server 102 may be a terminal device or a computing device such as a server having a data processing function.
The network 103 may be used for the exchange of information and/or data, for example, the network 103 may be any type of wired or wireless network, or any combination thereof.
It will be appreciated that the configuration shown in fig. 1 is merely illustrative and that live playback video processing system 100 may also include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
Fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure; the electronic device may be a processing device with a display function and an operation function, such as a computer, a mobile internet device, a tablet, a mobile phone terminal, a computer, a server, and the like, and is configured to deploy and operate the terminal 101 and the server 102 in fig. 1, so as to implement the live playback video processing method of the present application.
As shown in fig. 2, the server 102 includes a memory 201, a processor 202, and a communication unit 203. The memory 201, the processor 202 and the communication unit 203 are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines.
The memory 201 stores software functional modules stored in the memory 201 in the form of software or firmware (firmware), and the processor 202 executes various functional applications and data processing by running the software programs and modules stored in the memory 201, that is, implements the live playback video processing method in the embodiment of the present invention.
The Memory 201 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), and the like. The memory 201 is used for storing a program, and the processor 202 executes the program after receiving an execution instruction.
The processor 202 may be an integrated circuit chip having signal processing capabilities. The Processor 202 may be a general-purpose Processor including a Central Processing Unit (CPU), a Network Processor (NP), and the like.
The communication unit 203 is configured to establish a communication connection between the terminal 101 and the server 102 through the network 103, so as to implement transceiving operations of network signals and data information.
The following describes, by using a plurality of specific embodiments, an implementation principle of the live playback video processing method applied to the server side step and beneficial effects produced by the live playback video processing method correspondingly.
Fig. 3 is a schematic flowchart of a live playback video processing method according to an embodiment of the present application; optionally, the execution subject of the method may be the server shown in fig. 1, as shown in fig. 3, the method includes:
s301, responding to a broadcasting request sent by a target terminal, creating a target live broadcast room and generating a virtual account.
In this embodiment, for example, when the anchor user creates a target live broadcast room through a certain type of session application software client pre-installed on the target terminal, an opening request may be sent to the server through the target terminal, where the opening request may include: the method comprises the steps that a live broadcast room name, a live broadcast room cover picture, broadcast time, a horizontal screen and a vertical screen are arranged, then a server creates a target live broadcast room and a live broadcast identification based on the broadcast request, a virtual account needs to be generated simultaneously, then the server returns the created live broadcast identification to a target terminal, so that the target terminal displays the live broadcast identification on a lesson application software client side, a main broadcast user can enter a live broadcast environment through the identification, and a watching user enters the live broadcast room of the main broadcast according to the identification to watch live broadcast video.
Illustratively, the anchor user may be a teacher (or moderator) and the watching user may be a student (or audience).
For example, a teacher can enter a created classroom live broadcast room through a target terminal of a teacher side to live broadcast teaching, students can enter the classroom live broadcast room through terminals of student sides to watch live broadcast videos, and live broadcast connection between the target terminal of the teacher side and the terminal of at least one student side is established through a server side, so that the terminals of the student sides can realize real-time synchronous watching of the live broadcast videos, and information interaction is carried out with the target terminal of the teacher side, online real-time live broadcast teaching is realized, and the teaching quality is improved.
And S302, entering a target live broadcast room by using the virtual account.
In this embodiment, the server enters the target live broadcast room by using the generated virtual account, and watches live broadcast video of the target live broadcast room from the viewing angle of the student.
And S303, acquiring the live broadcast video of the target live broadcast room from each terminal entering the target live broadcast room.
Illustratively, each terminal entering the target live broadcast room refers to a target terminal at a teacher side entering a live broadcast room in a classroom and a terminal at least at a student side.
Wherein the live video of the target live broadcast room may comprise at least one of: the method comprises the steps of live broadcasting audio and video stream of a target live broadcasting room, whiteboard information and interactive information of a target terminal and at least one student side terminal. For example, live audio and video stream may refer to an audio stream of a teacher lecture in live classroom video; the whiteboard information refers to character information recorded in the whiteboard by the teacher during the course of lecture.
The interactive information of the target terminal and the terminal of at least one student side means that in an interactive link of teaching, a teacher can initiate an interactive request to students, the students can also initiate the interactive request to the teacher, and if the teacher needs to interact with the students, an interactive instruction is triggered and output to the server side, so that the server side establishes interactive connection between the target terminal and the terminal of at least one student side according to the received interactive instruction, and audio information, audio and video information or text information of interaction between the two parties to be displayed is obtained.
Therefore, the server can acquire the live broadcast video of the target live broadcast room from each terminal entering the target live broadcast room, so that the live broadcast video can be acquired and recorded in real time from the visual angle of the student side in the follow-up process, and the high synchronization and consistency of each information stream including the live broadcast audio and video stream of the target live broadcast room, the whiteboard information, the interaction information of the target terminal and the terminal of at least one student side and the like in the live broadcast video are ensured to be completely consistent with the class time.
S304, off-screen rendering is carried out on the live video to obtain a rendered live playback video.
The off-screen rendering refers to rendering the obtained live video by a Graphics Processing Unit (GPU) outside the screen of each terminal, that is, the rendering result is not directly displayed on the screen of each terminal, but the rendered live video is cached in a frame cache region of the server first, and no additional rendering space is needed. The data are really drawn out, including position and content, and finally stored into a video file.
Therefore, on the basis of the above embodiment, the off-screen rendering technology may be used to render various data in the acquired live video in real time, where the various data in the live video include: the method comprises the steps that the position, the content and the like of a target object in each frame of image in a live video are ensured, the high synchronization and the consistency of each information stream in the live playback video obtained after rendering are ensured, then the live playback video is cached in a frame buffer area of a server, so that when a teacher (or students) needs to play back the live playback video, the server reads the live playback video in the frame buffer area line by line according to a vertical pulse signal, and then the live playback video is directly transmitted to a display in a corresponding terminal to be played back and displayed.
To sum up, an embodiment of the present application provides a live playback video processing method, including: responding to a broadcasting request sent by a target terminal, creating a target live broadcast room and generating a virtual account; entering a target live broadcast room by using the virtual account; acquiring live broadcast video of a target live broadcast room from each terminal entering the target live broadcast room; and performing off-screen rendering on the live video to obtain a rendered live playback video. In the scheme, the server uses the generated virtual account number to enter a target live broadcast room created on the target terminal, then the server acquires live broadcast video of the target live broadcast room from each terminal entering the target live broadcast room, so that the live broadcast video can be acquired in real time and rendered off the screen, and live broadcast audio and video streams of the target live broadcast room are ensured to be contained in the live broadcast video, white board information, high synchronization and consistency of each information stream such as interactive information of the target terminal and the terminal of at least one student side, the problem of poor synchronization effect of each information is effectively solved, the efficiency of playback of live broadcast teaching video is improved, and the watching experience of a user is improved.
How to use the virtual account to enter the target live broadcast room will be specifically explained by the following embodiment.
Optionally, the virtual account is used to connect to a service server in the server, and a login interface provided by the service server is called to enter the target live broadcast room.
The server includes a plurality of servers, such as a service server, a chat server, a video server, and the like.
In the embodiment, the server logs in a service server of the live broadcast application program by using the virtual account and the password, and calls a login interface provided by the service server to enter a target live broadcast room.
In another implementation manner, at least one virtual account can be generated in the server in advance, so that the server can enter a target live broadcast room by using any one virtual account generated in advance, and the response efficiency of an opening request sent by a target terminal is improved.
Optionally, in an embodiment provided by the application, the virtual account is an account with an auditing permission, and enjoys an equal permission of a terminal on the student side, so that after the server enters the target live broadcast room by using the virtual account, only the permission of a live broadcast video of the target live broadcast room can be acquired, and interactive operation with the target terminal cannot be performed, so as to ensure that live broadcast videos acquired from terminals entering the target live broadcast room include live broadcast audio and video streams of the target live broadcast room, whiteboard information, interactive information of the target terminal and terminals on at least one student side, and the like, and are completely consistent with the class hour.
How to obtain live video of a target live broadcast room from each terminal entering the target live broadcast room will be specifically explained by the following embodiments.
Fig. 4 is a schematic flowchart of another live playback video processing method according to an embodiment of the present application; as shown in fig. 4, the above step S303: the method for acquiring the live broadcast video of the target live broadcast room from each terminal entering the target live broadcast room comprises the following steps:
s401, receiving address information of the live video sent by at least one cache server.
In this embodiment, a live video is sent to a cache server by at least one terminal entering a target live room, the at least one cache server may be a service server, a chat server, a video server, or the like, and at least one server module is a processing module in a server.
Generally, when a target terminal at a teacher side enters a created live broadcast room for live broadcast teaching, live broadcast video stream data in the live broadcast process is sent to a service server in a server side, the service server obtains address information of the live broadcast video stream data according to a cache region of the received live broadcast video stream data, and sends the address information of the live broadcast video stream data to a student side terminal entering the live broadcast room for watching the live broadcast video, so that the student side terminal can obtain the whole live broadcast video stream data in the live broadcast process according to the address information of the live broadcast video stream.
For another example, if an interactive operation is sent between a "teacher-side target terminal" and at least one student-side terminal ", for example, a certain" student-side terminal "needs to interact with a" teacher-side target terminal "in a classroom, the interactive information of the" student-side terminal "can be sent to the chat server, the chat server obtains the address information of the interactive information according to the cache region of the interactive information and sends the address information of the interactive information to the" teacher-side target terminal ", the" teacher-side target terminal "obtains the interactive information sent by the" student-side terminal "according to the received address information of the interactive information and solves the interactive information to obtain solution information, and then sends the solution information to the chat server, the chat server obtains the address information of the solution information according to the cache region of the solution information, and the address information of the answer information is sent to the student side terminal, so that the communication efficiency of live broadcast interaction in the classroom is improved.
Therefore, the service server can send the address information of the live video stream to the processor in the server, and the chat server can also send the address information of the interactive information and the address information of the answer information to the processor in the server.
S402, acquiring the live broadcast video of the target live broadcast room according to the address information of the live broadcast video.
On the basis of the embodiment, the server can respectively obtain live videos of the live classroom rooms from the business server and the chat server in real time according to the address information of the received live videos, the address information of the interactive information, the address information of the answer information and the like, and the aim of obtaining the live videos of the target live rooms from all terminals entering the target live rooms is fulfilled.
Specifically explaining how to store the live playback video into the playback list after off-screen rendering is performed on the live playback video to obtain a rendered live playback video by the following embodiment.
Fig. 5 is a schematic flowchart of another live playback video processing method according to an embodiment of the present application; as shown in fig. 5, the step S304: the off-screen rendering is carried out on the live video, and after the rendered live playback video is obtained, the method further comprises the following steps:
s501, generating page number information of the live playback video in the playback list according to the live time of the live playback video.
Generally, most live playback videos are stored in a file segment form, for example, a live playback video file may be recorded in a live lesson, or a live playback video file may be recorded in a small lesson.
In this embodiment, the page number information of the live playback video in the playback list is generated according to the live time of the live playback video, so that the live playback video can be quickly located in a time-based manner.
For example, if the live time of the live playback video a is 2021 year, 3 month, and 20 days, it can be obtained that the page number information of the live playback video a in the playback list is page 10, from the live time of the live playback video a.
S502, storing the live playback video into the page number indicated by the page number information in the playback list.
Based on the description of the above embodiment, the live playback video a can be stored in the 10 th page of the playback list, so that the live playback video a to be queried can be quickly located according to the page code information of the live playback video a in the playback list in the following process.
In addition, the live playback video can be saved according to the title type of the live playback video.
Fig. 6 is a schematic flowchart of another live playback video processing method according to an embodiment of the present application; as shown in fig. 6, the above step S304: the off-screen rendering is carried out on the live video, and after the rendered live playback video is obtained, the method further comprises the following steps:
s601, storing the live playback video into a playback list corresponding to the title type of the live playback video according to the title type of the live playback video.
In this embodiment, the live playback video may also be stored in the playback list corresponding to the title type of the live playback video according to the title type of the live playback video, so that a user may quickly locate the live playback video to be played back based on the title type of each live playback video.
For example, if the title type of the live playback video a is "basic function concept", the live playback video a may be stored in a playback list of the "basic function concept", so that the obtained multiple live playback videos are categorized and stored based on the title type of the live playback video a, so as to improve the positioning playback efficiency of the live playback video.
S602, generating page number information of the live broadcast playback video according to the sequence of the live broadcast playback video in the playback list of the title type.
S603, saving the live playback video to the page number indicated by the page number information in the playback list.
Therefore, after the playback list L in which the "live playback video a" is to be stored is obtained, and according to the current sequence of the "live playback video a" in the playback list L, further, page number information of the "live playback video a" is generated, for example, if the current sequence of the "live playback video a" in the playback list L is 10, the "live playback video a" may be stored in the 10 th page of the playback list L, and the "live playback video a" is stored, so that a user may quickly locate the live playback video to be played back based on the title type of each live playback video.
How to perform playback operations on the live playback video will be specifically explained by the following embodiments.
Fig. 7 is a schematic flowchart of another live playback video processing method according to an embodiment of the present application; as shown in fig. 7, the above step S304: the off-screen rendering is carried out on the live video, and after the rendered live playback video is obtained, the method further comprises the following steps:
s701, receiving a playback request sent by a playback terminal.
Wherein the playback request includes: and page number information of the target live playback video in the playback list.
In this embodiment, the "playback terminal" may refer to a target terminal on a teacher side, or a terminal on at least one student side, or may refer to any terminal that does not enter a target live broadcast room to watch live video.
Illustratively, if the user wants to play back and watch "live playback video a", a playback operation may be performed on an operation control displayed by the playback terminal, so that the playback terminal responds to the clicked playback operation of the user and sends a playback request to the server, where the playback request includes: the "live playback video a" is the page number information in the playback list.
S702, according to the playback request, searching the playback list for the live playback video of the page number indicated by the page number information.
Optionally, the server may quickly retrieve, from the playback list, the live playback video of the page number indicated by the page number information according to the received playback request.
And S703, returning the live playback video to the playback terminal so that the playback terminal plays the live playback video.
Based on the embodiment, after the live playback video A is retrieved, the live playback video A can be returned to the playback terminal, so that the playback terminal plays the live playback video A, and the requirement of a user on playing back the live playback video A is met.
The overall steps and procedures of the live playback video processing method provided in the present application will be specifically explained by the following embodiments.
Fig. 8 is an overall flowchart of a live playback video processing method according to an embodiment of the present application; as shown in fig. 8, the method includes:
s801, responding to a broadcast request sent by a target terminal, creating a target live broadcast room and generating a virtual account.
S802, connecting to a service server in the server by using the virtual account, calling a login interface provided by the service server, and entering a target live broadcast room.
S803, receiving address information of the live video sent by at least one cache server; and acquiring the live broadcast video of the target live broadcast room according to the address information of the live broadcast video.
S804, off-screen rendering is carried out on the live video to obtain a rendered live playback video.
S805, generating page number information of the live playback video in a playback list according to the live time of the live playback video; and saving the live playback video to the page number indicated by the page number information in the playback list.
Optionally, storing the live playback video into a playback list corresponding to the title type of the live playback video according to the title type of the live playback video;
generating page number information of the live playback video according to a sequence of the live playback video in a playback list of the title type;
and saving the live playback video to the page number indicated by the page number information in the playback list.
S806, receiving a playback request sent by the playback terminal.
S807, according to the playback request, the live playback video of the page number indicated by the page number information is searched from the playback list.
And S808, returning the live playback video to the playback terminal so that the playback terminal plays the live playback video.
Optionally, the overall implementation steps and the generated beneficial effects of the live playback video processing method provided in the embodiment of the present application have been described in detail in the foregoing specific embodiments, and are not described in detail here.
The following describes a live playback video processing apparatus and a storage medium for executing live playback video processing provided by the present application, and specific implementation procedures and technical effects thereof are referred to above, and will not be described again below.
Fig. 9 is a schematic structural diagram of a live playback video processing apparatus according to an embodiment of the present application; as shown in fig. 9, an embodiment of the present application further provides a live playback video processing apparatus, which is applied to a server, and the apparatus includes: a response module 901, an entry module 902, an acquisition module 903, and a rendering module 904.
A response module 901, configured to respond to a broadcast request sent by a target terminal, create a target live broadcast room, and generate a virtual account;
an entering module 902, configured to enter a target live broadcast room using a virtual account;
an obtaining module 903, configured to obtain a live video of a target live broadcast room from each terminal entering the target live broadcast room;
and the rendering module 904 is configured to perform off-screen rendering on the live video to obtain a rendered live playback video.
Optionally, the module 902 is further configured to:
and connecting the virtual account to a service server in the server, calling a login interface provided by the service server, and entering a target live broadcast room.
Optionally, the obtaining module 903 is further configured to:
receiving address information of live video sent by at least one server module;
and acquiring the live broadcast video of the target live broadcast room according to the address information of the live broadcast video.
Optionally, the virtual account is an account with auditing authority.
Optionally, the apparatus further comprises:
the generating module is used for generating page number information of the live playback video in the playback list according to the live time of the live playback video;
and the storage module is used for storing the live playback video into the page number indicated by the page number information in the playback list.
Optionally, the storage module is further configured to store the live playback video into a playback list corresponding to the title type of the live playback video according to the title type of the live playback video;
the generation module is also used for generating page number information of the live broadcast playback video according to the sequence of the live broadcast playback video in the playback list of the title type;
and the storage module is also used for storing the live playback video into the page number indicated by the page number information in the playback list.
Optionally, the apparatus further comprises:
the receiving module is used for receiving a playback request sent by a playback terminal; wherein the playback request includes: page number information of the target live broadcast playback video in the playback list;
the search module is used for searching the live playback video of the page number indicated by the page number information from the playback list according to the playback request;
and the return module is used for returning the live playback video to the playback terminal so as to enable the playback terminal to play the live playback video.
The apparatus is used for executing the method provided by the foregoing embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
These above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Optionally, the invention also provides a program product, for example a computer-readable storage medium, comprising a program which, when being executed by a processor, is adapted to carry out the above-mentioned method embodiments.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.

Claims (10)

1. A live playback video processing method is applied to a server and comprises the following steps:
responding to a broadcasting request sent by a target terminal, creating a target live broadcast room and generating a virtual account;
entering the target live broadcast room by using the virtual account;
acquiring live broadcast videos of the target live broadcast room from all terminals entering the target live broadcast room;
and performing off-screen rendering on the live video to obtain a rendered live playback video.
2. The method of claim 1, wherein the accessing the target live broadcast room by using the virtual account comprises:
and connecting the virtual account to a service server in the server, and calling a login interface provided by the service server to enter the target live broadcast room.
3. The method of claim 1, wherein the obtaining the live video of the target live broadcast room from the terminals entering the target live broadcast room comprises:
receiving address information of the live video sent by at least one cache server, wherein the live video is sent to the cache server by at least one terminal entering the target live broadcast room;
and acquiring the live broadcast video of the target live broadcast room according to the address information of the live broadcast video.
4. The method of claim 1, wherein the virtual account is an account with auditing rights.
5. The method according to any one of claims 1-4, wherein after performing off-screen rendering on the live video to obtain a rendered live playback video, further comprising:
generating page number information of the live playback video in a playback list according to the live time of the live playback video;
and saving the live playback video to the page number indicated by the page number information in the playback list.
6. The method according to any one of claims 1-4, wherein after performing off-screen rendering on the live video to obtain a rendered live playback video, further comprising:
storing the live playback video into a playback list corresponding to the title type of the live playback video according to the title type of the live playback video;
generating page number information of the live playback video according to a sequence of the live playback video in the playback list of the title type;
and saving the live playback video to the page number indicated by the page number information in the playback list.
7. The method according to claim 6, wherein after saving the live playback video to the page indicated by the page information in the playback list, further comprising:
receiving a playback request sent by a playback terminal; wherein the playback request comprises: page number information of the target live broadcast playback video in the playback list;
searching the playback list for the live playback video of the page number indicated by the page number information according to the playback request;
and returning the live playback video to the playback terminal so that the playback terminal plays the live playback video.
8. A live playback video processing apparatus, applied to a server, the apparatus comprising:
the response module is used for responding to a broadcasting request sent by the target terminal, creating a target live broadcast room and generating a virtual account;
the entry module is used for entering the target live broadcast room by using the virtual account;
the acquisition module is used for acquiring the live broadcast video of the target live broadcast room from each terminal entering the target live broadcast room;
and the rendering module is used for performing off-screen rendering on the live video to obtain a rendered live playback video.
9. An electronic device, comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the electronic device is operating, the processor executing the machine-readable instructions to perform the steps of the method according to any one of claims 1 to 7.
10. A storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202110658978.7A 2021-06-15 2021-06-15 Live playback video processing method, device, equipment and storage medium Pending CN113395534A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110658978.7A CN113395534A (en) 2021-06-15 2021-06-15 Live playback video processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110658978.7A CN113395534A (en) 2021-06-15 2021-06-15 Live playback video processing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113395534A true CN113395534A (en) 2021-09-14

Family

ID=77621002

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110658978.7A Pending CN113395534A (en) 2021-06-15 2021-06-15 Live playback video processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113395534A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113873288A (en) * 2021-12-02 2021-12-31 北京微吼时代科技有限公司 Method and device for generating playback in live broadcast process
CN114025185A (en) * 2021-10-28 2022-02-08 杭州网易智企科技有限公司 Video playback method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080143878A1 (en) * 2006-12-18 2008-06-19 Minoru Kaneko Broadcast Receiving Apparatus
CN103310001A (en) * 2013-06-26 2013-09-18 北京小米科技有限责任公司 Method and device for setting video list
CN109151594A (en) * 2018-09-27 2019-01-04 广州虎牙信息科技有限公司 Direct playing and playback video broadcasting method, device and electronic equipment
CN110891193A (en) * 2018-09-11 2020-03-17 广州虎牙信息科技有限公司 Live video processing method and device, terminal and storage medium
CN111050101A (en) * 2019-11-20 2020-04-21 杭州米络星科技(集团)有限公司 Courseware media mixed recording method based on CEF off-screen rendering technology
CN112351295A (en) * 2020-10-27 2021-02-09 杭州米络星科技(集团)有限公司 Live broadcast playback synchronization method for online education
CN112804554A (en) * 2021-04-06 2021-05-14 北京百家视联科技有限公司 Live broadcast playback method, live broadcast playback system, electronic equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080143878A1 (en) * 2006-12-18 2008-06-19 Minoru Kaneko Broadcast Receiving Apparatus
CN103310001A (en) * 2013-06-26 2013-09-18 北京小米科技有限责任公司 Method and device for setting video list
CN110891193A (en) * 2018-09-11 2020-03-17 广州虎牙信息科技有限公司 Live video processing method and device, terminal and storage medium
CN109151594A (en) * 2018-09-27 2019-01-04 广州虎牙信息科技有限公司 Direct playing and playback video broadcasting method, device and electronic equipment
CN111050101A (en) * 2019-11-20 2020-04-21 杭州米络星科技(集团)有限公司 Courseware media mixed recording method based on CEF off-screen rendering technology
CN112351295A (en) * 2020-10-27 2021-02-09 杭州米络星科技(集团)有限公司 Live broadcast playback synchronization method for online education
CN112804554A (en) * 2021-04-06 2021-05-14 北京百家视联科技有限公司 Live broadcast playback method, live broadcast playback system, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114025185A (en) * 2021-10-28 2022-02-08 杭州网易智企科技有限公司 Video playback method and device, electronic equipment and storage medium
CN113873288A (en) * 2021-12-02 2021-12-31 北京微吼时代科技有限公司 Method and device for generating playback in live broadcast process

Similar Documents

Publication Publication Date Title
CN110570698B (en) Online teaching control method and device, storage medium and terminal
CN104540026A (en) Lesson content video recoding and replaying method and system
JP2004336364A (en) Live program method of sng network active studio and its system
WO2021204139A1 (en) Video displaying method, device, equipment, and storage medium
CN113395534A (en) Live playback video processing method, device, equipment and storage medium
CN112672219B (en) Comment information interaction method and device and electronic equipment
CN114267213A (en) Real-time demonstration method, device, equipment and storage medium for practical training
CN113391745A (en) Method, device, equipment and storage medium for processing key contents of network courses
CN102663907A (en) Video teaching system and video teaching method
JP2005524867A (en) System and method for providing low bit rate distributed slide show presentation
CN107995538B (en) Video annotation method and system
Lo et al. From off-site to on-site: A Flexible Framework for XR Prototyping in Sports Spectating
JP7465736B2 (en) Content control system, content control method, and content control program
CN114846808B (en) Content distribution system, content distribution method, and storage medium
US20220150290A1 (en) Adaptive collaborative real-time remote remediation
US20230162612A1 (en) Method of making lectures more interactive with realtime and saved questions and answers
CN111766998B (en) Data interaction method and device, electronic equipment and computer readable storage medium
CN114025147A (en) Data transmission method and system for VR teaching, electronic equipment and storage medium
Pandusadewa et al. Development of conversation application as english learning using WebRTC
US20220343783A1 (en) Content control system, content control method, and content control program
CN112261431B (en) Image processing method and device and electronic equipment
CN114038255B (en) Answering system and method
Kasparinsky The Organization of the Use of Audiovisual Recordings of Synchronous Lessons in the Process of Distance Learning.
CN111726692B (en) Interactive playing method of audio-video data
TW202236845A (en) Video display method, device, equipment, and storage medium to see the video images of the host and the audience at the same time and perceive each other's behavior for facilitating more forms of interaction

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210914

RJ01 Rejection of invention patent application after publication