Abstract:
A data recording method is provided in which video data and plural channels of language data are divided into packets as units, and the video data and the plural channels of language data are recorded on a record medium along with the control information containing a flag designating a reproducing channel of the language data matched to a reproducing pattern of the video data. Thus it becomes possible to record video data and plural channels of language data on a record medium so that a reproducing channel for the language data matched to the reproducing pattern of the video data will be selected and the plural channels of language data matched to the reproducing pattern and the video data will be reproduced by a reproducing system.

Description:
BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     This invention relates to a data recording method and apparatus, a data record (recording/recordable/recorded) medium and a data reproducing method and apparatus employed with advantage for compressing and time-divisionally multiplexing digital moving picture data and digital speech data and for recording/reproducing the data on or from, for example, an optical disc. 
     2. Description of the Related Art 
     In video works, such as motion pictures, there are occasions wherein plural works having basically the same contents and slightly different in details, that is different in version, under variable circumstances. For example, a so-called directors cut edition, later edited by a director, may exist in addition to the first edition shown in a theater. Specifically, although part of the photographed scenes are cut or modified in the first edition from reasons related to management or under political or cultural backgrounds, these cut or modified scenes may be revived in re-editing for taking changes in the backgrounds or the author&#39;s intentions into account. These are identified as director&#39;s cut editions, complete editions, special editions and so forth. Three or more different versions may be occasionally derived from one and the same work. 
     In addition to the versions for showing in a theater, an original work may be edited for matching to the broadcasting time for e.g., television broadcasting or matching to a recording/reproducing apparatus of relatively short play time for household entertainment. 
     In addition, motion pictures or video works shown for indefinite audience are designated for being shown only for adults (rating). The rating is voluntarily applied by the maker to a motion picture for prohibiting the nonage from viewing it if the motion picture includes inappropriate expressions for nonage. Similarly, a rated video disc, for example, is prohibited from being sold or assigned to the nonage. 
     The rating in US is not provided by law but is a voluntary process followed by the maker inclusive of the distributer and seller. According to a literature &#34;THE MOVIE BUSINESS BOOK&#34;, pp.396 to 406, &#34;THE VOLUNTARY MOVIE RATING SYSTEM&#34;, the motion picture is classed into five categories, namely G (General Audiences; All Ages Admitted), PG (Parental Guidance Suggested); some material may not be suitable for children); PG-13 (Parents Strongly Cautioned, Some material may be inappropriate for children under 13; R (Restricted, under 17 requires accompanying parent or adult guardian); and NC-17 (No Children under 17 admitted). 
     Therefore, under these designations, admittance to a theater or the sale of video tapes or the like is restricted. Heretofore, a sole rating level is set for a given motion picture and referred to in a theater or a video shop for taking the age of the admitted or purchasing persons into account. In contrast to these voluntary process, there is also an idea of compulsorily prohibiting a rated video disc from being viewed by the nonage on the side of a reproducing apparatus. In this case, a flag for discriminating the possible rating is written on a video disc for detection by the reproducing apparatus for prohibiting reproduction. This function is termed a rating system, referred to hereinafter simply as rating. 
     In an European digital broadcasting system, there is a description &#34;Parental Rating&#34; in the definition of the service information. This broadcasting system provides a method for describing the age based on which the rating is allowed to come into operation by a receiving apparatus. In the above-mentioned rating system, if only a certain scene in a program is objectionable, an identification code is recorded at a position directly before the program starting. If the reproducing apparatus is in a rating mode, this identification code is read and the program is discontinued without being reproduced. In this case, the program in its entirety cannot be viewed. 
     SUMMARY OF THE INVENTION 
     It is therefore an object of the present invention to provide a data recording method and apparatus, a data record medium and a data reproducing method and apparatus for coping with plural versions or rating modes in such a manner that the reproducing system selects a reproducing channel of speech data matched to the reproducing pattern of video data for reproducing the speech data and video data matched to the reproducing pattern. 
     A data recording method according to the present invention divides video data and plural channels of language data into packets as units, and records the video data and the plural channels of language data on a record medium along with the control information containing a flag designating a reproducing channel of the language data matched to a reproducing pattern of the video data. Thus it becomes possible to record video data and plural channels of language data on a record medium so that a reproducing channel for the language data matched to the reproducing pattern of the video data will be selected and the plural channels of language data matched to the reproducing pattern and the video data will be reproduced by a reproducing system. 
     With the data recording method according to the present invention, the video data and the plural channels of language data are multiplexed and recorded on a record medium along with the control information containing a flag designating a reproducing channel of the language data matched to a reproducing pattern of the video data. Thus it becomes possible to record video data and plural channels of language data on a record medium so that a reproducing channel for the language data matched to the reproducing pattern of the video data will be selected and the plural channels of language data matched to the reproducing pattern and the video data will be reproduced by a reproducing system. 
     With the data recording method according to the present invention, the video data and the plural channels of the language data are multiplexed and recorded on a record medium, and the control information containing a flag designating the reproducing channel of the language data matched to the reproducing pattern of video data is recorded in a pre-set area on the record medium. Thus it becomes possible to record video data and plural channels of language data on a record medium so that a reproducing channel for the language data matched to the reproducing pattern of the video data will be selected and the plural channels of language data matched to the reproducing pattern and the video data will be reproduced by a reproducing system. 
     With the data recording method according to the present invention, speech data, for example, is recorded as the language data on the record medium. Thus it becomes possible to record video data and plural channels of speech data on a record medium so that a reproducing channel for the speech data matched to the reproducing pattern of the video data will be selected and the plural channels of speech data matched to the reproducing pattern and the video data will be reproduced by a reproducing system. 
     With the data recording method according to the present invention, speech data and/or title data, for example, is recorded as the language data on the record medium. Thus it becomes possible to record video data and plural channels of speech data and/or title data on a record medium so that a reproducing channel for the speech data and/or title data matched to the reproducing pattern of the video data will be selected and the plural channels of speech data and/or title data matched to the reproducing pattern and the video data will be reproduced by a reproducing system. 
     Thus, with the data recording method according to the present invention, video data and plural channels speech data and/or plural channels of title data are divided into packets as units and recorded on a record medium in a multiplexed or separate form along with the control information containing a flag designating a reproducing channel for the speech data and the title data matched to the reproducing pattern of the video data. Thus it becomes possible to record video data and plural channels of speech data and plural channels of title data on a record medium so that a reproducing channel for the speech and title data matched to the reproducing pattern of the video data will be selected and the speech and title data matched to the reproducing pattern and the video data will be reproduced by a reproducing system. 
     With a data recording apparatus according to the present invention, packet dividing means divides video data and plural channels of language data into packets as units, and control information generating means generates the control information containing a flag designating a reproducing channel of language data matched to a reproducing pattern of the video data, while recording means records the video data and the plural channels of language data along with the control information generated by the control information generating means on a record medium. Thus it becomes possible to record video data and plural channels of language data on a record medium so that a reproducing channel for the language data matched to the reproducing pattern of the video data will be selected and the plural channels of language data matched to the reproducing pattern and the video data will be reproduced by a reproducing system. 
     With the data recording apparatus according to the present invention, the video data and the plural channels of language data are multiplexed and recorded on a record medium along with the control information containing a flag designating a reproducing channel of the language data matched to a reproducing pattern of the video data. Thus it becomes possible to record video data and plural channels of speech data on a record medium so that a reproducing channel for the speech data matched to the reproducing pattern of the video data will be selected and the plural channels of language data matched to the reproducing pattern and the video data will be reproduced by a reproducing system. 
     With the data recording apparatus according to the present invention, the video data and the plural channels of the language data are multiplexed and recorded on a record medium, and the control information containing a flag designating the reproducing channel of the language data matched to the reproducing pattern of video data is recorded in a pre-set area on the record medium. Thus it becomes possible to record video data and plural channels of speech data on a record medium so that a reproducing channel for the speech data matched to the reproducing pattern of the video data will be selected and the plural channels of language data matched to the reproducing pattern and the video data will be reproduced by a reproducing system. 
     With the data recording apparatus according to the present invention, speech data, for example, is recorded as the language data on the record medium. Thus it becomes possible to record video data and plural channels of speech data on a record medium so that a reproducing channel for the speech data matched to the reproducing pattern of the video data will be selected and the plural channels of language data matched to the reproducing pattern and the video data will be reproduced by a reproducing system. 
     With the data recording apparatus according to the present invention, speech data and/or title data, for example, is recorded as the language data on the record medium. Thus it becomes possible to record video data and plural channels of speech data on a record medium so that a reproducing channel for the speech data matched to the reproducing pattern of the video data will be selected and the plural channels of speech data matched to the reproducing pattern and the video data will be reproduced by a reproducing system. 
     With the data recording apparatus according to the present invention, video data and plural channels speech data and/or plural channels of title data are divided into packets as units by packet dividing means and recorded on a record medium in a multiplexed or separate form by recording means along with the control information generated by control information generating means and containing a flag designating a reproducing channel for the speech data and the title data matched to the reproducing pattern of the video data. Thus it becomes possible to record video data and plural channels of speech data and plural channels of title data on a record medium so that a reproducing channel for the speech and title data matched to the reproducing pattern of the video data will be selected and the speech and title data matched to the reproducing pattern and the video data will be reproduced by a reproducing system. 
     A data record medium according to the present invention has recorded thereon video data and plural channels of language data, divided into packets as units, and the control information containing a flag designating a reproducing channel of the language data matched to a reproducing pattern of the video data. Thus it becomes possible for the reproducing system to select the reproducing channel of language data matched to a reproducing pattern of the video data and to reproduce the language data matched to the reproducing pattern and the video data. 
     With the data record medium according to the present invention, video data and plural channels of language data are multiplexed and recorded thereon along with the control information containing a flag designating a reproducing channel of the language data matched to a reproducing pattern of the video data. Thus it becomes possible for the reproducing system to select the reproducing channel of language data matched to a reproducing pattern of the video data and to reproduce the language data matched to the reproducing pattern and the video data. 
     With the data record medium according to the present invention, video data and plural channels of the language data are multiplexed and recorded thereon, and the control information containing a flag designating the reproducing channel of the language data matched to the reproducing pattern of the video data is recorded in a pre-set area thereof. Thus it becomes possible for the reproducing system to select the reproducing channel of language data matched to a reproducing pattern of the video data and to reproduce the language data matched to the reproducing pattern and the video data. 
     With the data record medium according to the present invention, speech data, for example, is recorded as the language data on the record medium. Thus it becomes possible for the reproducing system to select the reproducing channel of speech data matched to a reproducing pattern of the video data and to reproduce the speech data matched to the reproducing pattern and the video data. 
     With the data record medium according to the present invention, speech data and/or title data, for example, is recorded as the language data on the record medium. Thus it becomes possible for the reproducing system to select the reproducing channel of speech data and/or the title data matched to a reproducing pattern of the video data and to reproduce the speech data and/or the title data matched to the reproducing pattern and the video data. 
     With the data record medium according to the present invention, video data and plural channels of speech data and/or plural channels of title data are divided into packets as units and recorded in a multiplexed or separate form with the control information containing a flag designating a reproducing channel for the speech data and/or the title data matched to the reproducing pattern of the video data. Thus it becomes possible for the reproducing system to select the reproducing channel of speech data and title data matched to a reproducing pattern of the video data and to reproduce the speech data and/or the title data matched to the reproducing pattern and the video data. 
     With the data reproducing method according to the present invention, a reproducing channel for language data matched to a reproducing pattern of video data is selected based on a flag contained in the control information for reproducing the language data matched to the reproducing pattern and the video data. 
     With the data reproducing method according to the present invention, the control information is reproduced from a record medium having the video data and the plural channels of language data multiplexed and recorded thereon along with the control information containing a flag designating a reproducing channel of the language data matched to a reproducing pattern of the video data, and a reproducing channel of language data matched to a reproducing pattern of the video data is selected based on the flag contained in the control information for reproducing the language data matched to the reproducing pattern and the video data. Thus it becomes possible to reproduce video data and language data matched to the reproducing pattern. 
     With the data reproducing method according to the present invention, the control information is reproduced from a record medium on which the video data and the plural channels of the language data are multiplexed and recorded and in a pre-set area of which the control information containing a flag designating the reproducing channel of the language data matched to the reproducing pattern of video data is recorded, and a reproducing channel of language data matched to a reproducing pattern of the video data is selected based on the flag contained in the control information. Thus it becomes possible to reproduce the language data matched to the reproducing pattern and the video data. 
     With the data reproducing method according to the present invention, speech data, for example, is reproduced as the language data from the data record medium for reproducing the speech data matched to the reproducing pattern of video data along with the video data. 
     With the data reproducing method according to the present invention, speech data and/or title data, for example, is reproduced as the language data from the data record medium for reproducing the speech data and/or the title data matched to the reproducing pattern of video data along with the video data. 
     With an apparatus for reproducing video data and plural channels of language data from a record medium having recorded thereon the video data divided into packets as units and plural channels of language data also divided into packets as units, and also having recorded thereon the control information containing a flag designating a reproducing channel of the language data matched to a reproducing pattern of the video data, flag detection means is provided for detecting a flag contained in the control information, and reproducing processing means is provided for selecting a reproducing channel of language data matched to a reproducing pattern of the video data based on a detection output of the flag detection means. Thus it becomes possible to reproduce the language data matched to the reproducing pattern and the video data. 
     With the data reproducing apparatus according to the present invention, flag detection means detects a flag contained in the control information reproduced from a data record medium having the video data and the plural channels of language data multiplexed and recorded thereon along with the control information containing a flag designating a reproducing channel of the language data matched to a reproducing pattern of the video data. The reproducing processing means selects a reproducing channel of language data matched to the reproducing pattern of the video data for reproducing the language data matched to the reproducing pattern and the video data. 
     With the data reproducing apparatus according to the present invention, the flag detection means detects a flag contained in the control information reproduced from a data record medium on which the video data and the plural channels of the language data are multiplexed and recorded thereon, and in a pre-set area thereon of which the control information containing a flag designating the reproducing channel of the language data matched to the reproducing pattern of video data is recorded. Based on the detection output, the reproducing processing means selects the reproducing channel of language data matched to the reproducing pattern of the video data for reproducing video data and the language data matched to the reproducing pattern of the video data. 
     With the data reproducing apparatus according to the present invention, the reproducing processing means reproduces speech data matched to the reproducing patter of the video data from the data record medium along with the video data. 
     With the data reproducing apparatus according to the present invention, the reproducing processing means reproduces speech data and/or title data matched, to the reproducing pattern of the video data from the data record medium along with the video data. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a block diagram showing the structure of a data encoding apparatus according to the present invention. 
     FIG. 2 illustrates a pack format of a disc format in the data encoding apparatus shown in FIG. 1. 
     FIG. 3 illustrates a format for an entry sector. 
     FIG. 4 illustrates Program --  Stream --  Directory in the entry sector. 
     FIG. 5 illustrates the contents of Program --  Stream --  Map in the entry sector. 
     FIG. 6 illustrates the contents of description of Program Stream --  Map. 
     FIG. 7 illustrates the contents of dvd --  audio --  descriptor() described in the Program --  Stream --  Map. 
     FIG. 8 illustrates the contents of dvd --  lpcm --  descriptor() described in the Program --  Stream --  Map. 
     FIG. 9 illustrates the contents of dvd --  subtitle --  descriptor() described in the Program --  Stream --  Map. 
     FIG. 10 illustrates the contents of subtitle --  type described in dvd --  subtitle --  descriptor(). 
     FIG. 11 is a block diagram showing the structure of a data decoding apparatus embodying the present invention. 
     FIG. 12 shows an array f data in a DSM in the data encoding apparatus. 
     FIG. 13 illustrates a typical structure of TOC data. 
     FIG. 14 is a block diagram showing the structure of the data encoding apparatus embodying the present invention. 
     FIG. 15 illustrates a format of an entry sector in the data encoding apparatus. 
     FIG. 16 illustrates the contents of path --  descriptor() described in global --  descriptor 89 in Program --  Stream --  Map in the entry sector. 
     FIG. 17 is a block diagram showing the structure of a data decoding apparatus embodying the present invention. 
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     Referring to the drawings, preferred embodiments of the present invention will be explained in detail. The data encoding method according to the present invention is implemented by a data encoding apparatus configured as shown for example in FIG. 1. 
     The data encoding apparatus, shown in FIG. 1, includes a video encoder 1 for encoding video signals for compression, and audio encoders 2A, 2B and 2C for packetizing audio signals of, for example, three routes, that is AU1, AU2 and AU3. The data encoding apparatus also includes a multiplexer 3 connected to the video encoder 1 and to the audio encoders 2A to 2C. 
     In the above encoding apparatus, an output terminal of the video encoder 1 is connected to an input terminal of a video entry point detection circuit 31 of the multiplexer 3. An output terminal of the video entry point detection circuit 31 is connected to an input terminal of a code buffer 4. An entry sector generating circuit 32 is responsive to a control input of a controller 8 and routes its output to an input terminal E3 of a switching circuit 6. The controller 8 is also responsive to system clocks outputted by a multiplexing system clock generating circuit 9 to connect input terminals E1, E2, E3, E4 and E5 of the switching circuit 6 sequentially to an output terminal F in a pre-set period for sequentially taking out data from the code buffers 4, 5A, 5B and 5C or from the entry sector generating circuit 32, for time division multiplexing the data and for routing the data to a header appendage circuit 7. 
     The controller 8 also controls the header appendage circuit 7 for appending a video packet header to video data read out from the video packet header and for appending an audio packet header to audio data read out from the audio packet header. 
     The controller 8 is responsive to an input of an entry point generating signal generated at an I-picture generating timing from the video encoder 1 or from the video entry point detection 31 and controls the entry sector generating circuit 32 for inserting an entry sector at a pre-set position of a bitstream. If the video encoder 1 is configured for outputting an entry point generating signal, the video encoder 1 outputs an entry point generating signal at a generating timing of the I-picture. 
     If the video encoder 1 is unable to output an entry point generating signal, or a pre-encoded video bitstream is multiplexed, the video entry point detection circuit 31 generates an entry point generating signal at a generating timing of an I-picture, or detects an entry point from video data supplied from the video encoder 1 to output an entry point generating signal. An entry point storage unit 33 is a memory capable of reading and writing data from the controller 8 and stores the position of the detected entry point. 
     A MAP information storage device 35 stores the information entered from an external input device, and is controlled by the controller 8 so that the information stored therein will be read out each time the information constitutes an entry sector and subsequently stored in the entry sector. If the information is such information as uses the position of a future entry sector, the position of the entry sector is read out from the entry point storage device 33 and supplied to a DSM 10 for recording therein. 
     In the data encoding device shown in FIG. 1, a multiplexed bitstream is made up of at least one pack and ISO --  11172 --  end code. Each pack is constituted by a format as shown for example in FIG. 2. 
     That is, at the leading end of a pack is placed a header Pack Header made up of Pack --  Start --  Code, SCR and MUX --  Rate, followed by Video --  Packet --  Header and video data, not containing an I-picture in a sector configuration, in this order. Next to the video data is arrayed Entry --  Packet, followed by Video --  Packet Header and video data containing the I-picture in a sector configuration, in this order. Directly before video data containing the I-picture (entry point), that is directly before Video --  Packet --  Header, is arrayed Entry --  Packet. In the present embodiment, Audio --  Packet --  Header is arrayed next to video data and audio data of a sector structure is arrayed next to Audio --  Packet Header. 
     The entry sector Entry --  Packet is of a format shown in FIG. 3. At a leading end of the entry sector shown in FIG. 3 is arrayed Pack Header made up of Pack --  Start --  code, SCR and MUX --  Rate, followed by Program --  Stream --  Directory and Program --  Stream --  Map in this order. In the present embodiment, there is arrayed a packet other than a video packet, followed by video data inclusive of an I-picture. In the present embodiment, since the information appears from the leading end of the sector in a pre-set sequence, the information can be handled easily. 
     The directory Program --  Stream --  Directory is of a structure defined by the MPEG2 system standard and is used for indicating the accessible position in a stream. By traversing the loop A shown in FIG. 4 seven times, the positions of three forward intrapictures, one directly backward intra-picture and three backward entry points are recorded. 
     The map program --  Stream --  Map is defined as shown for example in FIG. 5. In loops B and C in FIG. 5 are placed descriptors () for accommodating a variety of information data, as shown in FIG. 6. In the present embodiment, div --  audio --  descriptor () shown in FIG. 7 is defined as a descriptor () contained in the loop C in Program Stream --  Map. Also, dvd --  lpcm --  descriptor() shown in FIG. 8 and dvd subtitle --  descriptor() shown in FIG. 9 are defined. 
     In FIG. 7, dvd --  audio --  descriptor() is a descriptor used for audio data compressed by MPEG Audio. The flag path --  number --  flag N is a 1-bit flag which is set to 1 or 0 if an audio stream is to be reproduced by a path number N or is not to be reproduced, respectively. On the other hand, channel --  configuration denotes the number of encoded channels in the audio bitstream. 
     In FIG. 8, dvd --  lpcm --  descriptor() is a 4-bit code defining an audio mix type in LPCM. The flag path --  number --  flag N is a 1-bit flag which is set to 1 or 0 if an audio stream is to be reproduced by a path number N or is not to be reproduced, respectively. 
     On the other hand, subtitle --  type in dvd --  subtitle descriptor() shown in FIG. 9 is a 4-bit code defining the type of the subtitle stream shown in FIG. 10, while aspect --  ratio information is a 4-bit code defining the display aspect of the subtitle stream. The flag path --  number --  flag N is a 1-bit flag which is set to 1 or 0 if an audio stream is to be reproduced by a pass number N or is not to be reproduced, respectively. 
     The data array on the DSM 10 is configured as shown in FIG. 11. That is, the information comprised of a collection of multiplexed streams termed table-of-contents (TOC) and multiplexed streams are sequentially recorded beginning from the inner rim side of the disc. 
     The TOC data is recorded as shown for example in FIG. 13. That is, the number of the multiplexed streams in the disc is first recorded. The loop is traversed in a number of times corresponding to the number of multiplexed streams for recording the information of each multiplexed stream. 
     In the loop are first recorded the leading and last sector addresses of the multiplexed streams, followed by Program --  Stream Map defined as shown in FIG. 5. This is the same as the map recorded in the stream. That is, dvd --  audio --  descriptor(), dvd --  lpcm descriptor() and dvd --  subtitle --  descriptor() shown in FIGS. 7, 8 and 9, respectively, are defined in Program --  Stream --  Map. 
     The operation of the data encoding apparatus shown in FIG. 1 is now explained. The controller 8 receives an entry point generating signal from the video encoder 1 or from the video entry point detection circuit 31 and causes an entry sector to be inserted directly before the video entry point. That is, on reception of the entry point generating signal, the controller 8 causes an entry packet to be generated in the entry sector generating circuit 32. The controller 8 then sets a movable contact of the switching circuit 6 to the input terminal E3 to cause the packet to be routed to the header appendage circuit 7 for multiplexing with video data from the code buffers 4, 5A, 5B and 5C and audio data of the respective channels. 
     The respective elementary streams of the above video data and the audio data of the respective channels are recorded in such a manner that the types of the elementary streams are defined by stream --  type in Program --  Stream --  Map and also in such a manner that a flag specifying a reproducing channel of audio data matched to the reproducing pattern or path of the video data is supplied by dvd --  audio --  descriptor() or dvd --  lpcm --  descriptor(). 
     It is assumed that three routes of audio signals AU1, AU2 and AU3 are all recorded with compression by DVD audio, the audio signal AU1 is the general speech, while the audio signals AU2 and AU3 are speech for adults and for children, respectively. With the reproducing pattern of video signals for general use, reproduction of the audio signals AU1 and AU3 among the three routes of the audio signal AU1 to AU3 is allowed. With the reproducing pattern or path 1 for adults, reproduction of all of the audio signals AU1 to AU3 is allowed, whereas, with the reproducing pattern or path 2 of video signals for children, only reproduction of the audio signals AU3 is allowed. 
     That is, in dvd --  audio --  descriptor() in PSM defining attributes of data associated with the speech for general use, the flags path --  number --  flag 0 and path --  number --  flag 2 are set to 1, while the flag path --  number flag 1 is set to 0. 
     On the other hand, in dvd --  audio --  descriptor() in the PSM defining attributes of data for adult speech, the flags path number flag are all set to 1. 
     In dvd --  audio --  descriptor() in PSM defining attributes of data associated with the speech for children, the flag path --  number flag 2 is set to 1, while the flags path --  number --  flag 0 and path number --  flag 1 is set to 0. 
     Alternatively, the reproducing channels may be fixed from one reproducing pattern to another, so that reproduction of the audio signals AU1, AU2 and AU3 will be allowed with reproducing patterns path 1, reproducing patterns path 2 and reproducing patterns path 3, respectively. 
     Stated differently, only the flag path --  number --  flag 0, the flag path --  number --  flag 1 or the flag path --  number --  flag 2 are set to 1 for the general speech, for speech for adults and for speech for children, respectively. 
     For providing the structure shown in FIG. 12, the data encoding apparatus shown in FIG. 1 operates as follows: First, the TOC area is procured. This procures an area for the DSM 10 in advance for matching with the number of the designated multiplexed streams. The encoding as described above is then performed. 
     Each time the encoding of a multiplexed stream is completed, the data encoding apparatus shown in FIG. 1 updates the TOC data. That is, dvd --  audio --  descriptor(), dvd --  lpcm --  descriptor() and dvd subtitle --  descriptor(), which are the same as those described in the entry point information, are recorded as the leading and last sector addresses of the encoded multiplexed streams. 
     In this manner, the reproducing channel of speech data matched to the reproducing pattern of the video data are designated by the flags for encoding. 
     Referring to FIG. 11, a data decoding apparatus according to an embodiment of the present invention is explained. The data decoding apparatus shown in FIG. 11 decodes data reproduced from the DSM 10 having recorded thereon data encoded by the data encoding apparatus shown in FIG. 1. 
     In this data decoding apparatus, a header separation circuit 22 of the separation device 21 separates a pack header, a sector header and an entry sector from data read out from the DSM 10 and routes the separated data to a controller 24, while routing time-divisional multiplexed data to an input terminal G of a switching circuit 23. The switching circuit 23 has its output terminals H1 and H2 connected to an input terminal of a video decoder 25 and an input terminal of an audio decoder 26, respectively. 
     The controller 24 reads out the information concerning an entry point from data supplied from the header separation circuit 22 and causes the read-out data to be routed to and stored in an entry point storage unit 33. Since the controller 24 is fed with the information concerning the current read-out position from the DSM 10, the controller 24 can store the position of the entry point in association with its contents. 
     In accordance with stream --  id of the sector header supplied from the header separation circuit 22, the controller 24 of the separation device 21 causes an input terminal G of the switching circuit 23 to be sequentially connected to output terminals H1 and H2 thereof for routing video data and audio data to the video decoder 25 and to the audio decoder 26, respectively. 
     If there is sufficient capacity allowance in a storage circuit of the controller 24, the following operation is feasible. That is, prior to reproduction, the controller reads out the TOC shown in FIG. 12 for storage in its own storage circuit. This enables the processing to be performed without the necessity of fetching the information each time the multiplexed stream is reproduced. 
     With the present decoding apparatus for the multiplexed data, the controller 24 controls the reproducing operation so that it selects an audio stream by the path designated by the path designation signal as set by the user and the information on the path of the multiplexed bitstream for causing audio data matched to the video data to be decoded by the audio decoder 26. 
     If, with the above-described decoding apparatus for multiplexed data, the audio signals AU1, AU2 and AU3 is the general speech, the speech for adults and the speech for children, respectively, the audio signal AU1 or AU3 can be decoded by designation by the path designation signal for the reproducing pattern path 0 for general video signals, while any of the audio signals AU1 to AU3 can be decoded by designation by the path designation signal for the reproducing pattern path 1 for adults. Only the audio signal AU3 can be decoded by the reproducing pattern path 2 for children. 
     The data encoding method according to the present invention may be implemented by a data encoding apparatus shown for example in FIG. 14. 
     The data encoding apparatus shown in FIG. 14 is configured for handling eight routes of audio signals in the data encoding apparatus shown in FIG. 1, and includes title encoders 11A to 11H and code buffers 12A to 12H configured for packetizing associated eight routes of the the data. 
     The controller 8 is responsive to system clocks outputted by the multiplexed system clock generating circuit 9 to interconnect input terminals E1 to E18 of the switching circuit 6 to its output terminal F in a pre-set period in order to take out data from the code buffers 4, 5A to 5H and 12A to 12H or the entry sector generating circuit 32. The controller causes the data to be time-divisionally multiplexed and outputted to the header appendage circuit 7. The controller 8 also controls the header appendage circuit 7 to append a video packet header to video data read out from the code buffer 4. The controller also appends an audio packet header to audio data read out from the code buffers 5A to 5H, while appending a title packet header to title data read out from the code buffers 12A to 12H. In addition, the controller 8 receives an entry point generating signal, generated at an I-picture generating timing, and controls the entry sector generating circuit 32 for inserting an entry sector at a pre-set position of the bitstream. If the video encoder 1 is configured for outputting an entry point generating signal, the video encoder 1 outputs an entry point generating signal at an I-picture generating timing. 
     If the video encoder 1 is unable to output an entry point generating signal, or a pre-encoded video bitstream is multiplexed, the video entry point detection circuit 31 generates an entry point generating signal at a generating timing of an I-picture, or detects an entry point from video data supplied from the video encoder 1 to output an entry point generating signal. An entry point storage unit 33 is a memory capable of reading and writing data from the controller 8 and stores the position of the detected entry point. 
     A MAP information storage device 35 stores the information entered from an external input device, and is controlled by the controller 8 so that the information stored therein will be read out each time the information constitutes an entry sector and subsequently stored in the entry sector. If the information is such information as uses the position of a future entry sector, the position of the entry sector is read out from the entry point storage device 33 and supplied to the DSM 10 for recording therein. 
     In the data encoding apparatus, shown in FIG. 14, there is arrayed at the leading end of a pack a header Pack --  Header made up of Pack --  Start --  Code, SCR and MUX --  Rate, followed by Video --  Packet Header and video data, not containing an I-picture in a sector configuration, in this order. Next to the video data is arrayed Entry --  Packet, followed by Video --  Packet --  Header and video data containing the I-picture in a sector configuration, in this order. Directly before video data containing the I-picture (entry point), that is directly before Video --  Packet --  Header, is arrayed Entry Packet. In the present embodiment, Audio --  Packet --  Header is arrayed next to video data and audio data of a sector structure is arrayed next to Audio --  Packet --  Header. 
     The entry sector Entry --  Packet is of a format shown in FIG. 3. At a leading end of the entry sector shown in FIG. 3 is arrayed Pack Header made up of Pack --  Start --  code, SCR and MUX --  Rate, followed by Program --  Stream --  Directory and Program --  Stream --  Map in this order. In the present embodiment, there is arrayed a packet other than a video packet, followed by video data inclusive of an I-picture. In the present embodiment, since the information appears from the leading end of the sector in a pre-set sequence, the information can be handled easily. In this case, Audio --  Packet Header is arrayed next to video data, followed by a sector structure of audio data. Next to the audio data is arrayed a title Packet --  Header, followed by a sector structure of title data. 
     The above Program --  Stream --  Directory is of a structure defined by the MPEG2 system standard and is used for indicating the accessible position in a stream. 
     In Program --  Stream --  Map is defined global descriptor() in which is defined path --  descriptor () shown in FIG. 16. 
     The descriptor path --  descriptor () defines each path and has a syntax shown in FIG. 16. As shown therein, the descriptor describes path numbers path --  number, track numbers track --  number, sector numbers pX --  sectors --  to --  read, pX --  sectors --  from --  start, sector offsets pX --  offset --  next --  section . . . pX --  offset --  start track, track time codes pX --  track --  tc --  hours --  1 . . . pX --  track --  tc frames --  2, pass time codes pX --  path --  tc --  hours --  1 . . . pX --  path --  tc frames --  2. 
     The path number path --  number is a 3-bit value according path numbers referred to by the descriptor. 
     The track number track --  number is a 16-bit value equal to the current track number. It is an encoded value of a relative track number towards the program start position. The track numbers of the segments are used in common by a path or plural paths. The track number is incremented through paths. The absolute track number on the disc can be known by adding the track number offset provided by program --  linkage in disc --  toc() to the relative track number. 
     The sector number pX --  sectors --  to --  read is an integer without a sign for according the remaining number of sectors necessary until reading the program section of the path number X. If this value is N, N sectors inclusive of the current section are left until reading as far as the end of the section of the path. 
     The sector number pX --  sectors --  from --  start is an integer without a sign which accords the number of sectors from the current sector of the path number X until the start position of the current section. If the value is 0, the current sector is the first sector of the section. If this value is N, there are N sectors, exclusive of the current sector, from the start position of the current section as far as the current sector. 
     The offset pX --  offset --  next --  section is a sector offset from the current sector of the path of the path number as far as the entry sector of the start position of the next section. This offset is positive or negative and encoded in 2&#39;s complement form. If this value is 0, there is no section to be reproduced next to the section to which belongs the current sector, that is, the program has come to a close. 
     The offset pX --  offset --  previous --  section is a sector offset from the current entry sector of the path of the path number X as far as the last entry sector of the previous section. This offset is positive or negative and encoded in 2&#39;s complement form. If this value is 0, there is no section to be reproduced before the section to which belongs the current sector, that is, the program has now started. 
     If the sector numbers (pX --  sectors --  to --  read and pX --  sectors from --  start) and the above offsets (pX --  offset --  next --  section and pX --  offset --  previous --  section) are all zero, the path of the path number X is not used, or the entry sector is not a part of the path of the path number X. 
     The offset pX --  offset --  next --  track is a sector offset from the current sector of the path of the path number X as far as the entry sector of the start position of the next current track. This offset is positive or negative and encoded in 2&#39;s complement form. If this value is 0, there is no next track on the path. 
     The offset pX --  offset --  start --  track is a sector offset from the current sector of the path of the path number X as far as the entry sector of the start position of the current track. This offset is positive or negative and encoded in 2&#39;s complement form. If the current entry sector is the leading end of a track, this offset pX --  offset --  start --  track is an offset to the start position of the previous track. If this value is 0, there is no previous track on the pass. 
     The above is the manner of describing the path number of the section containing the current entry sector in the PSM in the entry sector. 
     The operation of an embodiment of a data encoding apparatus shown in FIG. 14 is now explained. The controller 8 receives an entry point generating signal from the video encoder 1 or from the video entry point detection circuit 31 and causes an entry sector to be inserted directly before the video entry point. That is, on reception of the entry point generating signal, the controller 8 causes an entry packet to be generated in the entry sector generating circuit 32. The controller 8 then sets a movable contact of the switching circuit 6 to the input terminal E18 to cause the packet to be routed to the header appendage circuit 7 for multiplexing with video data from the code buffers 4, 5A to 5H and 12A to 12H, audio data of the respective channels and title data of the respective channels. 
     The respective elementary streams of the above video data and the audio data of the respective channels are recorded in such a manner that the types of the elementary streams are defined by stream --  type in Program --  Stream Map and also in such a manner that a flag specifying a reproducing channel of audio data matched to the reproducing pattern or path of the video data is supplied by dvd --  audio --  descriptor() or dvd --  lpcm --  descriptor(). 
     Referring now to FIG. 17, a data decoding apparatus according to an embodiment of the present invention is explained. The data decoding apparatus shown in FIG. 17 is configured for decoding data reproduced from the DSM 10 having recorded thereon data encoded by the encoding apparatus shown in FIG. 14, and is similar to a data decoding apparatus except having further a title decoder 27. 
     In the present data decoding apparatus, the header separation circuit 22 of the separation device 21 separates the pack header, sector header and the entry sector from data read out from the DSM 10 and routes the separated data to the controller 24, while routing time-divisionally multiplexed data to the input terminal G of the switching circuit 23. The switching circuit 23 has its output terminals H1, H2 and H3 connected to input terminals of the video decoder 25, audio decoder 26 and the title decoder 27. 
     The controller 24 reads out the information concerning an entry point (entry sector information) from data supplied from the header separation circuit 22 and causes the read-out data to be routed to and stored in an entry point storage unit 41. Since the controller 24 is fed with the information concerning the current read-out position from the DSM 10, the controller 24 can store the position of the entry point in association with its contents. 
     In accordance with stream --  id of the sector header supplied from the header separation circuit 22, the controller 24 of the separation device 21 causes the input terminal G of the switching circuit 23 to be sequentially connected to output terminals H1 to H3 thereof for routing video data and audio data to the video decoder 25 and to the audio decoder 26, respectively. 
     If there is sufficient capacity allowance in a storage circuit of the controller 24, the following operation is feasible. That is, prior to reproduction, the controller reads out the TOC for storage in its own storage circuit. This enables the processing to be performed without the necessity of fetching the information each time the multiplexed stream is reproduced. 
     In the present multiplexed data decoding apparatus, the controller 24 controls the reproducing operation so that it selects an audio stream and the title data by the path designated by the path designation signal as set by the user and the information on the path of the multiplexed bitstream for causing audio data matched to the video data and the title data to be decoded by the audio decoder 26 and by the title decoder 27, respectively. 
     With the above-described structure of the multiplexed data decoding apparatus, it is assumed that, among the eight routes of the audio signals AU1 to AU8, the audio signal AU1 is general English speech, the audio signal AU2 is general French speech, the audio signal AU3 is general Japanese speech, the audio signal AU4 is English speech for adults, the audio signal AU5 is French speech for adults, the audio signal AU6 is Japanese speech for adults, the audio signal AU7 is English speech for children, the audio signal AU8 is French speech for children, and the audio signal AU9 is Japanese speech for children. It is also assumed that, among the eight routes of the title signals CH1 to CH8, the title signal CH1 is general English title, the title signal CH2 is general French title, the title signal CH3 is general Japanese title, the title signal CH4 is English title for adults, the title signal CH5 is French title for adults, the title signal CH6 is Japanese title for adults, the title signal CH7 is English title for children, the title signal CH8 is French title for children, and the title signal CH9 is Japanese title for children. 
     With the reproducing pattern path 0 for general video signals, the audio signals AU1 to AU3 or AU7 and AU8 of the eight routes of the audio signal AU1 to AU8 can be decoded by designation with the path designation signal. With the reproducing pattern path 1 for adults, any of the eight routes of audio signals AU1 to AU8 can be decoded by designation by the path designation signals. 
     With the reproducing pattern path 1 for adults, any of the eight title signals CH1 to CH8 can be decoded, whereas, with the reproducing pattern path 2 for children, the title signals CH7 and CH8 may be decoded. 
     The on/off of audio data and title data in each reproducing pattern is designated by a 1-bit flag path --  number --  flag --  N which is set to 1 or 0 if the audio stream is to be reproduced by the path number N or otherwise, respectively. 
     The attributes of the audio data recorded as general speech are such that, in dvd --  audio --  descriptor() in the PSM, path --  number flag --  0 and path --  number --  flag --  2 are set to 1, while path --  number flag --  1 is set to 0. 
     The attributes of the title data recorded as general speech are such that, in dvd --  subtitle --  descriptor() in the PSM, path number --  flag --  0 and path --  number --  flag --  2 are set to 1, while path number --  flag --  1 is set to 0. 
     The attributes of the audio data recorded as general speech for adults are such that, in dvd --  subtitle --  descriptor() in the PSM, path --  number --  flag --  0, path --  number --  flag --  1, and path --  number flag --  2 are set to 1. 
     The attributes of the title data recorded as general speech for adults are such that, in dvd --  subtitle --  descriptor() in the PSM, path --  number --  flag --  0, path --  number --  flag --  1, and path --  number --  flag  --  2 are set to 1. 
     The attributes of the audio data recorded as speech for children are such that, in dvd --  audio --  descriptor() in the PSM, path --  number --  flag --  2 is set to 1, while path --  number --  flag --  0 and path --  number --  flag --  1 are set to 0. 
     The attributes of the title data recorded as speech for children are such that, in dvd --  subtitle --  descriptor() in the PSM, path --  number --  flag --  2 is set to 1, while path --  number --  flag --  0 and path --  number --  flag --  1 are set to 0.