CN1324883C - Apparatus and method for detecting captions rolling - Google Patents

Apparatus and method for detecting captions rolling Download PDF

Info

Publication number
CN1324883C
CN1324883C CNB2004100912475A CN200410091247A CN1324883C CN 1324883 C CN1324883 C CN 1324883C CN B2004100912475 A CNB2004100912475 A CN B2004100912475A CN 200410091247 A CN200410091247 A CN 200410091247A CN 1324883 C CN1324883 C CN 1324883C
Authority
CN
China
Prior art keywords
data
caption data
captions
caption
rolling
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.)
Active
Application number
CNB2004100912475A
Other languages
Chinese (zh)
Other versions
CN1615002A (en
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.)
Via Technologies Inc
Original Assignee
Via Technologies Inc
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 Via Technologies Inc filed Critical Via Technologies Inc
Priority to CNB2004100912475A priority Critical patent/CN1324883C/en
Publication of CN1615002A publication Critical patent/CN1615002A/en
Application granted granted Critical
Publication of CN1324883C publication Critical patent/CN1324883C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention relates to a device and a method for detecting caption rolling, which comprises a receiving unit and a detecting module, wherein the receiving unit is used for receiving a caption size data, a first caption data and a second caption data, the detecting module can detect the first caption data and the second caption data according to the caption size data of the receiving unit, and the detecting module can recognize a first difference values so as to judge caption rolling messages of the second caption data. Therefore, when the caption data simultaneously execute caption rolling specificity and caption magnifying/narrowing specificity, media viewers do not need to bear jagged obsession of the caption data caused by two simultaneous specificities, and the present invention further increases view joviality and the playing quality of the caption data.

Description

