MXPA06005153A - Storage medium storing text-based subtitle data including style information, and apparatus and method of playing back the storage medium - Google Patents

Storage medium storing text-based subtitle data including style information, and apparatus and method of playing back the storage medium

Info

Publication number
MXPA06005153A
MXPA06005153A MXPA/A/2006/005153A MXPA06005153A MXPA06005153A MX PA06005153 A MXPA06005153 A MX PA06005153A MX PA06005153 A MXPA06005153 A MX PA06005153A MX PA06005153 A MXPA06005153 A MX PA06005153A
Authority
MX
Mexico
Prior art keywords
subtitle
style
text
data
information
Prior art date
Application number
MXPA/A/2006/005153A
Other languages
Spanish (es)
Inventor
Jung Kilsoo
Kang Manseok
Original Assignee
Samsung Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Samsung Electronics Co Ltd filed Critical Samsung Electronics Co Ltd
Publication of MXPA06005153A publication Critical patent/MXPA06005153A/en

Links

Abstract

A storage medium includes text-based subtitle data including style information for use with an apparatus and a method of playing back the storage medium. The storage medium includes moving image data, and subtitle data for providing a subtitle for the moving image data. The subtitle data is recorded based on a text to be separated from the moving image data and includes information used to select or change an output style of the subtitle. Accordingly, the subtitle can be output using style information selected by a user, and a style in which a subtitle is output can be changed.

Description

STORAGE MEDIUM STORING SUBTITLE DATA BASED ON TEXT THAT INCLUDES STYLE INFORMATION, AND APPARATUS AND METHOD OF REPRODUCTION OF THE STORAGE ENVIRONMENT FIELD OF THE INVENTION The present invention relates to the reproduction of a storage medium, and more particularly, to a storage medium in which text-based subtitle data including style information, and an apparatus and method are recorded. of reproduction of the storage medium. BACKGROUND OF THE INVENTION Generally, storage media, such as versatile digital players (DVDs), audio-visual (AV) storage data, which includes video data and audio data. The video data and audio data stored in the AV data are compressed according to a standard such as the standards of the moving image expert group (MPEG). The AV data optionally includes subtitle data. Later, the AV data is referred to as moving image data. Conventional storage means, such as DVDs, use bitmap-based sub-image data as subtitle data to provide a video stream, an audio stream, and the like according to a Ref. : 172205 standard, such as, MPEG2 or similar. When the subtitle data is provided using conventional bitmap-based sub-image data, the subtitle data is synchronized exactly with the video stream data. BRIEF DESCRIPTION OF THE INVENTION Technical Problem However, the use of bitmap-based sub-image data causes the following problems. First, because a subtitle is provided using bitmap-based image, an output style of a subtitle reflected in the manufacture of an image corresponding to the subtitle can not be changed. Second, because the subtitle data is multiplexed with a video stream, an audio stream, and the like, it is difficult to add new subtitle data to the multiplexed sub-title data or to correct the existing sub-title data. Third, the number of suitable data that can be added is restricted to prevent degradation of the quality of an image. Technical Solution One aspect of the present invention provides a storage medium in which text-based subtitle data including style information, and an apparatus and method of reproducing the storage medium are recorded.
Advantageous Effects A storage medium according to one embodiment of the present invention includes text-based subtitle data separately from the moving image data. The text-based subtitle data includes a plurality of pieces of style information so that a style in which a subtitle occurs can be changed arbitrarily. Accordingly, a subtitle of a moving image can be produced in various styles without degradation of the image quality of a video stream, and the manufacturing and editing of the subtitle data is easy. In addition, the style in which a subtitle occurs can be changed arbitrarily by a user. Additionally, while being described in terms of a subtitle used with moving image data, it is understood that aspects of the present invention may be used with still image data and / or audio data. Further, while being described in terms of style sheets, it is understood that aspects of the invention can be applied to any set of information associated with an electronic document and which describes a grouping of data, a definition of an appearance of the document in terms of such elements as font, size, and color for headings and text body, how many sections should be placed in terms of space, line spacing, margin widths, spacing between headings, and so on. In addition, in a storage medium according to an aspect of the present invention in which the text-based subtitle data including style information is recorded and a device and method of reproduction of the storage medium, a subtitle can be produced. using the style information selected by a user.
In addition, a style in which a subtitle is being produced can be changed. In other words, text-based subtitle data according to a feature of the present invention can be easily formed and edited and produced in various styles. In addition, various styles of subtitle production can be selected by a user using a plurality of pieces of style information included in the text-based subtitle data. BRIEF DESCRIPTION OF THE FIGURES The foregoing and / or other features and advantages of the present invention will become more apparent and more readily appreciated by describing in detail the exemplary embodiments thereof with reference to the accompanying figures of which: Figure 1 is a block diagram showing the types of data recorded in a storage medium according to an embodiment of the present invention; Figure 2 is a table defining the elements and attributes that are used in a Marking document as an example of text-based subtitle data shown in Figure 1; Figure 3 illustrates an example of text-based subtitle data written in a Marking language defined in Figure 2; Fig. 4 is a conceptual block diagram of a reproducing apparatus that supports text-based subtitle data, according to an embodiment of the present invention; Figure 5 illustrates some of the player status registers (PSRs) which are system registers that record the style information included in the text-based subtitle data shown in Figure 1; Figure 6 illustrates some of the general purpose registers (GPRs) which are system registers that record the style information included in the text-based subtitle data shown in Figure 1; Figure 7 illustrates an algorithm for selecting the appropriate style information in response to a user command according to an aspect of the invention; Figure 8 illustrates an example of an application program interface (API) used to change the style information shown in Figure 1; Figure 9 illustrates an example of a Java application written using the API defined in Figure 8; Fig. 10 is a flow chart illustrating a method of producing a subtitle using text-based subtitle data shown in Fig. 1; and Figure 11 is a flow chart illustrating a method of changing a production style of a subtitle using style information included in the text-based subtitle data of Figure 1. Best Mode According to one aspect of the present invention, a storage medium is provided which includes: moving image data; and subtitle data to provide a subtitle for the moving image data, where the subtitle data is recorded based on a text to be separated from the moving image data and include information used to select or change a production style of the image. subtitle. An aspect of the subtitle data includes script information indicating that a text is displayed as a subtitle for the image data in Tcovimiento; and style information indicating a production style of the subtitle. One aspect of the style information is divided into at least one style sheet which is a unit in which the style information can be changed by a user.
One aspect of the style sheet includes information about an identifier to distinguish style sheets from one another. An aspect of the style sheet includes information to designate a style sheet that is initially applied to a reproduction of the moving image data. An aspect of the subtitle data is recorded in the form of a Marking document expressed with elements and attributes. An aspect of the subtitle data is recorded in a local storage separate from the storage medium. One aspect of the storage medium is an optical disk which is removable from a reproducing apparatus and from which the data can be read using an optical device. According to another aspect of the present invention, an apparatus reproducing a storage medium comprising moving image data, and subtitle data is provided to provide a subtitle for the moving image data. The subtitle data is recorded based on a text to be separated from the moving image data and includes information used to select or change a production style of the subtitle. The reproductive apparatus includes a text subtitle processor that checks and processes the subtitle data to produce a subtitle of a selected style, and a system record that stores the information used to select or change a style in which the subtitle is produced . One aspect of the subtitle data includes script information indicating that a text is displayed as a subtitle for the moving image data, and style information indicating a production style of the subtitle. One aspect of the text subtitle processor produces the script information to which the style information is applied. One aspect of style information is divided into at least one style sheet, which is a unit in which style information can be changed by a user, and each of at least one style sheet includes information about of an identifier to distinguish style sheets from one another. One aspect of the system record stores an identifier of the style sheet that is applied to the script information currently being reproduced. One aspect of the subtitle text processor produces a subtitle by applying the style sheet to the script information with reference to an identifier of the style sheet stored in the system record. An aspect of the reproductive apparatus additionally includes a core data processor that controls the reproduction of the moving image data; a complete data processor that provides interaction with a user with respect to the moving image data; a moving image data processor that decodes the moving image data and produces a result of the decoding on a display screen; and a mixer that mixes an image produced by the entire data processor and an image produced by the moving image data processor and produces a result of mixing on the display screen. One aspect of the core data processor and / or the complete data processor receives a user subtitle production command and transmits the subtitle production command to the text subtitle processor. One aspect of the text subtitle processor reads the subtitle data, checks whether the subtitle data read is consistent with a predefined sentence structure, and produces the script information using the style information included in the subtitle data. An aspect of the moving image data processor decodes the moving image data and renders it encoded information, mixes a result of the decoding, and produces a result of the mixing on the display screen. An aspect of the core data processor and / or the complete data processor receives a command to change a production style of a user's subtitle and transmits the command to the text subtitle processor. An aspect of the text subtitle processor changes the style information used in the production of the script information and stores the changed style information in a system record. An aspect of the complete data processor transmits the command to change the production style of the subtitle to the text subtitle processor via a predefined application program interface (API). One aspect of the full data processor supports one of a JAVA environment and / or Marking language environment. One aspect of the application program interface includes one of a command to designate a style sheet identifier, a command which refers to a style sheet prior to a current style sheet in a sequence of style sheets, a command which refers to a style sheet following the current style sheet in a sequence of style sheets, or combinations thereof. In accordance with another aspect of the present invention, a method of reproducing a storage medium is provided, the storage medium includes: moving image data; and subtitle data to provide a subtitle for the moving image data, wherein the subtitle data that is recorded is based on a text to be separated from the moving image data and includes information used to select or change a style of image. production of the subtitle, and the reproduction method includes the operations of: designating the style information that is initially applied, with reference to the subtitle data; and verifying whether a subtitle production state is a state in which a subtitle is produced, supplied and produces script information included in the subtitle data using the style information. According to one aspect of the invention, the operation of checking the current subtitle production status and providing and producing the script information includes sub-operations of: if a command to change a production style of a subtitle is received from a user, verify a type of an event for the received command; and if the event belongs to a type of articulated subtitle event, determine whether the current subtitle production state is the state in which the subtitle occurs or a state in which the subtitle does not occur, and not produce a subtitle if the current subtitle production state is the state in which the subtitle is produced and produce the subtitle if the current subtitle production state is the state in which the subtitle is not produced.
According to one aspect of the invention, if the event belongs to a subtitle style sheet change event type, the operation of checking the current subtitle production status and providing and producing the script information includes a sub-item. operation of the verification of an event class and change of a production style of the subtitle according to the class of the event. According to one aspect of the invention, if the event is a setStylesheet event, the style information is adjusted to be a style sheet selected by the user to be the style information, if the event is a nextStylesheet event, the information style is adjusted to be a style sheet following a style sheet that is currently used in a sequence of style sheets, if the event is a prevStylesheet event, the style information is adjusted to be a previous style sheet to the style sheet that is currently used in a sequence of stylesheets. The additional aspects and / or advantages of the invention will be described in part in the description which follows and, in part, will be obvious from the description, or can be learned by the practice of the invention. MODE OF INVENTION Reference will now be made in detail to the embodiments of the present invention, examples of which are illustrated in the accompanying figures, wherein similar reference numbers refer to similar elements throughout. The embodiments are described below to explain the present invention by reference to the figures. Figure 1 is a block diagram showing the types of data recorded in a storage medium according to an embodiment of the present invention. With reference to Figure 1, the storage medium includes core data 100, complete data 110, system data 120, and text-based subtitle data 130. Core data 100 is data for reproducing a moving image and includes moving image information 102, which has been compressed, and navigation information 101, which is used to control the reproduction of the moving image information 102. The moving image information 102 includes one or more stream files A / V clip encoded according to a standard, such as MPEG. Each of the clips is a unit in which the data is recorded. The motion picture information 102 includes a clip information file that includes encoding attributes of the A / V clip stream file, entry point information thereof, and the like. The moving image information 102 additionally includes a reproduction list comprised of a plurality of reproduction items, where the reproduction item is a unit in which the data is reproduced. Each of the reproduction items indicates a location in time and a location out of time on the clip information file. The moving image information 102 is reproduced with reference to the navigation information 101 of the storage medium, and a user observes a moving image, such as, a high quality movie or the like reproduced from the moving image information. However, it is understood that the A / V data may be otherwise organized and that the data need not be compressed and / or compressed according to other standards. The complete data 110 is data to provide an extra function different from the reproduction of a moving image and includes program data 111, to provide an interaction with a user, and / or searcher data 112, to reproduce information related to the moving image from a Marking document. If the extra function is not necessary, the complete data 110 may not be included. In accordance with aspects of the invention, the program data 111 is used to provide a game function that uses a moving image., a function for viewing a director's comment while playing a part of a moving image, a function for displaying additional information while playing a part of a moving image, a function for executing a chat while playing an image in motion, or similar. Program data 111 can support JAVA environments as well as interactive environments. The searcher data 112 is a command to reproduce the information related to a moving image from a Marking document. The command can be expressed in a Markup language and / or execution script language (for example, the ECMA script language). The information related to the moving image reproduced from the Marking document is reproduced together with the moving image. For example, recent news about movie actors stored on a web page, a file, or the like, news about the opening of events related to a movie, an updated subtitle of the movie, and the like can be reproduced from a medium of storage that stores the film and play together with the film, and / or can be recovered through a network or other storage medium to which the playback apparatus is connected. The complete data 110 may additionally include other data to provide another function in place of the reproduction function of a moving image.
The system data 120 is data used to control the reproduction of the core data 100 and / or the complete data 110 and includes boot information 121 and title information 122. The boot information 121 indicates a location of an object to be reproduced first when the storage medium is reproduced by a reproducing apparatus. The title information 122 includes entry point information indicating a location of each object to be reproduced. The text-based subtitle data 130 is recorded separately from the core data 100, the complete data 110, and the system data 120 and has a text-based data structure so that a style in which a manufactured subtitle is produces can be changed, added, or corrected. For example, text-based subtitle data 130 can be expressed in the text-based Marking language. The subtitle data 130 includes the script information 131 and style information 132. The script information 131 denotes text that is displayed as a subtitle of a moving image. Style information 132 denotes information about a style in which the subtitle occurs. The information is used while the script information 131 is produced to be displayed on a display device. The subtitle data 130 can be recorded in a local storage separate from the storage medium.
Figure 2 is a table defining the elements and attributes that are used in a Marking document to establish an example of the text-based subtitle data 130 of Figure 1. With reference to Figure 2, the marking document includes script information 203 and style information 202 as described in a subtitle element 201. Next, a markup document for constructing subtitle data is referred to as a text subtitle document. The elements and attributes used in a text subtitle document will now be described in detail. The subtitle element 201 denotes a higher level element in the text subtitle document. Each text subtitle document starts with the subtitle element. The subtitle element includes the following attributes: an attribute 'subtitle_id' denoting a subtitle identifier (ID) to distinguish each item of subtitle data from other items of subtitle data; a 'lang' attribute denoting a character code of a subtitle language displayed on a screen using subtitle data; and a title attribute denoting a title of a moving image using the subtitle data. A style adjustment element includes style information that is used in the provision of subtitle data and includes at least one style sheet element according to an aspect of the invention. The style sheet element denotes a unit in which a style of the subtitle data is handled and changed. The style sheet element includes at least one style element. If a plurality of style sheet elements exists, each of the style sheet elements includes an identical number of style elements, each of which is used to produce subtitle data. If the style elements are used by a manufacturer of a storage medium to produce identical subtitle data even though they are included in different style sheet elements, the style elements have the same style_id value. Each style sheet element includes the following attributes. First, a 'stylesheet_id' attribute denotes a style sheet ID to distinguish style sheet elements from one another. Since the stylesheet_id attribute is recorded in a record of a player apparatus, which will be described later, and used as a current style information value, the stylesheet_id attribute preferably has a binary value. Second, an attribute 'default1' designates a style sheet that is initially applied when the subtitle data is produced on a display screen. Only one style sheet element has an omission value of 'if', and the remaining style sheet elements have a default value of 'no'.
Third, an attribute desc denotes the descriptions of a style that is selected by the style sheet element. According to one aspect of the invention, a style element stores style information to be used in the production of subtitle data and includes the following attributes. First, a style_id attribute denotes a style class value to distinguish the style elements included in one style sheet element from another. Second, an attribute font denotes a font that is used in a text used as script information by a dialog element. Third, a color attribute denotes a color of the text used as the script information by the dialog element. Fourth, a bgcolor attribute denotes a background color of the text used as the script information by the dialog element. Fifth, a size attribute denotes a size of each character of the text used as the script information by the dialog element. Sixth, a position attribute denotes a reference position in which the characters of the text used as the script information by the dialog element are produced. Seventh, an align attribute denotes an alignment of the text used as the script information by the dialog element. Eighth, a region attribute denotes a region on a screen in which the text will be produced using the dialog element.
Ninth, a lineheight attribute denotes a line spacing of the text to be produced on the screen using the dialog element. A script element stores information about a subtitle text and includes at least one dialog element according to an aspect of the invention. Each of the dialogue elements stores information about a subtitle text that is displayed on the display screen and includes the following attributes. First, a begin attribute denotes information about a time when the subtitle text starts to be displayed. Second, an end attribute denotes information about a time when the subtitle text ends up being displayed. Third, a ref_style__id attribute denotes a class value of a specific style element to designate a style that is applied to information about the subtitle text displayed on the display screen using the dialog element. Figure 3 illustrates an example of a file for text-based subtitle data 130 written in a markup language defined in Figure 2. With reference to Figure 3, a text subtitle document starts with a subtitle element 300 The subtitle element 300 includes a unique style sheet element 310, which includes style information that is used in the production of script information, and a single script element 320, which includes script information of a moving image. The subtitle element 300 corresponds to the text-based subtitle data 130 of Figure 1, the style-matching element 310 corresponds to the style information 132 of Figure 1, and the script element 320 corresponds to the script information 131 of Figure 1. The style adjustment element 310 includes first and second style sheet elements 311 and 312. As described above, each of the style sheet elements 311 and 312 denotes the unit in which a style is can handle and change. Each of the style sheet elements 311 and 312 includes the stylesheet_id attribute, which indicates an attribute value of the reproduction apparatus record, to reflect the current style information. The first style sheet element 311 having a stylesheet_id attribute of 0 is set to have a default value of 'if'. Therefore, as long as the style change commands are not generated by a user, the first style sheet element 311 is basically applied to the information about the subtitle text. The first style sheet element 311 indicates a normal size font that uses the desc attribute. The second style sheet element 312 that has a stylesheet_id attribute of 1 indicates a large font that uses the desc attribute. Therefore, when a style of a subtitle is changed by a user, a font size can be changed. Each of the style sheet elements 311 and 312 includes an identical number of style elements. Each of the style elements has, as its attribute value, style information currently applied to a subtitle text. The style elements 311a, 311b, 312a, and 312b are used to indicate a plurality of pieces of style information that a manufacturer wants to apply to a subtitle text. As shown in Figure 3, the first style sheet element 311 includes the two style elements 311a and 311b, which have style_id attributes of x and y, respectively. When the style element 311a having a style_id attribute of x is compared to the style element 311b having a style_id attribute of y, they have different style information. In particular, the difference in font size is large. For example, a manufacturer may apply style information indicated by the style element 311a to a portion of the subtitle text information, such as a subtitle title, and style information indicated by the style element 311b to subtitle the text information corresponding to a dialogue.
While not required, it is preferable that the storage medium according to one embodiment of the present invention is an optical disk that is removable from a reproduction apparatus and capable of reading the data using an optical device of the reproduction apparatus. Examples of storage medium include, but are not limited to, CD-ROMs, DVDs, Bluray and Advanced Optical Discs, optical disks to be developed, and the like. A reproduction apparatus for reproducing the aforementioned storage medium according to an embodiment of the present invention will now be described in detail with reference to FIGS. 1 and 4 is a conceptual block diagram of a reproduction apparatus 410 that supports data from subtitles based on text, according to an exemplary embodiment of the present invention. With reference to Figure 4, the playback apparatus 410 includes a core data processor 411, a full data processor 412, a text subtitle processor 413, a moving image data processor 414, a mixer 415, and a system register 416. While described in terms of a reproduction apparatus, it is understood that the apparatus may additionally have a recording capability and be a stand-alone device or incorporated into a general purpose or special purpose computer.
The core data processor 411 controls the playback of moving image data (i.e., the moving image information 102) using the navigation information 101 of FIG. 1. The core data processor 411 is also referred to as navigation engine. The complete data processor 412 processes the application data that provides an interaction with a user, such as, the program data 111 (eg, a Java program or the like) and / or the searcher data 112 (e.g. marking document or similar). The complete data processor 412 may include a program engine and a search engine separate from the program engine, or the engines may be combined. The text subtitle processor 413 verifies a construction of the text-based subtitle data 130, which includes the script information 131 and the Style Information 132, and processes the text-based subtitle data 130. The image data processor in motion 414 decodes the moving image data and produces a result of the decoding on a screen of an output device 420. The moving image data processor 414 is also referred to as the presentation engine. The mixer 415 mixes the images produced by the full data processor 412 and the moving image data processor 414 and produces a result of mixing on the screen of the output device 420.
The system register 416 includes player status registers (PSRs), which store various types of status information about the reproduction apparatus, and general purpose registers (GPRs), which are used by the reproduction apparatus to temporarily record. data Specifically, the core data processor 411 stores information necessary for reproduction in the system register 416 in accordance with a navigation command to reproduce a moving image (such as a movie), and transmits a playback command to the processor of motion picture data 414. In response to the playback command, the motion picture data processor 414 decodes the motion picture data using the information necessary for playback recorded in the system register 416. During the playback of a moving image, when a subtitle production command is received by a user, the core data processor 411 transmits the subtitle production command to the text subtitle processor 413. In response to the subtitle production command, the text subtitle processor 413 loads the text subtitle data into a memory (not shown) and checks whether a sentence structure of the text subtitle data is matched with a predetermined sentence structure. If the sentence structure of the text subtitle data is matched with the predetermined sentence structure, the text subtitle processor 413 analyzes the script information and style information and produces the information about the subtitle text using the style information. defined by the first style sheet element 311 having the omitted attribute value = if of Figure 3. A production result is transferred to the moving image data processor 414 and is produced in the output device 420. During playback of the motion picture, when a user command 401 is received to change a production style of the subtitle, the core data processor 411 transmits the user command 401 to change the production style of the subtitle to the production processor. text subtitle 413. The text subtitle processor 413 changes the style information used in the production of the information. n about the subtitle text (such as through the change of a style sheet to another style sheet) and again records the changed style information in the system register 416. When a movie is played by the full data processor 412, the complete data processor 412 records the information necessary to reproduce an application included in the complete data 110, in the system register 416 and controls the reproduction of the moving image using a predefined application program interface (API) for the moving image data processor 414. The moving image data processor 414 reproduces the moving image data with reference to the information necessary for playback recorded in the system register 416 in the same manner as in a core (which denotes a mode of moving image reproduction using core data and is referred to as a movie code). During playback of the moving image, when the user's subtitle production command is received, the complete data processor 412 transmits the subtitle production command to the text subtitle processor 413. In response to the subtitle production command , the text subtitle processor 413 produces a subtitle using the text-based subtitle data 130 in the same manner as in the kernel mode. During playback of the motion picture, when the user command 401 is received to change the production style of the subtitle, the complete data processor 412 transmits the user command 401 to the text subtitle processor 413 via a predefined style that changes the API for the text subtitle processor 413. In response to the user command 401, the text subtitle processor 413 changes the production style of the subtitle in the same way as in the kernel mode. Figure 5 illustrates some of the player status registers (PSRs) which are system registers that record the style information 132 included in the text-based subtitle data 130 of Figure 1. With reference to Figure 5, PSRs denote records that record various types of status information about a reproduction apparatus in accordance with the present invention. PSR No. 1 indicates the number of a selected audio stream to play a current motion picture, PSR No. 2 indicates the number of a selected subtitle stream to play the current motion picture, PSR No. 17 indicates a language code of the selected subtitle stream to play the current moving image. PSR No. 19 is used to indicate a selected style sheet ID in the reproduction of the script information when a subtitle is produced using text subtitle data. PSR No. 19 is only one modality, in this way it can be replaced by any of the PSR Nos 1 to 63 of 32 bits of the modality shown, or it can be any appropriate indicator in the registers that have other sizes.
PSR No. 19 can be changed by a user operation that is described later, a Java API, or the like. When a content of the PSR NO. 19 is changed during the reproduction of the moving image data including the subtitle data based on text, a subtitle production style applied to the script information is also changed. The style information described above applied to the current script information is stored in PSRs as shown in Figure 5. Alternatively, the style information described above can be stored in general purpose registers (GPRs) which are described later or in an internal compensator (not shown) of the text subtitle processor 413 according to the aspects of the invention. An example of a user operation (afterwards, referred to as a UOP) for a style change will now be described. The Text_subtitle_style_Change function (stylesheet_id), which is a UOP, adjusts a style sheet applied to the text subtitle data and changes the PSR No. 19. Stylesheet__id, which is a function argument Text_subtitle_style_Change (stylesheet_id), can have any of 0 to 231, because a style number applicable to a text subtitle is theoretically infinite, but a PSR according to the example shown has a data size of 32 bits. An example of a new navigation command can be the SetSS function (for stylesheet_id). The SetSS function (for stylesheet_id) changes a value of PSR No. 19 by indicating an ID of a style sheet to be used in the production of the text subtitle data, at a designated argument value. Additionally, where a PSR has another storage size, it is understood that the stylesheet_id can have other numbers. Figure 6 illustrates some of the GPRs which are system registers that record the style information 132 included in the text-based subtitle data 130 of Figure 1. The ID information about a style sheet element defined in a style sheet element is recorded in the GPRs as shown in figure 6. Alternatively, the ID information about the style sheet element can be stored in the internal text caption processor 413 compensator or in the PSRs of Figure 5. With reference to Figure 6, address No. 100 records 102 as a starting address of ID information about a style sheet element, and address No. 101 records 2 as the number of style sheet elements used in the text caption document. The direction 102 records an ID of a style sheet element indicating a normal size of a font, the address 103 records an ID of a style sheet element indicating a large size of a font. In other words, the text subtitle document described in Figure 6 has two style sheet elements indicating a normal font size and a large font size, respectively. A method in which the aforementioned reproduction apparatus reproduces image data in motion using the subtitle style information selected by a user of the aforementioned storage medium will now be described using FIG. 7. FIG. 7 illustrates an algorithm for selecting the style information 132 according to a user command. When a command to change a production style of a subtitle is received from a user during the reproduction of a moving image, the reproduction apparatus may change the text subtitle data so that the style information selected by the user it can be applied using a function, such as the Subtitle_Stylesheet_Change (arg) function, which will be described later. With reference to figure 7, the argument Next_Style (case A) or Prev_Style (case B) can be used as the argument in the function Subtitle_Stylesheet_Change (arg). Alternatively, a specific attribute value stylesheet_ID can be indicated as the argument in case C. Case C can be expressed in a function similar to the function for the UOP mentioned above.
In case A in which the Next_Style is used as the argument of the Subtitle_Stylesheet_Change (arg) function, the playback apparatus increments a value of the stylesheet_ID stored in the PSR No. 19, the GPRs, or the internal compensator of the subtitle processor based on .text 413, and applies a following style that has the ID value increased. If the value of the stylesheet_ID of a style currently used is the largest as in case 701, a style that has the value of the smallest stylesheet__ID is used. In case 702, a style that has a value of stylesheet_ID obtained is increased by a value of current stylesheet_ID 1 by 1. Cases 703 and 704 represent the style change methods applied in case B that Prev_Style is used as the argument of the Subtitle_Stylesheet_Change function (arg) Case 705 represents a storage method for a value of stylesheet_ID designated in PSR No. 19, GPRs, or the internal compensator of the text-based subtitle processor 413. Figure 8 illustrates an example of an API used to change style information 132 in accordance with an aspect of the invention. With reference to Figure 8, a BDROM packet can be used as a command group that can be used in writing an application included in the complete data 110. The BDROM package includes a media packet for controlling the reproduction of an image in motion according to an application. The media package includes a subtitle packet for controlling a bitmap-based or text-based subtitle of a moving image. The TextSubtitle interface is defined as a part of the subtitle packet for the text-based subtitle. The TextSubtitle interface can include the following APIs. The term 1 state 'denotes a parameter indicating an activated / deactivated state of production of a subtitle. 'getAttribute ()' obtains information about an attribute of a text subtitle file that is currently used. 'getLangCode ()' gets a language code from the text subtitle file. 'getTitleName ()' gets a name from a moving image data title. 'getSubtitleID ()' gets an ID from the current text subtitle file. 'getCurrentTextStylesheetlD ()' gets a stylesheet_ID that is currently used. 'setTextStylesheetlD (without int int ID)' receives as an argument an ID of a style sheet that is used in the production of a subtitle text and adjusts PSR No. 19 which is a style sheet corresponding to the ID argument received . 'nextTextStylesheet ()' denotes a style sheet following a current style sheet in a style sheet arrangement and adjusts a style sheet that is used in the production of the subtitle text. 'prevTextStylesheet ()' denotes a style sheet prior to the current style sheet in the style sheet arrangement and adjusts the style sheet used in the production of the subtitle text. 'getDefaultTextStylesheet ID ()' gets a style sheet set as an omission of the style sheet arrangement. 'getCurrentPresentationTime ()' gets a display time that indicates the time when a subtitle is produced from the current text-based subtitle data. 'setPresentationTime (Time t)' sets a display time corresponding to a current playback time using information of time t given as an argument. 'getCurrentTextSubtitle ()' gets an ID of the next current subtitle file that is currently used for a current subtitle production. 'setTextSubtitle (string file name or unsigned int ID)' receives a file that is used in the production of a subtitle as an argument and adjusts the received file to be an ID of a received file name or a subtitle file of text received. 'startO' starts the production of the text subtitle. 'stopO' stops the production of the text subtitle. Nevertheless, it is understood that other APIs may be used or developed, and that each API shown in Figure 8 need not be used in all aspects of the invention. Figure 9 illustrates an example of a Java application written using the API defined in Figure 8. With reference to Figure 9, the PlayXlet application inherits an application function Xlet, which is a basic unit of the Java application and included in the complete data 110 executed by the reproduction apparatus, and implements the ControllerListener interface to process a command received from a user during the reproduction of a moving image. When an application implemented by an Xlet function extension starts, the init () portion of the application is first executed to initialize the application. Then, the startO portion of the application is executed. As shown in Figure 9, when the PlayXlet application is executed, it is initialized by a first operation of the init () portion. (referred to line 4). The codes of the PlayXlet application will now be described in detail. In line 1, the media package described in Figure 8 is imported to control the moving image data. On line 2, an object of the PlayXlet application is declared. The PlayXlet application inherits the function of the Xlet application and implements the ControllerListener interface. On line 3, an object player, which is an object that controls the moving image data used in the PlayXlet application, is declared. In lines 4 through 15, when the PlayXlet application is executed initially, it is initialized. On line 5, a design of the PlayXlet application is adjusted. On line 6, a file of the moving image data that is used by the PlayXlet application is named. On lines 7 through 13, an exception that can be generated while the object player is being initialized is cached. On line 8, a path for the moving image data resources that are used by the PlayXlet application is designated. In line 9, an object that controls playback for the moving image data resources corresponding to the designated path is produced and assigned to the object player. On line 10, the Event Listener used by the obj eto player to receive a command from a user and process the command is logged. On line 11, an object 'subtitle' for the object player occurs. On line 12, a text-based subtitle that is used by the object 'subtitle' is designated. On lines 13 and 14, the exception that can be generated while the object player is being initialized is processed. On line 14, an error message occurs when the exception is generated. On lines 16 and 17, the startO portion is executed after the object player is initialized. On line 17, the playback of the moving image data controlled by the object player starts. On lines 18 to 30, a control command received from the user is processed.
On lines 19 through 24, in a SubtitleToggleEvent event type, when a current subtitle is being produced, the subtitle production stops. On the other hand, when no subtitle is being produced, a point in time when the subtitle will be produced is synchronized with a point in time when a current moving image will be produced, and then the production of subtitle starts. On lines 25 and 26, in a nextSubtitleStylesheetEvent event type, a style sheet that is used in the production of a subtitle is changed to a style sheet next to a current style sheet that is used. If the style sheet currently used is a last one of a style sheet arrangement, the style sheet used in the production of the subtitle is changed to a first style sheet of the style sheet arrangement. On lines 27 and 28 in an event type of prevSubtitleStylesheetEvent, the style sheet that is used in the production of the subtitle is changed to a style sheet previous to the current style sheet that is used. If the style sheet currently used is a first one of the style sheet arrangement, the style sheet used in the production of the subtitle is changed to the last style sheet of the style sheet arrangement. On lines 29 and 30, in an event type of setSubtitleStylesheetEvent, the style sheet used in the production of the subtitle is changed to a style sheet designated by an argument value in an event object 'e'. In an operation of the Java application described above, when the PlayXlet application of Figure 9 is executed, the reproduction of the designated moving image data starts. Once a subtitle production command is received from a user during the reproduction of a moving image, a production of a subtitle starts. When another subtitle production command is received, the subtitle production stops. When a nextSubtitleStylesheetEvent command is received from a user while the subtitle is being produced, a production style of the subtitle is changed using a style information that has a stylesheet_ID attribute whose value is 1 greater than a value of a stylesheet__ID style information attribute currently used. When a prevSubtitleStyleSheetEvent command is received from the user while the subtitle is being produced, the production style of the subtitle is changed using the style information that has a stylesheet_ID attribute whose value is 1 less than the value of the stylesheet_ID attribute of the style information currently. used. When a setSubtitleStylesheet command to adjust a current style sheet that is a specific style sheet is received using the application of Figure 9, a menu that changes the production style of the subtitle provided by a reproduction, or similar, the style sheet Current is changed to the specific style sheet using the stylesheet_ID entry by a user. Fig. 10 is a flowchart illustrating a method of producing a subtitle using the text-based subtitle data 130. With reference to Fig. 10, when a subtitle production start command is received from a user, a style sheet element that has an omission attribute 'if' is set as style information to be used in the production of information about a subtitle text, in operation 1010. Then, a point in time when an image in current motion playing is synchronized with a point in time when a subtitle is produced by setting a display time, in operation 1020. It is verified whether a current subtitle production state is a state in which a subtitle is produced or a state in which the subtitle is not produced, in operation 1030. If the current subtitle production state is the state in which the subtitle occurs, the production of subtitle or is performed, in operation 1040. If the current subtitle production status is the state in which the subtitle is not produced, the production of subtitle is concluded.
If the subtitle is produced in operation 1040 and it is determined in step 1050 that the subtitle items that are continuously produced remain, operations 1030 and 1040 are repeated. On the other hand, if it is determined in step 1050 that none of the subtitle items that are continuously produced remain, the subtitle production is concluded. A command that changes the style sheet by a user is applied to operations that vary from operation 1030, in which a production status of the current subtitle is verified, to operation 1050, in which it is verified whether the production of subtitle it will be completed. Figure 11 is a flow chart illustrating a method of changing a production style of a subtitle using the style information 132 included in the text-based subtitle data 130 according to an aspect of the invention. With reference to Figure 11, in step 1110, a command to change a production style of a subtitle is received from a user. In operation 1120, it is determined whether an event for the received command is of an articulated subtitle event type or a subtitle style sheet change event type. If the received command event is of the articulated subtitle event type, it is determined whether a current subtitle production state is a state in which a subtitle occurs or a state in which a subtitle does not occur, in the operation 1130. If the current subtitle production state is the state in which the subtitle occurs, the subtitle state is changed to a state in which the subtitle does not occur, in operation 1140. If the production state of Current subtitle is the state in which the subtitle state is changed to the state in which the subtitle does not occur, the subtitle occurs, in operation 1150. On the other hand, if the event for the received command is of the type of Subtitle style sheet change event, it is determined if the event for the received command is a setStylesheet event, a nextStylesheet event, or a prevStylesheet event, in operation 1160. The setStylesheet event designates a ilo of subtitle production using a stylesheet_id attribute of a style sheet selected by a user. The nextStylesheet event designates a subtitle production style using a style sheet following a style sheet that is currently used according to a sequence of style sheets. The prevStylesheet event designates a subtitle production style using a style sheet prior to the style sheet that is currently used according to the style sheet sequence. As described above with reference to figure 7, the setStylesheet event, the nextStylesheet event, and the prevStylesheet event are executed, in operations 1170, 1180, and 1190, respectively, so that a style of a subtitle displayed on a screen It is changed according to the designated command. A storage medium according to an embodiment of the present invention includes text-based subtitle data recorded separately from the moving image data. The text-based subtitle data includes a plurality of pieces of style information so that a style in which a subtitle occurs can be changed arbitrarily. Accordingly, a subtitle of a moving image can be produced in various styles without degradation of the image quality of a video stream, and the manufacturing and editing of the subtitle data is easy. In addition, the style in which a subtitle occurs can be changed arbitrarily by a user. Additionally, while being described in terms of a subtitle used with moving image data, it is understood that aspects of the present invention may be used with still image data and / or audio data. In addition, while described in terms of style sheets, it is understood that aspects of the invention can be applied to any set of information associated with an electronic document and which describes a grouping of data, a definition of an appearance of the document in terms of such elements as font, size, and color for headings and body of the text, how many sections should be placed in terms of space, line spacing, margin widths, spacing between headings, and so on. Further, in a storage medium according to an aspect of the present invention in which text-based subtitle data including style information is recorded and a device and method of reproduction of the storage medium, a subtitle can be reproduced using the style information selected by a user. In addition, a style in which a subtitle is being produced can be changed. In other words, text-based subtitle data according to a feature of the present invention can be easily formed and edited and produced in various styles. In addition, various styles of subtitle production can be selected by a user using a plurality of pieces of style information included in the text-based subtitle data.
While not required, aspects of the invention may also be characterized as computer readable codes in at least one computer-readable recording medium. The computer-readable recording medium is any data storage device that can store data which can later be read by a general or special purpose computer system. Examples of the computer-readable recording medium include read-only memory (ROM), random access memory (RAM), CD-ROMs, magnetic tapes, floppy disks, optical data storage devices, and carrier waves (such as transmission). of data through the Internet). The computer-readable recording medium can also be distributed over systems coupled to the network so that computer-readable code is stored and executed in a distributed form. While some embodiments of the present invention have been particularly shown and described with reference to exemplary embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and detail can be made therein without departing from the spirit. and scope of the present invention as defined by the following claims and equivalents thereof. Industrial Applicability One aspect of the present invention provides a storage medium in which subtitle data based on the text including style information, and an apparatus and method of reproducing the storage medium are recorded. It is noted that in relation to this date, the best method known to the applicant to carry out the aforementioned invention, is that which is clear from the present description of the invention.

Claims (39)

  1. CLAIMS Having described the invention as above, the contents of the following claims are claimed as property: 1. Storage medium for use with a recording and / or reproducing apparatus, characterized in that it comprises: moving image data; and subtitle data used by the apparatus to provide a subtitle for moving image data, wherein the subtitle data comprises a text that is separated by the apparatus from the moving image data and includes information used by the apparatus for select and / or change a production style of the subtitle generated using the text. Storage medium according to claim 1, characterized in that the subtitle data comprises: script information indicating that the text is displayed as the subtitle for the moving image data; and style information indicating the production style of the subtitle. Storage medium according to claim 2, characterized in that the style information is divided into at least one style sheet, where each style sheet is a unit in which the ethyl information is changed. Storage medium according to claim 3, characterized in that the style sheet comprises an identifier to distinguish the style sheet from another style sheet. Storage medium according to claim 3, characterized in that the style sheet comprises information which designates a style sheet to be initially applied in a reproduction of the image data in movement by the apparatus. Storage medium according to claim 1, characterized in that the subtitle data is recorded in the form of a Marking document expressed with elements and attributes. Storage medium according to claim 1, characterized in that another portion of the subtitle data is recorded in a local storage medium separate from the storage medium that the moving image data has. Storage medium according to claim 1, characterized in that the storage medium is disposable from a reproduction apparatus. Storage medium according to claim 8, characterized in that the storage medium comprises an optical disk from which the data can be read using an optical device comprising the device. 10. Apparatus characterized in that it transfers data with respect to a storage medium, the storage means comprising: moving image data; and subtitle data to provide a subtitle for the moving image data, wherein the subtitle data comprises a text that is separated from the moving image data and includes information used to select and / or change a production style of the image. subtitle that includes the text, the apparatus comprises: a subtitle text processor that verifies and processes the subtitle data to produce the subtitle of a selected style; and a system record that stores information used to select and / or change a style in which the subtitle is produced. 11. Apparatus in accordance with the claim 10, characterized in that: the subtitle data comprises: script information indicating that the text is displayed as the subtitle for the moving image data; and style information indicating a production style of the subtitle; and the subtitle processor of the text is supplied with the script information to which the style information is applied. Apparatus according to claim 11, characterized in that: the style information is divided into at least one style sheet, with each one of at least one style sheet which is a unit in which the style information can be changed, and the style sheet comprises an identifier to distinguish the style sheet from another style sheet; and the system record stores the identifier of the style sheet that is applied to the script information that is commonly reproduced. Apparatus according to claim 12, characterized in that the subtitle text processor becomes the subtitle by applying the style sheet to the script information with reference to the identifier of the style sheet stored in the system record. 14. Apparatus according to claim 10, characterized in that it further comprises: a core data processor that controls the reproduction of the moving image data read from the storage medium; a complete data processor that provides interaction with a user with respect to the reproduced moving image data; a moving image data processor that decodes the moving image data and produces a result of the decoding to be displayed on a display screen; and a mixer that mixes an image produced by the entire data processor and an image produced by the moving image data processor and produces a result of mixing that is displayed on the display screen. Apparatus according to claim 14, characterized in that: one or both of the core data processor and the complete data processor receives a user subtitle production command and transmits the production command of the subtitle to the subtitle processor of the user. text; the text subtitle processor reads the subtitle data, checks whether the subtitle data read is consistent with a predefined sentence structure, and supplies the script information using the style information included in the subtitle data; and the moving image data processor decodes the moving image data and the supplied script information, mixes a result of the decoding, and produces a result of mixing that is displayed on the display screen. 16. Apparatus in accordance with the claim 15, characterized in that: one or both of the core data processor and the complete data processor receives a command to change a production style of the user's subtitle and transmits the command to the text subtitle processor; and the text subtitle processor changes the style information used in supplying the script information and stores the changed style information in a system record. 17. Apparatus in accordance with the claim 16, characterized in that the complete data processor transmits the command to change the production style of the subtitle to the text subtitle processor via a predefined application program interface (API). 18. Apparatus in accordance with the claim 17, characterized in that the complete data processor supports one of a JAVA environment and / or a Markup language environment. 19. Apparatus in accordance with the claim 17, characterized in that the API includes a command to designate an identifier of the style sheet, a command which refers to a style sheet prior to a current style sheet in a sequence of style sheets, a command which refers to a style sheet followed by the current style sheet in a sequence of style sheets, or combinations thereof. 20. Method of reproducing a storage medium, the storage medium comprising: moving image data; and subtitle data to provide a subtitle for the moving image data, wherein the subtitle data includes text that is separated from the moving image data and includes information used to select and / or change a production style of the image. subtitle based on the text, the method is characterized in that it comprises: designating the style information that is initially applied, with reference to the subtitle data; and verifying if a current subtitle production state is a state in which the subtitle is produced, and supplying and producing the script information included in the subtitle data using the style information if the state is the state in which it is produced the subtitle Method according to claim 20, characterized in that the verification of the current subtitle production status, supply and production of the script information comprises: if a command to change a production style of a subtitle is received, verify a type of an event for the received command; and if the event belongs to a type of articulated subtitle event, determine whether the current subtitle production state is the state in which the subtitle is produced or a state in which the subtitle does not occur, and there is no subtitle if the current subtitle production status is the state in which the subtitle occurs and produce the subtitle if the current subtitle production state is the state in which the subtitle is not produced. Method according to claim 21, characterized in that if the event belongs to a subtitle style sheet change event type, verification of the current subtitle production status, supply and production of the script information comprises verifying a type of the event and change a production style of the subtitle according to the type. 23. A computer readable medium characterized by being screened with instructions for implementing the method according to claim 20 using a computer. Storage medium according to claim 1, characterized in that it also comprises interactive data that the apparatus uses to generate an interactive display containing information related to the moving image data according to the received input. 25. Storage medium according to claim 24, characterized in that the interactive data comprises comments of the director reproduced while the apparatus is reproducing a part of a moving image., additional information that is automatically displayed while a corresponding part of a moving image is being played, a chat room generated by the apparatus while a moving image is being played, or combinations thereof. Storage medium according to claim 24, characterized in that the interactive data comprises searcher data implemented by a search engine of the apparatus and which retrieves web pages related to a part of a moving image that is displayed. 27. Storage medium for use with a recording and / or reproduction apparatus, characterized in that it comprises: the text reproduced by the device with corresponding data that are reproduced separately and which the device displays as a subtitle having a first style of text while the data is being played by the device; and style information comprising first style information used by the apparatus to display the text in the first text style and second style information and which is selected by the apparatus to display the text in a second text style different from the first text style while the data is being played by the device. Storage medium according to claim 27, characterized in that it also comprises moving image data, wherein the data that is reproduced by the apparatus comprises the moving image data that is displayed with the subtitle in a combined display. Storage medium according to claim 27, characterized in that: the data that is reproduced by the apparatus comprises moving image data that is displayed with the subtitle in a combined display, and the moving image data is reproduced by the apparatus of another storage medium that does not include the text. 30. Storage medium according to claim 27, characterized in that it further comprises: a marking document reproduced by the apparatus for displaying the text; and a first style sheet referred to by the marking document and including the first style information such that the apparatus displays the text in the first text style when the apparatus selects the first text style, and a second style sheet referred to. by the marking document and including the second style information so that the apparatus displays the text in the second text style when the apparatus selects the second text style. Storage medium according to claim 30, characterized in that it also comprises an attribute that the apparatus uses to select between the first style sheet and the second style sheet according to a received command. 32. Storage medium according to claim 30, characterized in that it also comprises a third style sheet referred to by the marking document and that includes the third style information so that the apparatus displays the text in the third style of text when the device selects the third text style. 33. Storage medium according to claim 27, characterized in that it also comprises style indicators which indicate that a first portion of the text will be displayed in one of the first and second text styles and a second portion of the text will be displayed in another. of the first and second text styles. 34. Storage medium according to claim 33, characterized in that: the first style information comprises information in a size of each character of the text used as script information by a dialog element, a reference position in which the characters of the text are produced text used as information script by a dialog element, an alignment of the text used as information script by a dialog element, a region on a screen in which is text will be produced using a dialog element, and a line spacing of the text which is produced on the screen using the dialogue element used by the apparatus to display the text in the first text style, and the second style information comprises information in a size of each character of the text used as script information by an element of dialog, a reference position in which characters of the text used as scrolling information are produced ipt by a dialog element, an alignment of the text used as script information by a dialog element, a region on a screen in which the text will be produced using a dialog element, and a line spacing of the text that is produced in the screen using the dialog element used by the device to display the text in the second text style. 35. Apparatus which transfers data with respect to the storage medium according to claim 27, characterized in that it comprises: a text subtitle processor that verifies and processes the text and style information to display the text in subtitle with images in visualized movements reproduced from the data, the subtitle is displayed in a selectable style between the first and second text styles; and a system register that stores an identification number of one selected from the first and second text styles and which are accessed by the text subtitle processor to select the style in which the subtitle text is produced. 36. Apparatus according to claim 35, characterized in that it further comprises: a moving image data processor which receives the moving image data and produces the moving images that are displayed; and a mixer which receives the moving images produced from the moving image data processor and the text in the selected style as a combined image on a display of a viewing device. 37. Apparatus according to claim 35, characterized in that when a command is received to change the selected text style to another of the first and second text styles, the system record is updated to store another identification number of another of the first and second text styles, and the text subtitle processor accesses the system record to change the style in which the subtitle text is produced. 38. Apparatus according to claim 37, characterized in that the command comprises a command to change the selected text style to a text style having an identification number which, in a sequence of identification numbers, is after the text. Identification number stored in the system registry. 39. Apparatus in accordance with the claim 37, characterized in that the command comprises a command to change the text style to a text style having an identification number which, in a sequence of identification numbers, is prior to the identification number stored in the system register.
MXPA/A/2006/005153A 2003-11-10 2006-05-08 Storage medium storing text-based subtitle data including style information, and apparatus and method of playing back the storage medium MXPA06005153A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020030079244 2003-11-10

Publications (1)

Publication Number Publication Date
MXPA06005153A true MXPA06005153A (en) 2006-10-17

Family

ID=

Similar Documents

Publication Publication Date Title
EP2109109B1 (en) Rendering of text-based subtitle data including user selectable style information
JP5005796B2 (en) Information recording medium on which interactive graphic stream is recorded, reproducing apparatus and method thereof
US20050094973A1 (en) Moving picture reproducing apparatus in which player mode information is set, reproducing method using the same, and storage medium
MXPA06005153A (en) Storage medium storing text-based subtitle data including style information, and apparatus and method of playing back the storage medium