CN114302155A - Live broadcast delay method and device - Google Patents

Live broadcast delay method and device Download PDF

Info

Publication number
CN114302155A
CN114302155A CN202111495443.9A CN202111495443A CN114302155A CN 114302155 A CN114302155 A CN 114302155A CN 202111495443 A CN202111495443 A CN 202111495443A CN 114302155 A CN114302155 A CN 114302155A
Authority
CN
China
Prior art keywords
live broadcast
delay
gasket
video
cloud server
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
CN202111495443.9A
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.)
Zhongguang Chuangsi Network Technology Co ltd
Original Assignee
Zhongguang Chuangsi Network 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 Zhongguang Chuangsi Network Technology Co ltd filed Critical Zhongguang Chuangsi Network Technology Co ltd
Priority to CN202111495443.9A priority Critical patent/CN114302155A/en
Publication of CN114302155A publication Critical patent/CN114302155A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a live broadcast delay method and a live broadcast delay device, wherein the method comprises the following steps: step 1: receiving a video signal and an audio signal of a scene; according to a preset time length, carrying out caching processing on the video signal and the audio signal; step 2: after receiving a live broadcast delay instruction, acquiring delay time required by the live broadcast delay instruction; and step 3: releasing the cached video signal and audio signal according to the play starting time to obtain a delayed live broadcast streaming media; and 4, step 4: and sending the delayed live broadcast streaming media to a cloud server, and distributing the live broadcast streaming to the client by the cloud server to realize delayed live broadcast. The gasket switching triggering module is arranged in the cloud server, and after receiving a triggering signal, the gasket switching triggering module starts gasket switching and sends gasket materials to the client. By the method of separating the delay mechanism from the gasket switching and triggering, the requirements on the performance of hardware equipment are greatly reduced, expensive equipment is not required to be additionally used, and the live broadcast delay and emergency switching cost is reduced.

Description

Live broadcast delay method and device
Technical Field
The embodiment of the invention relates to the field of live broadcast, in particular to a live broadcast delay method and a live broadcast delay device.
Background
With the rapid development of network live broadcast, more and more traditional radio and television programs start various forms of network live broadcast, so as to ensure public opinion guidance and broadcast safety of broadcast television propaganda, further strengthen the management of broadcast television live broadcast programs, and all live broadcast programs must be broadcast in a delayed manner according to related requirements. At present, the delayed broadcasting has the following methods:
(1) solid state delayer in pure hardware mode
Hardware-only approach (solid state delay): the live program starts to be recorded a plurality of times before the preset starting broadcasting time and is stored in the delayer (establishing time delay), the content prestored in the delayer is broadcasted (broadcasting time delay) when the preset starting broadcasting time is reached, and the broadcasting delayer continues to record the live program, so that a time difference is established between the program and the broadcasting, and the time difference is called as time delay. The program broadcasting personnel can perform operations such as cutting off the content which is not suitable for broadcasting within the delay time, thereby ensuring the safe and continuous broadcasting of the program.
(2) Frequency server delayed broadcasting system
The video server is a special computer device for compressing, storing and processing video and audio data, and is widely applied to aspects of advertisement insertion, multi-channel circulating cushion broadcasting, delayed broadcasting, hard disk broadcasting, video program on demand and the like.
Objective disadvantages of the prior art
(1) Solid state time delay unit
The solid-state delayer has poor delay quality, is easy to have the phenomena of picture jitter, synchronous unlocking, color synchronization unlocking and the like, and has generally high price and short delay time.
(2) Video server
The video server needs to perform encoding and decoding simultaneously, the requirement on the specification of hardware equipment is high, the storage efficiency of video files is low, the system performance is large, and the like.
Disclosure of Invention
Therefore, the embodiments of the present invention provide a live broadcast delay method and apparatus, so as to solve the problems in the prior art that a solid-state delayer has poor delay quality, is prone to frame jitter, synchronization unlocking, color synchronization unlocking and the like, and is generally expensive in price, short in delay time, and a video server needs to perform encoding and decoding operations at the same time, and has a high requirement on hardware equipment specification, low video file storage efficiency, and large system performance occupation.
In order to achieve the above object, an embodiment of the present invention provides the following:
in one aspect of an embodiment of the present invention, a live broadcast delay method is provided, including:
step 1: receiving a video signal and an audio signal of a scene; according to a preset time length, carrying out caching processing on the video signal and the audio signal;
step 2: after receiving a live broadcast delay instruction, acquiring delay time required by the live broadcast delay instruction;
and step 3: releasing the video signal and the audio signal which are cached according to the playing starting time to obtain a delayed live broadcasting streaming media;
and 4, step 4: and sending the delayed live broadcast streaming media to a cloud server, and distributing live broadcast streams to a client by the cloud server to realize delayed live broadcast.
Further, a gasket switching triggering module is arranged in the cloud server;
and after receiving the trigger signal, the gasket switching trigger module starts gasket switching and sends gasket materials to the client.
Further, the gasket material includes: video files, picture files, or audio-visual streams.
Further, step 1 specifically comprises:
after the video and audio signals are collected, carrying out recombination coding on the video and audio signals, wherein the recombination coding comprises ACC coding and/or H264 and H265 coding;
and according to a preset time length, performing time synchronization processing on the video and audio signals, and storing the processed video and audio signals to a local cache region to be sent.
In another aspect of the embodiments of the present invention, there is provided a live broadcast delay apparatus, including:
the video and audio acquisition module is used for acquiring a video signal and an audio signal on site;
the live broadcast delay module is used for caching the video signal and the audio signal according to a preset time length;
the broadcasting module is used for acquiring the delay time required by the live broadcast delay instruction after receiving the live broadcast delay instruction; the video signal and the audio signal which are cached are released according to the playing starting time, and the time-delay live broadcasting streaming media are obtained;
and the cloud server sends the delayed live broadcast streaming media to the cloud server, and the cloud server distributes the live broadcast streaming to the client to realize delayed live broadcast.
And the gasket switching triggering module is arranged in the cloud server, and when receiving a triggering signal, the gasket switching triggering module starts gasket switching and sends gasket materials to the client.
In another aspect of embodiments of the present invention, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed in a computer, causes the computer to perform the above-mentioned method.
In another aspect of embodiments of the present invention, there is provided a computing device comprising a memory having executable code stored therein and a processor that, when executing the executable code, implements the above method.
The embodiment of the invention has the following advantages:
the embodiment of the invention discloses a live broadcast delay method and a live broadcast delay device, which greatly reduce the requirements on the performance of hardware equipment by a method of separating a delay mechanism from gasket switching and triggering, do not need to additionally use expensive equipment and reduce the costs of live broadcast delay and emergency switching.
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 should be apparent that the drawings in the following description are merely exemplary, and that other embodiments can be derived from the drawings provided by those of ordinary skill in the art without inventive effort.
The structures, ratios, sizes, and the like shown in the present specification are only used for matching with the contents disclosed in the specification, so as to be understood and read by those skilled in the art, and are not used to limit the conditions that the present invention can be implemented, so that the present invention has no technical significance, and any structural modifications, changes in the ratio relationship, or adjustments of the sizes, without affecting the effects and the achievable by the present invention, should still fall within the range that the technical contents disclosed in the present invention can cover.
Fig. 1 is a schematic flow chart of a live broadcast delay method according to an embodiment of the present invention;
fig. 2 is a schematic view of a structure and a use flow of a live broadcast delay device according to an embodiment of the present invention.
Detailed Description
The present invention is described in terms of particular embodiments, other advantages and features of the invention will become apparent to those skilled in the art from the following disclosure, and it is to be understood that the described embodiments are merely exemplary of the invention and that it is not intended to limit the invention to the particular embodiments disclosed. 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.
In the present specification, the terms "upper", "lower", "left", "right", "middle", and the like are used for clarity of description, and are not intended to limit the scope of the present invention, and changes or modifications in the relative relationship may be made without substantial changes in the technical content.
Examples
Referring to fig. 1 and 2, a live broadcast delay method includes the following steps:
step 1: receiving a video signal and an audio signal of a scene; and carrying out buffer processing on the video signal and the audio signal according to a preset time length.
Step 2: and after receiving the live broadcast delay instruction, acquiring the delay time required by the live broadcast delay instruction.
And step 3: and releasing the cached video signal and audio signal according to the play starting time to obtain the delayed live broadcast streaming media.
And 4, step 4: and sending the delayed live broadcast streaming media to a cloud server, and distributing the live broadcast streaming to the client by the cloud server to realize delayed live broadcast.
Further, a gasket switching triggering module is arranged in the cloud server, and after receiving the triggering signal, the gasket switching triggering module starts gasket switching and sends gasket materials to the client.
Specifically, according to the delayed live broadcast link, the gasket switching can be started through the gasket switching triggering module when needed. When normal broadcasting is recovered, normal delayed live broadcasting can be recovered through the module.
As shown in fig. 1 and 2, the gasket material includes: video files, picture files, or audio-visual streams.
Further, step 1 specifically comprises:
after the video and audio signals are collected, the video and audio signals are subjected to recombination coding, and the recombination coding comprises ACC coding and/or H264 and H265 coding. And according to the preset time length, performing time synchronization processing on the video and audio signals, and storing the processed video and audio signals to a local cache region to be sent.
As shown in fig. 2, an embodiment of the present invention further provides a live broadcast delay apparatus, which includes: the system comprises a video and audio acquisition module, a live broadcast delay module, a broadcasting module and a cloud server.
The video and audio acquisition module is used for acquiring on-site video signals and audio signals and caching the video signals and the audio signals according to a preset time length.
And the live broadcast delay module is used for acquiring the delay time required by the live broadcast delay instruction after receiving the live broadcast delay instruction.
The broadcasting module is used for releasing the cached video signal and audio signal according to the broadcasting starting time to obtain the time-delay live broadcasting streaming media;
and the cloud server sends the delayed live broadcast streaming media to the cloud server, and the cloud server distributes the live broadcast streaming to the client to realize delayed live broadcast.
Further, the live broadcast time delay device further comprises: and a gasket switching triggering module. The gasket switching triggering module is arranged in the cloud server, and after receiving the triggering signal, the gasket switching triggering module starts gasket switching and sends gasket materials to the client.
According to an embodiment of another aspect, there is also provided a computer-readable storage medium having stored thereon a computer program which, when executed in a computer, causes the computer to perform the method described in connection with fig. 1, 2.
According to an embodiment of still another aspect, there is also provided a computing device including a memory and a processor, the memory storing executable code, and the processor implementing the method described in conjunction with fig. 1 and 2 when executing the executable code.
The steps of a method or algorithm described in connection with the disclosure herein may be embodied in hardware or may be embodied in software instructions executed by a processor. The software instructions may consist of corresponding software modules that may be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an ASIC. Additionally, the ASIC may reside in a server. Of course, the processor and the storage medium may reside as discrete components in a server.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in this invention may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
Although the invention has been described in detail above with reference to a general description and specific examples, it will be apparent to one skilled in the art that modifications or improvements may be made thereto based on the invention. Accordingly, such modifications and improvements are intended to be within the scope of the invention as claimed.

Claims (8)

1. A live broadcast delay method is characterized by comprising the following steps:
step 1: receiving a video signal and an audio signal of a scene; according to a preset time length, carrying out caching processing on the video signal and the audio signal;
step 2: after receiving a live broadcast delay instruction, acquiring delay time required by the live broadcast delay instruction;
and step 3: releasing the video signal and the audio signal which are cached according to the playing starting time to obtain a delayed live broadcasting streaming media;
and 4, step 4: and sending the delayed live broadcast streaming media to a cloud server, and distributing live broadcast streams to a client by the cloud server to realize delayed live broadcast.
2. The live broadcast delay method according to claim 1, wherein a gasket switching triggering module is arranged in the cloud server;
and after receiving the trigger signal, the gasket switching trigger module starts gasket switching and sends gasket materials to the client.
3. The live delay method of claim 2,
the gasket material includes: video files, picture files, or audio-visual streams.
4. The live broadcast delay method according to claim 1, wherein step 1 specifically comprises:
after the video and audio signals are collected, carrying out recombination coding on the video and audio signals, wherein the recombination coding comprises ACC coding and/or H264 and H265 coding;
and according to a preset time length, performing time synchronization processing on the video and audio signals, and storing the processed video and audio signals to a local cache region to be sent.
5. A live broadcast delay apparatus, comprising:
the video and audio acquisition module is used for acquiring a video signal and an audio signal on site;
the live broadcast delay module is used for caching the video signal and the audio signal according to a preset time length;
the broadcasting module is used for acquiring the delay time required by the live broadcast delay instruction after receiving the live broadcast delay instruction; the video signal and the audio signal which are cached are released according to the playing starting time, and the time-delay live broadcasting streaming media are obtained;
and the cloud server sends the delayed live broadcast streaming media to the cloud server, and the cloud server distributes the live broadcast streaming to the client to realize delayed live broadcast.
6. The live delay apparatus of claim 5, further comprising:
and the gasket switching triggering module is arranged in the cloud server, and when receiving a triggering signal, the gasket switching triggering module starts gasket switching and sends gasket materials to the client.
7. A computer-readable storage medium, having stored thereon a computer program which, when executed in a computer, causes the computer to perform the method of any one of claims 1-4.
8. A computing device comprising a memory having executable code stored therein and a processor that, when executing the executable code, implements the method of any of claims 1-4.
CN202111495443.9A 2021-12-08 2021-12-08 Live broadcast delay method and device Pending CN114302155A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111495443.9A CN114302155A (en) 2021-12-08 2021-12-08 Live broadcast delay method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111495443.9A CN114302155A (en) 2021-12-08 2021-12-08 Live broadcast delay method and device

Publications (1)

Publication Number Publication Date
CN114302155A true CN114302155A (en) 2022-04-08

Family

ID=80965173

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111495443.9A Pending CN114302155A (en) 2021-12-08 2021-12-08 Live broadcast delay method and device

Country Status (1)

Country Link
CN (1) CN114302155A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105828107A (en) * 2016-03-30 2016-08-03 乐视控股(北京)有限公司 Live broadcast time delay method and apparatus
CN110708564A (en) * 2019-10-21 2020-01-17 上海网达软件股份有限公司 Live transcoding method and system for dynamically switching video streams
CN112019905A (en) * 2019-05-30 2020-12-01 上海哔哩哔哩科技有限公司 Live broadcast playback method, computer equipment and readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105828107A (en) * 2016-03-30 2016-08-03 乐视控股(北京)有限公司 Live broadcast time delay method and apparatus
CN112019905A (en) * 2019-05-30 2020-12-01 上海哔哩哔哩科技有限公司 Live broadcast playback method, computer equipment and readable storage medium
CN110708564A (en) * 2019-10-21 2020-01-17 上海网达软件股份有限公司 Live transcoding method and system for dynamically switching video streams

Similar Documents

Publication Publication Date Title
EP3562163B1 (en) Audio-video synthesis method and system
CN107147919B (en) Live broadcast quick starting method and system
CN107690073B (en) Video live broadcast method and video live broadcast server
KR101010258B1 (en) Time-shifted presentation of media streams
CN101917389B (en) Network television direct broadcasting system
WO2018076998A1 (en) Method and device for generating playback video file
CN110708564B (en) Live transcoding method and system for dynamically switching video streams
CN108540819B (en) Live broadcast data processing method and device, computer equipment and storage medium
MXPA03006913A (en) Fast digital channel changing.
CN111447455A (en) Live video stream playback processing method and device and computing equipment
CN102752669A (en) Transfer processing method and system for multi-channel real-time streaming media file and receiving device
CN108471548B (en) Live video quick playing method and device
CN108494792A (en) A kind of flash player plays the converting system and its working method of hls video flowings
CN109040818B (en) Audio and video synchronization method, storage medium, electronic equipment and system during live broadcasting
KR101142379B1 (en) Method and Apparatus of playing digital broadcasting and Method of recording digital broadcasting
US20230247225A1 (en) Video partitioning method, transmission method, server, adaptor and storage medium
CN105142003A (en) Television program playing method and device
US10382793B2 (en) Apparatuses and methods for performing information extraction and insertion on bitstreams
CN114302155A (en) Live broadcast delay method and device
US9667885B2 (en) Systems and methods to achieve interactive special effects
CN114900707A (en) Live broadcasting method and system
WO2018171567A1 (en) Method, server, and terminal for playing back media stream
CN105763848B (en) Fish eye camera rear end cut-in method and system
CN110798713B (en) Time-shifted television on-demand method, terminal, server and system
CN105491394B (en) Method and device for sending MMT packet and method for receiving MMT packet

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