CN112188265A - Method for automatically controlling caption broadcasting based on synchronous signal monitoring - Google Patents

Method for automatically controlling caption broadcasting based on synchronous signal monitoring Download PDF

Info

Publication number
CN112188265A
CN112188265A CN202011001589.9A CN202011001589A CN112188265A CN 112188265 A CN112188265 A CN 112188265A CN 202011001589 A CN202011001589 A CN 202011001589A CN 112188265 A CN112188265 A CN 112188265A
Authority
CN
China
Prior art keywords
signal
caption
state
synchronous signal
synchronous
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.)
Withdrawn
Application number
CN202011001589.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.)
Anhui Ltech Information Technology Co ltd
Original Assignee
Anhui Ltech Information 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 Anhui Ltech Information Technology Co ltd filed Critical Anhui Ltech Information Technology Co ltd
Priority to CN202011001589.9A priority Critical patent/CN112188265A/en
Publication of CN112188265A publication Critical patent/CN112188265A/en
Withdrawn 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/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
    • 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/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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/278Subtitling

Landscapes

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

Abstract

The invention discloses a method for automatically controlling caption broadcasting based on synchronous signal monitoring, which comprises the following steps: acquiring the state of a synchronous signal of a current caption board card; judging whether the state of the synchronous signal is a locking state or a loss state; if the synchronous signal is in a loss state, outputting a black field signal; if the synchronous signal is in a locking state, outputting a caption signal; and repeatedly acquiring the state of the synchronous signal of the current caption board card at an interval of 0.5-1.5 seconds. The invention does not need manual intervention for monitoring the state of the synchronous signal, and once the caption machine detects the loss state of the synchronous signal, the caption machine board card can be automatically controlled to stop outputting the caption signal. After the caption machine detects that the synchronous signal is locked, the caption machine board card is automatically controlled to recover the caption signal output, so that automatic monitoring and fault processing are achieved.

Description

Method for automatically controlling caption broadcasting based on synchronous signal monitoring
Technical Field
The invention relates to the field of media playing, in particular to a method for automatically controlling caption playing based on synchronous signal monitoring.
Background
In broadcast television broadcasting, a television picture is usually superimposed by a program video picture and subtitles. The caption signal is superimposed in front of the video signal so that the viewer can see a television program with a rich picture. The program video is output by the video playing device, the caption is output by the caption machine, and the two signals are superposed by the key mixing or switching device. When the caption is superposed with the video signal, synchronous locking of output signals of the two devices needs to be completed through a synchronous signal, and the superposition of the caption to a correct position and effect is ensured. The synchronization signal has a crucial effect on the superposition of the signals. In the use process of a caption machine, once a synchronous signal of the caption machine is deviated and lost, an output signal of the caption machine cannot be kept synchronous with an external synchronous signal, and then key mixing or a switching station cannot correctly superpose caption signals on video signals, so that serious broadcasting accidents are formed. In the present situation, once the caption superposition abnormality occurs due to the loss of the synchronous signal, the caption signal is manually pressed down, so that the television picture is ensured not to have obvious broadcasting errors.
The manual monitoring method adopted by the prior technical scheme can not realize uninterrupted monitoring, and because the loss reason of the synchronous signal has diversity, the occurrence probability is low, and the occurrence time has uncertainty, the manual monitoring mode has the defects of manpower consumption, missing detection, untimely intervention and the like, and once the condition that the output signals of the caption machine can not be normally superposed in a television picture due to the deviation and the loss of the synchronous signal outside the caption machine occurs, severe broadcasting accidents can be caused.
Disclosure of Invention
The invention aims to provide a method for automatically controlling caption broadcasting based on synchronous signal monitoring, which aims to solve the problems in the background technology.
In order to achieve the purpose, the invention provides the following technical scheme:
a method for automatically controlling caption broadcasting based on synchronous signal monitoring comprises the following steps:
s1, acquiring the synchronous signal state of the current caption board card;
s2, judging the state of the synchronous signal to be a locking state or a losing state;
s3, if the synchronous signal is in a loss state, outputting a black field signal;
s4, if the synchronous signal is in a locking state, outputting a caption signal;
s5, repeating the step S1 at an interval of 0.5-1.5 seconds.
Further, the specific algorithm for outputting the black field signal in step S3 is as follows:
a1, generating a black field buffer area;
a2, checking the current synchronization signal state;
a3, if the synchronous signal is in a lost state, outputting a black field buffer area and then entering a rendering waiting interval;
a4, if the synchronous signal is in a locking state, the black field buffer area directly enters a waiting rendering interval, and the black field buffer area is not output any more;
and A5, repeating the step A1.
Further, the specific algorithm for outputting the caption signal in step S4 is as follows:
b1, filling the picture data into the caption buffer;
b2, checking the current synchronization signal state;
b3, if the synchronous signal is in a lost state, the subtitle buffer area directly enters a rendering waiting interval and does not output the subtitle buffer area any more;
b4, if the synchronous signal is in a locking state, outputting the subtitle buffer area and then entering a rendering waiting interval;
b5, repeating the step B1.
Further, the black field signal is a BGRA format picture signal that is completely transparent.
Further, the subtitle signal is a BGRA format picture signal.
An automatic control caption broadcasting system based on synchronous signal monitoring, comprising:
the caption board card is used for providing synchronous signal state data;
a black field signal module generating and transmitting a black field signal;
a caption rendering module which transmits a caption signal;
the caption output module receives and outputs the black field signal or the caption signal;
and the synchronous signal monitoring module is used for acquiring the state of the synchronous signal sent by the caption board card and sending the corresponding synchronous state message to the black field signal module or the caption rendering module.
Compared with the prior art, the invention has the beneficial effects that: the method comprises the steps of monitoring the state of a synchronous signal in real time, wherein the monitoring of the synchronous signal does not need manual intervention any more, and the state of the synchronous signal of a caption board card is detected in real time, so that once the state of the synchronous signal is detected to be asynchronous (lost), the caption board card is controlled to stop outputting caption signals through software; and for the automation of fault processing when the synchronous signal state is lost, after the subtitle generator detects that the synchronous signal is recovered, the subtitle generator board card is automatically controlled to recover the subtitle signal output, so that the automatic monitoring and fault processing are realized.
Drawings
FIG. 1 is a schematic flow diagram of the process of the present invention;
FIG. 2 is a diagram illustrating a process of generating a black field signal according to the present invention;
FIG. 3 is a flow chart of the present invention for switching black field signals in the event of a loss condition;
FIG. 4 is a flowchart illustrating the operation of switching caption signals when the locked state is restored according to the present invention;
fig. 5 is a flow chart of the work flow of the automatic control caption broadcasting system based on the synchronous signal monitoring in the invention.
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.
Referring to fig. 1-5, in an embodiment of the present invention, a method for automatically controlling caption broadcasting based on synchronization signal monitoring includes the following steps:
s1, acquiring the synchronous signal state of the current caption board card;
s2, judging the state of the synchronous signal to be a locking state or a losing state;
s3, if the synchronous signal is in a loss state, outputting a black field signal;
s4, if the synchronous signal is in a locking state, outputting a caption signal;
s5, repeating the step S1 at an interval of 0.5-1.5 seconds.
Specifically, the black field signal is a picture signal in a BGRA format, and is completely transparent, so that any subtitle cannot be superimposed on the picture, and broadcasting accidents are avoided; the caption signal is a picture signal in a BGRA format.
Specifically, in this embodiment, a synchronization state is obtained every 1 second, and a rdlink CG 100-model caption board is used to obtain a synchronization signal of a caption board through an Omn _ GetBoard monitorenfo function (where the names of functions provided by different caption boards are different, the name is a synchronization signal state obtaining interface function of one of the caption boards).
Specifically, when the synchronization signal is in a locked state, the synchronization monitoring module sends a locked state message to the subtitle rendering module, and the subtitle rendering module sends a subtitle signal to the subtitle output module after receiving the locked state message; if the synchronous signal is in a loss state, the synchronous monitoring module sends a loss state message to the black field signal module, and the black field signal module sends a black field signal to the caption output module after receiving the loss state message. Because the black field signal is completely transparent, the superposition equipment can not superpose any caption on the picture, thereby avoiding the occurrence of broadcasting accidents.
Black field signal generation process:
the black field module is a software module specially used for generating black field signals, and according to the size of a picture, for example, the picture with the size of w x h (w is the number of pixels of the width of the picture, and h is the number of pixels of the height of the picture), the module can generate a black field buffer area with a completely transparent picture, the format of the black field buffer area is BGRA, each pixel occupies 4 bytes, and w x h pixels (as shown in figure 2) in total, and the black field module can generate the black field signals by outputting the black field buffer area to the caption rendering module.
When the synchronous state is changed into a loss state, the synchronous state is switched to a black field signal, and the specific algorithm is
A1, generating a black field buffer area, namely generating a black field signal;
a2, checking the current state of the synchronous signal, if the synchronous signal monitoring module triggers the synchronous loss message, the state of the synchronous signal is set to be a lost state, otherwise, the synchronous signal monitoring module triggers the synchronous recovery message, the state of the synchronous signal is set to be a locked state;
a3, if the state of the synchronization signal is a lost state, the black field buffer enters a subtitle rendering module, the subtitle rendering module outputs the black field signal, and then enters a rendering waiting interval (the specific interval is calculated according to the frame rate of the synchronization signal, for example, the frame rate is 25, and then the rendering waiting interval is 1000/25-40 ms);
and A4, if the synchronous state flag is in a locking state, directly waiting for the rendering interval by the black field buffer area, and not inputting the black field buffer area to the subtitle rendering module.
And A5, repeating the step A1.
When the state of the synchronous signal is changed into a locked state, namely after synchronous recovery, the algorithm for switching to the caption signal is as follows:
b1, OpenGL rendering subtitle picture, and filling the subtitle picture into subtitle buffer area (subtitle buffer area format and
the black field buffer areas have consistent structures and are in a BGRA format);
b2, checking the current state of the synchronous signal, if the synchronous signal monitoring module triggers the synchronous loss message, the state of the synchronous signal is set to be a lost state, otherwise, the synchronous signal monitoring module triggers the synchronous recovery message, and the state of the synchronous signal is set to be a locked state;
b3, if the synchronization signal state is lost, the subtitle buffer directly waits for the rendering interval, and the subtitle buffer is no longer input to the subtitle rendering module (at this time, the subtitle rendering module receives the black field buffer input by the black field module);
b4, if the sync status flag is in a lock status, the subtitle buffer inputs the subtitle rendering module, the subtitle rendering module outputs the subtitle signal, and then enters a rendering waiting interval (the specific interval is calculated according to the frame rate of the signal, for example, the frame rate is 25, and then the rendering waiting 1000/25 is 40ms interval);
and B5, repeating the step B1.
An automatic control caption broadcasting system based on synchronous signal monitoring, comprising: the caption board card is used for providing synchronous signal state data; a black field signal module generating and transmitting a black field signal; a caption rendering module which transmits a caption signal; the caption output module receives and outputs the black field signal or the caption signal; and the synchronous signal monitoring module is used for acquiring the state of the synchronous signal sent by the caption board card and sending a corresponding synchronous state message to the black field signal module and the caption rendering module.
Although the present description is described in terms of embodiments, not every embodiment includes only a single embodiment, and such description is for clarity only, and those skilled in the art should be able to integrate the description as a whole, and the embodiments can be appropriately combined to form other embodiments as will be understood by those skilled in the art.
Therefore, the above description is only a preferred embodiment of the present application, and is not intended to limit the scope of the present application; all changes which come within the meaning and range of equivalency of the claims are to be embraced within their scope.

Claims (6)

1. A method for automatically controlling caption broadcasting based on synchronous signal monitoring is characterized by comprising the following steps:
s1, acquiring the synchronous signal state of the current caption board card;
s2, judging the state of the synchronous signal to be a locking state or a losing state;
s3, if the synchronous signal is in a loss state, outputting a black field signal;
s4, if the synchronous signal is in a locking state, outputting a caption signal;
s5, repeating the step S1 at an interval of 0.5-1.5 seconds.
2. The method for automatically controlling caption broadcasting based on synchronous signal monitoring as claimed in claim 1, wherein the specific algorithm for outputting the black field signal in the step S3 is as follows:
a1, generating a black field buffer area;
a2, checking the current synchronization signal state;
a3, if the synchronous signal is in a lost state, outputting a black field buffer area and then entering a rendering waiting interval;
a4, if the synchronous signal is in a locking state, the black field buffer area directly enters a waiting rendering interval, and the black field buffer area is not output any more;
and A5, repeating the step A1.
3. The method for automatically controlling caption broadcasting based on synchronous signal monitoring as claimed in claim 1, wherein the specific algorithm for outputting the caption signal in the step S4 is as follows:
b1, filling the picture data into the caption buffer;
b2, checking the current synchronization signal state;
b3, if the synchronous signal is in a lost state, the subtitle buffer area directly enters a rendering waiting interval and does not output the subtitle buffer area any more;
b4, if the synchronous signal is in a locking state, outputting the subtitle buffer area and then entering a rendering waiting interval;
and B5, repeating the step B1.
4. The method of claim 1, wherein the black field signal is a BGRA format picture signal that is completely transparent.
5. The method of claim 1, wherein the subtitle signal is a BGRA format picture signal.
6. An automatic control caption broadcasting system based on synchronous signal monitoring is characterized by comprising:
the caption board card is used for providing synchronous signal state data;
a black field signal module generating and transmitting a black field signal;
a caption rendering module which transmits a caption signal;
the caption output module receives and outputs the black field signal or the caption signal;
and the synchronous signal monitoring module is used for acquiring the state of the synchronous signal sent by the caption board card and sending the corresponding synchronous state message to the black field signal module or the caption rendering module.
CN202011001589.9A 2020-09-22 2020-09-22 Method for automatically controlling caption broadcasting based on synchronous signal monitoring Withdrawn CN112188265A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011001589.9A CN112188265A (en) 2020-09-22 2020-09-22 Method for automatically controlling caption broadcasting based on synchronous signal monitoring

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011001589.9A CN112188265A (en) 2020-09-22 2020-09-22 Method for automatically controlling caption broadcasting based on synchronous signal monitoring

Publications (1)

Publication Number Publication Date
CN112188265A true CN112188265A (en) 2021-01-05

Family

ID=73955304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011001589.9A Withdrawn CN112188265A (en) 2020-09-22 2020-09-22 Method for automatically controlling caption broadcasting based on synchronous signal monitoring

Country Status (1)

Country Link
CN (1) CN112188265A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9509641B1 (en) * 2015-12-14 2016-11-29 International Business Machines Corporation Message transmission for distributed computing systems
CN108449553A (en) * 2018-03-23 2018-08-24 中国人民解放军92941部队 Instructor in broadcasting's control system and signal processing method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9509641B1 (en) * 2015-12-14 2016-11-29 International Business Machines Corporation Message transmission for distributed computing systems
CN108449553A (en) * 2018-03-23 2018-08-24 中国人民解放军92941部队 Instructor in broadcasting's control system and signal processing method

Similar Documents

Publication Publication Date Title
EP0679315B1 (en) Video facility management system
EP1143718B1 (en) Method for synchronizing a HDTV format change with a corresponding format change of an on screen display
KR100217557B1 (en) Television receiving set having multiplexed text decoder
US20140029910A1 (en) Image information playback unit, image information playback device and synchronization control method
JPH0993550A (en) Supplement program detection and display device
JPH01218181A (en) Closed circuit television equipment
CN112188265A (en) Method for automatically controlling caption broadcasting based on synchronous signal monitoring
CN201937769U (en) Video monitoring system for single-cable comprehensive data service transmission
CN113206961B (en) Television live broadcast key filling signal broadcasting method and system
CN116112620A (en) Processing method and system for improving video stream multipath merging stability
CN102055924A (en) Method for adjusting proportion mode and television using same
CN1183754C (en) Use of on-screen display (OSD) for supplying control and auxiliary information to external device
CN102254566B (en) A kind of error correction method of video data and error correction system
CN216719410U (en) Display system
JPS62150982A (en) Two-picture television receiver
JP2001265305A (en) Picture and video display unit, and device and method for displaying picture and video using the same
JPS62258564A (en) Superimposing equipment
CN116896624A (en) Synchronous video comparison method and device
JPH0385081A (en) Synchronizing picture transmitter
CN102025890A (en) Method and system for restoring video line synchronizing signal
JPH09331512A (en) Fault detection system for multimedia communication terminal equipment
JP2704554B2 (en) Audio switching method
CN114845150A (en) Display screen multi-video display synchronization system, method, equipment and storage medium
JPS62190985A (en) Teletext receiver
JPH01296782A (en) Picture exchange system

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20210105