1. A recording medium storing a data structure, the data structure comprising:
- at least one text subtitle stream, each text subtitle stream including a style segment defining at least one region style and a plurality of presentation segments, each presentation segment containing at least one region of text and the region of text defined by one of the at least one region style, wherein the style segment includes palette information, and each presentation segment further contains a palette update flag which indicates whether to use the palette information defined in the style segment or to use new palette information defined in an associated presentation segment.
2. The recording medium of claim 1, wherein when the palette update flag indicates the use of the new palette information defined in the associated presentation segment, the region of text defined by the at least one region style remaining constant from an immediately previous presentation segment but for an associated palette information.
3. The recording medium of claim 1, wherein the palette information defined in the style segment comprises color values including at least one of Y, Cr, and Cb values and opacity values for a palette entry identified by a palette entry identification (ID).
4. The recording medium of claim 1, wherein the palette update flag is set to “1b” to indicate the use of the new palette information defined in the associated presentation segment.
5. The recording medium of claim 1, wherein when the palette update flag indicates the use of the new palette information, a presentation time of the associated presentation segment is greater than or equal to a time required for reproducing at least two video frames.
6. A recording medium storing a data structure, the data structure comprising:
- at least one text subtitle stream, each text subtitle stream including a style segment defining at least one region style and palette information, at least one first presentation segment using the palette information defined in the style segment, and at least one second presentation segment using new palette information defined in the at least one second presentation segment, each one of the first and second presentation segments containing at least one region of text and the region of text defined by one of the at least one region style.
7. The recording medium of claim 6, wherein when a palette update flag of the at least one second presentation segment indicates the use of the new palette information, the region of text defined by the at least one region style remaining constant from an immediately previous presentation segment but for an associated palette information.
8. The recording medium of claim 6, wherein a presentation time of the first presentation segment is greater than or equal to 1 second.
9. The recording medium of claim 6, wherein a presentation time of the second presentation segment is greater than or equal to a time required for reproducing at least two video frames.
10. A method for reproducing a text subtitle stream recorded on a recording medium, the method comprising:
- reading a style segment included in the text subtitle stream, the style segment defining at least one region style and palette information;
- reading each one of a plurality of presentation segments included in the text subtitle stream, each presentation segment containing at least one region of text and the region of text defined by one of the at least one region style;
- reading a palette update flag included in each presentation segment, the palette update flag indicating whether to use the palette information defined in the style segment or to use new palette information defined in associated presentation segment; and
- presenting each presentation segment according to an indication of the palette update flag.
11. The method of claim 10, wherein the palette update flag is set to “1b” to indicate the use of the new palette information included in associated presentation segment, the region of text defined by the at least one region style remaining constant from an immediately previous presentation segment but for an associated palette information.
12. The method of claim 10, further comprising preloading the text subtitle stream into a buffer.
13. The method of claim 10, wherein the palette information defined in the style segment comprises color values including at least one of Y, Cr, and Cb values and opacity values for a palette entry identified by a palette entry identification (ID).
14. An apparatus for reproducing a text subtitle stream recorded on a recording medium, the apparatus comprising:
- a buffer configured to preload the text subtitle stream, the preloaded text subtitle stream including a style segment and a plurality of presentation segments, the style segment defining at least one region style and palette information, each presentation segment containing at least one region of text and the region of text defined by one of the at least one region style; and
- a text subtitle decoder configured to present each presentation segment according to an indication of a palette update flag included in each presentation segment, the palette update flag indicating whether to use the palette information defined in the style segment or to use new palette information defined in an associated presentation segment.
15. The apparatus of claim 14, wherein the palette information defined in the style segment comprises color values including at least one of Y, Cr, and Cb values and opacity values for a palette entry,
- wherein the palette entry is identified by a palette entry identification (ID).
16. The apparatus of claim 14, when the text subtitle decoder is configured to read a palette update flag indicating the use of the new palette information, the text subtitle decoder is configured to use the new palette information defined in the associated presentation segment, and the region of text defined by the at least one region style remaining constant from an immediately previous presentation segment but for an associated palette information.
17. A method of generating a text subtitle stream, the method comprising:
- generating the text subtitle stream including a style segment defining at least one region style and a plurality of presentation segments, each presentation segment containing at least one region of text and the region of text defined by one of the at least one region style, wherein the style segment further defines palette information, and each presentation segment further contains a palette update flag which indicates whether to use the palette information defined in the style segment or to use new palette information defined in an associated presentation segment.
18. A method of recording a text subtitle stream, the method comprising:
- generating the text subtitle stream including a style segment defining at least one region style and a plurality of presentation segments, each presentation segment containing at least one region of text and the region of text defined by one of the at least one region style, wherein the style segment further defines palette information, and each presentation segment further contains a palette update flag which indicates whether to use the palette information defined in the style segment or to use new palette information defined in an associated presentation segment; and
- storing the at least one text subtitle stream on a storage device.
19. The method of claim 18, wherein when the palette update flag indicates the use of the new palette information defined in associated presentation segment, region of text and the region style linked to the region of text being remained constant from an immediately previous presentation segment but an associated palette information.
20. An apparatus for generating a text subtitle stream, the apparatus comprising:
- a controller configured to generate at least one text subtitle stream, each text subtitle stream including a style segment defining at least one region style and a plurality of presentation segments, each presentation segment containing at least one region of text and the region of text defined by one of the at least one region style, wherein the style segment further defines palette information, and each presentation segment further contains a palette update flag which indicates whether to use the palette information defined in the style segment or to use new palette information defined in an associated presentation segment.
21. An apparatus for recording text subtitle streams, the apparatus comprising:
- a pickup configured to record data on a recording medium; and
- a controller configured to control the pickup to record the at least one text subtitle stream on a storage device, each text subtitle stream including a style segment defining at least one region style and a plurality of presentation segments, each presentation segment containing at least one region of text and the region of text defined by one of the at least one region style, wherein the style segment further defines palette information, and each presentation segment further contains a palette update flag which indicates whether to use the palette information defined in the style segment or to use new palette information defined in an associated presentation segment.
22. The apparatus of claim 21, wherein the palette information defined in the style segment comprises color values including at least one of Y, Cr, and Cb values and opacity values for a palette entry,
- wherein the palette entry is identified by a palette entry identification (ID).
23. The apparatus of claim 21, the controller is configured to control the pickup to record the text subtitle stream including the presentation segment containing a palette update flag which indicates the use of the new palette information defined in the associated presentation segment, and the region of text defined by the at least one region style remaining constant from an immediately previous presentation segment but for an associated palette information.