Recording medium having a data structure for managing reproduction of text subtitle data and methods and apparatuses of recording and reproducing

In the a data structure, a subtitle area of the recording medium stores a text subtitle stream including text subtitle data and at least one of global style information and local style information. The global style information provides at least one of composition information and rendering information, and the local style information provides font information for at least a portion of the text subtitle data.

FOREIGN PRIORITY

The present invention claims priority under 35 U.S.C. 119 on Korean Application No. 10-2003-022390 filed Apr. 9, 2003; the contents of which are incorporated by reference in their entirety.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a recording medium having a data structure for managing reproduction of text subtitle data and methods and apparatuses of recording and reproducing.

2. Description of the Related Art

Optical disks capable of storing large amounts of high-quality digital video/audio data, for example, DVDs (digital versatile disks), and DVD recording/reproducing apparatuses are now commercially available.

Text subtitle data, such as caption data to be superimposed on main video data is recorded on a DVD as image data (e.g., BMP data). An optical disk reproducing apparatus reproduces the subtitle image data along with the main video data from the DVD and displays the main data and text subtitle data on an external display apparatus connected to the optical disk reproducing apparatus.

A user of such an optical disk reproducing apparatus, therefore, can view the main video data of a DVD overlaid with related subtitle text data using a display apparatus.

Recently, the standardization of new high-density optical disks having higher recording density than a DVD has been progressing rapidly. The Blu-ray Disc ROM (BD-ROM) is one example of these new optical disks. In addition, methods for managing text subtitle data, which are capable of displaying the main video data of a BD-ROM with superimposed captions by recording image data of subtitles on the BD-ROM (e.g., BMP data), and control information, for display control of the image data on the BD-ROM, have been proposed.

In the case where the text subtitle data is recorded as image data such as BMP data, the character attributes of the recorded text subtitle data (e.g., the character font and the character size) cannot be changed or a large amount of image data for displaying the subtitle in various ways is additionally required. A method of effectively managing text subtitle data for a high-density recording medium such as an optical disk is not yet available.

SUMMARY OF THE INVENTION

The recording medium according to the present invention includes a data structure for managing reproduction of text subtitle data.

In one embodiment, the recording medium includes a subtitle area storing a text subtitle stream. The text subtitle stream includes text subtitle data and at least one of global style information and local style information. The global style information provides at least one of composition information and rendering information, and the local style information provides font information for at least a portion of the text subtitle data.

For example, in one embodiment, the composition information includes position information for positioning a text subtitle represented by the text subtitle data on a display.

As another example, in one embodiment, the rendering information includes a display effect of the text subtitle data.

As an example of the font information, one embodiment discloses the font information of font, font size and a font style.

The present invention further provides apparatuses and methods for recording and reproducing the data structure according to the present invention, and recording and reproducing data streams according to the present invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

In order that the invention may be fully understood, exemplary embodiments thereof will now be described with reference to the accompanying drawings.

FIG. 1illustrates an example embodiment of a data structure recorded on a recording medium for managing reproduction of text subtitle data. In this and the following examples, a BD-ROM will be cited as the high density recording medium; however, the present invention is not limited to this example. As shown inFIG. 1, a PES (packetized elementary stream) packet for a subtitle of a BD-ROM includes a text segment, a BMP segment, and a display control sequence segment.

The text segment includes the number of character codes, a unique object ID for each text object and a plurality of character codes for each character code number. The BMP segment includes BMP data and a unique object ID for each BMP object.

The display control sequence segment includes display control information for a number of display sequences. The display control information includes, for example, cut-in time and cut-out time of a subtitle, a unique object ID to which each display control sequence applies, etc.

The PES packet of the subtitle also includes, among other things not shown for the sake of brevity, a presentation time stamp (PTS), a flag (or an indicator) text_presence_flag indicating whether a text segment exists in the subtitle PES, a flag (or indicator) BMP_presence_flag indicating whether a BMP segment exists in the subtitle PES, the number of text objects included in the subtitle PES, and the number of BMP objects included in the subtitle PES.

The PES packet further includes a page composition segment providing composition and rending information for an entire page or display screen, a global palette providing color information, and a global transparency array providing transparency information. For the sake of brevity, these elements not directly related to subject matter of the present invention, will not be described in detail.

The PES packet additionally includes a region composition segment. For each object in a number of objects, the region composition segment provides a unique object ID, and horizontal and vertical positioning on a display of the object region identified by the object ID.

FIG. 2graphically illustrates the text subtitle PES packet ofFIG. 1and further shows global display control information included in this data structure. As shown, the PES packet is recorded on a BD-ROM as a plurality of transport packets, each having 188 bytes. Null data may be stuffed into a transport packet for making its size 188 bytes. The global display control information provides for display control of the character codes included in the text segment and includes timing information, composition information and rendering information. For example, the composition information may include text position information for positioning a text subtitle or caption represented by the text subtitle data (e.g., character codes) on a display. The rendering information may include display effect information, etc.

As shown inFIG. 2, the global display control information may be written in the text segment. For example, the global display control information may be included in the text data of the character codes or stored separately from the text data.

Alternatively, the global display control information may be written in the display control sequence segment as shown inFIG. 3.

The data structure for managing the text subtitle may also include local display control information, which is different from the global display control information. Local control information provides font information for at least a portion of the text subtitle data (e.g., the character codes). The font information may include attributes of the character codes such as the text font, the text or font size, font style (e.g., italic, bold, underline, etc.), etc.

FIG. 4illustrates an example of local display control information included in the text data of the character codes. The local control information provides font information for at least a portion of the text subtitle data (e.g., the character codes) sequentially recorded after the local control information. In this example, character codes ‘0x41’ (A) and ‘0x42’ (B) have control codes ‘0x00’ (escape code), ‘0x11’ (italic function), and ‘0x01’ (italic on) recorded prior to and in association therewith such that these characters are displayed as italic characters ‘A’ and ‘B’. Similarly, the same subsequent character codes have control codes ‘0x00’ (escape code), ‘0x11’ (italic function), and ‘0x00’ (italic off) recorded prior to and in association therewith such that these characters are displayed as normal characters ‘A’ and ‘B’.

FIG. 5illustrates an example of local display control information included in the display control sequence segment. In this example, a second set of character codes ‘0x41’ (A) and ‘0x42’ (B) have a segment ID of ‘1’, and the DCSS includes local display control information having a matching the segment ID (i.e., ‘1’) and font information. Here, in this example, the font information is shown to be ‘Italic on’. Accordingly, the characters ‘A’ and ‘B’ are displayed based on the local display control information having the matching segment ID. In this case, characters ‘A’ and ‘B’ are displayed as italics.

As another example, a third set of character codes ‘0x41’ (A) and ‘0x42’ (B) have the text segment ID ‘2’. The DCSS includes local display control information having the same ‘2’ text segment ID. As shown inFIG. 5, the font information in this local display control information is ‘Italic off’. As such, normal face characters ‘A’ and ‘B’ are displayed.

FIG. 6illustrates another example where local display control information is written in the text segment; however, in this embodiment, the local display control information is written separately from the text data of character codes. Here, the data structure of the local display control information is the same as that ofFIG. 5, except that the local display control information further includes a length indicator. The length indicator indicates the number of characters in the associated portion of the text data (e.g., character codes) affected by the local display control information. In the example ofFIG. 6, if the character codes ‘0x41’ (A) and ‘0x42’ (B) are preceded by the text segment ID ‘1’ and the local display control information with the same text segment ID indicates ‘italic on’ and ‘length=2’, then the ‘data: 0x41, 0x42’, (i.e., characters ‘A’ and ‘B’) are displayed in italics.

On the other hand, as shown inFIG. 6, if the character codes ‘0x41’ (A) and ‘0x42’ (B) are preceded by the text segment ID and the local display control information with the same text segment ID indicates ‘italic off’ and ‘length=2’, then the ‘data: 0x41, 0x42’ with normal face characters ‘A’ and ‘B’ are displayed.

FIG. 7illustrates a block diagram of an exemplary optical disk reproducing apparatus in which the present invention may be advantageously embodied. As shown, the reproducing apparatus includes demux101, a text decoder102, a text image buffer121, a BMP decoder131, a BMP buffer141, and an image controller151.

The demux101receives data reproduced from the optical disk such as a BD-ROM by an optical pick-up (not shown) and demultiplexes the PES packet of a text subtitle into a text segment, a BMP segment, and a display control segment based on the sequence type information included in the PES packet (not shown) identifying the PES packet as a text subtitle PES.

The text decoder102comprises a text demux110and a text image generator111. The text demux110demultiplexes the text segment from the demux101into text data of character codes and local display control information. The text image generator111converts the text data into text images based on the local display control information.

With reference to the local display control information such as the text font, the text size, italic, bold, and underline, the text image generator111decodes and converts the text data into corresponding text images, which are then temporarily stored in the text image buffer12.

The BMP decoder131decodes the BMP data included in the BMP segment and outputs BMP images. The BMP buffer141stores the BMP images temporarily.

When the global display control information is stored with the text segment as shown inFIG. 2, the text demux110also demultiplexes this information from the text segment, and outputs (not shown) this information to the image controller151. However, when the global display control information is stored with the display control sequence segment as shown inFIG. 3, the demux101demultiplexes the global display control information along with the display control segment, and output this information to the image controller151as shown inFIG. 7.

The image controller151reads the text images temporarily stored in the text buffer121and the BMP images temporarily stored in the BMP buffer141, and controls the display of the test and BMP images based on the display control sequence segment received from the demux101and the global display control information received from the text demux110or the demux101.

While not shown, the local display control information may include timing information, which is different from the timing information for controlling the display timing of the subtitle images. This local display control timing information is intended for controlling the color changing timing of characters included in the subtitle.

FIG. 8illustrates a schematic diagram of an embodiment of an optical disk recording and reproducing apparatus according to the present invention. As shown, an AV encoder9receives and encodes data (e.g., still image data, audio data, text subtitle data etc.). The AV encoder9outputs the encoded data along with coding information and stream attribute information. A multiplexer8multiplexes the encoded data based on the coding information and stream attribute information to create, for example, an MPEG-2 transport stream. A source packetizer7packetizes the transport packets from the multiplexer8into source packets in accordance with the audio/video format of the optical disk. As shown inFIG. 7, the operations of the AV encoder9, the multiplexer8and the source packetizer7are controlled by a controller10. The controller10receives user input on the recording operation, and provides control information to AV encoder9, multiplexer8and the source packetizer7. For example, the controller10instructs the AV encoder9on the type of encoding to perform, instructs the multiplexer8on the transport stream to create, and instructs the source packetizer7on the source packet format. The controller10further controls a drive3to record the output from the source packetizer7on the optical disk.

For example, based on information received via the user interface (e.g., instruction set saved on disk, provided over an intranet or internet by a computer system, etc.) the controller10controls the drive3to record one or more of the data structures ofFIGS. 1-6on the optical disk.

During reproduction, the controller10controls the drive3to reproduce this data structure. Based on the information contained therein, as well as user input received over the user interface (e.g., control buttons on the recording and reproducing apparatus or a remote associated with the apparatus), the controller10controls the drive3to reproduce the data from the optical disk.

The reproduced source packets are received by a source depacketizer4and converted into a data stream (e.g., an MPEG-2 transport packet stream). A demultiplexer5demultiplexes the data stream into encoded data. An AV decoder6decodes the encoded data to produce the original data that was feed to the AV encoder9. During reproduction, the controller10controls the operation of the source depacketizer4, demultiplexer5and AV decoder6. The controller10receives user input on the reproducing operation, and provides control information to AV decoder6, demultiplexer5and the source packetizer4. For example, the controller10instructs the AV decoder9on the type of decoding to perform, instructs the demultiplexer5on the transport stream to demultiplex, and instructs the source depacketizer4on the source packet format. As will be appreciated, the logical blocks of this embodiment may be structured in accordance with the physical structure described in detail with respect toFIG. 7.

WhileFIG. 8has been described as a recording and reproducing apparatus, it will be understood that only a recording or only a reproducing apparatus may be provided using those portions ofFIG. 8providing the recording or reproducing function.

The data structure for and method for managing text subtitle data on a high-density recording medium in accordance with embodiments of the present invention allows effective management of the reproduction of the text subtitle data. For example, reproducing a subtitle in accordance with the present invention allows subtitle data to be recorded as text data, the size of which will be less than image data, and the text data may be displayed as various subtitles based on the control information.

As apparent from the above description, the present invention provides methods and apparatuses for recording a data structure on a high density recording medium for managing reproduction of text subtitle data.

The above description further provides methods and apparatus for reproducing text subtitle data based on the data structure for managing the reproduction of the text subtitle data.

While the invention has been disclosed with respect to a limited number of embodiments, those skilled in the art, having the benefit of this disclosure, will appreciate numerous modifications and variations there from. For example, while described with respect to a Blu-ray ROM optical disk in several instances, the present invention is not limited to this standard of optical disk or to optical disks. It is intended that all such modifications and variations fall within the spirit and scope of the invention.