[go: up one dir, main page]

CN1992861A - Recording medium for storing subtitle data structure and method for playing the subtitle data - Google Patents

Recording medium for storing subtitle data structure and method for playing the subtitle data Download PDF

Info

Publication number
CN1992861A
CN1992861A CN 200510132781 CN200510132781A CN1992861A CN 1992861 A CN1992861 A CN 1992861A CN 200510132781 CN200510132781 CN 200510132781 CN 200510132781 A CN200510132781 A CN 200510132781A CN 1992861 A CN1992861 A CN 1992861A
Authority
CN
China
Prior art keywords
word
information
subtitle data
header
packet
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 200510132781
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.)
Industrial Technology Research Institute ITRI
Original Assignee
Industrial Technology Research Institute ITRI
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 Industrial Technology Research Institute ITRI filed Critical Industrial Technology Research Institute ITRI
Priority to CN 200510132781 priority Critical patent/CN1992861A/en
Publication of CN1992861A publication Critical patent/CN1992861A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)

Abstract

The present invention provides a recording medium storing a subtitle data structure for a video program and a method for playing subtitle data of the video program. Wherein the caption data structure of the video program comprises a plurality of word packets and background packets, and each word packet has a header containing information including start and end of time for displaying the word, X and Y coordinates of the word, X length, Y length, and color of the word, and pixel information for displaying the word. The subtitle data structure of the video program can save the media capacity required for storing the subtitle data. Meanwhile, when playing the caption data of the video program, it reads the multiple word packets stored in the medium, and determines the time of the word displayed on the screen according to the start and end information of the word time displayed in the header.

Description

储存字幕数据结构之记录媒体及播放该字幕数据之方法Recording medium for storing subtitle data structure and method for playing the subtitle data

技术领域technical field

本发明涉及一种储存视频节目之记录媒体及播放该视频节目之方法,且特别涉及一种储存视频节目之字幕数据结构之记录媒体及播放该视频节目之字幕数据之方法。The invention relates to a recording medium for storing video programs and a method for playing the video programs, and in particular to a recording medium for storing the subtitle data structure of the video programs and a method for playing the subtitle data of the video programs.

背景技术Background technique

在各种储存记录媒体中,光盘以其具有高容量、低成本以及容易携带等优点,已被普遍应用于各种领域。其应用领域包括数据储存、音乐聆听以及影片欣赏等。为了适应光盘片的特性,以及增加光盘片数据读取时的可靠性,预录型光盘片储存数据时,当碰到编码数据为1时通过高功率半导体激光器的激光(在775nm~795nm)在该光盘之有机染料记录面直接加热而烧出数据坑(Pit),而当碰到编码数据为0时,则不形成数据坑。Among various storage and recording media, optical discs have been widely used in various fields due to their advantages of high capacity, low cost and easy portability. Its applications include data storage, music listening, and video appreciation. In order to adapt to the characteristics of optical discs and increase the reliability of optical disc data reading, when pre-recorded optical discs store data, when the coded data is 1, the laser light (at 775nm~795nm) of the high-power semiconductor laser passes through the The organic dye recording surface of the optical disc is directly heated to burn out a data pit (Pit), and when the encoded data is 0, no data pit is formed.

当光盘播放机以较低功率的激光读取该光盘时,因数据坑(Pit)和原来的有机染料记录面具有不同的反射率,被烧出数据坑(Pit)的地方它会吸收部分的激光,而原来的表面不吸收而反射激光,光盘播放机藉以将不同的反射结果重制原来编码之数字数据(即由0与1所组成之一连串信息)。When the optical disc player reads the optical disc with a lower power laser, because the data pit (Pit) and the original organic dye recording surface have different reflectivity, it will absorb part of the burned out data pit (Pit) Laser light, and the original surface does not absorb but reflects laser light, and the CD player uses different reflection results to reproduce the original coded digital data (that is, a series of information composed of 0 and 1).

目前光盘之进展已是使用数字多功能光盘(digital versatile disk,DVD),其储存容量已达数GB足以将电影节目刻录在该DVD上。当DVD之视频节目播放时,在屏幕下方也同时出现一排字幕。而公知之显示该字幕之做法将叙述如下。请参照图1A,其为公知单一字幕之显示流程方块图。实际上,DVD之播放依次将内储之图像依次贴在屏幕上。例如,自记录媒体R1读取相应字A及其余空白之单一字幕封包,并在屏幕呈现解码后字幕图像S1。同时,又自记录媒体R1读取之背景封包A/V(Audio/Video),并在屏幕呈现解码后背景图像B1(其图像包括白云2及马),而字幕图像S1与背景图像B1经叠合器M之重叠形成输出图像O1。接着请参照图1B,为公知多个字幕之切换显示流程方块图。其中相对应之在记录媒体上的字幕数据结构如图1B下图所示。例如单字A之播放时间从tAs开始至tAe结束,该段时间称为“显示时段”(presenting timestamp,PTS)且“显示时段”储存在图像1封包F-P1之标头内。同样地,单字B之播放时间从tBs开始至tBe结束,且“显示时段”储存在图像2封包F-P2之标头内。就如图1A所示,公知单字A之字幕图像S1与解码后背景图像B1经第一叠合器M1之重叠形成第一输出图像O1。接着,时间轴至tAe,通过第一消除器E1将该第一输出图像O1消除,并重复另一单字B之显示流程;即自记录媒体读取相应字B及其余空白之单一字幕封包,并在屏幕呈现解码后字幕图像S2与该解码后背景图像B1经第二叠合器M2之重叠形成第二输出图像O2。然而,根据单字B“显示时段”至tBe结束而消失(由第二消除器执行),最后仅输出背景图像作为第三输出图像O3。由图1B明显示出,该字幕图像S1与字幕图像S2相同,即在整个底图框1(如虚线所示)内,除了单字A或B外其余空白。由于该空白区亦需将显示该空白区之空白像素信息编码压缩在DVD内,如此大幅增加媒体(如DVD)储存字幕所需之容量。The current development of optical discs is the use of digital versatile discs (digital versatile discs, DVDs), the storage capacity of which has reached several gigabytes, which is sufficient to record movies and programs on the DVD. When the DVD video program is playing, a row of subtitles will appear at the bottom of the screen. And the known way of displaying the subtitles will be described as follows. Please refer to FIG. 1A , which is a block diagram of a conventional single subtitle display process. In fact, DVD playback pastes the stored images on the screen sequentially. For example, a single subtitle packet corresponding to word A and other blank spaces is read from the recording medium R1, and the decoded subtitle image S1 is displayed on the screen. At the same time, read the background packet A/V (Audio/Video) from the recording medium R1, and present the decoded background image B1 (the image includes white cloud 2 and a horse) on the screen, and the subtitle image S1 and the background image B1 are superimposed The superposition of combiners M forms the output image O1. Next, please refer to FIG. 1B , which is a block diagram of a conventional switching and displaying process of multiple subtitles. The corresponding subtitle data structure on the recording medium is shown in the lower figure of FIG. 1B. For example, the playing time of word A starts from t As to ends at t Ae . This period of time is called "presenting timestamp" (PTS) and the "presenting timestamp" is stored in the header of the image 1 packet F-P1. Similarly, the playing time of word B starts at t Bs and ends at t Be , and the "display period" is stored in the header of the picture 2 packet F-P2. As shown in FIG. 1A , the subtitle image S1 of the known word A and the decoded background image B1 are overlapped by a first laminating device M1 to form a first output image O1. Then, the time axis reaches t Ae , the first output image O1 is eliminated by the first remover E1, and the display process of another word B is repeated; that is, the single subtitle packet of the corresponding word B and other blanks is read from the recording medium, And the decoded subtitle image S2 and the decoded background image B1 are superimposed on the screen to form a second output image O2 through the second compositor M2. However, disappear according to the word B "display period" until the end of t Be (executed by the second eliminator), and finally only the background image is output as the third output image O3. It is evident from FIG. 1B that the subtitle image S1 is the same as the subtitle image S2, that is, in the entire base frame 1 (shown by the dotted line), except for the word A or B, the rest are blank. Since the blank area also needs to encode and compress the blank pixel information displaying the blank area in the DVD, this greatly increases the capacity required for media (such as DVD) to store subtitles.

为了解决公知技术之问题,故有必要提供一种可大幅减少储存字幕所需之容量之储存视频节目之字幕数据结构之媒体及该视频节目之字幕数据之播放方法。In order to solve the problems of the known technology, it is necessary to provide a medium for storing the subtitle data structure of a video program and a playback method for the subtitle data of the video program, which can greatly reduce the capacity required for storing subtitles.

发明内容Contents of the invention

本发明之一目的是提供一种储存视频节目之字幕数据结构之记录媒体及播放该视频节目之字幕数据之方法。其中该视频节目之字幕数据结构包含多个单字封包及背景封包,且每一单字封包具有包含具有显示该单字时间之起始与结束,该单字之X与Y坐标,X长度,Y之长度及字之颜色等信息之标头,以及显示该单字之像素信息封包。藉此视频节目之字幕数据结构可使记录媒体节省储存字幕数据所需之容量。同时,在播放该视频节目之字幕数据时,读取该记录媒体所储存之多个单字封包,依据该标头内之显示该单字时间之起始与结束之信息,决定该单字显示在屏幕之时间。An object of the present invention is to provide a recording medium for storing the subtitle data structure of a video program and a method for playing the subtitle data of the video program. Wherein the subtitle data structure of the video program includes a plurality of single-word packets and background packets, and each single-word packet has the start and end of the time of displaying the single word, the X and Y coordinates of the single word, the length of X, the length of Y and The header of information such as the color of the word, and the pixel information packet displaying the word. The subtitle data structure of the video program can make the recording medium save the capacity required for storing the subtitle data. At the same time, when playing the subtitle data of the video program, read a plurality of word packets stored in the recording medium, and determine where the word is displayed on the screen according to the information of the start and end of the time of displaying the word in the header. time.

本发明之进一目的是提供一种储存视频节目之字幕数据结构之媒体及播放该视频节目之字幕数据之方法。其中,该字幕数据结构可为第一语言单字数据结构或第二语言单字数据结构。换言之,本发明可提供使用者选择所欲显示之语言字幕。本发明之字幕数据结构包括第一语言单字封包,背景封包及第二语言单字封包。其中该第一语言单字封包包含内存显示时段(PTS)之起始与结束信息和该第一语言单字之屏幕显示坐标X,Y信息之标头,以及显示该第一语言单字之像素信息;该第二语言单字封包包含内存显示时段(PTS)之起始与结束信息和该第二语言单字之屏幕显示坐标X,Y信息之标头,以及显示该第二语言单字之像素信息。故通过本发明之字幕数据结构,可达到大幅节省记录媒体(如video disk,VD)储存字幕所需之容量之功效。Another object of the present invention is to provide a medium for storing subtitle data structure of a video program and a method for playing the subtitle data of the video program. Wherein, the subtitle data structure may be a data structure of words in the first language or a data structure of words in the second language. In other words, the present invention can provide the user to select the language subtitles to be displayed. The subtitle data structure of the present invention includes a first language word pack, a background pack and a second language word pack. Wherein the first language word package includes the start and end information of the memory display period (PTS) and the screen display coordinates X of the first language word, the header of the Y information, and the pixel information displaying the first language word; The second language word packet includes the start and end information of the memory display period (PTS), the header of the screen display coordinates X, Y information of the second language word, and the pixel information displaying the second language word. Therefore, through the subtitle data structure of the present invention, the effect of greatly saving the capacity required for recording media (such as video disk, VD) to store subtitles can be achieved.

本发明之更进一目的是提供一种通过上述之字幕数据结构以播放该视频节目之字幕数据的方法。首先将自记录媒体读取之N个封包之每一封包之显示该单字之像素信息与标头分离出;接着,将每一封包之显示该单字之像素信息封包依次储存在图像数据缓冲区,而每一封包之标头依次储存在信息缓冲区;自该图像数据缓冲区取出第一像素(即第一单字)信息封包与第一标头;将系统计时时钟与第一标头内之显示时段(PTS)之起始相比较,若系统计时时钟≥显示时段(PTS)之起始,则依据该信息缓冲区内之信息,将第一单字贴至屏幕上;若当系统计时时钟=显示时段(PTS)之结束时,则由播放控制式停止显示该第一单字并继续自该图像数据缓冲区取出第二个单字之图像数据封包,并依据该信息缓冲区内之对应信息将第二单字贴至屏幕上。A further object of the present invention is to provide a method for playing the subtitle data of the video program through the above subtitle data structure. First, the pixel information and the header of each packet of the N packets read from the recording medium are separated from the header; then, the pixel information packets of each packet are sequentially stored in the image data buffer, The header of each packet is stored in the information buffer in turn; the first pixel (i.e. the first word) information packet and the first header are taken out from the image data buffer; the system timing clock and the display in the first header The beginning of the period (PTS) is compared, if the beginning of the system timing clock ≥ display period (PTS), then according to the information in the information buffer, the first word is pasted on the screen; if when the system timing clock=display At the end of the time period (PTS), the playback control formula stops displaying the first word and continues to take out the image data packet of the second word from the image data buffer, and sends the second word according to the corresponding information in the information buffer. Words are pasted on the screen.

为让本发明之上述和其它目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合附图,作详细说明如下。In order to make the above and other objects, features and advantages of the present invention more comprehensible, preferred embodiments are specifically cited below and described in detail with accompanying drawings.

附图说明Description of drawings

图1A为一种公知单一字幕之显示流程方块图。FIG. 1A is a block diagram of a conventional single subtitle display process.

图1B为一种公知多个字幕之切换显示流程方块图。FIG. 1B is a block diagram of a known process for switching and displaying multiple subtitles.

图2A为依据本发明较佳实施例之单一字幕之显示流程方块图。FIG. 2A is a block diagram of a single subtitle display process according to a preferred embodiment of the present invention.

图2B为依据本发明较佳实施例之多个字幕之切换显示流程方块图。FIG. 2B is a block diagram of the switching and displaying process of multiple subtitles according to a preferred embodiment of the present invention.

图3为依据本发明较佳实施例之储存信息节目之字幕数据结构。Fig. 3 is a subtitle data structure of a program storing information according to a preferred embodiment of the present invention.

图4为具有N个像素信息PN之图像数据缓冲区B1及具有N个标头HN之信息缓冲区B2。FIG. 4 is an image data buffer B1 with N pixel information PN and an information buffer B2 with N headers HN.

主要元件标记说明Description of main component marking

1.底图框1. Basemap frame

2.白云2. White clouds

具体实施方式Detailed ways

请参照图2B,其揭示依据本发明较佳实施例之储存信息节目之字幕数据结构的记录媒体,该记录媒体可为video disk,VD。该较佳实施例之视频节目之字幕数据结构包含多个单字封包及背景封包,且每一单字封包具有包含具有显示该单字时间之起始与结束(presenting time stamp,PTS)之标头,以及显示该单字之像素信息封包。为了易于理解本发明,现举以单字A为例。该记录媒体之字幕数据结构包含A单字之像素信息封包A-P及其包含单字显示时段(PTS)之标头及背景封包(A/V)。接着,请参照图2A,自记录媒体R1’读取相应字A且无空白区之单一字幕封包,并在屏幕呈现解码后字幕图像S1’(请注意其所占屏幕很小的区域)。同时,又自记录媒体R1’读取之背景封包A/V,并在屏幕呈现解码后背景图像B1’(其图像包括白云2及马),而该字幕图像S1’与该背景图像B1’经叠合器M之重叠形成输出图像O1’。Please refer to FIG. 2B, which discloses a recording medium for storing the subtitle data structure of an information program according to a preferred embodiment of the present invention. The recording medium can be a video disk, VD. The subtitle data structure of the video program of this preferred embodiment comprises a plurality of single-word packets and background packets, and each single-word packet has a header that includes the beginning and end (presenting time stamp, PTS) of displaying the time of the single word, and Displays the pixel information packet of the word. In order to understand the present invention easily, give with single character A as example now. The subtitle data structure of the recording medium includes pixel information packets A-P of word A and header and background packets (A/V) including word display period (PTS). Next, please refer to FIG. 2A , read the single subtitle packet corresponding to word A and without blank space from the recording medium R1', and present the decoded subtitle image S1' on the screen (please note that it occupies a small area of the screen). At the same time, read the background packet A/V from the recording medium R1', and present the decoded background image B1' (the image includes Baiyun 2 and the horse) on the screen, and the subtitle image S1' and the background image B1' are passed The superposition of the laminater M forms the output image O1'.

比较图1A与图2A,可知依本发明之之储存信息节目之字幕数据结构将具有节省对应显示该空白区之空白像素信息所需之记录媒体容量的功效。当欲显示不同单字之出现时段时,请参照图2B,其中图2B之下图显示记录媒体如VD,包括A单字之像素信息封包A-P及其包含单字显示时段(PTS)之标头及背景封包(A/V)及B单字之像素信息封包B-P及其包含单字显示时段(PTS)之标头。由图2B之时间轴可明显示出,该A单字出现时段从t=tAs’至t=tAe’,而该B单字出现时段从t=tBs’至t=tBe’,因此A与B两单字同时出现时段从t=tBs’至t=tAe’。换言之,从屏幕上可示单字A图像S1’与该背景图像B1’经叠合器M1之重叠形成输出图像O1’。当时间轴到t=tBs’时单字B图像S1’与该输出图像O1’经第二叠合器M2重叠而形成如O2’所示之同时出现A与B两单字之第二输出图像。再当时间轴到t=tAe’时,单字A被第一消除器加以消除而消失,仅输出单字B之第三输出图像O3’。由于单字B之出现时段从t=tBs’至t=tBe’,因此当时间轴到t=tBe’时,单字B被第二消除器加以消除而消失,最后仅输出第四输出图像O4’之背景图像。Comparing Fig. 1A with Fig. 2A, it can be seen that the subtitle data structure of the stored information program according to the present invention has the effect of saving the recording medium capacity required to display the blank pixel information corresponding to the blank area. When wanting to display the appearance period of different words, please refer to Figure 2B, wherein the lower figure of Figure 2B shows the recording medium such as VD, including the pixel information packets A-P of A word and the header and background packet including the word display period (PTS) Pixel information packets B-P of (A/V) and B words and their headers including the word display period (PTS). It can be clearly shown from the time axis of Fig. 2B that the occurrence period of the A word is from t=tAs' to t=tAe', and the appearance period of the B word is from t=tBs' to t=tBe', so the A and B two words The simultaneous occurrence period is from t=tBs' to t=tAe'. In other words, it can be seen from the screen that the word A image S1' and the background image B1' are superimposed through the laminating device M1 to form an output image O1'. When the time axis reaches t=tBs', the word B image S1' and the output image O1' overlap through the second laminating device M2 to form a second output image in which the words A and B appear simultaneously as shown in O2'. When the time axis reaches t=tAe', the word A is eliminated by the first eliminator and disappears, and only the third output image O3' of the word B is output. Since the appearance period of the word B is from t=tBs' to t=tBe', when the time axis reaches t=tBe', the word B is eliminated by the second eliminator and disappears, and finally only the fourth output image O4' is output background image.

与公知DVD字幕数据结构相比,本发明因A单字之像素信息封包A-P及B单字之像素信息封包B-P仅包含A与B单字之像素信息并不需要将底图框1内之剩余空白区之对应像素信息编码压缩在记录媒体内,故可大幅减少记录媒体(如VD)储存字幕所需之容量。Compared with the known DVD subtitle data structure, the present invention does not need to divide the remaining blank area in the bottom image frame 1 because the pixel information packet A-P of word A and the pixel information packet B-P of word B only include the pixel information of word A and B. The corresponding pixel information is coded and compressed in the recording medium, so the capacity required for storing subtitles in the recording medium (such as VD) can be greatly reduced.

同时图2B中之A与B两单字亦可适用在当记录媒体提供多种语言字幕时,则其字幕数据结构包括第一语言单字封包(其相当于单字A封包),背景封包A/V及第二语言单字封包(其相当于单字B封包),则图2B之数据结构变为图3。请参照图3,其中该第一语言单字封包包含内存显示时段(PTS)之起始与结束0信息和该第一语言单字之屏幕显示坐标X,Y信息之标头,以及显示该第一语言单字之像素信息封包C-P1;该第二语言单字封包包含内存显示时段(PTS)之起始与结束信息和该第二语言单字之屏幕显示坐标X,Y信息之标头,以及显示该第二语言单字之像素信息封包C-P2。Simultaneously A and B two individual words among Fig. 2B also can be applicable to when recording medium provides multilingual subtitle, then its subtitle data structure comprises first language individual word package (it is equivalent to individual word A package), background package A/V and For the second language single-word packet (which is equivalent to the single-word B packet), the data structure in FIG. 2B becomes FIG. 3 . Please refer to Fig. 3, wherein this first language individual word packet comprises the start and end 0 information of memory display period (PTS) and the screen display coordinate X of this first language individual word, the header of Y information, and display this first language The pixel information package C-P1 of the word; the second language word package includes the start and end information of the memory display period (PTS) and the screen display coordinates X of the second language word, the header of the Y information, and displays the second language word Pixel information packet C-P2 of a word in a second language.

若使用者例如,已选择第一语言(如中文)字幕,则记录媒体播放时,控制播放程序则仅读取第一语言单字封包并将其像素信息封包C-P1解码,以显示第一语言单字在屏幕上。由于本发明之第一语言单字封包之像素信息仅该第一语言单字之像素信息并不需要将底图框1内之剩余空白区之对应像素信息编码压缩在记录媒体内;同样地,第二语言单字封包亦是如此。故本发明之可切换多种语言字幕之字幕数据结构也较公知者大幅减少记录媒体(如VD)储存字幕所需之容量。故通过本发明之字幕数据结构,可达到大幅减少记录媒体(如VD)储存字幕所需之容量之功效。If the user, for example, has selected the first language (such as Chinese) subtitles, then when the recording medium is played, the control player program only reads the first language single word packet and decodes its pixel information packet C-P1 to display the first language Words on the screen. Because the pixel information of the first language single word package of the present invention is only the pixel information of this first language single word, it is not necessary to encode and compress the corresponding pixel information of the remaining blank area in the base frame 1 in the recording medium; similarly, the second The same is true for language word packs. Therefore, the subtitle data structure of the present invention that can switch multi-language subtitles also greatly reduces the capacity required for recording media (such as VD) to store subtitles. Therefore, through the subtitle data structure of the present invention, the effect of greatly reducing the capacity required for recording media (such as VD) to store subtitles can be achieved.

本发明又提供一种播放记录媒体视频节目之字幕数据之方法。该方法包括:首先将自记录媒体依次读取之N个单字封包,且读取同时也依次将每一单字封包之显示该单字之像素信息封包与标头分离出;接着,如图4所示,将被依次分离之显示该单字之像素信息封包依次储存在图像数据缓冲区B1内并编号为第一像素信息封包P1,第二像素信息封包P2...一直至第N像素信息封包PN。且被依次分离之标头依次储存在信息缓冲区B2内并编号为第一标头H1,第二标头H2...一直至第H标头HN,其中标头包含显示时段(PTS)之起始(PTS-S)与结束信息(PTS-E),该单字之屏幕显示坐标X,Y(x,y)信息,X长度(XL),Y长度(YL)及该单字之显示颜色(C)等信息。The present invention also provides a method for playing subtitle data of recorded media video programs. The method comprises: first reading N single-word packets sequentially from the recording medium, and reading also sequentially separating the pixel information packet and the header of each single-word packet showing the single word; then, as shown in Figure 4 The sequentially separated pixel information packets displaying the word are sequentially stored in the image data buffer B1 and numbered as the first pixel information packet P1, the second pixel information packet P2... until the Nth pixel information packet PN. And the headers that are sequentially separated are stored in the information buffer B2 and numbered as the first header H1, the second header H2... until the H-th header HN, wherein the header includes the display period (PTS) Start (PTS-S) and end information (PTS-E), the screen display coordinates X, Y (x, y) information of the word, X length (XL), Y length (YL) and the display color of the word ( C) and other information.

接着,自该图像数据缓冲区取出第一像素信息封包P1(即内含第一单字之像素)与第一标头;将系统计时时钟(即记录媒体播放机之系统时钟)与第一标头内之显示时段(PTS)之起始相比较,若系统计时时钟≥显示时段(PTS)之起始(即表示记录媒体播放仍在进行中),则依据该信息缓冲区内之信息,将第一单字贴至屏幕上;若当系统计时时钟=显示时段(PTS)之结束时,则由播放控制式停止显示该第一单字;然后重复前一步骤,使得第二单字显示屏幕上,一直到第N单字显示屏幕上为止。Then, take out the first pixel information packet P1 (that is, the pixel containing the first word) and the first header from the image data buffer; the system timing clock (that is, the system clock of the recording media player) and the first header Compared with the start of the display period (PTS) in the system, if the system timing clock ≥ the start of the display period (PTS) (that is, the playback of the recording medium is still in progress), then according to the information in the information buffer, the first A single word is pasted on the screen; If when the end of system timing clock=display period (PTS), then stop displaying this first single word by the play control formula; Then repeat the previous step, make on the second single word display screen, until The Nth word is displayed on the screen so far.

综上所述,本案较公知者具有下列之优点:In summary, this case has the following advantages over the known ones:

1.与公知DVD字幕数据结构相比,因本发明之视频节目之字幕数据结构中之各单字之像素信息并不包含底图框内之剩余空白区之对应像素信息,故可大幅减少记录媒体(如VD)储存字幕所需之容量。1. Compared with the known DVD subtitle data structure, because the pixel information of each word in the subtitle data structure of the video program of the present invention does not include the corresponding pixel information of the remaining blank area in the base frame, the recording medium can be greatly reduced (such as VD) the capacity required to store subtitles.

2.在记录媒体之可切换多语言字幕之字幕数据结构中,由于本发明之第一语言单字封包之像素信息仅该第一语言单字之像素信息并不需要将底图框内之剩余空白区之对应像素信息编码压缩在记录媒体内。故本发明之可切换多种语言字幕之字幕数据结构也较公知者大幅减少记录媒体(如VD)储存字幕所需之容量。2. In the subtitle data structure of the switchable multilingual subtitle of the recording medium, since the pixel information of the first language word package of the present invention is only the pixel information of the first language word, it is not necessary to use the remaining blank area in the base frame The corresponding pixel information is coded and compressed in the recording medium. Therefore, the subtitle data structure of the present invention that can switch multi-language subtitles also greatly reduces the capacity required for recording media (such as VD) to store subtitles.

虽然本发明已以较佳实施例披露如上,然其并非用以限定本发明,任何所属技术领域的技术人员,在不脱离本发明之精神和范围内,当可作些许之更动与改进,因此本发明之保护范围当视权利要求所界定者为准。Although the present invention has been disclosed above with preferred embodiments, it is not intended to limit the present invention. Any person skilled in the art may make some modifications and improvements without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention should be defined by the claims.

Claims (8)

1.一种储存视频节目之字幕数据结构之记录媒体,其特征是该字幕数据结构包括:1. A recording medium for storing subtitle data structures of video programs, characterized in that the subtitle data structures include: 多个单字封包,其中每一单字封包具有包含具有显示该单字时间之起始与结束之标头,以及显示该单字之像素信息封包;及a plurality of word packets, wherein each word packet has a header including a start and end time indicating the word, and a pixel information packet indicating the word; and 背景封包,通过该显示该单字之像素信息封包并不包含显示底图框内之剩余空白区之对应像素信息,以达大幅减少媒体储存字幕数据所需容量之功效。The background packet, through which the pixel information packet displaying the word does not include the corresponding pixel information of the remaining blank area in the display frame, achieves the effect of greatly reducing the capacity required by the media to store subtitle data. 2.根据权利要求1所述之储存视频节目之字幕数据结构之记录媒体,其特征是该媒体为图像光盘。2. The record medium for storing subtitle data structure of video programs according to claim 1, characterized in that the medium is an image disc. 3.根据权利要求1所述之储存视频节目之字幕数据结构之记录媒体,其特征是该标头还进而包含该单字之屏幕显示坐标X,Y信息,X长度,Y长度及该单字之显示颜色信息。3. The recording medium for storing the subtitle data structure of a video program according to claim 1, characterized in that the header further includes the screen display coordinates X and Y information of the word, the X length, the Y length and the display of the word color information. 4.一种储存视频节目之可切换两种语言字幕的字幕数据结构之记录媒体,其特征是该字幕数据结构包括:4. A recording medium for storing subtitle data structures of subtitles in two languages that can switch subtitles of video programs, characterized in that the subtitle data structures include: 第一语言单字封包,其包含内存显示时段之起始与结束信息和该第一语言单字之屏幕显示坐标X,Y信息之标头,以及显示该第一语言单字之像素信息;The first language word package, which includes the start and end information of the memory display period and the screen display coordinates X and Y information header of the first language word, and the pixel information displaying the first language word; 背景封包;background packet; 第二语言单字封包,其包含内存显示时段之起始与结束信息和该第二语言单字之屏幕显示坐标X,Y信息之标头,以及显示该第二语言单字之像素信息。The second language word package, which includes the start and end information of the memory display period, the header of the screen display coordinates X, Y information of the second language word, and the pixel information displaying the second language word. 5.根据权利要求4所述之储存视频节目之可切换两种语言字幕的字幕数据结构之记录媒体,其特征是该记录媒体为图像光盘。5. The record medium for storing the subtitle data structure of subtitles in two languages that can switch subtitles of video programs according to claim 4, characterized in that the record medium is an image disc. 6.根据权利要求4所述之储存视频节目之可切换两种语言字幕的字幕数据结构之记录媒体,其特征是该标头还进而包含该X长度,该Y长度及该单字之显示颜色信息。6. The recording medium for storing the subtitle data structure of the switchable subtitles in two languages for storing video programs according to claim 4, characterized in that the header further includes the X length, the Y length and the display color information of the word . 7.一种播放具有视频节目之字幕数据的记录媒体之方法,其特征是包括:7. A method of playing a recording medium having subtitle data of a video program, characterized in that it comprises: 自该记录媒体依次读取之N个单字封包,且同时依次将每一单字封包之显示该单字之像素信息封包与标头分离出;Reading N single-word packets sequentially from the recording medium, and simultaneously sequentially separating the pixel information packet and the header of each single-word packet showing the word; 将被依次分离之显示该单字之像素信息封包依次储存在图像数据缓冲区并编号为第一像素信息封包,第二像素信息封包...一直至第N像素信息封包,且被依次分离之标头依次储存在信息缓冲区内并编号为第一标头,第二标头H2...一直至第H标头;The pixel information packets that are sequentially separated to display the word are stored in the image data buffer and numbered as the first pixel information packet, the second pixel information packet... until the Nth pixel information packet, and are sequentially separated. The headers are sequentially stored in the information buffer and numbered as the first header, the second header H2... until the H header; 自该图像数据缓冲区取出第一像素信息封包(即内含第一单字之像素信息)与第一标头;Take out the first pixel information packet (that is, contain the pixel information of the first word) and the first header from the image data buffer; 将系统计时时钟与第一标头内之显示时段(PTS)之起始相比较,若系统计时时钟≥显示时段(PTS)之起始,则依据该信息缓冲区内之信息,将第一单字贴至屏幕上;当系统计时时钟等于显示时段之结束时,则由播放控制式停止显示该第一单字;及Compare the system timing clock with the start of the display period (PTS) in the first header, if the system timing clock ≥ the start of the display period (PTS), then according to the information in the information buffer, the first word Paste it on the screen; when the system timing clock is equal to the end of the display period, the playback control will stop displaying the first word; and 然后重复前一步骤,使得第二单字显示屏幕上,一直到第N单字显示屏幕上为止。Then repeat the previous step, so that on the second individual character display screen, until on the Nth individual character display screen. 8.根据权利要求7所述之方法,其特征是标头包含显示时段之起始与结束信息,该单字之屏幕显示坐标X,Y信息,X长度,Y长度及该单字之显示颜色等信息。8. The method according to claim 7, characterized in that the header includes the start and end information of the display period, the screen display coordinates X and Y information of the word, the X length, the Y length and the display color of the word and other information .
CN 200510132781 2005-12-26 2005-12-26 Recording medium for storing subtitle data structure and method for playing the subtitle data Pending CN1992861A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200510132781 CN1992861A (en) 2005-12-26 2005-12-26 Recording medium for storing subtitle data structure and method for playing the subtitle data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200510132781 CN1992861A (en) 2005-12-26 2005-12-26 Recording medium for storing subtitle data structure and method for playing the subtitle data

Publications (1)

Publication Number Publication Date
CN1992861A true CN1992861A (en) 2007-07-04

Family

ID=38214751

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200510132781 Pending CN1992861A (en) 2005-12-26 2005-12-26 Recording medium for storing subtitle data structure and method for playing the subtitle data

Country Status (1)

Country Link
CN (1) CN1992861A (en)

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
CN102014258B (en) * 2009-09-07 2013-01-16 艾比尔国际多媒体有限公司 Multimedia caption display system and method
WO2015089746A1 (en) * 2013-12-17 2015-06-25 Intel Corporation Techniques for processing subtitles
CN106652983A (en) * 2016-09-18 2017-05-10 福建网龙计算机网络信息技术有限公司 Subtitling method and subtitling system
WO2017157168A1 (en) * 2016-03-18 2017-09-21 中兴通讯股份有限公司 Method, terminal, system and computer storage medium for video calling

Cited By (7)

* 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
CN102014258B (en) * 2009-09-07 2013-01-16 艾比尔国际多媒体有限公司 Multimedia caption display system and method
WO2015089746A1 (en) * 2013-12-17 2015-06-25 Intel Corporation Techniques for processing subtitles
US9800801B2 (en) 2013-12-17 2017-10-24 Intel Corporation Techniques for processing subtitles
WO2017157168A1 (en) * 2016-03-18 2017-09-21 中兴通讯股份有限公司 Method, terminal, system and computer storage medium for video calling
CN107205131A (en) * 2016-03-18 2017-09-26 中兴通讯股份有限公司 A kind of methods, devices and systems for realizing video calling
CN106652983A (en) * 2016-09-18 2017-05-10 福建网龙计算机网络信息技术有限公司 Subtitling method and subtitling system

Similar Documents

Publication Publication Date Title
CN101582982B (en) Recording medium and method, reproduction apparatus and method, program and integrated circuit
CN1922681A (en) Information storage medium having recorded thereon text subtitle data synchronized with AV data, and reproducing method and apparatus therefor
RU2008110824A (en) MEMORABLE MEDIA CONTAINING A STREAM OF INTERACTIVE GRAPHICS AND A DEVICE FOR ITS PLAYBACK
CN1209916C (en) Arrangement for vecording navigation information in data recorder
RU2008108075A (en) RECORDING MEDIA, PLAYBACK DEVICE, RECORDING METHOD, INTEGRAL DIAGRAM, PROGRAM AND PLAYBACK METHOD
CN1914912A (en) Text subtitle decoder and method for decoding text subtitle streams
JP2000152179A (en) Video data reproducing method, video data reproducing device, video data recording method and video data recorder
RU2005131087A (en) RECORDING MEDIA WITH DATA STRUCTURE FOR MANAGING PLAYBACK OF DATA OF TEXT SUBTITLES AND METHODS AND DEVICES OF RECORDING AND PLAYBACK
KR100604831B1 (en) Audio / video playback device and method for synchronizing additional video and text with audio
TWI405200B (en) Recording medium and method, reproduction apparatus and method, and computer-readable program
CN1992861A (en) Recording medium for storing subtitle data structure and method for playing the subtitle data
CN1574938A (en) Method of processing subtitle stream, reproducing apparatus and information storage medium thereof
US7848615B2 (en) Medium for storing subtitle data structure of an audio/ video program and method for displaying the same
US20070009181A1 (en) Efficient and high speed 2D data transpose engine for SOC application
RU2347283C2 (en) Carrier of record having structure of data for guidance by reproduction of given text subtitles written down on it, methods and devices for record and reproduction
US7295207B2 (en) Method for managing animation chunk data and its attribute information for use in an interactive disc
JP2010081149A (en) Information-recording and reproducing device
JP2008035535A (en) Method and apparatus for managing animation data of interactive optical disc
US20040146281A1 (en) Method and apparatus for managing animation data of an interactive disc
CN1787630A (en) Control method and audio-visual playback device using subtitle corresponding time as audio-visual playback
CN100555435C (en) Method for selecting video program menu using storage device
CN1180403C (en) Optical disc reproducing system and method for reproducing still images
JP2005167426A (en) Video reproducer and reproducing method
CN100433177C (en) Recording and reproducing apparatus
TWI312992B (en) Video disc containing description data structure for displaying a menu and method for selecting an option of the menu from the video disc

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication