AU2011218752A1 - Reproduction device, reproduction method, program, recording medium, and data structure - Google Patents
Reproduction device, reproduction method, program, recording medium, and data structure Download PDFInfo
- Publication number
- AU2011218752A1 AU2011218752A1 AU2011218752A AU2011218752A AU2011218752A1 AU 2011218752 A1 AU2011218752 A1 AU 2011218752A1 AU 2011218752 A AU2011218752 A AU 2011218752A AU 2011218752 A AU2011218752 A AU 2011218752A AU 2011218752 A1 AU2011218752 A1 AU 2011218752A1
- Authority
- AU
- Australia
- Prior art keywords
- sub
- playback
- stream
- main
- path
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
- Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)
Abstract
PLAYBACK APPARATUS, PLAYBACK METHOD, PROGRAM, RECORDING MEDIUM, AND DATA STRUCTURE Abstract 5 Disclosed is a playback apparatus. The playback apparatus comprises: obtaining means for obtaining playback management information including first information having a main playback path indicating a position of an AV stream file recorded on a recording to medium and second information having a plurality of sub playback paths indicating positions of sub files including accompanying data to be played back simultaneously with playback of main image data included in the AV stream file; selection means for selecting is accompanying data to be played back, based on an instruction from a user, from among accompanying data to be played back simultaneously with the main image data included in the AV stream file referred to by the main playback path and the accompanying data included in the 20 sub files, which can be selected from streams or data files different from a main AV stream, referred to by the sub playback paths; reading means for reading, if the accompanying data selected by the selection means is included in a sub file referred to by a sub playback 25 path, the sub file referred to by the sub playback path together with the AV stream file referred to by the main playback path; and playback means for playing back the main image data included in the AV stream file read by the reading means and the accompanying data included in 30 the sub file selected by the selection means and read by the reading means. 5554446-1
Description
S&F Ref: 720811D1 AUSTRALIA PATENTS ACT 1990 COMPLETE SPECIFICATION FOR A STANDARD PATENT Name and Address Sony Corporation, of 7-35 Kitashinagawa 6-chome, of Applicant: Shinagawa-ku, Tokyo, 141-0001, Japan Actual Inventor(s): Toshiya Hamada Motoki Kato Address for Service: Spruson & Ferguson St Martins Tower Level 35 31 Market Street Sydney NSW 2000 (CCN 3710000177) Invention Title: Reproduction device, reproduction method, program, recording medium, and data structure The following statement is a full description of this invention, including the best method of performing it known to me/us: 5845c(5564597_1) S05P0181 DESCRIPTION PLAYBACK APPARATUS, PLAYBACK METHOD, PROGRAM, RECORDING MEDIUM, AND DATA STRUCTURE Technical Field (0001] The present invention relates to playback apparatuses, playback methods, programs, recording media, and data structures. More particularly, the invention relates to a playback apparatus, a playback method, a program, a recording medium, and a data structure that enable interactive operations when AV content is played back. Background Art [0002] In DVD (Digital Versatile Disc) video standards, interactive operations can be performed, that is, users can switch sound or subtitles when playing back AV (Audio Visual) content, such as a movie, recorded on an information recording medium (for example, see Non-Patent Document 1). More specifically, the user operates a sound switch button 11 or a subtitle switch button 12 of a remote controller 2 to switch sound or subtitles of AV content displayed on a display device 1 shown in Fig. 1. For example, if the user operates the sound switch button 11 when sound 1 is set in the initial state in the display device 1, sound 1 is -2 SO5P0181 switched to sound 2, as shown in Fig. 2. [0003) AV content on DVD video is recorded in the form of an MPEG (Moving Picture Experts Group)2 program stream. In the MPEG2 program stream, as shown in Fig. 3, a video stream (Video in Fig. 3), a plurality of audio streams (indicated by Audio 1, 2, and 3 in Fig. 3), and a plurality of sub picture streams (Sub-pictures 1, 2, and 3) are multiplexed such that the audio streams and the sub-picture streams are AV-synchronized with the video stream. The sub-picture streams (sub-pictures 1, 2, and 3) are streams in which bitmap images are run-length coded, and are mainly used for subtitles. [0004] Generally, a plurality of audio streams are used for recording sound of different languages, and a plurality of sub-picture streams are used for recording subtitles of different languages. The user can interactively select sound or subtitles of a desired language by using the remote controller 2 while video is being played back. [0005] The DVD video defines a table structure, provided to users, indicating the relationship between sound numbers and subtitle numbers for a plurality of audio streams (audio 1, 2, and 3) and a plurality of sub-picture streams (sub- -3 S05P0181 pictures 1, 2, and 3) in a program stream. [0006] Fig. 4 illustrates a stream number table indicating the relationship between audio signals and subtitle signals. In this table, the sound numbers are referred to as "ASN (Audio Stream Number)", and the subtitle numbers are referred to as "SSN (Sub-picture Stream Number)". In Fig. 4, each of the plurality of audio streams is provided with A_SN, and each of the plurality of sub-picture streams is provided with SSN. More specifically, ASN=l: audio 2, ASN=2: audio 1, and ASN-3: audio 3. Also, SSN=1: sub picture 3, SSN=2: sub-picture 1, and SSN=3: sub-picture 2. In this case, a smaller number of ASN or SSN indicates an audio signal or a subtitle signal to be provided to users with higher priority. That is, ASN=l is an audio stream played back as a default, and S_SN=1 is a sub-picture stream played back as a default. [0007] More specifically, sound 1 played back in the initial state in Fig. 1 is audio 2, which is A_SN=1 (Fig. 4), and sound 2 played back after being switched from sound 1 in Fig. 2 is audio 1, which is ASN=2. Non-Patent Document 1: DVD Specifications for Read-Only Disc Part 3; Version 1.1 Disclosure of Invention -4 S05P0181 Problems to be Solved by the Invention [0008] According to the DVD video, however, when the user switches sound or subtitles while playing back a video program stream, the user can select only from audio streams or sub-picture streams multiplexed into the program stream which is currently played back. That is, when playing back an MPEG2 program stream, such as that shown in Fig. 3, the user can select only from audio 1 through audio 3 when switching sound. [0009] Accordingly, even if another stream having audio streams and subtitles different from a program stream which is currently played back is available, the user cannot switch sound or subtitles to the audio streams or subtitles in the different stream. Accordingly, the extensibility in selecting streams is low. [0010] The present invention has been made in view of the above background. An object of the present i-tiion is to select sound and subtitles from streams or data files different from a main AV stream when the user switches sound or subtitles. Means for Solving the Problems [0011] -5 A playback apparatus according to one aspect of the present invention includes: obtaining means for obtaining playback management information including first information having a main playback path indicating the position of an AV 5 stream file recorded on a recording medium and second information having a plurality of sub playback paths indicating the positions of sub files including accompanying data to be played back simultaneously with playback of main image data included in the AV stream file; selection means 10 for selecting accompanying data to be played back, based on an instruction from a user, from among accompanying data to be played back simultaneously with the main image data included in the AV stream file referred to by the main playback path and the accompanying data included in the sub is files referred to by the sub playback paths; reading means for reading, if the accompanying data selected by the selection means is included in a sub file referred to by a sub playback path, the sub file referred to by the sub playback path together with the AV stream file referred to 20 by the main playback path; and playback means for playing back the main image data included in the AV stream file read by the reading means and the accompanying data included in the sub file selected by the selection means and read by the reading means. 25 [0012] -6 The first information may include a table defining the accompanying data included in the AV stream file referred to by the main playback path and the accompanying data referred to by the sub playback paths, and the selection means may 5 select the accompanying data to be played back, based on the instruction from the user, from among the accompanying data defined in the table. [0013] The playback apparatus may further include determining 1o means for determining whether the playback apparatus has a function of playing back the accompanying data selected by the selection means. If it is determined by the determining means that the playback apparatus has a function of playing back the accompanying data and if the accompanying data is is included in a sub file referred to by a sub playback path, the reading means may read the sub file referred to by the sub playback path together with the AV stream file referred to by the main playback path, and the playback means may play back the main image data included in the AV stream file 20 read by the reading means and the accompanying data included in the sub file selected by the selection means and read by the reading means. [0014] The playback apparatus may further include determining 25 means for determining whether the playback apparatus has a function of playing back the accompanying data selected by -7 the selection means. If it is determined by the determining means that the playback apparatus has a function of playing back the accompanying data and if the accompanying data is included in a sub file referred to by a sub playback path, s the reading means may read the sub file referred to by the sub playback path together with the AV stream file referred to by the main playback path, and the playback means may play back the main image data included in the AV stream file read by the reading means and the accompanying data included 10 in the sub file selected by the selection means and read by the reading means. (0015) The table may further define accompanying information concerning accompanying data, and the determining means may 15 determine whether the playback apparatus has a function of playing back the accompanying data based on attribute information concerning the accompanying data defined in the table. [00161 20 The second information may include type information concerning the types of sub playback paths, file names of the sub files referred to by the sub playback paths, and IN points and OUT points of the sub files referred to by the sub playback paths. 25 [0017] - 8 The second information may further include specifying information for specifying the AV stream file referred to by the main playback path to play back the sub playback paths simultaneously with the main playback path, and a time on 5 the main playback path for allowing the IN points to be started in synchronization with the main playback path on the time axis of the main playback path. [0018] A playback method according to another aspect of io present invention includes: an obtaining step of obtaining playback management information including first information having a main playback path indicating the position of an AV stream file recorded on a recording medium and second information having a plurality of sub playback paths is indicating positions of sub files including accompanying data to be played back simultaneously with playback of main image data included in the AV stream file; a selection step of selecting accompanying data to be played back, based on an instruction from a user, from among accompanying data to 20 be played back simultaneously with the main image data included in the AV stream file referred to by the main playback path and the accompanying data included in the sub files referred to by the sub playback paths; a reading step of reading, if the accompanying data selected by processing 25 of the selection step is included in a sub file referred to by a sub playback path, the sub file referred to by the sub - 9 playback path together with the AV stream file referred to by the main playback path; and a playback step of playing back the main image data included in the AV stream file read by processing of the reading step and the accompanying data 5 included in the sub file selected by processing of the selection step and read by processing of the reading step. [0019] A program according to a further aspect of the present invention includes: an obtaining step of obtaining playback to management information including first information having a main playback path indicating the position of an AV stream file recorded on a recording medium and second information having a plurality of sub playback paths indicating the positions of sub files including accompanying data to be is played back simultaneously with playback of main image data included in the AV stream file; a selection step of selecting accompanying data to be played back, based on an instruction from a user, from among accompanying data to be played back simultaneously with the main image data included 20 in the AV stream file referred to by the main playback path and the accompanying data included in the sub files referred to by the sub playback paths; a reading step of reading, if the accompanying data selected by processing of the selection step is included in a sub file referred to by a 25 sub playback path, the sub file referred to by the sub playback path together with the AV stream file referred to - 10 by the main playback path; and a playback step of playing back the main image data included in the AV stream file read by processing of the reading step and the accompanying data included in the sub file selected by processing of the 5 selection step and read by processing of the reading step. [0020] According to a first aspect of the present invention, playback management information including first information having a main playback path indicating the position of an AV 10 stream file recorded on a recording medium and second information having a plurality of sub playback paths indicating the positions of sub files including accompanying data to be played back simultaneously with playback of main image data included in the AV stream file is obtained. Then, is accompanying data to be played back is selected, based on an instruction from a user, from among accompanying data to be played back simultaneously with the main image data included in the AV stream file referred to by the main playback path and the accompanying data included in the sub files referred 20 to by the sub playback paths. If the selected accompanying data is included in a sub file referred to by a sub playback path, the sub file referred to by the sub playback path is read together with the AV stream file referred to by the main playback path. Then, main image data included in the 25 read AV stream file and the accompanying data included in the selected and read sub file are played back.
- 11 [0021] Association data recorded on a lirst recording medium of the present invention indicates whether accompanying data is included in a clip used by a main playback path 5 indicating the position of the AV stream file or in clips used by a plurality of sub playback paths indicating the positions of sub files including the accompanying data played back simultaneously with the AV stream file. If the association data indicates that the accompanying data is 1o included in the clips used by the plurality of sub playback paths indicating the positions of the sub files including the accompanying data, the association data includes at least an 10 of the sub playback path to be played back selected from the 10 for specifying the sub playback path to is be played back, an 10 for specifying a clip used by the sub playback path, and an 10 for specifying an elementary stream to be played back by the clip. [0022] According to a second aspect of the present invention, 20 the association data indicates whether accompanying data is included in a clip used by a main playback path indicating the position of the AV stream file or in clips used by a plurality of sub playback paths indicating the positions of sub files including the accompanying data played back 25 simultaneously with the AV stream file. If the association data indicates that the accompanying data is included in the - 12 clips used by the plurality of sub playback paths indicating the positions of the sub files including the accompanying data, the association data includes at least an ID of the sub playback path to be played back selected from the ID for 5 specifying the sub playback path to be played back, an ID for specifying a clip used by the sub playback path, and an ID for specifying an elementary stream to be played back by the clip. [00231 10 A playback control file recorded on a second recording medium of the present invention includes a sub playback path indicating the position of a sub file including accompanying data to be played back simultaneously with main image data included in an AV stream file. The main playback path i5 includes a table defining a list of elementary streams that are selectable while the main playback path is being played back. The table includes data indicating whether the selectable elementary streams are included in the AV stream file selected by the main playback path or the sub file 20 selected by the sub playback path. [0024] According to a data structure of the present invention, a playback control file includes a sub playback path indicating the position of a sub file including 25 accompanying data to be played back simultaneously with main image data included in an AV stream file. The main playback - 13 path includes a table defining a list of elementary streams that are selectable while the main playback path is being played back. The table includes data indicating whether the selectable elementary streams are included in the AV stream s file selected by the main playback path or the sub file selected by the sub playback path. [00251 According to a third aspect of the present invention, a playback control file includes a sub playback path io indicating the position of a sub file including accompanying data to be played back simultaneously with main image data included in an AV stream file. The main playback path includes a table defining a list of elementary streams that are selectable while the main playback path is being played is back. The table includes data indicating whether the selectable elementary streams are included in the AV stream file selected by the main playback path or the sub file selected by the sub playback path. Advantages 20 [0026] According to the present invention, interactive operations can be performed when playing back an AV stream file. In particular, according to the present invention, interactive operations can also be performed on sub files 25 referred to by sub playback paths, which are different from - 14 the AV stream file referred to by the main playback path. Brief Description of the Drawings [0027] [Fig. 1] Fig. 1 illustrates known sound switching. 5 [Fig. 2] Fig. 2 illustrates known sound switching. [Fig. 3] Fig. 3 illustrates the structure of an MPEG2 program stream. [Fig. 4] Fig. 4 illustrates a stream number table indicating the relationship between sound signals and 1o subtitle signals provided to a user. [Fig. 51 Fig. 5 illustrates an example of an application format on a recording medium installed in a playback apparatus to which the present invention is applied. is [Fig. 6] Fig. 6 illustrates the structure of Main Path and Sub Path. [Fig. 7] Fig. 7 illustrates an example of Main Path and Sub Path. [Fig. 8] Fig. 8 illustrates another example of Main 20 Path and Sub Path.
- 15 S05P0181 [Fig. 9] Fig. 9 illustrates still another example of Main Path and Sub Path. [Fig. 10] Fig. 10 illustrates another example of Main Path and Sub Path. [Fig. 11] Fig. 11 illustrates the syntax of PlayList(). [Fig. 12] Fig. 12 illustrates the syntax of SubPath(). [Fig. 13] Fig. 13 illustrates the syntax of SubPlayItem(i). [Fig. 14] Fig. 14 illustrates the syntax of PlayItem(). [Fig. 15] Fig. 15 illustrates the syntax of STNtable(). [Fig. 16] Fig. 16 illustrates an example of the syntax of streamentry(). [Fig. 17] Fig. 17 illustrates the syntax of stream attribute ). [Fig. 18] Fig. 18 illustrates stream_cording_type. [Fig. 19] Fig. 19 illustrates videoformat. [Fig. 20] Fig. 20 illustrates framerate. [Fig. 21] Fig. 21 illustrates aspectratio. [Fig. 22] Fig. 22 illustrates audio_presentationtype. [Fig. 23] Fig. 23 illustrates sampling_frequency. [Fig. 24] Fig. 24 illustrates Character code. [Fig. 25] Fig. 25 is a block diagram illustrating an - 16 S05P0181 example of the configuration of a playback apparatus to which the present invention is applied. [Fig. 26] Fig. 26 is a flowchart illustrating playback processing performed by the playback apparatus shown in Fig. 25. [Fig. 27] Fig. 27 is a flowchart illustrating the playback processing performed by the playback apparatus shown in Fig. 25. [Fig. 28) Fig. 28 is a flowchart illustrating the playback processing performed by the playback apparatus shown in Fig. 25. [Fig. 29] Fig. 29 is a flowchart illustrating processing when an instruction to switch audio is given by a user. [Fig. 30] Fig. 30 is a flowchart illustrating processing when an instruction to switch subtitles is given by a user. [Fig. 31] Fig. 31 illustrates the configuration of a personal computer. [Fig. 32A] Fig. 32A illustrates another example of the syntax of PlayList(). [Fig. 32B] Fig. 32B illustrates another example of the syntax of PlayList(). [Fig. 33] Fig. 33 illustrates another example of the syntax of STN table().
- 17 S05P0181 [Fig. 34] Fig. 34 illustrates the types in STN table() shown in Fig. 33. Reference Numerals [0028] 20 playback apparatus, 31 storage drive, 32 switch, 33 AV decoder, 34 controller, 51 through 54 buffers, 55, 56 PID filters, 57 through 59 switches, 71 background decoder, 72 MPEG2 video decoder, 73 presentation graphics decoder, 74 interactive graphics decoder, 75 audio decoder, 76 Text-ST composition, 77 switch, 91 background plane generator, 92 video plane generator, 93 presentation graphics plane generator, 94 interactive graphics plane generator, 95 buffer, 96 video data processor, 97 audio data processor Best Mode for Carrying Out the Invention [0029] An embodiment of the present invention is described below with reference to the accompanying drawings. [0030] Fig. 5 illustrates an example of an application format on a recording medium to be installed in a playback apparatus 20 (which is discussed below with reference to Fig. 25) to which the present invention is applied. The recording medium may be an optical disc, a magnetic disk, or a semiconductor memory, which is discussed below.
- 18 SO5P0181 [0031] The application format has two layers, i.e., PlayList and Clip, for managing AV (Audio Visual) streams. In this case, a pair of one AV stream and one item of clip information accompanying the AV stream are considered to be as one object, which is referred to as a "clip". An AV stream is also referred to as an "AV stream file". Clip information is also referred to as a "clip information file". [0032] Generally, files used in computers are handled as byte strings. On the other hand, content of AV stream files is expanded onto a time axis, and access points in clips are mainly specified by PlayLists by using time stamps. That is, it can be said that PlayList and Clip form two layers for managing AV streams. [0033] If access points in Clip are indicated by PlayList by using time stamps, a clip information file is used for finding, from the time stamps, information concerning an address at which decoding in an AV stream file is started. [0034] PlayList is a set of playback zones of an AV stream. One playback zone in an AV stream is referred to as "PlayItem", which is indicated by a pair of an IN point (playback start point) and an OUT point (playback end point) - 19 SOSPO181 on the time axis. Accordingly, PlayList has one or a plurality of PlayItems, as shown in Fig. 5. [0035] In Fig. 5, the first PlayList from the left has two PlayItems, which refer to the first half and the second half of the AV stream contained in the clip at the left side in Fig. 5. The second PlayList from the left has one PlayItem, which refers to the entirety of the AV stream contained in the clip at the right side. The third PlayList from the left has two PlayItems, which refer to a certain portion of the AV stream contained in the clip at the left side and a certain portion of the AV stream contained in the clip at the right side. [0036] If a disc navigation program shown in Fig. 5 designates the left PlayItem contained in the first PlayList from the left as information concerning the current playback position, the first half of the AV stream contained in the left clip, which is referred to by the designated PlayItem, is played back. [0037] The disc navigation program has a function of controlling the playback order specified in PlayList and interactive playback operations by using PlayList. The disc navigation program also has a function of displaying a menu - 20 S05P0181 screen for allowing a user to give instructions to perform various types of playback operations. The disc navigation program is described in a programming language, for example, JavaTM, and is recorded on a recording medium. [0038] In this embodiment, a playback path including at least one PlayItem (sequential PlayItems) in PlayList is referred to as a "Main Path", and a playback path including at least one Sub Path (formed by sequential or non-sequential SubPlayItems) disposed in parallel with the Main Path in a PlayList is referred to as a "Sub Path". That is, the application format on a recording medium installed in the playback apparatus 20 (which is discussed below with reference to Fig. 25) has at least one Sub Path, which is played back in association with the Main Path, in a PlayList. [0039] Fig. 6 illustrates the structure of the Main Path and Sub Path. The PlayList is allowed to have the single Main Path and at least one Sub Path. One Sub Path includes at least one SubPlayItem. [0040] The PlayList shown in Fig. 6 has one Main Path including three PlayItems and three Sub Paths. The PlayItems forming the Main Path are provided with IDs (Identifications) from the head. More specifically, the - 21 S05P0181 Main Path includes PlayItems, such as PlayItem id=O, PlayItemid=l, and PlayItemid=2. The Sub Path are also provided with IDs from the head, such as Subpathid=0, Subpathid=1, and Sub Pathid=2. Subpathid=0 has one SubPlayItem, Subpathid=l has two SubPlayItems, and Sub Path id=2 has one SubPlayItem. [0041] Sub Path id=l is applied to, for example, Director's Cut, and can be inserted into a predetermined portion of the AV stream file as the director's commentaries. [0042] A clip AV stream file referred to by one PlayItem includes at least video stream data (main image data). The clip AV stream file may also include at least one audio stream, which is played back simultaneously with (in synchronization with) the video stream (main image data) which is also contained in the clip AV stream file. The clip AV stream file may also include at least one bitmap subtitle stream file which is played back in synchronization with the video stream which is also contained in the clip AV stream file. The clip AV stream file may also include at least one interactive graphics stream file which is played back in synchronization with the video stream which is also contained in the clip AV stream file. The video stream contained in the clip AV stream file and the audio stream, - 22 S05P0181 bitmap subtitle stream, or interactive graphics stream, which is played back in synchronization with the video stream, are multiplexed. In other words, a clip AV stream file referred to by one PlayItem includes video stream data and at least 0 audio stream data, at least 0 bitmap subtitle stream data, or at least 0 interactive graphics stream data, which is played back in synchronization with the video stream data, such that they are multiplexed into the clip AV stream file. [0043] A SubPlayItem refers to, for example, audio stream data or subtitle data contained in a stream different from the clip AV stream file referred to by the PlayItem. [0044] When playing back a PlayList including only a Main Path, the user can select sound and subtitles only from audio streams and sub-picture streams multiplexed into a clip referred to by that Main Path. In contrast, when playing back a PlayList including a Main Path and a Sub Path, the user can refer to audio streams and sub-picture streams multiplexed into a clip referred to by the SubPlayItem in addition to audio streams and sub-picture streams multiplexed into a clip AV stream file referred to by the Main Path. [0045] - 23 SO5P0181 As discussed above, a plurality of Sub Paths are included in one PlayList, and each SubPath refers to the corresponding SubPlayItem. Accordingly, AV streams having high extensibility and high flexibility can be provided. That is, SubPlayItems can be added afterwards. [0046] Fig. 7 illustrates an example of the Main Path and an example of the Sub Path. In Fig. 7, an audio playback path played back simultaneously with (in AV-synchronization with) the Main Path is indicated by using the Sub Path. [0047] The PlayList shown in Fig. 7 includes one PlayItem, i.e., PlayItemid=0, as the Main Path, and one SubPlayItem as the Sub Path. The SubPlayItem() includes the following data. SubPlayItem() includes ClipInformation filename for specifying the clip referred to by the Sub Path in the PlayList. In the example in Fig. 7, the SubPlayItem refers to an Auxiliary audio stream of SubClipentry id=0. SubPlayItem() also includes SubPlayItemINtime and SubPlayItemOUT time for specifying the playback zone of the Sub Path contained in the clip (in this case, the Auxiliary audio stream). The SubPlayItem() also includes syncPlayItemid and syncstartPTSofPlayItem for specifying the time at which the playback operation of the Sub Path is started on the time axis of the Main Path. In - 24 S05P0181 Fig. 7, syncPlayItem id=0 and syncstartPTSofPlayItem=tl. With this information, the time tl at which the playback operation of the Sub Path is started on the time axis of PlayItem id=0 of the Main Path can be specified. That is, in the example in Fig. 7, the playback start time of the Main Path and the playback start time of the Sub Path is the same, i.e., tl. [0048] The clip AV audio stream referred to by the Sub Path should not include STC non-sequential points (system time base non-sequential points). The clip audio sample clock used for the Sub Path is locked to the audio sample clock used for the Main Path. [0049] In other words, SubPlayItem() includes information for specifying the clip referred to by the Sub Path, information for specifying the playback zone of the Sub Path, and information for specifying the time at which the playback operation of the Sub Path is started on the time axis of the Main Path. Since the clip AV stream used for the Sub Path does not include STC, the user can refer to a clip AV audio stream different from the clip AV stream (main AV stream) referred to by the Main Path on the basis of the information included in SubPlayItem() (information for specifying the clip referred to by the Sub Path, information for specifying - 25 SOSPO181 the playback zone of the Sub Path, and information for specifying the time at which the playback operation of the Sub Path is started on the time axis of the Main Path), and plays back the clip AV audio stream. [0050] As stated above, the PlayItem and the SubPlayItem individually manage clip AV stream files. The clip AV stream file managed by the PlayItem is different from the clip AV stream file managed by the SubPlayItem. [0051] In a manner similar to the example shown in Fig. 7, a subtitle stream playback path played back simultaneously with the Main Path may be indicated by using a Sub Path. [0052] Fig. 8 illustrates another example of Main Path and another example of Sub Path. In Fig. 8, an audio playback path played back asynchronously with the Main Path is indicated by using a Sub Path. The main clip AV stream file referred to by the PlayItem of the Main Path is similar to that in Fig. 7, and an explanation thereof is thus omitted. [0053] The configuration shown in Fig. 8 is used when, for example, the Main Path is used as the slideshow of still images and the audio path of the Sub Path is used as the BGM (background music) of the Main Path. That is, the - 26 SO5P0181 configuration shown in Fig. 8 is used for allowing BGM to be continuously played back when the user instructs a playback apparatus (player) to update the images of the slideshow. [0054] In Fig. 8, PlayItem id=0, 1, and 2 are disposed in the Main Path, and one SubPlayItem is disposed in the Sub Path. The Sub Path includes SubPlayItemIN time and SubPlayItemOUTtime for specifying the playback zone of the Sub Path in the clip (Auxiliary audio stream). In the example in Fig. 8, the clip (Auxiliary audio stream) is referred to by the SubPlayItem. By comparing Fig. 8 with Fig. 7, it can be understood that the SubPlayItem in Fig. 8 does not include sync_PlayItemid and syncstartPTS_of_PlayItem. The reason for this is that, since the playback timing of the AV stream (video data) referred to by the Main Path is not related to the audio playback timing, it is not necessary to specify the time at which the Sub Path starts the playback operation on the time axis of the Main Path. That is, information indicating that the AV stream referred to by the Main Path and the audio stream referred to by the Sub Path are played back together is sufficient. [0055] It has been described that the playback timing of the video stream data included in the AV stream is different - 27 from that of the audio stream referred to by the Sub Path. To put it more specifically, this means that the playback timing of the video stream included in the AV stream is synchronous with that of the audio stream (i.e., the audio 5 stream is associated with the video stream), but a specific association, i.e., while a predetermined frame in the video stream is being played back, the corresponding sound is played back, is not given. More specifically, in the example shown in Fig. 7, the playback timing of the video 10 stream is synchronous with that of the audio stream, and also, a specific association, i.e., while a predetermined frame in the video stream is being played back, the corresponding sound is played back, is given. In contrast, in the example shown in Fig. 8, although the playback timing 15 of the video stream is synchronous with that of the audio stream, a specific association is not given, which means that, while a predetermined frame in the video stream is being played back, the corresponding sound is not played back. 20 [0056] Fig. 9 illustrates another example of the Main Path and the Sub Path. In Fig. 9, the playback path of text subtitles (interactive graphics stream) played back simultaneously with the Main Path is indicated by using a 25 Sub Path. The main AV stream file referred to by the - 28 S05P0181 PlayItem of the Main Path is similar to that shown in Fig. 7, and an explanation thereof is thus omitted. [0057] In this case, the text subtitles are defined as a multiplexed stream of an MPEG-2 system or as a data file, which is not a multiplexed stream. The data file is a file containing the text data of subtitles (character code string) to be played back in synchronization with the video of the Main Path and the attributes of the text data. The attributes are information concerning the font type, font size, and character color when the text data is subjected to rendering. [0058] By comparing Fig. 9 with Fig. 7, it can be understood that the SubPlayItem can refer to the Text based subtitle (text subtitles) of SubClipentryid=0, 1, ... , N by the SubPlayItem. More specifically, according to the structure shown in Fig. 9, a plurality of text subtitle files can be simultaneously referred to by one SubPlayItem, and when playing back the SubPlayItem, one of the plurality of text subtitle files is selected and played back. For example, from among the text subtitles of a plurality of languages, one text subtitle file is selected and played back. More specifically, one SubClip entry_id is selected from SubClipentry id=0 through N (based on a user's instruction), - 29 S05P0181 and the Text based subtitle referred to by the ID of the selected ID is played back. [0059] Not only the text subtitle files, bitmap subtitle stream files, transport stream files, and various data files may be applicable to the example show in Fig. 9. Alternatively, data files including character codes and information for rendering the character codes may also applicable. [0060) Fig. 10 illustrates another example of the Main Path and the Sub Path. In Fig. 10, the playback path of an interactive graphics stream played back asynchronously with the Main Path is indicated by using a Sub Path. [0061] By comparing Fig. 10 with Fig. 8, it can be understood that the interactive graphics stream of SubClipentry_id=0, 1, ... , N can be referred to by the SubPlayItem. That is, according to the structure in Fig. 10, one SubPlayItem can simultaneously refer to a plurality of interactive graphics stream files. When playing back the SubPlayItem, one interactive graphics stream file is selected and played back from the plurality of interactive graphics stream files. More specifically, from among SubClip_entry_id=0 through N, one SubClipentry id is selected (based on a user's - 30 SO5PO181 instruction), and the interactive graphics stream referred to by the ID is played back. For example, based on the user's instruction, one language from the interactive graphics streams is selected, and the interactive graphics stream of the selected language is played back. [0062] The data structure (syntax) that implements the structure of the Main Path and Sub Paths discussed with reference to Figs. 6 through 10 is described below. [0063] Fig. 11 illustrates the syntax of PlayList(). [0064] The "length" is a 32-bit unsigned integer indicating the number of bytes from immediately after the length field to the end of PlayList(, i.e., a field indicating the number of bytes from reservedforfutureuse to the end of PlayList(. After the "length", the 16-bit reservedforfutureuse follows. The "numberofPlayItems" is a 16-bit field indicating the number of play items contained in the PlayList. In the case of the example in Fig. 6, the number of PlayItems is three, and the numeric value is assigned to the PlayItems as PlayItem id from 0 in the order in which PlayItem() appears in the playlist. For example, PlayItemid=0, 1, 2 are assigned, as shown in Fig. 6, 8, or 10.
- 31 S05P0181 [0065] The numberofSubPaths is a 16-bit field indicating the number of Sub Paths (number of entries) contained in the PlayList. In the case of the example in Fig. 6, the number of Sub Paths is three, and the numeric value is assigned to the SubPlayItems as SubPath id from 0 in the order in which SubPath() appears in the playlist. For example, Sub Pathid=0, 1, 2 are assigned, as shown in Fig. 6. Then, in the subsequent FOR statement, the PlayItems are referred to for the same number of times as the number of PlayItems, and the Sub Paths are referred to for the same number of times as the number of Sub Paths. [0066] As an alternative to the syntax of PlayList() shown in Fig. 11, the Syntax shown in Fig. 32 can be considered. In Fig. 11, the data structure SubPath() storing the information concerning the SubPath is contained in the PlayList(. However, in Fig. 32, the data structure SubPath() is disposed independently of PlayList(). In PlayList() shown in Fig. 32A, only PlayItems of Main Path are indicated, and in SubPaths() shown in Fig. 32B, Sub Path and SubPlayItems are indicated. According to the data structure shown in Fig. 32, SubPaths() can be stored in a file different from the file storing PlayList(). For example, the file storing SubPath() and a subtitle stream - 32 S05P0181 file or an audio stream file referred to by the SubPath can be downloaded from a network and can be played back together with the Main Path stored in a recording medium. That is, the extensibility of SubPath can be easily implemented. The file storing PlayList() and the file storing SubPaths() can be associated with each other by, for example, allowing part of the file names of the two files to be the same. [0067] Fig. 12 illustrates the syntax of SubPath(. [0068] The "length" is a 32-bit unsigned integer indicating the number of bytes from immediately after the length field to the end of SubPath(. After the "length", 16-bit reservedforfutureuse follows. The SubPath_type is an 8 bit field indicating the type of application of the SubPath. The SubPath type is used for indicating, for example, the type of Sub Path, such as audio, bitmap subtitle, or text subtitle. That is, the SubPathtype indicates the types of Sub Paths shown in Figs. 7 through 10. After the SubPath_type, 15-bit reservedforfutureuse follows. The isrepeatSubPath is a one-bit field indicating the playback operation for the SubPath, and more specifically, indicating whether the SubPath is played back repeatedly or only once while playing back the Main Path. This field is used when, for example, the playback timing of the stream contained in - 33 SO5P0181 the clip specified by the Sub Path is different from that of the main AV stream, as shown in Fig. 8 or 10. After isrepeatSubPath, 8-bit reservedfor future use follows. The numberofSubPlayItems is an 8-bit field indicating the number of SubPlayItems (number of entries) contained in one SubPath. For example, the number of SubPlayItems of SubPath id=0 in Fig. 6 is one, and the number of SubPlayItems of Sub Path id=1 is 2. In the subsequent FOR statement, SubPlayItems are referred to for the same number of times as the number of SubPlayItems. [0069] Fig. 13 illustrates the syntax of SubPlayItem(i). [0070] The "length" is a 16-bit unsigned integer indicating the number of bytes from immediately after the length field to the end of SubPlayItem(. [0071] In Fig. 13, the syntax is divided into two portions, and more specifically, a portion where the SubPlayItem refers to one clip and a portion where the SubPlayItem refers to a plurality of clips are shown. [0072] The portion where the SubPlayItem refers to one clip is discussed first. [0073] - 34 S05P0181 The SubPlayItem() includes ClipInformation file name[O] for specifying the clip. The SubPlayItem() also includes Clipcodecidentifier[O] for specifying the codec method for the clip, reservedforfutureuse, ismulti_Clip_entries, which is a flag indicating whether multi-clips are registered, and reftoSTC id[O], which is information concerning the STC non-sequential points (non-sequential points of the system time base). If the flag of ismulti_Clipentries is ON, the syntax of the portion where SubPlayItem() refers to a plurality of clips is checked. The SubPlayItem() also includes SubPlayItemINtime and SubPlayItemOUTtime for specifying the playback zone of the Sub Path contained in the clip, and sync_PlayItemid and syncstartPTS of_PlayItem for specifying the playback start time at which the playback operation of the Sub Path is started on the time axis of the Main Path. The syncPlayItemid and syncstartPTSofPlayItem are used when the playback timing of the main AV stream is the same as that of the stream contained in the file referred to by the Sub Path, as shown in Figs. 7 and 9, but are not used for the cases shown in Figs. 8 and 10 (when the playback timing of the main AV stream is different from the stream contained in the file referred to by the Sub Path). The SubPlayItemIN time, SubPlayItemOUT time, syncPlayItemid, - 35 S05P0181 and syncstartPTS ofPlayItem are used in common for the clip referred to by SubPlayItem. [0074] Next, the portion where the SubPlayItem refers to a plurality of clips (if (ismultiClip_entries==lb) is discussed. More specifically, the case where SubPlayItem refers to a plurality of clips, as shown in Fig. 9 or 10. [0075] The num of_Clip_entries indicates the number of clips, and designates clips other than those having ClipInformationfilename[0] [subClipentiryid] . That is, num_of_Clip_entries designates clips, such as those having Clip_ Information file name[1], ClipInformation file name[2], and so on, other than those having ClipInformation file name[0]. The SubPlayItem also includes Clipcodecidentifier[subClip_entryid] for specifying the codec method for the clip, reftoSTCid[subClipentryid], which is information concerning the STC non-sequential points (non-sequential points of the system time base), and reservedforfuture use. [00761 The SubPlayItemINtime, SubPlayItem OUT time, syncPlayItemid, and syncstartPTSofPlayItem are used in common for the clips referred to by SubPlayItem() . In the example in Fig. 9, SubPlayItemIN time, SubPlayItemOUT time, - 36 SO5P0181 syncPlayItemid, and syncstartPTSofPlayItem are used in common for SubClipentryid=0 through N. The Text based subtitle for the selected SubClip entry id is played back based on the SubPlayItemINtime, SubPlayItemOUTtime, syncPlayItemid, and sync_startFTSofPlayItem. [0077] The numeric value is sequentially assigned to SubClip_entry_id from 1 in the order in which ClipInformationfilename[subClip_entry_id] in the SubPlayItem appears. The subClipentry id of ClipInformation file name[0] is 0. [0078] Fig. 14 illustrates the syntax of PlayItem(). [0079] The "length" is a 16-bit unsigned integer indicating the number of bytes from immediately after the length field to the end of PlayItem() . Clip_Information file name[0] is a field for specifying the clip referred to by PlayItem(. In the example in Fig. 7, the main clip AV stream file is referred to by Clip_Informationfilename[0] . The PlayItem() also includes Clipcodecidentifier[0] specifying the codec method for the clip, reservedforfutureuse, is multi angle, connection-condition, and ref toSTC id[0], which is information concerning the STC non-sequential points (non-sequential points of the system time base). The - 32 S05P0181 PlayItem() also includes INtime and OUT-time for specifying the playback zone of the play item in the clip. In the example in Fig. 7, IN-time and OUT-time specify the playback zone of the main clip AV stream file. The PlayItem() also includes UO masktable(, PlayItemrandomaccessmode, and still-mode. A description of a case where ismulti_angle indicates a plurality of angles is not given here, since such a case is not directly related to the present invention. [0080] The STN table) in PlayItem() provides a mechanism for allowing a user, if the target PlayItem and at least one Sub Path to be played back in association with the target PlayItem are provided, to select from the streams contained in the clip referred to by the PlayItem and the clips referred to by at least one Sub Path when the user switches sound or subtitles. [0081] Fig. 15 illustrates the syntax of STNtable(). The STN table() is set as an attribute of PlayItem. [0082] The "length" is a 16-bit unsigned integer indicating the number of bytes from immediately after the length field to the end of STNtable(. After the "length", 16-bit reservedfor future use follows. The number of video-stream entries indicates the number of - 38 S05P0181 streams provided with videostream id entered (registered) in STN table(). The video stream id is information for identifying the video streams. The video streamnumber is the video stream number that can be seen by the user when switching video. The number_of_audiostreamentries indicates the number of streams provided with audio stream id entered (registered) in STNtable(). The audiostreamid is information for identifying the audio streams. The audiostream number is the audio stream number that can be seen by the user when switching sound. [0083] The number ofPG txtST stream entries indicates the number of streams provided with PG txtST stream id entered in STNtable(). In STNtable() shown in Fig. 15, streams (PG, Presentation Graphics streams) in which bitmap subtitles, such as DVD sub-pictures, are run-length coded, and text subtitle files (txtST) are entered. The PGtxtSTstream id is information for identifying the subtitle streams, and PGtxtSTstreamnumber is the subtitle stream number (text subtitle stream number) that can be seen by the user when switching subtitles. [0084] The num ofIG stream entries indicates the number of streams provided with IGstreamid entered in STNtable(). In STNtable() shown in Fig. 15, interactive graphics - 39 S05P0181 streams are entered. The IGstream id is information for identifying the interactive graphics streams. The IGstreamnumber is the graphics stream number that can be seen when switching graphics. [0085] The syntax of stream entry() is discussed below with reference to Fig. 16. [0086] The "type" is an 8-bit field indicating the type of information required for uniquely specifying the stream provided with the above-described stream number. [0087] If type=l, a packet ID (PID) is designated for specifying one elementary stream from a plurality of elementary streams multiplexed into the clip (Main Clip) referred to by the PlayItem. The reftostreamPIDofmainClip indicates this PID. That is, if type=l, the stream can be determined only by specifying the PID in the main clip AV stream file. [0088] If type=2, when the SubPath refers to one clip in which only one elementary stream is multiplexed, the SubPathid of the Sub Path is designated for specifying that elementary stream. The reftoSubPathid indicates the Sub Pathid. Type=2 is used when only one audio stream is referred to by - 40 S05P0181 the Sub Path, as shown in Fig. 8, i.e., when the SubPlay Item contains only one clip. [0089] If type=3, when SubPath refers to a plurality of clips at the same time and only one elementary stream is multiplexed in each clip, the SubPathid and Clip id of the SubPath are designated for specifying the elementary stream of one clip (Sub Clip) referred to by the SubPath. The reftoSubPathid indicates this SubPathid, and refto_subClip_entry_id indicates this Clip id. Type=3 is used when one Sub Path refers to a plurality of clips (Text based Subtitles), as shown in Fig. 9, i.e., when SubPlayItem contains a plurality of clips. [0090] If type=4, when SubPath refers to a plurality of clips at the same time and a plurality of elementary streams are multiplexed in each clip, the SubPathid, Clip id, and packet ID (PID) of the SubPath are designated for specifying one of the plurality of elementary streams of one clip (Sub Clip) referred to by the SubPath. The ref toSubPath id indicates this SubPathid, refto_subClip_entry_id indicates this Clip id, and reftostreamPIDofsubClip indicates this PID. Type=4 is used when a plurality of clips are referred to in the SubPlayItem and when a plurality of elementary streams are referred to by each clip.
- 41 S05P0181 [0091] When PlayItem and at least one SubPath played back in association with the PlayItem are provided, the use of types (type=l through type=4) makes it possible to specify one elementary stream from the clip referred to by the PlayItem and the clips referred to by at least one SubPath. It should be noted that type=l indicates the clip (main clip) referred to by the Main Path, and type=2 through 4 indicate the clip (sub clip) referred to by the Sub Path. In Fig. 16, four types are provided for specifying elementary streams. However, only two types, and more specifically, the type (type=l in Fig. 16) for specifying the elementary stream multiplexed into the main clip and the type (types=2 through 4 in Fig. 16) for specifying the elementary stream of the clip used by the Sub Path, may be provided. The syntax of stream_entryo) of such a case is described below with reference to Fig. 33. [0092] In Fig. 33, the "type" is an 8-bit field indicating the type of information required for uniquely specifying the stream provided with the above-described stream number. More specifically, the 8-bit type field is used for designating the type of a database for specifying the elementary stream referred to by the stream number of streamentry(). In the example shown in Fig. 33, the type - 42 S05P0181 is divided into two types, as shown in Fig. 34. In Fig. 34, type=1 is the type (type=1 in Fig. 16) for specifying the elementary stream multiplexed into the main clip, and the type=2 is the type (types=2 through 4 in Fig. 16) for specifying the elementary stream of the clip used by the Sub Path. [0093] Type=l in Fig. 33 is used for specifying an elementary stream of the clip (main clip) used by the PlayItem. More specifically, when type=l, the packet ID (PID) is designated for specifying one of a plurality of elementary streams multiplexed into the clip (main clip) referred to by the PlayItem. The reftostreamPIDofmainClip indicates this PID. In other words, when type=1, the stream can be determined only by specifying the PID in the main clip AV stream file. [0094] Type=2 in Fig. 33 is used for specifying the elementary stream of the clip used by the SubPath accompanying the PlayItem. In the case of type=2, for example, when the SubPath refers to one clip in which only one elementary stream is multiplexed (type=2 in Fig. 16), or when the SubPath refers to a plurality of clips at the same time and only one elementary stream is multiplexed in each clip (type=3 in Fig. 16), or when the SubPath refers to a - 43 SO5PO181 plurality of clips at the same time and when a plurality of elementary streams are multiplexed in each clip (type=4 in Fig. 16), the SubPath id, Clip id, and packet ID (PID) are designated for specifying the elementary stream. [0095] Although in Fig. 33, when type=2, three IDs, such as SubPath id, Clip id, and packet ID (PID), are specified, it is not necessary to specify all the three IDs. For example, when the SubPath refers to one clip in which only one elementary stream is multiplexed (type=2 in Fig. 16), it is sufficient if the SubPath id of the SubPath is designated for specifying the elementary stream. When the SubPath refers to a plurality of clips at the same time and when only one elementary stream is multiplexed in each clip (type=3 in Fig. 16), it is sufficient if the SubPath id and Clip id of the SubPath are designated for specifying the elementary stream of the clip (Sub Clip) referred to by the SubPath. When the SubPath refers to a plurality of clips at the same time and when a plurality of elementary streams are multiplexed in each clip (type=4 in Fig. 16), it is necessary that the SubPathid, Clip id, and packet ID (PID) of the SubPath are designated for specifying one of the plurality of elementary streams of one clip (Sub Clip) referred to by the SubPath. That is, when type=2 in Fig. 33 or 34, among the SubPath id, Clip id, and packet ID (PID), - 44 S05P0181 it is sufficient if at least Subpath id is designated. [0096] When the PlayItem and at least one SubPath played back in association with the PlayItem are provided, the use of types (types=1 and 2) makes it possible, as shown in Figs. 33 and 34, to specify one elementary stream from the clip referred to by the PlayItem and clips referred to by at least one SubPath. [0097] Referring back to a description of STNtable() in Fig. 15, in the FOR loop of the video stream ID (videostreamid), videostreamid is assigned from 0 to a video elementary stream specified for each stream_entry(). Instead of the video stream ID (video stream id), the video stream number (videostreamnumber) may be used, in which case, the videostreamnumber is assigned from 1. That is, the number obtained by adding one to videostream id is the video stream number. The video stream number is assigned from 1 since video stream number is the video stream number that can be seen by the user when switching video. [0098] Similarly, in the FOR loop of the audio stream ID (audiostream id), audiostream id is assigned from 0 to an audio elementary stream specified for each streamentry(). As in the video stream, instead of the audio stream ID - 45 SOSP0181 (audiostreamid), the audio stream number (audiostreamnumber) may be used, in which case, the audio stream number is assigned from 1. That is, the number obtained by adding one to audiostream id is the audio streamnumber. The audio stream number is assigned from 1 since audiostreamnumber is the audio stream number that can be seen by the user when switching sound. [0099] Similarly, in the FOR loop of the subtitle stream ID (PGtxtSTstreamid), PGtxtSTstream id is assigned from 0 to a bitmap subtitle or text subtitle elementary stream specified for each streamentry(). As in the video stream, instead of the subtitle stream ID (PGtxtSTstreamid), the subtitle stream number (PGtxtSTstreamnumber) may be used, in which case, the PG txtST stream number is assigned from 1. That is, the number obtained by adding one to PGtxtSTstream id is the PGtxtSTstreamnumber. The subtitle stream number is assigned from 1 since PG txtST stream number is the text subtitle stream number that can be seen by the user when switching subtitles. [0100] Similarly, in the FOR loop of the graphics stream ID (IGstreamid), IGstreamid is assigned from 0 to an interactive graphics elementary stream specified for each streamentry(). As in the video stream, instead of the - 46 S05P0181 graphics stream ID (IGstreamid), the graphics stream number (IGstreamnumber) may be used, in which case, the IG stream number is assigned from 1. That is, the number obtained by adding one to IGstreamid is the IGstreamnumber. The IGstream number is assigned from 1 since IGstreamnumber is the graphics stream number that can be seen by the user when switching graphics. [0101] The streamattribute() in the STNtable() shown in Fig. 15 is as follows. [0102] The stream attribute() in the FOR loop of the video stream ID (videostream id) provides stream attribute information concerning one video elementary stream specified by each stream_entry(. That is, in streamattribute(, stream attribute information concerning one video elementary stream specified by each streamentry() is indicated. [0103] Similarly, the streamattributes() in the FOR loop of the audio stream ID (audio streamid) provides stream attribute information concerning at least one audio elementary stream specified by each streamentry(). That is, in streamattribute(, stream attribute information concerning at least one audio elementary stream specified by each stream entry() is indicated.
- 47 SO5PO181 [0104] Similarly, the streamattribute() in the FOR loop of the subtitle stream ID (PGtxtSTstream id) provides stream attribute information concerning one bitmap subtitle elementary stream or one text subtitle elementary stream specified by each stream entry(). That is, in streamattribute(, stream attribute information concerning one bitmap subtitle elementary stream specified by each streamentry() is indicated. [0105] Similarly, the streamattribute() in the FOR loop of the graphics stream ID (IGstream_id) provides stream attribute information concerning one interactive graphics elementary stream specified by each stream_entry(). That is, in streamattribute(, stream attribute information concerning one interactive graphics elementary stream specified by each streamentry() is indicated. [0106] The syntax of stream attribute() is discussed below with reference to Fig. 17. [0107] The "length" is a 16-bit unsigned integer indicating the number of bytes from the length field to the end of streamattribute(). [0108] - 48 SO5PO181 The stream codingtype indicates the coding type of elementary stream, as shown in Fig. 18. The coding types of elementary streams include MPEG-2 video stream, HDMV LPCM audio, Dolby AC-3 audio, dts audio, Presentation graphics stream, Interactive graphics stream, and Text subtitle stream. [0109] The video-format indicates the video format of a video elementary stream, as shown in Fig. 19. The video formats of the video elementary streams include 480i, 576i, 480p, 1080i, 720p, and 1080p. [0110] The frame-rate indicates the frame rate of a video elementary stream, as shown in Fig. 20. The frame rates of the video elementary streams include 24000/1001, 24, 25, 30000/1001, 50, and 60000/1001. [01111 The aspect-ratio indicates the aspect ratio of a video elementary stream, as shown in Fig. 21. The aspect ratios of the video elementary streams include 4:3 display aspect ratio and 16:9 display aspect ratio. [0112] The audio_presentation_type indicates the presentation type of an audio elementary stream, as shown in Fig. 22. The presentation types of audio elementary streams include - 49 S0SP0181 single mono channel, dual mono channel, stereo (2-channel), and multi-channel. [0113] The sampling_frequency indicates the sampling frequency of an audio elementary stream, as shown in Fig. 23. The sampling frequencies of the audio elementary streams include 48 kHz and 96 kHz. [0114] The audiolanguage code indicates the language code (for example, Japanese, Korean, or Chinese) of an audio elementary stream. [0115] The PGlanguagecode indicates the language code (for example, Japanese, Korean, or Chinese) of a bitmap subtitle elementary stream. [0116] The IGlanguagecode indicates the language code (for example, Japanese, Korean, or Chinese) of an interactive graphics elementary stream. [0117] The textST language code indicates the language code (for example, Japanese, Korean, or Chinese) of a text subtitle elementary stream. [0118] The character-code indicates the character code of a - 50 S05P0181 text subtitle elementary stream, as shown in Fig. 24. The character codes of text subtitle elementary streams include Unicode V1.1 (ISO 10646-1), Shift JIS (Japanese), KSC 5601 1987 including KSC 5653 for Roman character (Korean), GB18030-2000 (Chinese), GB2312 (Chinese), and BIG5 (Chinese) [0119] The syntax of stream attribute() shown in Fig. 17 is specifically described below with reference to Figs. 17, and 18 through 24. [0120] If the coding type (stream coding_type in Fig. 17) of the elementary stream is the MPEG-2 video stream (Fig. 18), streamattribute() includes the video format (Fig. 19), the frame rate (Fig. 20), and the aspect ratio (Fig. 21) of the elementary stream. [0121] If the coding type (streamcoding_type in Fig. 17) of the elementary stream is the HDMV LPCM audio, Dolby AC-3 audio, or dts audio (Fig. 18), stream attribute() includes the audio presentation type (Fig. 22), the sampling frequency (Fig. 23), and the language code of the audio elementary stream. [0122] If the coding type (stream coding_type in Fig. 17) of the elementary stream is the Presentation graphics stream - 51 S05P0181 (Fig. 18), streamattribute() includes the language code of the bitmap subtitle elementary stream. [0123) If the coding type (stream cedingtype in Fig. 17) of the elementary stream is the Interactive graphics stream (Fig. 18), streamattribute() includes the language code of the interactive graphics elementary stream. [0124] If the coding type (stream codingtype in Fig. 17) of the elementary stream is the Text subtitle stream (Fig. 18), streamattribute() includes the character code (Fig. 24) and the language code of the text subtitle elementary stream. [0125] The attribute information is not restricted to the above-described types. [0126] In this manner, if PlayItem and at least one Sub Path played back in association with the PlayItem are provided, by referring to the clip referred to by the PlayItem and clips referred to by at least one Sub Path, attribute information concerning an elementary stream specified by streamentry() can be defined by stream attribute(). [0127] By checking the attribute information (stream attribute()), the playback apparatus can determine - 52 S05P0181 whether it has a function of playing back the corresponding elementary stream. Also, by checking the attribute information, the playback apparatus can select the elementary streams in accordance with the initial information concerning the language set in the playback apparatus. [0128] It is now assumed, for example, that the playback apparatus has a function of playing back bitmap subtitle elementary streams without a function of playing back text subtitle elementary streams. In this case, in response to an instruction to switch the languages from the user, the playback apparatus sequentially selects only bitmap subtitle elementary streams from the FOR loop of the subtitle stream ID (PGtxtSTstreamid) and plays back the selected elementary streams. [0129] If the initial information concerning the language set in the playback apparatus is Japanese, in response to an instruction to switch sound from the user, the playback apparatus sequentially selects only audio elementary stream whose language code is Japanese from the FOR loop of the audio stream ID (Audiostream id) and plays back the selected elementary streams. [0130] - 53 SO5P0181 As described above, by the provision of STNtableo) in PlayItem(, if PlayItem and at least one Sub Path played back in association with the PlayItem are provided, the user can select a stream to be played back from the clip referred to by the PlayItem and clips referred to by at least one Sub Path when switching sound or subtitles. Thus, interactive operations can be performed for streams or data files different from a main AV stream to be played back. [0131] Since one PlayList includes a plurality of Sub Paths and each Sub Path refers to a SubPlayItem, AV streams having high extensibility and high flexibility are implemented. That is, SubPlayItems can be added afterwards. For example, if Playlist including a clip AV stream file referred to by the Main Path is replaced by PlayList including the clip AV stream file and a new Sub Path, the user can refer to, based on the new playlist, not only the clip AV stream file referred to by the Main Path, but also clip AV stream files different from the clip AV stream file referred to by the Main Path. Thus, the AV streams have high extensibility. [0132] A playback apparatus to which the present invention is applied is described below. Fig. 25 is a block diagram illustrating an example of the configuration of the playback apparatus 20 to which the present invention is applied. The - 54 S05P0181 playback apparatus 20 is the playback apparatus 20 for playing back Playlist including the above-described Main Path and Sub Path. [0133] The playback apparatus 20 includes a storage drive 31, a switch 32, an AV decoder 33, and a controller 34. [0134] In the example shown in Fig. 25, the controller 34 first reads out a PlayList file from the storage drive 31, and reads an AV stream or AV data from a recording medium, such as an HDD, Blu-ray disc, or DVD, via the storage drive 31 on the basis of the information concerning the PlayList file. The user can give an instruction to switch sound or subtitles to the controller 34 by using a user interface. The controller 34 reads initial information concerning the language set in the playback apparatus 20 from a storage unit (not shown). [0135] The PlayList file includes, not only information concerning Main Path and Sub Path, but also STN table(). The controller 34 reads a main clip AV stream file (hereinafter referred to as a "main clip") referred to by PlayItem contained in the PlayList file, a sub clip AV stream file (hereinafter referred to as a "sub clip") referred to by SubPlayItem, and text subtitle data referred - 55 S05P0181 to by SubPlayItem from a recording medium via the storage drive 31. The controller 34 controls the playback apparatus 20 to select and play back elementary streams in accordance with the playback function of the playback apparatus 20 or to select and play back elementary streams in accordance with the initial information concerning the language set in the playback apparatus 20. [0136] The AV decoder 33 includes buffers 51 through 54, PID filters 55 and 56, switches 57 through 59, a background decoder 71, an MPEG (Moving Picture Experts Group)2 video decoder 72, a presentation graphics decoder 73, an interactive graphics decoder 74, an audio decoder 75, a Text-ST composition 76, a switch 77, a background plane generator 91, a video plane generator 92, a presentation graphics plane generator 93, an interactive graphics plane generator 94, a buffer 95, a video data processor 96, and an audio data processor 97. [0137] File data read by the controller 34 is demodulated by a demodulator, and the demodulated multiplexed streams are then subjected to error correction by an ECC decoder. The switch 32 then divides the multiplexed streams subjected to error correction according to the stream types and supplies the divided streams to the corresponding buffers 51 through - 56 SO5P0181 54 under the control of the controller 34. More specifically, under the control of the controller 34, the switch 32 supplies background image data to the buffer 51, main clip data to the buffer 52, sub clip data to the buffer 53, and text-ST data to the buffer 54. Then, the buffers 51 through 54 buffer the background image data, main clip data, sub clip data, and text-ST data, respectively, therein. [0138] The main clip is a stream (for example, a transport stream) in which at least one stream of video, audio, bitmap subtitle (presentation graphics stream), and interactive graphics streams is multiplexed together with a video stream. The sub clip is a stream in which at least one stream of audio, bitmap subtitle (presentation graphics stream), and interactive graphics streams is multiplexed. The data of the text subtitle data file (Text-ST) may be a multiplexed stream, such as a transport stream, but this is not essential. [01391 When reading the main clip, the sub clip, and the text subtitle data from the storage drive 31 (recording medium), they can be alternately read in a time-division manner. Alternatively, the sub clip or the text subtitle data may be entirely preloaded to the buffer (buffer 53 or 54), respectively, before reading the main clip.
- 57 S05P0181 [0140] The playback apparatus 20 reads those file data from a recording medium via the storage drive 31 to play back video, bitmap subtitle, interactive graphics, and audio. [0141] More specifically, stream data read out from the buffer 52, which serves as the main clip read buffer, is output to the PID (packet ID) filter 55, which is disposed subsequent to the buffer 52, at a predetermined time. The PID filter 55 allocates streams contained in the main clip to the corresponding elementary stream decoders, which are disposed subsequent to the PID filter 55, according to the PIDs (packet IDs). More specifically, the PID filter 55 supplies video streams to the MPEG2 video decoder 72, presentation graphics streams to the switch 57, which supplies the graphics streams to the presentation graphics decoder 73, interactive graphics streams to the switch 58, which supplies the graphics streams to the interactive graphics decoder 74, and audio streams to the switch 59, which supplies the audio streams to the audio decoder 75. [0142] The presentation graphics streams are, for example, bitmap subtitle data, and the text subtitle data is, for example, text subtitle data. [0143] - 58 S05P0181 Stream data read out from the buffer 53, which serves as the sub clip read buffer, is output to the PID (packet ID) filter 56, which is disposed subsequent to the buffer 53, at a predetermined time. The PID filter 56 allocates streams contained in the sub clip to the corresponding elementary stream decoders, which are disposed subsequent to the PID filter 56, according to the PIDs (packet IDs). More specifically, the PID filter 56 supplies presentation graphics streams to the switch 57, which supplies the graphics streams to the presentation graphics decoder 73, interactive graphics streams to the switch 58, which supplies the graphics streams to the interactive graphics decoder 74, and audio streams to the switch 59, which supplies the audio streams to the audio decoder 75. [0144] Data read out from the buffer 51, which serves as the background image data buffer, is supplied to the background decoder 71 at a predetermined time. The background decoder 71 decodes the background image data, and then supplies the decoded data to the background plane generator 91. [0145] The video streams allocated by the PID filter 55 are supplied to the video decoder 72, which is disposed subsequent to the PID filter 55. The video decoder 72 decodes the video streams and supplies the decoded video - 59 S05P0181 streams to the video plane generator 92. [0146] The switch 57 selects one of the presentation graphics streams contained in the main clip supplied from the PID filter 55 and the presentation graphics streams contained in the sub clip supplied from the PID filter 56, and supplies the selected presentation graphics streams to the presentation graphics decoder 73, which is disposed subsequent to the switch 57. The presentation graphics decoder 73 decodes the presentation graphics streams and supplies them to the switch 77, which further supplies them to the presentation graphics plane generator 93. [0147] The switch 58 selects one of the interactive graphics streams contained in the main clip supplied from the PID filter 55 and the interactive graphics streams contained in the sub clip, and supplies the selected interactive graphics streams to the interactive graphics stream decoder 74, which is disposed subsequent to the switch 58. That is, the interactive graphics streams simultaneously input into the interactive graphics decoder 74 are streams separated from the main clip or the sub clip. The interactive graphics decoder 74 decodes the interactive graphics streams, and supplies the decoded streams to the interactive graphics plane generator 94.
- 60 SO5P0181 [0148] The switch 59 selects one of the audio streams contained in the main clip supplied from the PID filter 55 and the audio streams contained in the sub clip and supplies the selected audio streams to the audio decoder 75, which is disposed subsequent to the switch 59. That is, the audio streams simultaneously input into the audio decoder 75 are streams separated from the main clip or the sub clip. The audio decoder 75 decodes the audio stream and supplies the decoded audio stream to the audio data processor 97. [0149] Sound data selected by the switch 32 is supplied to the buffer 95 and is buffered therein. The buffer 95 supplies the sound data to the audio data processor 97 at a predetermined time. The sound data is, for example, effect sound that can be selected from a menu. [0150] Data read from the buffer 54, which serves as the text subtitle read buffer, is output to the text subtitle composition (decoder) 76, which is disposed subsequent to the buffer 54, at a predetermined time. The text subtitle composition 76 decodes the text-ST data and supplies the decoded data to the switch 77. [0151] The switch 77 selects one of the presentation graphics - 61 SOSP0181 streams decoded by the presentation graphics decoder 73 and the Text-ST (text subtitle data), and supplies the selected data to the presentation graphics plane generator 93. That is, subtitle images simultaneously supplied to the presentation graphics plane generator 93 are those output from the presentation graphics decoder 73 or from the text subtitle (Text-ST) composition 76. Presentation graphics streams simultaneously input into the presentation graphics decoder 73 are streams separated from the main clip or from the sub clip (selected by the switch 57). Accordingly, the subtitle images simultaneously input into the presentation graphics plane generator 93 are presentation graphics streams from the main clip, presentation graphics streams from a sub clip or text subtitle data. [0152] The background plane generator 91 generates a background plane, which serves as, for example, a wallpaper image when a video image is displayed by reducing the size thereof, on the basis of the background image data supplied from the background decoder 71, and supplies the generated background plane to the video data processor 96. The video plane generator 92 generates a video plane based on the video data supplied from the MPEG2 video decoder 72, and supplies the generated video plane to the video data processor 96. The presentation graphics plane generator 93 - 62 S05P0181 generates a presentation graphics plane, which serves as, for example, a rendering image, on the basis of the data (presentation graphics streams or text subtitle data) selected by the switch 77, and supplies the generated presentation graphics plane to the video data processor 96. The interactive graphics plane generator 94 generates an interactive graphics plane based on the interactive graphics stream data supplied from the interactive graphics decoder 74, and supplies the generated interactive graphics plane to the video data processor 96. [0153] The video data processor 96 combines the background plane from the background plane generator 91, the video plane from the video plane generator 92, the presentation graphics plane from the presentation graphics plane generator 93, and the interactive graphics plane from the interactive graphics plane generator 94, and outputs the combined plane as a video signal. The audio data processor 97 combines the audio data from the audio decoder 75 with the sound data from the buffer 95, and outputs the combined data as an audio signal. [0154] The switches 57 through 59 and the switch 77 select data according to the selection by the user via the user interface or depending on the type of file containing target - 63 S05P0181 data. For example, if audio streams are contained only in sub-clip AV stream files, the switch 59 changes the selection to the sub clip side. [0155] The playback processing performed by the playback apparatus 20 shown in Fig. 25 is described below with reference to the flowcharts in Figs. 26 through 28. This processing is started when an instruction to play back a predetermined AV stream is given by a user via a user interface. [01561 In step Sll, the controller 34 reads a PlayList file recorded on a recording medium or a HDD (Hard Disk Drive) (not shown) via the storage drive 31. For example, the PlayList file discussed with reference to Fig. 11 is read. [0157) In step S12, the controller 34 reads a main clip, a sub clip, and text subtitle data (text-ST data). More specifically, the controller 34 reads the corresponding main clip based on the PlayItem contained in the PlayList discussed with reference to Fig. 11. The controller 34 also reads a sub clip and text subtitle data based on the SubPlayItem discussed with reference to Figs. 12 and 13, which is referred to by the SubPath contained in the PlayList.
- 64 S05P0181 [0158] In step S13, the controller 34 controls the switch 32 to supply the read data (main clip, sub clip, and text subtitle data) to the corresponding buffers 51 through 54. More specifically, the controller 34 controls the switch 32 to supply the background image data to the buffer 51, the main clip data to the buffer 52, the sub clip data to the buffer 53, and the Text-ST data to the buffer 54. [0159] In step S14, the switch 32 is changed under the control of the controller 34. Then, the background data is supplied to the buffer 51, the main clip data is supplied to the buffer 52, the sub clip data is supplied to the buffer 53, and the text subtitle data is supplied to the buffer 54. [0160] In step S15, the buffers 51 through 54 buffer the supplied data therein. More specifically, the buffer 51 buffers the background image data, the buffer 52 buffers the main clip data, the buffer 53 buffers the sub clip data, and the buffer 54 buffers the Text-ST data. [0161] In step S16, the buffer 51 outputs the background image data to the background decoder 71. [0162] In step S17, the buffer 52 outputs the main clip stream - 65 S05P0181 data to the PID filter 55. [0163] In step S18, the PID filter 55 allocates the elementary streams to the corresponding elementary stream decoders based on the PIDs attached to the TS packets forming the main clip AV stream file. More specifically, the PID filter 55 supplies video streams to the MPEG2 video decoder 72, presentation graphics streams to the switch 57, which supplies the streams to the presentation graphics decoder 73, interactive graphics streams to the switch 58, which supplies the streams to the interactive graphics decoder 74, and audio streams to the switch 59, which supplies the streams to the audio decoder 75. That is, the video streams, presentation graphics streams, interactive graphics streams, and audio streams are provided with different PIDs. [0164] In step S19, the buffer 53 outputs the sub clip stream data to the PID filter 56. [0165] In step S20, the PID filter 56 allocates the elementary streams to the corresponding decoders based on the PIDs. More specifically, the PID filter 56 supplies presentation graphics streams to the switch 57, which supplies the streams to the presentation graphics decoder 73, interactive graphics streams to the switch 58, which supplies the - 66 S05P0181 streams to the interactive graphics decoder 74, and audio streams to the switch 59, which supplies the streams to the audio decoder 75. [0166] In step S21, the switches 57 through 59, which are disposed subsequent to the PID filters 55 and 56, select one of the main clip and the sub clip under the control of the controller 34 via the user interface. More specifically, the switch 57 selects presentation graphics streams of the main clip or those of the sub clip supplied from the PID filter 55, and supplies the selected streams to the presentation graphics decoder 73, which is disposed subsequent to the switch 57. The switch 58 selects interactive graphics streams of the main clip or those of the sub clip supplied from the PID filter 55, and supplies the selected streams to the interactive graphics decoder 74, which is disposed subsequent to the switch 58. The switch 59 selects audio streams of the main clip or those of the sub clip supplied from the PID filter 55, and supplies the selected streams to the audio decoder 75, which is disposed subsequent to the switch 59. [0167] In step S22, the buffer 54 outputs text subtitle data to the text subtitle composition 76. [0168] - 67 S05P0181 In step S23, the background decoder 71 decodes background image data and supplies the decoded data to the background plane generator 91. [0169] In step S24, the MPEG2 video decoder 72 decodes the video streams and supplies the decoded streams to the video plane generator 92. [0170] In step S25, the presentation graphics decoder 73 decodes the presentation graphics streams selected by the switch 57, and outputs the decoded streams to the switch 77, which is disposed subsequent to the presentation graphics decoder 73. [0171] In step S26, the interactive graphics decoder 74 decodes the supplied interactive graphics streams selected by the switch 58, and outputs the decoded streams to the interactive graphics plane generator 94, which is disposed subsequent to the interactive graphics decoder 74. [0172] In step S27, the audio decoder 75 decodes the supplied audio data selected by the switch 59 and outputs the decoded data to the audio data processor 97, which is disposed subsequent to the audio decoder 75. [0173] - 68 S05P0181 In step S28, the Text-ST composition 76 decodes text subtitle data and outputs the decoded data to the switch 77, which is disposed subsequent to the Text-ST composition 76. [0174] In step S29, the switch 77 selects data from the presentation graphics decoder 73 or the Text-ST composition 76. More specifically, the switch 77 selects the presentation graphics streams decoded by the presentation graphics decoder 73 or the Test-ST (text subtitle data) from the Text-ST composition 76, and supplies the selected data to the presentation graphics plane generator 93. [0175] In step S30, the background plane generator 91 generates a background plane based on the background image data supplied from the background decoder 71. [0176] In step S31, the video plane generator 92 generates a video plane based on the video data supplied from the MPEG2 video decoder 72. [0177] In step S32, the presentation graphics plane generator 93 generates a presentation graphics plane based on the data selected by the switch 77 and supplied from the presentation graphics decoder 73 or the Text-ST composition 76 in step S29.
- 69 S05P0181 [0178] In step S33, the interactive graphics plane generator 94 generates an interactive graphics plane based on the interactive graphics stream data supplied from the interactive graphics decoder 74. [0179] In step S34, the buffer 95 buffers the sound data selected and supplied in step S14 and supplies it to the audio data processor 97 at a predetermined time. [0180] In step S35, the video data processor 97 combines the planes and outputs the combined data. More specifically, the video data processor 97 combines the data from the background plane generator 91, the video plane generator 92, the presentation graphics plane generator 93, and the interactive graphics plane generator 94, and outputs the combined data as video data. [0181] In step S36, the audio data processor 97 combines the audio data with the sound data, and outputs the resulting data. [0182] According to the processing shown in Figs. 26 through 28, by referring to the main clip referred to by the main path included in the PlayList, a sub clip referred to by the - 70 S05P0181 corresponding Sub Path included in the PlayList, and the text subtitle data, the corresponding data is played back. By providing the Main Path and the Sub Path in the PlayList, a clip AV stream file, which is different from the main clip AV stream file specified by the Main Path, can be specified by the Sub Path. Thus, sub clip data, which is different from the main clip specified by the PlayItem of the Main Path, can be played back together with (in synchronization with) the main clip data contained in the main clip. [0183] In Figs. 26 through 28, the order of steps S16 and S17 may be reversed or steps S16 and S17 may be executed in parallel. Similarly, the order of steps S18 and S20 may be reversed or steps S18 and S20 may be executed in parallel. The order of steps S23 through S28 may be reversed or steps S23 through S28 may be executed in parallel. The order of steps S30 through S33 may be reversed or steps S30 through S33 may be executed in parallel. The order of steps S35 and S36 may be reversed or steps S35 and S36 may be executed in parallel. That is, in Fig. 25, the elements disposed vertically on the same layer, i.e., the processing jobs of the buffers 51 through 54, those of the switches 57 through 59, those of the decoders 71 through 76, those of the plane generators 91 through 94, and those of the video data processor 96 and the audio data processor 97 may be executed - 71 S05P0181 in parallel, and the order thereof is not particularly restricted. [0184] Processing performed by the playback apparatus 20 when an instruction to switch sound or subtitles is given is now described with reference to the flowchart in Figs. 29 and 30. [0185] Reference is first given to the flowchart in Fig. 29 to discuss processing when an instruction to switch sound is given by the user. This processing is executed when the playback processing shown in Figs. 26 through 28 is being performed. [0186] In step S51, the controller 34 obtains an order list of audio stream numbers (may be IDs). More specifically, the controller 34 refers to STNtableo) of PlayItem() discussed with reference to Fig. 14 to obtain the order list of audio stream numbers (IDs) entered in STNtable() discussed with reference to Fig. 15. This processing is executed when the playback processing shown in Figs. 26 through 28 is started. [0187] In response to an instruction to switch sound given by the user via the user interface, in step S52, the controller 34 receives the instruction to switch sound given by the user. That is, in Fig. 29, step S51 has been executed, and - 72 S05P0181 in response to an instruction to switch sound from the user, step S52 is executed. [0188] In step S53, the controller 34 obtains the audio stream number subsequent to the audio stream number which is currently played back. For example, if the audio stream (although it is indicated by Text based subtitle in Fig. 9, it is read as the audio stream file in this example) having SubClip_entryid=0 shown in Fig. 9 is played back, the audio stream number having SubClipentryid=l is obtained. [0189] In step S54, the controller 34 determines whether the playback apparatus 20 has a function of playing back the audio stream associated with the obtained number. More specifically, the controller 34 makes this determination based on the information indicated in stream attribute() (Fig. 17). If it is determined in step S54 that the function of playing back the audio stream associated with the obtained number is not provided, the process proceeds to step S55 in which the controller 34 obtains the stream number subsequent to the current stream number. That is, if the function of playing back the audio stream associated with the current stream number is not provided, the current stream number is skipped (which is not to be played back), and the subsequent stream number is obtained. Then, after - 73 SO5P0181 step S55, the process returns to step S54, and the subsequent processing is repeated. That is, the processing is repeated until an audio stream number that can be played back by the playback apparatus 20 can be obtained. [0190] If it is determined in step S54 that the function of playing back the audio stream associated with the obtained number is provided, the process proceeds to step S56. In step S56, the controller 34 checks whether the audio stream is contained in the main clip or a sub clip. In the example shown in Fig. 9, since the obtained SubClip_entryid=1 is referred to by the Sub Path, the controller 34 can determine that the audio stream associated with the obtained number is contained in the sub clip. [0191] In step S57, the controller 34 specifies a desired audio stream. More specifically, the controller 34 specifies a desired audio stream contained in the main clip or the sub clip associated with the obtained number. More specifically, type=3 is specified in STN table() discussed with reference to Fig. 16. [0192] In step S58, the controller 34 instructs the storage drive 31 to read the clip (main clip or sub clip) in which the desired audio stream is multiplexed. The storage drive - 74 SOSP0181 31 reads the target clip based on this instruction. [0193] In step S59, the controller 34 instructs the AV decoder 33 to play back the audio stream from the read clip. (0194] In step S60, the AV decoder 33 decodes the audio stream and outputs it. More specifically, the audio data decoded by the audio decoder 75 and the sound data output from the buffer 95 are processed by the audio data processor 97, and the resulting data is output as an audio signal. [0195] According to this processing, the selection performed by the switch 59 shown in Fig. 25 in step S21 in Fig. 27 is determined. More specifically, if the target clip shown in Fig. 29 is the main clip, the switch 59 supplies the audio stream supplied from the main side, i.e., the PID filter 55, to the audio decoder 75. If the target clip is a sub clip, the switch 59 supplies the audio stream supplied from the sub side, i.e., the PID filter 56, to the audio decoder 75. [0196] In this manner, the controller 34 can control switching of sound (audio) based on STNtable() of PlayItem. By referring to streamattribute of STNtable(), the controller 34 can control switching of the playback operation by selecting streams that can be played back by the playback - 75 SO5PO181 apparatus 20. [0197] Although in the processing shown in Fig. 29 audio is switched based on audio stream numbers, audio may be switched based on audio stream IDs (audiostreamid). In this case, the number obtained by subtracting one from the audio stream number is the audio stream ID. [0198] A description is now given, with reference to the flowchart in Fig. 30, of processing when an instruction to switch subtitles is given by the user. This processing is executed when the playback processing shown in Figs. 26 through 28 is being performed. [0199] In step S81, the controller 34 obtains an order list of subtitle stream numbers (may be IDs). More specifically, the controller 34 refers to STNtable() of PlayItem() discussed with reference to Fig. 14 to obtain the order list of subtitle stream ID (PG txtST stream id) entered in STNtableo) discussed with reference to Fig. 15. This processing is executed when the playback processing shown in Figs. 26 through 28 is started. [0200] In response to an instruction to switch subtitles given by the user via the user interface, in step 382, the - 76 S05P0181 controller 34 receives the instruction to switch subtitles given by the user. That is, in Fig. 30, step S81 has been executed, and in response to an instruction to switch subtitles from the user, step S82 is executed. [0201] In step S83, the controller 34 obtains the subtitle stream number subsequent to the subtitle stream number which is currently played back. For example, if the Text based subtitle in Fig. 9 having SubClip_entry_id=0 shown in Fig. 9 is played back, the Text based subtitle number having SubClipentry id=l is obtained. [0202] In step S84, the controller 34 determines whether the playback apparatus 20 has a function of playing back the subtitle stream associated with the obtained number. More specifically, the controller 34 makes this determination based on the information indicated in stream attribute() (Fig. 17). If it is determined in step S84 that the function of playing back the subtitle stream associated with the obtained number is not provided, the process proceeds to step S85 in which the controller 34 obtains the stream number subsequent to the current stream number. That is, if the function of playing back the subtitle stream associated with the current stream number is not provided, the current stream number is skipped (which is not played back), and the - 77 SOSP0181 subsequent stream number is obtained. Then, after step 385, the process returns to step S84, and the subsequent processing is repeated. That is, the processing is repeated until a subtitle stream number that can be played back by the playback apparatus 20 can be obtained. [0203] If it is determined in step S84 that the function of playing back the subtitle stream associated with the obtained number is provided, the process proceeds to step S86. In step 386, the controller 34 checks whether the data corresponding to the obtained number (subtitle stream number subsequent to the currently played back subtitle stream) is contained in the main clip (Main Path), a sub clip (Sub Path), or a text subtitle data file (Sub Path). [0204] In step S87, the controller 34 specifies a desired presentation graphics stream or text subtitle data. More specifically, the controller 34 specifies a desired presentation graphics stream contained in the main clip or the sub clip or desired text subtitle title data from the text subtitle file. [0205] In step S88, the controller 34 instructs the storage drive 31 to read the clip (main clip or sub clip) in which the desired presentation graphics stream is multiplexed or - 78 S05P0181 to read the desired text subtitle data. [0206] In step S89, the controller 34 instructs the AV decoder 33 to play back the presentation graphics stream from the read clip or the text subtitle data. [0207] In step S90, the AV decoder 33 decodes the presentation graphics stream or the text subtitle data and outputs the subtitle image. More specifically, a plane is generated from the decoded presentation graphics stream or text subtitle data by the presentation graphics plane generator 93, and is combined by the video data processor 96 and is output as video. [02081 According to this processing, the selection performed by the switch 77 shown in Fig. 25 in step S29 in Fig. 28 is determined. More specifically, if the target data in step S87 in Fig. 30 is a presentation graphics stream, the switch 77 supplies the presentation graphics data supplied from the presentation graphics decoder 73 to the presentation graphics plane generator 93. If the target data is text subtitle data, the switch 77 supplies the text subtitle data supplied from the Text-ST composition 76 to the presentation graphics plane generator 93. The controller 34 can control switching of the playback operation by selecting only - 79 SOSP0181 streams that can be played back by the playback apparatus 20. [0209] Although in the processing shown in Fig. 30, the subtitles are switched based on the subtitle stream numbers, the subtitles may be switched based on the subtitle stream IDs (PGtxtSTstreamid). In this case, the number obtained by subtracting one from the subtitle stream number is the subtitle stream ID. [0210] By providing the Main Path and the Sub Path in the PlayList, audio or subtitles can be selected from streams or data files different from the main AV stream when an instruction to switch audio or subtitles is given by the user. [0211] The PlayItem in the Main Path includes data multiplexed into an AV stream file and the Stream Number Definition table defining the type of data referred to by the Sub Path is provided. Thus, streams having higher extensibility can be implemented. [0212] By referring to streamattribute in STNtable(, the playback apparatus 20 can sequentially select and play back only streams that can be played back by the playback apparatus 20.
- 80 S05P0181 [0213] The above-described processing can be summarized as follows. [0214] The playback apparatus 20 obtains PlayList, which serves as playback management information, including Main Path, which is the main playback path, indicating the position of an AV stream file recorded on a recording medium, and Sub Paths, which serve as a plurality of sub playback paths, indicating the positions of sub clips including accompanying data (for example, audio stream data or bitmap subtitle stream file data) played back in synchronization with the playback timing of main image data (video stream data) included in the AV stream file referred to by the main playback path. The playback apparatus 20 selects accompanying data to be played back, based on an instruction from the user, from among accompanying data (for example, audio stream file data) played back in synchronization with video stream data included in the AV stream file referred to by the Main Path and accompanying data (for example, audio stream file data) included in the sub clips referred to by the Sub Paths. In the processing shown in Fig. 29 or 30, an instruction to switch subtitles or audio is given. Then, the playback apparatus 20 determines whether the playback apparatus 20 has a playback function of playing back the - 81 S05P0181 selected accompanying data (for example, audio stream file data). The controller 34 can determine whether the controller 34 (playback apparatus 20) can play back the accompanying data by referring to streamattribute in STNtable (). If it is determined that the playback apparatus 20 has a function of playing back the selected accompanying data and if the accompanying data is contained in a sub clip referred to by a Sub Path, the sub clip referred to by the Sub Path is read and combined with the main AV stream file (main clip) referred to by the Main Path, and is played back. For example, if, as the accompanying data to be played back, audio stream file data referred to by a Sub Path is selected by the user (if an instruction to switch audio is given by the user), the playback apparatus 20 combines the audio stream file data referred to by the Sub Path with a main clip AV stream file, i.e., an MPEG2 video stream file, a presentation graphics stream file, or an interactive graphics stream file, and plays back the combined data. That is, the decoded audio stream file selected by the user is played back as audio. (0215] As described above, since the PlayList includes the Main Path and Sub Path, which refer to different clips, the extensibility of streams can be achieved. Since one Sub Path can refer to a plurality of files (for example, Figs. 9 - 82 S05P0181 and 10), the user can select from among a plurality of different streams. [0216] Further, in the PlayItem of the Main Path, STN table) shown in Fig. 15 is disposed as a table defining accompanying data multiplexed (included) in the AV stream file referred to by the Main Path and accompanying data referred to by the Sub Paths. Thus, streams having higher extensibility can be implemented. The Sub Path can be easily extended by being entered in STNtable(). [0217] The provision of stream attribute() shown in Fig. 17, which is attribute information concerning streams, in STNtable() makes it possible to determine whether the selected stream can be played back by the playback apparatus 20. Also, by referring to stream attribute(, only streams that can be played back by the playback apparatus 20 can be selected and played back. [0218] The Sub path includes SubPathtype indicating the type of Sub Path (such as audio or text subtitle), as shown in Fig. 12, Clipinformation filename shown in Fig. 13 indicating the name of the sub clip referred to by the Sub Path, and SubPlayItemIN time and SubPlayItemOUT time shown in Fig. 13 indicating the IN point and the OUT point, - 83 S05P0181 respectively, of the clip referred to by the Sub Path. Accordingly, the data referred to by the Sub Path can be precisely specified. [0219] The Sub Path also includes sync_PlayItem id (for example, sync_PlayItemid shown in Fig. 7 or 9), which serves as specifying information for specifying the AV stream file on the Main Path, for playing back the Sub Path simultaneously with the Main Path, and syncstartPTS_ofPlayItem (for example, syncstartPTS_of_PlayItem shown in Fig. 7 or 9),- which is the time on the Main Path, on which the IN point of the data referred to by the Sub Path is started in synchronization with the Man Path on the time axis of the Main Path. Accordingly, data (file) referred to by the Sub Path can be played back in synchronization with the main clip AV stream file referred to by the Main Path, as shown in Fig. 7 or 9. [0220] Data read by the storage drive 31 shown in Fig. 25 may be data recorded on a recording medium, such as a DVD (Digital Versatile Disc), data recorded on a hard disk, data downloaded via a network (not shown), or data combined from such data. For example, data may be played back based on Playlist and a sub clip recorded on a hard disk and a main clip AV stream file recorded on a DVD. Alternatively, if - 84 S05P0181 PlayList, using a clip AV stream file recorded on a DVD as a sub clip, and a main clip are recorded on a hard disk, the main clip and the sub clip may be read and played back from the hard disk and DVD, respectively, based on the PlayList recorded on the hard disk. [0221] The above-described series of processing operations may be executed by hardware or software. In this case, the processing operations can be performed by a personal computer 500 shown in Fig. 31. [0222] In Fig. 31, in the personal computer 500, a CPU (Central Processing Unit) 501 executes various processing operations according to a program stored in a ROM (Read Only Memory) 502 or a program loaded into a RAM (Random Access Memory) 503 from a storage unit 508. In the RAM 503, data necessary for the CPU 501 to execute various processing operations is also stored. [0223] The CPU 501, the ROM 502, and the RAM 503 are connected to each other via an internal bus 504. An input/output interface 505 is also connected to the internal bus 504. [0224] The input/output interface 505 is connected to an input unit 506, such as a keyboard and a mouse, an output unit 507, - 85 S05P0181 such as a display, for example, a CRT or an LCD, the storage unit 508, such as a hard disk, and a communication unit 509, such as a modem or a terminal adapter. The communication unit 509 performs communication via various networks including telephone lines or CATV. (0225] A drive 510 is connected to the input/output interface 505 if necessary. A removable medium 521, such as a magnetic. disk, an optical disc, a magneto-optical disk, or a semiconductor memory, is installed in the drive 510. A computer program read from the removable medium 521 is installed into the storage unit 508. [0226] If software is used for executing the series of processing operations, a corresponding software program is installed from a network or a recording medium. [0227] This recording medium may be formed of a package medium, such as the removable medium 521, recording the program thereon, as shown in Fig. 31, which is distributed to the user separately from the computer. Alternatively, the recording medium may be formed of the ROM 502 or a hard disk forming the storage unit 508 recording the program thereon, which is distributed to the user while being built in the computer.
- 86 S05P0181 [0228] In this specification, steps forming the computer program may be executed in chronological order described in this specification. Alternatively, they may be executed in parallel or individually. [0229] In this specification, the system represents the overall apparatus including a plurality of devices.
Claims (10)
1. A playback apparatus comprising: obtaining means for obtaining playback management information including first information having a main 5 playback path indicating a position of an AV stream file recorded on a recording medium and second information having a plurality of sub playback paths indicating positions of sub files including accompanying data to be played back simultaneously with playback of main image 1o data included in the AV stream file; selection means for selecting accompanying data to be played back, based on an instruction from a user, from among accompanying data to be played back simultaneously with the main image data included in the AV stream file is referred to by the main playback path and the accompanying data included in the sub files, which can be selected from streams or data files different from a main AV stream, referred to by the sub playback paths; reading means for reading, if the accompanying data 20 selected by the selection means is included in a sub file referred to by a sub playback path, the sub file referred to by the sub playback path together with the AV stream file referred to by the main playback path; and
5554446-1 - 88 playback means for playing back the main image data included in the AV stream file read by the reading means and the accompanying data included in the sub file selected by the selection means and read by the reading s means.
2. The playback apparatus according to claim 1, wherein the first information includes a table defining the accompanying data included in the AV stream file referred to by the main playback path and the accompanying data 1o referred to by the sub playback paths, and the selection means selects the accompanying data to be played back, based on the instruction from the user, from among the accompanying data defined in the table. 15
3. The playback apparatus according to claim 1, further comprising determining means for determining whether the playback apparatus has a function of playing back the accompanying data selected by the selection means, wherein if it is determined by the determining 20 means that the playback apparatus has a function of playing back the accompanying data and if the accompanying data is included in a sub file referred to by a sub playback path, the reading means reads the sub 5554446-1 - 89 file referred to by the sub playback path together with the AV stream file referred to by the main playback path, and the playback means plays back the main image data 5 included in the AV stream file read by the reading means and the accompanying data included in the sub file selected by the selection means and read by the reading means.
4. The playback apparatus according to claim 2, further io comprising determining means for determining whether the playback apparatus has a function of playing back the accompanying data selected by the selection means, wherein if it is determined by the determining means that the playback apparatus has a function of i5 playing back the accompanying data and if the accompanying data is included in a sub file referred to by a sub playback path, the reading means reads the sub file referred to by the sub playback path together with the AV stream file referred to by the main playback path, 20 and the playback means plays back the main image data included in the AV stream file read by the reading means and the accompanying data included in the sub file 5554446-1 - 90 selected by the selection means and read by the reading means.
5. The playback apparatus according to claim 4, wherein the table further defines accompanying information 5 concerning accompanying data, and the determining means determines whether the playback apparatus has a function of playing back the accompanying data based on attribute information concerning the accompanying data defined in the table. 10
6. The playback apparatus according to claim 1, wherein the second information includes type information concerning the types of the sub playback paths, file-names of the sub files referred to by the sub playback paths, and is IN points and OUT points of the sub files referred to by the sub playback paths.
7. The playback apparatus according to claim 6, wherein the second information further includes specifying information for specifying the AV stream file referred to 20 by the main playback path to play back the sub playback paths simultaneously with the main playback path, and 5554446-1 - 91 a time on the main playback path for allowing the IN points to be started in synchronization with the main playback path on the time axis of the main playback path.
8. A playback method comprising: s an obtaining step of obtaining playback management information including first information having a main playback path indicating a position of an AV stream file recorded on a recording medium and second information having a plurality of sub playback paths indicating 1o positions of sub files including accompanying data to be played back simultaneously with playback of main image data included in the AV stream file; a selection step of selecting accompanying data to be played back, based on an instruction from a user, from 15 among accompanying data to be played back simultaneously with the main image data included in the AV stream file referred to by the main playback path and the accompanying data included in the sub files, which can be selected from streams or data files different from a main 20 AV stream, referred to by the sub playback paths; a reading step of reading, if the accompanying data selected by processing of the selection step is included in a sub file referred to by a sub playback path, the sub 5554446-1 - 92 file referred to by the sub playback path together with the AV stream file referred to by the main playback path; and a playback step of playing back the main image data 5 included in the AV stream file read by processing of the reading step and the accompanying data included in the sub file selected by processing of the selection step and read by processing of the reading step.
9. A program allowing a computer to execute processing to comprising: an obtaining step of obtaining playback management information including first information having a main playback path indicating a position of an AV stream file recorded on a recording medium and second information is having a plurality of sub playback paths indicating positions of sub files including accompanying data to be played back simultaneously with playback of main image data included in the AV stream file; a selection step of selecting accompanying data to 20 be played back, based on an instruction from a user, from among accompanying data to be played back simultaneously with the main image data included in the AV stream file referred to by the main playback path and the 5554446-1 - 93 accompanying data included in the sub files, which can be selected from streams or data files different from a main AV stream, referred to by the sub playback paths; a reading step of reading, if the accompanying data 5 selected by processing of the selection step is included in a sub file referred to by a sub playback path, the sub file referred to by the sub playback path together with the AV stream file referred to by the main playback path; and to a playback step of playing back the main image data included in the AV stream file read by processing of the reading step and the accompanying data included in the sub file selected by processing of the selection step and read by processing of the reading step. is 10. A recording medium recording thereon association data (streamentry) concerning an AV stream file included in a clip and accompanying data to be played back simultaneously with playback of the AV stream file, wherein the association data indicates whether the 20 accompanying data is included in a clip (mainClip) used by a main playback path (PlayItem) indicating a position of the AV stream file (type=l) or in clips used by a plurality of sub playback paths (Subpaths) indicating 5554446-1 - 94 positions of sub files including the accompanying data played back simultaneously with playback of the AV stream file (type=2), and, if the association data indicates that the 5 accompanying data is included in the clips used by the plurality of sub playback paths (Subpaths) indicating the positions of the sub files including the accompanying data (type=2), the association data includes at least an ID of the sub playback path to be played back selected 10 from the ID (reftoSubpath_id) for specifying the sub playback path to be played back, an ID (reftoSubClip-entryjid) for specifying an clip used by the sub playback path, and is an ID (ref_to_Stream_PID_of_subClip) for specifying an elementary stream to be played back by the clip. 11. A recording medium recording thereon data including a playback control file (play list) having a main playback path (main path, PlayItem) indicating a position 20 of an AV stream file (AV clip) included in a clip, wherein the playback control file (play list) includes a sub playback path (sub path) indicating a position of a sub file including accompanying data to be 5554446-1 - 95 played back simultaneously with playback of main image data included in the AV stream file, the main playback path includes a table defining a list of elementary streams that are selectable while the 5 main playback path is being played back, and the table includes data indicating whether the selectable elementary streams are included in the AV stream file selected by the main playback path or the sub file selected by the sub playback path.
10 12. A data structure including a playback control file (play list) having a main playback path (main path, PlayItem) indicating a position of an AV stream file (AV clip) included in a clip, wherein the playback control file (play list) is includes a sub playback path (sub path) indicating a position of a sub file including accompanying data to be played back simultaneously with playback of main image data included in the AV stream file, the main playback path includes a table defining a 20 list of elementary streams that are selectable while the main playback path is being played back, and the table includes data indicating whether the selectable elementary streams are included in the AV 5554446-1 - 96 stream file selected by the main playback path or the sub file selected by the sub playback path. 13. A playback apparatus substantially as herein before described with reference to any one of the embodiments as 5 that embodiment is shown in the accompanying drawings. 14. A playback method substantially as herein before described with reference to any one of the embodiments as that embodiment is shown in the accompanying drawings. 15. A program allowing a computer to execute io processing, said program being substantially as herein before described with reference to any one of the embodiments as that embodiment is shown in the accompanying drawings. 16. A recording medium recording thereon association 15 data substantially as herein before described with reference to any one of the embodiments as that embodiment is shown in the accompanying drawings. 17. A recording medium recording thereon data including a playback control file substantially as herein before 20 described with reference to any one of the embodiments as that embodiment is shown in the accompanying drawings. 5554446-1 - 97 DATED this Thirtieth Day of August, 2011 Sony Corporation Patent Attorneys for the Applicant SPRUSON & FERGUSON 5 5554446-1
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
AU2011218752A AU2011218752A1 (en) | 2004-02-16 | 2011-09-02 | Reproduction device, reproduction method, program, recording medium, and data structure |
AU2012213937A AU2012213937B2 (en) | 2004-02-16 | 2012-08-14 | Playback apparatus, playback method, program, recording medium, and data structure |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004-038574 | 2004-02-16 | ||
JP2004-108650 | 2004-04-01 | ||
AU2011218752A AU2011218752A1 (en) | 2004-02-16 | 2011-09-02 | Reproduction device, reproduction method, program, recording medium, and data structure |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
AU2005213036A Division AU2005213036A1 (en) | 2004-02-16 | 2005-02-15 | Reproduction device, reproduction method, program, recording medium, and data structure |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
AU2012213937A Division AU2012213937B2 (en) | 2004-02-16 | 2012-08-14 | Playback apparatus, playback method, program, recording medium, and data structure |
Publications (1)
Publication Number | Publication Date |
---|---|
AU2011218752A1 true AU2011218752A1 (en) | 2011-09-22 |
Family
ID=45441959
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
AU2011218752A Ceased AU2011218752A1 (en) | 2004-02-16 | 2011-09-02 | Reproduction device, reproduction method, program, recording medium, and data structure |
AU2012213937A Ceased AU2012213937B2 (en) | 2004-02-16 | 2012-08-14 | Playback apparatus, playback method, program, recording medium, and data structure |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
AU2012213937A Ceased AU2012213937B2 (en) | 2004-02-16 | 2012-08-14 | Playback apparatus, playback method, program, recording medium, and data structure |
Country Status (1)
Country | Link |
---|---|
AU (2) | AU2011218752A1 (en) |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4599740B2 (en) * | 2000-04-21 | 2010-12-15 | ソニー株式会社 | Information processing apparatus and method, recording medium, program, and recording medium |
KR20050048848A (en) * | 2003-11-20 | 2005-05-25 | 엘지전자 주식회사 | Method for managing and reproducing a playlist file of high density optical disc |
-
2011
- 2011-09-02 AU AU2011218752A patent/AU2011218752A1/en not_active Ceased
-
2012
- 2012-08-14 AU AU2012213937A patent/AU2012213937B2/en not_active Ceased
Also Published As
Publication number | Publication date |
---|---|
AU2012213937A1 (en) | 2012-09-06 |
AU2012213937B2 (en) | 2014-11-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9070414B2 (en) | Playback apparatus, playback method, program, recording medium, and data structure | |
US11128852B2 (en) | Recording medium, playback device, and playback method | |
US8351767B2 (en) | Reproducing device and associated methodology for playing back streams | |
US8139922B2 (en) | Playback apparatus and method, program, recording medium, data structure, and manufacturing method for recording medium | |
US11984139B2 (en) | Recording medium, playback method, and playback device | |
US10553253B2 (en) | Recording medium, playback method, and playback device | |
AU2012213937B2 (en) | Playback apparatus, playback method, program, recording medium, and data structure | |
JP4729983B2 (en) | REPRODUCTION DEVICE, REPRODUCTION METHOD, PROGRAM, AND DATA STRUCTURE | |
MXPA06007710A (en) | Reproduction device, reproduction method, program, recording medium, and data structure |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
ON | Official notes - decision of a delegate or deputy of the commissioner of patents |
Free format text: APO74, DECISION: I REFUSE THE APPLICATION. Effective date: 20120802 |
|
MK16 | Application refused |