Detect the devices and methods therefor of captions rolling
Technical field
The invention relates to a kind of devices and methods therefor that detects captions rolling, be particularly to detect one first caption data and one second caption data, to reach the function of a captions rolling information of learning this second caption data.
Background technology
Continuous lifting based on research and development technology and standard of living, product quality becomes people gradually and considers the key factor of buying this product, in order to satisfy this demand, provide and meet high-quality information-technology products, be the first heavy problem of development product in fact, and comparatively the information-technology products of people's purchase are wherein favored by people most no more than multimedia playing apparatus again to play video-audio data, therefore, enterprise focuses on the how research and development of collocation image specific effect when playing video-audio data mostly now.
Common image specific effect is in the majority with development captions special efficacy, and wherein captions rolling and captions amplify/dwindle representative the most.In the technology of known captions rolling, the captions decoder of video-audio playing device at first reads caption data string (SPU Stream) in discs, and with after its decoding, generation includes the caption data of the start address of a plurality of capable block datas, this video-audio playing device reads the start address of block data by change, so can realize the scrolling effect of the caption data of display frame.In addition, in the technology that known captions amplify/dwindle, video-audio playing device reads caption data, the block data of deletion fixed position, double the width and the height ratio of not deleted block data, when making display frame play the caption data of this change by this, have the effect of amplifying/dwindling.
Yet, when caption data manifest captions rolling simultaneously and captions amplify/when dwindling effect, because of display unit shows that captions amplify/dwindle the block data that effect can be taken out the fixed position, if cooperate the captions rolling effect, video-audio playing device may read the start address of the block data of taking out, and the caption data that display frame is shown forms the suddenly big or suddenly small situation of captions, causes caption data and presents jagged puzzlement, and this has not been inconsistent the user demand of modern user for high-quality product in fact.
In view of this,, when making video-audio playing device carry out captions rolling, avoid reading of the block data taken out, reduce caption data and form the suddenly big or suddenly small situation of captions, the real problem that should pay attention to for research and development captions special efficacy if can detect the scroll information of caption data.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of device that detects captions rolling, and it comprises a receiving element, in order to receive a captions sized data, one first caption data and one second caption data; And a detection module, according to the captions sized data of this receiving element, detect this first caption data and this second caption data, learn that a difference value is to judge a captions rolling information of this second caption data.
Another technical problem that the present invention will solve provides a kind of method that detects captions rolling, and its step comprises reception captions sized data, first caption data and second caption data; And, detect first caption data and second caption data according to the captions sized data, obtain difference value to judge the captions rolling information of second caption data.
Another technical problem that the present invention will solve provides a kind of devices and methods therefor that detects captions rolling, it is providing by receiving element and detection module, compare first caption data and second caption data, learn that second caption data is the captions effect and a captions rolling line number of a captions effect that scrolls up, a downward scrolling, by obtaining of captions rolling information, reduce caption data and present jagged situation generation, promote the playback quality of viewing and admiring joyful degree and caption data.
A kind of devices and methods therefor that detects captions rolling of the present invention in order to achieve the above object, detect a plurality of capable block data of first caption data of receiving element and a plurality of capable block data of second caption data by detection module, then, utilize the block data of a counter records first caption data to equal the number of times of the block data of second captions continuously, the value and the threshold value that then compare this counter, after judging that this second caption data has the captions rolling effect, the line number value at the block data place of the block data of first caption data and second caption data relatively again, to learn difference value, at last, judge the captions rolling information of this second caption data according to difference value, reduce the suddenly big or suddenly small situation of caption data by this and take place, promote the playback quality of viewing and admiring joyful degree and caption data.
Description of drawings
Fig. 1 is the calcspar of detection captions rolling device of the present invention.
Fig. 2 is that of the present invention another detects the calcspar of captions rolling device.
Fig. 3 is the flow chart of detection captions rolling method of the present invention.
Fig. 4 is the schematic diagram of detection module comparison blocks data of the present invention.
Fig. 5 is the calcspar that is used for digital medium player of the present invention.
10 storage elements
12 captions decoding units
14 captions frame buffers
16 receiving elements
18 detection modules
180 first comparing units
182 counting units
184 second comparing units
186 the 3rd comparing units
20 first caption datas
200 first block datas
202 second block datas
204 the 3rd block datas
206 the 4th block datas
208 the 5th block datas
22 second caption datas
220 first block datas
222 second block datas
224 the 3rd block datas
226 the 4th block datas
24 storage elements
26 serial data separative elements
28 video decoding unit
30 captions decoding units
32 video signal buffers
34 captions frame buffers
36 receiving elements
38 detection modules
40 superimposed unit
Embodiment
One embodiment of the device of detection captions rolling of the present invention comprises a receiving element 16 as shown in Figure 1 in this embodiment, in order to receive a captions sized data, one first caption data and one second caption data; And a detection module 18, the captions sized data according to receiving element 16 receives detects first caption data and second caption data, learns that a difference value is to judge a captions rolling information of second caption data.
As shown in Figure 1, further include a storage element 10 in this embodiment, in order to a caption data string to be provided, then by a captions decoding unit 12 these caption data strings of decoding, produce the captions sized data, first caption data and second caption data, and export the captions sized data respectively in receiving element 16, and export first caption data and second caption data and give a captions frame buffer 14, with temporary first caption data and second caption data, then, provide first caption data and second caption data to receiving element 16, the last detection action of carrying out the captions rolling information of second captions again by detection module 18.
As shown in Figure 2, it is to detect the calcspar of captions rolling device for of the present invention another, detection module 18 of the present invention includes in this another embodiment: one first comparing unit 180, the captions sized data that includes a captions length parameter and a captions width parameter is provided by receiving element 16, first caption data and second caption data are divided into a plurality of capable block datas, compare a plurality of capable block data of first caption data and a plurality of capable block data of second caption data in regular turn; One counting unit 182, include a counter, when the block data of second caption data equaled the block data of first caption data continuously, the block data of counting unit 182 records second caption data equaled the number of times of the block data of first caption data continuously; One second comparing unit 184, in order to compare the value and a threshold value of counter, for judging whether second caption data has the captions rolling effect, wherein, threshold value is in order to determine whether second caption data has the Rule of judgment of captions rolling effect; And one the 3rd comparing unit 186, if second comparing unit 184 judges that second caption data has the captions rolling effect, delegation's numerical value at the block data place of the block data of first caption data and this second caption data relatively then, in order to learn difference value, detection module 18 is according to difference value, to judge the captions rolling information of second caption data.
The block data that the block data that above-mentioned line number value is respectively first caption data is positioned at the position of this first caption data and second caption data is positioned at the position of second caption data, in addition, detection module 18 judges that according to difference value captions rolling information is the captions effect of a captions effect that scrolls up, a downward scrolling or is a captions rolling line number of second caption data.
Fig. 3 is the flow chart of detection captions rolling method of the present invention, in this embodiment, at first, receive a captions sized data, one second caption data and one second caption data via step S14, carry out the detection action of the captions rolling information of second caption data for the above-mentioned detection module of mentioning, then, by step S16 according to the captions sized data, detect first caption data and second caption data, after judging that second caption data has the captions rolling effect, obtain a difference value to judge the captions rolling information of second caption data.
In the above embodiments, before step S14, more include step S10 and step S12, wherein, earlier decipher a caption data string by step S10, produce captions sized data, first caption data and second caption data, utilize step S12 to store first caption data and second caption data again,, make step S14 be able to the captions sized data of receiving step S10 and first caption data and second caption data of step S12 by providing of this two step in a captions frame buffer.
In addition, detection action for the captions rolling information that further specifies this second caption data, in step S16, more include the following step, at first, according to the above-mentioned captions sized data of mentioning, compare a plurality of capable block data of first caption data and a plurality of capable block data of second caption data in regular turn, then, one counter is provided, when the block data of second caption data equals the block data of first caption data continuously, the value of summary counter, providing of value by counter, with as the reference information of judging whether this second caption data has the captions rolling effect, then, compare the value and a threshold value of counter, when the value of counter equals threshold value, represent that this second caption data has the captions rolling effect, last, relatively the block data of this first caption data equals delegation's numerical value at the block data place of this second caption data, in order to learn difference value, then, according to this difference value, judge the captions rolling information of second caption data.
One embodiment below is provided, equals the number of times of the block data of first caption data with the block data that counter records second caption data of the present invention is described continuously.See also Fig. 4, it is the schematic diagram for detection module comparison blocks data of the present invention, it includes one first caption data 20 and one second caption data 22, the above-mentioned detection module of mentioning 18 of foundation is by the captions sized data that includes a captions length parameter and a captions width parameter, length and width with a plurality of capable block datas of learning first caption data 20 and second caption data 22, suppose that first caption data 20 includes one first block data 200, one second block data 202, one the 3rd block data 204, one the 4th block data 206 and one the 5th block data, 208, the second caption datas 22 include one first block data 220, one second block data 222, one the 3rd block data 224 and one the 4th block data 226.
To be 4 below with threshold value, the value of counter is 0 for example, whether first block data 200 that first comparing unit 180 of detection module 18 compares first caption data 20 equals first block data 220 of second caption data 22, because two block datas do not wait, compare second block data 222 whether first block data 200 equals second caption data 22 again, if or else wait, then mode is analogized according to this, the 3rd block data 224 that compares first block data 200 and second caption data 22 respectively, the block data of the 4th block data 226 and all the other a plurality of row, equate because of neither, so whether second block data 202 that compares first caption data 20 again in regular turn equals first block data 220 of second caption data 22, as Fig. 2, shown in 4, because two block datas equate, the value of counting unit 182 summary counters of detection module 18, then, second comparing unit 184 of use detection module 18 is the value and the threshold value of counter relatively, if the value of counter is less than threshold value, the block data of representing first caption data 20 equals that the number of times of block data of second caption data 22 is still not enough judges whether this second caption data 22 has the captions rolling effect, whether the 3rd block data 204 that then compares first caption data 20 again equals second block data 222 of second caption data 22, by that analogy, when the value of counter equals threshold value, can judge that just second caption data 22 has the captions rolling effect, the 3rd block data 204 of therefore working as first caption data 20, the 4th block data 206 and the 5th block data 208 equal second block data 222 of second caption data 22 respectively, when the 3rd block data 224 and the 4th block data 226, the value of counter is accumulated as 4 and equal threshold value, can judge that then this second caption data 22 has the captions rolling effect, afterwards, the block data that the 3rd comparing unit 186 compares first caption data 20 equals the line number value at the block data place of second caption data 22, in order to learn difference value, for example the line number value at second block data, 202 places of first caption data 20 is 2, the line number value at first block data, 220 places of this second caption data 22 is 1, its difference value is-1, because this difference value is a negative, can judge that then captions rolling information is that the captions rolling line number of a captions effect that scrolls up and second caption data 22 is 1, in addition, if when this difference value is positive number, can judge that then captions rolling information can be the captions effect of a downward scrolling.
The device of detection captions rolling of the present invention, it is to can be used for a digital medium player, detailed content sees also Fig. 5, it is the calcspar of digital medium player of the present invention, this device comprises: a storage element 24, the video-audio data of one utilization MPEG-2 and MPEG-4 coded format is provided, for example with the DVD disc of MPEG-2 compressed encoding, and a DivX film file with MPEG-4 compression video signal; One serial data separative element 26 is MPEG image data string, voice data string and caption data string in order to separate this video-audio data; One captions decoding unit, 30 these caption data strings of decoding produce a captions sized data, one first caption data and one second caption data; First caption data and second caption data of 34 temporary captions decoding unit 30 decodings of one captions frame buffer when user's desire is play video-audio data, for a broadcast unit, carry out playback action; One receiving element 36 receives captions sized data, first caption data and second caption data; And a detection module 38, the captions sized data according to receiving element 36 receives detects this first caption data and this second caption data, learns that a difference value is to judge a captions rolling information of this second caption data.
Wherein, after detection module 38 is learnt captions rolling information, the present invention further provides a superimposed unit 40, in order to receive the captions rolling information that a video decoding unit 28 is learnt in first caption data of temporary one first video signal datas of having deciphered of a video signal buffer 32 and one second video signal data, this captions frame buffer and second caption data and detection module 38, superimposed first video signal of difference and first caption data and second video signal, this second caption data be captions rolling information therewith, to export a broadcast unit to, carry out playback action.
Above-mentioned detection module 38 includes one first comparing unit, a counting unit, one second comparing unit and one the 3rd comparing unit, and wherein, the execution work of each unit can see the described content of Fig. 2 for details.
The devices and methods therefor of detection captions rolling of the present invention can be realized by carrying out firmware, can also be realized by logical circuit.
In sum, the invention relates to a kind of devices and methods therefor that detects captions rolling, it is providing by receiving element and detection module, detect first caption data and second caption data, to learn that second caption data is the captions effect that scrolls up, the captions effect and the captions rolling line number of downward scrolling, provide video-audio playing device to carry out captions simultaneously by this to amplify/when dwindling special efficacy, avoid reading of the block data taken out, reduce caption data and present jagged situation generation, the playback quality of viewing and admiring joyful degree and caption data with lifting.
Only the above, it only is preferred embodiment of the present invention, be not to be used for limiting scope of the invention process, all equalizations of doing according to the described shape of the present patent application claim, structure, feature and spirit change and modify, and all should be included in the claim scope of the present invention.

Claims (8)

1. a device that detects captions rolling is characterized in that, this device comprises:
One receiving element, in order to receive a captions sized data, one first caption data and one second caption data, wherein this captions sized data comprises a captions length parameter and a captions width parameter; And
One detection module according to the captions sized data of this receiving element, detects this first caption data and this second caption data, learns a difference value, and in order to judge a captions rolling information of this second caption data, this detection module specifically comprises:
One first comparing unit, according to this captions sized data, a plurality of capable block data of a plurality of capable block data of this first caption data and this second caption data relatively in regular turn;
One counting unit comprises a counter, equals the number of times of the capable block data of this first caption data continuously in order to the capable block data that writes down this second caption data;
One second comparing unit, the relatively value of this counter and a threshold value are for judging whether this second caption data has the captions rolling effect; And
One the 3rd comparing unit, when judging that according to this second comparing unit this second caption data has the captions rolling effect, delegation's numerical value at the capable block data place of the capable block data of this first caption data and this second caption data relatively is in order to learn this difference value.
2. the device of detection captions rolling as claimed in claim 1 is characterized in that, this device more comprises:
One captions decoding unit is deciphered a caption data string, produces this captions sized data, this first caption data and this second caption data.
3. the device of detection captions rolling as claimed in claim 1, it is characterized in that, wherein this line number value capable block data of being respectively this first caption data is positioned at the position of this first caption data, and the capable block data of this second caption data is positioned at the position of this second caption data.
4. the device of detection captions rolling as claimed in claim 1 is characterized in that, this captions rolling information is a captions rolling line number of this second caption data.
5. the device of detection captions rolling as claimed in claim 1 is characterized in that, this device is to be used for a digital medium player.
6. a method that detects captions rolling is characterized in that, this method comprises the following step:
Receive a captions sized data, one first caption data and one second caption data; And
According to this captions sized data, detect this first caption data and this second caption data is obtained a difference value, to judge a captions rolling information of this second caption data, specifically comprise the following step:
The a plurality of capable block data of a plurality of capable block data of this first caption data and this second caption data relatively in regular turn;
One counter is provided, the capable block data that writes down second caption data equals the number of times of the capable block data of first caption data continuously, when the capable block data of this second caption data equals the capable block data of this first caption data continuously, the value of this counter that adds up;
Relatively the value of this counter and a threshold value when the value of this counter equals this threshold value, judge that this second caption data has the captions rolling effect; And
When this second caption data had the captions rolling effect, relatively the capable block data of this first caption data equaled delegation's numerical value at the capable block data place of this second caption data, in order to learn this difference value.
7. the method for detection captions rolling as claimed in claim 6 is characterized in that, wherein, before the step that receives this captions sized data, this first caption data and this second caption data, more comprises a step:
Decipher a caption data string to produce this captions sized data, this first caption data and this second caption data.
8. the method for detection captions rolling as claimed in claim 6 is characterized in that, more comprises a step:
Store this first caption data and this second caption data in a captions frame buffer.
CNB2004100912475A 2004-11-17 2004-11-17 Apparatus and method for detecting captions rolling Active CN1324883C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100912475A CN1324883C (en) 2004-11-17 2004-11-17 Apparatus and method for detecting captions rolling

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100912475A CN1324883C (en) 2004-11-17 2004-11-17 Apparatus and method for detecting captions rolling

Publications (2)

Publication Number Publication Date
CN1615002A CN1615002A (en) 2005-05-11
CN1324883C true CN1324883C (en) 2007-07-04

Family

ID=34766275

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100912475A Active CN1324883C (en) 2004-11-17 2004-11-17 Apparatus and method for detecting captions rolling

Country Status (1)

Country Link
CN (1) CN1324883C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724444B (en) * 2011-05-17 2015-04-22 新奥特(北京)视频技术有限公司 Method and system for square object mode transformation of two-dimensional caption
CN102739975B (en) * 2011-05-17 2017-09-12 新奥特(北京)视频技术有限公司 A kind of method and system that dynamic two-dimensional caption is realized by data array
CN105068795A (en) * 2015-07-20 2015-11-18 上海幻电信息科技有限公司 Bullet screen effect-based development method and device
CN114697573A (en) * 2020-12-30 2022-07-01 深圳Tcl新技术有限公司 Subtitle generating method, computer device, computer-readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5500680A (en) * 1992-10-12 1996-03-19 Goldstar Co., Ltd. Caption display controlling device and the method thereof for selectively scrolling and displaying a caption for several scenes
CN1246236A (en) * 1996-12-19 2000-03-01 汤姆森消费电子有限公司 Method and apparatus for providing modulated scroll rate for text display
JP2002305729A (en) * 2001-04-06 2002-10-18 Nippon Television Network Corp Caption data converter
CN1432255A (en) * 2000-06-02 2003-07-23 汤姆森特许公司 Auxiliary information processing system with bitmapped on-screen display using limited computing resources

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5500680A (en) * 1992-10-12 1996-03-19 Goldstar Co., Ltd. Caption display controlling device and the method thereof for selectively scrolling and displaying a caption for several scenes
CN1246236A (en) * 1996-12-19 2000-03-01 汤姆森消费电子有限公司 Method and apparatus for providing modulated scroll rate for text display
CN1432255A (en) * 2000-06-02 2003-07-23 汤姆森特许公司 Auxiliary information processing system with bitmapped on-screen display using limited computing resources
JP2002305729A (en) * 2001-04-06 2002-10-18 Nippon Television Network Corp Caption data converter

Also Published As

Publication number Publication date
CN1615002A (en) 2005-05-11

Similar Documents

Publication Publication Date Title
CN1665293A (en) Apparatus and method for reproducing image
CN101076119A (en) Device and method for mpeg video playback
CN100407325C (en) System and method for providing high definition material on a standard definition compatible medium
CN1976414A (en) Image processing apparatus and image processing method
CN1595994A (en) Method and device for sharing dynamic video compression buffer
CN1284366C (en) Device for recording and/or reproducing digital data and control method thereof
CN1324883C (en) Apparatus and method for detecting captions rolling
CN1744698A (en) The video equipment of interlace-removing method and this interlace-removing method of employing
CN1779835A (en) Recording method, playback method, copyright management and playback device
CN1284182C (en) Image recording and reproducing system for displaying a state of recording medium and displaying method thereof
CN1798348A (en) Personal video recorder system and method for reproducing a signal in the system
CN1713711A (en) Moving image recording method
CN1154090C (en) Optical disk reproducing method and optical disk reproducing system
CN1767617A (en) Video reproducing apparatus
CN1645916A (en) Device and method for detecting real-time captions rolling
CN101042909A (en) Method for playing multimedia documentary of optical storage medium
CN1758772A (en) Method for synchronous playing video and audio of medium document and its system
CN1558670A (en) Apparatus and method for recording video data
CN1667736A (en) Optical recording and/or reproducing apparatus
CN1288906C (en) Method of replaying digital broadcast program at low speed
TWI245562B (en) Apparatus for detecting the scrolling of the caption and its method
CN1947196A (en) Record reproducing device, simultaneous record reproduction control method and simultaneous record reproduction control program
CN1592389A (en) Image reproducing device and image data reverse reproducing method
CN2755881Y (en) Multifunctional video-audio apparatus
CN1324886C (en) Processing device and method of digital video frequeney data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant