CN1897652A - Hidden-caption decoding method - Google Patents

Hidden-caption decoding method Download PDF

Info

Publication number
CN1897652A
CN1897652A CN 200610060925 CN200610060925A CN1897652A CN 1897652 A CN1897652 A CN 1897652A CN 200610060925 CN200610060925 CN 200610060925 CN 200610060925 A CN200610060925 A CN 200610060925A CN 1897652 A CN1897652 A CN 1897652A
Authority
CN
China
Prior art keywords
data
hidden
caption
decoding method
passage
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
CN 200610060925
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 Skyworth RGB Electronics Co Ltd
Shenzhen Chuangwei RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics 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 Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN 200610060925 priority Critical patent/CN1897652A/en
Publication of CN1897652A publication Critical patent/CN1897652A/en
Pending legal-status Critical Current

Links

Images

Abstract

The method is used for decoding the hiding subtitle in the video signals from the receiving device having video decoding function and comprises: first determining the area for displaying the hiding subtitle data to be displayed and extracting the transmitted data from the data area; analyzing said data to decide if said data is the valid data; if the data is invalid data, then abandoning it; if the data is the valid data, then determining its type, and according to its type making relevant processing. The invention replaces the hardware function by software to implement CCD function so as to reduce the production cost.

Description

Hidden-caption decoding method
[technical field]
The present invention relates to a kind of hidden-caption decoding method, particularly a kind ofly need not to increase the method that hardware device can be decoded to the closed caption in the vision signal.
[background technology]
Closed caption (Closed Caption, CC) be a kind of captions of preparing for the user with dysaudia, it appears at personage's below in a minute usually, comprises information such as the sound of object in the sheet and music description, unless the user activates this captions, otherwise they can not be revealed.The closed caption data are a kind of literal to be joined a kind of standard code mode in the vision signal, receiving terminal at television set (or other receiving system), must built-in decoder or independent decoder the literal that is coded in the vision signal is decoded, just can demonstrate the literal that is encoded.For this reason, the device of receiving video signals must have the function of decoding and demonstration closed caption data.This function not only can be used on radio and television, the cable TV, also can be used on the devices such as DVD player, video tape recorder.U.S.'s regulation, since 1993, the television set greater than 13 inches that the U.S. sells all must have the hidden-caption decoding device.
For the manufacturer of receiving system, the closed caption data that are coded in the vision signal are decoded, just become and realize CCD (Closed Caption Decode, hidden-caption decoding) the vital link of function.Prior art is generally used the hardware decoding when realizing the CCD function, must increase relevant hardware equipment in receiving system, has increased production cost greatly.
[summary of the invention]
Technical problem to be solved by this invention is to provide a kind of hidden-caption decoding method, particularly a kind ofly need not to increase the method that hardware device can be decoded to the closed caption in the vision signal.
For solving the problems of the technologies described above, the technical solution adopted in the present invention is: a kind of hidden-caption decoding method, be used for the closed caption in the vision signal being decoded at receiving system with video decode function, this method may further comprise the steps: at first determine the zone of current closed caption data to be shown, and take out the data that transmit this data area.Analyze described data then, judge whether described data are valid data.If described data are invalid data, then make discard processing; If described data are the classification of valid data, further judge its classification, and carry out respective handling according to its classification.
The present invention is based on the color decoder and have data function on the 21st field scan line that grasps every of TV signal, the data that adopt software that the color decoder is caught are analyzed, thereby decode the closed caption data that need, offer display module, realize the CCD function.This just realizes realizing the CCD function with software replace hardware, has realized that fundamentally production cost greatly reduces.
[description of drawings]
Fig. 1 is the realization flow figure of hidden-caption decoding method of the present invention.
Fig. 2 is the flow chart that hidden-caption decoding method of the present invention shows the CCD character.
[embodiment]
The invention will be further described below in conjunction with accompanying drawing.
Usually, the closed caption data are to be carried in the 21st field scan line (line 21) of every of TV signal of TV station or cable TV station to transmit.For realizing CCD (Closed Caption Decode, hidden-caption decoding) function, at first need data on the 21st field scan line are grasped.Owing to generally have a color decoder (Color Decoder) in the existing television architecture, it has the function of the data on the 21st field scan line that grasps every of signal, the data of utilizing software that the color decoder is caught are again analyzed, thereby decode the closed caption data that need, offer display module, just can realize the CCD function.
The theory of corresponding data parser is: based on the EIA-608 standard, according to the closed caption data characteristics is carried out analytic induction, find out its general character and individual character from all angles, and carry out data analysis, thereby succinctly, effectively decode the needed valid data of CCD function according to these general character and individual character.
See also Fig. 1, its specific implementation method is as follows:
1) fetches data
According to decoding characteristics, when on every the 21st field scan line transfer of data being arranged when certain zone, the color decoder can produce interruption, and the sign state is set, and all data of transmitting on the 21st field scan line in every in this zone are grasped and preserve.And carry out CCD when showing, only can show the CCD mode data that the active user selects, thereby the ccd data that other non-users select is considered to invalid data.Thus, can determine the zone (regional 1/ zone 2) of current closed caption data to be shown according to the CCD pattern that the active user selects.Take out the data that transmit this data area again, the area data that non-user selects is made discard processing (simplification processing procedure), then the data of being taken out are analyzed, thereby need to obtain the effective closed caption data of demonstration.
2) analyze data
According to EIA (EIA's standard)-608 standards, as follows to the ccd data law-analysing:
A:CH1 (passage 1) judges and can discern according to the 3rd (BIT3) of first right byte of control word with the data of CH2 (passage 1).When the 3rd of first right byte of certain control word is " 0 ", the expression data are CH1 data; The 3rd is " 1 ", and the expression data are CH2 data.
Thus, according to the CCD pattern that the user selects, can judge that the control word data that need to show are CH1 data or CH2 data, if the passage of the control word data that the grab passage corresponding with the pattern of user's selection is inconsistent, think invalid data, make discard processing.For valid data, it is saved to the valid data memory.
B: judge that ccd data is control word, can shows that word maybe can not show word, can determine according to the scope of ccd data.See also Fig. 2, the current data that receive are to when 0x00~0x0f and the 0x80~0xff, and these data are to being invalid data; When right first data of the data that receive at 0x10~0x1f, the scope of second data is between 0x40~0x7f, or right first data of the data that receive are between 0x10~0x1f and be not 0x12,0x1a, 0x13,0x1b, second data scope is between 0x20~0x3f, and then these data are to being that control word is right; When first right data of the data that receive are 0x12,0x1a, 0x13 or 0x1b, the scope of second data is between 0x20~0x3f, and then these data are to representing a spcial character; Otherwise, but these data are to being character display.
C: according to the distinguishable data that go out after this control word transmission of MISCELLANEOUS CONTROL CODES (polynary control code) is caption data or TEXT (text) data.Combine with the CCD pattern that the user selects according to this characteristic, can judge whether the data of current reception are required data presented.
All kinds of video decoding chips that this algorithm can be used for are as VPC3230, SAA7114H etc., as long as it has the function that the data transmitted on the 21st field scan line to every of signal grasp.Present embodiment is based on the color decoding chip of TVP5146, VTVP5147 and realizes.
Can realize the CCD software decode simply, effectively according to above-mentioned rule, this algorithm effective simplification decode procedure, make the software code of realizing decoding simple, understandable, and reduced the memory capacity of code to a great extent.

Claims (9)

1, a kind of hidden-caption decoding method is used at the receiving system with video decode function the closed caption in the vision signal being decoded, and it may further comprise the steps:
A. determine the zone of current closed caption data to be shown, and take out the data that transmit this data area;
B. analyze described data, judge whether described data are valid data;
If c. described data are invalid data, then make discard processing; If described data are the classification of valid data, further judge its classification, and carry out respective handling according to its classification.
2, hidden-caption decoding method as claimed in claim 1 is characterized in that: described method is undertaken by a color decoder, and described color decoder has the function of the data on the 21st field scan line that grasps every of signal.
3, hidden-caption decoding method as claimed in claim 1 is characterized in that: in step a, be the zone of determining current closed caption data to be shown according to the hidden-caption decoding pattern that the active user selects.
4, hidden-caption decoding method as claimed in claim 1 is characterized in that: in step b, be according to the EIA-608 standard described data to be analyzed.
5, hidden-caption decoding method as claimed in claim 4, it is characterized in that: described data are analyzed the 3rd of at first needing according to first right byte of control word, and to discern described data be passage 1 or passage 2 data, the hidden-caption decoding mode of selecting according to the user then, judge that the control word data that need to show are passage 1 data or passage 2 data, if the passage that the passage of described data is corresponding with the pattern that the user selects is inconsistent, think invalid data; Otherwise, be valid data.
6, hidden-caption decoding method as claimed in claim 5 is characterized in that: as the 3rd of first byte of described data during for " 0 ", represent that described data are passage 1 data; The 3rd is " 1 ", represents that described data are passage 2 data.
7, hidden-caption decoding method as claimed in claim 1 is characterized in that: in step c, when described valid data during at 0x00~0x0f and 0x80~0xff, these data are invalid datas; When first data of described valid data at 0x10~0x1f, the scope of second data is between 0x40~0x7f, or first data of described valid data are between 0x10~0x1f and be not 0x12,0x1a, 0x13,0x1b, second data scope is between 0x20~0x3f, and then these data are that control word is right; When first data of described valid data are 0x12,0x1a, 0x13 or 0x1b, the scope of second data between 0x20~0x3f, spcial character of this data representation then; Otherwise, but described valid data are character display.
8, hidden-caption decoding method as claimed in claim 1, it is characterized in that: described method comprises that further the data of differentiating transmission according to polynary control code are caption data or text data, and judges according to the hidden-caption decoding pattern of this characteristic and user's selection whether the data of current reception are required data presented.
9, hidden-caption decoding method as claimed in claim 2 is characterized in that: the model of described color decoder comprises TVP5146, VTVP5147, VPC3230 and SAA7114H.
CN 200610060925 2006-05-30 2006-05-30 Hidden-caption decoding method Pending CN1897652A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200610060925 CN1897652A (en) 2006-05-30 2006-05-30 Hidden-caption decoding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200610060925 CN1897652A (en) 2006-05-30 2006-05-30 Hidden-caption decoding method

Publications (1)

Publication Number Publication Date
CN1897652A true CN1897652A (en) 2007-01-17

Family

ID=37610007

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200610060925 Pending CN1897652A (en) 2006-05-30 2006-05-30 Hidden-caption decoding method

Country Status (1)

Country Link
CN (1) CN1897652A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101489052B (en) * 2008-01-14 2010-12-01 中国网通集团宽带业务应用国家工程实验室有限公司 Subtitle data processing method and apparatus
CN103796060A (en) * 2012-11-26 2014-05-14 深圳Tcl新技术有限公司 Television, CC mode identification display method and apparatus thereof

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101489052B (en) * 2008-01-14 2010-12-01 中国网通集团宽带业务应用国家工程实验室有限公司 Subtitle data processing method and apparatus
CN103796060A (en) * 2012-11-26 2014-05-14 深圳Tcl新技术有限公司 Television, CC mode identification display method and apparatus thereof
WO2014079259A1 (en) * 2012-11-26 2014-05-30 深圳Tcl新技术有限公司 Television and method and device thereof for identifying closed caption (cc) mode and displaying
US9313443B2 (en) 2012-11-26 2016-04-12 Shenzhen Tcl New Technology Co., Ltd. Television and method and device for identifying and displaying CC mode of television
CN103796060B (en) * 2012-11-26 2017-07-28 深圳Tcl新技术有限公司 Television set and its CC pattern-recognitions display methods, device

Similar Documents

Publication Publication Date Title
US7477320B2 (en) Method and system for downloading and storing interactive device content using the horizontal overscan portion of a video signal
CN102111599B (en) Communication system, transmitter, receiver and communication means
CN101860700B (en) Digital cable broadcast receiver and method for automatically processing caption data
US20120057634A1 (en) Systems and Methods for Video Content Analysis
CN101682746B (en) Transmission device, reception device, frame rate conversion system, and frame rate conversion method
JP2005527155A (en) Ambient light control
WO1999000979A1 (en) Method and system for encoding data in the horizontal overscan portion of a video signal
US5914719A (en) Index and storage system for data provided in the vertical blanking interval
US20080218633A1 (en) Method and System for Transmitting Video Signals
CN1914897A (en) Digital broadcasting terminal
CN101621651B (en) Recording and reproducing apparatus, recording and reproducing method and program
CN1798269A (en) Caption service menu display apparatus and method
CN104580977A (en) Data-mapping-mode transmission and recognition method and device
CN1167281C (en) Secondary picture coding device and method thereof
CN112383732B (en) Resolution adaptive signal transmission system and method
CN1897652A (en) Hidden-caption decoding method
CN100403399C (en) Display apparatus and control method thereof
CN113938630A (en) Control method of LED display screen and display screen group
CN108063903B (en) Echoing preview splicing control system and method and display equipment
CA2644523A1 (en) Video-linked controller of external target device and video recording medium used therein
CN1181461C (en) Cursor display method of and image display device for screen display
CN101610373B (en) Display device
CN1245020C (en) Video signal selecting device
CN1185626A (en) Control-command series processing device, generating method and control-command storage medium
KR100792446B1 (en) Data transmission method for digital television set

Legal Events

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