CN113453031A - Live broadcast method and device, computer equipment and storage medium - Google Patents

Live broadcast method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN113453031A
CN113453031A CN202110656855.XA CN202110656855A CN113453031A CN 113453031 A CN113453031 A CN 113453031A CN 202110656855 A CN202110656855 A CN 202110656855A CN 113453031 A CN113453031 A CN 113453031A
Authority
CN
China
Prior art keywords
live broadcast
live
picture
file
real
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
CN202110656855.XA
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.)
Shenzhen Shifang Ronghai Technology Co Ltd
Original Assignee
Shenzhen Shifang Ronghai Technology 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 Shenzhen Shifang Ronghai Technology Co Ltd filed Critical Shenzhen Shifang Ronghai Technology Co Ltd
Priority to CN202110656855.XA priority Critical patent/CN113453031A/en
Publication of CN113453031A publication Critical patent/CN113453031A/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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors
    • H04N21/2355Processing of additional data, e.g. scrambling of additional data or processing content descriptors involving reformatting operations of additional data, e.g. HTML pages
    • 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/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention discloses a live broadcast method, wherein after a client sends a live broadcast request to a server, a live broadcast connection is established to generate a real-time live broadcast picture; receiving a file to be live broadcast sent by the server, wherein the file to be live broadcast comprises a plurality of pictures; if a selection operation instruction for the file to be live broadcast is detected, acquiring a selected target picture from the file to be live broadcast; will real-time live frame with the target picture demonstrates according to predetermined arrangement in step, has realized live frame and supplementary information's double screen live, makes live content and form abundanter, and then realizes that live information is more comprehensive and accurate propagates for watch live user obtain comprehensive live information fast, promoted the live effect greatly. In addition, a live broadcast device, a computer device and a storage medium are also provided.

Description

Live broadcast method and device, computer equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a live broadcast method and apparatus, a computer device, and a storage medium.
Background
With the development of network live broadcast technology, live broadcast modes are more and more, and for live broadcast of teaching in education and other more professional fields, lecturers or anchor broadcasters need to display PPT (Power Point, presentation) in real time in the live broadcast process, such as courseware and other supplementary information, so as to ensure the teaching effect. In the prior art, video live broadcast is performed by recording camera equipment content and computer screen content, however, the live broadcast mode of acquiring supplementary information by recording is difficult to achieve the effect of displaying PPT and live broadcast simultaneously; even if the supplementary information is shot, the resolution of the video data including the playing process of the supplementary information displayed by the student end is low due to the limitation of the resolution of the computer screen, so that online teaching and knowledge transmission through video live broadcasting cannot be carried out comprehensively and professionally, and the live broadcasting teaching effect is reduced.
Disclosure of Invention
Based on this, it is necessary to provide a live broadcast method, device, computer device, and storage medium capable of displaying the PPT and the live broadcast interface in real time and improving the live broadcast effect, in order to solve the above problems.
A live broadcast method is applied to a client side and comprises the following steps:
after sending a live broadcast request to a server, establishing live broadcast connection to generate a real-time live broadcast picture;
receiving a file to be live broadcast sent by the server, wherein the file to be live broadcast comprises a plurality of pictures;
if a selection operation instruction for the file to be live broadcast is detected, acquiring a selected target picture from the file to be live broadcast;
and synchronously displaying the real-time live broadcast picture and the target picture according to a preset arrangement mode.
A live broadcast device applied to a client, the live broadcast device comprising:
the generating module is used for establishing live broadcast connection after sending a live broadcast request to the server side and generating a real-time live broadcast picture;
the receiving module is used for receiving a file to be live broadcast sent by the server, wherein the file to be live broadcast comprises a plurality of pictures;
the selection module is used for acquiring a selected target picture from the file to be live broadcast if a selection operation instruction of the file to be live broadcast is detected;
and the display module is used for synchronously displaying the real-time live broadcast picture and the target picture according to a preset arrangement mode.
A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of:
after sending a live broadcast request to a server, establishing live broadcast connection to generate a real-time live broadcast picture;
receiving a file to be live broadcast sent by the server, wherein the file to be live broadcast comprises a plurality of pictures;
if a selection operation instruction for the file to be live broadcast is detected, acquiring a selected target picture from the file to be live broadcast;
and synchronously displaying the real-time live broadcast picture and the target picture according to a preset arrangement mode.
A computer-readable medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of:
after sending a live broadcast request to a server, establishing live broadcast connection to generate a real-time live broadcast picture;
receiving a file to be live broadcast sent by the server, wherein the file to be live broadcast comprises a plurality of pictures;
if a selection operation instruction for the file to be live broadcast is detected, acquiring a selected target picture from the file to be live broadcast;
and synchronously displaying the real-time live broadcast picture and the target picture according to a preset arrangement mode.
According to the live broadcast method, the live broadcast device, the computer equipment and the storage medium, after the client sends the live broadcast request to the server, the live broadcast connection is established, and a real-time live broadcast picture is generated; receiving a file to be live broadcast sent by the server, wherein the file to be live broadcast comprises a plurality of pictures; if a selection operation instruction for the file to be live broadcast is detected, acquiring a selected target picture from the file to be live broadcast; the live broadcast pictures and the target pictures are synchronously displayed according to a preset arrangement mode, the synchronization of the live broadcast process and the PPT content is realized, the live broadcast content and the form are richer, the live broadcast information is more comprehensively and accurately transmitted, and the live broadcast effect is greatly improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Wherein:
FIG. 1 is a flow diagram of a live method in one embodiment;
FIG. 2 is a flow diagram of a live method in another embodiment;
FIG. 3 is a flow diagram of a live method in yet another embodiment;
FIG. 4 is a flow diagram of a live method in yet another embodiment;
FIG. 5 is a block diagram of a live device in one embodiment;
fig. 6 is a block diagram showing the construction of a live device in another embodiment;
FIG. 7 is a block diagram of a computer device in one embodiment.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, in one embodiment, a live method is provided, which is applied to a client. The live broadcast method specifically comprises the following steps:
and 102, after sending a live broadcast request to the server, establishing live broadcast connection and generating a real-time live broadcast picture.
The real-time live broadcast picture refers to a video picture when the client performs live broadcast. Specifically, after sending a live broadcast request to the server, the client enters a live broadcast application to generate a live broadcast video picture. The client is a live broadcast end for live broadcast, and the client can be a webpage end for live broadcast on a webpage or a live broadcast end for live broadcast on an application program end (such as an APP end).
And 104, receiving a file to be live broadcast sent by the server, wherein the file to be live broadcast comprises a plurality of pictures.
The file to be live broadcast is a PPT file which needs to be displayed in real time in the live broadcast process and is used for supplementing a real-time live broadcast picture. Specifically, a user uploads a file to be live broadcast in advance on a server, the server transcodes the file to be live broadcast, the PPT file is converted into pictures, and each PPT corresponds to one picture. In the embodiment, the PPT file is converted into the corresponding picture, so that multi-terminal compatibility is better supported, the compatibility of the file to be live-broadcasted at different clients is improved, and the live broadcasting effect is further ensured.
And 106, if a selection operation instruction of the file to be live broadcast is detected, acquiring a selected target picture from the file to be live broadcast.
The selection instruction refers to a command which is sent to the client side by the user and used for determining that the picture needs to be displayed from the file to be live broadcast. The target picture is a picture selected by the user and used for displaying in the live broadcasting process. For example, a picture of a file to be live broadcast may be displayed at a client, and the client may use the picture determined by a detected selection operation instruction of the file to be live broadcast, such as a page number positioning instruction or a page turning instruction, as a target picture.
And 108, synchronously displaying the real-time live broadcast picture and the target picture according to a preset arrangement mode.
Specifically, after the client acquires the target picture, the real-time live broadcast picture and the target picture are synchronously displayed according to a preset arrangement mode, wherein the preset arrangement mode can be that the target picture is located above and is vertically arranged or horizontally arranged with the real-time live broadcast picture, so that double-screen live broadcast of the live broadcast picture and the supplementary information is realized, a user watching the live broadcast can quickly acquire comprehensive live broadcast information, and the live broadcast effect is greatly improved.
It is worth to be noted that, in the embodiment, the live broadcast is a double-screen live broadcast of the real-time live broadcast picture and the supplementary information, so that the target picture display effect of the supplementary information is consistent with the display effect of the real-time live broadcast picture of the client, the live broadcast content and form are richer, the live broadcast information is more comprehensively and accurately transmitted, and the live broadcast effect is further improved.
According to the live broadcast method, after a client sends a live broadcast request to a server, live broadcast connection is established, and a real-time live broadcast picture is generated; receiving a file to be live broadcast sent by the server, wherein the file to be live broadcast comprises a plurality of pictures; if a selection operation instruction for the file to be live broadcast is detected, acquiring a selected target picture from the file to be live broadcast; will real-time live frame with the target picture demonstrates according to predetermined arrangement in step, has realized live frame and supplementary information's double screen live, makes live content and form abundanter, and then realizes that live information is more comprehensive and accurate propagates for watch live user obtain comprehensive live information fast, promoted the live effect greatly.
In one embodiment, the selection operation instruction is a page turning instruction or a page number positioning instruction; if a selection operation instruction of the file to be live broadcast is detected, acquiring a selected target picture from the file to be live broadcast, wherein the acquisition operation instruction comprises the following steps: if a page turning instruction of a file to be live broadcast is detected, utilizing a WebSocket to synchronize the page turning instruction and acquiring a target picture fed back by the page turning instruction; and if the page positioning instruction of the file to be live broadcast is detected, utilizing the WebSocket to synchronize the page positioning instruction, and acquiring a target picture fed back by the page positioning instruction.
The page turning instruction refers to a command for performing a page turning operation on the picture, such as turning up and turning down the page, triggered by a user. The page number positioning instruction refers to a command for selecting a picture triggered by a user. Specifically, when the client detects the page turning command, the page turning action corresponding to the page turning command is synchronized to the client through the WebSocket, so that the page turning action and the target picture are displayed at the client. And when the client detects the page positioning instruction, synchronizing the selected action corresponding to the page positioning instruction to the client through the WebSocket, so that the selected action and the target picture are displayed on the client. In this embodiment, the client acquires the target picture by feeding back the selection operation instruction, and synchronizes an action corresponding to the selection operation instruction to the client through the WebSocket, so that a user can view the operation on the file to be live broadcast and the target picture when the client is live broadcast in real time, and user experience is improved.
In one embodiment, establishing a live connection and generating a live view includes: calling a camera to establish live broadcast connection and generating a real-time live broadcast picture; or starting a preset live program to establish live connection and generating a real-time live picture.
In this embodiment, the client performs live broadcast in a manner of calling a camera to perform live video broadcast by recording, so as to generate a real-time live broadcast picture. And a preset live program can be started, if a live APP establishes live connection to generate a real-time live picture, and the live picture can be specifically selected according to actual requirements. It can be understood that, in this embodiment, live broadcast or cross-end live broadcast of a target picture and a live broadcast picture at the same end can be realized according to a mode of generating a live broadcast picture in real time.
As shown in fig. 2, in an embodiment, after synchronously presenting the live video and the target pictures according to a preset arrangement, the method further includes:
step 110, recording a time line of a target picture corresponding to a real-time live broadcast picture;
and 112, generating a playback video based on the target picture and the time line of the real-time live broadcast picture corresponding to the live broadcast picture.
Specifically, the client records the time for displaying the real-time live broadcast picture and the corresponding target picture at the same time to generate a live broadcast timeline, and meanwhile, the client generates the real-time live broadcast picture and the target picture and the timeline corresponding to the live broadcast picture into a playback video. Therefore, after the live broadcast is finished, the user can also experience the video effect of the live broadcast and PPT file double-screen display after entering the live broadcast, and the live broadcast effect is further improved.
As shown in fig. 3, in one embodiment, the method further comprises:
step 114, when receiving a live playback instruction, acquiring a playback video;
and step 116, playing back the playback video and displaying the target picture based on the time line of the target picture in the playback video.
In this embodiment, when receiving a live playback instruction, the client acquires a playback video according to the instruction; when the video is played back, the time lines of the target pictures are recorded, so that the client automatically displays the target pictures to the user according to the target pictures corresponding to the time lines, and the target pictures in the played back video are switched and displayed along with a real-time live broadcast picture. The method and the device ensure that the user obtains more comprehensive supplementary information by watching the playback video, and further improve the user experience.
In one embodiment, the predetermined arrangement is an up-down arrangement or a left-right arrangement.
In this embodiment, the top-bottom arrangement may be that the target picture is located above and the live view is located below, or that the target picture is located below and the live view is located above. The left and right arrangement can be that the target picture is located the left, the live broadcast picture is located the right, also can be that the target picture is located the right, the live broadcast picture is located the left, can set up according to actual demand. Understandably, the real-time live broadcast pictures and the corresponding target pictures are arranged vertically or horizontally, so that double-screen display of the real-time live broadcast pictures and the corresponding target pictures is realized, and the effect of watching live broadcast or playing back videos by a user is improved.
As shown in fig. 4, in an embodiment, a live broadcasting method is provided, which is applied to a server, and includes:
step 202, when receiving a live broadcast request, starting live broadcast and acquiring a real-time live broadcast picture.
Specifically, after receiving a live broadcast request, the server starts live broadcast, and then obtains a real-time live broadcast picture.
Step 204, acquiring PPTs to be live-broadcasted, transcoding the PPTs to be live-broadcasted, obtaining a picture corresponding to each PPT to be live-broadcasted, and generating a file to be live-broadcasted.
Specifically, the server stores PPTs to be live broadcast in advance, or fetches the PPTs to be live broadcast, transcodes the PPTs to be live broadcast, obtains a picture corresponding to each PPT to be live broadcast, and further obtains a file to be live broadcast.
And step 206, receiving an operation instruction of the file to be live-broadcasted, and determining a target picture from the file to be live-broadcasted.
Specifically, the server receives an operation instruction of the client for the file to be live broadcast, and then determines a target picture from the file to be live broadcast according to the operation instruction.
And step 208, carrying out synchronous live broadcast according to the target picture and the real-time live broadcast picture.
Specifically, live broadcast is carried out when the server side obtains a real-time live broadcast picture and a corresponding target picture, so that double-screen live broadcast of the real-time live broadcast picture and the corresponding target picture is realized, PPT and a live broadcast interface are displayed in real time, and the live broadcast effect is improved.
The live broadcast method is applied to a server, and when a live broadcast request is received, live broadcast is started to obtain a real-time live broadcast picture; the method comprises the steps of obtaining PPTs to be live broadcasted, transcoding the PPTs to be live broadcasted to obtain a picture corresponding to each PPT to be live broadcasted, and generating files to be live broadcasted; receiving an operation instruction of a file to be live-broadcasted, and determining a target picture from the file to be live-broadcasted; synchronous live broadcast is carried out according to the target picture and the real-time live broadcast picture, double-screen live broadcast of the real-time live broadcast picture and the corresponding target picture is achieved, PPT and a live broadcast interface are displayed in real time, and the live broadcast effect is improved.
As shown in fig. 5, in one embodiment, a live device is provided, which is applied to a client, and includes:
a generating module 502, configured to establish a live broadcast connection after sending a live broadcast request to a server, and generate a real-time live broadcast picture;
a receiving module 504, configured to receive a file to be live broadcast sent by the server, where the file to be live broadcast includes multiple pictures;
a selecting module 506, configured to, if a selection operation instruction for the file to be live broadcast is detected, obtain a selected target picture from the file to be live broadcast;
and the display module 508 is configured to synchronously display the real-time live broadcast picture and the target picture according to a preset arrangement manner.
In one embodiment, the selection module comprises:
the first selection unit is used for synchronizing the page turning instruction by using WebSocket and acquiring the target picture fed back by the page turning instruction if the page turning instruction for the file to be live broadcast is detected;
and the second selection unit is used for synchronizing the page positioning instruction by using WebSocket if the page positioning instruction of the file to be live-broadcasted is detected, and acquiring the target picture fed back by the page positioning instruction.
In one embodiment, the generating module comprises:
the first generation unit is used for calling a camera to establish live broadcast connection and generating the real-time live broadcast picture; or
And the second generation unit is used for starting a preset live program to establish live connection and generating the real-time live broadcast picture.
In one embodiment, the live device further comprises:
the recording module is used for recording a time line of a target picture corresponding to the real-time live broadcast picture;
and the video generation module is used for generating a playback video based on the real-time live picture, the target picture corresponding to the live picture and the time line.
In one embodiment, the live device further comprises:
the acquisition module is used for acquiring the playback video when receiving a live playback instruction;
and the playback module is used for playing back the playback video and displaying the target picture based on the timeline of the target picture in the playback video.
As shown in fig. 6, in an embodiment, a live broadcasting apparatus is provided, which is applied to a server, and includes:
a first obtaining module 602, configured to start live broadcasting and obtain a real-time live broadcasting picture when receiving a live broadcasting request;
a second obtaining module 604, configured to obtain PPTs to be live broadcast, transcode the PPTs to be live broadcast, obtain a picture corresponding to each PPT to be live broadcast, and generate a file to be live broadcast;
a determining module 606, configured to receive an operation instruction of the file to be live-broadcasted, and determine a target picture from the file to be live-broadcasted;
and a live broadcasting module 608, configured to perform synchronous live broadcasting according to the target picture and the real-time live broadcasting picture.
FIG. 7 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may specifically be a server including, but not limited to, a high performance computer and a cluster of high performance computers. As shown in fig. 7, the computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program that, when executed by the processor, causes the processor to implement a live method. The internal memory may also have stored therein a computer program that, when executed by the processor, causes the processor to perform a live method. Those skilled in the art will appreciate that the architecture shown in fig. 7 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the live broadcast method provided by the present application may be implemented in the form of a computer program, and the computer program may be run on a computer device as shown in fig. 7. The memory of the computer device can store various program templates which form the live broadcasting device. For example, the generating module 502, the receiving module 504, the selecting module 506, and the presenting module 508. Or the first obtaining module 602, the second obtaining module 604, the determining module 606, and the live broadcasting module 608.
A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing the following steps when executing the computer program: after sending a live broadcast request to a server, establishing live broadcast connection to generate a real-time live broadcast picture; receiving a file to be live broadcast sent by the server, wherein the file to be live broadcast comprises a plurality of pictures; if a selection operation instruction for the file to be live broadcast is detected, acquiring a selected target picture from the file to be live broadcast; and synchronously displaying the real-time live broadcast picture and the target picture according to a preset arrangement mode.
In one embodiment, the selection operation instruction is a page turning instruction or a page number positioning instruction; if a selection operation instruction for the file to be live-broadcasted is detected, the obtaining of the selected target picture from the file to be live-broadcasted includes: if the page turning instruction for the file to be live broadcast is detected, synchronizing the page turning instruction by using WebSocket, and acquiring the target picture fed back by the page turning instruction; if the page positioning instruction for the file to be live-broadcasted is detected, synchronizing the page positioning instruction by using WebSocket, and acquiring the target picture fed back by the page positioning instruction.
In one embodiment, the establishing a live connection and generating a live picture includes: calling a camera to establish live broadcast connection and generating the real-time live broadcast picture; or starting a preset live program to establish live connection and generating the real-time live broadcast picture.
In an embodiment, after the real-time live broadcast picture and the target picture are synchronously displayed according to a preset arrangement mode, the method further includes: recording a time line of a target picture corresponding to the real-time live broadcast picture; and generating a playback video based on the real-time live picture, the target picture corresponding to the live picture and the time line.
In one embodiment, further comprising: when a live broadcast playback instruction is received, acquiring the playback video; and playing back the playback video and displaying the target picture based on the time line of the target picture in the playback video.
In one embodiment, the preset arrangement mode is an up-down arrangement or a left-right arrangement.
In one embodiment, the method comprises: when receiving a live broadcast request, starting live broadcast to obtain a real-time live broadcast picture; the method comprises the steps of obtaining PPTs to be live broadcast, carrying out transcoding processing on the PPTs to be live broadcast to obtain a picture corresponding to each PPT to be live broadcast, and generating files to be live broadcast; receiving an operation instruction of the file to be live-broadcasted, and determining a target picture from the file to be live-broadcasted; and carrying out synchronous live broadcast according to the target picture and the real-time live broadcast picture.
A computer-readable storage medium storing a computer program, the computer program when executed by a processor implementing the steps of: after sending a live broadcast request to a server, establishing live broadcast connection to generate a real-time live broadcast picture; receiving a file to be live broadcast sent by the server, wherein the file to be live broadcast comprises a plurality of pictures; if a selection operation instruction for the file to be live broadcast is detected, acquiring a selected target picture from the file to be live broadcast; and synchronously displaying the real-time live broadcast picture and the target picture according to a preset arrangement mode.
In one embodiment, the selection operation instruction is a page turning instruction or a page number positioning instruction; if a selection operation instruction for the file to be live-broadcasted is detected, the obtaining of the selected target picture from the file to be live-broadcasted includes: if the page turning instruction for the file to be live broadcast is detected, synchronizing the page turning instruction by using WebSocket, and acquiring the target picture fed back by the page turning instruction; if the page positioning instruction for the file to be live-broadcasted is detected, synchronizing the page positioning instruction by using WebSocket, and acquiring the target picture fed back by the page positioning instruction.
In one embodiment, the establishing a live connection and generating a live picture includes: calling a camera to establish live broadcast connection and generating the real-time live broadcast picture; or starting a preset live program to establish live connection and generating the real-time live broadcast picture.
In an embodiment, after the real-time live broadcast picture and the target picture are synchronously displayed according to a preset arrangement mode, the method further includes: recording a time line of a target picture corresponding to the real-time live broadcast picture; and generating a playback video based on the real-time live picture, the target picture corresponding to the live picture and the time line.
In one embodiment, further comprising: when a live broadcast playback instruction is received, acquiring the playback video; and playing back the playback video and displaying the target picture based on the time line of the target picture in the playback video.
In one embodiment, the preset arrangement mode is an up-down arrangement or a left-right arrangement.
In one embodiment, the method comprises: when receiving a live broadcast request, starting live broadcast to obtain a real-time live broadcast picture; the method comprises the steps of obtaining PPTs to be live broadcast, carrying out transcoding processing on the PPTs to be live broadcast to obtain a picture corresponding to each PPT to be live broadcast, and generating files to be live broadcast; receiving an operation instruction of the file to be live-broadcasted, and determining a target picture from the file to be live-broadcasted; and carrying out synchronous live broadcast according to the target picture and the real-time live broadcast picture.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A live broadcast method is applied to a client side, and comprises the following steps:
after sending a live broadcast request to a server, establishing live broadcast connection to generate a real-time live broadcast picture;
receiving a file to be live broadcast sent by the server, wherein the file to be live broadcast comprises a plurality of pictures;
if a selection operation instruction for the file to be live broadcast is detected, acquiring a selected target picture from the file to be live broadcast;
and synchronously displaying the real-time live broadcast picture and the target picture according to a preset arrangement mode.
2. The live broadcasting method according to claim 1, wherein the selection operation instruction is a page turning instruction or a page number positioning instruction; if a selection operation instruction for the file to be live-broadcasted is detected, the obtaining of the selected target picture from the file to be live-broadcasted includes:
if the page turning instruction for the file to be live broadcast is detected, synchronizing the page turning instruction by using WebSocket, and acquiring the target picture fed back by the page turning instruction;
if the page positioning instruction for the file to be live-broadcasted is detected, synchronizing the page positioning instruction by using WebSocket, and acquiring the target picture fed back by the page positioning instruction.
3. The live broadcasting method according to claim 1, wherein the establishing of the live broadcasting connection and the generation of the real-time live broadcasting picture comprise:
calling a camera to establish live broadcast connection and generating the real-time live broadcast picture; or
And starting a preset live program to establish live connection and generating the real-time live picture.
4. The live broadcasting method according to claim 1, wherein after the real-time live broadcasting picture and the target picture are synchronously displayed according to a preset arrangement, the method further comprises:
recording a time line of a target picture corresponding to the real-time live broadcast picture;
and generating a playback video based on the real-time live picture, the target picture corresponding to the live picture and the time line.
5. The live broadcast method of claim 4, further comprising:
when a live broadcast playback instruction is received, acquiring the playback video;
and playing back the playback video and displaying the target picture based on the time line of the target picture in the playback video.
6. A live broadcast method according to claim 1, wherein the preset arrangement is an up-down arrangement or a left-right arrangement.
7. A live broadcast method is applied to a server side, and the method comprises the following steps:
when receiving a live broadcast request, starting live broadcast to obtain a real-time live broadcast picture;
the method comprises the steps of obtaining PPTs to be live broadcast, carrying out transcoding processing on the PPTs to be live broadcast to obtain a picture corresponding to each PPT to be live broadcast, and generating files to be live broadcast;
receiving an operation instruction of the file to be live-broadcasted, and determining a target picture from the file to be live-broadcasted;
and carrying out synchronous live broadcast according to the target picture and the real-time live broadcast picture.
8. A live broadcast device applied to a client, the live broadcast device comprising:
the generating module is used for establishing live broadcast connection after sending a live broadcast request to the server side and generating a real-time live broadcast picture;
the receiving module is used for receiving a file to be live broadcast sent by the server, wherein the file to be live broadcast comprises a plurality of pictures;
the selection module is used for acquiring a selected target picture from the file to be live broadcast if a selection operation instruction of the file to be live broadcast is detected;
and the display module is used for synchronously displaying the real-time live broadcast picture and the target picture according to a preset arrangement mode.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor when executing the computer program performs the steps of the live broadcast method as claimed in any one of claims 1 to 7 or wherein the processor when executing the computer program performs the steps of the live broadcast method as claimed in claim 8.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the live method as claimed in any one of claims 1 to 6, or which, when being executed by the processor, carries out the steps of the live method as claimed in claim 7.
CN202110656855.XA 2021-06-11 2021-06-11 Live broadcast method and device, computer equipment and storage medium Pending CN113453031A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110656855.XA CN113453031A (en) 2021-06-11 2021-06-11 Live broadcast method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110656855.XA CN113453031A (en) 2021-06-11 2021-06-11 Live broadcast method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113453031A true CN113453031A (en) 2021-09-28

Family

ID=77811442

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110656855.XA Pending CN113453031A (en) 2021-06-11 2021-06-11 Live broadcast method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113453031A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979550A (en) * 2022-05-21 2022-08-30 北京美迪康信息咨询有限公司 Interface configuration method and system for online conference, intelligent terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108377425A (en) * 2018-03-10 2018-08-07 南通旗云科技有限公司 A kind of document automatic positioning method playing direct playing and playback video
CN110297917A (en) * 2019-06-28 2019-10-01 腾讯科技(深圳)有限公司 Live broadcasting method, device, electronic equipment and storage medium
CN111163360A (en) * 2020-01-02 2020-05-15 腾讯科技(深圳)有限公司 Video processing method, video processing device, computer-readable storage medium and computer equipment
CN111866536A (en) * 2020-07-26 2020-10-30 马景奕 Meteorological mobile double-current live broadcast system
CN112637623A (en) * 2020-12-11 2021-04-09 创盛视联数码科技(北京)有限公司 Live broadcast processing method and device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108377425A (en) * 2018-03-10 2018-08-07 南通旗云科技有限公司 A kind of document automatic positioning method playing direct playing and playback video
CN110297917A (en) * 2019-06-28 2019-10-01 腾讯科技(深圳)有限公司 Live broadcasting method, device, electronic equipment and storage medium
CN111163360A (en) * 2020-01-02 2020-05-15 腾讯科技(深圳)有限公司 Video processing method, video processing device, computer-readable storage medium and computer equipment
CN111866536A (en) * 2020-07-26 2020-10-30 马景奕 Meteorological mobile double-current live broadcast system
CN112637623A (en) * 2020-12-11 2021-04-09 创盛视联数码科技(北京)有限公司 Live broadcast processing method and device and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979550A (en) * 2022-05-21 2022-08-30 北京美迪康信息咨询有限公司 Interface configuration method and system for online conference, intelligent terminal and storage medium

Similar Documents

Publication Publication Date Title
US11252444B2 (en) Video stream processing method, computer device, and storage medium
CN108401192B (en) Video stream processing method and device, computer equipment and storage medium
CN106454407B (en) Video live broadcasting method and device
KR20210021099A (en) Establishment and use of temporal mapping based on interpolation using low-rate fingerprinting to facilitate frame-accurate content modification
JP6385447B2 (en) Video providing method and video providing system
KR102469142B1 (en) Dynamic playback of transition frames while transitioning between media stream playbacks
CN108540819B (en) Live broadcast data processing method and device, computer equipment and storage medium
US11595731B2 (en) Implementation method and system of real-time subtitle in live broadcast and device
WO2019134293A1 (en) Live streaming method, device, server and medium
US11128894B2 (en) Method and mobile terminal for processing data
CN106998490B (en) A kind of multi-medium data synchronous method and device
US12058387B2 (en) Video processing method and apparatus, computer device, and storage medium
CN106231367B (en) Beautifying processing method and device
CN110913272A (en) Video playing method and device, computer readable storage medium and computer equipment
CN111050204A (en) Video clipping method and device, electronic equipment and storage medium
CN115004713A (en) Video distribution device, video distribution method, and video distribution program
CN113453031A (en) Live broadcast method and device, computer equipment and storage medium
US8774605B2 (en) Display processing apparatus, control method therefor, and display processing system
CN114222149A (en) Plug flow method, device, medium and computer equipment
CN105979333B (en) Data synchronous display method and device
CN107995538B (en) Video annotation method and system
CN114125341B (en) Video processing method, device, electronic equipment, storage medium and product
CN116204677A (en) Graph processing method and device
EP2629512A1 (en) Method and arrangement for generating and updating A composed video conversation
CN113453041A (en) Data processing method, device, equipment and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210928