JP4968562B2 - REPRODUCTION DEVICE, REPRODUCTION METHOD, AND RECORDING METHOD - Google Patents

REPRODUCTION DEVICE, REPRODUCTION METHOD, AND RECORDING METHOD Download PDF

Info

Publication number
JP4968562B2
JP4968562B2 JP2011288870A JP2011288870A JP4968562B2 JP 4968562 B2 JP4968562 B2 JP 4968562B2 JP 2011288870 A JP2011288870 A JP 2011288870A JP 2011288870 A JP2011288870 A JP 2011288870A JP 4968562 B2 JP4968562 B2 JP 4968562B2
Authority
JP
Japan
Prior art keywords
stream
audio
clip
video
sub
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.)
Active
Application number
JP2011288870A
Other languages
Japanese (ja)
Other versions
JP2012075187A (en
Inventor
綾子 岩瀬
元樹 加藤
しのぶ 服部
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP2011288870A priority Critical patent/JP4968562B2/en
Publication of JP2012075187A publication Critical patent/JP2012075187A/en
Application granted granted Critical
Publication of JP4968562B2 publication Critical patent/JP4968562B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本技術は、再生装置、再生方法および記録方法に関し、特に、メインのAVストリームとともに再生する各種のデータを選択することができるようにする再生装置、再生方法および記録方法に関する。 The present technology relates to a playback device, a playback method , and a recording method, and more particularly to a playback device, a playback method , and a recording method that enable selection of various data to be played back along with a main AV stream.

DVD(Digital Versatile Disc)ビデオの規格においては、記録媒体に記録されている映画などのAV(Audio Visual)コンテンツを再生する場合、ユーザに、音声切り替えや字幕切り替えというインタラクティブな操作を提供している(例えば、非特許文献1参照)。具体的には、図1の表示装置1に表示されているAVコンテンツに対して、ユーザは、リモートコントローラ2の音声切り替えボタン11や字幕切り替えボタン12を操作することで、音声の切り替えや字幕を切り替える。例えば、音声1が初期状態として設定されており、ユーザによりリモートコントローラ2の音声切り替えボタン11が操作された場合、図2に示されるように、音声1が音声2に切り替えられる。   In the DVD (Digital Versatile Disc) video standard, when AV (Audio Visual) content such as a movie recorded on a recording medium is played, an interactive operation such as audio switching or subtitle switching is provided to the user. (For example, refer nonpatent literature 1). Specifically, for the AV content displayed on the display device 1 in FIG. 1, the user operates the audio switching button 11 or the subtitle switching button 12 of the remote controller 2 to switch the audio or subtitle. Switch. For example, when the voice 1 is set as the initial state and the user operates the voice switching button 11 of the remote controller 2, the voice 1 is switched to the voice 2 as shown in FIG.

DVDビデオ上のAVコンテンツは、MPEG(Moving Picture Experts Group)2プログラムストリームの形式で記録されている。このMPEG2プログラムストリームには、図3に示されるように、ビデオストリーム(図3のビデオ)、複数のオーディオストリーム(図3のオーディオ1,2,3)、および複数のサブピクチャストリーム(図3のサブピクチャ1,2,3)が、ビデオストリームにAV同期して再生されるように多重化されている。
サブピクチャストリーム(サブピクチャ1,2,3)は、ビットマップ画像がランレングス符号化されたストリームであり、主に字幕用途に用いられる。
AV content on a DVD video is recorded in MPEG (Moving Picture Experts Group) 2 program stream format. As shown in FIG. 3, the MPEG2 program stream includes a video stream (video in FIG. 3), a plurality of audio streams (audios 1, 2, and 3 in FIG. 3), and a plurality of sub-picture streams (in FIG. 3). The sub-pictures 1, 2, 3) are multiplexed so as to be reproduced in AV synchronization with the video stream.
The sub-picture stream (sub-picture 1, 2, 3) is a stream in which a bitmap image is run-length encoded, and is mainly used for subtitles.

一般に、複数のオーディオストリームは、異なる言語の音声を記録するために用いられ、複数のサブピクチャストリームは、異なる言語の字幕を記録するために用いられる。ユーザは、ビデオが再生されている場合、インタラクティブに所望の言語の音声や字幕を、リモートコントローラ2を用いて選択することができる。   In general, a plurality of audio streams are used for recording audio in different languages, and a plurality of sub-picture streams are used for recording subtitles in different languages. When the video is being played back, the user can interactively select audio or subtitles in a desired language using the remote controller 2.

また、DVDビデオは、プログラムストリームの中の複数のオーディオストリーム(オーディオ1,2,3)と複数のサブピクチャストリーム(サブピクチャ1,2,3)に対して、ユーザに提供する音声番号と字幕番号の関係を表すテーブル構造を定義している。   Also, the DVD video includes audio numbers and subtitles provided to the user for a plurality of audio streams (audio 1, 2, 3) and a plurality of sub-picture streams (sub-pictures 1, 2, 3) in the program stream. Defines a table structure that represents the number relationship.

図4は、ユーザに提供する音声信号と字幕信号の関係を表すストリームナンバーテーブルを説明する図である。ここでは、音声番号をA_SN(Audio Stream Number)と称し、字幕番号をS_SN(SubPicture Stream Number)と称する。図4においては、MPEG2プログラムストリームの複数のオーディオストリームのそれぞれにA_SNが与えられているとともに、MPEG2プログラムストリームの複数のサブピクチャストリームのそれぞれに、S_SNが与えられている。A_SN=1:オーディオ2であり、A_SN=2:オーディオ1であり、A_SN=3:オーディオ3である。また、S_SN=1:サブピクチャ3であり、S_SN=2:サブピクチャ1であり、S_SN=3:サブピクチャ2である。ここでは、A_SNやS_SNの番号が小さい程、ユーザに提供される音声信号として優先度が高い。すなわち、A_SN=1はデフォルトで再生されるオーディオストリームであり、S_SN=1はデフォルトで再生されるサブピクチャストリームである。   FIG. 4 is a diagram for explaining a stream number table representing the relationship between audio signals and caption signals provided to the user. Here, the audio number is referred to as A_SN (Audio Stream Number), and the subtitle number is referred to as S_SN (SubPicture Stream Number). In FIG. 4, A_SN is given to each of the plurality of audio streams of the MPEG2 program stream, and S_SN is given to each of the plurality of sub-picture streams of the MPEG2 program stream. A_SN = 1: Audio 2; A_SN = 2: Audio 1; A_SN = 3: Audio 3 Also, S_SN = 1: sub-picture 3, S_SN = 2: sub-picture 1, and S_SN = 3: sub-picture 2. Here, the smaller the A_SN or S_SN number, the higher the priority as the audio signal provided to the user. That is, A_SN = 1 is an audio stream reproduced by default, and S_SN = 1 is a sub-picture stream reproduced by default.

具体的には、図1の初期状態で再生される音声1は、A_SN=1であるオーディオ2(図4)に対応しており、音声が切り替えられた後、図2で再生される音声2は、A_SN=2であるオーディオ1(図4)に対応している。   Specifically, the sound 1 reproduced in the initial state of FIG. 1 corresponds to the audio 2 (FIG. 4) with A_SN = 1, and the sound 2 reproduced in FIG. 2 after the sound is switched. Corresponds to audio 1 (FIG. 4) with A_SN = 2.

また、追加して記録された音声(例えば、いわゆるアフレコと称される音声)を再生するために、Sub pathが用いられている技術がある(例えば、特許文献1)。   In addition, there is a technique in which a Sub path is used to reproduce additionally recorded sound (for example, so-called after-recording sound) (for example, Patent Document 1).

特開2000−158972号公報JP 2000-158972 A

DVD Specifications for Read-Only Disc Part 3;Version1.1DVD Specifications for Read-Only Disc Part 3; Version1.1

しかしながら、DVDビデオでは、プログラムストリームのビデオを再生している場合に、ユーザによる音声切り替えや字幕切り替えという操作は、再生しているプログラムストリームに多重化されているオーディオストリームとサブピクチャストリームの中からしか、選ぶことができなかった。すなわち、図3に示されるようなMPEG2プログラムストリームを再生している場合に、音声の切り替えを行う場合、選択肢はオーディオ1乃至3のいずれか1つとなる。   However, in the case of DVD video, when a program stream video is being played back, the user's operations such as audio switching and subtitle switching are performed from among the audio stream and sub-picture stream multiplexed in the program stream being played back. However, I could not choose. In other words, when the MPEG2 program stream as shown in FIG. 3 is being reproduced, when switching the audio, the choice is one of the audio 1 to 3.

そのため、再生しているプログラムストリームとは別の他のストリームでオーディオストリームと字幕を用意した場合、ユーザは、音声の切り替えの操作が、他のストリームから選択することができないため、拡張性がないという問題があった。   For this reason, when an audio stream and subtitles are prepared in a different stream from the program stream being played back, the user cannot select an audio switching operation from the other stream, so there is no scalability. There was a problem.

さらに、将来的には、切り替え対象のコンテンツとして、音声のみならず映像等、様々な種類のコンテンツが対象となることが想定されている。従って、将来的には、これらの様々な種類のコンテンツの切り替えの操作が、他のストリームから選択することができないため、拡張性がないという問題にまで発展してしまうことになる。   Furthermore, in the future, it is assumed that various types of content such as video as well as audio will be targeted as the content to be switched. Therefore, in the future, since these various types of content switching operations cannot be selected from other streams, the problem will not be scalable.

また、特許文献1に記載の技術では、たしかに、追加して記録された音声(例えば、いわゆるアフレコと称される音声)を再生するために、Sub pathが用いられているが、2つの同一の種類のストリーム、すなわち、2つのオーディオストリームや2つのビデオストリームを合成して再生するための構成についてはなんら開示されていない。   Moreover, in the technique described in Patent Document 1, a sub path is used to reproduce additionally recorded sound (for example, so-called after-recording sound). There is no disclosure of a configuration for synthesizing and reproducing different types of streams, that is, two audio streams and two video streams.

本技術は、このような状況に鑑みてなされたものであり、メインのAVストリームとともに再生する各種のデータを選択することができるようにするものである。   The present technology has been made in view of such a situation, and makes it possible to select various data to be reproduced together with a main AV stream.

本技術の一側面の再生装置は、主の再生パスによって参照され、第1のビデオストリームと第1のオーディオストリームを含む第1のストリームの時間軸上の再生区間を示す情報を含む、前記主の再生パスを構成するPlayItemの情報と、副の再生パスによって参照され、第2のビデオストリームと第2のオーディオストリームを含む第2のストリームの時間軸上の再生区間を示す情報を含む、前記副の再生パスを構成するSubPlayItemの情報と、前記PlayItemの情報に含まれ、再生するストリームの選択に用いられるテーブル情報であって、再生することが可能な前記第2のビデオストリームと前記第2のオーディオストリームの組み合わせを示す組み合わせ情報を含む前記テーブル情報と、を含む再生管理情報を装着された光ディスクから取得する取得部と、前記第1のストリームと前記第2のストリームと効果音のデータであるサウンドデータと前記光ディスクから読み出す読み出し部と、前記第1のストリームに含まれる前記第1のビデオストリームをデコードする第1のビデオデコーダと、前記第2のストリームに含まれる前記第2のビデオストリームをデコードする第2のビデオデコーダと、前記第1のストリームに含まれる前記第1のオーディオストリームをデコードする第1のオーディオデコーダと、前記第2のストリームに含まれ、前記第2のビデオストリームと組み合わせて再生することが可能であることが前記組み合わせ情報によって示される前記第2のオーディオストリームをデコードする第2のオーディオデコーダと、前記第1のオーディオデコーダによるデコードによって得られたオーディオデータと前記第2のオーディオデコーダによるデコードによって得られたオーディオデータを合成する第1の合成部と、前記第1の合成部による合成後のオーディオデータと前記サウンドデータを合成する第2の合成部とを備える。 Reproducing apparatus of an embodiment of the present technology is referred to by the main playback path includes information indicating a playback section on the time axis of the first stream comprising a first video stream and the first audio stream, the main and information PlayItem constituting the playback paths are referred to by the sub playback paths, including information indicating a playback section on the time axis of the second stream comprising a second video stream and the second audio stream, wherein SubPlayItem information constituting a secondary playback path, and table information included in the PlayItem information and used for selecting a stream to be played back, which can be played back, and the second video stream preparative acquires the said table information including combination information indicating a combination of an audio stream, the playback management information including the loaded optical disk Decoding a part, a reading unit for reading the sound data from the optical disk is a data of the first stream and the second stream and sound effects, the first video stream included in the first stream A first video decoder; a second video decoder for decoding the second video stream included in the second stream; and a first for decoding the first audio stream included in the first stream. And a second decoder that decodes the second audio stream that is included in the second stream and that is indicated by the combination information that can be reproduced in combination with the second video stream. An audio decoder and a decoding by the first audio decoder Synthesizing a first combining unit for combining the audio data obtained by decoding, the audio data and the sound data after synthesis by the first synthesis unit according to the audio data and the second audio decoder obtained by A second combining unit .

前記テーブル情報には、前記第2のビデオストリームと組み合わせて再生することが可能な前記第2のオーディオストリームの識別情報がさらに含まれるようにすることができる。   The table information may further include identification information of the second audio stream that can be reproduced in combination with the second video stream.

本技術の一側面においては、主の再生パスによって参照され、第1のビデオストリームと第1のオーディオストリームを含む第1のストリームの時間軸上の再生区間を示す情報を含む、前記主の再生パスを構成するPlayItemの情報と、副の再生パスによって参照され、第2のビデオストリームと第2のオーディオストリームを含む第2のストリームの時間軸上の再生区間を示す情報を含む、前記副の再生パスを構成するSubPlayItemの情報と、前記PlayItemの情報に含まれ、再生するストリームの選択に用いられるテーブル情報であって、再生することが可能な前記第2のビデオストリームと前記第2のオーディオストリームの組み合わせを示す組み合わせ情報を含む前記テーブル情報と、を含む再生管理情報が装着された光ディスクから取得され、前記第1のストリームと前記第2のストリームと効果音のデータであるサウンドデータと前記光ディスクから読み出される。また、前記第1のストリームに含まれる前記第1のビデオストリームが第1のビデオデコーダによってデコードされ、前記第2のストリームに含まれる前記第2のビデオストリームが第2のビデオデコーダによってデコードされ、前記第1のストリームに含まれる前記第1のオーディオストリームが第1のオーディオデコーダによってデコードされ、前記第2のストリームに含まれ、前記第2のビデオストリームと組み合わせて再生することが可能であることが前記組み合わせ情報によって示される前記第2のオーディオストリームが第2のオーディオデコーダによってデコードされ、前記第1のオーディオデコーダによるデコードによって得られたオーディオデータと前記第2のオーディオデコーダによるデコードによって得られたオーディオデータが合成される。また、合成後のオーディオデータと前記サウンドデータが合成される。 In one aspect of the present technology, is referenced by the main playback path includes information indicating a playback section on the time axis of the first stream comprising a first video stream and the first audio stream, playback of the main and information PlayItem constituting the path, is referred to by the sub playback path includes information indicating a playback section on the time axis of the second stream comprising a second video stream and the second audio stream, the said sub SubPlayItem information constituting a playback path, and table information included in the PlayItem information and used for selecting a stream to be played back, which can be played back and the second audio stream reproduction management information including the table information including combination information indicating a combination of a stream, a is obtained from the optical disk mounted, before And sound data are data of the first stream a second stream and sound effects are read from the optical disc. In addition, the first video stream included in the first stream is decoded by a first video decoder, the second video stream included in the second stream is decoded by a second video decoder, The first audio stream included in the first stream is decoded by a first audio decoder, included in the second stream, and can be reproduced in combination with the second video stream. The second audio stream indicated by the combination information is decoded by a second audio decoder, obtained by decoding by the first audio decoder and by decoding by the second audio decoder Ode Odeta is synthesized. Also, the synthesized audio data and the sound data are synthesized.

本技術によれば、メインのAVストリームとともに再生する各種のデータを選択することができる。   According to the present technology, it is possible to select various data to be reproduced together with the main AV stream.

従来の音声切り替えを説明する図である。It is a figure explaining the conventional voice switching. 従来の音声切り替えを説明する図である。It is a figure explaining the conventional voice switching. MPEG2プログラムストリームの構成を説明する図である。It is a figure explaining the structure of an MPEG2 program stream. ユーザに提供する音声信号と字幕信号の関係を表すストリームナンバーテーブルを説明する図である。It is a figure explaining the stream number table showing the relationship between the audio | voice signal provided to a user, and a caption signal. 本発明を適用した再生装置に装着される記録媒体上のアプリケーションフォーマットの例を示す図である。It is a figure which shows the example of the application format on the recording medium with which the reproducing | regenerating apparatus to which this invention is applied is mounted | worn. メインパスとサブパスの構造を説明する図である。It is a figure explaining the structure of a main path and a sub path. メインパスとサブパスの例を説明する図である。It is a figure explaining the example of a main path and a sub path. メインパスとサブパスの別の例を説明する図である。It is a figure explaining another example of a main path and a sub path. PlayList()のシンタクスを示す図である。It is a figure which shows the syntax of PlayList (). SubPath()のシンタクスを示す図である。It is a figure which shows the syntax of SubPath (). SubPath_typeを説明する図である。It is a figure explaining SubPath_type. SubPlayItem(i)のシンタクスを示す図である。It is a figure which shows the syntax of SubPlayItem (i). PlayItem()のシンタクスを示す図である。It is a figure which shows the syntax of PlayItem (). 第1のSTN_table()のシンタクスを示す図である。It is a figure which shows the syntax of 1st STN_table (). stream_entry()のシンタクスの第1の例を示す図である。[Fig. 11] Fig. 11 is a diagram illustrating a first example of the syntax of stream_entry (). 第2のSTN_table()のシンタクスの例を示す図である。It is a figure which shows the example of a syntax of 2nd STN_table (). stream_entry()のシンタクスの第2の例を示す図である。It is a figure which shows the 2nd example of the syntax of stream_entry (). stream_attribute()のシンタクスを示す図である。It is a figure which shows the syntax of stream_attribute (). stream_cording_typeを説明する図である。It is a figure explaining stream_cording_type. video_formatを説明する図である。It is a figure explaining video_format. frame_rateを説明する図である。It is a figure explaining frame_rate. aspect_ratioを説明する図である。It is a figure explaining aspect_ratio. audio_presentation_typeを説明する図である。It is a figure explaining audio_presentation_type. sampling_frequencyを説明する図である。It is a figure explaining sampling_frequency. Character codeを説明する図である。It is a figure explaining Character code. ユーザに提供する音声信号と字幕信号の関係を表すストリームナンバーテーブルの例を説明する図である。It is a figure explaining the example of the stream number table showing the relationship between the audio | voice signal provided to a user, and a caption signal. 本発明を適用した再生装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the reproducing | regenerating apparatus to which this invention is applied. 本発明を適用した再生装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the reproducing | regenerating apparatus to which this invention is applied. 図28の再生装置における再生処理を説明するフローチャートである。It is a flowchart explaining the reproduction | regeneration processing in the reproducing | regenerating apparatus of FIG. 図28の再生装置における再生処理を説明するフローチャートである。It is a flowchart explaining the reproduction | regeneration processing in the reproducing | regenerating apparatus of FIG. 図28の再生装置における再生処理を説明するフローチャートである。It is a flowchart explaining the reproduction | regeneration processing in the reproducing | regenerating apparatus of FIG. ユーザにより音声の切り替えが指示される場合の処理を説明するフローチャートである。It is a flowchart explaining a process in case switching of a voice is instruct | indicated by the user. 図32のステップS59の詳細な処理の例を説明するフローチャートである。It is a flowchart explaining the example of the detailed process of step S59 of FIG. 2つのオーディオをミキシング再生する場合の例を説明する図である。It is a figure explaining the example in the case of carrying out mixing reproduction of two audios. 第3のSTN_table()のシンタクスを示す図である。It is a figure which shows the syntax of 3rd STN_table (). 本発明を適用した再生装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the reproducing | regenerating apparatus to which this invention is applied. オーディオストリーム#1とオーディオストリーム#2の組み合わせを定義する第4のSTN_table()のシンタクスの例を示す図である。It is a figure which shows the example of the syntax of 4th STN_table () which defines the combination of audio stream # 1 and audio stream # 2. Combination_of_Primary_and_Secondaryのビットマップシンタクスの例を示す図である。It is a figure which shows the example of the bitmap syntax of Combination_of_Primary_and_Secondary. ユーザに提供する音声信号と字幕信号の関係を表すストリームナンバーテーブルの他の例を説明する図である。It is a figure explaining the other example of the stream number table showing the relationship between the audio | voice signal provided to a user, and a caption signal. 2つのオーディオをミキシング再生する他の例を説明する図である。It is a figure explaining the other example which mixes and reproduces two audios. オーディオストリーム#1とオーディオストリーム#2の組み合わせを定義する第5のSTN_table()のシンタクスの例を示す図である。It is a figure which shows the example of the syntax of 5th STN_table () which defines the combination of audio stream # 1 and audio stream # 2. オーディオストリーム#1とオーディオストリーム#2の組み合わせを定義する第6のSTN_table()のシンタクスの例を示す図である。It is a figure which shows the example of the syntax of 6th STN_table () which defines the combination of audio stream # 1 and audio stream # 2. ピクチャインピクチャ手法を説明する図である。It is a figure explaining a picture in picture technique. プライマリビデオストリームと組み合わせて同時再生される、セカンダリビデオストリーム、プライマリオーディオストリーム、セカンダリオーディオストリーム、および、サブタイトルストリームの組み合わせを定義する場合の第6のSTN_table()のシンタクスの例を示す図である。It is a figure which shows the example of the syntax of 6th STN_table () in the case of defining the combination of the secondary video stream, the primary audio stream, the secondary audio stream, and the subtitle stream reproduced | regenerated simultaneously in combination with a primary video stream. プライマリビデオストリームと組み合わせて同時再生される、セカンダリビデオストリーム、プライマリオーディオストリーム、セカンダリオーディオストリーム、および、サブタイトルストリームの組み合わせを定義する場合の第7のSTN_table()のシンタクスの例を示す図である。It is a figure which shows the example of the syntax of 7th STN_table () in the case of defining the combination of the secondary video stream, the primary audio stream, the secondary audio stream, and the subtitle stream reproduced | regenerated simultaneously in combination with a primary video stream. ユーザに提供する音声信号、セカンダリビデオストリームとしての映像信号、および、字幕信号の組み合わせ可能な関係を表すストリームナンバーテーブルの例を示す図である。It is a figure which shows the example of the stream number table showing the relationship which can combine the audio | voice signal provided to a user, the video signal as a secondary video stream, and a caption signal. プライマリビデオストリームと組み合わせて同時再生される、セカンダリビデオストリーム、プライマリオーディオストリーム、セカンダリオーディオストリーム、および、サブタイトルストリームの組み合わせを選択するためのユーザの選択操作を説明する図である。It is a figure explaining the selection operation of the user for selecting the combination of a secondary video stream, a primary audio stream, a secondary audio stream, and a subtitle stream reproduced | regenerated simultaneously in combination with a primary video stream. ピクチャインピクチャ手法を実現させる場合に、図11の例のSubPath_typeを利用して生成されたPlayListの例を示している。In the case of realizing the picture-in-picture method, an example of a PlayList generated using the SubPath_type in the example of FIG. 11 is shown. SubPath_typeの図11とは異なる例を説明する図である。It is a figure explaining the example different from FIG. 11 of SubPath_type. stream_entry()のシンタクスの第3の例を示す図である。It is a figure which shows the 3rd example of the syntax of stream_entry (). ピクチャインピクチャ手法を実現させる場合に、図49の例のSubPath_typeを利用して生成されたPlayListの例を示している。An example of a PlayList generated using the SubPath_type in the example of FIG. 49 when the picture-in-picture method is realized is shown. ピクチャインピクチャ手法を実現させる場合に、図49の例のSubPath_typeを利用して生成されたPlayListの他の例を示している。When the picture-in-picture technique is realized, another example of the PlayList generated using the SubPath_type in the example of FIG. 49 is shown. 本発明を適用した再生装置の構成例であって、図36とは異なる例を示すブロック図である。FIG. 37 is a block diagram showing an example of the configuration of a playback apparatus to which the present invention is applied, which is different from FIG. 図53の再生装置におけるセカンダリビデオ切り替え処理を説明するフローチャートである。FIG. 54 is a flowchart for describing secondary video switching processing in the playback apparatus of FIG. 53. FIG. 図53の再生装置におけるセカンダリビデオ切り替え処理を説明するフローチャートである。FIG. 54 is a flowchart for describing secondary video switching processing in the playback apparatus of FIG. 53. FIG. application_typeの種類の例を説明する図である。It is a figure explaining the example of the kind of application_type. サブパス制限手法を説明するための図であって、PlayListの種類に対する、そのPlayListが持ち得るSubPathの組み合わせの関係を示す図である。It is a figure for demonstrating a sub path | pass restriction | limiting technique, Comprising: It is a figure which shows the relationship of the combination of SubPath which the PlayList can have with respect to the kind of PlayList. サブパス制限手法を説明するための図であって、PlayList内にあるPlayItemとSubPathの数の組み合わせの関係を示す図である。It is a figure for demonstrating a sub path | pass restriction | limiting technique, Comprising: It is a figure which shows the relationship of the combination of the number of PlayItem and SubPath in PlayList. 図57乃至図59により説明されるサブパス制限手法によって、作成されたPlayListの具体例を示す図である。FIG. 60 is a diagram illustrating a specific example of a PlayList created by the subpath restriction method described with reference to FIGS. 57 to 59. 図57乃至図59により説明されるサブパス制限手法によって、作成されたPlayListの具体例を示す図である。FIG. 60 is a diagram illustrating a specific example of a PlayList created by the subpath restriction method described with reference to FIGS. 57 to 59. 図57乃至図59により説明されるサブパス制限手法によって、作成されたPlayListの具体例を示す図である。FIG. 60 is a diagram illustrating a specific example of a PlayList created by the subpath restriction method described with reference to FIGS. 57 to 59. 図57乃至図59により説明されるサブパス制限手法によって、作成されたPlayListの具体例を示す図である。FIG. 60 is a diagram illustrating a specific example of a PlayList created by the subpath restriction method described with reference to FIGS. 57 to 59. 図53の再生装置におけるapplication_type=3のPlayList再生処理を説明するフローチャートである。54 is a flowchart for describing PlayList playback processing of application_type = 3 in the playback device of FIG. 53. 図53の再生装置におけるapplication_type=3のPlayList再生処理を説明するフローチャートである。54 is a flowchart for describing PlayList playback processing of application_type = 3 in the playback device of FIG. 53. 図53の再生装置におけるapplication_type=1or2のPlayList再生処理を説明するフローチャートである。54 is a flowchart for describing PlayList playback processing with application_type = 1or2 in the playback device of FIG. 53. 図53の再生装置におけるapplication_type=1or2のPlayList再生処理を説明するフローチャートである。54 is a flowchart for describing PlayList playback processing with application_type = 1or2 in the playback device of FIG. 53. 図53の再生装置におけるapplication_type=1or2のPlayList再生処理を説明するフローチャートである。54 is a flowchart for describing PlayList playback processing with application_type = 1or2 in the playback device of FIG. 53. 図53の再生装置におけるapplication_type=1or2のPlayList再生処理を説明するフローチャートである。54 is a flowchart for describing PlayList playback processing with application_type = 1or2 in the playback device of FIG. 53. オーディオストリーム#1とオーディオストリーム#2の組み合わせ、ビデオストリーム#2とオーディオストリーム#1との組み合わせ、および、ビデオストリーム#2とビデオストリーム#2用のテキスト字幕ストリームとの組み合わせを定義する第8のSTN_table()のシンタクスの例を示す図である。The eighth defines the combination of the audio stream # 1 and the audio stream # 2, the combination of the video stream # 2 and the audio stream # 1, and the combination of the video stream # 2 and the text subtitle stream for the video stream # 2. It is a figure which shows the example of the syntax of STN_table (). オーディオストリーム#1とオーディオストリーム#2の組み合わせ、ビデオストリーム#2とオーディオストリーム#1との組み合わせ、および、ビデオストリーム#2とビデオストリーム#2用のテキスト字幕ストリームとの組み合わせを定義する第8のSTN_table()のシンタクスの例を示す図である。The eighth defines the combination of the audio stream # 1 and the audio stream # 2, the combination of the video stream # 2 and the audio stream # 1, and the combination of the video stream # 2 and the text subtitle stream for the video stream # 2. It is a figure which shows the example of the syntax of STN_table (). レジスタについて説明するための図である。It is a figure for demonstrating a register. ピクチャインピクチャ表示の実行時に、プライマリのPG TextSTストリームが再生される場合の例について説明するための図である。It is a figure for demonstrating the example in case a primary PG TextST stream is reproduced | regenerated at the time of execution of a picture in picture display. ピクチャインピクチャ表示の実行時に、ピクチャインピクチャアプリケーション用のPG TextSTストリームが再生される場合の例について説明するための図である。It is a figure for demonstrating the example in case the PG TextST stream for picture in picture applications is reproduced | regenerated at the time of execution of a picture in picture display. PiP(ピクチャインピクチャ)を含んだアプリケーションのPG TextST再生処理について説明するためのフローチャートである。It is a flowchart for demonstrating the PG TextST reproduction | regeneration processing of the application containing PiP (picture in picture). PiP PG TextST表示処理について説明するためのフローチャートである。It is a flowchart for demonstrating PiP PG TextST display processing. さらに多くのストリームの組み合わせを定義する第9のSTN_table()のシンタクスの例を示す図である。It is a figure which shows the example of the syntax of 9th STN_table () which defines the combination of still more streams. さらに多くのストリームの組み合わせを定義する第9のSTN_table()のシンタクスの例を示す図である。It is a figure which shows the example of the syntax of 9th STN_table () which defines the combination of still more streams. さらに多くのストリームの組み合わせを定義する第9のSTN_table()のシンタクスの例を示す図である。It is a figure which shows the example of the syntax of 9th STN_table () which defines the combination of still more streams. レジスタについて説明するための図である。It is a figure for demonstrating a register. ピクチャインピクチャ表示の実行時に、プライマリオーディオとセカンダリオーディオがミキシングされて再生される場合の例について説明するための図である。It is a figure for demonstrating the example in case primary audio and secondary audio are mixed and reproduced | regenerated at the time of execution of a picture in picture display. ピクチャインピクチャ表示の実行時に、ピクチャインピクチャアプリケーション用プライマリオーディオが再生される場合の例について説明するための図である。It is a figure for demonstrating the example in case the primary audio for picture in picture applications is reproduced | regenerated at the time of execution of a picture in picture display. PiPを含んだアプリケーションのオーディオストリームの再生処理1について説明するためのフローチャートである。It is a flowchart for demonstrating the reproduction process 1 of the audio stream of the application containing PiP. さらに多くのストリームの組み合わせを定義する第10のSTN_table()のシンタクスの例を示す図である。It is a figure which shows the example of the syntax of 10th STN_table () which defines the combination of still more streams. さらに多くのストリームの組み合わせを定義する第10のSTN_table()のシンタクスの例を示す図である。It is a figure which shows the example of the syntax of 10th STN_table () which defines the combination of still more streams. さらに多くのストリームの組み合わせを定義する第10のSTN_table()のシンタクスの例を示す図である。It is a figure which shows the example of the syntax of 10th STN_table () which defines the combination of still more streams. ピクチャインピクチャ表示の実行時に、ピクチャインピクチャアプリケーション用プライマリオーディオとセカンダリオーディオがミキシングされて再生される場合の例について説明するための図である。It is a figure for demonstrating the example in the case of performing the picture in picture display, the primary audio for picture in picture applications, and the secondary audio are mixed and reproduced | regenerated. PiPを含んだアプリケーションのオーディオストリームの再生処理2について説明するためのフローチャートである。It is a flowchart for demonstrating the reproduction process 2 of the audio stream of the application containing PiP. 再生装置で再生可能なデータを記録した記録媒体の製造について説明するための図である。It is a figure for demonstrating manufacture of the recording medium which recorded the data which can be reproduce | regenerated with a reproducing | regenerating apparatus. 再生装置で再生可能なデータを記録した記録媒体の製造について説明するための図である。It is a figure for demonstrating manufacture of the recording medium which recorded the data which can be reproduce | regenerated with a reproducing | regenerating apparatus. パーソナルコンピュータの構成を示す図である。It is a figure which shows the structure of a personal computer.

図5は、本発明を適用した再生装置1(図27および図28を参照して後述する)のローカルストレージ(例えば、ハードディスクやメモリなど)上の、または、装着される記録媒体上のアプリケーションフォーマットの例を示す図である。記録媒体は、後述する光ディスクの他、磁気ディスクや半導体メモリであってもよい。   FIG. 5 shows an application format on a local storage (for example, a hard disk or a memory) of the playback apparatus 1 (described later with reference to FIGS. 27 and 28) to which the present invention is applied or on a recording medium to be mounted. It is a figure which shows the example of. The recording medium may be a magnetic disk or a semiconductor memory in addition to the optical disk described later.

アプリケーションフォーマットは、AV(Audio Visual)ストリームの管理のために、PlayListとClipの2つのレイヤを有している。ここでは、1つのAVストリームとそれに付随する情報であるClipインフォメーションのペアを1つのオブジェクトと考え、それらをまとめてClipと称する。以下、AVストリームをAVストリームファイルとも称する。
なお、AVストリームファイルには、音声データや映像データ以外にも、これらのデータとともに再生される各種のストリームファイルが含まれていてもよい。また、ClipインフォメーションをClipインフォメーションファイルとも称する。
The application format has two layers, PlayList and Clip, for managing AV (Audio Visual) streams. Here, a pair of one AV stream and Clip information as information accompanying the AV stream is considered as one object, and these are collectively referred to as a Clip. Hereinafter, the AV stream is also referred to as an AV stream file.
In addition to audio data and video data, the AV stream file may include various stream files that are reproduced together with these data. Clip information is also referred to as a Clip information file.

一般的に、コンピュータ等で用いられるファイルはバイト列として扱われるが、AVストリームファイルのコンテンツは時間軸上に展開され、Clipのアクセスポイントは、主に、タイムスタンプでPlayListにより指定される。すなわち、PlayListとClipは、AVストリームの管理のためのレイヤである。   In general, a file used in a computer or the like is handled as a byte string, but the content of an AV stream file is expanded on the time axis, and an access point of a clip is mainly designated by a PlayList with a time stamp. That is, PlayList and Clip are layers for AV stream management.

Clip中のアクセスポイントがタイムスタンプでPlayListにより示されている場合、Clip Informationファイルは、タイムスタンプから、AVストリームファイル中のデコードを開始すべきアドレス情報を見つけるために使用される。   When the access point in the Clip is indicated by the PlayList with a time stamp, the Clip Information file is used to find address information to start decoding in the AV stream file from the time stamp.

PlayListは、AVストリームの再生区間の集まりである。あるAVストリーム中の1つの再生区間はPlayItemと呼ばれ、それは、時間軸上の再生区間のIN点(再生開始点)とOUT点(再生終了点)のペアで表される。従って、PlayListは、図5に示されるように1つ、または複数のPlayItemにより構成される。   The PlayList is a collection of AV stream playback sections. One playback section in a certain AV stream is called PlayItem, which is represented by a pair of an IN point (playback start point) and an OUT point (playback end point) of the playback section on the time axis. Therefore, the PlayList is composed of one or a plurality of PlayItems as shown in FIG.

図5において、左から1番目のPlayListは2つのPlayItemから構成され、その2つのPlayItemにより、左側のClipに含まれるAVストリームの前半部分と後半部分がそれぞれ参照されている。また、左から2番目のPlayListは1つのPlayItemから構成され、それにより、右側のClipに含まれるAVストリーム全体が参照されている。さらに、左から3番目のPlayListは2つのPlayItemから構成され、その2つのPlayItemにより、左側のClipに含まれるAVストリームのある部分と、右側のClipに含まれるAVストリームのある部分がそれぞれ参照されている。   In FIG. 5, the first PlayList from the left is composed of two PlayItems, and the two PlayItems refer to the first half and the second half of the AV stream included in the left Clip, respectively. Also, the second PlayList from the left is composed of one PlayItem, whereby the entire AV stream included in the right Clip is referenced. Further, the third PlayList from the left is composed of two PlayItems, and the two PlayItems refer to a portion of the AV stream included in the left Clip and a portion of the AV stream included in the right Clip, respectively. ing.

例えば、図5のディスクナビゲーションプログラムにより、そのときの再生位置を表す情報として、左から1番目のPlayListに含まれる左側のPlayItemが指定された場合、そのPlayItemが参照する、左側のClipに含まれるAVストリームの前半部分の再生が行われる。このように、PlayListは、AVストリームファイルの再生を管理するための再生管理情報として用いられる。   For example, when the disc navigation program of FIG. 5 specifies the left PlayItem included in the first PlayList from the left as the information indicating the playback position at that time, it is included in the left Clip referred to by the PlayItem. The first half of the AV stream is played back. Thus, the PlayList is used as playback management information for managing playback of AV stream files.

ディスクナビゲーションプログラムは、PlayListの再生の順序や、PlayListのインタラクティブな再生をコントロールする機能を有する。また、ディスクナビゲーションプログラムは、各種の再生の実行をユーザが指示するためのメニュー画面を表示する機能なども有する。このディスクナビゲーションプログラムは、例えば、Java(登録商標)などのプログラミング言語で記述され、記録媒体上に用意される。   The disc navigation program has a function of controlling the playback order of the PlayList and interactive playback of the PlayList. The disc navigation program also has a function of displaying a menu screen for the user to instruct execution of various reproductions. This disc navigation program is described in a programming language such as Java (registered trademark), and is prepared on a recording medium.

本実施の形態では、PlayListの中で、1つ以上のPlayItemの並びによって(連続するPlayItemにより)作られる再生パスをメインパス(Main Path)と称し、PlayListの中で、Main Pathに並行(並列)して、1つ以上のSub Pathの並びによって(非連続でもよいし、連続してもよいSubPlayItemにより)作られる再生パスをサブパス(Sub Path)と称する。
すなわち、再生装置1(図27および図28を参照して後述する)内部のローカルストレージ上の、または、装着される記録媒体上のアプリケーションフォーマットは、メインパスに関連付けられて(合わせて)再生されるサブパス(Sub Path)をPlayListの中に持つ。
In this embodiment, a playback path created by a sequence of one or more PlayItems (by successive PlayItems) in the PlayList is called a main path (Main Path), and in the PlayList, parallel to the Main Path (in parallel) ) And a playback path created by a sequence of one or more sub paths (which may be discontinuous or may be continuous) is referred to as a sub path.
In other words, the application format on the local storage in the playback apparatus 1 (described later with reference to FIGS. 27 and 28) or on the recording medium to be mounted is played back in association with the main path. Sub Path is included in the PlayList.

図6は、メインパスとサブパスの構造を説明する図である。PlayListは、1つのメインパスと1つ以上のサブパスを持つことができる。1つのメインパスは、1つ以上のPlayItemの並びによって作られ、1つのサブパスは、1つ以上のSubPlayItemの並びによって作られる。   FIG. 6 is a diagram for explaining the structure of the main path and the sub path. The PlayList can have one main path and one or more sub paths. One main path is created by a sequence of one or more PlayItems, and one sub-path is created by a sequence of one or more SubPlayItems.

図6の例の場合、PlayListは、3つのPlayItemの並びにより作られる1つのメインパスと、3つのサブパスを有している。メインパスを構成するPlayItemには、先頭から順番にそれぞれID(Identification)が付されている。具体的には、メインパスは、PlayItem_id=0、PlayItem_id=1、およびPlayItem_id=2のPlayItemからなる。また、サブパスにも先頭から順番にSubpath_id=0、Subpath_id=1、およびSubpath_id=2、とそれぞれIDが付されている。Subpath_id=0のサブパスには、1つのSubPlayItemが含まれ、Subpath_id=1のサブパスには、2つのSubPlayItemが含まれ、Subpath_id=2のサブパスには、1つのSubPlayItemが含まれる。   In the case of the example in FIG. 6, the PlayList has one main path made up of a sequence of three PlayItems and three sub paths. Each PlayItem constituting the main path is assigned ID (Identification) in order from the top. Specifically, the main path is made up of PlayItems with PlayItem_id = 0, PlayItem_id = 1, and PlayItem_id = 2. Subpaths are also assigned IDs in order from the top, Subpath_id = 0, Subpath_id = 1, and Subpath_id = 2. A subpath of Subpath_id = 0 includes one SubPlayItem, a subpath of Subpath_id = 1 includes two SubPlayItems, and a subpath of Subpath_id = 2 includes one SubPlayItem.

Subpath_id=0のサブパスに含まれるSubPlayItemが参照するストリームは、例えば、映画の日本語吹き替えの音声と想定され、Mainpathにより参照されるAVストリームファイルのオーディオストリームに替えて再生される場合が考えられる。また、Subpath_id=1のサブパスに含まれるSubPlayItemが参照するストリームは、例えば、映画のディレクターズカットと想定され、Main Pathにより参照されるAVストリームファイルの所定の部分にのみ、映画監督などのコメントが入っている場合が考えられる。   The stream referred to by the SubPlayItem included in the subpath of Subpath_id = 0 is assumed to be, for example, a Japanese dubbing sound of a movie, and may be played in place of the audio stream of the AV stream file referenced by Mainpath. Also, the stream referred to by SubPlayItem included in the subpath of Subpath_id = 1 is assumed to be a director's cut of a movie, for example, and a comment such as a movie director is included only in a predetermined part of the AV stream file referred to by Main Path. The case is considered.

1つのPlayItemが参照するClip AVストリームファイルには、少なくともビデオストリームデータ(メイン画像データ)が含まれる。また、Clip AVストリームファイルには、Clip AVストリームファイルに含まれるビデオストリーム(メイン画像データ)と同じタイミングで(同期して)再生されるオーディオストリームが1つ以上含まれてもよいし、含まれなくてもよい。さらに、Clip AVストリームファイルには、Clip AVストリームファイルに含まれるビデオストリームと同じタイミングで再生されるビットマップ字幕ストリーム(Presentation Graphic stream)が1つ以上含まれてもよいし、含まれなくてもよい。また、Clip AVストリームファイルには、Clip AVストリームファイルに含まれるビデオストリームと同じタイミングで再生されるインタラクティブグラフィックスストリームが1つ以上含まれてもよいし、含まれなくてもよい。そして、Clip AVストリームファイルに含まれるビデオストリームと、ビデオストリームと同じタイミングで再生されるオーディオストリーム、ビットマップ字幕ストリームファイル、またはインタラクティブグラフィックスストリームとは多重化されている。すなわち、1つのPlayItemが参照するClip AVストリームファイルには、ビデオストリームデータと、そのビデオストリームに合わせて再生される0個以上のオーディオストリーム、0個以上のビットマップ字幕ストリームデータ、および0個以上のインタラクティブグラフィックスストリームデータとが多重化されている。   A Clip AV stream file referred to by one PlayItem includes at least video stream data (main image data). In addition, the Clip AV stream file may or may include one or more audio streams that are played back at the same timing (synchronously) as the video stream (main image data) included in the Clip AV stream file. It does not have to be. Furthermore, the Clip AV stream file may or may not include one or more bitmap subtitle streams (Presentation Graphic streams) that are played back at the same timing as the video stream included in the Clip AV stream file. Good. The Clip AV stream file may or may not include one or more interactive graphics streams that are played back at the same timing as the video stream included in the Clip AV stream file. The video stream included in the Clip AV stream file and the audio stream, bitmap subtitle stream file, or interactive graphics stream reproduced at the same timing as the video stream are multiplexed. That is, a Clip AV stream file referred to by one PlayItem includes video stream data, zero or more audio streams to be played in accordance with the video stream, zero or more bitmap subtitle stream data, and zero or more. The interactive graphics stream data is multiplexed.

すなわち、1つのPlayItemが参照するClip AVストリームファイルには、ビデオストリーム、オーディオストリーム、ビットマップ字幕ストリームファイル、または、インタラクティブグラフィックスストリームなどの、複数の種類のストリームが含まれている。   That is, a Clip AV stream file referred to by one PlayItem includes a plurality of types of streams such as a video stream, an audio stream, a bitmap subtitle stream file, or an interactive graphics stream.

また、1つのSubPlayItemは、PlayItemが参照するClip AVストリームファイルとは異なるストリーム(別ストリーム)のオーディオストリームデータや字幕データを参照する。   One SubPlayItem refers to audio stream data and subtitle data of a stream (different stream) different from the Clip AV stream file referred to by the PlayItem.

メインパスのみを有するPlayListを再生する場合、ユーザによる音声切り替えや字幕切り替えという操作は、そのメインパスが参照するClipに多重化されているオーディオストリームとサブピクチャストリームの中からしか音声や字幕を選択することができない。これに対し、メインパスとサブパスを持つPlayListを再生する場合、そのメインパスが参照するClip AVストリームファイルに多重化されているオーディオストリームとサブピクチャストリームに加えて、SubPlayItemが参照するClipのオーディオストリームやサブピクチャストリームを参照することもできる。   When playing a PlayList that has only the main path, the user can select audio and subtitles only from the audio stream and sub-picture stream multiplexed in the clip referenced by the main path. Can not do it. On the other hand, when playing a PlayList having a main path and a sub path, in addition to the audio stream and sub picture stream multiplexed in the Clip AV stream file referenced by the main path, the clip audio stream referenced by the SubPlayItem It is also possible to refer to the sub-picture stream.

このように、1つのPlayListの中にSubPathを複数含め、それぞれのSubPathがそれぞれSubPlayItemを参照する構成としたので、拡張性の高い、また、自由度の高いAVストリームを実現することができる。すなわち、MainPathで参照されるClip AVストリームに加えて、後で、SubPlayItemを追加できる構成とすることができる。   In this way, since a plurality of SubPaths are included in one PlayList and each SubPath refers to each SubPlayItem, an AV stream with high expandability and high flexibility can be realized. In other words, in addition to the Clip AV stream referred to by MainPath, a SubPlayItem can be added later.

図7は、メインパスとサブパスの例を説明する図である。図7においては、メインパスと同じタイミングで(AV同期して)再生されるオーディオの再生パスを、サブパスを使用して表している。   FIG. 7 is a diagram illustrating an example of a main path and a sub path. In FIG. 7, an audio playback path that is played back at the same timing as the main path (synchronized with AV) is represented using sub-paths.

図7のPlayListには、メインパスとして、PlayItem_id=0である1つのPlayItemと、サブパスとして1つのSubPlayItemが含まれている。メインパスのPlayItem_id=0である1つのPlayItem()は、メインClipAVストリームを参照している。SubPlayItem()には、以下に示すデータが含まれる。まず、SubPlayItem ()には、PlayListの中のSub Path(サブパス)が参照するClipを指定するためのClip_Information_file_nameが含まれる。図7の例の場合、SubPlayItemによって、SubClip_entry_id=0のAuxiliary audio stream(オーディオストリーム)が参照されている。また、SubPlayItem ()には、Clip(ここでは、Auxiliary audio stream)の中のSub Pathの再生区間を指定するためのSubPlayItem_IN_timeとSubPlayItem_OUT_timeとが含まれる。さらに、SubPlayItem()には、Main pathの時間軸上でSub Pathが再生開始する時刻を指定するためのsync_PlayItem_idとsync_start_PTS_of_PlayItemとが含まれる。図7の例の場合、sync_PlayItem_id=0とされ、sync_start_PTS_of_PlayItem=t1とされている。これにより、メインパスのPlayItem_id=0の時間軸上でSub Pathが再生を開始する時刻t1を指定することができる。すなわち、図7の例の場合では、メインパスの再生開始時刻t1とサブパスの開始時刻t1が同時刻であることを示している。   The PlayList in FIG. 7 includes one PlayItem with PlayItem_id = 0 as a main path and one SubPlayItem as a sub path. One PlayItem () with PlayItem_id = 0 in the main path refers to the main Clip AV stream. SubPlayItem () includes the following data. First, SubPlayItem () includes Clip_Information_file_name for designating a Clip referred to by a Sub Path in the PlayList. In the case of the example in FIG. 7, an auxiliary audio stream (audio stream) with SubClip_entry_id = 0 is referred to by SubPlayItem. Also, SubPlayItem () includes SubPlayItem_IN_time and SubPlayItem_OUT_time for designating the playback section of the Sub Path in the Clip (Auxiliary audio stream here). Further, SubPlayItem () includes sync_PlayItem_id and sync_start_PTS_of_PlayItem for designating the time at which the Sub Path starts to be reproduced on the time axis of the Main path. In the example of FIG. 7, sync_PlayItem_id = 0 and sync_start_PTS_of_PlayItem = t1. As a result, it is possible to specify the time t1 at which the Sub Path starts playback on the time axis of PlayItem_id = 0 of the main path. That is, in the case of the example in FIG. 7, the reproduction start time t1 of the main path and the start time t1 of the sub path are the same time.

ここで、Sub Pathに参照されるオーディオのClip AVストリームは、STC不連続点(システムタイムベースの不連続点)を含んではならない。サブパスに使われるClipのオーディオサンプルのクロックは、メインパスのオーディオサンプルのクロックにロックされている。   Here, the Clip AV stream of the audio referred to by the Sub Path must not include STC discontinuities (system time base discontinuities). The audio sample clock of Clip used for the sub path is locked to the audio sample clock of the main path.

換言すると、SubPlayItem()には、Sub Pathが参照するClipを指定する情報、Sub Pathの再生区間を指定する情報、およびMain pathの時間軸上でSub Pathが再生を開始する時刻を指定する情報が含まれている。Sub Pathに使われるClip AVストリームがSTCを含まないため、SubPlayItem()に含まれる情報(Sub Pathが参照するClipを指定する情報、Sub Pathの再生区間を指定する情報、およびMain pathの時間軸上でSub Pathが再生を開始する時刻を指定する情報)に基づいて、メインパスが参照するClip AVストリーム(主に再生されるメインAVストリーム)とは異なるClip AVストリームのオーディオストリームを参照して、再生することができる。   In other words, in SubPlayItem (), information specifying the Clip referred to by the Sub Path, information specifying the playback section of the Sub Path, and information specifying the time when the Sub Path starts playback on the time axis of the Main path It is included. Since the Clip AV stream used in Sub Path does not include STC, information included in SubPlayItem () (information specifying Clip referred to by Sub Path, information specifying Sub Path playback section, and time axis of Main path) Based on the above (information specifying the time at which the Sub Path starts playback), refer to an audio stream of a Clip AV stream different from the Clip AV stream (mainly played main AV stream) referred to by the main path. Can play.

このように、PlayItemとSubPlayItemは、Clip AVストリームファイルをそれぞれ管理するものであり、ここでは、PlayItemが管理するClip AVストリームファイル(メインAVストリーム)とSubPlayItemが管理するClip AVストリームファイルは異なるファイルとなりうる。   In this way, PlayItem and SubPlayItem manage Clip AV stream files, respectively. Here, the Clip AV stream file (main AV stream) managed by PlayItem and the Clip AV stream file managed by SubPlayItem are different files. sell.

なお、図7の例と同様にして、メインパスと同じタイミングで再生される字幕ストリーム再生パスを、サブパスを使用して表すこともできる。   Similar to the example of FIG. 7, the subtitle stream playback path that is played back at the same timing as the main path can also be expressed using the sub path.

図8は、メインパスとサブパスの別の例を説明する図である。図8においては、メインパスと同じタイミングで(AV同期して)再生されるオーディオの再生パスを、サブパスを使用して表している。ここで、メインパスのPlayItemが参照するメインClipAVストリームファイルは、図7と同様であるので省略している。   FIG. 8 is a diagram for explaining another example of the main path and the sub path. In FIG. 8, a playback path of audio that is played back at the same timing as the main path (synchronized with AV) is represented using sub paths. Here, the main Clip AV stream file referred to by PlayItem in the main path is the same as in FIG.

例えば、メインパスにより参照されるClipAVストリームを1つの映画のコンテンツ(AVコンテンツ)とし、サブパスのオーディオパスにより参照されるAuxiliary audio stream(Clip)をその映画に対する監督のコメントとし、メインパスで参照されるClipAVストリームのオーディオストリームにサブパスのオーディオパスで参照されるAuxiliary audio streamをミキシング(重ねて)再生するような場合に、このような構成が利用される。すなわち、ユーザが、映画を見ながら、その映画に対する監督のコメントを合わせて聞く指令を再生装置(プレーヤ)へ入力した場合、換言すれば、メインパスで参照されるClipAVストリームの音声と、サブパスのオーディオパスで参照されるAuxiliary audio streamとを、ミキシングして再生させる場合に利用される。   For example, a clip AV stream referenced by the main path is set as one movie content (AV content), an auxiliary audio stream (Clip) referenced by the sub-path audio path is set as a director's comment for the movie, and is referenced by the main path. Such an arrangement is used in the case where an auxiliary audio stream referred to by the audio path of the sub path is mixed (reproduced) with the audio stream of the clip AV stream. In other words, when the user inputs a command to listen to the director's comment together with the movie while watching the movie, in other words, the audio of the Clip AV stream referenced in the main path and the sub path This is used when the auxiliary audio stream referred to in the audio path is mixed and reproduced.

図8においては、メインパスに3つのPlayItemがPlayItem_id=0,1,2と配置され、サブパス(Subpath_id=0)に2つのSubPlayItemが配置されている。そして、Subpath_id=0のSubPath(図10にて後述する)で呼び出すSubPlayItem(図12にて後述する)は、Auxiliary audio stream(SubClip_entry_id=0の英語のAuxiliary audio streamのクリップ及びSubClip_entry_id=1の日本語のAuxiliary audio streamのクリップ)のSubpathの再生区間を指定するための、SubPlayItem_IN_timeと、SubPlayItem_out_timeを含む。   In FIG. 8, three PlayItems are arranged in the main path as PlayItem_id = 0, 1, 2, and two SubPlayItems are arranged in the subpath (Subpath_id = 0). SubPlayItem (described later in FIG. 12) called by SubPath with Subpath_id = 0 (described later in FIG. 10) is an Auxiliary audio stream (English Auxiliary audio stream clip with SubClip_entry_id = 0 and SubClip_entry_id = 1 Japanese) SubPlayItem_IN_time and SubPlayItem_out_time for specifying the subpath playback section of (Auxiliary audio stream clip).

図8と図7とを比較するに、図8においては、SubPlayItemによって、SubClip_entry_id=0,1のAuxiliary audio stream(英語または日本語のオーディオストリーム)を参照することができる。すなわち、SubPlayItemを用いて、複数のオーディオストリームファイルを参照する構造を有し、このSubPlayItemを再生する場合には、複数のオーディオストリームファイルからオーディオストリームファイルが選ばれて再生される。図8の例の場合、英語のオーディオストリームファイルと日本語のオーディオストリームファイルのうち、1つのオーディオストリームファイルが選ばれて再生される。具体的には、subClip_entry_id=0,1の中から(例えば、ユーザの指令に基づいて)1つが選択され、そのIDが参照するAuxiliary audio streamが再生される。また、これに加えて、さらにメインパスにより参照されるオーディオストリームとの組み合わせによる再生が選択された場合、メインパスで参照される1stオーディオストリームと、サブパスのオーディオパスで参照される2ndオーディオストリームファイルとが、ミキシングされて再生される。なお、2つのサブパスで参照される2つのオーディオストリームが、ミキシングされて再生されるようにすることも可能であるが、これについては後述する。   Comparing FIG. 8 and FIG. 7, in FIG. 8, Auxiliary audio stream (English or Japanese audio stream) of SubClip_entry_id = 0, 1 can be referred to by SubPlayItem. In other words, a SubPlayItem is used to refer to a plurality of audio stream files, and when the SubPlayItem is reproduced, the audio stream file is selected from the plurality of audio stream files and reproduced. In the case of the example in FIG. 8, one audio stream file is selected and reproduced from the English audio stream file and the Japanese audio stream file. Specifically, one of subClip_entry_id = 0 and 1 is selected (for example, based on a user instruction), and an auxiliary audio stream referred to by the ID is reproduced. In addition to this, when playback in combination with an audio stream referenced by the main path is further selected, the 1st audio stream referenced by the main path and the 2nd audio stream file referenced by the audio path of the sub path are selected. Are mixed and played back. Note that two audio streams referenced in the two sub-paths may be mixed and played back, which will be described later.

次に、図6乃至図8を用いて説明したメインパスとサブパスの構造を具体的に実現するためのデータ構造(シンタクス)を説明する。   Next, a data structure (syntax) for specifically realizing the main path and sub path structures described with reference to FIGS. 6 to 8 will be described.

図9は、PlayList()のシンタクスを示す図である。   FIG. 9 is a diagram illustrating the syntax of PlayList ().

lengthは、このlengthフィールドの直後からPlayList()の最後までのバイト数を示す32ビットの符号なし整数である。すなわち、reserved_for_future_useからPlayListの最後までのバイト数を示すフィールドである。このlengthの後には、16ビットのreserved_for_future_useが用意される。number_of_PlayItemsは、PlayListの中にあるPlayItemの数を示す16ビットのフィールドである。例えば、図6の例の場合PlayItemの数は3個である。PlayItem_idの値は、PlayListの中でPlayItem()が現れる順番に0から割り振られる。例えば、図6および図8に示されるように、PlayItem_id=0,1,2が割り振られる。   length is a 32-bit unsigned integer indicating the number of bytes from immediately after this length field to the end of PlayList (). That is, this field indicates the number of bytes from reserved_for_future_use to the end of the PlayList. After this length, 16-bit reserved_for_future_use is prepared. number_of_PlayItems is a 16-bit field indicating the number of PlayItems in the PlayList. For example, in the example of FIG. 6, the number of PlayItems is three. The value of PlayItem_id is assigned from 0 in the order in which PlayItem () appears in the PlayList. For example, as shown in FIGS. 6 and 8, PlayItem_id = 0, 1, and 2 are allocated.

number_of_SubPathsは、PlayListの中にあるSubPathの数(エントリー数)を示す16ビットのフィールドである。例えば、図6の例の場合、Sub Pathの数は3個である。SubPath_idの値は、PlayListの中でSubPath()が現れる順番に0から割り振られる。例えば、図6に示されるように、Subpath_id=0,1,2が割り振られる。その後のfor文では、PlayItemの数だけPlayItemが参照され、Sub Pathの数だけ、Sub Pathが参照される。   number_of_SubPaths is a 16-bit field indicating the number of SubPaths (number of entries) in the PlayList. For example, in the example of FIG. 6, the number of Sub Paths is three. The value of SubPath_id is assigned from 0 in the order in which SubPath () appears in the PlayList. For example, as shown in FIG. 6, Subpath_id = 0, 1, and 2 are allocated. In the subsequent for statement, PlayItems are referenced by the number of PlayItems, and Sub Paths are referenced by the number of Sub Paths.

図10は、SubPath()のシンタクスを示す図である。   FIG. 10 is a diagram illustrating the syntax of SubPath ().

lengthは、このlengthフィールドの直後からSub Path ()の最後までのバイト数を示す32ビットの符号なし整数である。すなわち、reserved_for_future_useからPlayListの最後までのバイト数を示すフィールドである。このlengthの後には、16ビットのreserved_for_future_useが用意される。SubPath_typeは、SubPathのアプリケーション種類を示す8ビットのフィールドである。SubPath_typeは、例えば、Sub Pathがオーディオであるか、ビットマップ字幕であるか、テキスト字幕であるかなどの種類を示す場合に利用される。このSubPath_typeの第1の例については、図11を参照して後述する。SubPath_typeの後には、15ビットのreserved_for_future_useが用意される。is_repeat_SubPathは、SubPathの再生方法を指定する1ビットのフィールドであり、メインパスの再生の間にSubPathの再生を繰り返し行うか、またはSubPathの再生を1回だけ行うかを示すものである。例えば、メインAVストリームとサブパスが指定するClipに含まれるストリームとの再生タイミングが異なる場合(メインパスを静止画のスライドショーとし、サブパスのオーディオパスをメインパスのBGM(バックグラウンドミュージック)として使う場合など)に利用される。Is_repeat_SubPathの後には、8ビットのreserved_for_future_useが用意される。number_of_SubPlayItemsは、1つのSubPathの中にあるSubPlayItemの数(エントリー数)を示す8ビットのフィールドである。例えば、number_of_SubPlayItemsは、図6のSubPath_id=0のSubPlayItemは1個であり、SubPath_id=1のSubPlayItemは2個である。その後のfor文では、SubPlayItemの数だけ、SubPlayItemが参照される。   length is a 32-bit unsigned integer indicating the number of bytes from immediately after this length field to the end of Sub Path (). That is, this field indicates the number of bytes from reserved_for_future_use to the end of the PlayList. After this length, 16-bit reserved_for_future_use is prepared. SubPath_type is an 8-bit field indicating the application type of SubPath. SubPath_type is used, for example, when the type indicates whether the Sub Path is audio, bitmap subtitle, text subtitle, or the like. A first example of this SubPath_type will be described later with reference to FIG. 15-bit reserved_for_future_use is prepared after SubPath_type. is_repeat_SubPath is a 1-bit field that designates the SubPath playback method, and indicates whether the SubPath playback is repeated during the main path playback or the SubPath playback is performed only once. For example, when the playback timing of the main AV stream and the stream included in the clip specified by the sub path are different (when the main path is a still image slide show and the sub path audio path is used as the main path BGM (background music), etc.) ). 8-bit reserved_for_future_use is prepared after Is_repeat_SubPath. number_of_SubPlayItems is an 8-bit field indicating the number of SubPlayItems (number of entries) in one SubPath. For example, number_of_SubPlayItems has one SubPlayItem with SubPath_id = 0 in FIG. 6 and two SubPlayItems with SubPath_id = 1. In subsequent for statements, SubPlayItems are referenced by the number of SubPlayItems.

図11は、SubPath_type(サブパスのタイプ)の第1の例を説明する図である。すなわち、SubPathの種類は、例えば、図11に示されるように定義することができる。   FIG. 11 is a diagram illustrating a first example of SubPath_type (subpath type). That is, the type of SubPath can be defined as shown in FIG. 11, for example.

図11において、SubPath_type=0,1は、reservedとされている。SubPath_type=2は、Audio presentation path of the Browsable slideshow(プラウザブルスライドショーのオーディオプレゼンテーションパス)とされている。例えば、SubPath_type=2は、プレイリストの中において、サブパスで参照されるオーディオプレゼンテーションパスと、プレイアイテムで参照されるメインパスとが非同期であることを示している。   In FIG. 11, SubPath_type = 0, 1 is reserved. SubPath_type = 2 is an Audio presentation path of the Browsable slideshow. For example, SubPath_type = 2 indicates that in the playlist, the audio presentation path referred to by the sub path and the main path referred to by the play item are asynchronous.

SubPath_type=3は、Interactive graphics presentation menu(インタラクティブグラフィックスのプレゼンテーションメニュー)とされている。例えば、SubPath_type=3は、プレイリストの中において、サブパスで参照されるインタラクティブグラフィックスのメニューと、プレイアイテムで参照されるメインパスとが非同期であることを示している。   SubPath_type = 3 is an interactive graphics presentation menu (interactive graphics presentation menu). For example, SubPath_type = 3 indicates that in the playlist, the interactive graphics menu referenced by the sub path and the main path referenced by the play item are asynchronous.

SubPath_type=4は、Text subtitle presentation path(テキスト字幕のプレゼンテーションパス)とされている。例えば、SubPath_type=4は、プレイリストの中において、サブパスで参照されるテキスト字幕のプレゼンテーションパスと、プレイアイテムで参照されるメインパスとが同期していることを示している。   SubPath_type = 4 is a Text subtitle presentation path (a text subtitle presentation path). For example, SubPath_type = 4 indicates that in the playlist, the text subtitle presentation path referenced by the sub path and the main path referenced by the play item are synchronized.

SubPath_type=5は、2nd Audio Presentation path(2番目のオーディオプレゼンテーションパス)(2ndオーディオストリームを参照するためのパス)とされている。具体的には、SubPath_type=5は、プレイリストの中において、サブパスで参照される2番目のオーディオプレゼンテーションパスと、プレイアイテムで参照されるメインパスとが同期していることを示している。例えば、このサブパスで参照される(2番目の)オーディオストリームは、映画に対する監督のコメント(音声)である。図8においてSubpath_id=0で示されるSubpathの場合、図10のSubPath_typeは、このSubPath_type=5となる。   SubPath_type = 5 is 2nd Audio Presentation path (second audio presentation path) (path for referring to the 2nd audio stream). Specifically, SubPath_type = 5 indicates that in the playlist, the second audio presentation path referred to by the sub path and the main path referred to by the play item are synchronized. For example, the (second) audio stream referenced in this subpath is a director's comment (voice) on the movie. In the case of the Subpath indicated by Subpath_id = 0 in FIG. 8, the SubPath_type in FIG. 10 is SubPath_type = 5.

SubPath_type=6は、2nd Video Presentation path(2番目のビデオプレゼンテーションパス)(2ndビデオストリームを参照するためのパス)とされている。具体的には、SubPath_type=6は、プレイリストの中において、サブパスで参照される2番目のビデオプレゼンテーションパスと、プレイアイテムで参照されるメインパスとが同期していることを示している。例えば、このサブパスで参照される(2番目の)ビデオストリームは、映画に対する監督のコメント(動画像)である。なお、図27および図28を用いて説明する再生装置1の処理の説明ではオーディオの合成のみを詳述するが、動画像の合成も同様の構成で実現をすることができ、その詳細については後述する。   SubPath_type = 6 is 2nd Video Presentation path (second video presentation path) (path for referring to the 2nd video stream). Specifically, SubPath_type = 6 indicates that in the playlist, the second video presentation path referred to by the sub path and the main path referred to by the play item are synchronized. For example, the (second) video stream referred to in this sub-path is a director's comment (moving image) for the movie. In the description of the processing of the playback apparatus 1 described with reference to FIGS. 27 and 28, only audio synthesis is described in detail, but moving image synthesis can also be realized with the same configuration. It will be described later.

SubPath_type=7乃至255は、reservedとされている。   SubPath_type = 7 to 255 is reserved.

図12は、SubPlayItem(i)のシンタクスを示す図である。   FIG. 12 is a diagram illustrating the syntax of SubPlayItem (i).

lengthは、このlengthフィールドの直後からSub playItem ()の最後までのバイト数を示す16ビットの符号なし整数である。   The length is a 16-bit unsigned integer indicating the number of bytes from immediately after this length field to the end of Sub playItem ().

図12においては、SubPlayItemが1つのClip を参照する場合と、複数のClip を参照する場合に分けられている。   In FIG. 12, it is divided into a case where SubPlayItem refers to one Clip and a case where it refers to a plurality of Clips.

最初に、SubPlayItemが1つのClipを参照する場合について説明する。   First, a case where SubPlayItem refers to one Clip will be described.

SubPlayItemには、Clipを指定するためのClip_Information_file_ name[0]が含まれる。また、Clipのコーディック方式を指定するClip_codec_identifier[0]、reserved_for_future_use、マルチクリップの登録の有無を示すフラグであるis_multi_Clip_entries、STC不連続点(システムタイムベースの不連続点)に関する情報であるref_to_STC_id[0]を含む。is_multi_Clip_entriesのフラグが立っている場合、SubPlayItemが複数のClipを参照する場合のシンタクスが参照される。また、Clipの中にあるSub Pathの再生区間を指定するためのSubPlayItem_IN_timeとSubPlayItem_OUT_timeを含む。さらに、main pathの時間軸上でSub Pathが再生開始する時刻を指定するためsync_PlayItem_id と sync_start_PTS_of_PlayItemを含む。このsync_PlayItem_id と sync_start_PTS_of_PlayItemは、上述したように、図7と図8の場合(メインAVストリームとサブパスにより示されるファイルに含まれるストリームの再生タイミングが同じである場合)に使用され、メインAVストリームとサブパスにより示されるファイルに含まれるストリームの再生タイミングが異なる場合(例えば、静止画により構成されるスライドショーのBGMのように、メインパスにより参照される静止画像とサブパスにより参照されるオーディオとが同期しない場合)には使用されない。また、SubPlayItem_IN_time、SubPlayItem_OUT_time、sync_PlayItem_id、sync_start_PTS_of_PlayItemは、SubPlayItemが参照するClipにおいて共通に使用される。   SubPlayItem includes Clip_Information_file_name [0] for specifying Clip. Also, Clip_codec_identifier [0] that specifies the codec system of Clip, reserved_for_future_use, is_multi_Clip_entries that indicates the presence / absence of multi-clip registration, and ref_to_STC_id [0] that is information about STC discontinuity points (system time base discontinuity points) including. When the is_multi_Clip_entries flag is set, the syntax when SubPlayItem refers to a plurality of Clips is referenced. In addition, SubPlayItem_IN_time and SubPlayItem_OUT_time for specifying the playback section of the Sub Path in the Clip are included. Furthermore, sync_PlayItem_id and sync_start_PTS_of_PlayItem are included to specify the time when the Sub Path starts to be played on the time axis of the main path. As described above, the sync_PlayItem_id and sync_start_PTS_of_PlayItem are used in the case of FIGS. 7 and 8 (when the playback timing of the stream included in the file indicated by the main AV stream and the sub path is the same), and the main AV stream and the sub path are used. When the playback timings of the streams included in the file indicated by are different (for example, when the still image referenced by the main path and the audio referenced by the sub path are not synchronized, such as BGM of a slide show composed of still images) ) Is not used. Also, SubPlayItem_IN_time, SubPlayItem_OUT_time, sync_PlayItem_id, and sync_start_PTS_of_PlayItem are used in common in the Clip referred to by SubPlayItem.

次に、SubPlayItemが複数のClipを参照する場合(if(is_multi_Clip_entries==1b)である場合、すなわちマルチクリップの登録が行われている場合)について説明する。
具体的には、図8に示されるように、SubPlayItemが複数のClip を参照する場合を示す。
Next, a case where SubPlayItem refers to a plurality of Clips (if (is_multi_Clip_entries == 1b), that is, multi-clip registration is performed) will be described.
Specifically, as shown in FIG. 8, a case where SubPlayItem refers to a plurality of Clips is shown.

num_of_Clip_entriesは、Clipの数を示しており、Clip_Information_file_name[SubClip_entry_id]の数が、Clip_Information_file_ name[0]を除く、Clipsを指定する。すなわち、Clip_Information_file_ name[0]を除く、Clip_Information_file_ name[1]、Clip_Information_file_ name[2]などのClipを指定する。また、SubPlayItemは、Clipのコーディック方式を指定するClip_codec_identifier[SubClip_entry_id]、STC不連続点(システムタイムベースの不連続点)に関する情報であるref_to_STC_id[SubClip_entry_id]、およびreserved_for_future_useを含む。   num_of_Clip_entries indicates the number of Clips, and Clip_Information_file_name [SubClip_entry_id] specifies Clips excluding Clip_Information_file_name [0]. That is, Clips such as Clip_Information_file_name [1] and Clip_Information_file_name [2] are specified excluding Clip_Information_file_name [0]. SubPlayItem also includes Clip_codec_identifier [SubClip_entry_id] that specifies the codec format of Clip, ref_to_STC_id [SubClip_entry_id] that is information related to STC discontinuity points (system time base discontinuity points), and reserved_for_future_use.

なお、複数のClipの間で、SubPlayItem_IN_time, SubPlayItem_OUT_time、sync_PlayItem_id、およびsync_start_PTS_of_PlayItemは共通して使われる。図8の例の場合、SubPlayItem_IN_time, SubPlayItem_OUT_time、sync_PlayItem_id、およびsync_start_PTS_of_PlayItemは、SubClip_entry_id=0とSubClip_entry_id=1との間で共通して使用されるものであり、選択されたSubClip_entry_idに対するText based subtitleがこのSubPlayItem_IN_time, SubPlayItem_OUT_time、sync_PlayItem_id、およびsync_start_PTS_of_PlayItemに基づいて再生される。   Note that SubPlayItem_IN_time, SubPlayItem_OUT_time, sync_PlayItem_id, and sync_start_PTS_of_PlayItem are used in common among a plurality of clips. In the example of FIG. 8, SubPlayItem_IN_time, SubPlayItem_OUT_time, sync_PlayItem_id, and sync_start_PTS_of_PlayItem are used in common between SubClip_entry_id = 0 and SubClip_entry_id = 1, and the Text based subtitle for the selected SubClip_entry_id is _ Playback is based on SubPlayItem_OUT_time, sync_PlayItem_id, and sync_start_PTS_of_PlayItem.

ここで、SubClip_entry_idの値は、SubPlayItemの中にあるClip_Information_file_name[SubClip_entry_id]が現れる順番に1から割り振られる。また、Clip_Information_file_ name[0]のSubClip_entry_idは0である。   Here, the value of SubClip_entry_id is assigned from 1 in the order in which Clip_Information_file_name [SubClip_entry_id] in SubPlayItem appears. Also, SubClip_entry_id of Clip_Information_file_name [0] is 0.

図13は、PlayItem()のシンタクスを示す図である。   FIG. 13 is a diagram illustrating the syntax of PlayItem ().

lengthは、このlengthフィールドの直後からPlayItem()の最後までのバイト数を示す16ビットの符号なし整数である。Clip_Information_file_ name[0]は、PlayItemが参照するClipを指定するためのフィールドである。図7の例の場合、Clip_Information_file_ name[0]により、メインClipAVストリームファイルが参照される。また、PlayItem()には、Clipのコーディック方式を指定するClip_codec_identifier[0]、reserved_for_future_use、is_multi_angle、connection_condition、STC不連続点(システムタイムベースの不連続点)に関する情報であるref_to_STC_id[0]が含まれる。さらに、PlayItem()には、Clipの中のPlayItemの再生区間を指定するためのIN_time と OUT_timeが含まれる。図7の例の場合、IN_time と OUT_timeにより、メインClipAVストリームファイルの再生範囲が表される。また、PlayItem()には、UO_mask_table()、PlayItem_random_access_mode、still_modeが含まれる。なお、is_multi_angleが複数ある場合については、本発明と直接的には関係ないのでその説明を省略する。   length is a 16-bit unsigned integer indicating the number of bytes from immediately after this length field to the end of PlayItem (). Clip_Information_file_name [0] is a field for designating a Clip referred to by PlayItem. In the example of FIG. 7, the main Clip AV stream file is referred to by Clip_Information_file_name [0]. In addition, PlayItem () includes Clip_codec_identifier [0] that specifies the codec method of Clip, reserved_for_future_use, is_multi_angle, connection_condition, and ref_to_STC_id [0] that is information on STC discontinuity points (system time base discontinuity points). . Furthermore, PlayItem () includes IN_time and OUT_time for designating the playback section of the PlayItem in the Clip. In the example of FIG. 7, the playback range of the main ClipAV stream file is represented by IN_time and OUT_time. Also, PlayItem () includes UO_mask_table (), PlayItem_random_access_mode, and still_mode. Note that the case where there are a plurality of is_multi_angles is not directly related to the present invention, and thus the description thereof is omitted.

PlayItem()の中のSTN_table()は、対象のPlayItemとそれに関連付けられて再生される1つ以上のSubPathが用意されている場合に、ユーザによる音声切り替えや字幕切り替えという操作が、そのPlayItemが参照するClipとこれらの1つ以上のSubPathが参照するClipsの中から選ぶことができる仕組みを提供するものである。   STN_table () in PlayItem () refers to the PlayItem's operations such as audio switching and subtitle switching when the target PlayItem and one or more SubPaths to be played back are prepared. It provides a mechanism that allows the user to select from Clips and Clips referenced by one or more of these SubPaths.

図14は、STN_table()のシンタクスの第1の例(第1のSTN_table())を示す図である。第1のSTN_table()は、PlayItemの属性として設定されている。また、図14の第1のSTN_table()は、PlayItemが参照するClipとSubPathが参照するClipを組み合わせたものの再生を選ぶことができる仕組みを提供するものである。   FIG. 14 is a diagram illustrating a first example (first STN_table ()) of syntax of STN_table (). The first STN_table () is set as an attribute of PlayItem. Further, the first STN_table () of FIG. 14 provides a mechanism that allows selection of playback of a combination of a clip referenced by PlayItem and a Clip referenced by SubPath.

lengthは、このlengthフィールドの直後からSTN_table()の最後までのバイト数を示す16ビットの符号なし整数である。lengthの後には、16ビットのreserved_for_future_useが用意される。number_of_video_stream_entriesは、STN_table()の中でエントリーされる(登録される)video_stream_idが与えられるストリーム数を示す。video_stream_idは、ビデオストリームを識別するための情報であり、video_stream_numberは、ビデオ切り替えに使われる、ユーザから見えるビデオストリーム番号である。number_of_audio_stream_entriesは、STN_table()の中でエントリーされるaudio_stream_idが与えられるストリーム数を示す。audio_stream_idは、オーディオストリームを識別するための情報であり、audio_stream_numberは、音声切り替えに使われるユーザから見えるオーディオストリーム番号である。   length is a 16-bit unsigned integer indicating the number of bytes from immediately after this length field to the end of STN_table (). 16-bit reserved_for_future_use is prepared after the length. number_of_video_stream_entries indicates the number of streams to which video_stream_id entered (registered) in STN_table () is given. video_stream_id is information for identifying a video stream, and video_stream_number is a video stream number that is used for video switching and is visible to the user. number_of_audio_stream_entries indicates the number of streams to which audio_stream_id entered in STN_table () is given. The audio_stream_id is information for identifying the audio stream, and the audio_stream_number is an audio stream number that can be seen by the user used for audio switching.

number_of_PG_txtST_stream_entriesは、STN_table()の中でエントリーされるPG_txtST_stream_idが与えられるストリーム数を示す。この中では、DVDのサブピクチャのようなビットマップ字幕をランレングス符号化したストリーム(PG, Presentation Graphics stream)とテキスト字幕ファイル(txtST)がエントリーされる。PG_txtST_stream_idは、字幕ストリームを識別するための情報であり、PG_txtST_stream_numberは、字幕切り替えに使われるユーザから見える字幕ストリーム番号(テキストサブタイトルストリームの番号)である。   number_of_PG_txtST_stream_entries indicates the number of streams to which PG_txtST_stream_id entered in STN_table () is given. In this, a stream (PG, Presentation Graphics stream) obtained by run-length encoding bitmap subtitles such as a DVD sub-picture and a text subtitle file (txtST) are entered. PG_txtST_stream_id is information for identifying a subtitle stream, and PG_txtST_stream_number is a subtitle stream number (text subtitle stream number) that can be seen by the user used for subtitle switching.

number_of_IG_stream_entriesは、STN_table()の中でエントリーされる IG_stream_idが与えられるストリーム数を示す。この中では、インタラクティブグラフィックスストリームがエントリーされる。IG_stream_idは、インタラクティブグラフィックスストリームを識別するための情報であり、IG_stream_numberは、グラフィックス切り替えに使われるユーザから見えるグラフィックスストリーム番号である。   number_of_IG_stream_entries indicates the number of streams provided with IG_stream_id entered in STN_table (). In this, an interactive graphics stream is entered. IG_stream_id is information for identifying an interactive graphics stream, and IG_stream_number is a graphics stream number that is visible to the user used for graphics switching.

ここで、stream_entry()のシンタクスについて図15を参照して説明する。   Here, the syntax of stream_entry () will be described with reference to FIG.

lengthは、このlengthフィールドの直後からstream_entry ()の最後までのバイト数を示す8ビットの符号なし整数である。typeは、上述したストリーム番号が与えられるストリームを一意に特定するために必要な情報の種類を示す8ビットのフィールドである。   length is an 8-bit unsigned integer indicating the number of bytes from immediately after this length field to the end of stream_entry (). type is an 8-bit field indicating the type of information necessary to uniquely specify the stream to which the above-described stream number is given.

type=1またはtype=3では、PlayItemによって参照されるClip(Main Clip)の中に多重化されている複数のエレメンタリストリームの中から1つのエレメンタリストリームを特定するために、16ビットのパケットID(PID)が指定される。ref_to_stream_PID_of_mainClipが、このPIDを示している。すなわち、type=1とtype=3では、メインClipAVストリームファイルの中のPIDを指定するだけでストリームが決定される。   In type = 1 or type = 3, a 16-bit packet is used to identify one elementary stream from among a plurality of elementary streams multiplexed in a Clip (Main Clip) referenced by PlayItem. An ID (PID) is specified. ref_to_stream_PID_of_mainClip indicates this PID. That is, with type = 1 and type = 3, the stream is determined simply by specifying the PID in the main ClipAV stream file.

type=2またはtype=3では、SubPathが一度に複数個のClipsを参照し、それぞれのClipが複数のエレメンタリストリームを多重化する場合に、SubPathによって参照される1つのClip(SubClip)の複数のエレメンタリストリームの中から1つのエレメンタリストリームを特定するために、そのSubPathのSubPath_id、Clip id、およびパケットID(PID)が指定される。ref_to_SubPath_idがこのSubPath_idを示し、ref_to_SubClip_entry_idがこのClip idを示し、ref_to_stream_PID_of_SubClipがこのPIDを示している。SubPlayItemの中で複数のClipが参照され、さらにこのClipに複数のエレメンタリストリームが参照されている場合に用いられる。   In type = 2 or type = 3, when SubPath refers to a plurality of Clips at a time and each Clip multiplexes a plurality of elementary streams, a plurality of one Clip (SubClip) referenced by SubPath SubPath_id, Clip id, and packet ID (PID) of the SubPath are specified in order to identify one elementary stream from among the elementary streams. ref_to_SubPath_id indicates this SubPath_id, ref_to_SubClip_entry_id indicates this Clip id, and ref_to_stream_PID_of_SubClip indicates this PID. This is used when a plurality of Clips are referred to in SubPlayItem and a plurality of elementary streams are referred to this Clip.

すなわち、type=3の場合、PlayItemによって参照されるClip(Main Clip)の中に多重化されている複数のエレメンタリストリームの中から1つのエレメンタリストリームを特定するためのパケットID(PID)と、SubPathが一度に複数個のClipsを参照し、それぞれのClipが複数のエレメンタリストリームを多重化する場合に、SubPathによって参照される1つのClip(SubClip)の複数のエレメンタリストリームの中から1つのエレメンタリストリームを特定するための、SubPathのSubPath_id、Clip id、およびパケットID(PID)とにより、2つのストリームをエントリーすることができる。例えば、メインパスが参照するオーディオストリームと、サブパスが参照するオーディオストリームとの2つのオーディオストリームをエントリーすることができる。なお、以下においては、メインパスが参照するオーディオストリームを1st オーディオストリームとも称し、サブパスが参照するオーディオストリームを2ndオーディオストリームとも称する。   That is, when type = 3, a packet ID (PID) for specifying one elementary stream from among a plurality of elementary streams multiplexed in a Clip (Main Clip) referred to by PlayItem When SubPath refers to a plurality of Clips at a time and each Clip multiplexes a plurality of elementary streams, one of a plurality of elementary streams of one Clip (SubClip) referenced by SubPath Two streams can be entered with SubPath_id, Clip id, and Packet ID (PID) of SubPath for specifying one elementary stream. For example, two audio streams, an audio stream referenced by the main path and an audio stream referenced by the sub path, can be entered. In the following, the audio stream referred to by the main path is also referred to as a 1st audio stream, and the audio stream referred to by the sub path is also referred to as a 2nd audio stream.

このように、type(1乃至3の3つのtype)を使うことで、PlayItemとそれに関連付けられて再生される1つ以上のSubPathが用意されている場合に、このPlayItemが参照するClipと1つ以上のSubPathが参照するClipの中から1つのエレメンタリストリームを特定することができる。なお、type=1はMain Pathが参照するClip(メインClip)を示しており、type=2および3はSub Pathが参照するClip(サブClip)を示している。   As described above, when a type (three types of 1 to 3) is used and a PlayItem and one or more SubPaths to be played back are prepared, one Clip and one reference to this PlayItem are provided. One elementary stream can be identified from the Clip referred to by the above SubPath. Note that type = 1 indicates a clip (main clip) referred to by the main path, and types = 2 and 3 indicate clips (sub clips) referred to by the sub path.

また、type=3の場合、メインパスで参照されるメインClipAVストリームファイルのオーディオストリーム(1stオーディオストリーム)と、サブパスで参照されるオーディオストリーム(2ndオーディオストリーム)とを特定し、エントリーすることができる。
例えば、1stオーディオストリームと、2ndオーディオストリームとを合わせて(ミキシングして)再生することができる。
When type = 3, the audio stream (1st audio stream) of the main Clip AV stream file referenced in the main path and the audio stream (2nd audio stream) referenced in the sub path can be specified and entered. .
For example, the 1st audio stream and the 2nd audio stream can be combined and reproduced.

図14の第1のSTN_table()の説明に戻って、ビデオストリームID (video_stream_id)のforループの中で、順番にstream_entry()ごとに特定される1つのビデオエレメンタリストリームに、0からvideo_stream_idが与えられる。なお、ビデオストリームID(video_stream_id)の代わりに、ビデオストリーム番号(video_stream_number)を用いるようにしてもよい。この場合、video_stream_numberは、0ではなく1から与えられる。すなわち、video_stream_idの値に1を加算したものがvideo_stream_numberである。ビデオストリーム番号は、ビデオ切り替えに使われる、ユーザから見えるビデオストリーム番号であるので、1から定義される。   Returning to the description of the first STN_table () in FIG. 14, video_stream_id from 0 to video_stream_id is assigned to one video elementary stream specified for each stream_entry () in order in the for loop of the video stream ID (video_stream_id). Given. Note that a video stream number (video_stream_number) may be used instead of the video stream ID (video_stream_id). In this case, video_stream_number is given from 1 instead of 0. That is, video_stream_number is obtained by adding 1 to the value of video_stream_id. The video stream number is defined from 1 since it is a video stream number that is used for video switching and is visible to the user.

同様に、オーディオストリームID (audio_stream_id)のforループの中で、順番にstream_entry()ごとに特定される1つのオーディオエレメンタリストリームに、0からaudio_stream_idが与えられる。なお、ビデオストリームの場合と同様に、オーディオストリームID(audio_stream_id)の代わりに、オーディオストリーム番号(audio_stream_number)を用いるようにしてもよい。この場合、audio_stream_numberは、0ではなく1から与えられる。すなわち、audio_stream_idの値に1を加算したものがaudio_stream_numberである。オーディオストリーム番号は、音声切り替えに使われる、ユーザから見えるオーディオストリーム番号であるので、1から定義される。   Similarly, in the for loop of the audio stream ID (audio_stream_id), audio_stream_id is given from 0 to one audio elementary stream that is specified for each stream_entry () in order. As in the case of the video stream, an audio stream number (audio_stream_number) may be used instead of the audio stream ID (audio_stream_id). In this case, audio_stream_number is given from 1 instead of 0. That is, audio_stream_number is obtained by adding 1 to the value of audio_stream_id. The audio stream number is an audio stream number that can be seen by the user and is used for audio switching.

同様に、字幕ストリームID (PG_txtST_stream_id)のforループの中で、順番にstream_entry()ごとに特定される1つのビットマップ字幕エレメンタリストリームまたはテキスト字幕に、0からPG_txtST_stream_idが与えられる。なお、ビデオストリームの場合と同様に、字幕ストリームID(PG_txtST_stream_id)の代わりに、字幕ストリーム番号(PG_txtST_stream_number)を用いるようにしてもよい。この場合、PG_txtST_stream_numberは、0ではなく1から与えられる。すなわち、PG_txtST_stream_idの値に1を加算したものがPG_txtST_stream_numberである。字幕ストリーム番号は、字幕切り替えに使われるユーザから見える字幕ストリーム番号(テキストサブタイトルストリームの番号)であるので、1から定義される。   Similarly, PG_txtST_stream_id is assigned from 0 to one bitmap subtitle elementary stream or text subtitle identified in order for each stream_entry () in the for loop of the subtitle stream ID (PG_txtST_stream_id). As in the case of the video stream, a subtitle stream number (PG_txtST_stream_number) may be used instead of the subtitle stream ID (PG_txtST_stream_id). In this case, PG_txtST_stream_number is given from 1 instead of 0. That is, PG_txtST_stream_number is obtained by adding 1 to the value of PG_txtST_stream_id. The subtitle stream number is a subtitle stream number (text subtitle stream number) that can be seen by the user used for subtitle switching, and is defined from 1.

同様に、グラフィックスストリームID (IG_stream_id)のforループの中で、順番にstream_entry()ごとに特定される1つのインタラクティブグラフィックスエレメンタリストリームに、0からIG_stream_idが与えられる。なお、ビデオストリームの場合と同様に、グラフィックスストリームID(IG_stream_id)の代わりに、グラフィックスストリーム番号(IG_stream_number)を用いるようにしてもよい。この場合、IG_stream_numberは、0ではなく1から与えられる。すなわち、IG_stream_idの値に1を加算したものがIG_stream_numberである。グラフィックスストリーム番号は、グラフィックス切り替えに使われるユーザから見えるグラフィックスストリーム番号であるので、1から定義される。   Similarly, in the for loop of the graphics stream ID (IG_stream_id), IG_stream_id is assigned from 0 to one interactive graphics elementary stream that is identified for each stream_entry () in order. As in the case of the video stream, a graphics stream number (IG_stream_number) may be used instead of the graphics stream ID (IG_stream_id). In this case, IG_stream_number is given from 1 instead of 0. That is, IG_stream_number is obtained by adding 1 to the value of IG_stream_id. Since the graphics stream number is a graphics stream number that can be seen by the user used for switching graphics, it is defined from 1.

次に、図14の第1のSTN_table()のstream_attribute()について説明する。このstream_attributeでは、stream_entry()で特定されるストリームの属性情報が記録される。   Next, stream_attribute () of the first STN_table () in FIG. 14 will be described. In this stream_attribute, attribute information of the stream specified by stream_entry () is recorded.

ビデオストリームID (video_stream_id)のforループの中のstream_attribute()は、stream_entry()ごとに特定される1つのビデオエレメンタリストリームのストリーム属性情報を与える。すなわち、このstream_attribute()には、stream_entry()ごとに特定される1つのビデオエレメンタリストリームのストリーム属性情報が記述されている。   The stream_attribute () in the for loop of the video stream ID (video_stream_id) gives stream attribute information of one video elementary stream specified for each stream_entry (). That is, in this stream_attribute (), stream attribute information of one video elementary stream specified for each stream_entry () is described.

オーディオストリームID(audio_stream_id)のforループの中のstream_attribute()は、stream_entry()ごとに特定される少なくとも1つ以上のオーディオエレメンタリストリームのストリーム属性情報を与える。すなわち、このstream_attribute()には、stream_entry()ごとに特定される少なくとも1つ以上のオーディオエレメンタリストリームのストリーム属性情報が記述されている。具体的には、図15のstream_entry()においてtype=1またはtype=2である場合、このstream_entry()で特定されるオーディオエレメンタリストリームは1つであるので、stream_attribute()は、その1つのオーディオエレメンタリストリームのストリーム属性情報を与える。ここで、図15のstream_entry()においてtype=3である場合、このstream_entry()で特定されるオーディオエレメンタリストリームは2つ(メインパスで参照される1stオーディオストリームとサブパスで参照される2ndオーディオストリームの2つ)であるので、stream_attribute()は、2つのオーディオエレメンタリストリームのストリーム属性情報を与える。   The stream_attribute () in the for loop of the audio stream ID (audio_stream_id) gives stream attribute information of at least one or more audio elementary streams specified for each stream_entry (). That is, in this stream_attribute (), stream attribute information of at least one or more audio elementary streams specified for each stream_entry () is described. Specifically, when type = 1 or type = 2 in stream_entry () in FIG. 15, there is one audio elementary stream specified by this stream_entry (), so stream_attribute () Provides stream attribute information of the audio elementary stream. Here, when type = 3 in stream_entry () in FIG. 15, there are two audio elementary streams specified by stream_entry () (1st audio stream referenced in the main path and 2nd audio referenced in the sub path). Stream_attribute () gives stream attribute information of two audio elementary streams.

このように、type=3である場合、すなわち、メインパスとサブパスの両方で、audio streamを参照する場合、stream_attributesも2本分挿入できるものとされている。すなわち、for文のaudio streamにおいて、stream_entry()でtype=3である場合、その後のstream_attributes()では、stream_attributes()が2つエントリーされる。   As described above, when type = 3, that is, when referring to the audio stream in both the main path and the sub path, two stream_attributes can be inserted. That is, in the audio stream of the for statement, when stream = entry () is type = 3, two stream_attributes () are entered in the subsequent stream_attributes ().

すなわち、図14の第1のSTN_table()では、オーディオストリームID (audio_stream_id)のstream_entry()ごとに、stream_attributes()が定義されるのであるが、type=3の場合、stream_entry()に対して、2つのstream_attributes()が与えられる。これにより、audio_stream_idひとつに対して、メインパスとサブパスにより参照される2つのstream_attributes()がエントリーされることになるので、同時に再生するオーディオストリームを2本エントリーすることが可能となる。   That is, in the first STN_table () of FIG. 14, stream_attributes () is defined for each stream_entry () of the audio stream ID (audio_stream_id). When type = 3, for stream_entry (), Two stream_attributes () are given. As a result, two stream_attributes () referenced by the main path and the sub path are entered for one audio_stream_id, so that two audio streams to be reproduced simultaneously can be entered.

字幕ストリームID(PG_txtST_stream_id)のforループの中のstream_attribute()は、stream_entry()ごとに特定される1つのビットマップ字幕エレメンタリストリームまたはテキスト字幕エレメンタリストリームのストリーム属性情報を与える。すなわち、このstream_attribute()には、stream_entry()ごとに特定される1つのビットマップ字幕エレメンタリストリームのストリーム属性情報が記述されている。   The stream_attribute () in the for loop of the subtitle stream ID (PG_txtST_stream_id) gives stream attribute information of one bitmap subtitle elementary stream or text subtitle elementary stream specified for each stream_entry (). That is, in this stream_attribute (), stream attribute information of one bitmap subtitle elementary stream specified for each stream_entry () is described.

同様に、グラフィックスストリームID(IG_stream_id)のforループの中のstream_attribute()は、stream_entry()ごとに特定される1つのインタラクティブグラフィックスエレメンタリストリームのストリーム属性情報を与える。すなわち、このstream_attribute()には、stream_entry()ごとに特定される1つのインタラクティブグラフィックスエレメンタリストリームのストリーム属性情報が記述されている。   Similarly, stream_attribute () in the for loop of the graphics stream ID (IG_stream_id) gives stream attribute information of one interactive graphics elementary stream specified for each stream_entry (). That is, stream attribute information of one interactive graphics elementary stream specified for each stream_entry () is described in the stream_attribute ().

なお、図14と図15の例では、メインパスで参照されるオーディオストリームとサブパスで参照されるオーディオストリームの2本のオーディオストリームをエントリーする場合について説明したが、2本のサブパスで参照される2本のオーディオストリームをエントリーすることができるようにした第2のSTN_table()のシンタクスと、第2のStream_entry()のシンタクスの例を、図16と図17に示す。なお、図中、図14および図15と対応する部分については、繰り返しになるのでその説明は省略する。   In the example of FIGS. 14 and 15, the case where two audio streams of the audio stream referred to by the main path and the audio stream referred to by the sub path are entered has been described. However, reference is made to the two sub paths. FIGS. 16 and 17 show examples of the syntax of the second STN_table () and the syntax of the second Stream_entry () that allow entry of two audio streams. In the figure, portions corresponding to those in FIG. 14 and FIG. 15 are repeated, and the description thereof is omitted.

図16は、第2のSTN_table()のシンタクスを示す図である。第2のSTN_table()は、PlayItemの属性として設定されている。図17は、第2のStream_entry()のシンタクスを示す図である。   FIG. 16 is a diagram illustrating the syntax of the second STN_table (). The second STN_table () is set as an attribute of PlayItem. FIG. 17 is a diagram illustrating the syntax of the second Stream_entry ().

図17のtype=1では、PlayItemによって参照されるClip(Main Clip)の中に多重化されている複数のエレメンタリストリームの中から1つのエレメンタリストリームを特定するために、16ビットのパケットID(PID)が指定される。ref_to_stream_PID_of_mainClipが、このPIDを示している。すなわち、type=1では、メインClipAVストリームファイルの中のPIDを指定するだけでストリームが決定される。   In type = 1 in FIG. 17, a 16-bit packet ID is used to identify one elementary stream from among a plurality of elementary streams multiplexed in a Clip (Main Clip) referred to by PlayItem. (PID) is specified. ref_to_stream_PID_of_mainClip indicates this PID. That is, with type = 1, the stream is determined simply by specifying the PID in the main ClipAV stream file.

type=2では、SubPathが一度に複数個のClipsを参照し、それぞれのClipが複数のエレメンタリストリームを多重化する場合に、SubPathによって参照される1つのClip(SubClip)の複数のエレメンタリストリームの中から1つのエレメンタリストリームを特定するために、そのSubPathのSubPath_id、Clip id、およびパケットID(PID)が指定される。ref_to_SubPath_idがこのSubPath_idを示し、ref_to_SubClip_entry_idがこのClip idを示し、ref_to_stream_PID_of_SubClipがこのPIDを示している。SubPlayItemの中で複数のClipが参照され、さらにこのClipに複数のエレメンタリストリームが参照されている場合に用いられる。   In type = 2, when SubPath refers to multiple Clips at a time and each Clip multiplexes multiple elementary streams, multiple elementary streams of one Clip (SubClip) referenced by SubPath SubPath_id, Clip id, and packet ID (PID) of the SubPath are specified in order to identify one elementary stream from the list. ref_to_SubPath_id indicates this SubPath_id, ref_to_SubClip_entry_id indicates this Clip id, and ref_to_stream_PID_of_SubClip indicates this PID. This is used when a plurality of Clips are referred to in SubPlayItem and a plurality of elementary streams are referred to this Clip.

このように、type(type1とtype2の2つのtype)を使うことで、PlayItemとそれに関連付けられて再生される1つ以上のSubPathが用意されている場合に、このPlayItemが参照するClipと1つ以上のSubPathが参照するClipの中から1つのエレメンタリストリームを特定することができる。なお、type=1はMain Pathが参照するClip(メインClip)を示しており、type=2はSub Pathが参照するClip(サブClip)を示している。   As described above, when a type (two types of type 1 and type 2) is used, when a PlayItem and one or more SubPaths to be played back are prepared, one Clip and a reference to this PlayItem are provided. One elementary stream can be identified from the Clip referred to by the above SubPath. Note that type = 1 indicates a clip (main clip) referred to by the main path, and type = 2 indicates a clip (sub clip) referred to by the sub path.

図16の第2のSTN_table()の説明に戻って、オーディオストリームID (audio_stream_id)のforループの中で、順番にstream_entry()ごとに特定されるオーディオエレメンタリストリームに、0からaudio_stream_idが与えられる。ここでは、図14とは異なり、1番目のオーディオストリームのための(後述する図28の再生装置の1stオーディオデコーダ75−1がデコードする)Stream_entry()とStream_attributes()の後に、2番目のオーディオストリームを定義するか否かを示すsecondary_audio_present_flagが設けられている。2番目のオーディオストリーム(Secondary Audio Stream)を定義する場合、このsecondary_audio_present_flagの値が1にセットされ、その後に記述されているif文の中のStream_entry()、Stream_attributes()にて、2番目のオーディオストリームが定義される。Secondary_audio_present_flagが1である場合、オーディオストリームID (audio_stream_id)のforループの中に、2つのstream_entry()が定義されているので、2つのstream_entry()のそれぞれにより特定される2つのオーディオエレメンタリストリームに、0からaudio_stream_idが与えられる。なお、ビデオストリームの場合と同様に、オーディオストリームID(audio_stream_id)の代わりに、オーディオストリーム番号(audio_stream_number)を用いるようにしてもよい。この場合、audio_stream_numberは、0ではなく1から与えられる。すなわち、audio_stream_idの値に1を加算したものがaudio_stream_numberである。オーディオストリーム番号は、音声切り替えに使われる、ユーザから見えるオーディオストリーム番号であるので、1から定義される。   Returning to the description of the second STN_table () in FIG. 16, audio_stream_id is given from 0 to the audio elementary stream specified for each stream_entry () in turn in the for loop of the audio stream ID (audio_stream_id). . Here, unlike FIG. 14, the second audio after the Stream_entry () and Stream_attributes () for the first audio stream (decoded by the first audio decoder 75-1 of the playback apparatus in FIG. 28 described later). A secondary_audio_present_flag indicating whether or not to define a stream is provided. When defining the second audio stream (Secondary Audio Stream), the value of this secondary_audio_present_flag is set to 1, and the second audio stream is specified by Stream_entry () and Stream_attributes () in the if statement described thereafter. A stream is defined. When Secondary_audio_present_flag is 1, since two stream_entry () are defined in the for loop of the audio stream ID (audio_stream_id), the two audio elementary streams specified by each of the two stream_entry () , Audio_stream_id is given from 0. As in the case of the video stream, an audio stream number (audio_stream_number) may be used instead of the audio stream ID (audio_stream_id). In this case, audio_stream_number is given from 1 instead of 0. That is, audio_stream_number is obtained by adding 1 to the value of audio_stream_id. The audio stream number is an audio stream number that can be seen by the user and is used for audio switching.

また、Secondary Audio Streamがエントリーされない場合(すなわち、2つ目のstream_entry()がエントリーされない場合)もあり、その場合には、secondary_audio_present_flagが0とされ、1番目のオーディオストリーム(Main Audio Stream)のみがエントリーされる。すなわち、2つ目のオーディオストリームがない場合には、2つ目のStream_entry()がエントリーされないことになる。この場合、2本のオーディオのミキシング再生は行われない。   In some cases, the Secondary Audio Stream is not entered (that is, the second stream_entry () is not entered). In this case, the secondary_audio_present_flag is set to 0, and only the first audio stream (Main Audio Stream) is stored. Entered. That is, when there is no second audio stream, the second Stream_entry () is not entered. In this case, mixing reproduction of the two audios is not performed.

オーディオストリームID(audio_stream_id)のforループには、stream_entry()とstream_attribute()との組み合わせが2つ記述されている。最初のstream_entry()とstream_attribute()との組み合わせは、後述する図28の再生装置1の1stオーディオデコーダ75−1でデコードされるオーディオストリームのための定義であり、secondary_audio_present_flagが1である場合にエントリーされる2番目のstream_entry()とstream_attribute()との組み合わせは、後述する図28の再生装置1の2ndオーディオデコーダ75−2でデコードされるオーディオストリームのための定義である。すなわち、2つのオーディオストリームを定義することができる。   In the for loop of the audio stream ID (audio_stream_id), two combinations of stream_entry () and stream_attribute () are described. The first combination of stream_entry () and stream_attribute () is a definition for an audio stream that is decoded by the first audio decoder 75-1 of the playback apparatus 1 shown in FIG. 28 to be described later, and is an entry when secondary_audio_present_flag is 1. The combination of the second stream_entry () and stream_attribute () is a definition for an audio stream that is decoded by the 2nd audio decoder 75-2 of the playback device 1 shown in FIG. 28 described later. That is, two audio streams can be defined.

オーディオストリームID(audio_stream_id)のforループの中のstream_attribute()は、stream_entry()ごとに特定される少なくとも1つ以上のオーディオエレメンタリストリームのストリーム属性情報を与える。すなわち、このstream_attribute()には、stream_entry()ごとに特定される少なくとも1つ以上のオーディオエレメンタリストリームのストリーム属性情報が記述されている。具体的には、図16のsecondary_audio_present_flagが1である場合、2つのstream_entry()で特定されるオーディオエレメンタリストリームは2つであるので、stream_attribute()は、それぞれ対応するオーディオエレメンタリストリームのストリーム属性情報を与える。すなわち、オーディオストリームID(audio_stream_id)のforループの中の最初のstream_entry()により、後述する図28の再生装置1の1stオーディオデコーダ75−1でデコードされるオーディオストリーム(Main Audio Stream)が定義され、これにより特定されるオーディオエレメンタリストリームのストリーム属性情報が、オーディオストリームID(audio_stream_id)のforループの中の最初のstream_attribute()により与えられる。同様にして、secondary_audio_present_flagが1である場合、オーディオストリームID(audio_stream_id)のforループの中の次の(2番目)のstream_entry()により、後述する図28の再生装置1の2ndオーディオデコーダ75−2でデコードされるオーディオストリーム(Secondary Audio Stream)が定義され、これにより特定されるオーディオエレメンタリストリームのストリーム属性情報が、オーディオストリームID(audio_stream_id)のforループの中の2番目のstream_attribute()により与えられる。   The stream_attribute () in the for loop of the audio stream ID (audio_stream_id) gives stream attribute information of at least one or more audio elementary streams specified for each stream_entry (). That is, in this stream_attribute (), stream attribute information of at least one or more audio elementary streams specified for each stream_entry () is described. Specifically, when secondary_audio_present_flag in FIG. 16 is 1, since there are two audio elementary streams specified by two stream_entry (), stream_attribute () is a stream attribute of the corresponding audio elementary stream. Give information. That is, an audio stream (Main Audio Stream) to be decoded by the 1st audio decoder 75-1 of the playback apparatus 1 shown in FIG. 28 described later is defined by the first stream_entry () in the for loop of the audio stream ID (audio_stream_id). The stream attribute information of the audio elementary stream specified by this is given by the first stream_attribute () in the for loop of the audio stream ID (audio_stream_id). Similarly, when the secondary_audio_present_flag is 1, the 2nd audio decoder 75-2 of the playback apparatus 1 in FIG. 28 to be described later is used by the next (second) stream_entry () in the for loop of the audio stream ID (audio_stream_id). The audio stream (Secondary Audio Stream) to be decoded is defined, and the stream attribute information of the audio elementary stream specified by this is given by the second stream_attribute () in the for loop of the audio stream ID (audio_stream_id) It is done.

例えば、オーディオストリームID(audio_stream_id)のforループの中の最初のstream_entry()により定義されるオーディオストリームは、例えば、映画の日本語吹き替えの音声や、英語の音声とされ、オーディオストリームID(audio_stream_id)のforループの中のsecondary_audio_present_flagが1である場合、2番目のstream_entry()により定義されるオーディオストリームは、例えば、映画のディレクターズカット用の音声と想定され、Main Pathにより参照されるAVストリームファイルの所定の部分にのみ、映画監督などのコメントが入っている場合などに用いられることが考えられる。   For example, the audio stream defined by the first stream_entry () in the for loop of the audio stream ID (audio_stream_id) is, for example, a Japanese dubbing voice or English voice of a movie, and the audio stream ID (audio_stream_id) When the secondary_audio_present_flag in the for loop is 1, the audio stream defined by the second stream_entry () is assumed to be, for example, the audio for the director's cut of a movie, and is the AV stream file referenced by the Main Path It may be used when a comment such as a movie director is included only in a predetermined part.

すなわち、2つのオーディオストリームを合成する場合には、Primary(1st)のオーディオストリームに合成すべきオーディオストリームが存在することを示すフラグである、図16のsecondary_audio_present_flagに1がセットされ、合成すべきオーディオストリームのstream_entry(), stream_attribute()が参照されて、オーディオストリームの合成が行われる。   That is, when two audio streams are synthesized, 1 is set in secondary_audio_present_flag in FIG. 16 which is a flag indicating that there is an audio stream to be synthesized with the primary (1st) audio stream, and the audio to be synthesized. The stream_entry () and stream_attribute () of the stream are referred to, and the audio stream is synthesized.

詳しくは、合成する一方のオーディオストリームを、メインパスで参照されるオーディオストリーム(後述する図28の再生装置1の1stオーディオデコーダ75−1でデコードされるMain Audio Stream)とし、他方をサブパスで参照されるオーディオストリーム(後述する図28の再生装置1の2ndオーディオデコーダ75−2でデコードされるSecondary Audio Stream)とした場合、図16の最初のstream_entry()のtypeの値が、type=1とされ、それにより特定されるオーディオエレメンタリストリームのストリーム属性情報がstream_attribute()により与えられ、図16のsecondary_audio_present_flagが1とされ、2番目のstream_entry()のtypeの値が、type=2とされ、それにより特定されるオーディオエレメンタリストリームのストリーム属性情報がstream_attribute()により与えられる。   Specifically, one audio stream to be synthesized is an audio stream referred to by the main path (Main Audio Stream decoded by the first audio decoder 75-1 of the playback apparatus 1 in FIG. 28 described later), and the other is referred to by the sub path. 16 (secondary audio stream decoded by the 2nd audio decoder 75-2 of the playback apparatus 1 in FIG. 28 described later), the type value of the first stream_entry () in FIG. The stream attribute information of the audio elementary stream specified thereby is given by stream_attribute (), secondary_audio_present_flag in FIG. 16 is set to 1, and the value of type of the second stream_entry () is set to type = 2, The stream attribute information of the audio elementary stream specified by the stream_attribute () Given.

また、合成するオーディオストリームを、2つとも、サブパスで参照されるオーディオストリームとした場合、図16のオーディオストリームID(audio_stream_id)のforループの中の最初のstream_entry()のtypeの値が、type=2とされ、それにより特定されるオーディオエレメンタリストリームのストリーム属性情報がstream_attribute()により与えられ、図16のオーディオストリームID(audio_stream_id)のforループの中のsecondary_audio_present_flagが1とされ、2番目のstream_entry()のtypeの値が、type=2とされ、それにより特定されるオーディオエレメンタリストリームのストリーム属性情報がstream_attribute()により与えられる。すなわち、合成するオーディオストリームを、2つともサブパスで参照されるオーディオストリームとする場合、図17のstream_entry()のtypeは、いずれも2とされる。   Also, if both of the audio streams to be synthesized are audio streams that are referenced in the sub-path, the type value of the first stream_entry () in the for loop of the audio stream ID (audio_stream_id) in FIG. = 2 and stream attribute information of the audio elementary stream specified thereby is given by stream_attribute (), secondary_audio_present_flag in the for loop of the audio stream ID (audio_stream_id) in Fig. 16 is set to 1, and the second The value of type of stream_entry () is set to type = 2, and stream attribute information of the audio elementary stream specified thereby is given by stream_attribute (). That is, when two audio streams to be combined are audio streams that are referred to by sub-paths, the type of stream_entry () in FIG.

このように、オーディオストリーム(又はビデオストリーム)をそれぞれサブパスで指定する形で追加することとしたため、ディスク上にあるオーディオストリーム(又はビデオストリーム)と、ダウンロード等により取得したまたはローカルストレージ上にあるオーディオストリーム(又はビデオストリーム)とを同期して再生することができると共に、共にダウンロード等により取得したオーディオストリーム同士(又はビデオストリーム同士)を、ディスク上のまたは取得したビデオストリーム(又はオーディオストリーム)と同期して再生することができる。   As described above, since the audio stream (or video stream) is added in the form specified by the sub-path, the audio stream (or video stream) on the disc and the audio obtained by downloading or the local storage are stored. Streams (or video streams) can be played back in synchronization with each other, and audio streams (or video streams) acquired together by downloading or the like are synchronized with a video stream (or audio stream) on a disk or acquired. Can be played.

なお、PlayListも取得するようにすれば、メインパスにより指定される取得したビデオストリーム(又はオーディオストリーム)と、サブパスにより指定される取得した2本のオーディオストリーム(又はビデオストリーム)を同期して再生することもできる。 If the PlayList is also acquired, the acquired video stream (or audio stream) specified by the main path and the two acquired audio streams (or video streams) specified by the sub path are played back in synchronization. You can also

なお、メインパスで参照されるオーディオのみを再生、もしくは、1つのサブパスで指定されるオーディオのみを再生する場合には、図16のsecondary_audio_present_flagに0がセットされ、最初のstream_entry()でメインパスで参照される場合にはtype=1とし、サブパスで指定されるオーディオのみを再生する場合にはtype=2として、それにより特定されるオーディオエレメンタリストリームのストリーム属性情報がstream_attribute()により与えられる。すなわち、ミキシングせずに1つのオーディオストリームのみを再生することもできる。   When playing back only the audio referenced in the main path or playing back only the audio specified in one sub-path, 0 is set to secondary_audio_present_flag in FIG. 16, and the first stream_entry () is used in the main path. When reference is made, type = 1 is set, and when only the audio specified by the sub path is reproduced, type = 2 is set, and stream attribute information of the audio elementary stream specified thereby is given by stream_attribute (). That is, it is possible to reproduce only one audio stream without mixing.

このように、図16では、stream_entry()とstream_attributesとを、2本のオーディオエレメンタリストリームの分だけ挿入できるものとされている。すなわち、for文のaudio streamにおいて、2つのstream_entry()を用いて、それぞれ対応するstream_attributes()をエントリーすることができる。   As described above, in FIG. 16, it is assumed that stream_entry () and stream_attributes can be inserted for two audio elementary streams. That is, in the audio stream of the for statement, corresponding stream_attributes () can be entered using two stream_entry ().

すなわち、図16の第2のSTN_table()では、オーディオストリームID (audio_stream_id)の2つのstream_entry()によって、それぞれ対応するstream_attributes()が定義される。これにより、audio_stream_idひとつに対して、メインパスとサブパスにより参照される、または、2つのサブパスにより参照される2つのstream_entry()とstream_attributes()の組み合わせがエントリーされることになるので、同時に再生するオーディオストリームを2本エントリーすることが可能となる。   That is, in the second STN_table () of FIG. 16, corresponding stream_attributes () is defined by two stream_entry () of the audio stream ID (audio_stream_id). As a result, a combination of two stream_entry () and stream_attributes () that are referenced by the main path and the sub path, or referenced by the two sub paths, is entered for one audio_stream_id, so that playback is performed simultaneously. Two audio streams can be entered.

なお、図16のビデオストリームID(video_stream_id)、字幕ストリームID (PG_txtST_stream_id)、グラフィックスストリームID (IG_stream_id)については、図14と同様である。   Note that the video stream ID (video_stream_id), subtitle stream ID (PG_txtST_stream_id), and graphics stream ID (IG_stream_id) in FIG. 16 are the same as those in FIG.

次に、stream_attribute()のシンタクスについて図18を参照して説明する。   Next, the syntax of stream_attribute () will be described with reference to FIG.

lengthは、このlengthフィールドの直後からstream_attribute()の最後までのバイト数を示す16ビットの符号なし整数である。   The length is a 16-bit unsigned integer indicating the number of bytes from immediately after this length field to the end of stream_attribute ().

stream_coding_typeは、図19に示されるようにエレメンタリストリームの符号化タイプを示す。エレメンタリストリームの符号化タイプとしては、MPEG-2 video stream、HDMV LPCM audio、Dolby AC-3 audio、dts audio、Presentation graphics stream、Interactive graphics stream、およびText subtitle streamが記述される。なお、このstream_coding_typeを拡張し、MPEG−4 AVC、VC−1等の他のコーディックにより圧縮されたビデオストリームを扱えるようにしてもよい。   The stream_coding_type indicates the encoding type of the elementary stream as shown in FIG. As encoding types of elementary streams, MPEG-2 video stream, HDMV LPCM audio, Dolby AC-3 audio, dts audio, Presentation graphics stream, Interactive graphics stream, and Text subtitle stream are described. Note that this stream_coding_type may be extended so that a video stream compressed by another codec such as MPEG-4 AVC or VC-1 can be handled.

video_formatは、図20に示されるようにビデオエレメンタリストリームのビデオフォーマットを示す。ビデオエレメンタリストリームのビデオフォーマットとしては、480i、576i、480p、1080i、720p、および1080pが記述される。   video_format indicates the video format of the video elementary stream as shown in FIG. 480i, 576i, 480p, 1080i, 720p, and 1080p are described as the video format of the video elementary stream.

frame_rateは、図21に示されるように、ビデオエレメンタリストリームのフレームレートを示す。ビデオエレメンタリストリームのフレームレートとしては、24000/1001、24、25、30000/1001、50、および60000/1001が記述される。   frame_rate indicates the frame rate of the video elementary stream, as shown in FIG. As frame rates of the video elementary stream, 24000/1001, 24, 25, 30000/1001, 50, and 60000/1001 are described.

aspect_ratioは、図22に示されるようにビデオエレメンタリストリームのアスペクト比情報を示す。ビデオエレメンタリストリームのアスペクト比情報としては、4:3 display aspect ratio、および16:9 display aspect ratioが記述される。   The aspect_ratio indicates the aspect ratio information of the video elementary stream as shown in FIG. As aspect ratio information of the video elementary stream, 4: 3 display aspect ratio and 16: 9 display aspect ratio are described.

audio_presentation_typeは、図23に示されるようにオーディオエレメンタリストリームのプレゼンテーションタイプ情報を示す。オーディオエレメンタリストリームのプレゼンテーションタイプ情報としては、single mono channel、dual mono channel、stereo(2-channel)、およびmulti-channelが記述される。   audio_presentation_type indicates presentation type information of an audio elementary stream as shown in FIG. As the presentation type information of the audio elementary stream, single mono channel, dual mono channel, stereo (2-channel), and multi-channel are described.

sampling_frequencyは、図24に示されるようにオーディオエレメンタリストリームのサンプリング周波数を示す。オーディオエレメンタリストリームのサンプリング周波数としては、48kHz、および96kHzが記述される。   Sampling_frequency indicates the sampling frequency of the audio elementary stream as shown in FIG. As sampling frequencies of audio elementary streams, 48 kHz and 96 kHz are described.

audio_language_codeは、オーディオエレメンタリストリームの言語コード(日本語、韓国語、中国語など)を示す。   audio_language_code indicates the language code of the audio elementary stream (Japanese, Korean, Chinese, etc.).

PG_language_codeは、ビットマップ字幕エレメンタリストリームの言語コード(日本語、韓国語、中国語など)を示す。   PG_language_code indicates the language code (Japanese, Korean, Chinese, etc.) of the bitmap subtitle elementary stream.

IG_language_code、インタラクティブグラフィックスエレメンタリストリームの言語コード(日本語、韓国語、中国語など)を示す。   IG_language_code, which indicates the language code (Japanese, Korean, Chinese, etc.) of the interactive graphics elementary stream.

textST_language_codeは、テキスト字幕エレメンタリストリームの言語コード(日本語、韓国語、中国語など)を示す。   textST_language_code indicates the language code (Japanese, Korean, Chinese, etc.) of the text subtitle elementary stream.

character_codeは、図25に示されるようにテキスト字幕エレメンタリストリームのキャラクタコードを示す。テキスト字幕エレメンタリストリームのキャラクタコードとしては、Unicode V1.1(ISO 10646-1)、Shift JIS(Japanese)、KSC 5601-1987 including KSC 5653 for Roman character(Korean)、GB 18030-2000(Chinese)、GB2312(Chinese)、およびBIG5(Chinese)が記述される。   Character_code indicates the character code of the text subtitle elementary stream as shown in FIG. The character code of the text subtitle elementary stream includes Unicode V1.1 (ISO 10646-1), Shift JIS (Japanese), KSC 5601-1987 including KSC 5653 for Roman character (Korean), GB 18030-2000 (Chinese), GB2312 (Chinese) and BIG5 (Chinese) are described.

以下に、図18のstream_attribute()のシンタクスについて、図18と、図19乃至図25を用いて具体的な例を説明する。   A specific example of the syntax of stream_attribute () in FIG. 18 will be described below with reference to FIGS. 18 and 19 to 25.

エレメンタリストリームの符号化タイプ(図18のstream_coding_type)がMPEG-2 video stream(図19)である場合、stream_attribute()には、そのエレメンタリストリームのビデオフォーマット(図20)、フレームレート(図21)、およびアスペクト比情報(図22)が含まれる。   When the encoding type of the elementary stream (stream_coding_type in FIG. 18) is an MPEG-2 video stream (FIG. 19), the stream_attribute () includes the video format (FIG. 20) and frame rate (FIG. 21) of the elementary stream. ), And aspect ratio information (FIG. 22).

エレメンタリストリームの符号化タイプ(図18のstream_coding_type)がHDMV LPCM audio、Dolby AC-3 audio、またはdts audio(図19)である場合、stream_attribute()には、そのオーディオエレメンタリストリームのプレゼンテーションタイプ情報(図23)、サンプリング周波数(図24)、および言語コードが含まれる。   When the encoding type of the elementary stream (stream_coding_type in FIG. 18) is HDMV LPCM audio, Dolby AC-3 audio, or dts audio (FIG. 19), the stream_attribute () includes the presentation type information of the audio elementary stream. (FIG. 23), sampling frequency (FIG. 24), and language code are included.

エレメンタリストリームの符号化タイプ(図18のstream_coding_type)がPresentation graphics stream(図19)である場合、stream_attribute()には、そのビットマップ字幕エレメンタリストリームの言語コードが含まれる。   When the encoding type of the elementary stream (stream_coding_type in FIG. 18) is a Presentation graphics stream (FIG. 19), stream_attribute () includes the language code of the bitmap subtitle elementary stream.

エレメンタリストリームの符号化タイプ(図18のstream_coding_type)がInteractive graphics stream(図19)である場合、stream_attribute()には、そのインタラクティブグラフィックスエレメンタリストリームの言語コードが含まれる。   When the encoding type of the elementary stream (stream_coding_type in FIG. 18) is Interactive graphics stream (FIG. 19), stream_attribute () includes the language code of the interactive graphics elementary stream.

エレメンタリストリームの符号化タイプ(図18のstream_coding_type)がText subtitle stream(図19)である場合、stream_attribute()には、そのテキスト字幕エレメンタリストリームのキャラクタコード(図25)、言語コードが含まれる。   When the encoding type of the elementary stream (stream_coding_type in FIG. 18) is a Text subtitle stream (FIG. 19), stream_attribute () includes the character code (FIG. 25) and language code of the text subtitle elementary stream. .

なお、これらの属性情報はこれに限定されない。   Note that the attribute information is not limited to this.

このように、PlayItemとそれに関連付けられて再生される1つ以上のSubPathが用意されている場合に、このPlayItemが参照するClipと1つ以上のSubPathが参照するClipの中から、stream_entry()によって特定されたエレメンタリストリーム(type=1とtype=2の場合は1つ、type=3の場合は2つ)の属性情報をstream_attribute()によって知ることができる。   As described above, when a PlayItem and one or more SubPaths to be played back are prepared, a stream_entry () is used to select a Clip referred to by the PlayItem and a Clip referred to by one or more SubPaths. The attribute information of the identified elementary stream (one if type = 1 and type = 2, two if type = 3) can be known by stream_attribute ().

再生装置は、この属性情報(stream_attribute())を調べることによって、そのエレメンタリストリームを自分自身が再生する機能を持っているか否かを調べることができる。
また、再生装置は、この属性情報を調べることによって、再生装置の言語設定の初期情報に対応したエレメンタリストリームの選択することができる。
By examining this attribute information (stream_attribute ()), the playback device can check whether or not it has the function of playing back the elementary stream.
Further, the playback device can select the elementary stream corresponding to the initial information of the language setting of the playback device by examining the attribute information.

例えば、再生装置が、ビットマップ字幕エレメンタリストリームの再生機能だけを有し、テキスト字幕エレメンタリストリームの再生機能を有していない場合を想定する。この再生装置に対して、ユーザが言語切り替えを指示した場合、再生装置は、字幕ストリームID (PG_txtST_stream_id)のforループの中から、ビットマップ字幕エレメンタリストリームだけを順次選択して、再生する。   For example, it is assumed that the playback apparatus has only a playback function for a bitmap subtitle elementary stream and does not have a playback function for a text subtitle elementary stream. When the user instructs the playback apparatus to switch the language, the playback apparatus sequentially selects and reproduces only the bitmap subtitle elementary stream from the for loop of the subtitle stream ID (PG_txtST_stream_id).

また、例えば、再生装置の言語設定の初期情報が日本語である場合を想定する。この再生装置に対して、ユーザが副音声(すなわちSecondary audio)への切り替えまたは、主音声と副音声とのミキシング再生を指示した場合、再生装置は、副音声として用意されているオーディオストリームID (Audio stream id)のforループの中から、言語コードが日本語であるオーディオエレメンタリストリームだけを順次選択して、再生する。   Also, for example, assume that the initial information of the language setting of the playback device is Japanese. When the user instructs the playback device to switch to the secondary audio (ie, secondary audio) or to mix and play the main audio and the secondary audio, the playback device uses the audio stream ID ( Only audio elementary streams whose language code is Japanese are sequentially selected from the for loop of (Audio stream id) and played.

さらに、例えば、メインパスにより参照される、ビデオストリームとオーディオストリームからなるAVストリーム(映画)を再生する場合、再生装置に対して、ユーザが音声の切り替えを指令し、サブパスにより参照されるオーディオストリーム(監督や出演者によるコメント)とのミキシング再生が指令された場合、再生装置は、メインパスにより参照される1stオーディオストリームに、さらに、サブパスにより参照される2ndオーディオストリームをミキシング(重畳)して、ビデオストリームとともに再生する。   Further, for example, when an AV stream (movie) composed of a video stream and an audio stream, which is referred to by the main path, is played back, the user instructs the playback apparatus to switch the audio, and the audio stream referenced by the sub path When mixing playback with (comment by a director or a performer) is instructed, the playback device further mixes (superimposes) the 2nd audio stream referenced by the sub path on the 1st audio stream referenced by the main path. Play with the video stream.

また、例えば、ユーザが音声の切り替えを指令し、2つのサブパスにより参照される2つのオーディオストリームのミキシング再生が再生装置に対して指令された場合(図16と図17のシンタクスが用いられ、図16のsecondary_audio_present_flagが1とされ、図17のtypeがともに2とされているオーディオストリームIDに対応するオーディオストリームの再生が指令された場合)、再生装置は、2つのサブパスによりそれぞれ参照される2つのオーディオストリームをミキシング(重畳)して、ビデオストリームとともに再生する。   Also, for example, when the user commands switching of audio and mixing playback of two audio streams referenced by two subpaths is commanded to the playback device (the syntaxes of FIGS. 16 and 17 are used, FIG. 16) when secondary audio reproduction is instructed to reproduce an audio stream corresponding to an audio stream ID whose type is 2 and the type is 2 in FIG. The audio stream is mixed (superposed) and reproduced together with the video stream.

このようにして、PlayItem()の中にSTN_table()を設けることにより、PlayItemとそれに関連付けられて再生される1つ以上のSubPathが用意されている場合に、ユーザによる音声切り替えや字幕切り替えという操作により、このPlayItemが参照するClipと1つ以上のSubPathが参照するClipの中から再生されるストリームを選ぶことができる仕組みが提供されるので、再生するAVストリームとは異なるストリームやデータファイルに対しても、インタラクティブな操作を行うことができる。   In this way, by providing STN_table () in PlayItem (), when PlayItem and one or more SubPaths to be played back are prepared, operations such as audio switching and subtitle switching by the user Provides a mechanism for selecting a stream to be played back from the Clip referenced by this PlayItem and the Clip referenced by one or more SubPaths, so that a stream or data file different from the AV stream to be played back can be selected. Even interactive operations can be performed.

また、1つのPlayListの中にSubPathを複数使用し、それぞれのSubPathがそれぞれSubPlayItemを参照する構成としたので、拡張性の高い、また、自由度の高いAVストリームを実現することができる。すなわち、このPlayListにより再生されるコンテンツにおいて、後で、SubPlayItemを追加できる構成とすることができる。例えば、Main Pathが参照するClipAVストリームファイルと、これに対応付けられるPlayListがあり、このPlayListが新たなSub Pathを追加したPlayListに書き換えられた場合、新たなPlayListに基づいて、Main Pathが参照するClipAVストリームファイルとともに、Main Pathが参照するClipAVストリームファイルとは異なるClipAVストリームファイルを参照して、再生を行うことができる。このように、拡張性を有する構成とすることができる。   Also, since a plurality of SubPaths are used in one PlayList and each SubPath refers to a SubPlayItem, an AV stream with high expandability and high flexibility can be realized. That is, a configuration in which SubPlayItems can be added later in the content played back by this PlayList. For example, when there is a ClipAV stream file referenced by the Main Path and a PlayList associated with the Clip AV stream file, and the PlayList is rewritten to a PlayList with a new Sub Path added, the Main Path refers to the PlayList based on the new PlayList. Along with the ClipAV stream file, playback can be performed with reference to a ClipAV stream file different from the ClipAV stream file referred to by the Main Path. Thus, it can be set as the structure which has an expandability.

さらに、PlayItem()の中のSTN_table()は、このPlayItemとそれに関連付けられて再生される1つ以上のSubPathが用意されている場合に、2つのSubPathが参照するClipのオーディオストリームをミキシングして再生することができる仕組みを提供するようにしたので(図16と図17)、1stオーディオデコーダ75−1でデコードされるオーディオストリーム(例えば、映画の日本語吹き替え音声)と、2ndオーディオデコーダ75−2でデコードされるオーディオストリーム(例えば、監督のディレクターズカット)との重畳再生に対しても、インタラクティブな操作を行うことができる。   Furthermore, STN_table () in PlayItem () mixes the audio stream of the Clip referenced by the two SubPaths when this PlayItem and one or more SubPaths to be played back are prepared. Since a mechanism capable of playing back is provided (FIGS. 16 and 17), an audio stream (for example, Japanese dubbing sound of a movie) decoded by the 1st audio decoder 75-1 and a 2nd audio decoder 75- An interactive operation can also be performed for superimposed reproduction with an audio stream (for example, a director's director's cut) decoded in step 2.

また、PlayItem()の中にSTN_table()が設けられることにより、PlayItemとそれに関連付けられて再生される1つ以上のSubPathが用意されている場合に、このPlayItemが参照するClipの1stオーディオストリームと、SubPathが参照するClipの2ndオーディオストリームとをミキシングして再生することができる仕組みが提供されるので、ユーザは、メインClipAVストリームとは異なるオーディオストリーム(2ndオーディオストリーム、例えば、監督のコメントのストリーム)の重畳再生に対しても、インタラクティブな操作を行うことができる。   In addition, when STN_table () is provided in PlayItem (), when the PlayItem and one or more SubPaths to be played back are prepared, the first audio stream of the Clip referred to by this PlayItem and Since a mechanism capable of mixing and playing back the second audio stream of the clip referred to by SubPath is provided, the user can select an audio stream different from the main clip AV stream (a second audio stream, for example, a director's comment stream). ) Can also be interactively operated.

具体的な例を、図26を参照して説明する。図26は、ユーザに提供する音声信号と字幕信号の関係を表すストリームナンバーテーブルの例を示す図である。図26は、図16と図17の第2のSTN_tableと第2のStream_entry()に対応する場合の例である。   A specific example will be described with reference to FIG. FIG. 26 is a diagram illustrating an example of a stream number table representing a relationship between an audio signal and a caption signal provided to a user. FIG. 26 shows an example corresponding to the second STN_table and the second Stream_entry () shown in FIGS. 16 and 17.

図26においては、音声番号をA_SN(Audio Stream Number)と称し、字幕番号をS_SN(SubPicture Stream Number)と称する。図26においては、PlayListのMain Pathで参照されるメインClipAVストリームの複数のオーディオストリームと、Sub Pathで参照されるサブClipAVストリームのオーディオストリームのそれぞれにA_SNが与えられている。すなわち、A_SN=1にMain Pathで参照されるオーディオストリームであるオーディオ2が与えられ、A_SN=2にSub Pathで参照されるオーディオストリームであるオーディオ1が与えられ、A_SN=3にMain Pathで参照されるオーディオストリームであるオーディオ3が与えられている。   In FIG. 26, the audio number is referred to as A_SN (Audio Stream Number), and the subtitle number is referred to as S_SN (SubPicture Stream Number). In FIG. 26, A_SN is assigned to each of a plurality of audio streams of the main ClipAV stream referred to by the Main Path of the PlayList and an audio stream of the sub ClipAV stream referred to by the Sub Path. That is, A_SN = 1 is given an audio 2 that is an audio stream referenced by the Main Path, A_SN = 2 is given an audio 1 that is an audio stream referenced by the Sub Path, and A_SN = 3 is referenced by the Main Path. Audio 3 which is an audio stream to be played is given.

また、PlayListのSubPathで参照されるオーディオストリームが、A_SN=1乃至3で与えられるオーディオストリームオーディオストリームのそれぞれとミキシング再生可能なように、A_SNが与えられている。すなわち、A_SN=4にオーディオ2+Sub Pathで参照されるオーディオストリームであるオーディオ4が与えられ、A_SN=5にSub Pathで参照されるオーディオストリームであるオーディオ1+Sub Pathで参照されるオーディオストリームであるオーディオ4が与えられている。すなわち、A_SN=4では、メインパスにより参照されるオーディオストリームと、サブパスにより参照されるオーディオストリームのミキシング再生のためのA_SNが与えられ、A_SN=5では、2つのサブパスにより参照される2つのオーディオストリームのミキシング再生のためのA_SNが与えられている。   Also, A_SN is given so that the audio stream referenced by the SubPath of the PlayList can be mixed and reproduced with each of the audio streams given by A_SN = 1 to 3. That is, audio 4 that is an audio stream referenced by audio 2 + Sub Path is given to A_SN = 4, and audio 4 that is an audio stream referenced by Audio_1 + Sub Path is referenced by A_SN = 5. Is given. That is, when A_SN = 4, A_SN for mixing reproduction of the audio stream referenced by the main path and the audio stream referenced by the sub path is given, and when A_SN = 5, two audios referenced by the two sub paths are given. A_SN is provided for mixing reproduction of the stream.

また、PlayListのMain Pathで参照されるメインClipAVストリームの複数のサブピクチャストリームのそれぞれに、S_SNが与えられている。すなわち、S_SN=1にサブピクチャ3が与えられ、S_SN=2にサブピクチャ1が与えられ、S_SN=3にサブピクチャ2が与えられる。ここでは、A_SNやS_SNの番号が小さい程、ユーザに提供される音声信号やサブピクチャの優先度が高い。すなわち、A_SN=1はデフォルトで再生されるオーディオストリームであり、S_SN=1はデフォルトで再生されるサブピクチャストリームである。   In addition, S_SN is assigned to each of a plurality of sub-picture streams of the main Clip AV stream referred to by the main path of the PlayList. That is, sub-picture 3 is given to S_SN = 1, sub-picture 1 is given to S_SN = 2, and sub-picture 2 is given to S_SN = 3. Here, the smaller the A_SN or S_SN number, the higher the priority of the audio signal or sub-picture provided to the user. That is, A_SN = 1 is an audio stream reproduced by default, and S_SN = 1 is a sub-picture stream reproduced by default.

具体的には、再生装置の言語設定の初期情報に基づいて再生される音声は、A_SN=1であるオーディオ2(図26)に対応しており、音声が切り替えられた後、再生される音声は、A_SN=2であるオーディオ1(図26)に対応している。   Specifically, the audio reproduced based on the initial information of the language setting of the reproduction apparatus corresponds to audio 2 (FIG. 26) with A_SN = 1, and the audio reproduced after the audio is switched. Corresponds to audio 1 (FIG. 26) with A_SN = 2.

このようなストリームナンバーテーブルを提供するために、まず、PlayList()で参照されるPlayItem()の中のSTN table()において、PlayItemのメインパスで「オーディオ1,またはオーディオ3」と、「サブピクチャ1、サブピクチャ2、またはサブピクチャ3」とを参照できる構成とし、さらに、PlayItemに関連付けられて再生されるサブパス(PlayListで参照されるSubPath())で「オーディオ2、またはオーディオ4」を参照できる構成とする。そして、STN table()(図16)のaudio_stream_id=0(A_SN=1)でオーディオ2(type=1)を与え、audio_stream_id=1(A_SN=2)でオーディオ1(type=2)を与え、audio_stream_id=2(A_SN=3)でオーディオ3(type=1)を与え、audio_stream_id=3(A_SN=4)でオーディオ2とオーディオ4(type=1とtype=2)を与え、audio_stream_id=4(A_SN=5)でオーディオ1とオーディオ4(type=2とtype=2)を与える。   In order to provide such a stream number table, first, in the STN table () in PlayItem () referenced by PlayList (), “Audio 1 or Audio 3” and “Sub” in the main path of PlayItem “Picture 1, sub-picture 2 or sub-picture 3” can be referred to, and further, “audio 2 or audio 4” is reproduced in a sub-path (SubPath () referenced in PlayList) associated with PlayItem. A configuration that can be referred to. Then, audio 2 (type = 1) is given by audio_stream_id = 0 (A_SN = 1) in STN table () (FIG. 16), audio 1 (type = 2) is given by audio_stream_id = 1 (A_SN = 2), and audio_stream_id = 2 (A_SN = 3) gives audio 3 (type = 1), audio_stream_id = 3 (A_SN = 4) gives audio 2 and audio 4 (type = 1 and type = 2), and audio_stream_id = 4 (A_SN = 5) gives audio 1 and audio 4 (type = 2 and type = 2).

すなわち、audio_stream_id=3(A_SN=4)の場合、図16のオーディオストリームIDに対応する最初のstream_entry()とstream_attributes()とにより、メインパスが参照するオーディオストリーム(type=1)が登録され、その後のsecondary_audio_present_flagが1とされ、2番目のstream_entry()とstream_attributes()により、サブパスが参照するオーディオストリーム(type=2)が登録される。このとき、audio_stream_idを用いて、メインパスが参照するオーディオストリームとサブパスが参照するオーディオストリームとの組み合わせを定義することができる。すなわち、矛盾するような組み合わせを定義せずに済むので、ユーザは、常に再生可能なオーディオストリームの組み合わせを選択することができる。すなわち、図26の例においては、矛盾するオーディオストリームの組み合わせであるオーディオ2+オーディオ3を定義しないようにすることで、ユーザに、選択可能なもののみを提供することができる。   That is, in the case of audio_stream_id = 3 (A_SN = 4), the audio stream (type = 1) referred to by the main path is registered by the first stream_entry () and stream_attributes () corresponding to the audio stream ID in FIG. The subsequent secondary_audio_present_flag is set to 1, and the audio stream (type = 2) referred to by the subpath is registered by the second stream_entry () and stream_attributes (). At this time, the audio_stream_id can be used to define a combination of an audio stream referenced by the main path and an audio stream referenced by the sub path. That is, since it is not necessary to define inconsistent combinations, the user can always select a combination of audio streams that can be reproduced. In other words, in the example of FIG. 26, only the selectable items can be provided to the user by not defining the audio 2 + audio 3 that is a combination of contradictory audio streams.

このように、PlayItem()の中のSTN table()(図16)のstream_entry()(図17)で、メインパスで参照される1stオーディオストリームと、サブパスで参照される2ndオーディオストリームとをエントリー(登録)することが可能な構成とし(secondary_audio_present_flagを設け)、さらに、audio_stream_idを用いて、1stオーディオストリームと2ndオーディオストリームとを組み合わせて提供する構成としたので、2つのオーディオストリームをミキシングして再生することができる。すなわち、複数の種類からなるストリームから、同じ種類(この例の場合、オーディオストリーム)のストリームをミキシング(重畳、または合成)して、同時に再生することができる。   In this way, in the stream_entry () (FIG. 17) of the STN table () (FIG. 16) in PlayItem (), the 1st audio stream referenced in the main path and the 2nd audio stream referenced in the sub path are entered. (Registration) is configured (secondary_audio_present_flag is provided), and further, the audio_stream_id is used to provide a combination of the 1st audio stream and the 2nd audio stream, so the two audio streams are mixed and played back can do. That is, streams of the same type (in this example, an audio stream) can be mixed (superimposed or combined) from a plurality of types of streams and played back simultaneously.

また、audio_stream_id=4(A_SN=5)の場合、図16のオーディオストリームIDに対応する最初のstream_entry()およびstream_attributes()、secondary_audio_present_flag、並びに、2番目のstream_entry()およびstream_attributes()とにより、2つのサブパスが参照する2つのオーディオストリーム(いずれもtype=2)が登録される。
このとき、audio_stream_idを用いて、2つのサブパスが参照する2本のオーディオストリームの組み合わせを定義することができる。すなわち、矛盾するような組み合わせを定義せずに済むので、ユーザは、常に再生可能なオーディオストリームの組み合わせを選択することができる。
When audio_stream_id = 4 (A_SN = 5), the first stream_entry () and stream_attributes () and secondary_audio_present_flag corresponding to the audio stream ID in FIG. 16 and the second stream_entry () and stream_attributes () Two audio streams (both type = 2) referenced by one sub-path are registered.
At this time, a combination of two audio streams referred to by the two subpaths can be defined using audio_stream_id. That is, since it is not necessary to define inconsistent combinations, the user can always select a combination of audio streams that can be reproduced.

このように、PlayItem()の中のSTN table()(図16)のstream_entry()(図17)で、2つのサブパスで参照される2本のオーディオストリームとをエントリー(登録)することが可能な構成とし、さらに、audio_stream_idを用いて、2本のオーディオストリームの組み合わせを提供する構成としたので、2つのオーディオストリームをミキシングして再生することができる。すなわち、複数の種類からなるストリームから、同じ種類(この例の場合、オーディオストリーム)のストリームをミキシング(重畳、または合成)して、同時に再生することができる。   In this way, it is possible to enter (register) two audio streams referenced by two sub-paths with stream_entry () (FIG. 17) of STN table () (FIG. 16) in PlayItem (). In addition, since the audio_stream_id is used to provide a combination of two audio streams, the two audio streams can be mixed and reproduced. That is, streams of the same type (in this example, an audio stream) can be mixed (superimposed or combined) from a plurality of types of streams and played back simultaneously.

また、ミキシングする2つのオーディオストリームを個々に選ぶ必要がなく、2つのオーディオストリームが組み合わせられたものの中から、再生するオーディオストリームを選択することができる。   Further, it is not necessary to individually select two audio streams to be mixed, and an audio stream to be reproduced can be selected from a combination of two audio streams.

なお、図14と図15のシンタクスにおいても、図26のメインパスで参照される1stオーディオストリームとサブパスで参照される2ndオーディオストリームとの組み合わせ(audio_stream_id=3(A_SN=4))は定義可能である。この場合、図14のstream_entry()にtype=3でメインパスが参照するオーディオストリームとサブパスが参照するオーディオストリームとを登録し、これに伴い、stream_attributes()も2本挿入する。このように、PlayItem()の中のSTN table()(図14)のstream_entry()(図15)で、メインパスで参照される1stオーディオストリームと、サブパスで参照される2ndオーディオストリームとをエントリー(登録)することが可能な構成とし(type=3を設けた)、さらに、audio_stream_idを用いて、1stオーディオストリームと2ndオーディオストリームとを組み合わせて提供する構成としたので、2つのオーディオストリームをミキシングして再生することができる。すなわち、複数の種類からなるストリームから、同じ種類(この例の場合、オーディオストリーム)のストリームをミキシング(重畳、または合成)して、同時に再生することができる。   In the syntaxes of FIGS. 14 and 15, the combination (audio_stream_id = 3 (A_SN = 4)) of the 1st audio stream referenced in the main path and the 2nd audio stream referenced in the sub path in FIG. 26 can be defined. is there. In this case, the audio stream referred to by the main path and the audio stream referred to by the sub path are registered in stream_entry () in FIG. 14 and two stream_attributes () are also inserted accordingly. In this way, in the stream_entry () (FIG. 15) of the STN table () (FIG. 14) in PlayItem (), the 1st audio stream referenced in the main path and the 2nd audio stream referenced in the sub path are entered. (Registration) is configured (type = 3 is provided), and the audio_stream_id is used to provide a combination of the 1st audio stream and the 2nd audio stream, so that the two audio streams are mixed. Can be played. That is, streams of the same type (in this example, an audio stream) can be mixed (superimposed or combined) from a plurality of types of streams and played back simultaneously.

次に、本発明を適用した再生装置の第1の構成例について説明する。図27は、本発明を適用した再生装置1の構成例を示すブロック図である。この再生装置1は、上述したメインパスとサブパスを有するPlayListを再生する再生装置1である。   Next, a first configuration example of a playback apparatus to which the present invention is applied will be described. FIG. 27 is a block diagram showing a configuration example of the playback apparatus 1 to which the present invention is applied. This playback apparatus 1 is a playback apparatus 1 that plays back a PlayList having the main path and sub path described above.

コントローラ21は、予め用意されている制御プログラムを実行するか、または、ストレージドライブ22を制御して、例えば、光ディスクなどの記録媒体11に記録されている、または、ローカルストレージ24に記録されているナビゲーションプログラムを読み出し、メモリ23に展開して実行することで、再生装置1の全体の動作を制御する。例えば、コントローラ21は、記録媒体11が装着されたとき、所定のメニュー画面を外部の表示装置に表示させることができる。   The controller 21 executes a control program prepared in advance or controls the storage drive 22 so as to be recorded on the recording medium 11 such as an optical disk or recorded on the local storage 24. By reading out the navigation program, developing it in the memory 23 and executing it, the overall operation of the playback device 1 is controlled. For example, when the recording medium 11 is loaded, the controller 21 can display a predetermined menu screen on an external display device.

ストレージドライブ22は、コントローラ21による制御に従って記録媒体11からデータを読み出し、読み出したデータを、コントローラ21、メモリ23、または、AVデコーダ部26に出力する。記録媒体11から読み出された情報が、ナビゲーションプログラムやPlayListなどであった場合、ストレージドライブ22により読み出された情報は、コントローラ21、または、メモリ23に出力される。記録媒体11から読み出された情報が、AVストリームやテキストデータであった場合、ストレージドライブ22により読み出された情報は、AVデコーダ部26に出力される。   The storage drive 22 reads data from the recording medium 11 according to control by the controller 21, and outputs the read data to the controller 21, the memory 23, or the AV decoder unit 26. When the information read from the recording medium 11 is a navigation program or a PlayList, the information read by the storage drive 22 is output to the controller 21 or the memory 23. When the information read from the recording medium 11 is an AV stream or text data, the information read by the storage drive 22 is output to the AV decoder unit 26.

メモリ23は、コントローラ21が各種の処理を実行する上において必要なデータなどを適宜記憶する。さらに、メモリ23の記憶領域の一部には、再生装置1の再生処理において必要な情報が設定される各種のレジスタが設けられている。ローカルストレージ24は、例えば、HDD(Hard Disk Drive)などより構成される。   The memory 23 appropriately stores data necessary for the controller 21 to execute various processes. Furthermore, various registers in which information necessary for the reproduction process of the reproduction apparatus 1 is set are provided in a part of the storage area of the memory 23. The local storage 24 is composed of, for example, an HDD (Hard Disk Drive).

インターネットインタフェース25は、有線または無線によりネットワーク2に接続されており、コントローラ21からの制御に従って、ネットワーク2を介して、サーバ3との間で通信を行い、サーバ3からダウンロードされたデータをローカルストレージ24に供給する。サーバ3からは、例えば、そのとき再生装置1に装着されている記録媒体11に記録されている、図5を用いて説明したデータをアップデートさせるデータがコンテンツとしてダウンロードされる。ローカルストレージ24は、サーバ3からネットワーク2経由でダウンロードしたコンテンツを記録することができる。   The Internet interface 25 is connected to the network 2 by wire or wirelessly, communicates with the server 3 via the network 2 according to control from the controller 21, and downloads data downloaded from the server 3 to the local storage. 24. From the server 3, for example, data for updating the data described with reference to FIG. 5 recorded in the recording medium 11 mounted in the playback device 1 at that time is downloaded as content. The local storage 24 can record content downloaded from the server 3 via the network 2.

AVデコーダ部26は、ストレージドライブ22、または、ローカルストレージ24から供給されるAVストリーム、または、テキストデータをデコードし、得られたビデオ信号とオーディオ信号を外部の表示装置に出力する。表示装置においては、AVデコーダ部26によりデコードされた信号に基づいて、例えば、記録媒体11に記録されているコンテンツの出力(映像の表示、音声の出力)が行われる。   The AV decoder unit 26 decodes the AV stream or text data supplied from the storage drive 22 or the local storage 24, and outputs the obtained video signal and audio signal to an external display device. In the display device, based on the signal decoded by the AV decoder unit 26, for example, the content recorded on the recording medium 11 (video display, audio output) is output.

操作入力部29は、例えば、ボタン、キー、タッチパネル、ジョグダイヤル、マウスなどの入力デバイスや、所定のリモートコマンダから送信される赤外線などの信号を受信する受信部により構成され、ユーザの操作入力を取得し、コントローラ21に供給する。   The operation input unit 29 includes, for example, an input device such as a button, a key, a touch panel, a jog dial, and a mouse, and a receiving unit that receives a signal such as an infrared ray transmitted from a predetermined remote commander, and acquires a user operation input. To the controller 21.

また、コントローラ21には、必要に応じてドライブ27も接続されており、ドライブ27には、例えば、磁気ディスク(フレキシブルディスクを含む)、光ディスク(CD-ROM(Compact Disk-Read Only Memory),DVDを含む)、光磁気ディスク(MD(登録商標)(Mini-Disk)を含む)、もしくは半導体メモリなどよりなるリムーバブルメディア28が装着される。   In addition, a drive 27 is connected to the controller 21 as necessary. For example, a magnetic disk (including a flexible disk), an optical disk (CD-ROM (Compact Disk-Read Only Memory), DVD) A removable medium 28 including a magneto-optical disk (including MD (registered trademark) (Mini-Disk)), a semiconductor memory, or the like.

図28は、図27の再生装置1のAVデコーダ部26の構成例を示すブロック図である。   FIG. 28 is a block diagram illustrating a configuration example of the AV decoder unit 26 of the playback device 1 of FIG.

図28の例の場合、最初に、コントローラ21がストレージドライブ22、または、ローカルストレージ24からPlayListファイルを読み出し、PlayListファイルの情報に基づいて、ストレージドライブ22を介してHDD、Blu−ray Disc(商標)、またはDVDなどの記録媒体11から、または、ローカルストレージ24から、AVストリームやAVデータを読み出す。ユーザは、操作入力部29を用いて、コントローラ21に対し、音声や字幕などの切り替えの指令を行うことができる。また、コントローラ21は、メモリ23のレジスタに登録されている再生装置1の言語設定の初期情報を含む各種設定情報を読み込む。   In the case of the example of FIG. 28, first, the controller 21 reads a PlayList file from the storage drive 22 or the local storage 24, and the HDD, Blu-ray Disc (trademark) via the storage drive 22 based on the information of the PlayList file. Or the AV stream or AV data is read from the recording medium 11 such as a DVD or from the local storage 24. The user can use the operation input unit 29 to instruct the controller 21 to switch between audio and subtitles. Further, the controller 21 reads various setting information including initial information of language setting of the playback device 1 registered in the register of the memory 23.

PlayListファイルには、Main Path、Sub Pathの情報の他、STN_table()が含まれている。コントローラ21は、PlayListファイルに含まれるPlayItemが参照するメインClip AVストリームファイル、SubPlayItemが参照するサブClip AVストリームファイル、およびSubPlayItemが参照するテキストサブタイトルデータを、ストレージドライブ22を介して記録媒体11またはローカルストレージ24から読み出す。ここで、PlayItemが参照するメインClip AVストリームファイルとSubPlayItemが参照するサブClip AVストリームファイルとが、異なる記録媒体に記録されていてもよい。例えば、メインClip AVストリームファイルが記録媒体11に記録されており、対応するサブClip AVストリームファイルは図示せぬネットワーク2を介して供給され、HDDなどのローカルストレージ24に記憶されたものであってもよい。また、コントローラ21は、メモリ23のレジスタに登録されている各種設定情報を参照して、自分自身(再生装置1)の再生機能に対応するエレメンタリストリームを選択し、再生するよう制御したり、再生装置1の言語設定の初期情報に対応するエレメンタリストリームを選択し、再生するよう制御する。   The PlayList file includes STN_table () in addition to Main Path and Sub Path information. The controller 21 records the main Clip AV stream file referenced by the PlayItem included in the PlayList file, the sub Clip AV stream file referenced by the SubPlayItem, and the text subtitle data referenced by the SubPlayItem via the storage drive 22 or the local Read from the storage 24. Here, the main Clip AV stream file referred to by PlayItem and the sub Clip AV stream file referred to by SubPlayItem may be recorded on different recording media. For example, the main Clip AV stream file is recorded on the recording medium 11, and the corresponding sub Clip AV stream file is supplied via the network 2 (not shown) and stored in the local storage 24 such as an HDD. Also good. In addition, the controller 21 refers to various setting information registered in the register of the memory 23, selects the elementary stream corresponding to the playback function of itself (playback apparatus 1), and controls to play back, The elementary stream corresponding to the initial information of the language setting of the playback device 1 is selected and controlled to be played back.

AVデコーダ部26には、バッファ51乃至54、PIDフィルタ55、PIDフィルタ56、スイッチ57乃至59、バックグラウンドデコーダ71、MPEG(Moving Picture Experts Group)2ビデオデコーダ72、プレゼンテーショングラフィックスデコーダ73、インタラクティブグラフィックスデコーダ74、1stオーディオデコーダ75−1、2ndオーディオデコーダ75−2、Text-STコンポジション76、スイッチ77、バックグラウンドプレーン生成部91、ビデオプレーン生成部92、プレゼンテーショングラフィックスプレーン生成部93、インタラクティブグラフィックスプレーン生成部94、バッファ95、ビデオデータ処理部96、ミキシング処理部97、およびミキシング処理部98が設けられている。1stオーディオデコーダ75−1と2ndオーディオデコーダ75−2は、ともにオーディオストリームをデコードする。1stオーディオデコーダ75−1は、2ndオーディオデコーダ75−2よりも優先的に使用されるオーディオデコーダである。すなわち、デコードするオーディオストリームが1つしかない場合、そのオーディオストリームがメインClip AVストリームファイルに含まれるオーディオストリームであっても、サブClip AVストリームファイルに含まれるオーディオストリームであっても、1stオーディオデコーダ75−1でデコードされる。すなわち、再生装置1は、2つのオーディオストリームをデコードするために、2つのオーディオデコーダ(1stオーディオデコーダ75−1、2ndオーディオデコーダ75−2)を有している。なお、以下において、1stオーディオデコーダ75−1と2ndオーディオデコーダ75−2とを個々に区別しない場合、オーディオデコーダ75と称する。   The AV decoder unit 26 includes buffers 51 to 54, PID filter 55, PID filter 56, switches 57 to 59, background decoder 71, MPEG (Moving Picture Experts Group) 2 video decoder 72, presentation graphics decoder 73, interactive graphics. Decoder 74, 1st audio decoder 75-1, 2nd audio decoder 75-2, Text-ST composition 76, switch 77, background plane generator 91, video plane generator 92, presentation graphics plane generator 93, interactive A graphics plane generation unit 94, a buffer 95, a video data processing unit 96, a mixing processing unit 97, and a mixing processing unit 98 are provided. Both the 1st audio decoder 75-1 and the 2nd audio decoder 75-2 decode the audio stream. The 1st audio decoder 75-1 is an audio decoder used preferentially over the 2nd audio decoder 75-2. That is, when there is only one audio stream to be decoded, the first audio decoder is used regardless of whether the audio stream is an audio stream included in the main Clip AV stream file or an audio stream included in the sub Clip AV stream file. Decoded at 75-1. That is, the playback device 1 has two audio decoders (1st audio decoder 75-1 and 2nd audio decoder 75-2) in order to decode two audio streams. In the following, the 1st audio decoder 75-1 and the 2nd audio decoder 75-2 are referred to as audio decoders 75 when not distinguished from each other.

コントローラ21により読み出されたファイルデータは、図示せぬ復調、ECC復号部により、復調され、復調された多重化ストリームに誤り訂正が施される。スイッチ32は、復調され、誤り訂正が施されたデータを、コントローラ21からの制御に基づいて、ストリームの種類ごとに選択し、対応するバッファ51乃至54に供給する。具体的には、スイッチ32は、コントローラ21からの制御に基づいて、バックグラウンドイメージデータをバッファ51に供給し、メインClip AVストリームファイルのデータをバッファ52に供給し、サブClipのデータをバッファ53に供給し、Text-STのデータをバッファ54に供給するようスイッチ32を切り替える。バッファ51は、バックグラウンドイメージデータをバッファリングし、バッファ52は、メインClip AVストリームファイルのデータをバッファリングし、バッファ53は、サブClip AVストリームファイルのデータをバッファリングし、バッファ54は、Text-STデータをバッファリングする。   The file data read by the controller 21 is demodulated by a demodulation and ECC decoding unit (not shown), and error correction is performed on the demodulated multiplexed stream. The switch 32 selects the demodulated and error-corrected data for each stream type based on the control from the controller 21 and supplies the selected data to the corresponding buffers 51 to 54. Specifically, the switch 32 supplies background image data to the buffer 51, supplies data of the main Clip AV stream file to the buffer 52, and sub-clip data to the buffer 53 based on control from the controller 21. The switch 32 is switched so that the Text-ST data is supplied to the buffer 54. The buffer 51 buffers the background image data, the buffer 52 buffers the data of the main Clip AV stream file, the buffer 53 buffers the data of the sub Clip AV stream file, and the buffer 54 -Buffer ST data.

メインClip AVストリームファイルは、ビデオとオーディオとビットマップ字幕(Presentation Graphics stream)とインタラクティブグラフィックスのうち、ビデオに加えて1つ以上のストリームを多重化したストリーム(例えばトランスポートストリーム)である。サブClip AVストリームファイルは、オーディオとビットマップ字幕(Presentation Graphics stream)とインタラクティブグラフィックスとオーディオのうち、1つ以上のストリームを多重化したストリームである。なお、テキストサブタイトルデータファイル(Text-ST)のデータは、トランスポートストリームのような多重化ストリームの形式であっても、そうでなくてもよい。   The main Clip AV stream file is a stream (for example, a transport stream) obtained by multiplexing one or more streams in addition to video among video, audio, bitmap subtitle (Presentation Graphics stream), and interactive graphics. The sub Clip AV stream file is a stream obtained by multiplexing one or more streams of audio, bitmap subtitle (Presentation Graphics stream), interactive graphics, and audio. Note that the data of the text subtitle data file (Text-ST) may or may not be in the form of a multiplexed stream such as a transport stream.

また、メインClip AVストリームファイルとサブClip AVストリームファイルおよびテキストサブタイトルデータを、ストレージドライブ22(記録媒体11)から読み出すときに、それぞれのファイルを時分割に交互に読み出しても良いし、または、サブClip AVストリームファイルやテキストサブタイトルデータをメインClipから読み出す前に、すべてバッファ(バッファ53またはバッファ54)へプリロードしてもよい。   Further, when the main Clip AV stream file, the sub Clip AV stream file, and the text subtitle data are read from the storage drive 22 (recording medium 11), the respective files may be alternately read in a time division manner, or the sub Before the clip AV stream file and text subtitle data are read from the main clip, all may be preloaded into the buffer (buffer 53 or buffer 54).

再生装置1は、これらのファイルのデータを、ストレージドライブ22を介して記録媒体11から読み出し、ビデオ、ビットマップ字幕、インタラクティブグラフィックス、およびオーディオを再生する。   The playback device 1 reads the data of these files from the recording medium 11 via the storage drive 22 and plays back video, bitmap subtitles, interactive graphics, and audio.

具体的には、メインClip AVストリームファイル用リードバッファであるバッファ52から読み出されたストリームデータは、所定のタイミングで、後段のPID(パケットID)フィルタ55へ出力される。このPIDフィルタ55は、入力されたメインClip AVストリームファイルをPID(パケットID)に応じて、後段の各エレメンタリストリームのデコーダへ振り分けて出力する。すなわち、PIDフィルタ55は、ビデオストリームをビデオデコーダ72に供給し、プレゼンテーショングラフィックスストリームをプレゼンテーショングラフィックスデコーダ73への供給元となるスイッチ57に供給し、インタラクティブグラフィックスストリームをインタラクティブグラフィックスデコーダ74への供給元となるスイッチ58に供給し、オーディオストリームを1stオーディオデコーダ75−1への供給元となるスイッチ59に供給する。   Specifically, the stream data read from the buffer 52, which is the main Clip AV stream file read buffer, is output to the PID (packet ID) filter 55 in the subsequent stage at a predetermined timing. The PID filter 55 distributes the input main Clip AV stream file to the decoders of the elementary streams in the subsequent stage according to the PID (packet ID) and outputs the result. That is, the PID filter 55 supplies the video stream to the video decoder 72, supplies the presentation graphics stream to the switch 57 serving as the supply source to the presentation graphics decoder 73, and supplies the interactive graphics stream to the interactive graphics decoder 74. The audio stream is supplied to the switch 59 serving as the supply source to the 1st audio decoder 75-1.

プレゼンテーショングラフィックスストリームは、例えば、ビットマップの字幕データであり、テキストサブタイトルデータは、例えば、テキスト字幕データである。   The presentation graphics stream is, for example, bitmap subtitle data, and the text subtitle data is, for example, text subtitle data.

サブClip AVストリームファイル用リードバッファであるバッファ53から読み出されたストリームデータは、所定のタイミングで、後段のPID(パケットID)フィルタ56へ出力される。このPIDフィルタ56は、入力されたサブClip AVストリームファイルをPID(パケットID)に応じて、後段の各エレメンタリストリームのデコーダへ振り分けて出力する。すなわち、PIDフィルタ56は、プレゼンテーショングラフィックスストリームをプレゼンテーショングラフィックスデコーダ73への供給元となるスイッチ57に供給し、インタラクティブグラフィックスストリームをインタラクティブグラフィックスデコーダ74への供給元となるスイッチ58に供給し、メインClipのオーディオストリームとサブClip AVストリームファイルのオーディオストリームを1stオーディオデコーダ75−1と2ndオーディオデコーダ75−2への供給元となるスイッチ59に供給する。   The stream data read from the buffer 53, which is the sub-Clip AV stream file read buffer, is output to the PID (packet ID) filter 56 at the subsequent stage at a predetermined timing. The PID filter 56 distributes the input sub Clip AV stream file to the decoders of the elementary streams in the subsequent stage according to the PID (packet ID) and outputs the result. That is, the PID filter 56 supplies the presentation graphics stream to the switch 57 serving as the supply source to the presentation graphics decoder 73 and supplies the interactive graphics stream to the switch 58 serving as the supply source to the interactive graphics decoder 74. Then, the audio stream of the main clip and the audio stream of the sub clip AV stream file are supplied to the switch 59 serving as the supply source to the first audio decoder 75-1 and the second audio decoder 75-2.

バックグラウンドイメージデータをバッファリングするバッファ51から読み出されたデータは、所定のタイミングでバックグラウンドデコーダ71に供給される。バックグラウンドデコーダ71は、バックグラウンドイメージデータをデコードし、デコードしたバックグラウンドイメージデータをバックグラウンドプレーン生成部91に供給する。   Data read from the buffer 51 that buffers background image data is supplied to the background decoder 71 at a predetermined timing. The background decoder 71 decodes the background image data and supplies the decoded background image data to the background plane generation unit 91.

PIDフィルタ55により振り分けられたビデオストリームは、後段のビデオデコーダ72に供給される。ビデオデコーダ72は、ビデオストリームをデコードし、デコードしたビデオデータをビデオプレーン生成部92へ出力する。   The video stream distributed by the PID filter 55 is supplied to the video decoder 72 at the subsequent stage. The video decoder 72 decodes the video stream and outputs the decoded video data to the video plane generation unit 92.

スイッチ57は、PIDフィルタ55から供給されたメインClip AVストリームファイルに含まれるプレゼンテーショングラフィックスストリームと、サブClip AVストリームファイルに含まれるプレゼンテーショングラフィックスストリームのうちのいずれか1つを選択し、選択したプレゼンテーショングラフィックスストリームを、後段のプレゼンテーショングラフィックスデコーダ73に供給する。プレゼンテーショングラフィックスデコーダ73は、プレゼンテーショングラフィックスストリームをデコードし、デコードしたプレゼンテーショングラフィックスストリームのデータをプレゼンテーショングラフィックスプレーン生成部93への供給元となるスイッチ77に供給する。   The switch 57 selects and selects one of the presentation graphics stream included in the main Clip AV stream file supplied from the PID filter 55 and the presentation graphics stream included in the sub Clip AV stream file. The presentation graphics stream is supplied to the presentation graphics decoder 73 at the subsequent stage. The presentation graphics decoder 73 decodes the presentation graphics stream, and supplies the decoded presentation graphics stream data to the switch 77 serving as a supply source to the presentation graphics plane generation unit 93.

また、スイッチ58は、PIDフィルタ55から供給されたメインClip AVストリームファイルに含まれるインタラクティブグラフィックスストリームと、サブClip AVストリームファイルに含まれるインタラクティブグラフィックスストリームのうちのいずれか1つを選択し、選択したインタラクティブグラフィックスストリームを、後段のインタラクティブグラフィックスストリームデコーダ74に供給する。すなわち、インタラクティブグラフィックスデコーダ74へ同時に入力されるインタラクティブグラフィックスストリームは、メインClip AVストリームファイルまたはサブClip AVストリームファイルのどちらかから分離されたストリームである。インタラクティブグラフィックスデコーダ74は、インタラクティブグラフィックスストリームをデコードし、デコードしたインタラクティブグラフィックスストリームのデータを、インタラクティブグラフィックスプレーン生成部94に供給する。   In addition, the switch 58 selects one of the interactive graphics stream included in the main Clip AV stream file supplied from the PID filter 55 and the interactive graphics stream included in the sub Clip AV stream file, The selected interactive graphics stream is supplied to the subsequent interactive graphics stream decoder 74. That is, the interactive graphics stream input to the interactive graphics decoder 74 at the same time is a stream separated from either the main Clip AV stream file or the sub Clip AV stream file. The interactive graphics decoder 74 decodes the interactive graphics stream and supplies the decoded interactive graphics stream data to the interactive graphics plane generating unit 94.

さらに、スイッチ59は、PIDフィルタ55から供給されたメインClip AVストリームファイルに含まれるオーディオストリームと、サブClip AVストリームファイルに含まれるオーディオストリームのうちのいずれか1つを選択し、選択したオーディオストリームを、後段の1stオーディオデコーダ75−1または、2ndオーディオデコーダ75−2に供給する。ここで、1stオーディオデコーダ75−1へ同時に入力されるオーディオストリームは、メインClip AVストリームファイルまたはサブClip AVストリームファイルのどちらかから分離されたストリームである。また、2ndオーディオデコーダ75−2へ同時に入力されるオーディオストリームは、サブClipから分離されたストリームである。   Further, the switch 59 selects one of the audio stream included in the main Clip AV stream file supplied from the PID filter 55 and the audio stream included in the sub Clip AV stream file, and selects the selected audio stream. Are supplied to the 1st audio decoder 75-1 or the 2nd audio decoder 75-2 in the subsequent stage. Here, the audio stream simultaneously input to the 1st audio decoder 75-1 is a stream separated from either the main Clip AV stream file or the sub Clip AV stream file. The audio stream that is simultaneously input to the 2nd audio decoder 75-2 is a stream separated from the sub clip.

具体的には、スイッチ59は、図15または図17のstream_entry()のtypeの値によって、その選択を切り替える。例えば、type=1である場合、スイッチ59は、PIDフィルタ55を介して供給されるメインClip AVストリームファイルのオーディオストリームを、1stオーディオデコーダ75−1に供給するよう選択を切り替える。また、例えば、type=2である場合、スイッチ59は、PIDフィルタ56を介して供給されるサブClip AVストリームファイルのオーディオストリームを、1stオーディオデコーダ75−1または2ndオーディオデコーダ75−2に供給するよう選択を切り替える。   Specifically, the switch 59 switches the selection according to the value of the type of stream_entry () in FIG. 15 or FIG. For example, when type = 1, the switch 59 switches the selection so that the audio stream of the main Clip AV stream file supplied via the PID filter 55 is supplied to the 1st audio decoder 75-1. For example, when type = 2, the switch 59 supplies the audio stream of the sub Clip AV stream file supplied through the PID filter 56 to the 1st audio decoder 75-1 or the 2nd audio decoder 75-2. Switch the selection.

例えば、メインClip AVストリームファイルのオーディオストリームと、サブClip AVストリームファイルのオーディオストリームとのミキシング再生が指令された場合(すなわち、図14を用いて説明した第1のSTN_tableのStream_entry()ではtype=3、図16用いて説明した第2のSTN_tableのStream_entry()では、secondary_audio_present_flagが1とされ、1番目のStream_entry()でtype=1、2番目のStream_entry()でtype=2とされるオーディオの再生が指令された場合)、スイッチ59は、PIDフィルタ55を介して供給されるメインClip AVストリームファイルのオーディオストリームを1stオーディオデコーダ75−1に供給するよう選択を切り替えるとともに、PIDフィルタ56を介して供給されるサブClip AVストリームファイルのオーディオストリームを2ndオーディオデコーダ75−2に供給するよう選択を切り替える。   For example, in the case where mixing playback of the audio stream of the main Clip AV stream file and the audio stream of the sub Clip AV stream file is instructed (that is, type = in Stream_entry () of the first STN_table described using FIG. 3. In Stream_entry () of the second STN_table described with reference to FIG. 16, secondary_audio_present_flag is 1, type = 1 in the first Stream_entry (), and type = 2 in the second Stream_entry (). When playback is instructed), the switch 59 switches the selection so that the audio stream of the main Clip AV stream file supplied via the PID filter 55 is supplied to the 1st audio decoder 75-1, and also via the PID filter 56. 2nd audio stream of the sub clip AV stream file supplied Toggle selection to supply the Odekoda 75-2.

また、例えば、2つのサブClip AVストリームファイルのオーディオストリームのミキシング再生が指令された場合(図16のsecondary_audio_present_flagが1、1番目のStream_entry()でtype=2、2番目のStream_entry()でtype=2であるオーディオストリームの再生が指令された場合)、スイッチ59は、PIDフィルタ56を介して供給されるサブClip AVストリームファイルのオーディオストリームが、図16のstream_entry()のオーディオストリームID(audio_stream_id)のforループの中の最初のstream_entry()により定義されるオーディオストリームに対応する場合、1stオーディオデコーダ75−1に供給するよう選択を切り替え、PIDフィルタ56を介して供給されるサブClip AVストリームファイルのオーディオストリームが、図16のstream_entry()のオーディオストリームID(audio_stream_id)のforループの中の2番目のstream_entry()により定義されるオーディオストリームに対応する場合、2ndオーディオデコーダ75−2に供給するよう選択を切り替える。   Also, for example, when the reproduction reproduction of the audio stream of two sub Clip AV stream files is instructed (secondary_audio_present_flag in FIG. 16 is 1, type = 2 in the first Stream_entry (), type = in the second Stream_entry () 2), the audio stream of the sub Clip AV stream file supplied via the PID filter 56 is an audio stream ID (audio_stream_id) of the stream_entry () in FIG. The sub clip AV stream file supplied via the PID filter 56 is switched to be supplied to the first audio decoder 75-1 when corresponding to the audio stream defined by the first stream_entry () in the for loop. Is an audio stream of stream_entry () in FIG. If corresponding to the audio stream defined by the over arm ID (audio_stream_id) of for 2 th stream_entry in the loop (), it switches the selection to supply the 2nd audio decoder 75-2.

すなわち、1stオーディオデコーダ75−1には、メインClip AVストリームファイル用リードバッファであるバッファ52から読み出されたオーディオストリーム(図15の例でtype=1またはtype=3、もしくは図17の例でtype=1である場合)、または、サブClip AVストリームファイル用リードバッファであるバッファ53から読み出されたオーディオストリーム(図15の例でtype=2またはtype=3、もしくは、図17の例でtype=2である場合)が供給され、2ndオーディオデコーダ75−2には、サブClip AVストリームファイル用リードバッファであるバッファ53から読み出されたオーディオストリームのみが供給される。   That is, the 1st audio decoder 75-1 receives the audio stream read from the buffer 52, which is the main Clip AV stream file read buffer (type = 1 or type = 3 in the example of FIG. 15, or in the example of FIG. type = 1), or an audio stream read from the buffer 53 which is a sub clip AV stream file read buffer (type = 2 or type = 3 in the example of FIG. 15, or in the example of FIG. 17) (if type = 2) is supplied, and only the audio stream read from the buffer 53 which is the sub-clip AV stream file read buffer is supplied to the 2nd audio decoder 75-2.

1stオーディオデコーダ75−1は、オーディオストリームをデコードし、デコードしたオーディオストリームのデータをミキシング処理部101に供給する。また、2ndオーディオデコーダ75−2は、オーディオストリームをデコードし、デコードしたオーディオストリームのデータをミキシング処理部101に供給する。   The 1st audio decoder 75-1 decodes the audio stream and supplies the decoded audio stream data to the mixing processing unit 101. The 2nd audio decoder 75-2 decodes the audio stream and supplies the decoded audio stream data to the mixing processing unit 101.

ここで、2つのオーディオストリームを重畳して再生するような場合、1stオーディオデコーダ75−1によりデコードされたオーディオストリームと、2ndオーディオデコーダ75−2によりデコードされたオーディオストリームとが、ミキシング処理部101に供給される。   Here, when two audio streams are superimposed and reproduced, the audio stream decoded by the 1st audio decoder 75-1 and the audio stream decoded by the 2nd audio decoder 75-2 are mixed into the mixing processing unit 101. To be supplied.

例えば、メインパスで参照される1stオーディオストリームとサブパスで参照される2ndオーディオストリームとを重畳して再生するような場合(図15の例ではtype=3であり、図16ではsecondary_audio_present_flagが1、1番目のStream_entry()のtype=1、2番目のStream_entry()のtype=2である場合)、1stオーディオデコーダ75−1によりデコードされたメインClip AVストリームファイルのオーディオストリームと、2ndオーディオデコーダ75−2によりデコードされたサブClip AVストリームファイルのオーディオストリームとが、ミキシング処理部101に供給される。   For example, when the 1st audio stream referred to in the main path and the 2nd audio stream referred to in the sub path are superimposed and reproduced (type = 3 in the example of FIG. 15, secondary_audio_present_flag is 1, 1 in FIG. 16). The first Stream_entry () type = 1, the second Stream_entry () type = 2), the audio stream of the main Clip AV stream file decoded by the 1st audio decoder 75-1 and the 2nd audio decoder 75- The audio stream of the sub-Clip AV stream file decoded in step 2 is supplied to the mixing processing unit 101.

また、例えば、サブパスで参照される2本のオーディオストリームを重畳して再生するような場合(図16のsecondary_audio_present_flagが1であり、1番目および2番目のStream_entry()のいずれにおいてもtypeが2である場合)、1stオーディオデコーダ75−1によりデコードされたサブClip AVストリームファイルのオーディオストリーム(type=2、図16の最初のstream entry()で定義されるオーディオストリーム)と、2ndオーディオデコーダ75−2によりデコードされたサブClip AVストリームファイルのオーディオストリーム(type=2、図16のsecondary_audio_present_flagが1である場合に、2番目のstream entry()で定義されるオーディオストリーム)とが、ミキシング処理部101に供給される。   Also, for example, when two audio streams referenced in the sub path are superimposed and reproduced (secondary_audio_present_flag in FIG. 16 is 1, and type is 2 in both the first and second Stream_entry () In some cases, the audio stream of the sub Clip AV stream file (type = 2, the audio stream defined by the first stream entry () in FIG. 16) decoded by the 1st audio decoder 75-1 and the 2nd audio decoder 75- 2, the audio stream of the sub-Clip AV stream file (type = 2, when the secondary_audio_present_flag in FIG. 16 is 1) is the mixing processing unit 101. To be supplied.

ミキシング処理部101は、1stオーディオデコーダ75−1からのオーディオデータと、2ndオーディオデコーダ75−2からのオーディオデータとをミキシング(重畳)し、後段のミキシング処理部97に出力する。なお、本実施の形態においては、1stオーディオデコーダ75−1から出力されるオーディオデータと2ndオーディオデコーダ75−2から出力されるオーディオデータとをミキシング(重畳)することを、合成するとも称する。すなわち、合成とは、2つのオーディオデータを、ミキシングすることも示すものとする。   The mixing processing unit 101 mixes (superimposes) the audio data from the 1st audio decoder 75-1 and the audio data from the 2nd audio decoder 75-2, and outputs the mixed data to the subsequent mixing processing unit 97. In the present embodiment, mixing (superimposing) the audio data output from the 1st audio decoder 75-1 and the audio data output from the 2nd audio decoder 75-2 is also referred to as synthesis. In other words, synthesis means to mix two audio data.

また、スイッチ32により選択されたサウンドデータは、バッファ95に供給され、バッファリングされる。バッファ95は、所定のタイミングでサウンドデータをミキシング処理部97に供給する。サウンドデータは、例えば、メニュー選択などによる効果音のデータなどである。ミキシング処理部97は、ミキシング処理部101によりミキシングされたオーディオデータ(1stオーディオデコーダ75−1から出力されたオーディオデータと2ndオーディオデコーダ75−2から出力されたオーディオデータとがミキシングされたオーディオデータ)と、バッファ95から供給されてきたサウンドデータをミキシング(重畳、または合成)し、音声信号として出力する。   The sound data selected by the switch 32 is supplied to the buffer 95 and buffered. The buffer 95 supplies the sound data to the mixing processing unit 97 at a predetermined timing. The sound data is, for example, sound effect data by menu selection or the like. The mixing processing unit 97 is the audio data mixed by the mixing processing unit 101 (audio data obtained by mixing the audio data output from the 1st audio decoder 75-1 and the audio data output from the 2nd audio decoder 75-2). The sound data supplied from the buffer 95 is mixed (superimposed or synthesized) and output as an audio signal.

テキストサブタイトル用リードバッファであるバッファ54から読み出されたデータは、所定のタイミングで、後段のテキストサブタイトルコンポジション(デコーダ)76へ出力される。テキストサブタイトルコンポジション76は、Text-STデータをデコードし、スイッチ77に供給する。   The data read from the buffer 54 that is a text subtitle read buffer is output to the text subtitle composition (decoder) 76 at the subsequent stage at a predetermined timing. The text subtitle composition 76 decodes the Text-ST data and supplies it to the switch 77.

スイッチ77は、プレゼンテーショングラフィックスデコーダ73によりデコードされたプレゼンテーショングラフィックスストリームと、Text-ST(テキストサブタイトルデータ)のうち、いずれかを選択し、選択したデータをプレゼンテーショングラフィックスプレーン生成部93に供給する。すなわち、プレゼンテーショングラフィックスプレーン93へ同時に供給される字幕画像は、プレゼンテーショングラフィックスデコーダ73またはテキストサブタイトル(Text-ST)コンポジション76のうちのいずれかの出力である。また、プレゼンテーショングラフィックスデコーダ73へ同時に入力されるプレゼンテーショングラフィックスストリームは、メインClip AVストリームファイルまたはサブClip AVストリームファイルのいずれかから分離されたストリームである(スイッチ57により選択される)。したがって、プレゼンテーショングラフィックスプレーン93へ同時に出力される字幕画像は、メインClip AVストリームファイルからのプレゼンテーショングラフィックスストリーム、またはサブClip AVストリームファイルからのからのプレゼンテーショングラフィックスストリーム、またはテキストサブタイトルデータのデコード出力である。   The switch 77 selects either the presentation graphics stream decoded by the presentation graphics decoder 73 or Text-ST (text subtitle data), and supplies the selected data to the presentation graphics plane generating unit 93. . That is, the subtitle image simultaneously supplied to the presentation graphics plane 93 is an output of either the presentation graphics decoder 73 or the text subtitle (Text-ST) composition 76. In addition, the presentation graphics stream that is simultaneously input to the presentation graphics decoder 73 is a stream separated from either the main Clip AV stream file or the sub Clip AV stream file (selected by the switch 57). Therefore, the subtitle image that is simultaneously output to the presentation graphics plane 93 is a decoding output of the presentation graphics stream from the main Clip AV stream file, or the presentation graphics stream from the sub Clip AV stream file, or text subtitle data. It is.

バックグラウンドプレーン生成部91は、バックグラウンドデコーダ71から供給されたバックグラウンドイメージデータに基づいて、例えば、ビデオ画像を縮小表示した場合に壁紙画像となるバックグラウンドプレーンを生成し、これを、ビデオデータ処理部96に供給する。ビデオプレーン生成部92は、ビデオデコーダ72から供給されたビデオデータに基づいて、ビデオプレーンを生成し、これをビデオデータ処理部96に供給する。
プレゼンテーショングラフィックスプレーン生成部93は、スイッチ77により選択され、供給されたデータ(プレゼンテーショングラフィックスストリームまたはテキストサブタイトルデータ)に基づいて、例えば、レンダリング画像であるプレゼンテーショングラフィックスプレーンを生成し、これをビデオデータ処理部96に供給する。インタラクティブグラフィックスプレーン生成部94は、インタラクティブグラフィックスデコーダ74から供給されたインタラクティブグラフィックスストリームのデータに基づいて、インタラクティブグラフィックスプレーンを生成し、これをビデオデータ処理部96に供給する。
Based on the background image data supplied from the background decoder 71, for example, the background plane generation unit 91 generates a background plane that becomes a wallpaper image when the video image is displayed in a reduced size, and this is converted into the video data. This is supplied to the processing unit 96. The video plane generation unit 92 generates a video plane based on the video data supplied from the video decoder 72 and supplies this to the video data processing unit 96.
The presentation graphics plane generation unit 93 generates, for example, a presentation graphics plane which is a rendering image based on the data (presentation graphics stream or text subtitle data) selected by the switch 77 and supplied, and this is converted into a video. The data is supplied to the data processing unit 96. The interactive graphics plane generating unit 94 generates an interactive graphics plane based on the data of the interactive graphics stream supplied from the interactive graphics decoder 74, and supplies this to the video data processing unit 96.

ビデオデータ処理部96は、バックグラウンドプレーン生成部91からのバックグラウンドプレーン、ビデオプレーン生成部92からのビデオプレーン、プレゼンテーショングラフィックスプレーン生成部93からのプレゼンテーショングラフィックスプレーン、およびインタラクティブグラフィックスプレーン生成部94からのインタラクティブグラフィックスプレーンを合成し、ビデオ信号として出力する。   The video data processing unit 96 includes a background plane from the background plane generation unit 91, a video plane from the video plane generation unit 92, a presentation graphics plane from the presentation graphics plane generation unit 93, and an interactive graphics plane generation unit. The interactive graphics plane from 94 is synthesized and output as a video signal.

これらのスイッチ57乃至59、並びにスイッチ77は、操作入力部29を介するユーザからの選択に基づいて、または、対象となるデータが含まれるファイルが供給される側に、スイッチを切り替える。例えば、サブClip AVストリームファイルのみにしか、オーディオストリームが含まれていない場合、スイッチ59はサブClip AVストリームファイルを供給する側(PIDフィルタ56の出力)にスイッチを切り替える。   The switches 57 to 59 and the switch 77 are switched based on the selection from the user via the operation input unit 29 or to the side where the file including the target data is supplied. For example, when the audio stream is included only in the sub-Clip AV stream file, the switch 59 switches the switch to the side that supplies the sub-Clip AV stream file (the output of the PID filter 56).

次に、図28の再生装置1における再生処理を、図29乃至図31のフローチャートを参照して説明する。なお、この処理は、ユーザにより操作入力部29を介して、所定のAVストリームの再生が指令されたとき開始される。   Next, playback processing in the playback apparatus 1 of FIG. 28 will be described with reference to the flowcharts of FIGS. Note that this process is started when a reproduction of a predetermined AV stream is instructed by the user via the operation input unit 29.

ステップS11において、コントローラ21は、ストレージドライブ22を介して、記録媒体11やHDD(Hard Disk Drive)などのローカルストレージ24に記録されているPlayListファイルを読み出す。例えば、図9を用いて説明したPlayListのファイルが読み出される。   In step S <b> 11, the controller 21 reads out the PlayList file recorded in the local storage 24 such as the recording medium 11 or an HDD (Hard Disk Drive) via the storage drive 22. For example, the PlayList file described with reference to FIG. 9 is read.

ステップS12において、コントローラ21は、メインClip AVストリームファイル、サブClip AVストリームファイル、およびテキストサブタイトルデータ(Text-STデータ)を読み出す。具体的には、コントローラ21は、図9を用いて説明したPlayListに含まれるPlayItemに基づいて、メインClipから対応するメインClip AVストリームファイルを読み出す。また、コントローラ21は、PlayListに含まれるSubPathで参照される、図10乃至図12を用いて説明したSubPlayItemに基づいて、サブClip AVストリームファイルと、テキストサブタイトルデータを読み出す。   In step S12, the controller 21 reads out the main Clip AV stream file, the sub Clip AV stream file, and the text subtitle data (Text-ST data). Specifically, the controller 21 reads out the corresponding main Clip AV stream file from the main Clip based on the PlayItem included in the PlayList described with reference to FIG. Further, the controller 21 reads the sub Clip AV stream file and the text subtitle data based on the SubPlayItem described with reference to FIGS. 10 to 12 that is referred to by the SubPath included in the PlayList.

ステップS13において、コントローラ21は、読み出したデータ(メインClip AVストリームファイル、サブClip AVストリームファイル、およびテキストサブタイトルデータ)を対応するバッファ51乃至54に供給するようスイッチ32を制御する。具体的には、コントローラ21は、バックグラウンドイメージデータをバッファ51に供給し、メインClip AVストリームファイルのデータをバッファ52に供給し、サブClip AVストリームファイルのデータをバッファ53に供給し、Text-STのデータをバッファ54に供給するようスイッチ32を切り替える。   In step S <b> 13, the controller 21 controls the switch 32 to supply the read data (main Clip AV stream file, sub Clip AV stream file, and text subtitle data) to the corresponding buffers 51 to 54. Specifically, the controller 21 supplies background image data to the buffer 51, supplies data of the main Clip AV stream file to the buffer 52, supplies data of the sub Clip AV stream file to the buffer 53, and Text- The switch 32 is switched to supply ST data to the buffer 54.

ステップS14において、スイッチ32はコントローラ21からの制御に基づいて、スイッチ32を切り替える。これにより、バックグラウンドイメージデータはバッファ51に供給され、メインClip AVストリームファイルのデータはバッファ52に供給され、サブClip AVストリームファイルのデータはバッファ53に供給され、テキストサブタイトルデータはバッファ54に供給される。   In step S <b> 14, the switch 32 switches the switch 32 based on the control from the controller 21. Thereby, the background image data is supplied to the buffer 51, the data of the main Clip AV stream file is supplied to the buffer 52, the data of the sub Clip AV stream file is supplied to the buffer 53, and the text subtitle data is supplied to the buffer 54. Is done.

ステップS15において、各バッファ51乃至54は、供給されたデータをそれぞれバッファリングする。具体的には、バッファ51は、バックグラウンドイメージデータをバッファリングし、バッファ52は、メインClip AVストリームファイルのデータをバッファリングし、バッファ53は、サブClip AVストリームファイルのデータをバッファリングし、バッファ54は、Text-STデータをバッファリングする。   In step S15, each of the buffers 51 to 54 buffers the supplied data. Specifically, the buffer 51 buffers background image data, the buffer 52 buffers data of the main Clip AV stream file, the buffer 53 buffers data of the sub Clip AV stream file, The buffer 54 buffers Text-ST data.

ステップS16において、バッファ51は、バックグラウンドイメージデータをバックグラウンドデコーダ71に出力する。   In step S <b> 16, the buffer 51 outputs the background image data to the background decoder 71.

ステップS17において、バッファ52はメインClip AVストリームファイルのストリームデータをPIDフィルタ55に出力する。   In step S 17, the buffer 52 outputs the stream data of the main Clip AV stream file to the PID filter 55.

ステップS18において、PIDフィルタ55は、メインClip AVストリームファイルを構成するTS(transport stream)パケットに付されているPIDに基づいて、各エレメンタリストリームのデコーダへ振り分ける。具体的には、PIDフィルタ55は、ビデオストリームをビデオデコーダ72に供給し、プレゼンテーショングラフィックスストリームをプレゼンテーショングラフィックスデコーダ73への供給元となるスイッチ57に供給し、インタラクティブグラフィックスストリームをインタラクティブグラフィックスデコーダ74への供給元となるスイッチ58に供給し、オーディオストリームを1stオーディオデコーダ75−1への供給元となるスイッチ59に供給する。すなわち、ビデオストリーム、プレゼンテーショングラフィックスストリーム、インタラクティブグラフィックスストリーム、およびオーディオストリームには、それぞれ異なるPIDが付されている。   In step S18, the PID filter 55 distributes to the decoder of each elementary stream based on the PID attached to the TS (transport stream) packet constituting the main Clip AV stream file. Specifically, the PID filter 55 supplies the video stream to the video decoder 72, supplies the presentation graphics stream to the switch 57 serving as the supply source to the presentation graphics decoder 73, and converts the interactive graphics stream to the interactive graphics. The audio stream is supplied to the switch 58 serving as the supply source to the decoder 74, and the audio stream is supplied to the switch 59 serving as the supply source to the 1st audio decoder 75-1. That is, different PIDs are attached to the video stream, presentation graphics stream, interactive graphics stream, and audio stream, respectively.

ステップS19において、バッファ53は、サブClip AVストリームファイルのストリームデータをPIDフィルタ56に出力する。   In step S <b> 19, the buffer 53 outputs the stream data of the sub Clip AV stream file to the PID filter 56.

ステップS20において、PIDフィルタ56は、PIDに基づいて、各エレメンタリストリームを、それぞれのエレメンタリストリームに対応するデコーダへ振り分ける。具体的には、PIDフィルタ56は、プレゼンテーショングラフィックスストリームをプレゼンテーショングラフィックスデコーダ73への供給元となるスイッチ57に供給し、インタラクティブグラフィックスストリームをインタラクティブグラフィックスデコーダ74への供給元となるスイッチ58に供給し、オーディオストリームを1stオーディオデコーダ75−1と2ndオーディオデコーダ75−2への供給元となるスイッチ59に供給する。   In step S20, the PID filter 56 distributes each elementary stream to a decoder corresponding to each elementary stream based on the PID. Specifically, the PID filter 56 supplies the presentation graphics stream to the switch 57 serving as the supply source to the presentation graphics decoder 73, and the switch 58 serving as the supply source to the interactive graphics decoder 74. And the audio stream is supplied to the switch 59 serving as a supply source to the 1st audio decoder 75-1 and the 2nd audio decoder 75-2.

ステップS21において、PIDフィルタ55およびPIDフィルタ56の後段のスイッチ57乃至59は、コントローラ21からの制御に基づいて、メインClip AVストリームファイルとサブClip AVストリームファイルのいずれかを選択する。具体的には、スイッチ57は、PIDフィルタ55から供給されたメインClip AVストリームファイルまたはサブClip AVストリームファイルのプレゼンテーショングラフィックスストリームを選択し、後段のプレゼンテーショングラフィックスデコーダ73に供給する。また、スイッチ58は、PIDフィルタ55から供給されたメインClip AVストリームファイルまたはサブClip AVストリームファイルのインタラクティブグラフィックスストリームを選択し、後段のインタラクティブグラフィックスストリームデコーダ74に供給する。さらに、スイッチ59は、PIDフィルタ55から供給されたメインClip AVストリームファイルまたはPIDフィルタ56から供給されたサブCli AVストリームファイルのオーディオストリームを選択し、後段の1stオーディオデコーダ75−1に供給する。なお、音声を切り替えるような指令がユーザにより行われた場合には、スイッチ59は、サブClip AVストリームファイルのオーディオストリームを2ndオーディオデコーダ75−2に供給したりもするが、ここでは、音声が切り替えられる前の処理について説明しているので、その説明は省略している。   In step S21, the switches 57 to 59 subsequent to the PID filter 55 and the PID filter 56 select either the main Clip AV stream file or the sub Clip AV stream file based on control from the controller 21. Specifically, the switch 57 selects the presentation graphics stream of the main Clip AV stream file or the sub Clip AV stream file supplied from the PID filter 55 and supplies the presentation graphics stream to the subsequent presentation graphics decoder 73. Further, the switch 58 selects the interactive graphics stream of the main Clip AV stream file or the sub Clip AV stream file supplied from the PID filter 55 and supplies the interactive graphics stream to the subsequent interactive graphics stream decoder 74. Further, the switch 59 selects the audio stream of the main Clip AV stream file supplied from the PID filter 55 or the sub Clip AV stream file supplied from the PID filter 56, and supplies the selected audio stream to the first audio decoder 75-1. Note that when the user issues a command to switch the audio, the switch 59 may supply the audio stream of the sub Clip AV stream file to the 2nd audio decoder 75-2. Since the process before switching is described, the description is omitted.

ステップS22において、バッファ54は、テキストサブタイトルデータをテキストサブタイトルコンポジション76に出力する。   In step S <b> 22, the buffer 54 outputs the text subtitle data to the text subtitle composition 76.

ステップS23において、バックグラウンドデコーダ71は、バックグラウンドイメージデータをデコードし、これをバックグラウンドプレーン生成部91に出力する。   In step S <b> 23, the background decoder 71 decodes the background image data and outputs it to the background plane generation unit 91.

ステップS24において、ビデオデコーダ72は、ビデオストリームをデコードし、これをビデオプレーン生成部92に出力する。   In step S <b> 24, the video decoder 72 decodes the video stream and outputs it to the video plane generation unit 92.

ステップS25において、プレゼンテーショングラフィックスデコーダ73は、スイッチ57により選択され、供給されたプレゼンテーショングラフィックスストリームをデコードし、これを後段のスイッチ77に出力する。   In step S25, the presentation graphics decoder 73 decodes the presentation graphics stream selected and supplied by the switch 57, and outputs it to the subsequent switch 77.

ステップS26において、インタラクティブグラフィックスデコーダ74は、スイッチ58により選択され、供給されたインタラクティブグラフィックスストリームをデコードし、これを後段のインタラクティブグラフィックスプレーン生成部94に出力する。   In step S <b> 26, the interactive graphics decoder 74 decodes the interactive graphics stream selected and supplied by the switch 58, and outputs this to the subsequent interactive graphics plane generating unit 94.

ステップS27において、1stオーディオデコーダ75−1は、スイッチ59により選択され、供給されたオーティオデータをデコードし、これを後段のミキシング処理部101に出力する。音声の切り替えがユーザにより指示されていない状態における再生処理(図29乃至図32の再生処理)では、2ndオーディオデコーダ75−2からオーディオデータが出力されることはないので、ミキシング処理部101は、1stオーディオデコーダ75−1から出力されたオーディオデータを、そのまま後段のミキシング処理部97に供給する。   In step S27, the 1st audio decoder 75-1 decodes the supplied audio data selected by the switch 59 and outputs it to the mixing processing unit 101 at the subsequent stage. In the reproduction process (reproduction process in FIGS. 29 to 32) in a state where the user has not instructed to switch the audio, the audio data is not output from the 2nd audio decoder 75-2. The audio data output from the 1st audio decoder 75-1 is supplied to the subsequent mixing processing unit 97 as it is.

ステップS28において、Text-STコンポジション76は、テキストサブタイトルデータをデコードし、これを後段のスイッチ77に出力する。   In step S28, the Text-ST composition 76 decodes the text subtitle data and outputs it to the switch 77 at the subsequent stage.

ステップS29において、スイッチ77は、プレゼンテーショングラフィックスデコーダ73またはText-STコンポジション76からのデータのいずれかを選択する。具体的には、スイッチ77は、プレゼンテーショングラフィックスデコーダ73によりデコードされたプレゼンテーショングラフィックスストリームと、Text-ST(テキストサブタイトルデータ)のうち、いずれか1つを選択し、選択したデータをプレゼンテーショングラフィックスプレーン生成部93に供給する。   In step S29, the switch 77 selects either the presentation graphics decoder 73 or the data from the Text-ST composition 76. Specifically, the switch 77 selects any one of the presentation graphics stream decoded by the presentation graphics decoder 73 and Text-ST (text subtitle data), and the selected data is displayed in the presentation graphics sprayer. Supplied to the generator 93.

ステップS30において、バックグラウンドプレーン生成部91は、バックグラウンドデコーダ71から供給されたバックグラウンドイメージデータに基づいて、バックグラウンドプレーンを生成する。   In step S <b> 30, the background plane generation unit 91 generates a background plane based on the background image data supplied from the background decoder 71.

ステップS31において、ビデオプレーン生成部92は、ビデオデコーダ72から供給されたビデオデータに基づいて、ビデオプレーンを生成する。   In step S31, the video plane generating unit 92 generates a video plane based on the video data supplied from the video decoder 72.

ステップS32において、プレゼンテーショングラフィックスプレーン生成部93は、ステップS29の処理でスイッチ77により選択され、供給されたプレゼンテーショングラフィックスデコーダ73からのデータまたはText-STコンポジション76からのデータに基づいて、プレゼンテーショングラフィックスプレーンを生成する。   In step S32, the presentation graphics plane generating unit 93 selects the presentation based on the data from the presentation graphics decoder 73 or the data from the Text-ST composition 76 selected and supplied by the switch 77 in the process of step S29. Generate a graphics plane.

ステップS33において、インタラクティブグラフィックスプレーン生成部94は、インタラクティブグラフィックスデコーダ74から供給されたインタラクティブグラフィックスストリームのデータに基づいて、インタラクティブグラフィックスプレーンを生成する。   In step S <b> 33, the interactive graphics plane generating unit 94 generates an interactive graphics plane based on the interactive graphics stream data supplied from the interactive graphics decoder 74.

ステップS34において、バッファ95は、ステップS14の処理で選択され、供給されたサウンドデータをバッファリングし、所定のタイミングでミキシング処理部97に供給する。   In step S34, the buffer 95 buffers the sound data selected and supplied in step S14 and supplies the sound data to the mixing processing unit 97 at a predetermined timing.

ステップS35において、ビデオデータ処理部96は、各プレーンのデータを合成し、出力する。具体的には、バックグラウンドプレーン生成部91、ビデオプレーン生成部92、プレゼンテーショングラフィックスプレーン生成部93、およびインタラクティブグラフィックスプレーン生成部94からのデータを合成し、ビデオデータとして出力する。   In step S35, the video data processing unit 96 combines and outputs the data of each plane. Specifically, the data from the background plane generation unit 91, the video plane generation unit 92, the presentation graphics plane generation unit 93, and the interactive graphics plane generation unit 94 are combined and output as video data.

ステップS36において、ミキシング処理部97は、オーディオデータ(ミキシング処理部101から出力されたオーディオデータ)とサウンドデータをミキシング(合成)し、出力し、処理が終了される。   In step S36, the mixing processing unit 97 mixes (synthesizes) audio data (audio data output from the mixing processing unit 101) and sound data, and outputs them, and the processing is completed.

図29乃至図31を用いて説明した処理により、PlayListに含まれるメインパスとサブパスに関連付けられているメインClip AVストリームファイル、サブClip AVストリームファイル、およびテキストサブタイトルデータが参照され、再生される。PlayListにメインパスとサブパスを設けるようにし、サブパスで、メインパスで指定するClip AVストリームファイルとは異なるClip AVストリームファイルを指定可能な構成としたので、メインパスのPlayItemが指すメインClipとは異なるClipであるサブClipに含まれるサブClip AVストリームファイルのデータとメインClipに含まれるメインClip AVストリームファイルのデータを一緒に(同じタイミングで)再生することができる。   29 to 31, the main Clip AV stream file, the sub Clip AV stream file, and the text subtitle data associated with the main path and sub path included in the PlayList are referred to and reproduced. Since the main path and sub path are provided in the PlayList, and the clip AV stream file different from the clip AV stream file specified by the main path can be specified by the sub path, it is different from the main clip indicated by the PlayItem of the main path. The sub clip AV stream file data included in the sub clip that is a clip and the main clip AV stream file data included in the main clip can be reproduced together (at the same timing).

なお、図29乃至図31において、ステップS16,ステップS17の処理は、その順番が逆であってもよいし、並行して実行されてもよい。また、ステップS18、ステップS20の処理も、その順番が逆であってもよいし、並行して実行されてもよい。さらに、ステップS23乃至ステップS28の処理も、その順番が逆であってもよいし、並行して実行されてもよい。また、ステップS30乃至ステップS33の処理も、その順番が逆であってもよいし、並行して実行されてもよい。さらに、ステップS35,ステップS36の処理も、その順番が逆であってもよいし、並行して実行されてもよい。すなわち、図28において、縦に同じ階層のバッファ51乃至54の処理、スイッチ57乃至59の処理、デコーダ71乃至76の処理、プレーン生成部91乃至94の処理、ビデオデータ処理部96およびミキシング処理部97の処理は、それぞれ、並行して実行されてもよいし、その順番は問わない。   In FIG. 29 to FIG. 31, the processing of step S16 and step S17 may be performed in reverse order or in parallel. In addition, the processes in step S18 and step S20 may be performed in reverse order or in parallel. Further, the order of steps S23 to S28 may be reversed or may be executed in parallel. In addition, the processes in steps S30 to S33 may be executed in reverse order or in parallel. Furthermore, the order of steps S35 and S36 may be reversed, or may be executed in parallel. That is, in FIG. 28, the processing of buffers 51 to 54 in the same vertical layer, the processing of switches 57 to 59, the processing of decoders 71 to 76, the processing of plane generation units 91 to 94, the video data processing unit 96, and the mixing processing unit The processes 97 may be executed in parallel, and the order thereof is not limited.

次に、音声の切り替えが指示された場合の再生装置1における処理を、図32のフローチャートを参照して説明する。なお、この処理は、例えば、図29乃至図31の再生処理の実行中に実行される処理である。   Next, processing in the playback device 1 when an instruction to switch audio is given will be described with reference to the flowchart of FIG. This process is, for example, a process executed during the execution of the reproduction process of FIGS.

ステップS51において、コントローラ21は、オーディオストリーム番号(IDでもよい)の順番リストを取得する。具体的には、コントローラ21は、図13を用いて説明したPlayItemのSTN_table()を参照し、さらに図14または図16を用いて説明したSTN_table()にエントリーされているオーディオストリーム番号(ID)の順番のリストを取得する。この処理は、図29乃至図31の再生処理が開始されたときに実行される処理である。   In step S51, the controller 21 acquires an order list of audio stream numbers (may be IDs). Specifically, the controller 21 refers to the STN_table () of the PlayItem described with reference to FIG. 13, and further, the audio stream number (ID) entered in the STN_table () described with reference to FIG. 14 or FIG. Get a list of the order. This process is a process executed when the reproduction process of FIGS. 29 to 31 is started.

ユーザにより操作入力部29を介して、音声切り替えの指令が行われた場合、ステップS52において、コントローラ21は、ユーザからの音声切り替えの指令を受け付ける。
このとき、コントローラ21は、図示せぬ外部の表示装置を制御して、図26に示されるようなストリームナンバーテーブルを外部の表示装置に表示させるように制御してもよい。このように、コントローラ21は、ユーザに提供する音声信号と字幕信号の選択肢を表示させ、ユーザからの音声切り替え(音声選択)の指令を受け付ける。図32において、ステップS51の処理はあらかじめ実行されている処理であり、ユーザにより音声切り替えの指令が行われた場合に、ステップS52以降の処理が行われる。
When a voice switching command is issued by the user via the operation input unit 29, the controller 21 receives a voice switching command from the user in step S52.
At this time, the controller 21 may control an external display device (not shown) to display a stream number table as shown in FIG. 26 on the external display device. In this way, the controller 21 displays the audio signal and caption signal options to be provided to the user, and accepts an audio switching (audio selection) command from the user. In FIG. 32, the process of step S51 is a process that has been executed in advance, and the process after step S52 is performed when a voice switching command is issued by the user.

ステップS53において、コントローラ21は、再生しているオーディオストリーム番号の次のオーディオストリーム番号を取得する。例えば、図8のSubClip_entry_id=0のオーディオストリーム(Auxiliary audio stream)が再生されていた場合、次のSubClip_entry_id=1に対応するオーディオストリームファイルの番号が取得される。例えば、図26のA_SN=3のオーディオ3に対応するオーディオストリームファイルが再生されていた場合、次は、A_SN=4のオーディオ2+オーディオ4であるので、コントローラ21は、メインパスで参照される、オーディオ2に対応するオーディオストリームの番号と、サブパスで参照される、オーディオ4に対応するオーディオストリームの番号とを取得する。   In step S53, the controller 21 acquires the audio stream number next to the audio stream number being reproduced. For example, when an audio stream (Auxiliary audio stream) of SubClip_entry_id = 0 in FIG. 8 is being reproduced, the number of the audio stream file corresponding to the next SubClip_entry_id = 1 is acquired. For example, when an audio stream file corresponding to the audio 3 with A_SN = 3 in FIG. 26 is being reproduced, the next is audio 2 + audio 4 with A_SN = 4, so the controller 21 is referred to in the main path. The number of the audio stream corresponding to the audio 2 and the number of the audio stream corresponding to the audio 4 referred to by the sub path are acquired.

ステップS54において、コントローラ21は、取得した番号に対応するオーディオストリームを再生する機能を有するか否かを判定する。具体的には、コントローラ21は、stream_attribute()(図18)に記述されている内容に基づいて、例えば、必要に応じて、メモリ23に登録されている各種設定を参照することなどにより、取得した番号に対応するオーディオストリームを自分自身(再生装置1)が再生する機能を有するか否かを判定する。例えば、図15または図17のStream_entry()において、type=1である場合、コントローラ21は、取得した番号に対応するメインClip AVストリームファイルのオーディオストリームを再生する機能を有するか否かを判定する。また、例えば、図15または図17のStream_entry()において、type=2である場合、コントローラ21は、取得した番号に対応するサブClipのオーディオストリームを再生する機能を有するか否かを判定する。   In step S54, the controller 21 determines whether or not it has a function of reproducing an audio stream corresponding to the acquired number. Specifically, the controller 21 obtains, for example, by referring to various settings registered in the memory 23 as necessary, based on the contents described in the stream_attribute () (FIG. 18). It is determined whether or not the own (reproducing apparatus 1) has a function of reproducing the audio stream corresponding to the number. For example, in the case of type = 1 in the Stream_entry () of FIG. 15 or FIG. 17, the controller 21 determines whether or not it has a function of reproducing the audio stream of the main Clip AV stream file corresponding to the acquired number. . Further, for example, in the case of type = 2 in Stream_entry () of FIG. 15 or FIG. 17, the controller 21 determines whether or not it has a function of playing back the audio stream of the sub clip corresponding to the acquired number.

さらに、例えば、メインClip AVストリームファイルのオーディオストリームとサブClip AVストリームファイルのオーディオストリームとをミキシングして再生する場合(図14の第1のSTN_tableにおいて、図15のstream_entry()でtype=3である場合、または、図16の第2のSTN_tableにおいて、secondary_audio_present_flagが1であり、1番目のStream_entry()でtype=1であり、2番目のStream_entry()でtype=2である場合)、コントローラ21は、メインClip AVストリームファイルのオーディオストリームのみに対して、取得した番号に対応するオーディオストリームを再生する機能を有するか否かを判定する。ここで、メインClip AVストリームファイルのオーディオストリームとサブClipのオーディオストリームのミキシング再生をする場合、サブClip AVストリームファイルのオーディオストリームを再生する機能を有するか否かの判定は省略してもよい。
このことは、メインClip AVストリームファイルには、拡張されたストリームやマルチチャンネルのストリームが含まれる可能性があるが、サブClip AVストリームファイルだと、ある程度の制約が設けられている可能性が高く、特にサブClip AVストリームファイルに含まれるストリームが再生できるか否かを判定する必要がないからである。勿論、コントローラ21は、サブClip AVストリームファイルに含まれるストリームを再生できるか否かも判定するようにしてもよい。
Further, for example, when the audio stream of the main Clip AV stream file and the audio stream of the sub Clip AV stream file are mixed and reproduced (in the first STN_table of FIG. 14, type = 3 in the stream_entry () of FIG. In the second STN_table in FIG. 16, secondary_audio_present_flag is 1, type = 1 in the first Stream_entry (), and type = 2 in the second Stream_entry ()), the controller 21 Determines whether or not it has a function of playing back an audio stream corresponding to the acquired number for only the audio stream of the main Clip AV stream file. Here, in the case of mixing and reproducing the audio stream of the main Clip AV stream file and the audio stream of the sub Clip, determination as to whether or not it has a function of reproducing the audio stream of the sub Clip AV stream file may be omitted.
This is because the main Clip AV stream file may include an extended stream or a multi-channel stream, but a sub Clip AV stream file is likely to have some restrictions. This is because it is not particularly necessary to determine whether or not the stream included in the sub Clip AV stream file can be reproduced. Of course, the controller 21 may determine whether or not the stream included in the sub Clip AV stream file can be reproduced.

また、例えば、2本のサブClip AVストリームファイルのオーディオストリームをミキシングして再生する場合(図16の第2のSTN_tableにおいて、secondary_audio_present_flagが1であり、1番目のStream_entry()のtype=2であり、2番目のStream_entry()のtype=2である場合)、コントローラ21は、1stオーディオデコーダ75−1でデコードされる(図16のオーディオストリームID(audio_stream_id)のforループの中の最初の)オーディオストリームに対して、取得した番号に対応するオーディオストリームを再生する機能を有するか否かを判定する。ここで、図16のstream entry()においてsecondary_audio_present_flagが1とされた後の2番目にエントリーされているサブClip AVストリームファイルのオーディオストリームを再生する機能を有するか否かの判定は省略してもよい。このことは、図16のオーディオストリームID(audio_stream_id)のforループの中の最初のオーディオストリームは、映画の日本語吹き替えなどの音声と想定され、図16のstream entry()において2番目にエントリーされているサブClip AVストリームファイルのオーディオストリームとして想定される映画のディレクターズカットよりも高品質の音声である可能性が高いため、特に、品質の低い方の図16のstream entry()において2番目にエントリーされているサブClip AVストリームファイルのオーディオストリームを再生する機能を有するかの判定が必要ないからである。勿論、コントローラ21は、2本のサブパスで参照される2つのサブClip AVストリームファイルのオーディオストリームに対して、再生できるか否かを判定するようにしてもよい。   Also, for example, when audio streams of two sub-Clip AV stream files are mixed and played back (in the second STN_table of FIG. 16, secondary_audio_present_flag is 1 and the first Stream_entry () is type = 2. When type = 2 of the second Stream_entry () is 2), the controller 21 decodes the first audio decoder 75-1 (first in the for loop of the audio stream ID (audio_stream_id) in FIG. 16). It is determined whether or not the stream has a function of playing back an audio stream corresponding to the acquired number. Here, in the stream entry () of FIG. 16, whether or not it has a function of reproducing the audio stream of the sub-Clip AV stream file that is entered second after secondary_audio_present_flag is set to 1 may be omitted. Good. This is because the first audio stream in the for loop of the audio stream ID (audio_stream_id) in FIG. 16 is assumed to be a sound such as Japanese dubbing of a movie, and is entered second in the stream entry () in FIG. Since it is likely that the audio quality is higher than that of the director's cut of a movie assumed as an audio stream of the sub-Clip AV stream file, the second in the stream entry () in FIG. This is because it is not necessary to determine whether or not it has a function of reproducing the audio stream of the entered sub-Clip AV stream file. Of course, the controller 21 may determine whether or not the audio streams of the two sub Clip AV stream files referenced by the two sub paths can be reproduced.

ステップS54において、取得した番号に対応するオーディオストリームを再生する機能を有しないと判定された場合、ステップS55において、コントローラ21は、現在のストリーム番号の次のストリーム番号を取得する。すなわち、現在のストリーム番号のオーディオストリームを再生する機能を有さない場合には、そのストリーム番号は飛ばされ(再生対象とならず)、次のストリーム番号が取得される。そして、ステップS55の処理の後、処理はステップS54に戻り、それ以降の処理が繰り返される。すなわち、コントローラ21により自分自身が再生する機能を有するオーディオストリームの番号が取得されるまで、処理が繰り返される。   If it is determined in step S54 that the audio stream corresponding to the acquired number is not reproduced, the controller 21 acquires the next stream number after the current stream number in step S55. That is, when the audio stream having the current stream number is not reproduced, the stream number is skipped (not subject to reproduction), and the next stream number is acquired. And after the process of step S55, a process returns to step S54 and the process after it is repeated. That is, the process is repeated until the controller 21 obtains the number of an audio stream having a function of reproducing itself.

ステップS54において、取得した番号に対応するオーディオストリームを再生する機能を有すると判定された場合、ステップS56において、コントローラ21は、取得した番号に対応するメインClipに含まれるClip AVストリームファイルのオーディオストリームと、サブClipに含まれるClip AVストリームファイルのオーディオストリームとを調べる。例えば、図8の例の場合、取得されたSubClip_entry_id=1はSub Pathにより参照されるので、コントローラ21は、取得した番号に対応するオーディオストリームが、サブClip AVストリームファイルにあることを確認することができる。また、例えば、図15または図17のStream_entry()において、type=1である場合、コントローラ21は、取得した番号に対応するオーディオストリームが、メインClip AVストリームファイルにあることを確認する。さらに、例えば、図15または図17のStream_entry()において、type=2である場合、コントローラ21は、取得した番号に対応するオーディオストリームがサブClip AVストリームファイルにあることを確認する。また、例えば、メインClip AVストリームファイルとサブClip AVストリームファイルのオーディオストリームをミキシング再生する場合(図14の第1のSTN_tableにおいて図15のstream_entry()でtype=3である場合、または、図16の第2のSTN_tableにおいて、secondary_audio_present_flagが1であり、1番目のStream_entry()でtype=1であり、2番目のStream_entry()でtype=2である場合)、コントローラ21は、取得した番号に対応するオーディオストリームが、メインClip AVストリームファイルとサブClip AVストリームファイルの両方にあることを確認する。さらに、例えば、2本のサブClip AVストリームファイルのオーディオストリームをミキシング再生する場合(図16のsecondary_audio_present_flagが1であり、1番目のStream_entry()でtype=2であり、2番目のStream_entry()でtype=2である場合)、コントローラ21は、取得した番号に対応するオーディオストリームが、サブClip AVストリームファイルのみにあることを確認する。   When it is determined in step S54 that the audio stream corresponding to the acquired number is played back, in step S56, the controller 21 performs the audio stream of the Clip AV stream file included in the main Clip corresponding to the acquired number. And the audio stream of the Clip AV stream file included in the sub clip. For example, in the example of FIG. 8, the acquired SubClip_entry_id = 1 is referred to by the Sub Path, so the controller 21 confirms that the audio stream corresponding to the acquired number is in the sub Clip AV stream file. Can do. Also, for example, in the case of type = 1 in Stream_entry () of FIG. 15 or FIG. 17, the controller 21 confirms that the audio stream corresponding to the acquired number is in the main Clip AV stream file. Further, for example, in the case of type = 2 in Stream_entry () of FIG. 15 or FIG. 17, the controller 21 confirms that the audio stream corresponding to the acquired number is in the sub Clip AV stream file. Also, for example, when audio streams of the main Clip AV stream file and the sub Clip AV stream file are mixed and reproduced (in the first STN_table of FIG. 14, when stream = entry () of FIG. 15 is type = 3, or FIG. In the second STN_table, secondary_audio_present_flag is 1, type = 1 in the first Stream_entry (), and type = 2 in the second Stream_entry ()), the controller 21 corresponds to the acquired number. Confirm that the audio stream to be recorded is in both the main Clip AV stream file and the sub Clip AV stream file. Further, for example, when audio streams of two sub-Clip AV stream files are mixed and played back (secondary_audio_present_flag in FIG. 16 is 1, type = 2 in the first Stream_entry (), and in the second Stream_entry () When type = 2), the controller 21 confirms that the audio stream corresponding to the acquired number exists only in the sub Clip AV stream file.

ステップS57において、コントローラ21は、所望のオーディオストリームを特定する。具体的には、取得した番号に対応するストリームの属するメインClip AVストリームファイルまたはサブClip AVストリームファイルの中の所望のオーディオストリームを特定する。例えば、コントローラ21は、図15または図17において、type=1である場合、メインClip AVストリームファイルの中の所定のオーディオストリームを特定し、type=2である場合、サブClip AVストリームファイルの中の所定のオーディオストリームを特定し、図15においてtype=3であるか、図17において、secondary_audio_present_flagが1、1番目のStream_entry()がtype=1、2番目のStream_entry()がtype=2である場合、メインClip AVストリームファイルの中の所定のオーディオストリームと、サブClipの中の所定のオーディオストリームとを特定する。また、図17においてsecondary_audio_present_flagが1、1番目のStream_entry()がtype=2、2番目のStream_entry()がtype=2である場合、コントローラ21は、2つのサブClip AVストリームファイルの中の2つの所定のオーディオストリームを特定する。   In step S57, the controller 21 specifies a desired audio stream. Specifically, a desired audio stream in the main Clip AV stream file or the sub Clip AV stream file to which the stream corresponding to the acquired number belongs is specified. For example, in FIG. 15 or FIG. 17, the controller 21 specifies a predetermined audio stream in the main Clip AV stream file when type = 1, and if type = 2, 15 is specified and type = 3 in FIG. 15, or in FIG. 17, secondary_audio_present_flag is 1, first Stream_entry () is type = 1, and second Stream_entry () is type = 2. In this case, a predetermined audio stream in the main Clip AV stream file and a predetermined audio stream in the sub Clip are specified. In FIG. 17, when secondary_audio_present_flag is 1, the first Stream_entry () is type = 2, and the second Stream_entry () is type = 2, the controller 21 uses two of the two sub Clip AV stream files. Identify a given audio stream.

ステップS58において、コントローラ21は、所望のオーディオストリームが多重化されているClip(メインClip AVストリームファイルのみ、サブClip AVストリームファイルのみ、メインClip AVストリームファイルとサブClip AVストリームファイル、または、2本のサブClip AVストリームファイル、のうちのいずれかを含むClip)から、特定されたオーディオストリームを読み出すようストレージドライブ22に指示するか、または、ローカルストレージ24に記録されている所望のオーディオストリームが多重化されているClipから、特定されたオーディオストリームを読み出す。ストレージドライブ22は、コントローラ21から指示を受けた場合、この指示に基づいて、対象となるオーディオストリームを読み出す。そして、コントローラ21は、読み出されたオーディオストリームをAVデコーダ部26に供給して、再生するようAVデコーダ部26に指示する。コントローラ21は、例えば、図14の第1のSTN_tableにおいて、図15のstream_entry()でtype=3である場合、または、図16の第2のSTN_tableにおいて、secondary_audio_present_flagが1であり、1番目のStream_entry()がtype=1であり、2番目のStream_entry()がtype=2である場合、メインClipのオーディオストリームとサブClip AVストリームファイルのオーディオストリームの両方を再生するよう、AVデコーダ部26に指示する。   In step S <b> 58, the controller 21 determines whether a clip (a main clip AV stream file only, a sub clip AV stream file only, a main clip AV stream file and a sub clip AV stream file, or two in which a desired audio stream is multiplexed. The storage drive 22 is instructed to read the specified audio stream from the sub clip AV stream file), or the desired audio stream recorded in the local storage 24 is multiplexed. The specified audio stream is read from the clip that has been made into a clip. When receiving an instruction from the controller 21, the storage drive 22 reads the target audio stream based on the instruction. Then, the controller 21 supplies the read audio stream to the AV decoder unit 26 and instructs the AV decoder unit 26 to play it back. For example, in the first STN_table in FIG. 14, the type_3 in the stream_entry () in FIG. 15, or in the second STN_table in FIG. 16, the secondary_audio_present_flag is 1 and the first Stream_entry When () is type = 1 and the second Stream_entry () is type = 2, the AV decoder unit 26 is instructed to play both the main clip audio stream and the sub-clip AV stream file audio stream. To do.

ステップS59において、AVデコーダ部26は、オーディオストリームをデコードし、オーディオ出力する。すなわち、オーディオデコーダ75によりデコードされたオーディオデータと、バッファ95から出力されるサウンドデータが、ミキシング処理部97によりミキシング処理され、オーディオ信号として出力される。具体的には、図15または図17においてtype=1である場合、1stオーディオデコーダ75−1は、メインClip AVストリームファイルの中の所定のオーディオストリームをデコードし、これを、ミキシング処理部101を介してミキシング処理部97に供給する。また、図15または図17においてtype=2である場合、1stオーディオデコーダ75−1または2ndオーディオデコーダ75−2のうちのいずれか(STN_tableの記載によって決まる)は、サブClip AVストリームファイルの中の所定のオーディオストリームをデコードし、これを、ミキシング処理部101を介してミキシング処理部97に供給する。   In step S59, the AV decoder unit 26 decodes the audio stream and outputs the audio. That is, the audio data decoded by the audio decoder 75 and the sound data output from the buffer 95 are mixed by the mixing processor 97 and output as an audio signal. Specifically, when type = 1 in FIG. 15 or FIG. 17, the 1st audio decoder 75-1 decodes a predetermined audio stream in the main Clip AV stream file and outputs it to the mixing processing unit 101. To the mixing processing unit 97. In addition, when type = 2 in FIG. 15 or FIG. 17, either the 1st audio decoder 75-1 or the 2nd audio decoder 75-2 (determined by the description of STN_table) is included in the sub Clip AV stream file. A predetermined audio stream is decoded and supplied to the mixing processing unit 97 via the mixing processing unit 101.

このとき、メインClip AVストリームファイルとサブClip AVストリームファイルのオーディオストリームをミキシング再生する場合(図15のtype=3である場合、または、図16のsecondary_audio_present_flagが1、1番目のStream_entry()のtype=1、2番目のStream_entry()のtype=2である場合)、1stオーディオデコーダ75−1は、メインClip AVストリームファイルの中の所定のオーディオストリームをデコードし、これをミキシング処理部101に供給し、2ndオーディオデコーダ75−2は、サブClip AVストリームファイルの中の所定のオーディオストリームをデコードし、これをミキシング処理部101に供給する。また、2本のサブClip AVストリームファイルのオーディオストリームをミキシング再生する場合(図16のsecondary_audio_present_flagが1、1番目のStream_entry()のtype=2、2番目のStream_entry()のtype=2である場合)、1stオーディオデコーダ75−1は、サブClip AVストリームファイルの中の所定のオーディオストリームをデコードし、これをミキシング処理部101に供給し、2ndオーディオデコーダ75−2は、サブClip AVストリームファイルの中の所定のオーディオストリームをデコードし、これをミキシング処理部101に供給する。ミキシング処理部101は、1stオーディオデコーダ75−1から供給されたオーディオデータと、2ndオーディオデコーダ75−2から供給されたオーディオデータとをミキシング(重畳、合成)し、これをミキシング処理部97に供給する。ミキシング処理部97は、ミキシング処理部101から供給されてきたオーディオデータと、バッファ95から供給されてきたサウンドデータとをミキシング(重畳、合成)し、これをオーディオ信号として出力する。   At this time, when the audio streams of the main Clip AV stream file and the sub Clip AV stream file are mixed and reproduced (when type = 3 in FIG. 15 or secondary_audio_present_flag in FIG. 16 is 1, the type of the first Stream_entry () = 1, 2nd Stream_entry () where type = 2) The first audio decoder 75-1 decodes a predetermined audio stream in the main Clip AV stream file and supplies this to the mixing processing unit 101 Then, the 2nd audio decoder 75-2 decodes a predetermined audio stream in the sub Clip AV stream file and supplies the decoded audio stream to the mixing processing unit 101. Also, when mixing and reproducing the audio streams of two sub-Clip AV stream files (when secondary_audio_present_flag in FIG. 16 is 1, type = 2 of the first Stream_entry (), and type = 2 of the second Stream_entry ()) ) The 1st audio decoder 75-1 decodes a predetermined audio stream in the sub-Clip AV stream file and supplies it to the mixing processing unit 101. The 2nd audio decoder 75-2 receives the sub-Clip AV stream file. The predetermined audio stream is decoded and supplied to the mixing processing unit 101. The mixing processing unit 101 mixes (superimposes and synthesizes) the audio data supplied from the 1st audio decoder 75-1 and the audio data supplied from the 2nd audio decoder 75-2, and supplies this to the mixing processing unit 97. To do. The mixing processing unit 97 mixes (superimposes and synthesizes) the audio data supplied from the mixing processing unit 101 and the sound data supplied from the buffer 95, and outputs this as an audio signal.

この図32のステップS59の処理の詳細な例を、図33のフローチャートを参照して説明する。図33は、AVデコーダ部26におけるオーディオストリームを出力する処理の例を説明するフローチャートである。   A detailed example of the process in step S59 in FIG. 32 will be described with reference to the flowchart in FIG. FIG. 33 is a flowchart illustrating an example of processing for outputting an audio stream in the AV decoder unit 26.

ステップS81において、AVデコーダ部26は、コントローラ21からの制御に基づいて、再生するオーディオストリームがメインClip AVストリームファイルのオーディオストリームのみであるか否かを判定する。例えば、AVデコーダ部26は、図14または図16でエントリーされているオーディオストリームが、図15または図17においてtype=1のみであるか否かを判定する。   In step S <b> 81, the AV decoder unit 26 determines whether or not the audio stream to be reproduced is only the audio stream of the main Clip AV stream file based on the control from the controller 21. For example, the AV decoder unit 26 determines whether the audio stream entered in FIG. 14 or 16 is only type = 1 in FIG. 15 or FIG.

ステップS81において、再生するオーディオストリームがメインClip AVストリームファイルのオーディオストリームのみであると判定された場合、PIDフィルタ55により選択されて供給されてきたメインClip AVストリームファイルのオーディオストリームが、スイッチ59により選択され、1stオーディオデコーダ75−1に供給されるので、ステップS82において、1stオーディオデコーダ75−1は、メインClip AVストリームファイルのオーディオストリームをデコードする。1stオーディオデコーダ75−1は、デコードしたメインClip AVストリームファイルのオーディオストリームを、後段のミキシング処理部101に供給する。ミキシング処理部101は、供給されてきたオーディオデータをそのまま後段のミキシング処理部97に出力する。   If it is determined in step S81 that the audio stream to be reproduced is only the audio stream of the main Clip AV stream file, the audio stream of the main Clip AV stream file selected and supplied by the PID filter 55 is Since it is selected and supplied to the 1st audio decoder 75-1, the 1st audio decoder 75-1 decodes the audio stream of the main Clip AV stream file in step S82. The 1st audio decoder 75-1 supplies the decoded audio stream of the main Clip AV stream file to the mixing processing unit 101 at the subsequent stage. The mixing processing unit 101 outputs the supplied audio data as it is to the subsequent mixing processing unit 97.

ステップS81において、再生するオーディオストリームがメインClip AVストリームファイルのオーディオストリームのみでないと判定された場合、(すなわち、再生するオーディオストリームが図15においてtype=2またはtype=3である場合、または、図17において、type=2を少なくとも含む場合)、ステップS83において、AVデコーダ部26は、コントローラ21からの制御に基づいて、再生するオーディオストリームがサブClip AVストリームファイルのオーディオストリームのみであるか否かを判定する。すなわち、AVデコーダ部26は、図14または図16でエントリーされているオーディオストリームが図15または図17においてtype=2のみであるか否かを判定する。   If it is determined in step S81 that the audio stream to be reproduced is not only the audio stream of the main Clip AV stream file (that is, if the audio stream to be reproduced is type = 2 or type = 3 in FIG. 15, or FIG. In step S83, the AV decoder unit 26 determines whether or not the audio stream to be reproduced is only the audio stream of the sub Clip AV stream file based on the control from the controller 21 in step S83. Determine. That is, the AV decoder unit 26 determines whether the audio stream entered in FIG. 14 or 16 is only type = 2 in FIG. 15 or FIG.

ステップS83において、再生するオーディオストリームがサブClip AVストリームファイルのオーディオストリームのみでないと判定された場合、再生するオーディオストリームがメインClip AVストリームファイルのオーディオストリームとサブClip AVストリームファイルのオーディオストリームとの組み合わせであることを示す、すなわち、再生するオーディオストリームが図15においてtype=3である、または、図16において、secondary_audio_present_flagが1とされ、さらに、1番目のStream_entry()がtype=1と2番目のStream_entry()がtype=2とされる組み合わせであるので、PIDフィルタ55により選択されて供給されてきたメインClip AVストリームファイルのオーディオストリームがスイッチ59により選択され、1stオーディオデコーダ75−1に供給されると共に、PIDフィルタ56により選択されて供給されてきたサブClip AVストリームファイルのオーディオストリームが、スイッチ59により選択され、2ndオーディオデコーダ75−2に供給される。   If it is determined in step S83 that the audio stream to be reproduced is not only the audio stream of the sub Clip AV stream file, the audio stream to be reproduced is a combination of the audio stream of the main Clip AV stream file and the audio stream of the sub Clip AV stream file. That is, the audio stream to be reproduced is type = 3 in FIG. 15, or in FIG. 16, secondary_audio_present_flag is set to 1, and the first Stream_entry () is type = 1 and the second Since Stream_entry () is a combination in which type = 2, the audio stream of the main Clip AV stream file selected and supplied by the PID filter 55 is selected by the switch 59, and the 1st audio decoder 75- 1 and the audio stream of the sub Clip AV stream file selected and supplied by the PID filter 56 is selected by the switch 59 and supplied to the 2nd audio decoder 75-2.

そこで、ステップS84において、1stオーディオデコーダ75−1は、メインClip AVストリームファイルのオーディオストリームをデコードする。1stオーディオデコーダ75−1は、デコードしたメインClip AVストリームファイルのオーディオストリームを、後段のミキシング処理部101に供給する。   Therefore, in step S84, the 1st audio decoder 75-1 decodes the audio stream of the main Clip AV stream file. The 1st audio decoder 75-1 supplies the decoded audio stream of the main Clip AV stream file to the mixing processing unit 101 at the subsequent stage.

また、ステップS85において、2ndオーディオデコーダ75−2は、サブClip AVストリームファイルのオーディオストリームをデコードする。2ndオーディオデコーダ75−2は、デコードしたサブClip AVストリームファイルのオーディオストリームを、後段のミキシング処理部101に供給する。なお、ステップS84とステップS85の処理は、並行して実行されてもよいし、順番を逆にして実行されてもよい。   In step S85, the 2nd audio decoder 75-2 decodes the audio stream of the sub Clip AV stream file. The 2nd audio decoder 75-2 supplies the decoded audio stream of the sub Clip AV stream file to the mixing processing unit 101 at the subsequent stage. Note that the processes of step S84 and step S85 may be executed in parallel or in reverse order.

ステップS86において、ミキシング処理部101は、1stオーディオデコーダ75−1によりデコードされたメインClip AVストリームファイルのオーディオストリームと、2ndオーディオデコーダ75−2によりデコードされたサブClip AVストリームファイルのオーディオストリームとをミキシングする。すなわち、ミキシング処理部101は、1stオーディオデコーダ75−1から供給されてきたオーディオデータと2ndオーディオデコーダ75−2から供給されてきたオーディオデータとを、ミキシング(合成、重畳)する。ミキシング処理部101は、ミキシングした結果得られたオーディオデータを、後段のミキシング処理部97に供給する。   In step S86, the mixing processing unit 101 outputs the audio stream of the main Clip AV stream file decoded by the 1st audio decoder 75-1 and the audio stream of the sub Clip AV stream file decoded by the 2nd audio decoder 75-2. Mix. That is, the mixing processing unit 101 mixes (synthesizes and superimposes) the audio data supplied from the 1st audio decoder 75-1 and the audio data supplied from the 2nd audio decoder 75-2. The mixing processing unit 101 supplies the audio data obtained as a result of mixing to the mixing processing unit 97 at the subsequent stage.

一方、ステップS83において、再生するオーディオストリームがサブClip AVストリームファイルのオーディオストリームのみであると判定された場合(図15または図17においてtype=2のみである場合)、処理はステップS87に進み、AVデコーダ部26は、コントローラ21からの制御に基づいて、再生するオーディオストリームは、サブClip AVストリームファイルの2つのオーディオストリームの組み合わせであるか否かを判定する。すなわち、図16のstream entry()において、secondary_audio_present_flagが1とされて2本のオーディオストリームがエントリーされ、さらに図17において、ともにtype=2とされているか否かが判定される。なお、図14と図15のシンタクスの場合、サブClip AVストリームファイルの2つのオーディオストリームの組み合わせは定義されないので、ステップS87においては、再生するオーディオストリームは、サブClip AVストリームファイルの2つのオーディオストリームの組み合わせではないと判定される。   On the other hand, when it is determined in step S83 that the audio stream to be reproduced is only the audio stream of the sub Clip AV stream file (when only type = 2 in FIG. 15 or FIG. 17), the process proceeds to step S87. Based on the control from the controller 21, the AV decoder unit 26 determines whether or not the audio stream to be reproduced is a combination of two audio streams of the sub-Clip AV stream file. That is, secondary_audio_present_flag is set to 1 in the stream entry () of FIG. 16 and two audio streams are entered. Further, in FIG. 17, it is determined whether or not both are set to type = 2. In the case of the syntaxes of FIGS. 14 and 15, the combination of the two audio streams of the sub Clip AV stream file is not defined. Therefore, in step S87, the audio stream to be reproduced is the two audio streams of the sub Clip AV stream file. It is determined that the combination is not.

ステップS87において、再生するオーディオストリームは、サブClip AVストリームファイルの2つのオーディオストリームの組み合わせでないと判定された場合(図14と図15において、type=2とされる場合、または、図16と図17において、secondary_audio_present_flagが0とされ、1番目のStream_entry()でtype=2とされる場合)、すなわち、オーディオストリームが1本しかエントリーされていない場合、このオーディオストリームは、勿論サブClip AVストリームファイルのオーディオストリームであるので、PIDフィルタ56により選択されて供給されてきたサブClip AVストリームファイルのオーディオストリームが、スイッチ59により選択され、1stオーディオデコーダ75−1に供給される。そこで、ステップS88において、1stオーディオデコーダ75−1は、サブClip AVストリームファイルのオーディオストリームをデコードする。1stオーディオデコーダ75−1は、デコードしたサブCli AVストリームファイルpのオーディオストリームを、後段のミキシング処理部101に供給する。ミキシング処理部101は、供給されてきたオーディオデータをそのまま後段のミキシング処理部97に出力する。   If it is determined in step S87 that the audio stream to be reproduced is not a combination of two audio streams of the sub-Clip AV stream file (in FIG. 14 and FIG. 15, if type = 2, or FIG. 16 and FIG. 17, when secondary_audio_present_flag is 0 and type = 2 is set in the first Stream_entry (), that is, when only one audio stream is entered, this audio stream is of course a sub-Clip AV stream file. Therefore, the audio stream of the sub Clip AV stream file selected and supplied by the PID filter 56 is selected by the switch 59 and supplied to the 1st audio decoder 75-1. Therefore, in step S88, the 1st audio decoder 75-1 decodes the audio stream of the sub Clip AV stream file. The 1st audio decoder 75-1 supplies the decoded audio stream of the sub-Cli AV stream file p to the mixing processing unit 101 at the subsequent stage. The mixing processing unit 101 outputs the supplied audio data as it is to the subsequent mixing processing unit 97.

一方、ステップS87において、再生するオーディオストリームは、サブClip AVストリームファイルの2つのオーディオストリームの組み合わせであると判定された場合(図16と図17において、secondary_audio_present_flagが1とされ、1番目のStream_entry()と2番目のStream_entry()がともにtype=2とされる場合)、PIDフィルタ56により選択されて供給されてきたサブClip AVストリームファイルのオーディオストリームは2本となるので、スイッチ59は、1stオーディオデコーダ75−1でデコードされるオーディオストリーム、すなわち、図16において、オーディオストリームID(audio_stream_id)のforループの中の最初にエントリーされたオーディオストリームを、1stオーディオデコーダ75−1に供給するようスイッチを選択し、2ndオーディオデコーダ75−2でデコードされるオーディオストリーム、すなわち、図16において、オーディオストリームID(audio_stream_id)のforループの中のsecondary_audio_present_flagが1とされた後に、2番目にエントリーされたオーディオストリームを、2ndオーディオデコーダ75−2に供給するようスイッチを選択する。   On the other hand, when it is determined in step S87 that the audio stream to be reproduced is a combination of two audio streams of the sub-Clip AV stream file (in FIGS. 16 and 17, secondary_audio_present_flag is set to 1 and the first Stream_entry ( ) And the second Stream_entry () are both set to type = 2), the sub-clip AV stream file selected and supplied by the PID filter 56 has two audio streams, so the switch 59 is set to 1st The audio stream to be decoded by the audio decoder 75-1, that is, the first entry audio stream in the for loop of the audio stream ID (audio_stream_id) in FIG. 16 is supplied to the 1st audio decoder 75-1. Select 2n The audio stream decoded by the audio decoder 75-2, that is, the second entry audio stream after the secondary_audio_present_flag in the for loop of the audio stream ID (audio_stream_id) in FIG. A switch is selected to be supplied to the decoder 75-2.

そこで、ステップS89において、1stオーディオデコーダ75−1は、供給されてきたサブClip AVストリームファイルのオーディオストリームをデコードする。1stオーディオデコーダ75−1は、デコードしたサブClip AVストリームファイルのオーディオストリームを、後段のミキシング処理部101に供給する。   Therefore, in step S89, the 1st audio decoder 75-1 decodes the audio stream of the supplied sub Clip AV stream file. The 1st audio decoder 75-1 supplies the decoded audio stream of the sub Clip AV stream file to the mixing processing unit 101 at the subsequent stage.

また、ステップS90において、2ndオーディオデコーダ75−2は、供給されてきたサブClip AVストリームファイルのオーディオストリームをデコードする。2ndオーディオデコーダ75−2は、デコードしたサブClip AVストリームファイルのオーディオストリームを、後段のミキシング処理部101に供給する。なお、ステップS89とステップS90の処理は、並行して実行されてもよいし、順番を逆にして実行されてもよい。   In step S90, the 2nd audio decoder 75-2 decodes the audio stream of the supplied sub Clip AV stream file. The 2nd audio decoder 75-2 supplies the decoded audio stream of the sub Clip AV stream file to the mixing processing unit 101 at the subsequent stage. Note that the processes of step S89 and step S90 may be executed in parallel or in reverse order.

ステップS91において、ミキシング処理部101は、1stオーディオデコーダ75−1によりデコードされたサブClip AVストリームファイルのオーディオストリームと、2ndオーディオデコーダ75−2によりデコードされたサブClip AVストリームファイルのオーディオストリームと(すなわち、2つのサブClip AVストリームファイルのオーディオストリーム)をミキシングする。換言すれば、ミキシング処理部101は、1stオーディオデコーダ75−1から供給されてきたオーディオデータと2ndオーディオデコーダ75−2から供給されてきたオーディオデータとを、ミキシング(合成、重畳)する。ミキシング処理部101は、ミキシングした結果得られたオーディオデータを、後段のミキシング処理部97に供給する。   In step S91, the mixing processing unit 101 performs the audio stream of the sub Clip AV stream file decoded by the 1st audio decoder 75-1 and the audio stream of the sub Clip AV stream file decoded by the 2nd audio decoder 75-2 ( That is, the audio streams of the two sub Clip AV stream files are mixed. In other words, the mixing processing unit 101 mixes (synthesizes and superimposes) the audio data supplied from the 1st audio decoder 75-1 and the audio data supplied from the 2nd audio decoder 75-2. The mixing processing unit 101 supplies the audio data obtained as a result of mixing to the mixing processing unit 97 at the subsequent stage.

ステップS82の処理の後、ステップS86の処理の後、ステップS88の処理の後、または、ステップS91の処理の後、処理はステップS92に進み、ミキシング処理部97は、供給されてきたオーディオデータと、バッファ95から供給されてきたサウンドデータとをミキシングし、出力する。例えば、このステップS92の処理が、ステップS82の処理の後の場合、ミキシング処理部97は、メインClip AVストリームファイルのオーディオストリームがデコードされたオーディオデータと、サウンドデータとをミキシングする。また、例えば、このステップS92の処理が、ステップS88の処理の後の場合、ミキシング処理部97は、サブClip AVストリームファイルのオーディオストリームがデコードされたオーディオデータとサウンドデータとをミキシングする。さらに、例えば、このステップS92の処理が、ステップS86の処理の後の場合、ミキシング処理部97は、メインClip AVストリームファイルのオーディオストリームがデコードされたオーディオデータとサブClip AVストリームファイルのオーディオストリームがデコードされたオーディオデータとがミキシングされたオーディオデータに、サウンドデータをミキシングする。また、例えば、このステップS92の処理が、ステップS91の処理の後の場合、ミキシング処理部97は、2本のサブClip AVストリームファイルのオーディオストリームがそれぞれデコードされたオーディオデータがミキシングされたオーディオデータに、サウンドデータをミキシングする。   After the process of step S82, after the process of step S86, after the process of step S88, or after the process of step S91, the process proceeds to step S92, and the mixing processing unit 97 combines the supplied audio data with the supplied audio data. The sound data supplied from the buffer 95 is mixed and output. For example, when the process of step S92 is after the process of step S82, the mixing processing unit 97 mixes the audio data obtained by decoding the audio stream of the main Clip AV stream file and the sound data. For example, when the process of step S92 is after the process of step S88, the mixing processing unit 97 mixes the audio data and the sound data obtained by decoding the audio stream of the sub Clip AV stream file. Further, for example, when the process of step S92 is after the process of step S86, the mixing processing unit 97 receives the audio data obtained by decoding the audio stream of the main Clip AV stream file and the audio stream of the sub Clip AV stream file. Sound data is mixed with audio data obtained by mixing the decoded audio data. For example, when the process of step S92 is after the process of step S91, the mixing processing unit 97 performs audio data obtained by mixing audio data obtained by decoding the audio streams of the two sub Clip AV stream files. Next, mix the sound data.

図33の処理によれば、メインパスで参照されるオーディオストリームとサブパスで参照されるオーディオストリームとのミキシング再生を行うことができる。また、2つのサブパスで参照される2本のオーディオストリームのミキシング再生を行うことができる。   According to the processing of FIG. 33, it is possible to perform mixing reproduction of the audio stream referenced in the main path and the audio stream referenced in the sub path. Also, it is possible to perform mixing reproduction of two audio streams that are referred to by two sub-paths.

図33を用いて説明した処理のようにして、図30のステップS21における図28のスイッチ59の選択が決定される。すなわち、図33を用いて説明した処理において再生されるオーディオストリームがメインClip AVストリームファイルのみである場合、スイッチ59は、メイン側、すなわちPIDフィルタ55から供給されたオーディオストリームを1stオーディオデコーダ75−1に供給するよう選択し(図33のステップS81でYES)、対象となるClipが1本のサブClip AVストリームファイルのみである場合、スイッチ59は、サブ側、すなわち、PIDフィルタ56から供給されたオーディオストリームを1stオーディオデコーダ75−1に供給するよう選択し(図33のステップS87でNO)、対象となるClip AVストリームファイルがメインClip AVストリームファイルとサブClip AVストリームファイルの両方である場合、スイッチ59は、PIDフィルタ55から供給されたオーディオストリームを1stオーディオデコーダ75−1に供給するとともに、PIDフィルタ56から供給されたオーディオストリームを、2ndオーディオデコーダ75−2に供給するよう選択し(図33のステップS83でNO)、対象となるClipが2本のサブClip AVストリームファイルである場合、スイッチ59は、サブ側、すなわち、PIDフィルタ56から供給されたオーディオストリームを、1stオーディオデコーダ75−1または2ndオーディオデコーダ75−2に供給するよう選択(図33のステップS87でYES)する。   The selection of the switch 59 in FIG. 28 in step S21 in FIG. 30 is determined in the same manner as described with reference to FIG. That is, when the audio stream reproduced in the processing described with reference to FIG. 33 is only the main Clip AV stream file, the switch 59 converts the audio stream supplied from the main side, that is, the PID filter 55, to the 1st audio decoder 75- 1 is selected (YES in step S81 in FIG. 33), and when the target clip is only one sub clip AV stream file, the switch 59 is supplied from the sub side, that is, the PID filter 56. The selected audio stream is selected to be supplied to the 1st audio decoder 75-1 (NO in step S87 in FIG. 33), and the target Clip AV stream file is both the main Clip AV stream file and the sub Clip AV stream file. The switch 59 is supplied from the PID filter 55. The selected audio stream is supplied to the 1st audio decoder 75-1, and the audio stream supplied from the PID filter 56 is selected to be supplied to the 2nd audio decoder 75-2 (NO in step S83 in FIG. 33). When the clip is a two-sub clip AV stream file, the switch 59 sends the audio stream supplied from the sub-side, that is, the PID filter 56 to the 1st audio decoder 75-1 or the 2nd audio decoder 75-2. Select to supply (YES in step S87 in FIG. 33).

このように、コントローラ21は、PlayItemのSTN_table()に基づいて、音声(オーディオ)の切り替えを制御することができる。また、コントローラ21は、STN_table()のstream_attributeを参照することで、自分自身が再生機能を有するストリームだけを選んで、再生切り替えの制御をすることができる。さらに、コントローラ21は、STN_table()に基づいて、メインClip AVストリームファイルに含まれるオーディオストリームと、サブClip AVストリームファイルに含まれるオーディオストリームとを重畳して再生するとともに、2本のサブClip AVストリームファイルに含まれるオーディオストリームを重畳して再生するよう制御することができる。   In this way, the controller 21 can control the switching of audio (audio) based on STN_table () of PlayItem. Further, the controller 21 can control playback switching by selecting only a stream having a playback function by referring to the stream_attribute of the STN_table (). Further, the controller 21 superimposes and reproduces the audio stream included in the main Clip AV stream file and the audio stream included in the sub Clip AV stream file based on the STN_table (), and two sub Clip AVs. The audio stream included in the stream file can be controlled to be superimposed and reproduced.

なお、図14と図15のシンタクス(第1のSTN_table())を用いる場合、サブClip AVストリームファイルの2つのオーディオストリームの組み合わせは定義されないので、図33のステップS87では必ずNOと判定され、ステップS88以降の処理が実行される。すなわち、図14と図15のシンタクスに対応する場合、図33のステップS89、ステップS90、およびステップS91の処理は実行されない。   Note that when the syntaxes of FIGS. 14 and 15 (first STN_table ()) are used, the combination of two audio streams of the sub Clip AV stream file is not defined, so it is always determined NO in step S87 of FIG. The process after step S88 is performed. That is, in the case of corresponding to the syntaxes of FIGS. 14 and 15, the processes of step S89, step S90, and step S91 of FIG.

なお、図32の処理では、オーディオストリーム番号に基づいて、オーディオを切り替えるようにしたが、オーディオストリームID(audio_stream_id)に基づいて、オーディオを切り替えるようにしてもよい。この場合、オーディオストリーム番号から1を減算したものが、オーディオストリームIDとなる。   In the processing of FIG. 32, the audio is switched based on the audio stream number, but the audio may be switched based on the audio stream ID (audio_stream_id). In this case, the audio stream ID is obtained by subtracting 1 from the audio stream number.

また、以上の例では、メインパスにより参照されるオーディオストリームと、サブパスにより参照されるオーディオストリームとをミキシング(合成)して再生する場合の例(図14と図15、または、図16と図17)や、2本のサブパスにより参照されるオーディオストリームをミキシング(合成)して再生する場合の例(図16と図17)を説明したが、オーディオストリームに限らず、ストリームの種類が同じであれば、各種のストリームファイルについて同様に適用することができる。例えば、ビデオストリーム(ストリームの種類がビデオストリーム)を2つ合成して再生するピクチャインピクチャ表示をする場合にも、この構成は適用することができる。このように、本発明によれば、メインClipに含まれる所定の種類のストリームファイルと、同じ種類のサブClipに含まれるストリームファイルとの組み合わせを定義したり、サブClipに含まれる同じ種類のストリームファイルの組み合わせを定義することで、メインパスで参照されるストリームとサブパスで参照されるストリーム(同じ種類の2つのストリーム)や、2つのサブパスで参照されるストリーム(同じ種類の2つのストリーム)を合成して再生することができる。   In the above example, the audio stream referenced by the main path and the audio stream referenced by the sub path are mixed (synthesized) and reproduced (FIGS. 14 and 15 or FIG. 16 and FIG. 17) and an example (FIGS. 16 and 17) in which audio streams referenced by two sub-paths are mixed (synthesized) and reproduced, but not limited to audio streams, the types of streams are the same. If there is, it can be similarly applied to various stream files. For example, this configuration can also be applied to the case of picture-in-picture display in which two video streams (stream types are video streams) are combined and played back. Thus, according to the present invention, a combination of a predetermined type of stream file included in the main clip and a stream file included in the same type of sub clip is defined, or the same type of stream included in the sub clip is defined. By defining a combination of files, a stream referenced in the main path and a stream referenced in the sub path (two streams of the same type) and a stream referenced in the two sub paths (two streams of the same type) Can be synthesized and played back.

すなわち、上述したような構成は、例えば、図43を用いて後述するように、メインパスで参照されるAVストリームのビデオストリームを主画面として表示させ、主画面の中に、サブパスのビデオパスで参照されるビデオストリームを子画面として合成して表示させる、いわゆるPinP(ピクチャインピクチャ)表示などについても利用することができる。上述した構成を応用することにより、PinP(ピクチャインピクチャ)表示を実行する場合の詳細については、後述する。   That is, in the configuration described above, for example, as described later with reference to FIG. 43, the AV stream video stream referred to in the main path is displayed as the main screen, and the sub-path video path is displayed in the main screen. It can also be used for so-called PinP (picture-in-picture) display in which a referenced video stream is synthesized and displayed as a child screen. The details of executing PinP (picture in picture) display by applying the above-described configuration will be described later.

以上により、メインのAVストリームとは別のストリームやデータファイルでオーディオや字幕などを用意する場合、PlayListの中にメインパスとサブパスを有する構成としたので、ユーザにより音声切り替えや字幕切り替えという操作が行われる場合、メインClipAVストリームとは異なる別ストリームや別データファイルの中から再生されるストリームを選ぶことができる。   As described above, when audio or subtitles are prepared in a stream or data file different from the main AV stream, since the PlayList has a main path and sub path, operations such as audio switching and subtitle switching are performed by the user. When performed, a stream to be reproduced can be selected from another stream different from the main Clip AV stream or another data file.

また、第1および第2のSTN_table()で、メインClipに含まれるオーディオストリームと、サブClipに含まれるオーディオストリームとの2つのオーディオストリームの組み合わせを選択できる構成としたので、ユーザは、2つのオーディオストリームの重畳再生を選ぶことができる。具体的には、STN_table()において、オーディオストリームとして2つのstream_attributes()をエントリー可能な構成とし、stream_entry()を、メインClipとサブClipの両方の組み合わせでオーディオストリームをエントリーすることが可能な構成としたので、オーディオストリームを2つ重畳して再生するよう指令することができる。   In addition, since the first and second STN_table () can select a combination of two audio streams, that is, an audio stream included in the main clip and an audio stream included in the sub clip, the user can Audio stream superimposition playback can be selected. Specifically, in STN_table (), two stream_attributes () can be entered as audio streams, and stream_entry () can be entered as a combination of both main and sub clips. Therefore, it is possible to instruct to superimpose and reproduce two audio streams.

また、図16と図17に示されるように、第2のSTN_table()で、2つのサブClipに含まれる2本のオーディオストリームの組み合わせを選択できる構成としたので(secondary_audio_present_flagを設けたので)、ユーザは、2つのオーディオストリームの重畳再生を選ぶことができる。具体的には、第2のSTN_table()において、オーディオストリームとして1つのオーディオストリームIDで、2つのstream_entry()とstream_attributes()との組み合わせをエントリー可能な構成としたので、オーディオストリームを2つ重畳して再生するよう指令することができる。   Also, as shown in FIG. 16 and FIG. 17, since the second STN_table () is configured to select a combination of two audio streams included in two sub Clips (since secondary_audio_present_flag is provided), The user can select superimposed playback of two audio streams. Specifically, in the second STN_table (), since a combination of two stream_entry () and stream_attributes () can be entered with one audio stream ID as an audio stream, two audio streams are superimposed. And can be instructed to play.

また、メインパスのPlayItemの中に、AVストリームファイルに多重化されているデータと、Sub Pathにより参照されるデータのtypeを定義するSTN_Tableを設けるようにしたので、より、拡張性の高いストリームを実現することができる。   In addition, since the STN_Table that defines the type of data that is multiplexed in the AV stream file and the data that is referenced by the Sub Path is provided in the PlayItem of the main path, a stream with higher expandability is provided. Can be realized.

さらに、再生装置1は、STN_table()のstream_attributeを参照することで、自分自身が有する機能に対応するストリームだけを順次選択して再生することができる。   Furthermore, the playback device 1 can sequentially select and play back only the streams corresponding to the functions of itself by referring to the stream_attribute of the STN_table ().

以上説明した再生装置1の処理をまとめると、以下のようになる。   The processing of the playback apparatus 1 described above is summarized as follows.

再生装置1は、記録媒体に記録されている、少なくとも1つのストリームを含むメインClipAVストリームファイル(複数の種類のストリームからなるメインClip AVストリームファイル)の位置を示す主の再生パスであるMain Pathと、メインClipAVストリームファイルに含まれるメインストリームファイルの再生のタイミングに合わせて再生されるサブClip AVストリームファイルのそれぞれの位置を示す複数のサブパスにより構成される再生管理情報としてのPlayListを取得し、PlayListの中のメインパスに含まれる、メインClip AVストリームファイルの所定の種類のメインストリームファイル(例えば、1stオーディオストリーム)の再生のタイミングに合わせて再生される、同じ種類のサブClip AVストリームファイル(例えば、2ndオーディオストリーム)の組み合わせを示す情報であるSTN_table()(PlayItemで示されるSTN_table())に基づいて、再生するストリームの選択を受け付ける。   The playback apparatus 1 includes a main path that is a main playback path indicating the position of a main clip AV stream file (main clip AV stream file including a plurality of types of streams) that is recorded on a recording medium and includes at least one stream. A PlayList as reproduction management information configured by a plurality of sub-paths indicating respective positions of the sub-Clip AV stream file to be reproduced in accordance with the reproduction timing of the main stream file included in the main Clip AV stream file, The sub-clip AV stream file of the same type (for example, the same type of main stream file (for example, the 1st audio stream) included in the main path in FIG. 2nd audio Based on the information indicating the combination of streams) STN_table () (STN_table shown by PlayItem ()), receives the selection of the stream to be reproduced.

ここで、メインClipAVストリームファイルに含まれる所定の種類のメインストリームファイル(例えば、1stオーディオストリーム)と、そのメインストリームファイルの再生のタイミングに合わせて再生される、同じ種類のサブClipAVストリーム(2ndオーディオストリーム)との組み合わせの選択が受け付けられた場合、再生装置1は、選択されたメインClipAVストリームファイルとともに、サブパスにより参照される、対応するサブClipAVストリームファイルを読み出す。そして、再生装置1のミキシング処理部101は、この2つのオーディオストリーム(デコードされたオーディオストリーム)を合成し、ミキシング処理部97(AVデコーダ部26)は、合成されたストリームを再生(出力)する。   Here, a predetermined type main stream file (for example, a 1st audio stream) included in the main Clip AV stream file and a sub clip AV stream (2nd audio of the same type) that is reproduced in accordance with the reproduction timing of the main stream file. When the selection of the combination with the stream is accepted, the playback device 1 reads out the corresponding sub ClipAV stream file referred to by the subpath together with the selected main ClipAV stream file. The mixing processing unit 101 of the playback apparatus 1 combines the two audio streams (decoded audio streams), and the mixing processing unit 97 (AV decoder unit 26) plays back (outputs) the combined stream. .

これにより、図34に示されるように、メインClip AVストリームファイルである本編のMovie(映画)にビデオデータ(Video)とオーディオデータ(Audio)が含まれており、監督のコメンタリ(Commentary)として、英語のコメンタリと、日本語のコメンタリがサブClipAVストリームファイルで与えられている場合に、ユーザは、audio_stream_number=1の本編のaudioと、audio_stream_number=2の本編のaudio+英語のコメンタリと、audio_stream_number=3の本編のaudio+日本語のコメンタリとの中から、再生するオーディオストリームを選択することができる。そして、メインClipAVストリームファイルとサブClipAVストリームファイルの組み合わせ(audio_stream_number=1と2)が選択された場合には、それらを合成して再生することができる。   As a result, as shown in FIG. 34, the main clip AV stream file main movie (movie) includes video data (Video) and audio data (Audio), and as a director commentary, When an English commentary and a Japanese commentary are given in the sub-ClipAV stream file, the user has audio_stream_number = 1 main part audio, audio_stream_number = 2 main part audio + English commentary, and audio_stream_number = 3. You can select the audio stream to play from the main audio + commentary in Japanese. When a combination of the main ClipAV stream file and the sub ClipAV stream file (audio_stream_number = 1 and 2) is selected, they can be combined and reproduced.

このように、PlayListにMain PathとSub Pathを含め、Main PathとSub Pathが異なるClip AVストリームファイルを参照する構成としたので、ストリームに拡張性を持たせることができる。また、1つのSub Pathで複数のファイルを参照可能な構成としたので(例えば、図8)、複数の異なるストリームの中からユーザが選択することができる。   Thus, since the PlayList includes the Main Path and the Sub Path and refers to the Clip AV stream file having a different Main Path and Sub Path, the stream can be extended. Further, since a plurality of files can be referred to by one Sub Path (for example, FIG. 8), the user can select from a plurality of different streams.

さらに、Main PathのPlayItemの中に、Main Pathにより参照されるAVストリームファイルに多重化されている(含まれる)付属データ(例えば、オーディオストリーム)と、Sub Pathにより参照される付属データとを定義するテーブルとして、図14を用いて説明した第1のSTN_table()または図16を用いて説明した第2のSTN_table()を設けるようにしたので、より、拡張性の高いストリームを実現することができる。また、STN_table()にエントリーすることにより、Sub Pathを容易に拡張することができる。   Further, in the Play item of the Main Path, the attached data (for example, an audio stream) multiplexed (included) in the AV stream file referenced by the Main Path and the attached data referenced by the Sub Path are defined. Since the first STN_table () described with reference to FIG. 14 or the second STN_table () described with reference to FIG. 16 is provided as the table to be performed, a more highly scalable stream can be realized. it can. Also, the Sub Path can be easily expanded by entering STN_table ().

また、STN_table()にストリームの属性情報である図18のstream_attribute()を設けるようにしたので、再生装置1側で、選択されたストリームを再生可能か否かを判定することができる。さらに、stream_attribute()を参照することで、再生機能を有するストリームだけを選択して再生することができる。   In addition, since stream_attribute () of FIG. 18 which is stream attribute information is provided in STN_table (), it is possible to determine whether or not the selected stream can be played back on the playback device 1 side. Furthermore, by referring to stream_attribute (), it is possible to select and reproduce only a stream having a reproduction function.

さらに、第1または第2のSTN_table()(図14または図16)において、stream_entry()(図15または図17)でメインパスにより参照されるストリームファイルと、サブパスにより参照される、同じ種類のストリームファイル(ここでは、オーディオストリームファイル)との組み合わせを定義するとともに、図16と図17でサブパスにより参照される2本のオーディオストリームファイルの組み合わせを定義するようにし、さらに、図28を用いて説明したように、再生装置1に2つのオーディオデコーダ(1stオーディオデコーダ75−1と2ndオーディオデコーダ75−2)を設けるとともに、2つのオーディオデコーダによりデコードされたオーディオデータを合成(ミキシング)するミキシング処理部101を設けるようにしたので、2つの同じ種類のストリームを組み合わせて同時に再生することができる。   Furthermore, in the first or second STN_table () (FIG. 14 or FIG. 16), the stream file referred to by the main path in the stream_entry () (FIG. 15 or FIG. 17) and the same type referred to by the sub path A combination with a stream file (here, an audio stream file) is defined, and a combination of two audio stream files referred to by sub-paths in FIGS. 16 and 17 is defined. As described above, the playback apparatus 1 is provided with two audio decoders (1st audio decoder 75-1 and 2nd audio decoder 75-2) and mixes the audio data decoded by the two audio decoders (mixing). I was going to provide part 101 It can be played simultaneously by combining two of the same type stream.

例えば、サブClipAVストリームファイルに含まれる所定の種類の2つのサブClipAVストリームファイルの組み合わせの選択が受け付けられた場合(すなわち、第2のSTN_table()が参照され、secondary_audio_present_flagが1とされ、1番目のStream_entry()と2番目のStream_entry()がともにtype=2とされる場合)、再生装置1は、選択された2つのサブClipAVストリームファイルを読み出す。そして、再生装置1のミキシング処理部101は、この2つのオーディオストリーム(デコードされたオーディオストリーム)を合成し、ミキシング処理部97(AVデコーダ部26)は、合成されたストリームを再生(出力)する。   For example, when selection of a combination of two sub-clip AV stream files of a predetermined type included in the sub-Clip AV stream file is accepted (that is, the second STN_table () is referred to, the secondary_audio_present_flag is set to 1, and the first When both Stream_entry () and the second Stream_entry () are set to type = 2), the playback device 1 reads the two selected sub ClipAV stream files. The mixing processing unit 101 of the playback apparatus 1 combines the two audio streams (decoded audio streams), and the mixing processing unit 97 (AV decoder unit 26) plays back (outputs) the combined stream. .

また、Sub Pathには、図11に示されるように、Sub Pathのタイプ(オーディオやテキスト字幕といったタイプ)を示すSubPath_type、Sub Pathが参照するサブClipの名を示す図12のClip_Information_file_name、およびSub Pathが参照するClipのイン点を示す図12のSubPlayItem_IN_timeとアウト点を示す図12のSubPlayItem_OUT_timeを含むようにしたので、Sub Pathが参照するデータを的確に特定することができる。   Further, as shown in FIG. 11, the Sub Path includes a SubPath_type that indicates the type of Sub Path (type such as audio or text subtitle), a Clip_Information_file_name in FIG. 12 that indicates the name of the sub Clip referred to by the Sub Path, and the Sub Path. 12 includes the SubPlayItem_IN_time in FIG. 12 indicating the clip In point and the SubPlayItem_OUT_time in FIG. 12 indicating the Out point, so that the data referred to by the Sub Path can be accurately identified.

さらに、Sub Pathには、Sub PathがMain Pathとを同じタイミングで再生するためのMain Path上のAVストリームファイルを指定する指定情報である図12のsync_PlayItem_id(例えば、図7と図8のsync_PlayItem_id)と、Sub Pathが参照するデータのイン点がMain Pathの時間軸上で同期してスタートするMain Path上の時刻であるsync_start_PTS_of_PlayItem(例えば、図7と図8のsync_start_PTS_of_PlayItem)とをさらに含むため、図7や図8に示されるように、Main Pathが参照するメインClipAVストリームファイルに同期してSub Pathが参照するデータ(ファイル)を再生することができる。   Furthermore, in the Sub Path, sync_PlayItem_id in FIG. 12 (for example, sync_PlayItem_id in FIGS. 7 and 8), which is designation information for designating an AV stream file on the Main Path for reproducing the Main Path at the same timing as the Sub Path. And sync_start_PTS_of_PlayItem (for example, sync_start_PTS_of_PlayItem in FIGS. 7 and 8) that is the time on the main path at which the in point of the data referred to by the sub path starts synchronously on the time axis of the main path. 7 and FIG. 8, the data (file) referred to by the Sub Path can be reproduced in synchronization with the main ClipAV stream file referred to by the Main Path.

なお、図28のストレージドライブ22が読み出してAVデコーダ部26に供給するデータは、例えば、DVD(Digital Versatile Disc)などの記録媒体11に記録されているデータである。そして、ハードディスクなどで構成されているローカルストレージ24に記録されているデータも、ストレージドライブ22が読み出したデータとともに、AVデコーダ部26に供給される。そして、ローカルストレージ24に記録されているデータは、ネットワーク2を介してダウンロードしたデータであってもよい。換言すれば、AVデコーダ部26に供給されるデータは、着脱可能な記録媒体11に記録されているデータであっても、あらかじめ再生装置1に記憶されているデータであっても、他の装置からネットワークを介して供給されたデータであっても、これらが組み合わされたデータでもよい。例えば、ダウンロードされ、ハードディスクなどで構成されているローカルストレージ24に記録されたPlayListおよびサブClipと、DVDなどの記録媒体11に記録されたメインClipAVストリームファイルに基づいて、AVストリームの再生処理が実行されてもよい。また、例えば、DVDなどの記録媒体11に記録されたClipAVストリームファイルをサブClipとするようなPlayListとメインClipとがハードディスクなどで構成されているローカルストレージ24に記録されている場合に、ローカルストレージ24に記録されているPlayListに基づいて、メインClip AVストリームファイルとサブClip AVストリームファイルがそれぞれ、ローカルストレージ24と記録媒体11から読み出され再生されてもよい。   The data read by the storage drive 22 in FIG. 28 and supplied to the AV decoder unit 26 is data recorded on a recording medium 11 such as a DVD (Digital Versatile Disc). The data recorded in the local storage 24 composed of a hard disk or the like is also supplied to the AV decoder unit 26 together with the data read by the storage drive 22. The data recorded in the local storage 24 may be data downloaded via the network 2. In other words, the data supplied to the AV decoder unit 26 may be data recorded on the removable recording medium 11, data stored in the playback device 1 in advance, Data supplied from a network via a network or a combination of these may be used. For example, AV stream playback processing is executed based on the PlayList and sub-Clips that are downloaded and recorded in the local storage 24 configured by a hard disk or the like, and the main Clip AV stream file that is recorded on the recording medium 11 such as a DVD. May be. Further, for example, when a PlayList that uses a Clip AV stream file recorded on a recording medium 11 such as a DVD as a sub-Clip and a main Clip are recorded in the local storage 24 constituted by a hard disk or the like, the local storage On the basis of the PlayList recorded in 24, the main Clip AV stream file and the sub Clip AV stream file may be read from the local storage 24 and the recording medium 11 and reproduced.

また、例えば、1つのメインパスと1つのサブパスで示されるストリームデータが再生される場合、又は2本のサブパスで示されるストリームデータが再生される場合、メインパスとサブパス、または、2本のサブパスで示されるストリームデータがそれぞれ別のトランスポートストリーム(TS)としてダウンロード等により取得されたときには、取得された2本の異なるTSにそれぞれ含まれるオーディオストリームが合成されることになる。一方、2本のサブパスで示されるストリームデータが再生される場合であっても、その2本のサブパスで示される少なくとも2つのストリームが含まれる1つのTSが取得された場合には、1つのTSに含まれる2つのオーディオストリームが合成されることになる。   Further, for example, when stream data indicated by one main path and one sub path is reproduced, or when stream data indicated by two sub paths is reproduced, the main path and sub path, or two sub paths are reproduced. When the stream data indicated by (2) is acquired as a separate transport stream (TS) by downloading or the like, the audio streams included in the two acquired different TSs are combined. On the other hand, even when the stream data indicated by the two sub-paths is reproduced, if one TS including at least two streams indicated by the two sub-paths is acquired, one TS The two audio streams included in are combined.

また、図14を用いて説明した第1のSTN_tableを用い、図15のstream_attribute()においてtype=3とすることによりメインパスとサブパスで、2つのオーディオストリームを定義した場合や、図16を用いて説明した第2のSTN_tableを用い、secondary_audio_present_flagを用いて、図17のstream_attribute()においてメインパスとサブパス、またはサブパスのみで2つのオーディオストリームを定義した場合、再生装置1の1stオーディオデコーダ75−1は、メインClip AVストリームファイルまたはサブClip AVストリームファイルのオーディオストリームをデコードし、2ndオーディオデコーダ75−2はサブClip AVストリームファイルのオーディオストリームをデコードするのであるが、コーディック(エンコード)方式が同一(例えば、図19のDolby AC-3 audio)である2つのClipのオーディオストリームの組み合わせを、STN_table()で定義するよう制約を設けてもよい。換言すれば、STN_table()で定義される組み合わせにおいて同時にデコードされるものを、同一のコーディック方式となるように、制限を設けるようにしてもよい。
この場合、1stオーディオデコーダ75−1と2ndオーディオデコーダ75−2がオーディオストリームをデコードしている途中(例えば、MPEGにおいては、逆量子化されたが、IDCTされていない状態)であっても、コーディック方式が同一であれば、デコード途中のデータ方式も同様であるので、ミキシング処理部101によりミキシング可能となるからである。
Further, when the first STN_table described with reference to FIG. 14 is used and two audio streams are defined in the main path and the sub path by setting type = 3 in the stream_attribute () of FIG. 15, or FIG. 16 is used. When the two STN_tables described above are used and two audio streams are defined in the stream_attribute () of FIG. 17 using only the main path and the sub path or only the sub path using the secondary_audio_present_flag, the 1st audio decoder 75-1 of the playback apparatus 1 is used. Decodes the audio stream of the main Clip AV stream file or the sub Clip AV stream file, and the 2nd audio decoder 75-2 decodes the audio stream of the sub Clip AV stream file, but the codec (encoding) system is the same ( For example, Dolby AC-3 audio in Fig. 19) A constraint may be provided so that a combination of audio streams of two Clips is defined by STN_table (). In other words, a restriction may be provided so that what is decoded simultaneously in the combination defined by STN_table () has the same codec format.
In this case, even when the 1st audio decoder 75-1 and the 2nd audio decoder 75-2 are in the middle of decoding the audio stream (for example, in the state where inverse quantization is performed in MPEG but IDCT is not performed) This is because if the codec method is the same, the data method in the middle of decoding is the same, so that the mixing processing unit 101 can perform mixing.

以上説明した再生装置1においては、上述した図14の第1のSTN_table()または図16の第2のSTN_table()を参照することにより、PlayItemが参照するClipとSubPathが参照するClipを組み合わせたものの再生を選ぶことができるようになされていた。次に、2つのオーディオストリームのミキシング再生を選ぶことができる仕組みを提供するための異なる例について説明する。   In the playback apparatus 1 described above, by referring to the first STN_table () in FIG. 14 or the second STN_table () in FIG. 16, the clip referred to by PlayItem and the clip referenced by SubPath are combined. It was made so that you could choose to recycle things. Next, different examples for providing a mechanism capable of selecting mixing reproduction of two audio streams will be described.

図35は、2つのオーディオストリームのミキシング再生を行う場合における、STN_table()のシンタクスの第3の例(第3のSTN_table())を示す図である。第3のSTN_table()も、PlayItemの属性として設定されていることは言うまでもない。図35の第3のSTN_table()は、PlayItemが参照するClipとSubPathが参照するClipを組み合わせたものの再生を選ぶのではなく、再生されるClipを自由に選択することができるようになされている。
なお、図14を用いて説明した場合と同様の部分については、その説明を、適宜省略する。
FIG. 35 is a diagram illustrating a third example (third STN_table ()) of syntax of STN_table () in the case of performing mixing reproduction of two audio streams. It goes without saying that the third STN_table () is also set as an attribute of PlayItem. The third STN_table () in FIG. 35 is configured so that the clip to be played can be freely selected instead of selecting the playback of the clip referred to by PlayItem and the clip referenced by SubPath. .
In addition, about the part similar to the case where it demonstrated using FIG. 14, the description is abbreviate | omitted suitably.

図35の第3のSTN_table()は、2つのオーディオストリームが定義されている点で、図14を用いて説明した場合と異なる。Length、number_of_video_stream_entries、video_stream_id、video_stream_numberについては、図14を用いて説明した場合と同様である。   The third STN_table () in FIG. 35 differs from the case described with reference to FIG. 14 in that two audio streams are defined. Length, number_of_video_stream_entries, video_stream_id, and video_stream_number are the same as those described with reference to FIG.

number_of_audio_stream_entriesは、第3のSTN_table()の中でエントリーされるaudio_stream_idが与えられる1番目のオーディオストリームのストリーム数を示す。audio_stream_idは、オーディオストリームを識別するための情報であり、audio_stream_numberは、音声切り替えに使われるユーザから見えるオーディオストリーム番号である。number_of_audio_stream2_entriesは、第3のSTN_table()の中でエントリーされるaudio_stream_id2が与えられる2番目のオーディオストリームのストリーム数を示す。audio_stream_id2は、オーディオストリームを識別するための情報であり、audio_stream_numberは、音声切り替えに使われるユーザから見えるオーディオストリーム番号である。   number_of_audio_stream_entries indicates the number of streams of the first audio stream to which audio_stream_id entered in the third STN_table () is given. The audio_stream_id is information for identifying the audio stream, and the audio_stream_number is an audio stream number that can be seen by the user used for audio switching. number_of_audio_stream2_entries indicates the number of streams of the second audio stream to which audio_stream_id2 entered in the third STN_table () is given. The audio_stream_id2 is information for identifying an audio stream, and the audio_stream_number is an audio stream number that can be seen by the user used for audio switching.

具体的には、第3のSTN_table()でエントリーされるnumber_of_audio_stream_entriesのオーディオストリームは、後述する図36の再生装置141または図53の再生装置401の1stオーディオデコーダ75−1でデコードされるオーディオストリームであり、第3のSTN_table()でエントリーされるnumber_of_audio_stream2_entriesのオーディオストリームは、後述する図36の再生装置141または図53の再生装置401の2ndオーディオデコーダ75−2でデコードされるオーディオストリームである。このように、図35の第3のSTN_table()では、2つのオーディオデコーダのそれぞれにデコードさせるオーディオストリームをエントリーすることができる。   Specifically, the audio stream of number_of_audio_stream_entries entered in the third STN_table () is an audio stream decoded by the 1st audio decoder 75-1 of the playback device 141 in FIG. 36 or the playback device 401 in FIG. The number_of_audio_stream2_entries audio stream entered in the third STN_table () is an audio stream decoded by the 2nd audio decoder 75-2 of the playback device 141 in FIG. 36 or the playback device 401 in FIG. 53 described later. In this way, in the third STN_table () in FIG. 35, audio streams to be decoded by the two audio decoders can be entered.

なお、以下において、図36の再生装置141または図53の再生装置401の1stオーディオデコーダ75−1でデコードされるnumber_of_audio_stream_entriesのオーディオストリームをオーディオストリーム#1と称し(さらに、オーディオストリーム#1は、後述するように、プライマリ(Primary)オーディオストリームと称される場合もある)、図36の再生装置141または図53の再生装置401の2ndオーディオデコーダ75−2でデコードされるnumber_of_audio_stream2_entriesのオーディオストリームをオーディオストリーム#2と称する(さらに、オーディオストリーム#2は、後述するように、セカンダリ(Secondary)オーディオストリームと称される場合もある)。また、オーディオストリーム#1は、オーディオストリーム#2よりも優先されるオーディオストリームであるものとする。   In the following, the audio stream of number_of_audio_stream_entries decoded by the 1st audio decoder 75-1 of the playback device 141 of FIG. 36 or the playback device 401 of FIG. The audio stream of number_of_audio_stream2_entries decoded by the 2nd audio decoder 75-2 of the playback device 141 in FIG. 36 or the playback device 401 in FIG. 53 is sometimes referred to as an audio stream. # 2 (further, the audio stream # 2 may be referred to as a secondary audio stream, as will be described later). Also, it is assumed that the audio stream # 1 is an audio stream that has priority over the audio stream # 2.

number_of_PG_txtST_stream_entries、PG_txtST_stream_id、および、PG_txtST_stream_numberについては、図14を用いて説明した場合と同様である。   number_of_PG_txtST_stream_entries, PG_txtST_stream_id, and PG_txtST_stream_number are the same as those described with reference to FIG.

また、number_of_IG_stream_entries、IG_stream_id、IG_stream_numberについては、図14を用いて説明した場合と同様である。   Further, number_of_IG_stream_entries, IG_stream_id, and IG_stream_number are the same as those described with reference to FIG.

そして、stream_entry()のシンタクスについては、図17を用いて説明した場合と同様である。   The stream_entry () syntax is the same as that described with reference to FIG.

そして、図14、図16を用いて説明したビデオストリームID (video_stream_id)のforループ、および、オーディオストリームID (audio_stream_id)のforループにおける場合と同様に、オーディオストリームID2 (audio_stream_id2)のforループの中で、順番にstream_entry()ごとに特定される1つのオーディオエレメンタリストリームに、0からaudio_stream_id2が与えられる。なお、ビデオストリームの場合と同様に、オーディオストリームID2(audio_stream_id2)の代わりに、オーディオストリーム番号2(audio_stream_number2)を用いるようにしてもよい。この場合、audio_stream_number2は、0ではなく1から与えられる。すなわち、audio_stream_id2の値に1を加算したものがaudio_stream_number2である。オーディオストリーム番号2は、音声切り替えに使われる、ユーザから見えるオーディオストリーム番号2であるので、1から定義される。   Similarly to the for loop of the video stream ID (video_stream_id) and the for loop of the audio stream ID (audio_stream_id) described with reference to FIGS. 14 and 16, the for loop of the audio stream ID2 (audio_stream_id2) Thus, audio_stream_id2 is given from 0 to one audio elementary stream that is specified in order for each stream_entry (). As in the case of the video stream, audio stream number 2 (audio_stream_number2) may be used instead of audio stream ID2 (audio_stream_id2). In this case, audio_stream_number2 is given from 1 instead of 0. That is, audio_stream_number2 is obtained by adding 1 to the value of audio_stream_id2. The audio stream number 2 is an audio stream number 2 that can be seen by the user and used for audio switching.

すなわち、図35の第3のSTN_table()においては、number_of_audio_stream_entries(オーディオストリーム#1)のオーディオストリームと、number_of_audio_stream2_entries(オーディオストリーム#2)のオーディオストリームとが定義される。換言すれば、第3のSTN_table()を用いて、オーディオストリーム#1とオーディオストリーム#2とをエントリーすることができるので、ユーザは、同期して再生するオーディオストリームを2本選択することができる。   That is, in the third STN_table () of FIG. 35, an audio stream of number_of_audio_stream_entries (audio stream # 1) and an audio stream of number_of_audio_stream2_entries (audio stream # 2) are defined. In other words, since the audio stream # 1 and the audio stream # 2 can be entered using the third STN_table (), the user can select two audio streams to be played back synchronously. .

そして、字幕ストリームID (PG_txtST_stream_id)のforループ、および、グラフィックスストリームID (IG_stream_id)のforループの中idについても、図14、または、図16における場合と同様である。   Then, the for loop of the subtitle stream ID (PG_txtST_stream_id) and the id of the for loop of the graphics stream ID (IG_stream_id) are the same as those in FIG. 14 or FIG.

次に、図35の第3のSTN_table()のstream_attribute()について説明する。なお、stream_attribute()のシンタクスについては、図18乃至図25を用いて説明した場合と同様である。   Next, stream_attribute () of the third STN_table () in FIG. 35 will be described. Note that the syntax of stream_attribute () is the same as that described with reference to FIGS.

reserved_for_future_useの後のfor文では、video streamの分だけvideo streamが参照され、ディスク製造者が、オーディオストリームに対してMain PathおよびSub Pathを設定した分だけaudio streamが参照され、PG textST streamの分だけPG textST streamが参照され、IG streamの分だけIG streamが参照される。   In the for statement after reserved_for_future_use, the video stream is referenced by the amount of the video stream, the audio stream is referenced by the disc manufacturer who has set the Main Path and Sub Path for the audio stream, and the amount of PG textST stream. Only the PG textST stream is referred to, and the IG stream is referred to by the amount of the IG stream.

ビデオストリームID (video_stream_id)のforループの中のstream_attribute()は、stream_entry()ごとに特定される1つのビデオエレメンタリストリームのストリーム属性情報を与える。すなわち、このstream_attribute()には、stream_entry()ごとに特定される1つのビデオエレメンタリストリームのストリーム属性情報が記述されている。   The stream_attribute () in the for loop of the video stream ID (video_stream_id) gives stream attribute information of one video elementary stream specified for each stream_entry (). That is, in this stream_attribute (), stream attribute information of one video elementary stream specified for each stream_entry () is described.

同様に、オーディオストリームID(audio_stream_id)のforループの中のstream_attribute()は、stream_entry()ごとに特定される1つのオーディオエレメンタリストリームのストリーム属性情報を与える。すなわち、このstream_attribute()には、stream_entry()ごとに特定される1つのオーディオエレメンタリストリームのストリーム属性情報が記述されている。例えば、図15のstream_entry()のtype=1またはtype=2で特定されるオーディオエレメンタリストリームは1つであるので、stream_attribute()は、その1つのオーディオエレメンタリストリームのストリーム属性情報を与える。   Similarly, stream_attribute () in the for loop of the audio stream ID (audio_stream_id) gives stream attribute information of one audio elementary stream specified for each stream_entry (). That is, in this stream_attribute (), stream attribute information of one audio elementary stream specified for each stream_entry () is described. For example, since there is one audio elementary stream specified by type = 1 or type = 2 of stream_entry () in FIG. 15, stream_attribute () gives stream attribute information of that one audio elementary stream.

同様に、オーディオストリームID2(audio_stream_id2)のforループの中のstream_attribute()は、stream_entry()ごとに特定される1つのオーディオエレメンタリストリームのストリーム属性情報を与える。すなわち、このstream_attribute()には、stream_entry()ごとに特定される1つのオーディオエレメンタリストリームのストリーム属性情報が記述されている。例えば、図15のstream_entry()のtype=1またはtype=2で特定されるオーディオエレメンタリストリームは1つであるので、stream_attribute()は、その1つのオーディオエレメンタリストリームのストリーム属性情報を与える。   Similarly, stream_attribute () in the for loop of audio stream ID2 (audio_stream_id2) gives stream attribute information of one audio elementary stream specified for each stream_entry (). That is, in this stream_attribute (), stream attribute information of one audio elementary stream specified for each stream_entry () is described. For example, since there is one audio elementary stream specified by type = 1 or type = 2 of stream_entry () in FIG. 15, stream_attribute () gives stream attribute information of that one audio elementary stream.

同様に、字幕ストリームID(PG_txtST_stream_id)のforループの中のstream_attribute()は、stream_entry()ごとに特定される1つのビットマップ字幕エレメンタリストリームまたはテキスト字幕エレメンタリストリームのストリーム属性情報を与える。すなわち、このstream_attribute()には、stream_entry()ごとに特定される1つのビットマップ字幕エレメンタリストリームのストリーム属性情報が記述されている。   Similarly, stream_attribute () in the for loop of the subtitle stream ID (PG_txtST_stream_id) gives stream attribute information of one bitmap subtitle elementary stream or text subtitle elementary stream specified for each stream_entry (). That is, in this stream_attribute (), stream attribute information of one bitmap subtitle elementary stream specified for each stream_entry () is described.

同様に、グラフィックスストリームID(IG_stream_id)のforループの中のstream_attribute()は、stream_entry()ごとに特定される1つのインタラクティブグラフィックスエレメンタリストリームのストリーム属性情報を与える。すなわち、このstream_attribute()には、stream_entry()ごとに特定される1つのインタラクティブグラフィックスエレメンタリストリームのストリーム属性情報が記述されている。   Similarly, stream_attribute () in the for loop of the graphics stream ID (IG_stream_id) gives stream attribute information of one interactive graphics elementary stream specified for each stream_entry (). That is, stream attribute information of one interactive graphics elementary stream specified for each stream_entry () is described in the stream_attribute ().

このように、第3のSTN_tableが用いられる場合においても、PlayItemとそれに関連付けられて再生される1つ以上のSubPathが用意されているとき、このPlayItemが参照するClipと1つ以上のSubPathが参照するClipの中から、stream_entry()によって特定された1つのエレメンタリストリームの属性情報をstream_attribute()によって知ることができる。   As described above, even when the third STN_table is used, when a PlayItem and one or more SubPaths to be played back are prepared, the Clip referred to by the PlayItem and one or more SubPaths are referenced. The attribute information of one elementary stream specified by stream_entry () can be known from stream_attribute ().

再生装置は、第1または第2のSTN_tableが用いられる場合と同様にして、この属性情報(stream_attribute())を調べることによって、そのエレメンタリストリームを自分自身が再生する機能を持っているか否かを調べることができる。また、再生装置は、この属性情報を調べることによって、再生装置の言語設定の初期情報に対応したエレメンタリストリームの選択することができる。   Whether or not the playback apparatus has a function of playing back the elementary stream by examining this attribute information (stream_attribute ()) in the same manner as when the first or second STN_table is used. Can be examined. Further, the playback device can select the elementary stream corresponding to the initial information of the language setting of the playback device by examining the attribute information.

なお、図35の第3のSTN_table()が適用される場合、オーディオストリーム#1とオーディオストリーム#2とは、両方ともメインパスにより参照されるClipに含まれるオーディオストリームとしてもよい。また、オーディオストリーム#1とオーディオストリーム#2のうちの、一方をメインパスにより参照されるClipに含まれるオーディオストリームとし、他方をサブパスにより参照されるClipに含まれるオーディオストリームとしてもよい。このように、図35の第3のSTN_table()が適用される場合、メインパスにより参照されるメインClipAVストリームに重畳された複数のオーディオストリームを2つ選択して、ミキシングして再生することも可能である。   Note that when the third STN_table () of FIG. 35 is applied, both the audio stream # 1 and the audio stream # 2 may be audio streams included in the Clip referred to by the main path. Also, one of the audio stream # 1 and the audio stream # 2 may be an audio stream included in a clip referred to by the main path, and the other may be an audio stream included in the clip referenced by the sub path. As described above, when the third STN_table () of FIG. 35 is applied, two audio streams superimposed on the main Clip AV stream referenced by the main path may be selected, mixed, and reproduced. Is possible.

このようにして、PlayItem()の中に第3のSTN_table()を設けるようにすることにより、PlayItemとそれに関連付けられて再生される1つ以上のSubPathが用意されている場合に、ユーザによる音声切り替えや字幕切り替えという操作により、このPlayItemが参照するClipと1つ以上のSubPathが参照するClipの中から再生されるストリームを自由に組み合わせて選ぶことができる仕組みが提供されるので、ユーザは、再生するAVストリームとは異なるストリームやデータファイルに対しても、インタラクティブな操作を行うことができる。   In this way, by providing the third STN_table () in PlayItem (), when the PlayItem and one or more SubPaths to be played back in association with it are prepared, the user's voice By the operation of switching or subtitle switching, a mechanism is provided that allows the user to select any combination of streams to be played from the Clip referenced by this PlayItem and the Clip referenced by one or more SubPaths. Interactive operations can be performed on a stream or data file different from the AV stream to be reproduced.

また、第1および第2のSTN_tableにおける場合と同様に、第3のSTN_tableが適用される場合においても、1つのPlayListの中にSubPathを複数使用し、それぞれのSubPathがそれぞれSubPlayItemを参照する構成としたので、拡張性の高い、また、自由度の高いAVストリームを実現することができる。すなわち、このPlayListにより再生されるコンテンツにおいて、後で、SubPlayItemを追加できる構成とすることができる。   Similarly to the case of the first and second STN_tables, when the third STN_table is applied, a plurality of SubPaths are used in one PlayList, and each SubPath refers to a SubPlayItem. Therefore, it is possible to realize an AV stream with high expandability and high flexibility. That is, a configuration in which SubPlayItems can be added later in the content played back by this PlayList.

さらに、図35を用いて説明した第3のSTN_table()は、後述する図36の再生装置141または図53の再生装置401の1stオーディオデコーダ75−1でデコードされるオーディオストリーム#1と、2ndオーディオデコーダ75−2でデコードされるオーディオストリーム#2とをミキシングして再生することができる仕組みを提供するようにした。例えば、PlayItem()とそれに関連付けられて再生される1つ以上のSubPathが用意されている場合に、PlayItemが参照するClipに含まれるオーディオストリームをオーディオストリーム#1とし、SubPathが参照するClipに含まれるオーディオストリームをオーディオストリーム#2とし、これらををミキシングして再生することができる仕組みを提供するようにした。また、例えば、PlayItemが参照するClip(メインClip)に含まれる2つのオーディオストリームを、それぞれオーディオストリーム#1とオーディオストリーム#2とし、これらをミキシングして再生することができる仕組みを提供するようにした。
これにより、メインオーディオストリームと、メインのオーディオストリームとは異なるオーディオストリーム(例えば、監督のコメントのストリーム)の重畳再生を行うことができる。また、メインClipAVストリームに重畳されている2つのオーディオストリーム#1とオーディオストリーム#2とを重畳(ミキシング)して再生することができる。
Furthermore, the third STN_table () described with reference to FIG. 35 includes audio stream # 1 decoded by the 1st audio decoder 75-1 of the playback device 141 in FIG. 36 or the playback device 401 in FIG. A mechanism capable of mixing and reproducing the audio stream # 2 decoded by the audio decoder 75-2 is provided. For example, when PlayItem () and one or more SubPaths to be played back are prepared, the audio stream included in the Clip referred to by PlayItem is set as the audio stream # 1, and included in the Clip referred to by SubPath. The audio stream is set to audio stream # 2, and a mechanism for mixing and reproducing these is provided. Also, for example, two audio streams included in a clip (main clip) referred to by PlayItem are set as an audio stream # 1 and an audio stream # 2, respectively, and these can be mixed and played back. did.
Thereby, the main audio stream and an audio stream different from the main audio stream (for example, a director's comment stream) can be superimposed and reproduced. Also, the two audio streams # 1 and # 2 superimposed on the main ClipAV stream can be reproduced by being superimposed (mixed).

具体的には、例えば、図26を参照して説明した場合と同様にして、ユーザに提供する音声信号と字幕信号の関係を表すストリームナンバーテーブルにおいて、音声番号をA_SN(Audio Stream Number)、A_SN2と称し、字幕番号をS_SN(SubPicture Stream Number)と称した場合、PlayListのMain Pathを構成するPlayItemの第3のSTN_table()でエントリーされるオーディオストリーム#1(audio_stream_idでエントリーされるオーディオストリーム)のそれぞれにA_SNが与えられ、ユーザは、A_SNが与えられているオーディオストリームの中から、再生するオーディオストリーム#1を選択することができるようになされる。同様に、第3のSTN_table()でエントリーされるオーディオストリーム#2(audio_stream_id2でエントリーされるオーディオストリーム)のそれぞれにA_SN2を与えることにより、ユーザに、選択したオーディオストリーム#1とミキシングされるオーディオストリーム#2を、A_SN2が与えられているオーディオストリームの中から選択させるようにすることができる。   Specifically, for example, as in the case described with reference to FIG. 26, in the stream number table representing the relationship between the audio signal and the caption signal provided to the user, the audio number is A_SN (Audio Stream Number), A_SN2 When the subtitle number is called S_SN (SubPicture Stream Number), the audio stream # 1 (audio stream entered with audio_stream_id) entered in the third STN_table () of the PlayItem constituting the Main Path of the PlayList A_SN is given to each, and the user can select the audio stream # 1 to be reproduced from the audio streams to which A_SN is given. Similarly, by giving A_SN2 to each of the audio streams # 2 (audio streams entered by audio_stream_id2) entered in the third STN_table (), the audio stream mixed with the selected audio stream # 1 is given to the user # 2 can be selected from the audio streams to which A_SN2 is given.

ここで、オーディオストリーム#1を選択するためのA_SNと、オーディオストリーム#2を選択するためのA_SN2とは、ユーザにより独立に選択可能なようになされているため、2つの音声の切り替えは独立している。   Here, since A_SN for selecting audio stream # 1 and A_SN2 for selecting audio stream # 2 can be independently selected by the user, switching between the two sounds is independent. ing.

すなわち、再生する2つのオーディオストリーム(オーディオストリーム#1とオーディオストリーム#2)とを別々に定義することで、ユーザは、再生する2つのオーディオストリームを、定義されたものの中から任意に選択することができる。換言すれば、ユーザは、再生する2つのオーディオストリームの選択を自由に(オーディオストリーム#1とオーディオストリーム#2で定義されているものの中から自由に)行うことができるので、組み合わせの自由度の高い選択を行うことができる。例えば、ユーザは、オーディオ2+オーディオ4の組み合わせ(A_SN=1とA_SN2=1の組み合わせ)や、オーディオ2+オーディオ5の組み合わせ(A_SN=1とA_SN2=2の組み合わせ)を選択することができる。   That is, by defining two audio streams to be reproduced (audio stream # 1 and audio stream # 2) separately, the user can arbitrarily select two audio streams to be reproduced from the defined ones. Can do. In other words, the user can freely select two audio streams to be played (freely defined by the audio stream # 1 and the audio stream # 2). High selection can be made. For example, the user can select a combination of audio 2 + audio 4 (a combination of A_SN = 1 and A_SN2 = 1) or a combination of audio 2 + audio 5 (a combination of A_SN = 1 and A_SN2 = 2).

このように、PlayItem()の中の第3のSTN table()(図35)のstream_entry()で、2本のオーディオストリームをエントリーすることが可能な構成としたので、2つのオーディオストリームをミキシングして再生することができる。すなわち、複数の種類からなるストリームから、同じ種類(この例の場合、オーディオストリーム)の2本のストリームをミキシング(重畳、または合成)して、同時に再生することができる。また、ユーザは、所望する2本の同じ種類のストリームのミキシング再生を指令することができる。   As described above, the stream_entry () of the third STN table () (FIG. 35) in PlayItem () is configured so that two audio streams can be entered, so the two audio streams are mixed. Can be played. That is, two streams of the same type (in this example, an audio stream) can be mixed (superimposed or combined) from a plurality of types of streams and simultaneously played back. In addition, the user can instruct mixing reproduction of two desired types of streams.

次に、本発明を適用した再生装置の異なる例として、第3のSTN table()(図35)など、2本のオーディオストリームを個別にエントリーすることが可能な構成を用いて、2つのオーディオストリームをミキシングして再生することができる再生装置141について説明する。   Next, as a different example of a playback apparatus to which the present invention is applied, two audio streams are configured using a configuration in which two audio streams can be individually entered, such as a third STN table () (FIG. 35). A playback device 141 that can mix and play a stream will be described.

再生装置141は、再生装置1のAVデコーダ部26に代わって、AVデコーダ部151が設けられている以外は、基本的に、図27を用いて説明した再生装置1と同様の構成を有するものである。図36は、AVデコーダ部151の構成例を示すブロック図である。このAVデコーダ部151を備えた再生装置141は、上述したメインパスとサブパスを有する、図35を用いて説明した第3のSTN_tableが記載されたPlayListに基づいて、AVストリームを再生することができる。   The playback device 141 basically has the same configuration as the playback device 1 described with reference to FIG. 27 except that the AV decoder unit 151 is provided instead of the AV decoder unit 26 of the playback device 1. It is. FIG. 36 is a block diagram illustrating a configuration example of the AV decoder unit 151. The playback device 141 including the AV decoder unit 151 can play back an AV stream based on the PlayList in which the third STN_table described with reference to FIG. 35 has the main path and the sub path described above. .

そして、再生装置141のAVデコーダ部151は、PIDフィルタ55に代わってPIDフィルタ161が設けられ、スイッチ59に代わってスイッチ162が設けられている以外は、基本的に、再生装置1のAVデコーダ部26と同様の構成を有するものである。また、図35の第3のSTN_table()において、audio_stream_idで与えられるオーディオストリームをデコードするためのものが1stオーディオデコーダ75−1であり、audio_stream_id2で与えられるオーディオストリームをデコードするためのものが2ndオーディオデコーダ75−2である。   The AV decoder unit 151 of the playback device 141 is basically the AV decoder of the playback device 1 except that the PID filter 161 is provided instead of the PID filter 55 and the switch 162 is provided instead of the switch 59. The configuration is the same as that of the unit 26. Also, in the third STN_table () of FIG. 35, the 1st audio decoder 75-1 is for decoding the audio stream given by audio_stream_id, and the 2nd audio is for decoding the audio stream given by audio_stream_id2. This is a decoder 75-2.

コントローラ21により読み出されたファイルデータは、図示せぬ復調、ECC復号部により、復調され、復調された多重化ストリームに誤り訂正が施される。スイッチ32は、復調され、誤り訂正が施されたデータを、コントローラ21からの制御に基づいて、ストリームの種類ごとに選択し、対応するバッファ51乃至54に供給する。具体的には、スイッチ32は、コントローラ21からの制御に基づいて、バックグラウンドイメージデータをバッファ51に供給し、メインClipから読み出されたデータ(すなわち、メインClip AVストリーム)をバッファ52に供給し、サブClipから読み出されたデータ(すなわち、サブClip AVストリーム)をバッファ53に供給し、Text-STのデータをバッファ54に供給するようスイッチ32を切り替える。バッファ51は、バックグラウンドイメージデータをバッファリングし、バッファ52は、メインClipから読み出されたデータをバッファリングし、バッファ53は、サブClipから読み出されたデータをバッファリングし、バッファ54は、Text-STデータをバッファリングする。   The file data read by the controller 21 is demodulated by a demodulation and ECC decoding unit (not shown), and error correction is performed on the demodulated multiplexed stream. The switch 32 selects the demodulated and error-corrected data for each stream type based on the control from the controller 21 and supplies the selected data to the corresponding buffers 51 to 54. Specifically, the switch 32 supplies background image data to the buffer 51 and supplies data read from the main clip (that is, the main clip AV stream) to the buffer 52 based on control from the controller 21. Then, the switch 32 is switched so that the data read from the sub clip (that is, the sub clip AV stream) is supplied to the buffer 53 and the Text-ST data is supplied to the buffer 54. The buffer 51 buffers background image data, the buffer 52 buffers data read from the main clip, the buffer 53 buffers data read from the sub clip, and the buffer 54 Buffer text-ST data.

メインClip AVストリーム用リードバッファであるバッファ52から読み出されたストリームデータは、所定のタイミングで、後段のPID(パケットID)フィルタ161へ出力される。このPIDフィルタ161は、入力されたメインClip AVストリームをPID(パケットID)に応じて、後段の各エレメンタリストリームのデコーダへ振り分けて出力する。すなわち、PIDフィルタ161は、ビデオストリームをビデオデコーダ72に供給し、プレゼンテーショングラフィックスストリームをプレゼンテーショングラフィックスデコーダ73への供給元となるスイッチ57に供給し、インタラクティブグラフィックスストリームをインタラクティブグラフィックスデコーダ74への供給元となるスイッチ58に供給し、オーディオストリームを1stオーディオデコーダ75−1と2ndオーディオデコーダ75−2への供給元となるスイッチ162に供給する。   The stream data read from the buffer 52, which is the main Clip AV stream read buffer, is output to the subsequent PID (packet ID) filter 161 at a predetermined timing. The PID filter 161 distributes and outputs the input main Clip AV stream to the decoders of the elementary streams in the subsequent stage according to the PID (packet ID). That is, the PID filter 161 supplies the video stream to the video decoder 72, supplies the presentation graphics stream to the switch 57 serving as the supply source to the presentation graphics decoder 73, and supplies the interactive graphics stream to the interactive graphics decoder 74. The audio stream is supplied to the switch 162 serving as the supply source to the 1st audio decoder 75-1 and the 2nd audio decoder 75-2.

サブClip AVストリーム用リードバッファであるバッファ53から読み出されたストリームデータは、所定のタイミングで、後段のPID(パケットID)フィルタ56へ出力される。このPIDフィルタ56は、入力されたサブClip AVストリームをPID(パケットID)に応じて、後段の各エレメンタリストリームのデコーダへ振り分けて出力する。すなわち、PIDフィルタ56は、プレゼンテーショングラフィックスストリームをプレゼンテーショングラフィックスデコーダ73への供給元となるスイッチ57に供給し、インタラクティブグラフィックスストリームをインタラクティブグラフィックスデコーダ74への供給元となるスイッチ58に供給し、オーディオストリームを1stオーディオデコーダ75−1と2ndオーディオデコーダ75−2への供給元となるスイッチ162に供給する。   The stream data read from the buffer 53, which is the sub-Clip AV stream read buffer, is output to the PID (packet ID) filter 56 at the subsequent stage at a predetermined timing. The PID filter 56 distributes the input sub Clip AV stream to the decoders of the elementary streams in the subsequent stage according to the PID (packet ID) and outputs the result. That is, the PID filter 56 supplies the presentation graphics stream to the switch 57 serving as the supply source to the presentation graphics decoder 73 and supplies the interactive graphics stream to the switch 58 serving as the supply source to the interactive graphics decoder 74. The audio stream is supplied to the switch 162 which is a supply source to the 1st audio decoder 75-1 and the 2nd audio decoder 75-2.

PIDフィルタ161により振り分けられたビデオストリームは、後段のビデオデコーダ72に供給される。ビデオデコーダ72は、ビデオストリームをデコードし、デコードしたビデオデータをビデオプレーン生成部92へ出力する。   The video stream distributed by the PID filter 161 is supplied to the video decoder 72 at the subsequent stage. The video decoder 72 decodes the video stream and outputs the decoded video data to the video plane generation unit 92.

スイッチ57は、PIDフィルタ161から供給されたメインClip AVストリームに含まれるプレゼンテーショングラフィックスストリームと、サブClip AVストリームに含まれるプレゼンテーショングラフィックスストリームのうちのいずれか1つを選択し、選択したプレゼンテーショングラフィックスストリームを、後段のプレゼンテーショングラフィックスデコーダ73に供給する。プレゼンテーショングラフィックスデコーダ73は、プレゼンテーショングラフィックスストリームをデコードし、デコードしたプレゼンテーショングラフィックスストリームのデータをプレゼンテーショングラフィックスプレーン生成部93への供給元となるスイッチ77に供給する。   The switch 57 selects one of the presentation graphics stream included in the main Clip AV stream supplied from the PID filter 161 and the presentation graphics stream included in the sub Clip AV stream, and selects the selected presentation graphic. The stream is supplied to the presentation graphics decoder 73 at the subsequent stage. The presentation graphics decoder 73 decodes the presentation graphics stream, and supplies the decoded presentation graphics stream data to the switch 77 serving as a supply source to the presentation graphics plane generation unit 93.

また、スイッチ58は、PIDフィルタ161から供給されたメインClip AVストリームに含まれるインタラクティブグラフィックスストリームと、サブClip AVストリームに含まれるインタラクティブグラフィックスストリームのうちのいずれか1つを選択し、選択したインタラクティブグラフィックスストリームを、後段のインタラクティブグラフィックスストリームデコーダ74に供給する。すなわち、インタラクティブグラフィックスデコーダ74へ同時に入力されるインタラクティブグラフィックスストリームは、メインClip AVストリームまたはサブClip AVストリームのどちらかから分離されたストリームである。インタラクティブグラフィックスデコーダ74は、インタラクティブグラフィックスストリームをデコードし、デコードしたインタラクティブグラフィックスストリームのデータを、インタラクティブグラフィックスプレーン生成部94に供給する。   In addition, the switch 58 selects and selects one of the interactive graphics stream included in the main Clip AV stream supplied from the PID filter 161 and the interactive graphics stream included in the sub Clip AV stream. The interactive graphics stream is supplied to the subsequent interactive graphics stream decoder 74. That is, the interactive graphics stream that is simultaneously input to the interactive graphics decoder 74 is a stream separated from either the main Clip AV stream or the sub Clip AV stream. The interactive graphics decoder 74 decodes the interactive graphics stream and supplies the decoded interactive graphics stream data to the interactive graphics plane generating unit 94.

さらに、スイッチ162は、PIDフィルタ161から供給されたメインClip AVストリームに含まれるオーディオストリームと、サブClip AVストリームに含まれるオーディオストリームのうちのいずれか1つを選択し、選択したオーディオストリームを、後段の1stオーディオデコーダ75−1または、2ndオーディオデコーダ75−2に供給する。ここで、1stオーディオデコーダ75−1へ同時に入力されるオーディオストリームは、メインClip AVストリームまたはサブClip AVストリームのどちらかから分離されたストリームである。また、同様に、2ndオーディオデコーダ75−2へ同時に入力されるオーディオストリームも、メインClip AVストリームまたはサブClip AVストリームのどちらかから分離されたストリームである。例えば、メインClip AVストリームにオーディオストリーム#1とオーディオストリーム#2とが含まれていた場合、PIDフィルタ161は、オーディオストリームのPIDに基づいて、オーディオストリーム#1とオーディオストリーム#2とをフィルタリングし、スイッチ162に供給する。   Further, the switch 162 selects one of the audio stream included in the main Clip AV stream supplied from the PID filter 161 and the audio stream included in the sub Clip AV stream, and selects the selected audio stream. The signal is supplied to the 1st audio decoder 75-1 or the 2nd audio decoder 75-2 at the subsequent stage. Here, the audio stream simultaneously input to the 1st audio decoder 75-1 is a stream separated from either the main Clip AV stream or the sub Clip AV stream. Similarly, the audio stream input to the 2nd audio decoder 75-2 at the same time is a stream separated from either the main Clip AV stream or the sub Clip AV stream. For example, when the audio stream # 1 and the audio stream # 2 are included in the main Clip AV stream, the PID filter 161 filters the audio stream # 1 and the audio stream # 2 based on the PID of the audio stream. , Supplied to the switch 162.

スイッチ162は、例えば、PIDフィルタ161から供給されたオーディオストリーム#1を、1stオーディオデコーダ75−1に供給するようスイッチを選択し、PIDフィルタ161から供給されたオーディオストリーム#2を、2ndオーディオデコーダ75−2に供給するようスイッチを選択する。   For example, the switch 162 selects the switch so that the audio stream # 1 supplied from the PID filter 161 is supplied to the 1st audio decoder 75-1, and the audio stream # 2 supplied from the PID filter 161 is selected as the 2nd audio decoder. Select the switch to supply to 75-2.

1stオーディオデコーダ75−1は、オーディオストリームをデコードし、デコードしたオーディオストリームのデータをミキシング処理部101に供給する。また、2ndオーディオデコーダ75−2は、オーディオストリームをデコードし、デコードしたオーディオストリームのデータをミキシング処理部101に供給する。   The 1st audio decoder 75-1 decodes the audio stream and supplies the decoded audio stream data to the mixing processing unit 101. The 2nd audio decoder 75-2 decodes the audio stream and supplies the decoded audio stream data to the mixing processing unit 101.

ここで、オーディオストリーム#1とオーディオストリーム#2とを重畳して再生するような場合(ユーザにより再生するオーディオストリームとして、2つのオーディオストリームが選択された場合)、1stオーディオデコーダ75−1によりデコードされたオーディオストリーム#1と、2ndオーディオデコーダ75−2によりデコードされたオーディオストリーム#2とが、ミキシング処理部101に供給される。   Here, when audio stream # 1 and audio stream # 2 are superimposed and reproduced (when two audio streams are selected as audio streams to be reproduced by the user), decoding is performed by the 1st audio decoder 75-1. The audio stream # 1 and the audio stream # 2 decoded by the 2nd audio decoder 75-2 are supplied to the mixing processing unit 101.

ミキシング処理部101は、1stオーディオデコーダ75−1からのオーディオデータと、2ndオーディオデコーダ75−2からのオーディオデータとをミキシング(重畳)し、後段のミキシング処理部97に出力する。なお、本実施の形態においては、1stオーディオデコーダ75−1から出力されるオーディオデータと2ndオーディオデコーダ75−2から出力されるオーディオデータとをミキシング(重畳)することを、合成するとも称する。すなわち、合成とは、2つのオーディオデータを、ミキシングすることも示すものとする。   The mixing processing unit 101 mixes (superimposes) the audio data from the 1st audio decoder 75-1 and the audio data from the 2nd audio decoder 75-2, and outputs the mixed data to the subsequent mixing processing unit 97. In the present embodiment, mixing (superimposing) the audio data output from the 1st audio decoder 75-1 and the audio data output from the 2nd audio decoder 75-2 is also referred to as synthesis. In other words, synthesis means to mix two audio data.

また、スイッチ32により選択されたサウンドデータは、バッファ95に供給され、バッファリングされる。バッファ95は、所定のタイミングでサウンドデータをミキシング処理部97に供給する。サウンドデータは、この場合、メニュー選択などによる効果音のデータである。ミキシング処理部97は、ミキシング処理部101によりミキシングされたオーディオデータ(1stオーディオデコーダ75−1から出力されたオーディオデータと2ndオーディオデコーダ75−2から出力されたオーディオデータとがミキシングされたオーディオデータ)と、バッファ95から供給されてきたサウンドデータをミキシング(重畳、または合成)し、音声信号として出力する。   The sound data selected by the switch 32 is supplied to the buffer 95 and buffered. The buffer 95 supplies the sound data to the mixing processing unit 97 at a predetermined timing. In this case, the sound data is sound effect data by menu selection or the like. The mixing processing unit 97 is the audio data mixed by the mixing processing unit 101 (audio data obtained by mixing the audio data output from the 1st audio decoder 75-1 and the audio data output from the 2nd audio decoder 75-2). The sound data supplied from the buffer 95 is mixed (superimposed or synthesized) and output as an audio signal.

そして、テキストサブタイトル(Text-ST)データ、プレゼンテーショングラフィックスストリーム、バックグラウンドイメージデータ、および、ビデオデータの処理については、基本的に、再生装置1のAVデコーダ部26を用いて説明した場合と同様である。   The processing of text subtitle (Text-ST) data, presentation graphics stream, background image data, and video data is basically the same as that described with reference to the AV decoder unit 26 of the playback apparatus 1. It is.

また、スイッチ57乃至58、および、スイッチ162、並びにスイッチ77は、操作入力部29を用いて指令されるユーザからの選択に基づいて、または、対象となるデータが含まれるファイルが供給される側に、スイッチを切り替える。例えば、サブClip AVストリームファイルのみにしか、オーディオストリームが含まれていない場合、スイッチ162はサブClip AVストリームファイルを供給する側(PIDフィルタ56の出力)にスイッチを切り替える。   In addition, the switches 57 to 58, the switch 162, and the switch 77 are based on a selection from the user instructed using the operation input unit 29 or a side to which a file including target data is supplied. Switch the switch. For example, when the audio stream is included only in the sub Clip AV stream file, the switch 162 switches the switch to the side that supplies the sub Clip AV stream file (the output of the PID filter 56).

次に、図36の再生装置141における再生処理について説明する。操作入力部29を用いてユーザにより所定のAVストリームの再生が指令されたとき、コントローラ21は、ストレージドライブ22を介して記録媒体11から、または、HDD(Hard Disk Drive)などで構成されるローカルストレージ24から、例えば、図9を用いて説明したPlayListのファイルと、PlayListに含まれるPlayItemおよびSubPlayItemに基づいて、メインClip AVストリーム、サブClip AVストリーム、およびテキストサブタイトルデータ(Text-STデータ)を読み出す。   Next, playback processing in the playback device 141 of FIG. 36 will be described. When reproduction of a predetermined AV stream is instructed by the user using the operation input unit 29, the controller 21 is a local medium configured from the recording medium 11 via the storage drive 22 or an HDD (Hard Disk Drive) or the like. For example, based on the PlayList file described with reference to FIG. 9 and the PlayItem and SubPlayItem included in the PlayList, the main Clip AV stream, the sub Clip AV stream, and the text subtitle data (Text-ST data) are stored in the storage 24. read out.

コントローラ21は、バックグラウンドイメージデータをバッファ51に供給し、メインClip AVストリームのデータをバッファ52に供給し、サブClip AVストリームのデータをバッファ53に供給し、Text-STのデータをバッファ54に供給するようスイッチ32を切り替える。   The controller 21 supplies the background image data to the buffer 51, supplies the main Clip AV stream data to the buffer 52, supplies the sub Clip AV stream data to the buffer 53, and supplies the Text-ST data to the buffer 54. Switch 32 is switched to supply.

そして、スイッチ32が切り替えられて、バックグラウンドイメージデータはバッファ51に供給され、メインClip AVストリームのデータはバッファ52に供給され、サブClip AVストリームのデータはバッファ53に供給され、テキストサブタイトルデータはバッファ54に供給され、各バッファ51乃至54は、供給されたデータをそれぞれバッファリングする。   Then, the switch 32 is switched, the background image data is supplied to the buffer 51, the data of the main Clip AV stream is supplied to the buffer 52, the data of the sub Clip AV stream is supplied to the buffer 53, and the text subtitle data is The data is supplied to the buffer 54, and each of the buffers 51 to 54 buffers the supplied data.

そして、バッファ51は、バックグラウンドイメージデータをバックグラウンドデコーダ71に出力し、バッファ52はメインClip AVストリームのストリームデータをPIDフィルタ161に出力し、バッファ54は、テキストサブタイトルデータをテキストサブタイトルコンポジション76に出力し、バッファ53は、サブClip AVストリームのストリームデータをPIDフィルタ56に出力する。   Then, the buffer 51 outputs the background image data to the background decoder 71, the buffer 52 outputs the stream data of the main Clip AV stream to the PID filter 161, and the buffer 54 converts the text subtitle data into the text subtitle composition 76. The buffer 53 outputs the stream data of the sub Clip AV stream to the PID filter 56.

PIDフィルタ161は、ビデオストリームをビデオデコーダ72に供給し、プレゼンテーショングラフィックスストリームをプレゼンテーショングラフィックスデコーダ73への供給元となるスイッチ57に供給し、インタラクティブグラフィックスストリームをインタラクティブグラフィックスデコーダ74への供給元となるスイッチ58に供給し、オーディオストリームを1stオーディオデコーダ75−1または2ndオーディオデコーダ75−2への供給元となるスイッチ162に供給する。すなわち、ビデオストリーム、プレゼンテーショングラフィックスストリーム、インタラクティブグラフィックスストリーム、およびオーディオストリームには、それぞれ異なるPIDが付されている。   The PID filter 161 supplies the video stream to the video decoder 72, supplies the presentation graphics stream to the switch 57 serving as a supply source to the presentation graphics decoder 73, and supplies the interactive graphics stream to the interactive graphics decoder 74. The audio stream is supplied to the original switch 58, and the audio stream is supplied to the switch 162 which is the supply source to the first audio decoder 75-1 or the second audio decoder 75-2. That is, different PIDs are attached to the video stream, presentation graphics stream, interactive graphics stream, and audio stream, respectively.

そして、PIDフィルタ56は、プレゼンテーショングラフィックスストリームをプレゼンテーショングラフィックスデコーダ73への供給元となるスイッチ57に供給し、インタラクティブグラフィックスストリームをインタラクティブグラフィックスデコーダ74への供給元となるスイッチ58に供給し、オーディオストリームを1stオーディオデコーダ75−1と2ndオーディオデコーダ75−2への供給元となるスイッチ162に供給する。   The PID filter 56 supplies the presentation graphics stream to the switch 57 serving as the supply source to the presentation graphics decoder 73, and supplies the interactive graphics stream to the switch 58 serving as the supply source to the interactive graphics decoder 74. The audio stream is supplied to the switch 162 which is a supply source to the 1st audio decoder 75-1 and the 2nd audio decoder 75-2.

そして、PIDフィルタ161およびPIDフィルタ56の後段のスイッチ57、スイッチ58、および、スイッチ162は、コントローラ21からの制御に基づいて、メインClipとサブClipのいずれかを選択する。すなわち、スイッチ57は、PIDフィルタ161から供給されたメインClip AVストリームまたはサブClip AVストリームのプレゼンテーショングラフィックスストリームを選択し、後段のプレゼンテーショングラフィックスデコーダ73に供給する。また、スイッチ58は、PIDフィルタ161から供給されたメインClip AVストリームまたはサブClip AVストリームのインタラクティブグラフィックスストリームを選択し、後段のインタラクティブグラフィックスストリームデコーダ74に供給する。
さらに、スイッチ162は、PIDフィルタ161から供給されたメインClip AVストリーム、または、PIDフィルタ56から供給されたサブClip AVストリームのオーディオストリーム(ここでは、音声が切り替えられる前であるので、オーディオストリーム#1)を選択し、後段の1stオーディオデコーダ75−1に供給する。なお、音声を切り替えるような指令がユーザにより行われた場合には、スイッチ162は、メインClip AVストリームのオーディオストリームを2ndオーディオデコーダ75−2に供給したり、サブClip AVストリームのオーディオストリームを1stオーディオデコーダ75−1や2ndオーディオデコーダ75−2に供給したりもするが、ここでは、音声が切り替えられる前の再生処理について説明しているので、その説明は省略している。
Then, the switch 57, the switch 58, and the switch 162 following the PID filter 161 and the PID filter 56 select either the main clip or the sub clip based on the control from the controller 21. That is, the switch 57 selects the presentation graphics stream of the main Clip AV stream or the sub Clip AV stream supplied from the PID filter 161 and supplies it to the presentation graphics decoder 73 at the subsequent stage. In addition, the switch 58 selects the interactive graphics stream of the main Clip AV stream or the sub Clip AV stream supplied from the PID filter 161 and supplies the selected interactive graphics stream to the subsequent interactive graphics stream decoder 74.
Further, the switch 162 is an audio stream of the main Clip AV stream supplied from the PID filter 161 or the sub Clip AV stream supplied from the PID filter 56 (in this case, since audio is not switched, the audio stream # 1) is selected and supplied to the first audio decoder 75-1. When a command to switch the audio is issued by the user, the switch 162 supplies the audio stream of the main Clip AV stream to the 2nd audio decoder 75-2, or the audio stream of the sub Clip AV stream is 1st. Although it is supplied to the audio decoder 75-1 and the 2nd audio decoder 75-2, here, since the reproduction process before the sound is switched is described, the description thereof is omitted.

そして、バックグラウンドデコーダ71は、バックグラウンドイメージデータをデコードし、これをバックグラウンドプレーン生成部91に出力し、ビデオデコーダ72は、ビデオストリームをデコードし、これをビデオプレーン生成部92に出力し、プレゼンテーショングラフィックスデコーダ73は、スイッチ57により選択され、供給されたプレゼンテーショングラフィックスストリームをデコードし、これを後段のスイッチ77に出力し、インタラクティブグラフィックスデコーダ74は、スイッチ58により選択され、供給されたインタラクティブグラフィックスストリームをデコードし、これを後段のインタラクティブグラフィックスプレーン生成部94に出力し、Text-STコンポジション76は、テキストサブタイトルデータをデコードし、これを後段のスイッチ77に出力する。   The background decoder 71 decodes the background image data and outputs it to the background plane generation unit 91. The video decoder 72 decodes the video stream and outputs it to the video plane generation unit 92. The presentation graphics decoder 73 decodes the presentation graphics stream selected and supplied by the switch 57, and outputs this to the subsequent switch 77. The interactive graphics decoder 74 is selected and supplied by the switch 58. The interactive graphics stream is decoded and output to the subsequent interactive graphics plane generation unit 94. The Text-ST composition 76 decodes the text subtitle data. Code this and output it to the switch 77 at the subsequent stage.

そして、1stオーディオデコーダ75−1は、スイッチ162により選択され、供給されたオーティオストリーム(オーディオストリーム#1)をデコードし、これを後段のミキシング処理部101に出力する。音声の切り替えがユーザにより指示されていない状態における再生処理では、2ndオーディオデコーダ75−2からオーディオデータが出力されることはないので、ミキシング処理部101は、1stオーディオデコーダ75−1から出力されたオーディオデータを、そのまま後段のミキシング処理部97に供給する。   Then, the 1st audio decoder 75-1 decodes the supplied audio stream (audio stream # 1) selected by the switch 162, and outputs this to the mixing processing unit 101 at the subsequent stage. In the reproduction process in a state where the user has not instructed to switch the audio, the audio data is not output from the 2nd audio decoder 75-2, and therefore the mixing processing unit 101 is output from the 1st audio decoder 75-1. The audio data is supplied to the subsequent mixing processing unit 97 as it is.

スイッチ77は、プレゼンテーショングラフィックスデコーダ73またはText-STコンポジション76からのデータのいずれかを選択し、選択したデータをプレゼンテーショングラフィックスプレーン生成部93に供給する。バックグラウンドプレーン生成部91は、バックグラウンドデコーダ71から供給されたバックグラウンドイメージデータに基づいて、バックグラウンドプレーンを生成し、ビデオプレーン生成部92は、ビデオデコーダ72から供給されたビデオデータに基づいて、ビデオプレーンを生成し、プレゼンテーショングラフィックスプレーン生成部93は、スイッチ77により選択され、供給されたプレゼンテーショングラフィックスデコーダ73からのデータまたはText-STコンポジション76からのデータに基づいて、プレゼンテーショングラフィックスプレーンを生成し、インタラクティブグラフィックスプレーン生成部94は、インタラクティブグラフィックスデコーダ74から供給されたインタラクティブグラフィックスストリームのデータに基づいて、インタラクティブグラフィックスプレーンを生成する。また、バッファ95は、供給されたサウンドデータをバッファリングし、所定のタイミングでミキシング処理部97に供給する。   The switch 77 selects either the data from the presentation graphics decoder 73 or the Text-ST composition 76 and supplies the selected data to the presentation graphics plane generating unit 93. The background plane generating unit 91 generates a background plane based on the background image data supplied from the background decoder 71, and the video plane generating unit 92 is based on the video data supplied from the video decoder 72. The presentation graphics plane generating unit 93 generates a video plane based on the data from the presentation graphics decoder 73 or the text-ST composition 76 selected and supplied by the switch 77. The interactive graphics plane generating unit 94 generates an interactive graphics stream data supplied from the interactive graphics decoder 74. An interactive graphics plane is generated based on the data. The buffer 95 buffers the supplied sound data and supplies it to the mixing processing unit 97 at a predetermined timing.

そして、ビデオデータ処理部96は、各プレーンのデータを合成し、ビデオデータとして出力する。ミキシング処理部97は、オーディオデータ(ミキシング処理部101から出力されたオーディオデータ)とサウンドデータをミキシング(合成)し、出力する。   Then, the video data processing unit 96 combines the data of each plane and outputs it as video data. The mixing processing unit 97 mixes (synthesizes) audio data (audio data output from the mixing processing unit 101) and sound data and outputs the result.

このような処理により、PlayListに含まれるメインパスとサブパスによりメインClip AVストリーム、サブClip AVストリーム、およびテキストサブタイトルデータが参照され、再生される。PlayListにメインパスとサブパスを設けるようにし、サブパスで、メインパスで指定するClip AVストリームファイルとは異なるClip AVストリームである、サブClip AVストリームを指定可能な構成としたので、メインパスのPlayItemが指すメインClipとは異なるClipであるサブClipに含まれるデータとメインClipに含まれるデータとを一緒に(同じタイミングで)再生することができる。   By such processing, the main Clip AV stream, the sub Clip AV stream, and the text subtitle data are referred to and reproduced by the main path and sub path included in the PlayList. Since the main path and the sub path are provided in the PlayList, and the sub path is a clip AV stream different from the clip AV stream file specified by the main path, the sub clip AV stream can be specified. Data included in a sub clip, which is a different clip from the indicated main clip, and data included in the main clip can be reproduced together (at the same timing).

次に、音声の切り替えが指示された場合の再生装置141における処理について説明する。最初に、ユーザによりオーディオストリーム#1に対する音声の切り替えが指示される場合の処理を説明する。オーディオストリーム#2に対する音声の切り替えの処理については、後述する。なお、これらの処理は、例えば、再生装置141の再生処理の実行中に実行される処理である。   Next, processing in the playback device 141 when an instruction to switch audio is given will be described. First, a process in the case where the user instructs to switch audio for the audio stream # 1 will be described. The audio switching process for the audio stream # 2 will be described later. Note that these processes are, for example, processes that are executed during the playback process of the playback device 141.

まず、コントローラ21は、オーディオストリーム番号(IDでもよい)の順番リストを取得する。具体的には、コントローラ21は、PlayItemのSTN_table()を参照し、さらに図35を用いて説明した第3のSTN_table()にエントリーされているオーディオストリーム番号(ID)の順番のリストを取得する。この処理は、再生処理が開始されたときに実行される処理である。   First, the controller 21 acquires an order list of audio stream numbers (which may be IDs). Specifically, the controller 21 refers to the STN_table () of the PlayItem, and acquires a list of the order of the audio stream numbers (ID) entered in the third STN_table () described with reference to FIG. . This process is executed when the reproduction process is started.

ユーザにより、操作入力部29を用いて、音声切り替えの指令が行われた場合、コントローラ21は、ユーザからのオーディオストリーム#1に対する音声切り替えの指令を受け付ける。このとき、コントローラ21は、図示せぬ外部の表示装置を制御して、ストリームナンバーテーブルを外部の表示装置に表示させるように制御するようにしてもよい。
この処理は、オーディオストリーム#1に対する音声の切り替えが指令される場合の処理であるので、ユーザは、例えば、ストリームナンバーテーブルにおける、A_SN=1、A_SN=2、A_SN=3のオーディオの切り替えを指令する。具体的には、ユーザは、A_SN=1のオーディオ2からA_SN=2のオーディオ1へのオーディオの切り替えを指令する。コントローラ21は、この、ユーザからのオーディオストリーム#1に対する音声の切り替えを受け付ける。
When a voice switching command is issued by the user using the operation input unit 29, the controller 21 receives a voice switching command for the audio stream # 1 from the user. At this time, the controller 21 may control an external display device (not shown) to display the stream number table on the external display device.
Since this processing is processing when audio switching for the audio stream # 1 is instructed, for example, the user instructs audio switching of A_SN = 1, A_SN = 2, A_SN = 3 in the stream number table. To do. Specifically, the user commands audio switching from audio 2 with A_SN = 1 to audio 1 with A_SN = 2. The controller 21 accepts the audio switching for the audio stream # 1 from the user.

コントローラ21は、再生しているオーディオストリーム番号の次のオーディオストリーム番号を取得する。例えば、A_SN=1に対応するオーディオストリームファイルが再生されていた場合、A_SN=2に対応するオーディオストリームの番号が取得される。   The controller 21 acquires the audio stream number next to the audio stream number being reproduced. For example, when an audio stream file corresponding to A_SN = 1 is being reproduced, the audio stream number corresponding to A_SN = 2 is acquired.

コントローラ21は、stream_attribute()(図18)に記述されている内容に基づいて、自分自身(再生装置141)が、取得した番号に対応するオーディオストリーム(オーディオストリーム#1)を再生する機能を有するか否かを判定する。例えば、Stream_entry()において、type=1である場合、コントローラ21は、再生装置141が取得した番号に対応するメインClipに含まれるオーディオストリームを再生する機能を有するか否かを判定する。取得した番号に対応するオーディオストリームは、オーディオデコーダ75−1でデコードされるオーディオストリーム#1であるので、この処理は、このオーディオストリーム#1を、オーディオデコーダ75−1がデコードできるか否かを判定しているとも換言することができる。   The controller 21 has a function of reproducing the audio stream (audio stream # 1) corresponding to the acquired number by itself (reproducing apparatus 141) based on the contents described in stream_attribute () (FIG. 18). It is determined whether or not. For example, when type = 1 in Stream_entry (), the controller 21 determines whether or not it has a function of playing back an audio stream included in the main clip corresponding to the number acquired by the playback device 141. Since the audio stream corresponding to the acquired number is the audio stream # 1 decoded by the audio decoder 75-1, this process determines whether or not the audio decoder 75-1 can decode the audio stream # 1. In other words, it can be determined.

取得した番号に対応するオーディオストリームを再生する機能を有しない場合、コントローラ21は、現在のストリーム番号の次のストリーム番号を取得する。すなわち、現在のストリーム番号のオーディオストリームを再生する機能を有さない場合には、そのストリーム番号は飛ばされ(再生対象とならず)、自分自身が再生する機能を有するオーディオストリーム(オーディオストリーム#1)の番号が取得されるまで、次のストリーム番号を取得する処理が繰り返される。   When the controller 21 does not have a function of reproducing the audio stream corresponding to the acquired number, the controller 21 acquires the stream number next to the current stream number. That is, when the function of reproducing the audio stream of the current stream number is not provided, the stream number is skipped (not subject to reproduction), and the audio stream having the function of reproducing itself (audio stream # 1) The process of acquiring the next stream number is repeated until the number of) is acquired.

一方、取得した番号に対応するオーディオストリームを再生する機能を有する場合、コントローラ21は、取得した番号に対応するオーディオストリームを含むClipを調べる。
例えば、コントローラ21は、Stream_entry()のtypeに基づいて、取得した番号に対応するオーディオストリームがメインClipにあるのか(type=1)、サブClipにあるのか(type=2)を調べる。また、例えば、Stream_entry()において、type=1である場合、コントローラ21は、取得した番号に対応するオーディオストリームが、メインClipにあることを確認する。さらに、例えば、type=2である場合、コントローラ21は、取得した番号に対応するオーディオストリームがサブClipにあることを確認する。
On the other hand, when the controller 21 has a function of playing back an audio stream corresponding to the acquired number, the controller 21 examines a Clip including the audio stream corresponding to the acquired number.
For example, based on the type of Stream_entry (), the controller 21 checks whether the audio stream corresponding to the acquired number is in the main clip (type = 1) or in the sub clip (type = 2). For example, in Stream_entry (), if type = 1, the controller 21 confirms that the audio stream corresponding to the acquired number is in the main clip. Further, for example, when type = 2, the controller 21 confirms that the audio stream corresponding to the acquired number is in the sub clip.

そして、コントローラ21は、所望のオーディオストリーム、具体的には、取得した番号に対応するストリームの属するメインClipまたはサブClipの中の所望のオーディオストリームを特定する。例えば、取得した番号に対応するオーディオストリームが、メインClipに含まれることが確認された場合、コントローラ21は、Stream_entry()のtype=1でエントリーされている情報(ref_to_stream_PID_of_mainClip)に基づいて、メインClipの中の所定のオーディオストリームを特定する。また、例えば、取得した番号に対応するオーディオストリームがサブClipに含まれることが確認された場合、コントローラ21は、Stream_entry()のtype=2でエントリーされている情報(ref_to_SubPath_id、ref_to_SubClip_entry_id、ref_to_stream_PID_of_SubClip)に基づいて、サブClipの中の所定のオーディオストリームを特定する。この特定されたオーディオストリームが、オーディオデコーダ75−1でデコードされるオーディオストリーム#1となる。   Then, the controller 21 specifies a desired audio stream, specifically, a desired audio stream in the main clip or sub clip to which the stream corresponding to the acquired number belongs. For example, when it is confirmed that the audio stream corresponding to the acquired number is included in the main clip, the controller 21 determines that the main clip is based on the information (ref_to_stream_PID_of_mainClip) entered with type = 1 of Stream_entry (). A predetermined audio stream is identified. Further, for example, when it is confirmed that the audio stream corresponding to the acquired number is included in the sub clip, the controller 21 includes the information (ref_to_SubPath_id, ref_to_SubClip_entry_id, ref_to_stream_PID_of_SubClip) entered with type = 2 of Stream_entry (). Based on this, a predetermined audio stream in the sub clip is specified. This identified audio stream becomes the audio stream # 1 decoded by the audio decoder 75-1.

そして、コントローラ21は、所望のオーディオストリームが多重化されているClipに含まれるClip AVストリーム(メインClip AVストリームまたはサブClip AVストリーム)から特定されたオーディオストリームを読み出すようストレージドライブ22に指示し、ストレージドライブ22は、この指示に基づいて、対象となるClipから所望のオーディオストリームを読み出して、AVデコーダ部151に供給する。または、コントローラ21は、ローカルストレージ24に記録されている、所望のオーディオストリームが多重化されているClip AVストリーム(メインClip AVストリームまたはサブClip AVストリーム)から所望のオーディオストリームを読み出して、AVデコーダ部151に供給する。そして、コントローラ21は、読み出された所望のオーディオストリーム(すなわち、オーディオストリーム#1)をAVデコーダ部151のオーディオデコーダ75−1に供給するとともに、そのオーディオストリームをデコードさせるようオーディオデコーダ75−1に指示する。   Then, the controller 21 instructs the storage drive 22 to read the audio stream specified from the Clip AV stream (main Clip AV stream or sub Clip AV stream) included in the Clip in which the desired audio stream is multiplexed, Based on this instruction, the storage drive 22 reads a desired audio stream from the target Clip and supplies it to the AV decoder unit 151. Alternatively, the controller 21 reads out a desired audio stream from a Clip AV stream (main Clip AV stream or sub-Clip AV stream) recorded in the local storage 24 and multiplexed with a desired audio stream, and an AV decoder To the unit 151. Then, the controller 21 supplies the read desired audio stream (that is, audio stream # 1) to the audio decoder 75-1 of the AV decoder unit 151, and also decodes the audio stream so as to decode the audio stream. To instruct.

AVデコーダ部151のオーディオデコーダ75−1は、オーディオストリーム#1(ステップS58の処理で読み出しが指令されたオーディオストリーム)をデコードし、ミキシング処理部101に出力する。ここで、オーディオストリーム#2がオーディオデコーダ75−2によってデコードされている場合には、ミキシング処理部101は、デコードされたオーディオストリーム#1とオーディオストリーム#2とをミキシングし、後段のミキシング処理部97に供給する。一方、オーディオストリーム#2がオーディオデコーダ75−2によってデコードされていない場合には、ミキシング処理部101は、デコードされたオーディオストリーム#1をそのまま、後段のミキシング処理部97に供給する。ミキシング処理部97は、ミキシング処理部101から供給されたオーディオデータ(オーディオストリーム#1のみがデコードされたオーディオデータ、または、オーディオストリーム#1とオーディオストリーム#2とがそれぞれデコードされ、ミキシングされたオーディオデータ)と、バッファ95から出力されるサウンドデータとを、ミキシング処理し、オーディオ信号として出力する。   The audio decoder 75-1 of the AV decoder unit 151 decodes the audio stream # 1 (the audio stream that is instructed to be read in the process of step S58), and outputs the decoded audio stream # 1 to the mixing processing unit 101. Here, when the audio stream # 2 is decoded by the audio decoder 75-2, the mixing processing unit 101 mixes the decoded audio stream # 1 and the audio stream # 2, and performs a subsequent mixing processing unit. 97. On the other hand, when the audio stream # 2 is not decoded by the audio decoder 75-2, the mixing processing unit 101 supplies the decoded audio stream # 1 to the subsequent mixing processing unit 97 as it is. The mixing processing unit 97 decodes the audio data supplied from the mixing processing unit 101 (audio data obtained by decoding only the audio stream # 1 or audio stream # 1 and audio stream # 2 respectively) Data) and sound data output from the buffer 95 are mixed and output as an audio signal.

次に、ユーザによりオーディオストリーム#2に対する音声の切り替えが指示される場合の処理を説明する。なお、この処理も、再生処理の実行中に実行される処理である。また、一般的には、オーディオストリーム#2を再生する場合、オーディオストリーム#1もまた再生されているので、この処理は、例えば、オーディオストリーム#1の再生処理と並行して実行され、オーディオストリーム#2がユーザにより選択されない場合には、オーディオストリーム#1の再生処理のみが実行される。   Next, a process in the case where the user instructs to switch audio for the audio stream # 2 will be described. This process is also a process executed during the reproduction process. In general, when the audio stream # 2 is reproduced, since the audio stream # 1 is also reproduced, this processing is executed in parallel with the reproduction processing of the audio stream # 1, for example, and the audio stream # 1 is reproduced. If # 2 is not selected by the user, only the reproduction process of the audio stream # 1 is executed.

まず、コントローラ21は、PlayItemのSTN_table()を参照し、さらに図35を用いて説明した第3のSTN_table()にエントリーされているオーディオストリーム番号(ID)の順番のリストを取得する。この処理は、再生処理が開始されたときに実行される処理である。   First, the controller 21 refers to the STN_table () of the PlayItem, and obtains a list of the order of the audio stream numbers (ID) entered in the third STN_table () described with reference to FIG. This process is executed when the reproduction process is started.

ユーザにより、操作入力部29を用いて、音声切り替えの指令が行われた場合、コントローラ21は、ユーザからのオーディオストリーム#2に対する音声切り替えの指令を受け付ける。このとき、コントローラ21は、図示せぬ外部の表示装置を制御して、図26ストリームナンバーテーブルを外部の表示装置に表示させるように制御するようにしてもよい。この処理は、オーディオストリーム#2に対する音声の切り替えが指令される場合の処理であるので、ユーザは、例えば、ストリームナンバーテーブルにおける、A_SN2=1とA_SN2=2とに対応するオーディオの切り替えを指令する。コントローラ21は、この、ユーザからのオーディオストリーム#2に対する音声の切り替えを受け付ける。コントローラ21は、再生しているオーディオストリーム番号の次のオーディオストリーム番号を取得する。   When a voice switching command is issued by the user using the operation input unit 29, the controller 21 receives a voice switching command for the audio stream # 2 from the user. At this time, the controller 21 may control an external display device (not shown) to display the stream number table in FIG. 26 on the external display device. Since this process is a process in the case where the audio switching for the audio stream # 2 is instructed, for example, the user instructs the audio switching corresponding to A_SN2 = 1 and A_SN2 = 2 in the stream number table. . The controller 21 accepts the audio switching for the audio stream # 2 from the user. The controller 21 acquires the audio stream number next to the audio stream number being reproduced.

そして、コントローラ21は、stream_attribute()(図18)に記述されている内容に基づいて、取得した番号に対応するオーディオストリーム(オーディオストリーム#2)を自分自身(再生装置141)が再生する機能を有するか否かを判定する。取得した番号に対応するオーディオストリームは、オーディオデコーダ75−2でデコードされるオーディオストリーム#2であるので、この処理は、このオーディオストリーム#2を、オーディオデコーダ75−2がデコードできるか否かを判定しているとも換言することができる。   Then, based on the contents described in stream_attribute () (FIG. 18), the controller 21 has a function of playing back the audio stream (audio stream # 2) corresponding to the acquired number by itself (the playback device 141). It is determined whether or not it has. Since the audio stream corresponding to the acquired number is the audio stream # 2 decoded by the audio decoder 75-2, this process determines whether or not the audio decoder 75-2 can decode the audio stream # 2. In other words, it can be determined.

なお、1stオーディオデコーダ75−1でデコードされるオーディオストリーム#1の方が、2ndオーディオデコーダ75−2でデコードされるオーディオストリーム#2より拡張性が高くマルチストリームである場合を仮定するような場合、例えば、1stオーディオデコーダ75−1の方が2ndオーディオデコーダ75−2よりも高い性能を有する場合(オーディオストリーム#1が通常の映画の音声であり、オーディオストリーム#2が映画に対する監督のコメントなどの場合)、2ndオーディオデコーダ75−2でデコードされるオーディオストリーム#2は、ある程度の制約が設けられている可能性が高く、オーディオデコーダ75−2がデコードできないようなストリームは、オーディオストリーム#2として設定されない可能性が高いと仮定することができるので、この処理を省略するようにしてもよい。   It is assumed that the audio stream # 1 decoded by the 1st audio decoder 75-1 is more scalable and multi-stream than the audio stream # 2 decoded by the 2nd audio decoder 75-2. For example, when the 1st audio decoder 75-1 has higher performance than the 2nd audio decoder 75-2 (the audio stream # 1 is a normal movie sound, the audio stream # 2 is a director's comment on the movie, etc.) In the case of the audio stream # 2, the audio stream # 2 decoded by the 2nd audio decoder 75-2 is likely to be restricted to some extent, and the stream that cannot be decoded by the audio decoder 75-2 is the audio stream # 2. Likely not set as This process may be omitted.

取得した番号に対応するオーディオストリームを再生する機能を有しない場合、コントローラ21は、現在のストリーム番号の次のストリーム番号を取得する。すなわち、現在のストリーム番号のオーディオストリームを再生する機能を有さない場合には、そのストリーム番号は飛ばされ(再生対象とならず)、自分自身が再生する機能を有するオーディオストリーム(オーディオストリーム#2)の番号が取得されるまで、次のストリーム番号を取得する処理が繰り返される。   When the controller 21 does not have a function of reproducing the audio stream corresponding to the acquired number, the controller 21 acquires the stream number next to the current stream number. That is, if the audio stream having the current stream number is not reproduced, the stream number is skipped (not subject to reproduction), and the audio stream (audio stream # 2) having the function of reproducing itself The process of acquiring the next stream number is repeated until the number of) is acquired.

一方、取得した番号に対応するオーディオストリームを再生する機能を有する場合、コントローラ21は、Stream_entry()のtypeに基づいて、取得した番号に対応するオーディオストリームがメインClipにあるのか(type=1)、サブClipにあるのか(type=2)を調べる。Stream_entry()において、type=1である場合、コントローラ21は、取得した番号に対応するオーディオストリームが、メインClipにあることを確認する。また、Stream_entry()において、type=2である場合、コントローラ21は、取得した番号に対応するオーディオストリームがサブClipにあることを確認する。   On the other hand, when the controller 21 has a function of playing back an audio stream corresponding to the acquired number, the controller 21 determines whether the audio stream corresponding to the acquired number is in the main clip based on the type of Stream_entry () (type = 1). And whether it is in the sub clip (type = 2). In Stream_entry (), if type = 1, the controller 21 confirms that the audio stream corresponding to the acquired number is in the main clip. In Stream_entry (), if type = 2, the controller 21 confirms that the audio stream corresponding to the acquired number is in the sub clip.

そして、コントローラ21は、取得した番号に対応するストリームの属するメインClipまたはサブClipの中の所望のオーディオストリームを特定する。例えば、取得した番号に対応するオーディオストリームが、メインClipに含まれることが確認された場合、コントローラ21は、Stream_entry()のtype=1でエントリーされている情報(ref_to_stream_PID_of_mainClip)に基づいて、メインClipの中の所定のオーディオストリームを特定する。また、例えば、取得した番号に対応するオーディオストリームがサブClipに含まれることが確認された場合、コントローラ21は、Stream_entry()のtype=2でエントリーされている情報(ref_to_SubPath_id、ref_to_SubClip_entry_id、ref_to_stream_PID_of_SubClip)に基づいて、サブClipの中の所定のオーディオストリームを特定する。この特定されたオーディオストリームが、オーディオデコーダ75−1でデコードされるオーディオストリーム#2となる。   Then, the controller 21 specifies a desired audio stream in the main clip or sub clip to which the stream corresponding to the acquired number belongs. For example, when it is confirmed that the audio stream corresponding to the acquired number is included in the main clip, the controller 21 determines that the main clip is based on the information (ref_to_stream_PID_of_mainClip) entered with type = 1 of Stream_entry (). A predetermined audio stream is identified. Further, for example, when it is confirmed that the audio stream corresponding to the acquired number is included in the sub clip, the controller 21 includes the information (ref_to_SubPath_id, ref_to_SubClip_entry_id, ref_to_stream_PID_of_SubClip) entered with type = 2 of Stream_entry (). Based on this, a predetermined audio stream in the sub clip is specified. This identified audio stream becomes the audio stream # 2 decoded by the audio decoder 75-1.

そして、コントローラ21は、所望のオーディオストリームが多重化されているClip AVストリーム(メインClip AVストリームまたはサブClip AVストリームAVストリーム)を読み出すようストレージドライブ22に指示し、ストレージドライブ22は、この指示に基づいて、対象となるClip AVストリームを読み出し、AVデコーダ151に供給する。
または、コントローラ21は、ローカルストレージ24からは、所望のオーディオストリームが多重化されているClip AVストリーム(メインClip AVストリームまたはサブClip AVストリーム)を読み出させ、AVデコーダ151に供給させる。そして、コントローラ21は、読み出されたClipに含まれる所望のオーディオストリーム(すなわち、オーディオストリーム#2)をAVデコーダ部151のオーディオデコーダ75−2にデコードさせるよう指示する。
Then, the controller 21 instructs the storage drive 22 to read out the Clip AV stream (main Clip AV stream or sub Clip AV stream AV stream) in which the desired audio stream is multiplexed. The storage drive 22 responds to this instruction. Based on this, the target Clip AV stream is read and supplied to the AV decoder 151.
Alternatively, the controller 21 reads out a Clip AV stream (a main Clip AV stream or a sub Clip AV stream) in which a desired audio stream is multiplexed from the local storage 24 and supplies it to the AV decoder 151. Then, the controller 21 instructs the audio decoder 75-2 of the AV decoder unit 151 to decode a desired audio stream (that is, audio stream # 2) included in the read Clip.

AVデコーダ部151は、オーディオストリーム(オーディオストリーム#2)をデコードし、オーディオ出力する。具体的には、AVデコーダ部151のオーディオデコーダ75−2は、オーディオストリーム#2(ステップS78の処理で読み出しが指令されたオーディオストリーム)をデコードし、ミキシング処理部101に出力する。この処理で、オーディオストリーム#2がオーディオデコーダ75−2によってデコードされているということは、の処理でオーディオストリーム#1がオーディオデコーダ75−1によってもデコードされ、デコードされたオーディオストリーム#1がミキシング処理部101に出力されているので、ミキシング処理部101は、デコードされたオーディオストリーム#1とオーディオストリーム#2とをミキシングし、後段のミキシング処理部97に供給する。ミキシング処理部97は、ミキシング処理部101から供給されたオーディオデータ(オーディオストリーム#1とオーディオストリーム#2とがそれぞれデコードされ、ミキシングされたオーディオデータ)と、バッファ95から出力されるサウンドデータとを、ミキシング処理し、オーディオ信号として出力する。   The AV decoder unit 151 decodes the audio stream (audio stream # 2) and outputs the audio. Specifically, the audio decoder 75-2 of the AV decoder unit 151 decodes the audio stream # 2 (the audio stream that is instructed to be read in the process of step S78), and outputs the decoded audio stream # 2 to the mixing processing unit 101. In this process, the audio stream # 2 is decoded by the audio decoder 75-2. This means that the audio stream # 1 is also decoded by the audio decoder 75-1 in the process, and the decoded audio stream # 1 is mixed. Since it is output to the processing unit 101, the mixing processing unit 101 mixes the decoded audio stream # 1 and audio stream # 2 and supplies the mixed audio stream # 1 to the subsequent mixing processing unit 97. The mixing processing unit 97 receives the audio data supplied from the mixing processing unit 101 (audio data obtained by decoding the audio stream # 1 and the audio stream # 2 respectively) and the sound data output from the buffer 95. , Mixing processing and output as an audio signal.

このようにして、2つのオーディオストリームを選択し、ミキシングして再生することができる。すなわち、再生するオーディオストリームが1つである場合、スイッチ59は、PIDフィルタ55またはPIDフィルタ56からから供給されたオーディオストリームを1stオーディオデコーダ75−1に供給するよう選択し、再生するオーディオストリームが2つである場合、スイッチ59は、PIDフィルタ55またはPIDフィルタ56から供給されたオーディオストリームを2ndオーディオデコーダ75−2に供給するよう選択する。   In this way, two audio streams can be selected, mixed and reproduced. That is, when there is one audio stream to be reproduced, the switch 59 selects to supply the audio stream supplied from the PID filter 55 or the PID filter 56 to the 1st audio decoder 75-1, and the audio stream to be reproduced is If there are two, the switch 59 selects to supply the audio stream supplied from the PID filter 55 or PID filter 56 to the 2nd audio decoder 75-2.

すなわち、コントローラ21は、PlayItemのSTN_table()に基づいて、音声(オーディオ)の切り替えを制御することができ、STN_table()のstream_attributeを参照することで、自分自身が再生機能を有するストリームだけを選んで、再生切り替えの制御をすることができる。さらに、コントローラ21は、STN_table()に基づいて、2つのオーディオストリームを重畳して再生するよう制御することができる。また、コントローラ21は、1つのメインとなるオーディオストリーム#1と、オーディオストリーム#1と同期して再生される同じ種類のストリーム(オーディオストリーム)であるオーディオストリーム#2とを、ミキシングして再生するよう制御することができる。 That is, the controller 21 can control switching of audio (audio) based on STN_table () of PlayItem, and selects only a stream for which the controller 21 has a playback function by referring to the stream_attribute of STN_table (). Thus, playback switching can be controlled. Furthermore, the controller 21 can control to superimpose and reproduce two audio streams based on STN_table (). The controller 21 mixes and reproduces one main audio stream # 1 and an audio stream # 2 that is the same type of stream (audio stream) that is reproduced in synchronization with the audio stream # 1. Can be controlled.

なお、この処理においても、オーディオストリーム番号に基づいて、オーディオを切り替えるものとして説明したが、オーディオストリームID(audio_stream_id)に基づいて、オーディオを切り替えるようにしてもよい。この場合、オーディオストリーム番号から1を減算したものが、オーディオストリームIDとなる。   In this process, the audio is switched based on the audio stream number. However, the audio may be switched based on the audio stream ID (audio_stream_id). In this case, the audio stream ID is obtained by subtracting 1 from the audio stream number.

また、第3のSTN_tableを用いる場合の処理も、オーディオストリームに限らず、ストリームの種類が同じであれば、各種のストリームファイルについて同様に適用することができる。例えば、ビデオストリーム(ストリームの種類がビデオストリームであるストリーム)を2つ合成して再生するピクチャインピクチャ表示をする場合にも、この構成は適用することができる。このように、本発明によれば、2つの同じ種類のストリームファイルを合成して再生することができる。   Further, the processing when the third STN_table is used is not limited to the audio stream, and can be similarly applied to various stream files as long as the stream types are the same. For example, this configuration can also be applied to the case of picture-in-picture display in which two video streams (streams whose stream types are video streams) are combined and played back. As described above, according to the present invention, two stream files of the same type can be synthesized and reproduced.

すなわち、この構成も、例えば、図43を用いて後述するように、メインパスで参照されるAVストリームのビデオストリーム(ビデオストリーム#1)を主画面として表示させ、主画面の中に、サブパス(やメインパス)のビデオパスで参照されるビデオストリーム(ビデオストリーム#2)を子画面として合成して表示させる、いわゆるPinP(ピクチャインピクチャ)表示などについても利用することができる。   That is, this configuration also displays the AV stream video stream (video stream # 1) referred to in the main path as the main screen, as will be described later with reference to FIG. In addition, it can be used for so-called PinP (picture-in-picture) display in which a video stream (video stream # 2) referred to in the video path of the main path is combined and displayed as a child screen.

以上により、再生装置141も、再生装置1における場合と同様に、メインのAVストリームとは別のストリームやデータファイルでオーディオや字幕などを用意する場合に、PlayListの中にメインパスとサブパスを有する構成としたので、ユーザによる音声切り替えや字幕切り替えという操作が、メインClipAVストリームとは異なる別ストリームや別データファイルの中から選ぶことができる。   As described above, the playback apparatus 141 also has a main path and a sub path in the PlayList when preparing audio and subtitles in a stream or data file different from the main AV stream, as in the playback apparatus 1. Since the configuration is adopted, an operation such as audio switching or subtitle switching by the user can be selected from another stream or another data file different from the main ClipAV stream.

また、メインパスのPlayItemの中に、AVストリームファイルに多重化されているデータと、Sub Pathにより参照されるデータのtypeを定義するSTN_Tableを設けるようにしたので、より、拡張性の高いストリームを実現することができる。   In addition, since the STN_Table that defines the type of data that is multiplexed in the AV stream file and the data that is referenced by the Sub Path is provided in the PlayItem of the main path, a stream with higher expandability is provided. Can be realized.

さらに、再生装置141も、再生装置1における場合と同様に、STN_table()のstream_attributeを参照することで、自分自身が有する機能に対応するストリームだけを順次選択して再生することができる。   Furthermore, as with the playback apparatus 1, the playback apparatus 141 can sequentially select and play back only the streams corresponding to the functions of the playback apparatus 141 by referring to the stream_attribute of the STN_table ().

以上説明した再生装置141が、図35の第3のSTN_tableを参照して再生処理を行った場合についてまとめると、以下のようになる。   The case where the playback device 141 described above performs playback processing with reference to the third STN_table of FIG. 35 is summarized as follows.

再生装置141は、少なくとも1つのストリームを含むメインClip AVストリームファイルの位置を示す主の再生パスであるメインパスと、メインClipAVストリームファイルのタイミングに合わせて再生されるサブClip AVストリームファイルのそれぞれの位置を示す複数のサブパスにより構成される再生管理情報としてのPlayListを取得する。そして、再生装置141は、PlayListに含まれる再生するストリームを選択するためのSTN_table()に基づいて、再生するストリームの選択を受け付ける。STN_table()は、メインClip AVストリームファイルの所定の種類のストリーム(例えば、オーディオストリーム#1)と、そのストリームの再生のタイミングに合わせて再生される、同じ種類のストリームファイル(例えば、オーディオストリーム#2)とを選択するための情報であるので、このSTN_table()(PlayItemで示されるSTN_table())に基づいて、再生するストリームの選択を受け付ける。   The playback device 141 has a main path that is a main playback path indicating the position of the main Clip AV stream file including at least one stream, and each of the sub Clip AV stream files that are played back in accordance with the timing of the main Clip AV stream file. A PlayList is obtained as reproduction management information composed of a plurality of sub-paths indicating positions. Then, the playback device 141 accepts selection of a stream to be played based on STN_table () for selecting a stream to be played back included in the PlayList. STN_table () is a predetermined type of stream (for example, audio stream # 1) of the main Clip AV stream file and the same type of stream file (for example, audio stream #) that is played in accordance with the playback timing of the stream. 2), the selection of the stream to be played back is accepted based on this STN_table () (STN_table () indicated by PlayItem).

ここで、2つの同じ種類のストリーム(オーディオストリーム)が再生するストリームとして選択された場合、再生装置141は、選択された2つのストリームファイルを読み出し、再生装置141のミキシング処理部101は、この2つのオーディオストリーム(デコードされたオーディオストリーム)を合成し、ミキシング処理部97(AVデコーダ部151)は、合成されたストリームを再生(出力)する。   Here, when two streams of the same type (audio stream) are selected as playback streams, the playback device 141 reads the two selected stream files, and the mixing processing unit 101 of the playback device 141 reads these two stream files. Two audio streams (decoded audio streams) are synthesized, and the mixing processing unit 97 (AV decoder unit 151) reproduces (outputs) the synthesized stream.

これにより、ユーザに選択された(切り替えられて選択された)2つのオーディオがミキシング(合成)されて再生される。   Thereby, the two audios selected (selected by switching) are mixed (synthesized) and reproduced.

また、上述した再生装置1における場合と同様に、PlayListにMain PathとSub Pathを含め、Main PathとSub Pathが異なるClipを参照する構成としたので、ストリームに拡張性を持たせることができ、例えば、図8を用いて説明したように、1つのSub Pathで複数のファイルを参照可能な構成としたので、複数の異なるストリームの中からユーザが選択することができる。   Further, as in the case of the playback apparatus 1 described above, since the main path and sub path are included in the play list and the clips having different main paths and sub paths are referred to, the stream can be extended. For example, as described with reference to FIG. 8, the configuration is such that a plurality of files can be referred to by one Sub Path, so that the user can select from a plurality of different streams.

さらに、Main PathのPlayItemの中に、Main Pathにより参照されるAVストリームファイルに多重化されている(含まれる)付属データ(例えば、オーディオストリーム)と、Sub Pathにより参照される付属データとを定義するテーブルとして、図35のSTN_table()を設けるようにしたので、より、拡張性の高いストリームを実現することができる。また、STN_table()にエントリーすれば、Sub Pathを容易に拡張することができる。   Further, in the Play item of the Main Path, the attached data (for example, an audio stream) multiplexed (included) in the AV stream file referenced by the Main Path and the attached data referenced by the Sub Path are defined. Since the STN_table () of FIG. 35 is provided as the table to be performed, a more highly scalable stream can be realized. In addition, Sub Path can be easily extended by entering STN_table ().

また、STN_table()にストリームの属性情報である図18のstream_attribute()を設けるようにしたので、再生装置141は、選択されたストリームを再生可能か否かを判定することができ、再生機能を有するストリームだけを選択して再生することができる。   Further, since the stream_attribute () of FIG. 18 which is the attribute information of the stream is provided in STN_table (), the playback device 141 can determine whether or not the selected stream can be played back, and has a playback function. Only the streams that have them can be selected and played back.

さらに、STN_table()(図35)において、2つの同じ種類のストリームファイル(ここでは、オーディオストリームファイル)を定義するようにし、さらに、図36の再生装置141に2つのオーディオデコーダ(1stオーディオデコーダ75−1と2ndオーディオデコーダ75−2)を設けるとともに、2つのオーディオデコーダによりデコードされたオーディオデータを合成(ミキシング)するミキシング処理部101を設けるようにしたので、2つの同じ種類のストリームを組み合わせて同時に再生することができる。   Furthermore, in STN_table () (FIG. 35), two same type stream files (here, audio stream files) are defined, and two audio decoders (1st audio decoder 75) are added to the playback device 141 of FIG. -1 and 2nd audio decoder 75-2) and a mixing processing unit 101 for synthesizing (mixing) audio data decoded by the two audio decoders are provided. Can be played at the same time.

また、上述した再生装置1における場合と同様に、Sub Pathには、図11を用いて説明した、Sub Pathのタイプ(オーディオやテキスト字幕といったタイプ)を示すSubPath_type、Sub Pathが参照するサブClipの名を示す図12のClip_Information_file_name、およびSub Pathが参照するClip AVストリームのイン点を示す図12のSubPlayItem_IN_timeとアウト点を示す図12のSubPlayItem_OUT_timeを含むようにしたので、Sub Pathが参照するデータを的確に特定することができる。   Similarly to the case of the playback apparatus 1 described above, the Sub Path includes the Sub Path_type indicating the Sub Path type (type such as audio and text subtitles) described with reference to FIG. 11, and the Sub Clip referred to by the Sub Path. 12 is included, and SubPlayItem_IN_time in FIG. 12 indicating the In point of the Clip AV stream referenced by the Sub Path and SubPlayItem_OUT_time in FIG. 12 indicating the Out point are included, so that the data referred to by the Sub Path is accurately identified. Can be specified.

さらに、上述した再生装置1における場合と同様に、Sub Pathには、Sub PathがMain Pathとを同じタイミングで再生するためのMain Path上のAVストリームファイルを指定する指定情報である図12のsync_PlayItem_id(例えば、図7と図8のsync_PlayItem_id)と、Sub Pathが参照するデータのイン点がMain Pathの時間軸上で同期してスタートするMain Path上の時刻であるsync_start_PTS_of_PlayItem(例えば、図7と図8のsync_start_PTS_of_PlayItem)とをさらに含むため、図7や図8に示されるように、Main Pathが参照するメインClipAVストリームファイルに同期してSub Pathが参照するデータ(ファイル)を再生することができる。   Further, as in the case of the playback apparatus 1 described above, in the Sub Path, sync_PlayItem_id in FIG. 12 which is designation information for designating an AV stream file on the Main Path for playing back the Sub Path to the Main Path at the same timing. (For example, sync_PlayItem_id in FIGS. 7 and 8) and sync_start_PTS_of_PlayItem (for example, FIG. 7 and FIG. 7), which is the time on the main path at which the in point of the data referred to by the sub path starts synchronously on the time axis of the main path. 8 sync_start_PTS_of_PlayItem), the data (file) referenced by the Sub Path can be reproduced in synchronization with the main ClipAV stream file referenced by the Main Path, as shown in FIGS.

また、2つのオーディオストリームをミキシングして再生する場合、再生装置141の1stオーディオデコーダ75−1はオーディオストリーム#1をデコードし、2ndオーディオデコーダ75−2はオーディオストリーム#2をデコードするのであるが、コーディック(エンコード)方式が同一(例えば、図19のDolby AC-3 audio)であるか否かを、さらに判定するようにしてもよい。このことは、1stオーディオデコーダ75−1と2ndオーディオデコーダ75−2がオーディオストリームをデコードしている途中であっても、コーディック方式が同一であれば、デコード途中のデータ方式も同様であるので、途中の同一の段階までデコードされた2つのストリームを、ミキシング処理部101によりミキシングすることが可能となるからである。   Further, when two audio streams are mixed and played back, the 1st audio decoder 75-1 of the playback device 141 decodes the audio stream # 1, and the 2nd audio decoder 75-2 decodes the audio stream # 2. It may be further determined whether or not the codec (encoding) method is the same (for example, Dolby AC-3 audio in FIG. 19). This is because even if the 1st audio decoder 75-1 and the 2nd audio decoder 75-2 are in the middle of decoding the audio stream, if the codec system is the same, the data system in the middle of decoding is the same. This is because two streams decoded up to the same stage in the middle can be mixed by the mixing processing unit 101.

なお、図36を用いて説明した再生装置141のAVデコーダ部151に供給されるデータは、上述した再生装置1における場合と同様に、DVD(Digital Versatile Disc)などの記録媒体11に記録されているデータであってもよいし、ハードディスクなどで構成されるローカルストレージ24に記録されているデータであってもよいし、ネットワーク2を介してダウンロードされたデータであってもよいし、これらが組み合わされたデータでもよい。   Note that the data supplied to the AV decoder unit 151 of the playback device 141 described with reference to FIG. 36 is recorded on a recording medium 11 such as a DVD (Digital Versatile Disc) as in the playback device 1 described above. May be data stored in the local storage 24 composed of a hard disk or the like, data downloaded via the network 2, or a combination of these. It may be processed data.

また、図35を用いて説明した第3のSTN_tableを参照して再生処理が行われる場合においては、図36の再生装置141の1stオーディオデコーダ75−1でデコードされるオーディオストリーム#1と、2ndオーディオデコーダ75−2でデコードされるオーディオストリーム#2とを、ユーザが別々に選択可能な構成としたが、オーディオストリーム#1とオーディオストリーム#2との組み合わせを定義し、ミキシング再生する場合には、この組み合わせの中からユーザに選択させる構成としてもよい。すなわち、オーディオストリーム#1とミキシング再生可能なオーディオストリーム#2の組み合わせを定義しておくようにしてもよい。   Also, when the playback process is performed with reference to the third STN_table described with reference to FIG. 35, the audio stream # 1 decoded by the 1st audio decoder 75-1 of the playback device 141 of FIG. The audio stream # 2 decoded by the audio decoder 75-2 is configured to be selectable by the user separately. However, when the combination of the audio stream # 1 and the audio stream # 2 is defined and mixed reproduction is performed, A configuration may be employed in which the user selects from this combination. That is, a combination of the audio stream # 1 and the audio stream # 2 that can be mixed and reproduced may be defined.

以下、再生されるストリームの組み合わせが定義されている場合について説明する。   Hereinafter, a case where a combination of streams to be reproduced is defined will be described.

図37は、オーディオストリーム#1とオーディオストリーム#2との組み合わせを定義する場合のSTN_table()のシンタクスの第4の例(第4のSTN_table())の例を示す図である。第4のSTN_table()を参照して実行される再生処理は、図36を用いて説明した再生装置141において実行可能である。なお、図中、図35と同一の部分については、繰り返しになるのでその説明は省略する。   FIG. 37 is a diagram illustrating a fourth example (fourth STN_table ()) of syntax of STN_table () when defining a combination of audio stream # 1 and audio stream # 2. The playback process executed with reference to the fourth STN_table () can be executed by the playback device 141 described with reference to FIG. In the figure, the same parts as those in FIG. 35 are repeated, and the description thereof is omitted.

図37において、オーディオストリームID2 (audio_stream_id2)のforループの中で、順番にstream_entry()ごとに特定される1つのオーディオエレメンタリストリームに、0からaudio_stream_id2が与えられる。このとき、audio_stream_id2に対し、stream_entry()とstream_attribute()との他に、新たにCombination_of_Primary_and_Secondaryが定義される。Combination_of_Primary_and_Secondaryは、オーディオストリーム#1(Primary)とオーディオストリーム#2(Secondary)との組み合わせを定義する情報である。
すなわち、オーディオストリームID2(audio_stream_id2)で特定されるオーディオストリーム#2に対して、どのオーディオストリーム#1が組み合わせ可能であるかを示す情報が、オーディオストリームID2のforループの中で定義される。換言すれば、Combination_of_Primary_and_Secondaryにより、オーディオストリーム#1に対して組み合わせ可能なオーディオストリーム#2が定義される。このように、オーディオストリームID1のforループ内で組み合わせるオーディオストリームID2を定義するのではなく、オーディオストリームID1とオーディオストリームID2を個別に定義し、オーディオストリームID2のforループの中で組み合わせを定義することにより、オーディオストリームID1の登録可能数が決まっている場合にでも、組み合わせの登録を1つとカウントさせないことにより、その登録可能数を有効に使うことができる。
In FIG. 37, audio_stream_id2 is given from 0 to one audio elementary stream identified for each stream_entry () in order in the for loop of audio stream ID2 (audio_stream_id2). At this time, Combination_of_Primary_and_Secondary is newly defined for audio_stream_id2 in addition to stream_entry () and stream_attribute (). Combination_of_Primary_and_Secondary is information defining a combination of audio stream # 1 (Primary) and audio stream # 2 (Secondary).
That is, information indicating which audio stream # 1 can be combined with the audio stream # 2 specified by the audio stream ID2 (audio_stream_id2) is defined in the for loop of the audio stream ID2. In other words, the audio stream # 2 that can be combined with the audio stream # 1 is defined by Combination_of_Primary_and_Secondary. Thus, instead of defining the audio stream ID2 to be combined in the for loop of the audio stream ID1, the audio stream ID1 and the audio stream ID2 are individually defined, and the combination is defined in the for loop of the audio stream ID2. Thus, even when the registerable number of the audio stream ID1 is determined, the registerable number can be used effectively by not counting the combination registration as one.

なお、図35を参照して説明したように、オーディオストリームID2(audio_stream_id2)の代わりに、オーディオストリーム番号2(audio_stream_number2)を用いるようにしてもよい。この場合、audio_stream_number2は、0ではなく1から与えられる。すなわち、audio_stream_id2の値に1を加算したものがaudio_stream_number2である。オーディオストリーム番号2は、音声切り替えに使われる、ユーザから見えるオーディオストリーム番号2であるので、1から定義される。   As described with reference to FIG. 35, audio stream number 2 (audio_stream_number2) may be used instead of audio stream ID2 (audio_stream_id2). In this case, audio_stream_number2 is given from 1 instead of 0. That is, audio_stream_number2 is obtained by adding 1 to the value of audio_stream_id2. The audio stream number 2 is an audio stream number 2 that can be seen by the user and used for audio switching.

ここで、図37のCombination_of_Primary_and_Secondaryのビットマップシンタクスの例を、図38を参照して説明する。   Here, an example of the bitmap syntax of Combination_of_Primary_and_Secondary in FIG. 37 will be described with reference to FIG.

Combination_of_Primary_and_Secondaryのビットマップシンタクスは、図38の例の場合、32bitとされる。図38において、audio_stream_idは、図37の第3のSTN_table()で定義されるaudio_stream_id(オーディオストリームID)を示しており、indicatorの値は、対応するaudio_stream_id2(オーディオストリームID2)により特定されるオーディオストリーム#2と組み合わせ可能なオーディオストリーム#1を特定するaudio_stream_idを示すフラグである。すなわち、audio_stream_idとindicatorとにより、audio_stream_id2で与えられるオーディオストリーム#2と組み合わせ可能なオーディオストリーム#1のaudio_stream_idを特定することができる。   In the example of FIG. 38, the bitmap syntax of Combination_of_Primary_and_Secondary is 32 bits. In FIG. 38, audio_stream_id indicates audio_stream_id (audio stream ID) defined in the third STN_table () of FIG. 37, and the value of the indicator is an audio stream specified by the corresponding audio_stream_id2 (audio stream ID2). This is a flag indicating audio_stream_id that identifies an audio stream # 1 that can be combined with # 2. That is, the audio_stream_id of the audio stream # 1 that can be combined with the audio stream # 2 given by the audio_stream_id2 can be specified by the audio_stream_id and the indicator.

すなわち、図37のaudio_stream_id2のforループの中にCombination_of_Primary_and_Secondaryが規定されるように、それぞれのaudio_stream_id2に対して、Combination_of_Primary_and_Secondaryが存在し、ある特定のaudio_stream_id2により特定されるオーディオストリーム#2に対して組み合わせが可能なオーディオストリーム#1が、indicatorにより示されるaudio_stream_idにより特定される。   That is, there is a Combination_of_Primary_and_Secondary for each audio_stream_id2 so that Combination_of_Primary_and_Secondary is defined in the for_loop of audio_stream_id2 in FIG. 37, and a combination is possible for audio stream # 2 specified by a specific audio_stream_id2 Audio stream # 1 is specified by audio_stream_id indicated by the indicator.

具体的には、Indicatorの値が0の場合、そのaudio_stream_id2は、audio_stream_idで特定されるオーディオストリーム#1に対応していないことを示し、indicatorの値が1の場合、そのaudio_stream_id2は、audio_stream_idで特定されるオーディオストリーム#1に対応していることを示す。   Specifically, when the value of the Indicator is 0, it indicates that the audio_stream_id2 does not correspond to the audio stream # 1 specified by the audio_stream_id. When the value of the indicator is 1, the audio_stream_id2 is specified by the audio_stream_id It corresponds to the audio stream # 1.

すなわち、図38の例の場合、audio_stream_id2(オーディオストリームID2)で特定されるオーディオストリーム#2には、audio_stream_id=0と、audio_stream_id=1で特定される2つのオーディオストリーム(オーディオストリーム#1)が組み合わせ可能であることが示されている。   That is, in the example of FIG. 38, audio stream # 2 specified by audio_stream_id2 (audio stream ID2) is combined with two audio streams (audio stream # 1) specified by audio_stream_id = 0 and audio_stream_id = 1. It has been shown to be possible.

なお、図38においては、組み合わせ可能なオーディオストリーム#1を、audio_stream_idで特定するようにしたが、audio_stream_idの代わりに、オーディオストリーム番号を用いるようにしてもよい。この場合、audio_stream_idは、0ではなく1から与えられる。   In FIG. 38, the audio stream # 1 that can be combined is specified by audio_stream_id, but an audio stream number may be used instead of audio_stream_id. In this case, audio_stream_id is given from 1 instead of 0.

図38のように、Combination_of_Primary_and_Secondaryを32bitのビットマップシンタクスで定義するようにしたので、32本のオーディオストリーム#1に対して、組み合わせ可能なオーディオストリーム#2をそれぞれ定義することができる。   As shown in FIG. 38, Combination_of_Primary_and_Secondary is defined by 32-bit bitmap syntax, so that it is possible to define audio streams # 2 that can be combined with 32 audio streams # 1.

図37と図38によれば、audio_stream_idおよびaudio_stream_id2、並びに、Combination_of_Primary_and_Secondaryを用いて、オーディオストリーム#1とオーディオストリーム#2との組み合わせを定義することができる。すなわち、矛盾するようなオーディオストリームの組み合わせを定義せずに済むので、ユーザは、常に再生可能なオーディオストリームの組み合わせの再生を選択することができる。   According to FIGS. 37 and 38, a combination of audio stream # 1 and audio stream # 2 can be defined using audio_stream_id, audio_stream_id2, and Combination_of_Primary_and_Secondary. That is, since it is not necessary to define a contradictory combination of audio streams, the user can always select reproduction of a reproducible combination of audio streams.

具体的な例を、図39を参照して説明する。図39は、ユーザに提供する音声信号と字幕信号の関係を表すストリームナンバーテーブルの例を示す図である。なお、図中、字幕信号(サブピクチャ)の記載については、図26と同様であるので、その説明は省略する。   A specific example will be described with reference to FIG. FIG. 39 is a diagram illustrating an example of a stream number table representing a relationship between an audio signal provided to a user and a caption signal. In the figure, the description of the subtitle signal (sub-picture) is the same as that in FIG.

図39においては、PlayListのMain Pathを構成するPlayItemの第4のSTN_table()でエントリーされるオーディオストリーム#1(audio_stream_idでエントリーされるオーディオストリーム)のそれぞれにA_SNが与えられる。   In FIG. 39, A_SN is given to each of the audio streams # 1 (audio streams entered with audio_stream_id) entered in the fourth STN_table () of PlayItem configuring the Main Path of the PlayList.

具体的には、A_SN=1にオーディオ2が与えられ、A_SN=2にオーディオ1が与えられ、A_SN=3にオーディオ3が与えられている。   Specifically, audio 2 is given to A_SN = 1, audio 1 is given to A_SN = 2, and audio 3 is given to A_SN = 3.

このとき、A_SN=1のオーディオ2に対しては、オーディオ4(audio_stream_id2=0、すなわち、オーディオストリーム番号2が1であるオーディオ4)が組み合わせ可能とされている。また、A_SN=2のオーディオ1に対しては、オーディオ4(audio_stream_id2=0、すなわち、オーディオストリーム番号2が1であるオーディオ4)とオーディオ5(audio_stream_id2=1、すなわち、オーディオストリーム番号2が2であるオーディオ5)とが組み合わせ可能とされている。   At this time, audio 4 (audio_stream_id2 = 0, that is, audio 4 with audio stream number 2 being 1) can be combined with audio 2 with A_SN = 1. For audio 1 with A_SN = 2, audio 4 (audio_stream_id2 = 0, ie, audio 4 with audio stream number 2 being 1) and audio 5 (audio_stream_id2 = 1, ie, audio stream number 2 being 2) It can be combined with some audio 5).

具体的には、オーディオ4(audio_stream_id2=0のオーディオ4)の場合、図38のCombination_of_Primary_and_Secondaryのビットマップシンタクスは、audio_stream_id=0とaudio_stream_id=1に対するindicatorの値がともに1とされ、audio_stream_id=2からaudio_stream_id=31までのindicatorの値は、すべて0とされる。また、オーディオ5(audio_stream_id2=1のオーディオ5)の場合、図38のCombination_of_Primary_and_Secondaryのビットマップシンタクスは、audio_stream_id=1に対するindicatorの値のみが1とされ、audio_stream_id=0と、audio_stream_id=2からaudio_stream_id=31までのindicatorの値は、すべて0とされる。   Specifically, in the case of audio 4 (audio 4 with audio_stream_id2 = 0), the combination_of_Primary_and_Secondary bitmap syntax in FIG. 38 has both the audio_stream_id = 0 and the indicator values for audio_stream_id = 1, and audio_stream_id = 2 to audio_stream_id The values of the indicators up to = 31 are all 0. Also, in the case of audio 5 (audio 5 with audio_stream_id2 = 1), the bitmap syntax of Combination_of_Primary_and_Secondary in FIG. 38 is such that only the indicator value for audio_stream_id = 1 is 1, audio_stream_id = 0, audio_stream_id = 2 to audio_stream_id = 31 The values of the indicators up to are all 0.

ユーザは、A_SNが与えられているオーディオストリームの中から、再生するオーディオストリーム#1を選択し、選択したオーディオストリーム#1とミキシングするオーディオストリーム#2を、A_SNが与えられているオーディオストリームの図中右側に表示されているものの中から選択する。図39の例の場合、オーディオストリーム#1として、オーディオ2(A_SN=1)を選択する場合、ミキシング可能なオーディオストリーム#2は、オーディオ2の図中右側に表示されているオーディオ4のみであるので、これを、ミキシング再生するか否かを選択する。図39においては、A_SN=1のオーディオ2に対応するオーディオ4は、「×」、すなわち、ミキシング再生を選択しない状態とされている。ユーザは、この「×」を切り替えて「○」とすることで、オーディオ2とオーディオ4とのミキシング再生が選択された状態とすることができる。   The user selects the audio stream # 1 to be reproduced from the audio streams to which A_SN is given, and the audio stream # 2 to be mixed with the selected audio stream # 1 is an audio stream to which A_SN is given. Select from the ones displayed on the right side. In the case of the example of FIG. 39, when audio 2 (A_SN = 1) is selected as the audio stream # 1, the audio stream # 2 that can be mixed is only the audio 4 displayed on the right side of the audio 2 diagram. Therefore, it is selected whether or not to perform mixing reproduction. In FIG. 39, the audio 4 corresponding to the audio 2 with A_SN = 1 is “x”, that is, the state in which mixing reproduction is not selected. The user can set the state where mixing reproduction of the audio 2 and the audio 4 is selected by switching the “x” to “◯”.

また、例えば、図39の例の場合、オーディオストリーム#1として、オーディオ1(A_SN=2)を選択する場合、ミキシング可能なオーディオストリーム#2は、オーディオ2の図中右側に表示されているオーディオ4とオーディオ5の中から選択することができる。そのため、ユーザは、オーディオストリーム#1をどのオーディオストリーム#2と再生するか否かを選択する。図39においては、A_SN=2のオーディオ1に対応するオーディオ4とオーディオ5は、「×」、すなわち、ミキシング再生を選択しない状態とされている。ユーザは、この「×」を切り替えて「○」とすることで、オーディオ2とオーディオ4、またはオーディオ2とオーディオ5のミキシング再生が選択された状態とすることができる。   For example, in the case of FIG. 39, when audio 1 (A_SN = 2) is selected as the audio stream # 1, the audio stream # 2 that can be mixed is the audio displayed on the right side of the audio 2 in the figure. 4 and audio 5 can be selected. Therefore, the user selects with which audio stream # 2 the audio stream # 1 is to be reproduced. In FIG. 39, the audio 4 and the audio 5 corresponding to the audio 1 of A_SN = 2 are “x”, that is, a state in which mixing reproduction is not selected. The user can set the state where mixing reproduction of audio 2 and audio 4 or audio 2 and audio 5 is selected by switching “x” to “o”.

この再生の選択の具体的な例としては、A_SN=1のオーディオ2が選択されている場合に、ユーザが、オーディオの切り替えを指令した場合、A_SN=1のオーディオ2とオーディオ4との組み合わせの再生(図39のオーディオ2に対応するオーディオ4が「○」となる)に切り替えられ、ユーザが、さらにオーディオの切り替えを指令した場合、オーディオは、A_SN=2のオーディオ1の再生(図39のオーディオ2に対応するオーディオ4が「×」となる)に切り替えられ、ユーザが、さらにオーディオの切り替えを指令した場合、オーディオは、A_SN=2のオーディオ1とオーディオ4との組み合わせの再生(図39のオーディオ1に対応するオーディオ4が「○」となる)に切り替えられる。また、ユーザが、さらにオーディオの切り替えを指令した場合、オーディオは、A_SN=2のオーディオ1とオーディオ5との組み合わせの再生(図39のオーディオ1に対応するオーディオ4が「×」となり、オーディオ5が「○」となる)に切り替えられる。   As a specific example of this playback selection, when audio 2 with A_SN = 1 is selected and the user commands switching of audio, a combination of audio 2 with audio 4 and audio 4 is selected. When the playback is switched to playback (the audio 4 corresponding to the audio 2 in FIG. 39 becomes “◯”) and the user instructs to switch the audio further, the audio is played back in the audio 1 of A_SN = 2 (in FIG. 39). When the audio 4 corresponding to the audio 2 is switched to “x”) and the user further instructs to switch the audio, the audio is reproduced as a combination of the audio 1 and the audio 4 of A_SN = 2 (FIG. 39). The audio 4 corresponding to the audio 1 is switched to “◯”. Further, when the user instructs to switch the audio further, the audio is reproduced as a combination of the audio 1 and the audio 5 of A_SN = 2 (the audio 4 corresponding to the audio 1 in FIG. Becomes “○”.

ユーザは、このようにして再生されるオーディオストリームの選択を切り替えて、例えば、図40に示されるように、A_SN2のオーディオ1とオーディオ5との組み合わせの再生を選択することができる。これにより、オーディオ1(オーディオストリーム#1)とオーディオ5(オーディオストリーム#2)とをミキシング再生することができる。   The user can switch the selection of the audio stream to be reproduced in this way, and select reproduction of a combination of audio 1 and audio 5 of A_SN2 as shown in FIG. 40, for example. Thereby, audio 1 (audio stream # 1) and audio 5 (audio stream # 2) can be mixed and reproduced.

このように、audio_stream_idおよびaudio_stream_id2、並びに、Combination_of_Primary_and_Secondaryを用いて、オーディオストリーム#1とオーディオストリーム#2との組み合わせを定義するようにすることで、矛盾するような組み合わせを定義せずに済み、ユーザは、常に再生可能なオーディオストリームの組み合わせを選択することができる。すなわち、図39の例においては、矛盾するオーディオストリームの組み合わせであるオーディオ2+オーディオ5を定義しないようにすることで、ユーザに、選択可能なもののみを提供することができる。   Thus, by defining the combination of audio stream # 1 and audio stream # 2 using audio_stream_id and audio_stream_id2 and Combination_of_Primary_and_Secondary, it is not necessary to define conflicting combinations, and the user can , A combination of audio streams that can always be played back can be selected. That is, in the example of FIG. 39, only the selectable items can be provided to the user by not defining the audio 2 + audio 5 that is a combination of contradictory audio streams.

換言すれば、PlayItem()の中の第4のSTN table()(図37)で、図36の1stオーディオデコーダ75−1でデコードするオーディオストリーム#1と、2ndオーディオデコーダ75−2でデコードするオーディオストリーム#2との組み合わせを、Combination_of_Primary_and_Secondaryを用いて定義するようにしたので、2つのオーディオストリームをミキシングして再生することができる。すなわち、複数の種類からなるストリームから、同じ種類(この例の場合、オーディオストリーム)のストリームをミキシング(重畳、または合成)して、同時に再生することができる。   In other words, in the fourth STN table () (FIG. 37) in PlayItem (), the audio stream # 1 decoded by the 1st audio decoder 75-1 in FIG. 36 and the 2nd audio decoder 75-2 are decoded. Since the combination with the audio stream # 2 is defined using Combination_of_Primary_and_Secondary, the two audio streams can be mixed and reproduced. That is, streams of the same type (in this example, an audio stream) can be mixed (superimposed or combined) from a plurality of types of streams and played back simultaneously.

また、このような構成とすることにより、ユーザは、ミキシングする2つのオーディオストリームを個々に選ぶ必要がなく、2つのオーディオストリームが組み合わせられたものの中から、再生するオーディオストリームを選択することができる。   With this configuration, the user does not need to individually select two audio streams to be mixed, and can select an audio stream to be reproduced from a combination of the two audio streams. .

次に、オーディオストリーム#1とオーディオストリーム#2との組み合わせを定義し、ミキシング再生する場合、すなわち、オーディオストリーム#1とオーディオストリーム#2の組み合わせの中からユーザに再生の選択をさせる構成とする場合の2番目の例を、図41を参照して説明する。換言すれば、図41は、オーディオストリーム#1とミキシング再生可能なオーディオストリームを、オーディオストリーム#2として定義する場合の2番目の例である。   Next, when a combination of audio stream # 1 and audio stream # 2 is defined and mixed reproduction is performed, that is, the user is allowed to select reproduction from a combination of audio stream # 1 and audio stream # 2. A second example of the case will be described with reference to FIG. In other words, FIG. 41 is a second example in which an audio stream that can be mixed with audio stream # 1 is defined as audio stream # 2.

図41は、オーディオストリーム#1とオーディオストリーム#2との組み合わせを定義する場合のSTN_table()のシンタクスの第5の例(第5のSTN_table())の他の例を示す図である。第5のSTN_table()を参照して実行される再生処理も、図36を用いて説明した再生装置141において実行可能である。なお、図中、図35と同一の部分については、繰り返しになるのでその説明は省略する。   FIG. 41 is a diagram illustrating another example of the fifth example (fifth STN_table ()) of the syntax of STN_table () when defining a combination of the audio stream # 1 and the audio stream # 2. The playback process executed with reference to the fifth STN_table () can also be executed in the playback device 141 described with reference to FIG. In the figure, the same parts as those in FIG. 35 are repeated, and the description thereof is omitted.

図41において、オーディオストリームID2 (audio_stream_id2)のforループの中で、順番にstream_entry()ごとに記録位置が特定される1つのオーディオエレメンタリストリームに、0からaudio_stream_id2が与えられる。このとき、audio_stream_id2に対して、number_of_combinationsが与えられ、number_of_combinationsの後のfor文では、number_of_combinationsの数だけ、audio_stream_idが与えられる。number_of_combinationsと、number_of_combinationsの後のfor文は、オーディオストリーム#1とオーディオストリーム#2との組み合わせを定義する情報であり、audio_stream_id2で特定されるオーディオストリーム#2と組み合わせ可能なオーディオストリーム#1の数が、number_of_combinationsとされる。そして、audio_stream_id2で特定されるオーディオストリーム#2と組み合わせ可能なオーディオストリーム#1を特定するaudio_stream_idが、number_of_combinationsの後のfor文で定義される。   In FIG. 41, audio_stream_id2 is given from 0 to one audio elementary stream whose recording position is specified for each stream_entry () in order in the for loop of audio stream ID2 (audio_stream_id2). At this time, number_of_combinations is given to audio_stream_id2, and in the for statement after number_of_combinations, audio_stream_id is given by the number of number_of_combinations. The for statement after number_of_combinations and number_of_combinations is information defining the combination of audio stream # 1 and audio stream # 2, and the number of audio streams # 1 that can be combined with audio stream # 2 specified by audio_stream_id2 is , Number_of_combinations. Then, audio_stream_id that identifies the audio stream # 1 that can be combined with the audio stream # 2 identified by audio_stream_id2 is defined in a for statement after number_of_combinations.

すなわち、図37とは異なり、図41の第5のSTN_table()のオーディオストリームID2 (audio_stream_id2)のfor文の中では、そのオーディオストリームID2で特定されるオーディオストリーム#2に対して、オーディオストリーム#1との組み合わせ可能な数がnumber_of_combinationsで定義され、number_of_combinationsの後のfor文で、対象となるオーディオストリーム#1を特定するaudio_stream_idを直接定義している。   That is, unlike FIG. 37, in the for statement of the audio stream ID2 (audio_stream_id2) of the fifth STN_table () of FIG. 41, the audio stream # 2 is compared with the audio stream # 2 specified by the audio stream ID2. The number that can be combined with 1 is defined by number_of_combinations, and the audio_stream_id that identifies the target audio stream # 1 is directly defined in the for statement after number_of_combinations.

このように、第5のSTN_table()では、オーディオストリームID2(audio_stream_id2)で特定されるオーディオストリーム#2に対して、どのオーディオストリーム#1が組み合わせ可能であるかを示す情報が、オーディオストリームID2のnumber_of_combinationsの後のfor文で定義される。すなわち、オーディオストリームID2のnumber_of_combinationsの後のfor文により、オーディオストリーム#1に対して組み合わせ可能なオーディオストリーム#2が定義される。   Thus, in the fifth STN_table (), information indicating which audio stream # 1 can be combined with the audio stream # 2 specified by the audio stream ID2 (audio_stream_id2) is the audio stream ID2. Defined in a for statement after number_of_combinations. That is, the audio stream # 2 that can be combined with the audio stream # 1 is defined by the for statement after the number_of_combinations of the audio stream ID2.

なお、図35を参照して説明した場合と同様に、オーディオストリームID2(audio_stream_id2)の代わりに、オーディオストリーム番号2(audio_stream_number2)を用いるようにしてもよい。また、オーディオストリームID(audio_stream_id)の代わりに、オーディオストリーム番号(audio_stream_number)を用いるようにしてもよい。すなわち、number_of_combinationsの後のfor文で定義されるaudio_stream_idも、オーディオストリーム番号としてもよい。   As in the case described with reference to FIG. 35, audio stream number 2 (audio_stream_number2) may be used instead of audio stream ID2 (audio_stream_id2). Also, an audio stream number (audio_stream_number) may be used instead of the audio stream ID (audio_stream_id). That is, audio_stream_id defined in the for statement after number_of_combinations may be an audio stream number.

図41によれば、number_of_combinationsと、その後のfor文を用いて、オーディオストリーム#1とオーディオストリーム#2との組み合わせを定義することができる。すなわち、矛盾するようなオーディオストリームの組み合わせを定義せずに済むので、ユーザは、常に再生可能なオーディオストリームの組み合わせの再生を選択することができる。   According to FIG. 41, the combination of audio stream # 1 and audio stream # 2 can be defined using number_of_combinations and the subsequent for statement. That is, since it is not necessary to define a contradictory combination of audio streams, the user can always select reproduction of a reproducible combination of audio streams.

この場合のストリームナンバーテーブルの具体的な例は、図39および図40を用いて説明した場合と同様である。   A specific example of the stream number table in this case is the same as that described with reference to FIGS.

すなわち、図39が図41の第5のSTN_table()に対応する場合、オーディオ4(audio_stream_id2=0、すなわち、オーディオストリーム番号2が1であるオーディオ4)に対して、組み合わせ可能なオーディオストリーム#1として、A_SN=1のオーディオ2(audio_stream_id=0)と、A_SN=2のオーディオ1(audio_stream_id=1)とが定義されていることになる。この場合、図41のaudio_stream_id2=0に対応するnumber_of_combinationsの数は2つであり、定義されるaudio_stream_idは、audio_stream_id=0とaudio_stream_id=1である。また、オーディオ5(audio_stream_id2=1、すなわち、オーディオストリーム番号2が2であるオーディオ5)に対して、組み合わせ可能なオーディオストリーム#1として、A_SN=2のオーディオ1(audio_stream_id=1)が定義されていることになる。この場合、図41のaudio_stream_id2=1に対応するnumber_of_combinationsの数は1つであり、定義されるaudio_stream_idは、audio_stream_id=1である。   That is, when FIG. 39 corresponds to the fifth STN_table () of FIG. 41, audio stream # 1 that can be combined with audio 4 (audio_stream_id2 = 0, that is, audio 4 with audio stream number 2 being 1). As described above, audio 2 (audio_stream_id = 0) with A_SN = 1 and audio 1 (audio_stream_id = 1) with A_SN = 2 are defined. In this case, the number of number_of_combinations corresponding to audio_stream_id2 = 0 in FIG. 41 is two, and the defined audio_stream_id is audio_stream_id = 0 and audio_stream_id = 1. Also, for audio 5 (audio_stream_id2 = 1, ie, audio 5 with audio stream number 2 being 2), audio 1 (audio_stream_id = 1) with A_SN = 2 is defined as an audio stream # 1 that can be combined. Will be. In this case, the number_of_combinations corresponding to audio_stream_id2 = 1 in FIG. 41 is one, and the defined audio_stream_id is audio_stream_id = 1.

ユーザは、図39に示されるオーディオの再生の選択を切り替えて、例えば、図40に示されるように、A_SN=2のオーディオ1とオーディオ5との組み合わせの再生を選択する。これにより、オーディオ1(オーディオストリーム#1)とオーディオ5(オーディオストリーム#2)とをミキシング再生することができる。   The user switches the selection of audio reproduction shown in FIG. 39, and selects reproduction of a combination of audio 1 and audio 5 with A_SN = 2, for example, as shown in FIG. Thereby, audio 1 (audio stream # 1) and audio 5 (audio stream # 2) can be mixed and reproduced.

このように、図41のnumber_of_combinationsと、その後のfor文を用いて、オーディオストリーム#1とオーディオストリーム#2との組み合わせを定義するようにすることで、矛盾するような組み合わせを定義せずに済み、ユーザは、常に再生可能なオーディオストリームの組み合わせを選択することができる。すなわち、図39の例においては、矛盾するオーディオストリームの組み合わせであるオーディオ2+オーディオ5を定義しないようにすることで、ユーザに、選択可能なもののみを提供することができる。   In this way, by defining the combination of audio stream # 1 and audio stream # 2 using number_of_combinations in FIG. 41 and the subsequent for statement, it is not necessary to define contradictory combinations. The user can select a combination of audio streams that can always be reproduced. That is, in the example of FIG. 39, only the selectable items can be provided to the user by not defining the audio 2 + audio 5 that is a combination of contradictory audio streams.

換言すれば、PlayItem()の中の第5のSTN table()(図41)で、図36の1stオーディオデコーダ75−1でデコードするオーディオストリーム#1と、2ndオーディオデコーダ75−2でデコードするオーディオストリーム#2との組み合わせを、number_of_combinationsと、その後のfor文とを用いて定義するようにしたので、2つの組み合わせ可能なオーディオストリームをミキシングして再生することができる。すなわち、複数の種類からなるストリームから、同じ種類(この例の場合、オーディオストリーム)のストリームをミキシング(重畳、または合成)して、同時に再生することができる。   In other words, in the fifth STN table () (FIG. 41) in PlayItem (), the audio stream # 1 decoded by the 1st audio decoder 75-1 in FIG. 36 and the 2nd audio decoder 75-2 are decoded. Since the combination with the audio stream # 2 is defined using number_of_combinations and the subsequent for statement, the two combinable audio streams can be mixed and reproduced. That is, streams of the same type (in this example, an audio stream) can be mixed (superimposed or combined) from a plurality of types of streams and played back simultaneously.

また、第5のSTN table()を用いることにより、ユーザは、ミキシングする2つのオーディオストリームを個々に選ぶ必要がなく、2つのオーディオストリームが組み合わせられたものの中から、再生するオーディオストリームを選択することができる。   Further, by using the fifth STN table (), the user does not need to individually select two audio streams to be mixed, and selects an audio stream to be reproduced from a combination of the two audio streams. be able to.

次に、図42は、オーディオストリーム#1とオーディオストリーム#2との組み合わせを定義する場合のSTN_table()のシンタクスの第6の例(第6のSTN_table())のさらに他の例を示す図である。第6のSTN_table()を参照して実行される再生処理も、図36を用いて説明した再生装置141において実行可能である。なお、図中、図35や図41と同一の部分については、繰り返しになるのでその説明は省略する。   Next, FIG. 42 is a diagram illustrating still another example of the sixth example (sixth STN_table ()) of the syntax of STN_table () when a combination of the audio stream # 1 and the audio stream # 2 is defined. It is. The playback process executed with reference to the sixth STN_table () can also be executed by the playback device 141 described with reference to FIG. In the figure, the same parts as those in FIGS. 35 and 41 are repeated, and the description thereof is omitted.

図42の例のオーディオストリームID (audio_stream_id)のforループの中で、順番にstream_entry()ごとに特定される1つのオーディオストリーム#1に、0からaudio_stream_idが与えられることと、その後に配置されるstream_attribute()とについては、図35の例と同様とされている。   In the for loop of the audio stream ID (audio_stream_id) in the example of FIG. 42, audio_stream_id is assigned from 0 to one audio stream # 1 that is specified for each stream_entry () in order, and is arranged after that. The stream_attribute () is the same as in the example of FIG.

ただし、図42の例のオーディオストリームID (audio_stream_id)のforループの中には、さらに、オーディオストリーム#1とオーディオストリーム#2との組み合わせを定義する次のような情報が含まれる。即ち、number_of_audio_stream2_entriesが0でない場合(if(number_of_audio_stream2_entries!=0))、number_of_audio_stream2_ref_entriesが与えられる。number_of_audio_stream2_ref_entriesは、audio_stream_idで特定されるオーディオストリーム#1と組み合わせ可能なオーディオストリーム#2の数を示す。そして、audio_stream_idで特定されるオーディオストリーム#1と組み合わせ可能なオーディオストリーム#2を特定するaudio_stream2_id_refが、number_of_audio_stream2_ref_entriesの後のfor文で定義される。   However, the for loop of the audio stream ID (audio_stream_id) in the example of FIG. 42 further includes the following information that defines a combination of the audio stream # 1 and the audio stream # 2. That is, if number_of_audio_stream2_entries is not 0 (if (number_of_audio_stream2_entries! = 0)), number_of_audio_stream2_ref_entries is given. number_of_audio_stream2_ref_entries indicates the number of audio streams # 2 that can be combined with the audio stream # 1 specified by audio_stream_id. Then, audio_stream2_id_ref for specifying an audio stream # 2 that can be combined with the audio stream # 1 specified by audio_stream_id is defined by a for statement after number_of_audio_stream2_ref_entries.

なお、他の例と同様に、オーディオストリームID2ref(audio_stream_id2_ref)の代わりに、オーディオストリーム番号2ref(audio_stream_number2_ref)を用いるようにしてもよい。また、オーディオストリームID(audio_stream_id)の代わりに、オーディオストリーム番号(audio_stream_number)を用いるようにしてもよい。   As in the other examples, the audio stream number 2ref (audio_stream_number2_ref) may be used instead of the audio stream ID2ref (audio_stream_id2_ref). Also, an audio stream number (audio_stream_number) may be used instead of the audio stream ID (audio_stream_id).

このように、図42の例の第6のSTN_table()を利用しても、オーディオストリーム#1とオーディオストリーム#2との組み合わせを定義することができる。すなわち、矛盾するようなオーディオストリームの組み合わせを定義せずに済むので、ユーザは、常に再生可能なオーディオストリームの組み合わせの再生を選択することができる。   In this way, the combination of the audio stream # 1 and the audio stream # 2 can also be defined using the sixth STN_table () in the example of FIG. That is, since it is not necessary to define a contradictory combination of audio streams, the user can always select reproduction of a reproducible combination of audio streams.

ところで、上述したように、本発明の再生装置に装着される記録媒体上、または、再生装置のローカルストレージに記録されるデータのアプリケーションフォーマットは、PlayListとClipの2つのレイヤを有している。そして、PlayListは、1つ以上のPlayItemの並びによって(連続するPlayItemにより)作られるメインパス(Main Path)と、そのMain Pathに並行(並列)して、1つ以上のSubPlayItemの並びによって(非連続でもよいし、連続してもよいSubPlayItemにより)作られるサブパス(Sub Path)を1以上含むことができる。   By the way, as described above, the application format of data recorded on the recording medium mounted on the playback device of the present invention or on the local storage of the playback device has two layers, PlayList and Clip. A PlayList is composed of a main path (Main Path) created by a sequence of one or more PlayItems (by consecutive PlayItems) and a parallel (in parallel) to the Main Path (by a sequence of one or more SubPlayItems (non- One or more sub paths (sub paths) created by sub play items that may be continuous or may be continuous may be included.

従って、例えば図43に示されるように、1画面のうちの、全画面301に、メインパスで参照されるAVストリーム(図43中、Primary Videoと記述されているビデオストリーム311、および、Primary Audioと記述されているオーディオストリーム312)に対応する映画本編等のコンテンツを再生させるとともに、全画面301に配置される子画面302に、サブパスで参照されるAVストリーム(図43中、Secondary Videoと記述されているビデオストリーム313、および、Secondary Audioと記述されているオーディオストリーム314)に対応する映画の監督のコメンタリー等、メインパスで参照されるAVストリームとは別のコンテンツを再生させる、といった手法を適用することが可能になる。   Therefore, for example, as shown in FIG. 43, an AV stream (a video stream 311 described as Primary Video in FIG. The audio stream 312 corresponding to the audio stream 312) described in the above is reproduced, and the AV stream (denoted as Secondary Video in FIG. 43) is referred to in the sub-screen 302 arranged on the full screen 301 by the sub path. A method of reproducing content different from the AV stream referred to in the main path, such as a commentary of a movie director corresponding to the video stream 313 and the audio stream 314) described as Secondary Audio It becomes possible to apply.

即ち、全画面(親画面)301と子画面302のそれぞれに別々のコンテンツを同時再生させる、といった手法を適用することが可能になる。   In other words, it is possible to apply a technique in which different contents are simultaneously reproduced on the full screen (parent screen) 301 and the child screen 302, respectively.

このような手法はピクチャインピクチャ(Picture in Picture)手法と称される。   Such a method is called a picture-in-picture method.

なお、Primary Audioと記述されているオーディオストリーム312に対応する音声と、Secondary Audioと記述されているオーディオストリーム314に対応する音声との再生とは、上述したように、それら2つのオーディオストリームに対してミキシング処理が施された結果得られる音声の出力のことをいう。   Note that the reproduction of the audio corresponding to the audio stream 312 described as Primary Audio and the audio corresponding to the audio stream 314 described as Secondary Audio is performed on these two audio streams as described above. This is the sound output obtained as a result of the mixing process.

また、実際の再生対象は、上述したように、各ストリームに対応する音声や画像であるが、以下の説明においては、説明の簡略上、各ストリームとする場合もある。即ち、所定のストリームを再生する、といった表現を使用する場合もある。   In addition, as described above, the actual reproduction target is audio or an image corresponding to each stream. However, in the following description, there are cases where each stream is used for the sake of simplicity. That is, an expression such as playing a predetermined stream may be used.

ピクチャインピクチャ手法を適用するアプリケーションを実現するためには、例えば次のようなシンタクス(Syntax)が必要になる。即ち、例えば、本実施の形態では、STN_tableにおいてvideo_stream_idで定義されたビデオストリーム(以下、プライマリビデオストリームと称する。例えば、図43の例では、Primary Videoと記述されているビデオストリーム311を、プライマリビデオストリーム311と称する)の数は、1つとされている。そこで、このことを考慮して、プライマリビデオストリームと同時に再生され得るストリームの組み合わせを定義するシンタクスがあれば、ピクチャインピクチャ手法の実現、即ち、ピクチャインピクチャを適用するアプリケーションの実現が可能になる。   In order to realize an application to which the picture-in-picture method is applied, for example, the following syntax is required. That is, for example, in this embodiment, a video stream defined by video_stream_id in the STN_table (hereinafter referred to as a primary video stream. For example, in the example of FIG. 43, a video stream 311 described as Primary Video is represented as a primary video stream. The number of streams 311) is one. In view of this, if there is a syntax that defines a combination of streams that can be reproduced simultaneously with the primary video stream, it is possible to realize a picture-in-picture technique, that is, an application that applies picture-in-picture. .

ここで、ピクチャインピクチャ手法により、プライマリビデオストリームと同時に再生され得るストリームとして、例えば本実施の形態では、次の第1乃至第4の種類のストリームが用意されている。   Here, for example, in the present embodiment, the following first to fourth types of streams are prepared as streams that can be reproduced simultaneously with the primary video stream by the picture-in-picture method.

第1の種類のストリームとはSTN_tableにおいてaudio_stream_idで定義されたオーディオストリーム、即ち、上述したオーディオストリーム#1(以下、プライマリオーディオストリームと称する。例えば、図43の例では、Primary Audioと記述されているオーディオストリーム312を、プライマリオーディオストリーム312と称する)のことをいう。   The first type of stream is an audio stream defined by audio_stream_id in the STN_table, that is, the above-described audio stream # 1 (hereinafter referred to as a primary audio stream. For example, in the example of FIG. 43, Primary Audio is described. The audio stream 312 is referred to as a primary audio stream 312).

第2の種類のストリームとは、STN_tableにおいてvideo_stream_id2で定義されたビデオストリーム(以下、セカンダリビデオストリームと称する。例えば、図43の例では、Secondary Videoと記述されているビデオストリーム313を、セカンダリビデオストリーム313と称する)のことをいう。   The second type of stream is a video stream defined by video_stream_id2 in the STN_table (hereinafter referred to as a secondary video stream. For example, in the example of FIG. 43, a video stream 313 described as Secondary Video is a secondary video stream. 313).

第3の種類のストリームとは、STN_tableにおいてaudio_stream_id2で定義されたオーディオストリーム、即ち、上述したオーディオストリーム#2(以下、セカンダリオーディオストリームと称する。例えば、図43の例では、Secondary Audioと記述されているオーディオストリーム314を、セカンダリオーディオストリーム314と称する)のことをいう。   The third type of stream is an audio stream defined by audio_stream_id2 in the STN_table, that is, the above-described audio stream # 2 (hereinafter referred to as a secondary audio stream. For example, in the example of FIG. 43, it is described as Secondary Audio. Audio stream 314 is referred to as a secondary audio stream 314).

第4の種類のストリームとは、サブパスで参照されるテキスト字幕ストリーム(txtST)や、DVDのサブピクチャのようなビットマップ字幕をランレングス符号化したストリーム(PG, Presentation Graphics stream)等のことをいう。例えば図43の例では、Subtitleと記述されているストリーム315が、第4の種類のストリームの一例である。なお、以下、第4の種類のストリームを、即ち、txtSTやPG等をまとめて、サブタイトルストリームと称する。なお、サブタイトルストリームの再生位置(字幕等の表示位置)は、特に子画面内である必要は無く、全画面のうちの何れの位置でもよい。このため、図43の例では、サブタイトルストリーム315は、子画面302からはみ出すように描画されている。   The fourth type of stream is a text subtitle stream (txtST) referenced in a sub-path, a stream (PG, Presentation Graphics stream) obtained by run-length encoding a bitmap subtitle such as a DVD sub-picture, and the like. Say. For example, in the example of FIG. 43, the stream 315 described as Subtitle is an example of a fourth type of stream. Hereinafter, the fourth type of stream, that is, txtST, PG, and the like are collectively referred to as a subtitle stream. Note that the playback position of the subtitle stream (the display position of subtitles and the like) does not have to be in the child screen, and may be any position on the entire screen. For this reason, in the example of FIG. 43, the subtitle stream 315 is drawn so as to protrude from the child screen 302.

以上説明したように、ピクチャインピクチャ手法を適用するアプリケーションを実現するためには、例えば、プライマリビデオストリームと組み合わせて同時再生され得るストリームの組み合わせの定義、即ち、セカンダリビデオストリーム、プライマリオーディオストリーム、セカンダリオーディオストリーム、および、サブタイトルストリームの組み合わせの定義が必要となる。   As described above, in order to realize an application to which the picture-in-picture method is applied, for example, the definition of the combination of streams that can be simultaneously reproduced in combination with the primary video stream, that is, the secondary video stream, the primary audio stream, the secondary It is necessary to define a combination of an audio stream and a subtitle stream.

さらに、複数の組み合わせを定義することで、全画面301に再生されるプライマリビデオストリームやプライマリオーディオスオストリームの切り替えのみならず、子画面302に再生されるセカンダリビデオストリームの切り替えや、サブタイトルストリームの切り替えも容易に行えるようになる。ただし、その切り替え操作の例については、図46と図47を参照して後述する。   Furthermore, by defining a plurality of combinations, not only switching of the primary video stream and primary audio stream reproduced on the full screen 301 but also switching of the secondary video stream reproduced on the sub-screen 302 and switching of the subtitle stream are performed. Can also be easily performed. However, an example of the switching operation will be described later with reference to FIGS. 46 and 47.

このような、プライマリビデオストリームと組み合わせて同時再生され得るストリームの組み合わせの定義は、例えば、図44と図45に示されるような第7のSTN_tableにて行うことが可能である。即ち、図44と図45とは、プライマリビデオストリームと組み合わせて同時再生され得る、セカンダリビデオストリーム、プライマリオーディオストリーム、セカンダリオーディオストリーム、および、サブタイトルストリームの記録位置(stream_entry)、属性(stream_attribute)、および、組み合わせを定義する場合のSTN_table()のシンタクスの第7の例(第7のSTN_table())の例を示す図である。なお、図中、上述した図41と同一の部分については、繰り返しになるのでその説明は省略する。   Such a combination of streams that can be simultaneously reproduced in combination with the primary video stream can be defined in, for example, a seventh STN_table as shown in FIGS. That is, FIG. 44 and FIG. 45 show the recording position (stream_entry), attribute (stream_attribute) of the secondary video stream, primary audio stream, secondary audio stream, and subtitle stream that can be simultaneously played in combination with the primary video stream, and FIG. 17 is a diagram illustrating a seventh example (seventh STN_table ()) of syntax of STN_table () when a combination is defined. In the figure, the same parts as those in FIG. 41 described above are repeated, and the description thereof is omitted.

図44と図45の例では、プライマリビデオストリームと組み合わせて同時再生され得る、セカンダリビデオストリーム、プライマリオーディオストリーム、セカンダリオーディオストリーム、および、サブタイトルストリームの組み合わせは、次のように定義される。即ち、最初に、プライマリビデオストリームと組み合わせて同時再生され得るセカンダリビデオストリームが1以上定義される。そして、1以上のセカンダリビデオストリームのそれぞれに対して、同時に再生され得るオーディオストリーム(プライマリオーディオストリームとセカンダリオーディオストリーム)とサブタイトルストリームとが定義される。   In the example of FIGS. 44 and 45, a combination of a secondary video stream, a primary audio stream, a secondary audio stream, and a subtitle stream that can be simultaneously reproduced in combination with the primary video stream is defined as follows. That is, first, one or more secondary video streams that can be simultaneously reproduced in combination with the primary video stream are defined. Then, for each of the one or more secondary video streams, an audio stream (primary audio stream and secondary audio stream) and a subtitle stream that can be reproduced simultaneously are defined.

具体的には、図44において、number_of_video_stream2_entriesは、第7のSTN_table()の中でエントリーされる(登録される)video_stream_id2が与えられるストリーム数を示す。video_stream_id2は、セカンダリビデオストリームを識別するための情報であり、video_stream_number2は、ビデオ切り替えに使われる、ユーザから見えるセカンダリビデオストリーム番号である。   Specifically, in FIG. 44, number_of_video_stream2_entries indicates the number of streams to which video_stream_id2 entered (registered) in the seventh STN_table () is given. video_stream_id2 is information for identifying a secondary video stream, and video_stream_number2 is a secondary video stream number that is used for video switching and is visible to the user.

図45において、ビデオストリームID2 (video_stream_id2)のforループの中で、順番にstream_entry()ごとに特定される1つのビデオエレメンタリストリーム(セカンダリビデオストリームとなるビデオエレメンタリストリーム)に、0からvideo_stream_id2が与えられる。   In FIG. 45, in a for loop of video stream ID2 (video_stream_id2), one video elementary stream (video elementary stream to be a secondary video stream) specified for each stream_entry () in order is assigned video_stream_id2 from 0 to 0. Given.

このとき、video_stream_id2に対して、number_of_Audio_combinations_for_video2が与えられ、その後のfor文では、number_of_Audio_combinations_for_video2の数だけ、audio_stream_idとaudio_stream_id2が与えられる。number_of_Audio_combinations_for_video 2とその後のfor文とは、セカンダリビデオストリームと同時再生されるオーディオストリームの組み合わせ、即ち、audio_stream_idで特定されるプライマリオーディオストリームと、audio_stream_id2で特定されるセカンダリオーディオストリームとの組み合わせを定義する情報である。video_stream_id2で特定されるセカンダリビデオストリームと組み合わせ可能なオーディオストリームの組(プライマリオーディオストリームとセカンダリオーディオストリームとの組)の数が、number_of_Audio_combinations_for_video2とされる。そして、video_stream_id2で特定されるセカンダリビデオストリームと組み合わせ可能なオーディオストリームの組として、プライマリオーディオストリームを特定するaudio_stream_idと、セカンダリオーディオストリームを特定するaudio_stream_id2とが、number_of_Audio_combinations_for_video2の後のfor文でそれぞれ定義される。   At this time, number_of_Audio_combinations_for_video2 is given to video_stream_id2, and in the subsequent for statement, audio_stream_id and audio_stream_id2 are given by the number of number_of_Audio_combinations_for_video2. number_of_Audio_combinations_for_video 2 and the subsequent for statement are information defining a combination of audio streams that are simultaneously played with the secondary video stream, that is, a combination of a primary audio stream specified by audio_stream_id and a secondary audio stream specified by audio_stream_id2 It is. The number of sets of audio streams (a set of primary audio streams and secondary audio streams) that can be combined with the secondary video stream specified by video_stream_id2 is number_of_Audio_combinations_for_video2. Then, as a set of audio streams that can be combined with the secondary video stream identified by video_stream_id2, audio_stream_id that identifies the primary audio stream and audio_stream_id2 that identifies the secondary audio stream are defined in a for statement after number_of_Audio_combinations_for_video2, respectively. .

また、同じvideo_stream_id2に対して、number_of_Subtitle_combinations_for_video2が与えられ、その後のfor文では、number_of_Subtitle_combinations_for_video2の数だけ、PG_textST_stream_idが与えられる。number_of_Subtitle_combinations_for_video2とその後のfor文とは、セカンダリビデオストリームと同時再生されるサブタイトルストリームの組み合わせ、即ち、PG_textST_stream_idで特定されるサブタイトルストリームの組み合わせを定義する情報である。video_stream_id2で特定されるセカンダリビデオストリームと組み合わせ可能なサブタイトルストリームの数が、number_of_Subtitle_combinations_for_video2とされる。そして、video_stream_id2で特定されるセカンダリビデオストリームと組み合わせ可能なサブタイトルストリームを特定するPG_textST_stream_idが、number_of_Subtitle_combinations_for_video2の後のfor文で定義される。   Also, number_of_Subtitle_combinations_for_video2 is given to the same video_stream_id2, and PG_textST_stream_id is given to the same video_stream_id2 by the number of number_of_Subtitle_combinations_for_video2. The number_of_Subtitle_combinations_for_video2 and the subsequent for sentence are information defining a combination of subtitle streams that are reproduced simultaneously with the secondary video stream, that is, a combination of subtitle streams specified by PG_textST_stream_id. The number of subtitle streams that can be combined with the secondary video stream specified by video_stream_id2 is number_of_Subtitle_combinations_for_video2. Then, PG_textST_stream_id for specifying a subtitle stream that can be combined with the secondary video stream specified by video_stream_id2 is defined in a for sentence after number_of_Subtitle_combinations_for_video2.

なお、図35や図41を参照して説明したように、各IDの代わりに各番号、例えば、audio_stream_idの代わりに、オーディオストリーム番号(audio_stream_number)を用いたり、audio_stream_id2の代わりに、オーディオストリーム番号2(audio_stream_number2)を用いるようにしてもよい。ビデオストリームやサブタイトルストリームについても同様である。   As described with reference to FIGS. 35 and 41, each number is used instead of each ID, for example, an audio stream number (audio_stream_number) is used instead of audio_stream_id, or an audio stream number 2 is used instead of audio_stream_id2. (Audio_stream_number2) may be used. The same applies to the video stream and the subtitle stream.

図44と図45で示される第7のSTN_tabkeによれば、video_stream_id2を用いて、プライマリビデオストリームと同時再生されるセカンダリビデオストリームを定義することができ、さらに、そのvideo_stream_id2、および、audio_stream_id、audio_stream_id2、並びに、PG_textST_stream_idを用いて、そのセカンダリビデオストリームと同時再生され得る、プライマリオーディオストリーム、セカンダリオーディオストリーム、および、サブタイトルストリームの組み合わせを定義することができる。即ち、プライマリビデオストリームと同時再生され得る、セカンダリビデオストリーム、プライマリオーディオストリーム、セカンダリオーディオストリーム、および、サブタイトルストリームの組み合わせを定義することができる。   According to the seventh STN_tabke shown in FIG. 44 and FIG. 45, the video_stream_id2 can be used to define a secondary video stream that is played back simultaneously with the primary video stream, and the video_stream_id2, audio_stream_id, audio_stream_id2, In addition, a combination of a primary audio stream, a secondary audio stream, and a subtitle stream that can be played back simultaneously with the secondary video stream can be defined using PG_textST_stream_id. That is, a combination of a secondary video stream, a primary audio stream, a secondary audio stream, and a subtitle stream that can be reproduced simultaneously with the primary video stream can be defined.

従って、プライマリビデオストリームと同時再生され得る、セカンダリビデオストリーム、プライマリオーディオストリーム、セカンダリオーディオストリーム、および、サブタイトルストリームの組み合わせとして、矛盾するような組み合わせを定義せずに済むので、ユーザは、プライマリビデオストリームと同時再生可能なストリームの組み合わせの再生を容易に選択することができる。   Therefore, since it is not necessary to define a conflicting combination as a combination of the secondary video stream, the primary audio stream, the secondary audio stream, and the subtitle stream that can be played back simultaneously with the primary video stream, the user can It is possible to easily select a combination of streams that can be reproduced simultaneously.

具体的な例を、図46と図47を参照して説明する。図46は、第7のSTN_tableが用いられた場合の、ユーザに提供するプライマリオーディオストリームまたはセカンダリオーディオストリームに対応する音声信号、セカンダリビデオストリームに対応する映像信号、および、サブタイトルストリームに対応する字幕信号の組み合わせの関係を表すストリームナンバーテーブルの例を示す図である。なお、図中、音声信号(オーディオ)と字幕信号(サブピクチャ)との記載については、図26または図39と同様であるので、その説明は省略する。   A specific example will be described with reference to FIGS. 46 and 47. FIG. FIG. 46 shows an audio signal corresponding to the primary audio stream or secondary audio stream provided to the user, a video signal corresponding to the secondary video stream, and a caption signal corresponding to the subtitle stream when the seventh STN_table is used. It is a figure which shows the example of the stream number table showing the relationship of these combinations. In the figure, the description of the audio signal (audio) and the subtitle signal (sub-picture) is the same as in FIG. 26 or FIG.

図46においては、PlayListのMain Pathを構成するPlayItemの第7のSTN_table()でエントリーされるセカンダリビデオストリーム(video_stream_id2でエントリーされるセカンダリビデオストリーム)のそれぞれにV2_SN(Video2 Stream Number:セカンダリビデオストリーム番号とも称する)が与えられる。   In FIG. 46, V2_SN (Video2 Stream Number: secondary video stream number) is assigned to each secondary video stream (secondary video stream entered with video_stream_id2) entered in the seventh STN_table () of the PlayItem constituting the Main Path of the PlayList. Also referred to as).

具体的には、V2_SN=1にビデオ2が与えられ、V2_SN=2にビデオ1が与えられている。   Specifically, video 2 is given to V2_SN = 1, and video 1 is given to V2_SN = 2.

このとき、V2_SN=1のビデオ2に対しては、プライマリオーディオストリームとしてオーディオ2(図45のvideo_stream_id2がビデオ2を特定するIDである場合のfor文中において、audio_stream_idでエントリーされるプライマリオーディオストリーム)が、セカンダリオーディオストリームとしてオーディオ4(図45のvideo_stream_id2がビデオ2を特定するIDである場合のfor文中において、audio_stream_id2でエントリーされるセカンダリオーディオストリーム)が、サブタイトルストリームとしてサブピクチャ3(図45のvideo_stream_id2がビデオ2を特定するIDである場合のfor文中において、PG_textST_stream_idでエントリーされるサブタイトルストリーム)が、それぞれ組み合わせ可能とされている。   At this time, for video 2 with V2_SN = 1, audio 2 (primary audio stream entered with audio_stream_id in the for statement when video_stream_id2 in FIG. 45 is an ID for identifying video 2) is the primary audio stream. As a secondary audio stream, audio 4 (secondary audio stream entered with audio_stream_id2 in the for statement when video_stream_id2 in FIG. 45 is an ID for specifying video 2) is sub-picture 3 (video_stream_id2 in FIG. 45 is The subtitle streams entered by PG_textST_stream_id in the for sentence in the case of the ID for specifying the video 2 can be combined.

また、V2_SN=2のビデオ1に対しては、プライマリオーディオストリームとしてオーディオ1(図45のvideo_stream_id2がビデオ1を特定するIDである場合のfor文中において、audio_stream_idでエントリーされるプライマリオーディオストリーム)が、セカンダリオーディオストリームとしてオーディオ4若しくはオーディオ5(図45のvideo_stream_id2がビデオ1を特定するIDである場合のfor文中において、2つのaudio_stream_id2のそれぞれでエントリーされる2つのセカンダリオーディオストリームのそれぞれ)が、サブタイトルストリームとしてサブピクチャ1(図45のvideo_stream_id2がビデオ1を特定するIDである場合のfor文中において、PG_textST_stream_idでエントリーされるサブタイトルストリーム)が、それぞれ組み合わせ可能とされている。   For video 1 with V2_SN = 2, audio 1 (primary audio stream entered with audio_stream_id in the for statement when video_stream_id2 in FIG. 45 is an ID for identifying video 1) is used as a primary audio stream. As a secondary audio stream, audio 4 or audio 5 (each of the two secondary audio streams entered in each of the two audio_stream_id2 in the for statement when video_stream_id2 in FIG. 45 is an ID for identifying video 1) is a subtitle stream. Sub-picture 1 (sub-title streams entered with PG_textST_stream_id in the for sentence when video_stream_id 2 in FIG. 45 is an ID for identifying video 1) can be combined.

即ち、図45のvideo_stream_id2がビデオ1を特定するIDである場合のfor文中において、V2_SN=2のビデオ1と同時再生可能なオーディオストリームの組として、次の第1の組と第2の組とがそれぞれ定義されている。第1の組とは、プライマリオーディオストリームがオーディオ1であり、セカンダリオーディオストリームがオーディオ4である組のことをいう。第2の組とは、プライマリオーディオストリームがオーディオ1であり、セカンダリオーディオストリームがオーディオ5である第2の組のことをいう。   That is, in the for sentence in the case where video_stream_id2 in FIG. 45 is an ID for identifying video 1, the following first set and second set are set as audio stream sets that can be played back simultaneously with video 1 with V2_SN = 2. Are defined respectively. The first set refers to a set in which the primary audio stream is audio 1 and the secondary audio stream is audio 4. The second set refers to a second set in which the primary audio stream is audio 1 and the secondary audio stream is audio 5.

かかる図46のストリームナンバーテーブルがユーザに呈示された場合(ここでは、呈示形態は特に問わない)、ユーザは、はじめに、映画本編等と同時再生させる監督のコメンタリー等の映像に対応するセカンダリビデオストリームとして、即ち、子画面(図43の例では子画面302)に表示させる映像に対応するセカンダリビデオストリームとして、ビデオ2(VS_SN=1)とビデオ1(VS_SN2)とのうちの何れか一方を選択することができる(そのような選択操作ができる)。   When the stream number table of FIG. 46 is presented to the user (in this case, the presentation form is not particularly limited), the user first starts a secondary video stream corresponding to a video such as a director's commentary to be reproduced simultaneously with the main movie or the like. That is, one of video 2 (VS_SN = 1) and video 1 (VS_SN2) is selected as the secondary video stream corresponding to the video to be displayed on the sub-screen (sub-screen 302 in the example of FIG. 43). (Such selection operation is possible).

例えば、セカンダリビデオストリームとしてビデオ2(VS_SN=1)が選択された場合には、図46に示されるように、そのビデオ2(VS_SN=1)と同時再生可能な組み合わせは、オーディオ2、オーディオ4、およびサブピクチャ3の組み合わせのみである。従って、セカンダリビデオストリームとしてビデオ2(VS_SN=1)が選択された時点で、ユーザの選択操作は終了となる。   For example, when video 2 (VS_SN = 1) is selected as the secondary video stream, as shown in FIG. 46, the combinations that can be reproduced simultaneously with video 2 (VS_SN = 1) are audio 2 and audio 4 , And a combination of sub-pictures 3 only. Therefore, when the video 2 (VS_SN = 1) is selected as the secondary video stream, the user's selection operation ends.

一方、図47に示されるように、セカンダリビデオストリームとしてビデオ1(VS_SN=2)が選択された場合には、そのビデオ1(VS_SN=2)と同時再生可能な組み合わせとしては、オーディオ1、オーディオ4、およびサブピクチャ1の第1の組み合わせと、オーディオ1、オーディオ5、およびサブピクチャ1の第2の組み合わせ、といった2通りの組み合わせが存在する。従って、セカンダリビデオストリームとしてビデオ1(VS_SN=2)を選択した場合、ユーザは、さらに、かかる第1の組み合わせと第2の組み合わせとのうちの何れか一方を選択することができる(そのような選択操作ができる)。   On the other hand, as shown in FIG. 47, when video 1 (VS_SN = 2) is selected as the secondary video stream, the combinations that can be reproduced simultaneously with video 1 (VS_SN = 2) include audio 1 and audio 4 and a first combination of sub-picture 1 and two combinations of audio 1, audio 5 and a second combination of sub-picture 1 exist. Therefore, when video 1 (VS_SN = 2) is selected as the secondary video stream, the user can further select one of the first combination and the second combination (such as such Select operation).

具体的には、例えば、ここでは、図39で説明した選択操作と同様に、ユーザは、ビデオ1(VS_SN=2)と同時再生させるストリームに対して(ストリームナンバーテーブル上の対応する表示の右方に対して)、再生を選択するときには、「×」から「○」に切り替える一方、再生を選択しないときには、「×」のまま保持する、といった選択操作を実行することができる。なお、図39を用いて説明した場合と同様に、「○」は再生を選択する状態を示すシンボルとされている一方、「×」は再生を選択していない状態を示すシンボルとされている。   Specifically, for example, here, as in the selection operation described with reference to FIG. 39, the user selects the right of the corresponding display on the stream number table with respect to the stream to be simultaneously played with video 1 (VS_SN = 2). On the other hand, when selecting playback, it is possible to execute a selection operation such as switching from “×” to “◯”, while holding “X” when not selecting playback. As in the case described with reference to FIG. 39, “◯” is a symbol indicating a state in which reproduction is selected, while “x” is a symbol indicating a state in which reproduction is not selected. .

図47の例では、かかる選択操作により、オーディオ1、オーディオ4、およびサブピクチャ1の第1の組み合わせが選択された結果が示されている。即ち、図47に示されるように、V2_SN=2のビデオ1と同時再生されるプライマリオーディオストリームとしてオーディオ1が選択されるので、その選択状態は、「×」から「○」に切り替えられる。また、V2_SN=2のビデオ1と同時再生されるセカンダリオーディオストリームとしてオーディオ4が選択されるので(オーディオ5が選択されないので)、オーディオ4の選択状態は、「×」から「○」に切り替えられる一方、オーディオ5の選択状態は「×」のまま保持される。また、V2_SN=2のビデオ1と同時再生されるサブタイトルストリームとしてサブピクチャ1が選択されるので、その選択状態は、「×」から「○」に切り替えられる。   In the example of FIG. 47, the result of selecting the first combination of audio 1, audio 4, and sub-picture 1 by such a selection operation is shown. That is, as shown in FIG. 47, since audio 1 is selected as the primary audio stream that is played back simultaneously with video 1 with V2_SN = 2, the selection state is switched from “×” to “◯”. Also, since audio 4 is selected as the secondary audio stream that is played back simultaneously with video 1 with V2_SN = 2 (because audio 5 is not selected), the selection state of audio 4 is switched from “×” to “◯”. On the other hand, the selection state of the audio 5 is kept “x”. Further, since sub-picture 1 is selected as a subtitle stream that is played back simultaneously with video 1 with V2_SN = 2, the selection state is switched from “×” to “◯”.

即ち、以上の一連の選択操作により、ビデオ1、オーディオ1、オーディオ4、および、サブピクチャ1を選択し、メインビデオ(プライマリビデオストリームのことである)とともに再生可能な状態(そのような再生を選択する状態)とすることができる。   In other words, the video 1, audio 1, audio 4, and sub-picture 1 are selected by the above-described series of selection operations, and can be reproduced together with the main video (which is the primary video stream) (such reproduction is performed). State to be selected).

なお、上述した例では、プライマリビデオストリームと同時再生させるストリームの選択操作として、セカンダリビデオストリームを軸とする操作、即ち、先にセカンダリビデオストリームを選択した後、プライマリオーディオストリーム、セカンダリオーディオストリーム、および、サブタイトルストリームを選択する操作について説明した。   In the above-described example, as an operation for selecting a stream to be reproduced simultaneously with the primary video stream, an operation with the secondary video stream as an axis, that is, after selecting the secondary video stream first, the primary audio stream, the secondary audio stream, and The operation for selecting a subtitle stream has been described.

しかしながら、かかる選択操作として、上述した例のみならず、例えば、図39等を用いて上述した操作と同様にして、先にプライマリオーディオストリームを選択した後、セカンダリビデオストリーム、セカンダリオーディオストリーム、および、サブタイトルストリームを選択する操作を採用してもよい。即ち、図47のストリームナンバーテーブルのうちの、A_SN=1であるオーディオ2、A_SN=2であるオーディオ1、および、A_SN=3であるオーディオ3のうちの何れか1つを、プライマリオーディオストリームとして先に選択した後、図39等を用いて上述した操作と同様の操作により、セカンダリビデオストリーム、セカンダリオーディオストリーム、および、サブタイトルストリームを選択する、といった選択操作を採用することもできる。   However, as such a selection operation, not only the above-described example but also, for example, in the same manner as the operation described above with reference to FIG. 39 or the like, after the primary audio stream is first selected, the secondary video stream, the secondary audio stream, and An operation for selecting a subtitle stream may be employed. That is, any one of the audio 2 with A_SN = 1, the audio 1 with A_SN = 2, and the audio 3 with A_SN = 3 in the stream number table of FIG. 47 is set as the primary audio stream. A selection operation of selecting a secondary video stream, a secondary audio stream, and a subtitle stream by the same operation as that described above with reference to FIG.

また、例えば、先にサブタイトルストリームを選択した後、プライマリオーディオストリーム、セカンダリビデオストリーム、および、セカンダリオーディオストリームを選択する操作を採用することもできる。即ち、図47のストリームナンバーテーブルのうちの、S_SN=1であるサブピクチャ3、S_SN=2でサブピクチャ1、および、S_SN=3であるサブピクチャ2のうちの何れか1つを、サブタイトルストリームとして先に選択した後、図47中図示はされていないが、セカンダリビデオストリーム、プライマリオーディオストリーム、セカンダリオーディオストリームを選択する、といった選択操作を採用することもできる。   Further, for example, an operation of selecting a primary audio stream, a secondary video stream, and a secondary audio stream after selecting a subtitle stream first may be employed. That is, any one of sub-picture 3 with S_SN = 1, sub-picture 1 with S_SN = 2, and sub-picture 2 with S_SN = 3 in the stream number table of FIG. However, although not shown in FIG. 47, a selection operation such as selecting a secondary video stream, a primary audio stream, or a secondary audio stream may be employed.

なお、本実施の形態では、セカンダリオーディオストリームのユーザの切り替え操作は禁止されている。このため、図47の例では、セカンダリオーディオストリームに対するA_SNは与えられていない。即ち、図47の例では、オーディオ1乃至3がプライマリオーディオストリームとして利用され、オーディオ4,5がセカンダリオーディオストリームとして利用されている。   In the present embodiment, the user switching operation of the secondary audio stream is prohibited. For this reason, in the example of FIG. 47, A_SN for the secondary audio stream is not given. That is, in the example of FIG. 47, audios 1 to 3 are used as primary audio streams, and audios 4 and 5 are used as secondary audio streams.

ところで、以上説明した図44と図45の第7のSTN_table()を利用するシンタクスにより、ピクチャインピクチャ手法(図43参照)を実現させる場合、Subpath_typeの種類として、上述した図11の第1の例の種類を利用すると、例えば図48に示されるPlayListが生成される。   Incidentally, when the picture-in-picture method (see FIG. 43) is realized by the syntax using the seventh STN_table () shown in FIGS. 44 and 45 described above, the type of Subpath_type is the first in FIG. 11 described above. When the example type is used, for example, a PlayList shown in FIG. 48 is generated.

図48の例では、メインパス(Main path)を構成するプレイアイテム1(PlayItem1)により参照されるClip AV ストリームファイル-0(メインClip AVストリームファイル)に含まれるVideo(ビデオストリーム)とAudio(オーディオストリーム)とのそれぞれが、プライマリビデオストリームとプライマリオーディオストリームのそれぞれとしている。
つまり、STN_tableにおいて、video_stream_id、audio_stream_idに対応するstream_entryにおいて、type=1を設定した場合である。即ち、図43の例に対応させると、Clip AVストリームファイル-0に含まれるVideoとAudioとのそれぞれが、プライマリビデオストリーム311とプライマリオーディオストリーム312のそれぞれに対応したClip AVストリームファイル-0に含まれるVideoが全画面301に再生されるとともに、Clip AVストリームファイル-0に含まれるAudioが再生出力される。
In the example of FIG. 48, Video (video stream) and Audio (audio) included in Clip AV stream file-0 (main Clip AV stream file) referred to by play item 1 (PlayItem1) constituting the main path (Main path). Each of the primary video stream and the primary audio stream.
That is, in STN_table, type = 1 is set in the stream_entry corresponding to video_stream_id and audio_stream_id. That is, in correspondence with the example of FIG. 43, each of Video and Audio included in Clip AV stream file-0 is included in Clip AV stream file-0 corresponding to each of primary video stream 311 and primary audio stream 312. Is reproduced on the full screen 301, and the audio included in the Clip AV stream file-0 is reproduced and output.

一方、サブパス1(Sub path-1)に含まれるサブプレイアイテム(SubPlayItem:SPI)としにより参照されるClip AVストリームファイル−1(サブClip AVストリームファイル)に含まれる2ndVideo(ビデオストリーム)が、セカンダリビデオストリームとなり、また、サブパス2(Sub path-2)に含まれるサブプレイアイテム(SPI)により参照されるClip AVストリームファイル-1に含まれる2ndAudio(オーディオストリーム)が、セカンダリオーディオストリームとしている。つまり、STN_tableにおいて、video_stream_id2、audio_stream_id2のstream_entryにおいて、type=2を設定した場合である。即ち、図43の例に対応させると、Clip AVストリームファイル-1に含まれる2ndVideoと2ndAudioとのそれぞれが、セカンダリビデオストリーム313とセカンダリオーディオストリーム314のそれぞれに対応し、Clip AVストリームファイル-1に含まれる2ndVideoが子画面302に再生されるとともに、Clip AVストリームファイル-1に含まれる2nd Audioが再生出力される。   On the other hand, the 2ndVideo (video stream) included in the Clip AV stream file-1 (sub Clip AV stream file) referred to as the sub play item (SubPlayItem: SPI) included in the sub path 1 (Sub path-1) is the secondary. A 2ndAudio (audio stream) included in the Clip AV stream file-1 referred to by the sub play item (SPI) included in the sub path 2 (Sub path-2) is a secondary audio stream. That is, this is a case where type = 2 is set in the stream_entry of video_stream_id2 and audio_stream_id2 in STN_table. That is, in the example of FIG. 43, 2ndVideo and 2ndAudio included in Clip AV stream file-1 correspond to secondary video stream 313 and secondary audio stream 314, respectively, and Clip AV stream file-1 The included 2nd Video is reproduced on the child screen 302, and the 2nd Audio included in the Clip AV stream file-1 is reproduced and output.

ただし、Clip AVストリームファイル-0に含まれるAudioをプライマリオーディオストリームとして全画面301と対応付けて再生させ、かつ、Clip AVストリームファイル-1に含まれる2ndAudioをセカンダリオーディオストリームとして子画面302と対応付けて再生させるとは、上述したように、それら2つのオーディオストリームに対してミキシング処理が施された結果得られる音声が出力されることを指す。   However, Audio included in the Clip AV stream file-0 is reproduced as a primary audio stream in association with the entire screen 301, and 2ndAudio included in the Clip AV stream file-1 is associated with the child screen 302 as a secondary audio stream. As described above, “reproducing” indicates that the audio obtained as a result of performing the mixing process on the two audio streams is output.

このように、図48の例では、SubPath_typeの種類として図11の第1の例の種類が利用されて、その結果、メインパス、サブパス1、および、サブパス2により、ピクチャインピクチャ手法が実現されている。   As described above, in the example of FIG. 48, the type of the first example of FIG. 11 is used as the type of SubPath_type, and as a result, the picture-in-picture technique is realized by the main path, the subpath 1, and the subpath 2. ing.

しかしながら、図48の例では、プライマリビデオストリームであるClip AVストリームファイル-0のVideoと同時に再生されるセカンダリビデオストリームとセカンダリオーディオストリームとのそれぞれは、同一のClip AVストリームファイル-1内に含まれる2ndVideoと2ndAudioとのそれぞれであるにも関わらず、別々のサブパス1とサブパス2とのそれぞれで定義されている。なぜならば、図11の例では、参照されるES(エレメンタリストリーム)の本数は1本のみである、というSubPath_typeの種類しか用意されていないためである。即ち、図11の例では、Audio,IG,Text,Videoといった各種類のESが、同一のClipに含まれるClip AVストリームファイルに含まれているか否かによらず、ES1本ずつに対して、SubPath_typeが1つずつ常に割り当てられる、というSubPath_typeの種類しか用意されていないためである。   However, in the example of FIG. 48, each of the secondary video stream and the secondary audio stream that are played back simultaneously with the Video of the Clip AV stream file-0 that is the primary video stream is included in the same Clip AV stream file-1. In spite of being 2ndVideo and 2ndAudio, they are defined in separate subpath 1 and subpath 2, respectively. This is because, in the example of FIG. 11, only the SubPath_type type that only one ES (elementary stream) is referenced is prepared. That is, in the example of FIG. 11, each type of ES such as Audio, IG, Text, and Video is included in each Clip AV stream file included in the same Clip. This is because only the SubPath_type type that SubPath_type is always assigned one by one is prepared.

即ち、図48の例によらず、図11の例のSubPath_typeの種類が利用される場合、メインパスで参照されるESと別に、再生対象のESが2本以上存在するときには、それらの2本以上のESは別々のサブパスにそれぞれ分けられて、即ち、2つの別のSPIのそれぞれとして定義されることになる。   That is, regardless of the example of FIG. 48, when the type of SubPath_type in the example of FIG. 11 is used, when there are two or more ESs to be reproduced, apart from the ES referenced in the main path, The above ESs are divided into separate sub-paths, that is, defined as two different SPIs.

この場合、それらの2本以上のESが同一のClipに含まれるClip AVストリームファイルに含まれているならば、上述したSubPlayItem_IN_time,SubPlayItem_OUT_time等は同一となるにも関わらず、それぞれ個別に持つ(その結果何重にも持つ)必要が生じてしまい、SubPlayItem_IN_time、および、SubPlayItem_OUT_timeの情報が冗長となる、という第1の問題点が発生する。   In this case, if these two or more ESs are included in the Clip AV stream file included in the same Clip, the above-mentioned SubPlayItem_IN_time, SubPlayItem_OUT_time, etc. are the same even though they are the same. As a result, there is a need for multiple times), and the first problem is that the information of SubPlayItem_IN_time and SubPlayItem_OUT_time becomes redundant.

また、この場合、再生対象のESごとにサブパスを定義しなければならないので、PlayListの構造が必要以上に複雑になる、という第2の問題点も発生する。   In this case, since a subpath must be defined for each ES to be played back, a second problem that the structure of the PlayList becomes more complicated than necessary occurs.

さらに、かかる第2の問題点から、次のような第3の問題点も発生する。   Furthermore, from the second problem, the following third problem also occurs.

即ち、例えば、本実施の形態では、再生装置(例えば上述した図36の再生装置141や後述する図53の再生装置401)には、同時に2本のTS(すなわち、2つのClipに含まれるそれぞれのTS)までしか読めないという制限(縛り)が課せられている。かかる制限が課せられた再生装置では、このような複雑な構造のPlayListを再生しようとすると、そのPlayList内に定義されているメインパスと、何れのサブパスを組み合わせて再生すればよいのかを直ちに決められない、即ち、そのような組み合わせを決定するために複雑な処理の実行が必要になる、という第3の問題点が発生する。   That is, for example, in this embodiment, the playback device (for example, the playback device 141 in FIG. 36 described above or the playback device 401 in FIG. 53 described later) includes two TSs (that is, each included in two Clips). There is a restriction (binding) that can only be read up to (TS). In a playback apparatus with such restrictions, when a PlayList having such a complicated structure is to be played, it is immediately determined which of the main path defined in the PlayList and which sub-path should be combined for playback. The third problem arises that it is not possible, that is, it is necessary to execute complicated processing to determine such a combination.

そこで、本発明人は、かかる第1乃至第3の問題点を解決すべく、SubPath_typeの種類として、複数のESを取り扱える種類、即ち、複数のESを同時に参照可能とする種類を追加する、という手法をさらに発明した。かかる手法が適用されたSubPath_typeの種類の第2の例が図49に示されている。   Therefore, in order to solve the first to third problems, the present inventor adds, as the type of SubPath_type, a type that can handle a plurality of ESs, that is, a type that can simultaneously reference a plurality of ESs. The method was further invented. FIG. 49 shows a second example of the type of SubPath_type to which such a technique is applied.

即ち、図49は、SubPath_type(サブパスのタイプ)の種類の第2の例であって、図11とは異なる例、即ち、図11の例にも存在する種類に対して、かかる第1乃至第3の問題点を解決可能な種類を追加した例を説明する図である。すなわち、かかる第1乃至第3の問題点を解決するためには、例えば、図49に示される第2のSubPath_typeを採用すればよい。   That is, FIG. 49 shows a second example of the type of SubPath_type (subpath type), which is different from that of FIG. 11, that is, for the types that also exist in the example of FIG. It is a figure explaining the example which added the kind which can solve 3 problems. That is, in order to solve the first to third problems, for example, the second SubPath_type shown in FIG. 49 may be adopted.

図49において、SubPath_type=0乃至4は、図11の対応するタイプと同一とされているので、ここではその説明については省略する。   In FIG. 49, SubPath_type = 0 to 4 are the same as the corresponding types in FIG. 11, so the description thereof is omitted here.

ただし、SubPath_type=0乃至4の「Meaning」において、図49の例では「Out-of-mux」という記述がなされているが、図11の例ではその記述は省略されている。そこで、その記述について説明する。即ち、この「Out-of-mux」という記述は、サブパスで参照されるESが含まれるTSと、メインパスで参照されるESが含まれるTSとが異なっている場合のサブパスのタイプ(種類)、即ち、サブパスで参照されるESが、メインパスで参照されるプレイアイテムが含まれるTSに多重化されていないサブパスのタイプ(種類)であることを示している。以下、かかる種類を、メインパスTS非多重型のパスと称する。   However, in “Meaning” with SubPath_type = 0 to 4, the description “Out-of-mux” is described in the example of FIG. 49, but the description is omitted in the example of FIG. The description will be described. That is, the description of “Out-of-mux” is the type (type) of the subpath when the TS including the ES referred to in the subpath is different from the TS including the ES referred to in the main path. That is, the ES referred to in the sub path indicates that the sub path type is not multiplexed in the TS including the play item referred to in the main path. Hereinafter, this type is referred to as a main path TS non-multiplex type path.

また、SubPath_type=2,3のように、メインパスで参照されるESとサブパスで参照されるESとが非同期である場合、そのサブパスのタイプ(種類)を、以下、非同期型のパスと称する。一方、SubPath_type=4,5のように、メインパスで参照されるESとサブパスで参照されるESとが同期する場合、そのサブパスのタイプ(種類)を、以下、同期型のパスと称する。   Further, when the ES referred to in the main path and the ES referred to in the sub path are asynchronous as in SubPath_type = 2, 3, the type (kind) of the sub path is hereinafter referred to as an asynchronous path. On the other hand, when the ES referenced by the main path and the ES referenced by the sub path are synchronized as in SubPath_type = 4, 5, the type (type) of the sub path is hereinafter referred to as a synchronous path.

SubPath_type=5は、Out-of-mux and AV Synchronized type of one or more elementary streams path(Primary audio/PG/IG/Secondary audio path).Out of mux and AV synchronized type of Picture-in-Picture presentation path which contains one or more elementary streams pathsとされている。即ち、SubPath_type=5は、メインパスTS非多重型、かつ、同期型のパスであって、1本以上のES(Primary audio/PG/IG/Secondary audio)のパスや、ピクチャインピクチャプレゼンテーションパスとされている。   SubPath_type = 5 is Out-of-mux and AV Synchronized type of one or more elementary streams path (Primary audio / PG / IG / Secondary audio path) .Out of mux and AV synchronized type of Picture-in-Picture presentation path which Contains one or more elementary streams paths. In other words, SubPath_type = 5 is a main path TS non-multiplexed and synchronous path, and includes one or more ES (Primary audio / PG / IG / Secondary audio) paths, picture-in-picture presentation paths, and so on. Has been.

すなわち、SubPath_type=5は、図11を用いて説明した例におけるSubPath_type=5,6のそれぞれで示される種類も含まれ、2nd Audio Presentation path(2番目のオーディオプレゼンテーションパス)(2ndオーディオストリームを参照するためのパス)や、2nd Video Presentation path(2番目のビデオプレゼンテーションパス)(2ndビデオストリームを参照するためのパス)を含むものである。   That is, SubPath_type = 5 includes the types indicated by SubPath_type = 5 and 6 in the example described with reference to FIG. 11, and refers to the 2nd Audio Presentation path (second audio presentation path) (refers to the 2nd audio stream). For example) and a 2nd Video Presentation path (second video presentation path) (path for referring to the 2nd video stream).

ここで、ピクチャインピクチャプレゼンテーションパスとは、上述したピクチャインピクチャ手法(図43参照)において、所定のプライマリビデオストリーム(メインパスで参照されるビデオストリーム)についての、プライマリオーディオストリームストリーム、セカンダリビデオストリーム、セカンダリオーディオストリーム、および、サブタイトルストリームのうちの1以上のパス(そのようなサブパスのタイプ)であることをいう。   Here, the picture-in-picture presentation path refers to a primary audio stream stream and a secondary video stream for a predetermined primary video stream (a video stream referred to in the main path) in the above-described picture-in-picture method (see FIG. 43). , One or more paths (types of such sub paths) of the secondary audio stream and the subtitle stream.

SubPath_type=6は、Out-of-mux and AV non-Synchronized type of Picture-in-Picture presentation path which contains one or more elementary streams pathsとされている。即ち、SubPath_type=6は、メインパスTS非多重型、かつ、非同期型のパスであって、ピクチャインピクチャプレゼンテーションパス(1以上のESのパス)とされている。   SubPath_type = 6 is Out-of-mux and AV non-Synchronized type of Picture-in-Picture presentation path which contains one or more elementary streams paths. That is, SubPath_type = 6 is a main path TS non-multiplexed and asynchronous path, and is a picture-in-picture presentation path (one or more ES paths).

SubPath_type=7は、In-mux type and AV Synchronized type of Picture-in-Picture presentation path which contains one or more elementary streams pathsとされている。   SubPath_type = 7 is In-mux type and AV Synchronized type of Picture-in-Picture presentation path which contains one or more elementary streams paths.

ここで、「In-mux」という記述は、サブパスで参照されるESが含まれるTSと、メインパスで参照される1以上のESが含まれるTSとが同一の場合のサブパスのタイプ(種類)、即ち、サブパスで参照されるESが、メインパスで参照されるESを含むTSに多重化されているサブパスのタイプ(種類)であることを示している。換言すれば、メインクリップに含まれるメインTSに、メインのClip AVストリームと、サブのClip AVストリームとが含まれている状態である。以下、かかる種類を、メインパスTS多重型のパスと称する。   Here, the description “In-mux” is a subpath type (kind) when a TS including an ES referenced by a subpath is the same as a TS including one or more ESs referenced by a main path. That is, it is indicated that the ES referred to in the subpath is the type (kind) of the subpath multiplexed in the TS including the ES referred to in the main path. In other words, the main TS included in the main clip includes the main Clip AV stream and the sub Clip AV stream. Hereinafter, this type is referred to as a main path TS multiplexing type path.

即ち、SubPath_type=7は、メインパスTS多重型、かつ、同期型のパスであって、ピクチャインピクチャプレゼンテーションパス(1以上のESのパス)とされている。   That is, SubPath_type = 7 is a main path TS multiplexing type and synchronous type path, which is a picture-in-picture presentation path (one or more ES paths).

そして、SubPath_type=8−255は予備(reserved)とされている。   SubPath_type = 8-255 is reserved.

図49の例のSubpath_typeの種類を利用することにより、新たに追加されたSubPath_type=5,6,7を利用することが可能となる。ここで、SubPath_type=7においては、PlayItemにより参照されるMainTS、すなわち、メインClip AVストリームには、SubPathにより参照されるSubSTも含まれる。そのため、図17を用いて説明したStream_entry()に代わって、type=3(なお、図50におけるtype=3は、図15を用いて説明した場合のtype=3とは異なる)が定義された、図50に示される第3のStream_entry()が用いられる。   By using the type of Subpath_type in the example of FIG. 49, it is possible to use newly added SubPath_type = 5, 6, and 7. Here, in SubPath_type = 7, MainTS referred to by PlayItem, that is, the main Clip AV stream includes SubST referred to by SubPath. Therefore, instead of Stream_entry () described with reference to FIG. 17, type = 3 (type = 3 in FIG. 50 is different from type = 3 in the case described with reference to FIG. 15) is defined. The third Stream_entry () shown in FIG. 50 is used.

すなわち、第3のStream_entry()において定義されているtype=3は、対応するPlayItemにおいてSubPath_type=7の場合に、MainClipに含まれ、SubPathによって参照されるエレメンタリストリームを識別するためのものである。   That is, type = 3 defined in the third Stream_entry () is for identifying an elementary stream that is included in the MainClip and referenced by the SubPath when SubPath_type = 7 in the corresponding PlayItem. .

なお、図50において、図17と同一の部分については、その説明を適宜省略する。   50, the description of the same parts as those in FIG. 17 will be omitted as appropriate.

すなわち、type=3では、SubPathがMainPathと同じClipを参照し、換言すれば、MainClipに複数のエレメンタリストリームが多重化され、MainPathとSubPathとのいずれも、MainClipに多重化されているエレメンタリストリームのうちのいずれかを参照している場合に、SubPath_type=7において、MainClipの複数のエレメンタリストリームの中から、SubPathによって参照される1つのエレメンタリストリームを再生時に特定するために、ref_to_stream_PID_of_MainClipにより、MainClipのパケットID(PID)が指定される。また、ref_to_SubPath_idによりSubPath_idが示され、このSubPath_idにより図9のPlayList()で定義されたSubPathが特定され、このSubpathから対応するSubPlayItemが呼び出されることにより(図10)、エレメンタリストリームの再生時間(In_time, Out_time)等を把握することができる(図12)ようになされている。   That is, when type = 3, SubPath refers to the same Clip as MainPath, in other words, a plurality of elementary streams are multiplexed on MainClip, and both MainPath and SubPath are multiplexed on MainClip. When referring to any one of the streams, Ref_to_stream_PID_of_MainClip is used to specify one elementary stream referenced by SubPath from among a plurality of elementary streams of MainClip when SubPath_type = 7. MainClip packet ID (PID) is specified. Also, SubPath_id is indicated by ref_to_SubPath_id, the SubPath defined in PlayList () of FIG. 9 is specified by this SubPath_id, and the corresponding SubPlayItem is called from this Subpath (FIG. 10), so that the elementary stream playback time ( (In_time, Out_time) and the like can be grasped (FIG. 12).

このように、type(type1乃至type3の3つのtype)を使うことで、PlayItemとそれに関連付けられて再生される1つ以上のSubPathが用意されている場合に、このPlayItemが参照するClipが、さらに、SubPathから参照されている場合であっても、Clipの中から1つのエレメンタリストリームを特定することができる。   As described above, when a type (three types of type 1 to type 3) is used and a PlayItem and one or more SubPaths to be played back are prepared, a clip referred to by the PlayItem is further Even if it is referenced from SubPath, one elementary stream can be specified from the Clip.

また、以上説明したような図49の例のSubpath_typeの種類を利用することで、即ち、図11の例にも存在したSubPath_type=1乃至4とともに、新たに追加された複数(1以上)のエレメンタリストリームを扱いうるSubPath_type=5,6,7を利用することで、ピクチャインピクチャ手法(図43参照)を実現させる場合のPlayListとして、図48の例のような複雑な構造のPlayListの代わりに、例えば図51に示されるような簡単な構造のPlayListの作成/利用が可能になる。   Further, by using the type of Subpath_type in the example of FIG. 49 as described above, that is, a plurality of (one or more) elements newly added together with SubPath_type = 1 to 4 that also existed in the example of FIG. As a PlayList for realizing the picture-in-picture method (see FIG. 43) by using SubPath_type = 5, 6 and 7 that can handle a mental stream, instead of a PlayList having a complicated structure as in the example of FIG. For example, a PlayList having a simple structure as shown in FIG. 51 can be created / used.

即ち、図51の例では、メインパス(Main path)に含まれるプレイアイテム1(PlayItem1)が参照するClip AVストリームファイル-0に含まれるVideo(ビデオストリーム)とAudio(オーディオストリーム)とのそれぞれが、プライマリビデオストリームとプライマリオーディオストリームのそれぞれとしている。即ち、図43の例に対応させると、clip AVストリームファイル-0に含まれるVideoとAudioとのそれぞれが、プライマリビデオストリーム311とプライマリオーディオストリーム312のそれぞれに対応し、clip AVストリームファイル-0に含まれるVideoが全画面301に再生されるとともに、clip AVストリームファイル-0に含まれるAudioが再生出力される。   That is, in the example of FIG. 51, each of the Video (video stream) and Audio (audio stream) included in the Clip AV stream file-0 referred to by the play item 1 (PlayItem 1) included in the main path (Main path) is obtained. , Primary video stream and primary audio stream respectively. That is, in the example of FIG. 43, each of Video and Audio included in clip AV stream file-0 corresponds to each of primary video stream 311 and primary audio stream 312, and clip AV stream file-0 The included video is reproduced on the full screen 301, and the audio included in the clip AV stream file-0 is reproduced and output.

なお、STN_tableにおいて、video_stream_id, audio_stream_id, video_stream_id2, audio_stream_id2のそれぞれでstream_entryを定義し、かつ、図50のstream_entryにおいて、MainPathで指定されMainClipに存在する場合(type=1)、SubPathで指定し、SubClipに存在する場合、(type=2)、MainClipに存在するがSubPathで指定する場合(type=3、図50)のそれぞれを定義しているため、プライマリオーディオストリーム(audio_stream_idで示されるオーディオストリーム)であっても、SubPathで指定される場合もありえる。また、同様にして、本構成では、プライマリビデオストリーム(video_stream_idで示されるビデオストリーム)もSubPathで指定されることも可能であるが、プライマリビデオストリームが前提のAVデータと考えているため、プライマリビデオストリームは、MainPathにより指定されるものとする。なお、SubPathによりプライマリビデオを指定する場合には、SubPath_typeの定義の変更、追加を行うのみでよい。   In STN_table, when stream_entry is defined for each of video_stream_id, audio_stream_id, video_stream_id2, and audio_stream_id2, and in stream_entry of FIG. 50, specified in MainPath and present in MainClip (type = 1), specified in SubPath, specified in SubClip If it exists, it is a primary audio stream (audio stream indicated by audio_stream_id) because each is defined (type = 2), but exists in MainClip but specified by SubPath (type = 3, FIG. 50). However, it may be specified by SubPath. Similarly, in this configuration, the primary video stream (video stream indicated by video_stream_id) can also be specified by SubPath. However, since the primary video stream is considered as the premise AV data, the primary video stream The stream is specified by MainPath. Note that when the primary video is designated by SubPath, only the definition and addition of SubPath_type need be changed.

また、図51の例でも、プライマリビデオストリームであるClip AVストリームファイル-0のVideoと同時に再生されるセカンダリビデオストリームとセカンダリオーディオストリームとのそれぞれは、同一のClip AVストリームファイル-1内に含まれる2ndVideoと2ndAudioとのそれぞれとされている。   Also in the example of FIG. 51, each of the secondary video stream and the secondary audio stream that are played back simultaneously with the Video of the Clip AV stream file-0 that is the primary video stream is included in the same Clip AV stream file-1. 2ndVideo and 2ndAudio respectively.

そこで、図51の例では、サブパスA(Sub path-A)のタイプとして、上述したSubPath_type=5、即ち、メインパスTS非多重型、かつ、同期型のパスであって、ピクチャインピクチャプレゼンテーションパスが採用されている。これにより、サブパスA(Sub path-A)が参照するサブプレイアイテム(SPI)として、Clip AVストリームファイル-1に含まれる2ndVideoと2ndAudioとの2つのESを同時に参照できるようになる。その結果、図43の例に対応させると、1つのサブパスA(Sub path-A)のみで参照されるClip AVストリームファイル-1に含まれる2ndVideoと2ndAudioとのそれぞれが、セカンダリビデオストリーム313とセカンダリオーディオストリーム314のそれぞれに対応し、Clip AVストリームファイル-1に含まれる2ndVideoが子画面302に再生されるとともに、Clip AVストリームファイル-1に含まれる2ndAudioが再生出力される。   Therefore, in the example of FIG. 51, as the type of sub path A (Sub path-A), the above-mentioned SubPath_type = 5, that is, the main path TS non-multiplexed type and synchronous type path, which is a picture-in-picture presentation path. Is adopted. As a result, two ESs of 2ndVideo and 2ndAudio included in the Clip AV stream file-1 can be referenced simultaneously as a sub play item (SPI) referenced by the sub path A (Sub path-A). As a result, when corresponding to the example of FIG. 43, each of the 2ndVideo and 2ndAudio included in the Clip AV stream file-1 referred to by only one sub path A (Sub path-A) is the secondary video stream 313 and the secondary video stream 313. Corresponding to each of the audio streams 314, 2ndVideo included in the Clip AV stream file-1 is reproduced on the child screen 302, and 2ndAudio included in the Clip AV stream file-1 is reproduced and output.

その際、サブパスA(Sub path-A)のタイプとして、上述したSubPath_type=5が採用されている場合、セカンダリビデオストリーム313とセカンダリオーディオストリーム314とは、プライマリビデオストリーム311と同期して再生されることになる。   At this time, when the above-described SubPath_type = 5 is adopted as the type of sub path A (Sub path-A), the secondary video stream 313 and the secondary audio stream 314 are reproduced in synchronization with the primary video stream 311. It will be.

換言すると、セカンダリビデオストリーム313とセカンダリオーディオストリーム314とを、プライマリビデオストリーム311と非同期で再生したい場合には(或いは非同期で再生する必要がある場合には)、サブパスA(Sub path-A)のタイプとして、上述したSubPath_type=6、即ち、メインパスTS非多重型、かつ、非同期型のパスであって、ピクチャインピクチャプレゼンテーションパス(1以上のESのパス)を採用すればよい。   In other words, when it is desired to reproduce the secondary video stream 313 and the secondary audio stream 314 asynchronously with the primary video stream 311 (or when it is necessary to reproduce asynchronously), the sub path A (Sub path-A) As the type, SubPath_type = 6 described above, that is, a main path TS non-multiplexed type and asynchronous type path, and a picture-in-picture presentation path (one or more ES paths) may be adopted.

このように、図51の例では、図49の例のSubpath_typeの種類が採用された結果、メインパスの他1つのサブパス(例えば、図50のサブパスA)のみで、ピクチャインピクチャ手法が実現されている。   As described above, in the example of FIG. 51, as a result of adopting the type of Subpath_type of the example of FIG. 49, the picture-in-picture technique is realized only by one subpath other than the main path (for example, subpath A of FIG. ing.

即ち、同一のClip AVストリームファイル-1に含まれる2ndvideoと2ndAudioとのそれぞれをセカンダリビデオストリーム313とセカンダリオーディオストリーム314として利用する、といったピクチャインピクチャ手法を実現する場合、図11の例のSubpath_typeの種類を利用して生成された図48の例のPlayListでは、同一のClip AVストリームファイル-1に含まれる2ndvideoと2ndAudioとのそれぞれは2つの別々のサブパスで参照されていた。これに対して、図49の例のSubpath_typeを利用して生成された図51の例のPlayListでは、同一のClip AVストリームファイル-1に含まれる2ndvideoと2ndAudioとのそれぞれは1つのサブパスのみで参照できるようになっている。   That is, when realizing a picture-in-picture method in which 2ndvideo and 2ndAudio included in the same Clip AV stream file-1 are used as the secondary video stream 313 and the secondary audio stream 314, respectively, the Subpath_type in the example of FIG. In the PlayList in the example of FIG. 48 generated using the type, each of 2ndvideo and 2ndAudio included in the same Clip AV stream file-1 is referred to by two separate subpaths. On the other hand, in the PlayList of the example of FIG. 51 generated using the Subpath_type of the example of FIG. 49, each of 2ndvideo and 2ndAudio included in the same Clip AV stream file-1 is referred to by only one subpath. It can be done.

その結果、2ndvideoと2ndAudioとのそれぞれについての、SubPlayItem_IN_time,SubPlayItem_OUT_time等は1つ持てばよいため、上述した第1の問題点を解決することが可能になる。   As a result, it is only necessary to have one SubPlayItem_IN_time, SubPlayItem_OUT_time, etc. for each of 2ndvideo and 2ndAudio, so that the first problem described above can be solved.

また、図48の例と図51の例のPlayListを比較すれば明らかなように、その構造を簡素化できるので、第2の問題点と第3の問題点を解決することが可能になる。   Further, as apparent from comparing the PlayList in the example of FIG. 48 and the example of FIG. 51, the structure can be simplified, so that the second problem and the third problem can be solved.

さらに、図49の例のSubpath_typeの種類のうちのSubPath_type=7、即ち、メインパスTS多重型、かつ、同期型のパスであって、ピクチャインピクチャプレゼンテーションパス(1以上のESのパス)を利用することで、例えば図52に示されるようなPlayListを作成することが可能になる。その結果、図52の例のPlayListを利用したピクチャインピクチャ手法の実現も容易に可能になる。   Further, SubPath_type = 7 of the types of Subpath_type in the example of FIG. 49, that is, a main path TS multiplexing type and synchronous type path, and a picture-in-picture presentation path (one or more ES paths) is used. Thus, for example, a PlayList as shown in FIG. 52 can be created. As a result, the picture-in-picture technique using the PlayList in the example of FIG. 52 can be easily realized.

図52の例では、メインパス(Main path)に含まれるプレイアイテム1(PlayItem1)により参照されるMain TSには、Clip AVストリームファイル-0(ただし、図51のClip AVストリームファイル-0とは異なるClip AVストリームファイル)が含まれており、Clip AVストリームファイル-0には、PlayItem−1によって参照されるMainSTと、SubPlayItemによって参照されるSubSTが含まれている。そして、MainSTに含まれるVideo(ビデオストリーム)とAudio(オーディオストリーム)とのそれぞれが、プライマリビデオストリームとプライマリオーディオストリームのそれぞれとなる。即ち、図43の例に対応させると、Clip AVストリームファイル-0に含まれるMainSTのVideoとAudioとのそれぞれが、プライマリビデオストリーム311とプライマリオーディオストリーム312のそれぞれに対応し、Clip AVストリームファイル-0に含まれるVideoが全画面301に再生されるとともに、Clip AVストリームファイル-0に含まれるAudioが再生出力される。   In the example of FIG. 52, the Main TS referred to by the play item 1 (PlayItem 1) included in the main path (Main Path) includes the Clip AV stream file-0 (however, the Clip AV stream file-0 of FIG. Different Clip AV stream files) are included, and Clip AV stream file-0 includes MainST referenced by PlayItem-1 and SubST referenced by SubPlayItem. Each of Video (video stream) and Audio (audio stream) included in MainST becomes a primary video stream and a primary audio stream, respectively. That is, in correspondence with the example of FIG. 43, the Video and Audio of MainST included in the Clip AV stream file-0 correspond to the primary video stream 311 and the primary audio stream 312, respectively. Video included in 0 is reproduced on the entire screen 301, and Audio included in Clip AV stream file-0 is reproduced and output.

また、図52の例では、プライマリビデオストリームであるMainSTのVideoと同時に再生されるセカンダリビデオストリームとセカンダリオーディオストリームとのそれぞれは、同じMain TSに含まれる、Clip AVストリームファイル-1に含まれる2ndVideoと2ndAudioとのそれぞれとなる。   In the example of FIG. 52, each of the secondary video stream and the secondary audio stream that are played back simultaneously with the MainST Video that is the primary video stream is included in the Clip AV stream file-1 included in the same Main TS. And 2ndAudio.

この場合、図52の例のPlayListを作成するためには、サブパスA(Sub path-A)のタイプとして、SubPath_type=7を採用すればよい。これにより、サブパスA(Sub path-A)に含まれるサブプレイアイテム(SPI)が参照するESとして、メインパスでも参照しているMain TSのClip AVストリームファイル-0に含まれるSubSTの2ndVideoと2ndAudioとの2つのESを参照できるようになる。その結果、図43の例に対応させると、サブパスA(Sub path-A)で参照されるClip AVストリームファイル-0に含まれる2ndVideoと2ndAudioとのそれぞれを、セカンダリビデオストリーム313とセカンダリオーディオストリーム314のそれぞれに対応し、Clip AVストリームファイル-0に含まれる2ndVideoが子画面302に再生できるとともに、Clip AVストリームファイル-0に含まれる2nd Audioが再生出力されるようになる。すなわち、図52における場合では、メインクリップに含まれるメインTSに、メインのストリームであるMainSTと、サブのストリームであるSubSTとが含まれている。   In this case, in order to create the PlayList in the example of FIG. 52, SubPath_type = 7 may be adopted as the type of sub path A (Sub path-A). As a result, the SubST 2ndVideo and 2ndAudio included in the Clip AV stream file-0 of the Main TS that is also referenced in the main path as the ES that is referenced by the sub play item (SPI) included in the sub path A (Sub path-A). The two ESs can be referred to. As a result, according to the example of FIG. 43, the 2ndVideo and 2ndAudio included in the Clip AV stream file-0 referred to by the sub path A (Sub path-A) are converted into the secondary video stream 313 and the secondary audio stream 314, respectively. 2ndVideo included in the Clip AV stream file-0 can be reproduced on the child screen 302, and 2nd Audio included in the Clip AV stream file-0 is reproduced and output. That is, in the case of FIG. 52, the main TS included in the main clip includes MainST that is the main stream and SubST that is the sub stream.

その他、図52に示されるように、PlayItem-1に対するサブパスとして、サブパスAに加えて、Clip AVストリームファイル-1が含まれているMain TSとは異なるTS(Sub TS)に含まれているClip AVストリームファイル-1を参照するサブパスB(Subpath-B)が定義されている場合には、上述したように、本実施の形態の再生装置は、2つのTSを同時に読み出すことが可能であるので、メインTSに含まれるVideo,Audio,2ndVideo,2ndAudioとともに、サブTSに含まれるPG等も読み出すことが可能になる。   In addition, as shown in FIG. 52, as a sub-path for PlayItem-1, in addition to sub-path A, a Clip included in a TS (Sub TS) different from the Main TS including the Clip AV stream file-1 is included. When the subpath B (Subpath-B) that refers to the AV stream file-1 is defined, as described above, the playback device according to the present embodiment can simultaneously read two TSs. In addition to the Video, Audio, 2nd Video, and 2nd Audio included in the main TS, the PG included in the sub TS can be read.

以上、ピクチャインピクチャ手法(図43参照)を適用するために必要なシンタクスの例、即ち、図44と図45の第7のSTN_table()や、図49の例のSubPath_typeの種類について説明した。   The example of syntax necessary for applying the picture-in-picture method (see FIG. 43), that is, the seventh STN_table () in FIGS. 44 and 45 and the type of SubPath_type in the example of FIG. 49 have been described.

かかるピクチャインピクチャ手法を実現するためには、プライマリビデオストリームとセカンダリビデオストリームとを同時再生できる機能を有する再生装置、例えば図53に示されるような再生装置の適用が必要である。   In order to realize such a picture-in-picture method, it is necessary to apply a playback device having a function of simultaneously playing a primary video stream and a secondary video stream, for example, a playback device as shown in FIG.

次に、本発明を適用した再生装置の異なる例について説明する。再生装置401は、図36を用いて説明した再生装置141のAVデコーダ部151に代わって、AVデコーダ部403が設けられている以外は、基本的に、図36を用いて説明した再生装置141と同様の構成を有するものである。図53は、AVデコーダ部403の構成例を示すブロック図である。このAVデコーダ部403を備えた再生装置401は、ピクチャインピクチャ手法を適用して、図47を用いて説明したように、1画面のうちの、全画面301に、メインパスで参照されるAVストリームに対応する映画本編等のコンテンツを再生させるとともに、全画面301に配置される子画面302に、サブパスで参照されるAVストリームに対応する映画の監督のコメンタリー等の別のコンテンツを再生させることが可能である。   Next, different examples of the playback apparatus to which the present invention is applied will be described. The playback apparatus 401 is basically the playback apparatus 141 described with reference to FIG. 36 except that an AV decoder section 403 is provided instead of the AV decoder section 151 of the playback apparatus 141 described with reference to FIG. It has the same configuration as. FIG. 53 is a block diagram illustrating a configuration example of the AV decoder unit 403. The playback device 401 including the AV decoder unit 403 applies a picture-in-picture technique, and as described with reference to FIG. 47, the AV that is referred to by the main path on the entire screen 301 of one screen. Play back content such as the main movie corresponding to the stream, and play back other content such as a movie director's commentary corresponding to the AV stream referenced in the sub path on the sub-screen 302 arranged on the full screen 301. Is possible.

図53の再生装置401は、上述したメインパスとサブパスを有するPlayListであって、ピクチャインピクチャ手法を実現するためのPlayList(例えば図51や図52の例のPlayList)に従った再生を行うことができる。   53 is a PlayList having the above-described main path and sub path, and performs playback according to a PlayList (for example, the PlayList in the examples of FIGS. 51 and 52) for realizing the picture-in-picture method. Can do.

なお、図53において、図36と対応する部分(ブロック)には対応する符号が付してあり、それらの説明については適宜省略する。   In FIG. 53, portions (blocks) corresponding to those in FIG. 36 are denoted by corresponding reference numerals, and description thereof will be omitted as appropriate.

図53の例の再生装置401には、図36の例の再生装置141と同様の機能と構成を有する、ストレージドライブ22、スイッチ32、およびコントローラ21が設けられている。ただし、コントローラ21の機能は追加されている。追加された機能の詳細については後述する。さらに、図53の例の再生装置401には、図36の例の再生装置141のAVデコーダ部151とは機能と構成が若干異なるAVデコーダ部403が設けられている。   The playback device 401 in the example of FIG. 53 is provided with a storage drive 22, a switch 32, and a controller 21 that have the same functions and configurations as the playback device 141 in the example of FIG. However, the function of the controller 21 is added. Details of the added function will be described later. Further, the playback device 401 in the example of FIG. 53 is provided with an AV decoder unit 403 having a slightly different function and configuration from the AV decoder unit 151 of the playback device 141 in the example of FIG.

即ち、図53の例のAVデコーダ部403には、図36の例のAVデコーダ部151とほぼ同様の機能と構成を有するバッファ51乃至ミキシング処理部101が設けられている他、さらに、図36の例のAVデコーダ部151には設けられていないPIDフィルタ411乃至プリロード用バッファ414が設けられている。   That is, the AV decoder unit 403 in the example of FIG. 53 is provided with a buffer 51 through a mixing processing unit 101 having substantially the same functions and configuration as the AV decoder unit 151 in the example of FIG. The AV decoder unit 151 in this example is provided with PID filters 411 to preload buffers 414 that are not provided.

なお、「図36の例のAVデコーダ部151とほぼ同様の機能と構成を有する」といったように「ほぼ」と記述したのは、ビデオデコーダ72やビデオプレーン生成部92の呼称が、1stビデオデコーダ72や1stビデオプレーン生成部92と変更されていたり、PIDフィルタ56の出力が1つ増加していたり等、若干異なるところがあるからである。   Note that “almost” is described as “having substantially the same function and configuration as the AV decoder unit 151 in the example of FIG. 36” because the name of the video decoder 72 and the video plane generating unit 92 is the 1st video decoder. This is because there are some differences such as a change to 72 or the 1st video plane generation unit 92, or an increase in the output of the PID filter 56 by one.

以下、図53の例のAVデコーダ部403のうちの、図36の例のAVデコーダ部151とは異なる箇所について説明する。   In the following, portions of the AV decoder unit 403 in the example of FIG. 53 that are different from the AV decoder unit 151 in the example of FIG. 36 will be described.

AVデコータ部403は、ピクチャインピクチャ手法を実現するために、プライマリビデオストリームとセカンダリビデオストリームとをデコードする必要がある。このため、図36の例のAVデコーダ部151に設けられていたビデオデコーダ72とビデオプレーン生成部92とのそれぞれは、図53の例のAVデコーダ部403においては、プライマリビデオストリーム用の1stビデオデコーダ72と1stビデオプレーン生成部92とのそれぞれとして設けられている。さらに、図53の例のAVデコーダ部403には、1stビデオデコーダ72と1stビデオプレーン生成部92とのそれぞれと同様の機能と構成を有する、セカンダリビデオストリーム用の2ndビデオデコーダ412と2ndビデオプレーン生成部413とのそれぞれが設けられている。   The AV decoder unit 403 needs to decode the primary video stream and the secondary video stream in order to realize the picture-in-picture method. Therefore, each of the video decoder 72 and the video plane generation unit 92 provided in the AV decoder unit 151 in the example of FIG. 36 is the first video for the primary video stream in the AV decoder unit 403 in the example of FIG. Each of the decoder 72 and the 1st video plane generating unit 92 is provided. Further, the AV decoder unit 403 in the example of FIG. 53 includes a 2nd video decoder 412 and a 2nd video plane for the secondary video stream having the same functions and configurations as the 1st video decoder 72 and the 1st video plane generation unit 92, respectively. Each of the generators 413 is provided.

また、PIDフィルタ411には、メインClipAV Streamのビデオストリーム、または、サブClip AV Streamのビデオストリームが、PIDフィルタ161またはPIDフィルタ56を介して入力されてくる。そこで、PIDフィルタ411は、入力されたビデオストリームを、そのPID(パケットID)に応じて、後段の1stビデオデコーダ72または2ndビデオデコーダ412に振り分けて出力する。即ち、PIDフィルタ411は、プライマリビデオストリームが入力された場合には、そのプライマリビデオストリームを1stビデオデコーダ72に供給する。これに対して、PIDフィルタ411は、セカンダリビデオストリームが入力された場合には、そのセカンダリビデオストリームを2ndビデオデコーダ412に供給する。   The PID filter 411 receives a main ClipAV Stream video stream or a sub Clip AV Stream video stream via the PID filter 161 or the PID filter 56. Therefore, the PID filter 411 distributes the input video stream to the subsequent 1st video decoder 72 or 2nd video decoder 412 according to the PID (packet ID) and outputs the result. That is, when a primary video stream is input, the PID filter 411 supplies the primary video stream to the 1st video decoder 72. In contrast, when a secondary video stream is input, the PID filter 411 supplies the secondary video stream to the 2nd video decoder 412.

なお、本実施の形態では、プライマリビデオストリームとして、メインClipAV Streamのビデオストリームのみが利用され、サブClip AV Streamのビデオストリームは利用されないとされている。ただし、将来、サブClip AV Streamのビデオストリームもプライマリビデオストリームとして利用され得ることも考慮して、PIDフィルタ56から供給されたサブClip AV Streamのビデオストリームも1stビデオデコーダ72に供給され得るように、PIDフィルタ411が構成されている。すなわち、Subpathにより指定されたサブClipに含まれるビデオストリームのみを再生し、ビデオストリームの再生にメインClipを使わず、オーディオストリームの再生は、サブClip、もしくは、メインClipを用いる場合である。従って、ビデオストリーム、オーディオストリームの再生に、メインクリップを使わず(MainPathを使わず)、SubClipのみを用いた(SubPathのみを用いた)再生とする構成も可能である。   In the present embodiment, only the main ClipAV Stream video stream is used as the primary video stream, and the sub Clip AV Stream video stream is not used. However, the sub-Clip AV Stream video stream supplied from the PID filter 56 can also be supplied to the 1st video decoder 72 in consideration that the sub-Clip AV Stream video stream may be used as the primary video stream in the future. The PID filter 411 is configured. That is, only the video stream included in the sub clip specified by Subpath is played, the main clip is not used for playing the video stream, and the audio stream is played using the sub clip or the main clip. Therefore, it is possible to employ a configuration in which the main clip is not used (MainPath is not used) and only the SubClip is used (only SubPath is used) for video stream and audio stream playback.

プリロード用バッファ414は、インタラクティブグラフィックスデコーダ74から供給されたインタラクティブグラフィックスストリームを一時記憶する。即ち、上述したように、本実施の形態では、再生装置401には、一度に2つのTSしか読み出せないという制限が課せられている。そこで、再生装置401は、インタラクティブグラフィックスストリームを予め取得しておくことで(プリロードしておくことで)、ビデオストリームやオーディオストリームを再生するときに、プリロードしておいたインタラクティブグラフィックスストリームも同時再生することができる、といった機能を有している。かかる機能を実現するために、即ち、プリロードされたインタラクティブグラフィックスストリームを、ビデオストリームやオーディオストリームが再生されるタイミングまで保存しておくために、プリロード用バッファ414が図53の例のAVデコード部403に設けられているのである。   The preload buffer 414 temporarily stores the interactive graphics stream supplied from the interactive graphics decoder 74. That is, as described above, in the present embodiment, the playback apparatus 401 has a restriction that only two TSs can be read at a time. Therefore, the playback device 401 obtains the interactive graphics stream in advance (by preloading), so that when the video stream or the audio stream is played back, the preloaded interactive graphics stream is simultaneously received. It has the function of being able to reproduce. In order to realize such a function, that is, to store the preloaded interactive graphics stream until the timing when the video stream or the audio stream is reproduced, the preloading buffer 414 includes an AV decoding unit in the example of FIG. 403 is provided.

次に、かかる図53の例の再生装置401が実行するピクチャインピクチャ手法による処理の一例であって、プライマリビデオストリーム等の再生中等に、再生対象のセカンダリビデオストリーム等を切り替えるために必要な一連の処理(以下、セカンダリビデオ切り替え処理と称する)の一例について、図54と図55のフローチャートを参照して説明する。   53 is an example of processing by the picture-in-picture technique executed by the playback apparatus 401 in the example of FIG. 53, and is a series necessary for switching the secondary video stream to be played back during playback of the primary video stream or the like. An example of this process (hereinafter referred to as secondary video switching process) will be described with reference to the flowcharts of FIGS.

図54のステップS101において、コントローラ21は、セカンダリビデオストリーム番号(IDでもよい)の順番リストと、セカンダリビデオストリームに組み合わされているプライマリオーディオストリーム、セカンダリオーディオストリーム、および、サブタイトルストリームのリストを、図44と図45とを用いて説明した第7のSTN_table()から取得する。   In step S101 in FIG. 54, the controller 21 displays an order list of secondary video stream numbers (which may be IDs) and a list of primary audio streams, secondary audio streams, and subtitle streams combined with the secondary video streams. 44 and the seventh STN_table () described with reference to FIG.

ここでは、このステップS101の処理後、取得されたリストに基づいて、例えば上述した図46のようなストリームナンバーテーブルが生成され、そのストリームナンバーテーブル自身またはそれに基づいて生成された所定のGUI(Graphical User Interface)画像が、コントローラ21により生成され、表示装置への表示が制御されて、ユーザに呈示されるとする。そして、これにより、処理はステップS102に進むとする。   Here, after the processing of step S101, based on the acquired list, for example, the above-described stream number table as shown in FIG. 46 is generated, and the stream number table itself or a predetermined GUI (Graphical GUI) generated based thereon (User Interface) image is generated by the controller 21, and the display on the display device is controlled and presented to the user. As a result, the process proceeds to step S102.

ステップS102において、コントローラ21は、ユーザからのセカンダリビデオストリームに対する切り替えの指令を受け付ける。   In step S102, the controller 21 receives a switching instruction for the secondary video stream from the user.

即ち、上述した図46と図47を用いて説明したユーザの切り替え操作の内容が、ステップS102において、ユーザからのセカンダリビデオストリームに対する切り替えの指令としてコントローラ21に受け付けられることになる。   That is, the content of the user switching operation described with reference to FIGS. 46 and 47 is received by the controller 21 as a switching command for the secondary video stream from the user in step S102.

ステップS103において、コントローラ21は、再生しているセカンダリビデオストリーム、プライマリオーディオストリーム、セカンダリオーディオストリーム、および、サブタイトルの組み合わせの次の組み合わせの番号を取得する。   In step S103, the controller 21 acquires the number of the next combination of the secondary video stream, the primary audio stream, the secondary audio stream, and the subtitle that are being reproduced.

具体的には、例えば、図46の例のストリームナンバーテーブルがユーザに呈示されたとすると、セカンダリビデオストリーム、プライマリオーディオストリーム、セカンダリオーディオストリーム、および、サブタイトルの組み合わせとして、次の第1の組み合わせ乃至第3の組み合わせが存在することになる。即ち、第1の組み合わせとは、ビデオ2、オーディオ2、オーディオ4、サブピクチャ3の組み合わせをいう。第2の組み合わせとは、ビデオ1、オーディオ1、オーディオ4、サブピクチャ1の組み合わせをいう。第3の組み合わせとは、ビデオ1、オーディオ1、オーディオ5、サブピクチャ1の組み合わせをいう。そこで、例えばここでは、第1の組み合わせ、第2の組み合わせ、および、第3の組み合わせのそれぞれの組み合わせの番号として、1、2−1、2−2のそれぞれが与えられているとする。そして、例えば、ここでは、ステップS102の処理で、図47の例の選択操作結果、即ち、第2の組み合わせの選択指令がコントローラ21に受け付けられたとする。この場合、ステップS103の処理では、次の組み合わせの番号として2−1が取得される。   Specifically, for example, when the stream number table in the example of FIG. 46 is presented to the user, the following first combination to the following are combined as combinations of the secondary video stream, the primary audio stream, the secondary audio stream, and the subtitle. There will be 3 combinations. That is, the first combination is a combination of video 2, audio 2, audio 4, and sub-picture 3. The second combination is a combination of video 1, audio 1, audio 4, and sub-picture 1. The third combination is a combination of video 1, audio 1, audio 5, and sub-picture 1. Thus, for example, here, it is assumed that 1, 2-1, and 2-2 are given as the numbers of the combinations of the first combination, the second combination, and the third combination, respectively. For example, here, it is assumed that the selection operation result of the example of FIG. 47, that is, the second combination selection command is received by the controller 21 in the process of step S102. In this case, in the process of step S103, 2-1 is acquired as the next combination number.

ステップS104において、コントローラ21は、stream_attribute()(図18)に記述されている内容に基づいて、取得した番号(初回のステップS104の処理では、直前のステップS103の処理で取得した番号)に対応する複数のストリームを再生する機能を有するか否かを判定する。   In step S104, the controller 21 corresponds to the acquired number (the number acquired in the process of the immediately preceding step S103 in the process of the first step S104) based on the contents described in stream_attribute () (FIG. 18). It is determined whether or not it has a function of reproducing a plurality of streams.

具体的には、例えば、オーディオストリームの再生機能に着目すると、図47の例の選択操作結果、即ち、第2の組み合わせの選択指令がコントローラ21に受け付けられた場合には、オーディオ1とオーディオ4とのそれぞれの再生機能を有するか否かの判定がステップS104の処理として実行される。   Specifically, for example, focusing on the playback function of the audio stream, when the controller 21 accepts the selection operation result of the example of FIG. 47, that is, the second combination selection command, the audio 1 and the audio 4 The determination as to whether or not each has a reproduction function is executed as the process of step S104.

また、その他、ビデオストリーム等他のストリームの再生機能の有無の判定もステップS104の処理として併せて実行することも可能である。   In addition, it is also possible to determine whether or not there is a playback function for other streams such as a video stream as the processing in step S104.

ステップS104において、取得した番号に対応する複数のストリームの再生する機能を有していないと判定した場合、コントローラ21は、ステップS105において、現在の組み合わせの番号の次の組み合わせの番号を取得する。即ち、現在の組み合わせ番号で特定されるオーディオストリーム等を再生する機能を有しない場合には、その組み合わせ番号は飛ばされ(再生対象とならず)、次の組み合わせ番号が取得される。その後、処理はステップS104に戻され、それ以降の処理が繰り返される。即ち、再生装置401自身が再生する機能を有するオーディオストリーム等を特定する組み合わせ番号が取得されるまで、ステップS104とS105のループ処理が繰り返される。   If it is determined in step S104 that the function of reproducing a plurality of streams corresponding to the acquired number is not provided, the controller 21 acquires the number of the next combination after the current combination number in step S105. That is, when the audio stream or the like specified by the current combination number is not reproduced, the combination number is skipped (not subject to reproduction), and the next combination number is acquired. Thereafter, the process returns to step S104, and the subsequent processes are repeated. That is, the loop processing of steps S104 and S105 is repeated until a combination number specifying an audio stream or the like having a function to be played back by the playback device 401 itself is acquired.

ステップS104において、取得した番号(1回目の処理の場合は上述したように直前のステップS103の処理で取得された番号であり、2回目以降の処理の場合は直前のステップS105の処理で取得された番号である)に対応する複数のストリームの再生する機能を有すると判定された場合、処理は図55のステップS106に進む。   In step S104, the acquired number (in the case of the first process, the number acquired in the process of the immediately preceding step S103 as described above, and in the process of the second and subsequent processes, it is acquired in the process of the immediately preceding step S105. If it is determined that it has a function of playing back a plurality of streams corresponding to the number (No.), the process proceeds to step S106 in FIG.

ステップS106において、コントローラ21は、Stream_entry()のtypeに基づいて、取得した番号に対応するセカンダリビデオストリーム、プライマリオーディオストリーム、セカンダリオーディオストリーム、およびサブタイトルストリーム各々を含むClipを調べる。即ち、取得した番号に対応するセカンダリビデオストリーム、プライマリオーディオストリーム、セカンダリオーディオストリーム、およびサブタイトルストリームは各々、メインClipにあるのか、それとも、サブClipにあるのかが確認される。   In step S106, the controller 21 checks the Clip including each of the secondary video stream, the primary audio stream, the secondary audio stream, and the subtitle stream corresponding to the acquired number based on the type of Stream_entry (). That is, it is confirmed whether the secondary video stream, primary audio stream, secondary audio stream, and subtitle stream corresponding to the acquired number are in the main clip or the sub clip.

ステップS107において、コントローラ21は、所望のセカンダリビデオストリーム、プライマリオーディオストリーム、セカンダリオーディオストリーム、およびサブタイトルストリーム各々を特定する。即ち、ステップS107の処理で、メインClipまたはサブClipの中の中から、取得した番号に対応する所望の各ストリームが特定される。   In step S107, the controller 21 specifies each desired secondary video stream, primary audio stream, secondary audio stream, and subtitle stream. That is, in the process of step S107, each desired stream corresponding to the acquired number is specified from the main clip or the sub clip.

ステップS108において、コントローラ21は、ストレージドライブ22に、所望のセカンダリビデオストリーム、プライマリオーディオストリーム、セカンダリオーディオストリーム、およびサブタイトルストリーム各々が多重化されているClip(メインClipまたはサブClip)から、特定されたそれぞれのストリームを読み出すよう指示するか、または、ローカルストレージ24に記録されているClipから、特定されたそれぞれのストリームを読み出して、AVデコーダ部403に供給させる。対象となるClipが記録媒体11に記録されている場合、ストレージドライブ22は、この指示に基づいて、記録媒体11に記録されている対象となるClipから、特定されたストリームを読み出す。具体的には、コントローラ21は、ステップS107の処理で特定したそれぞれのストリームを、記録媒体11に記録されているClipから読み出すようストレージドライブ22に指示する。   In step S108, the controller 21 specifies the storage drive 22 from the clip (main clip or sub clip) in which each desired secondary video stream, primary audio stream, secondary audio stream, and subtitle stream are multiplexed. Each stream is instructed to be read, or each identified stream is read from the Clip recorded in the local storage 24 and supplied to the AV decoder unit 403. When the target Clip is recorded on the recording medium 11, the storage drive 22 reads the specified stream from the target Clip recorded on the recording medium 11 based on this instruction. Specifically, the controller 21 instructs the storage drive 22 to read each stream identified in the process of step S107 from the Clip recorded on the recording medium 11.

そして、コントローラ21は、読み出された各々のストリームをAVデコーダ部403に供給するとともに、セカンダリビデオストリーム、プライマリオーディオストリーム、セカンダリオーディオストリーム、およびサブタイトルストリームを再生するようAVデコーダ部403に指示する。具体的には、コントローラ21は、読み出された所望のセカンダリビデオストリームを2ndビデオデコーダ412にデコードさせるよう、読み出された所望のプライマリオーディオストリームを1stオーディオデコーダ75−1にデコードさせるよう、読み出された所望のセカンダリオーディオストリームを2ndオーディオデコーダ75−2にデコードさせるよう、読み出された所望のサブタイトルストリームをプレゼンテーショングラフィックスデコーダ73等にデコードさせるよう、それぞれ指示する。   Then, the controller 21 supplies each read stream to the AV decoder unit 403 and instructs the AV decoder unit 403 to reproduce the secondary video stream, the primary audio stream, the secondary audio stream, and the subtitle stream. Specifically, the controller 21 reads so as to cause the 2nd video decoder 412 to decode the read desired secondary video stream, and to cause the 1st audio decoder 75-1 to decode the read desired primary audio stream. Instruct the presentation graphics decoder 73 to decode the read desired subtitle stream so that the desired secondary audio stream is decoded by the second audio decoder 75-2.

ステップS109において、AVデコーダ部403は、セカンダリビデオストリーム、プライマリオーディオストリーム、セカンダリオーディオストリーム、およびサブタイトルストリームをデコードし出力して、処理が終了される。   In step S109, the AV decoder unit 403 decodes and outputs the secondary video stream, primary audio stream, secondary audio stream, and subtitle stream, and the process ends.

その際、プライマリオーディオストリームとセカンダリオーディオストリームとについては、上述したように、プライマリオーディオストリームとセカンダリオーディオストリームとがミキシングされた結果得られるオーディオ信号が出力されることになる。   At this time, as described above, for the primary audio stream and the secondary audio stream, an audio signal obtained as a result of mixing the primary audio stream and the secondary audio stream is output.

このようなセカンダリビデオ切り替え処理の結果、図43を用いて説明したピクチャインピクチャ手法が実現される。即ち、図43の例では、プライマリビデオストリーム311に対応する映像が全画面311に表示(再生)されている最中に、ステップS109の処理で出力されたセカンダリビデオストリーム313に対応する映像が子画面302に表示(再生)され、ステップS109の処理で出力されたサブタイトルストリーム315に対応する字幕等が全画面311の所定の位置に表示(再生)され、ステップS109の処理で出力されたプライマリオーディオストリーム311とセカンダリオーディオストリーム402とがミキシングされた結果得られる音声が、図43には図示せぬスピーカから出力(再生)される。   As a result of such secondary video switching processing, the picture-in-picture method described with reference to FIG. 43 is realized. That is, in the example of FIG. 43, while the video corresponding to the primary video stream 311 is being displayed (reproduced) on the full screen 311, the video corresponding to the secondary video stream 313 output in the process of step S109 is a child. The primary audio that is displayed (reproduced) on the screen 302 and is displayed (reproduced) at a predetermined position on the entire screen 311 and is displayed (reproduced) corresponding to the subtitle stream 315 output in the process of step S109. Audio obtained as a result of mixing the stream 311 and the secondary audio stream 402 is output (reproduced) from a speaker not shown in FIG.

以上説明したように、図44と図45の例の第7のSTN_tableを採用することで、ピクチャインピクチャ手法を実現することが可能になる。   As described above, by adopting the seventh STN_table in the examples of FIGS. 44 and 45, it is possible to realize the picture-in-picture technique.

このようなピクチャインピクチャ手法を実現する場合、図11の例のSubPath_typeの種類を利用して生成されるPlaylist(例えば図48参照)を利用することも可能であるが、上述したように、同一のClip AV Streamに含まれているセカンダリビデオストリームやセカンダリオーディオストリーム等は、それぞれ別々のサブパスに分けられること、即ち、2つの別のSPIとして定義されることになってしまう。その結果、上述した各種問題点、例えばPlayListの構造が必要以上に複雑になるという問題点が発生する。   When realizing such a picture-in-picture method, it is also possible to use a playlist (for example, see FIG. 48) generated using the type of SubPath_type in the example of FIG. 11, but as described above, the same The secondary video stream, secondary audio stream, etc. included in the Clip AV Stream are divided into separate sub-paths, that is, defined as two different SPIs. As a result, the various problems described above, for example, the problem that the structure of the PlayList becomes more complicated than necessary occurs.

そこで、これらの各種問題点を解決する場合には、同一Clip AV Stream内の2以上のES(セカンダリビデオストリームやセカンダリオーディオストリーム等)を1つのサブパスで参照できるように、即ち、同一Clip AV Stream内の2以上のESを1つのSPIとして定義できるようなSubPath_typeの種類、即ち、例えば図49を用いて説明したSubPath_typeの種類を採用すればよい。   Therefore, when solving these various problems, two or more ESs (secondary video stream, secondary audio stream, etc.) in the same Clip AV Stream can be referred to by one sub-path, that is, the same Clip AV Stream. The type of SubPath_type that can define two or more ESs as one SPI, that is, the type of SubPath_type described with reference to FIG. 49, for example, may be employed.

ただし、PlayListの作成者側の観点に立つと、図45の例のSubPath_typeの種類を採用することで簡単な構造のPlayListを作成できるようになったとは言え、即ち、作成された結果のPlayListの構造が簡単になったとは言え、そのような簡単な構造のPlayListを作成するまでには、次のような困難な作業が必要になる。即ち、PlayListの作成者は、ピクチャインピクチャ手法を実現するために、どのような種類のストリームの組み合わせが可能であり、どのような種類のストリームの組み合わせが不可能であるのかを自分自身で判断した上で、即ち、どのような種類のサブパスを含めるのかを自分自身で判断した上で、PlayListを作成しなければいけない、といった困難な作業が必要になる。従って、PlayListの作成者側から、PlayListを簡単に作成したいという要望が挙げられるようになることは想像に難くない。   However, from the viewpoint of the creator of the PlayList, it can be said that the PlayList having a simple structure can be created by adopting the type of SubPath_type in the example of FIG. Although the structure has been simplified, the following difficult work is required to create a PlayList with such a simple structure. In other words, the creator of the PlayList decides for himself what kinds of streams can be combined and what kinds of streams cannot be combined in order to realize the picture-in-picture method. In other words, it is necessary to create a PlayList after determining by itself what kind of sub-paths to include. Therefore, it is not difficult to imagine that the creator of PlayList will come up with a desire to easily create PlayList.

従って、かかる要望に予め応えるべく、本発明人は、PlayListの種類に応じて、作成可能(そのPlayListに含めることが可能なサブパス)を、図49を用いて説明したSubPath_typeにより制限する、といった手法を発明した。なお、以下、かかる手法を、サブパス制限手法と称する。   Therefore, in order to respond to such a request in advance, the present inventor limits the possible creation (subpaths that can be included in the PlayList) according to the type of PlayList using the SubPath_type described with reference to FIG. Was invented. Hereinafter, this method is referred to as a sub-path restriction method.

サブパス制限手法を適用することで、1つのPlayListに含め得るサブパスが限定されるため、作成者にとっては、PlayListにどのようなサブパスを含めるのかを判断した上でサブパスを作成することが容易になり、ひいては、PlayListの作成自体も容易になる、という効果を奏することが可能になる。   By applying the sub-path restriction method, the sub-paths that can be included in one PlayList are limited. Therefore, it is easy for the creator to create sub-paths after determining what sub-paths are included in the PlayList. As a result, it is possible to produce an effect that the creation of the PlayList itself becomes easy.

以下、サブパス制限手法について、詳しく説明していく。   Hereinafter, the sub path limiting method will be described in detail.

ただし、サブパス制限手法では、再生装置が一度に読み出すことが可能なTSの数によって、その制限内容が変化する。本実施の形態では、上述したように、再生装置が一度に読み出すことが可能なTSは2つとされている。そこで、以下、再生装置が一度に読み出すことが可能なTSは2つである場合のサブパス制限手法について説明していく。   However, in the sub-path restriction method, the restriction contents vary depending on the number of TSs that can be read by the playback apparatus at one time. In the present embodiment, as described above, the number of TSs that can be read by the playback apparatus at a time is two. Thus, hereinafter, a sub-path limiting method in the case where the playback apparatus can read two TSs at a time will be described.

本実施の形態では、PlayListは、Browsable Slideshow(非同期型)と、Movie Type/Time-based Slideshow(同期型)といった2種類に大別される。PlayListの種類が非同期型であるのか或いは同期型であるのかといった区別は、そのPlayListにより参照されるClipのclip_Information_fileに含まれるapplication_type(アプリケーションタイプ)に従って行うことが可能である。   In the present embodiment, the PlayList is roughly divided into two types, namely, a Browsable Slideshow (asynchronous type) and a Movie Type / Time-based Slideshow (synchronous type). The distinction as to whether the type of PlayList is asynchronous or synchronous can be made according to application_type (application type) included in clip_Information_file of the Clip referenced by the PlayList.

application_typeは、あるClipについてのClip Informationファイル中のClipInfo()に記述されている。ただし、ここでは、説明の簡略上、ClipInfo()のシンタクスの説明については省略し、以下、そのClipinfo()に記述され得るapplication_typeの種類についてのみ、図56を参照して説明する。   application_type is described in ClipInfo () in the Clip Information file for a certain Clip. However, here, for simplicity of explanation, description of the syntax of ClipInfo () is omitted, and only the types of application_type that can be described in Clipinfo () will be described below with reference to FIG.

即ち、図56は、application_typeの種類の例を説明する図である。   That is, FIG. 56 is a diagram for explaining an example of the type of application_type.

図56に示されるように、application_type=0は、予備(reserved)とされている。application_type=1は、映画のアプリケーション用のMain TSとされている。ここで「Main TS」とは、Playlistにおいてメインパスにより参照されるPlayItemとしてのTransport stream、即ち、Main TSを指している。application_type=2は、Time-based Slideshow用のMain TS、即ち、画像のスライドショー用のMain TSとされている。application_type=3は、Browsable Slideshow用のTS、即ち、ビデオのスライドショー用のMain TSとされている。   As shown in FIG. 56, application_type = 0 is reserved. application_type = 1 is Main TS for movie application. Here, “Main TS” refers to a Transport stream as a PlayItem referred to by the main path in the Playlist, that is, Main TS. application_type = 2 is a Main TS for Time-based Slideshow, that is, a Main TS for an image slide show. application_type = 3 is a TS for Browsable Slideshow, that is, a Main TS for a video slide show.

application_type=4は、SubPath用のBrowsable SlideshowのTSとされている。これは、例えば、上述したapplication_type=3と非同期で再生されるBGM(サウンド)データを保持するClip AVストリームに対してのClip Info()に付与される。application_type=5は、SubPathのインタラクティブグラフィックス用のTSとされている。application_type=6は、SubPathのテキストサブタイトル(テキスト字幕データ)用のTSとされている。application_type=7は、1つ以上のES(エレメンタリストリーム)を含むSubPath用のTSとされている。application_type=8乃至255は、予備(reserved)とされている。   application_type = 4 is a TS of a Browsable Slideshow for SubPath. This is given to Clip Info () for a Clip AV stream that holds BGM (sound) data that is reproduced asynchronously with application_type = 3, for example. application_type = 5 is a TS for SubPath interactive graphics. application_type = 6 is a TS for a SubPath text subtitle (text subtitle data). application_type = 7 is a TS for SubPath including one or more ESs (elementary streams). application_type = 8 to 255 is reserved.

そして、application_type=1乃至application_type=6で表されるClip AV Stream Fileは、ストレージドライブ22を介して記録媒体11から取得されるか、または、ローカルストレージ24から取得される。これに対して、application_type=7で表されるClip AV Stream Fileは、ローカルストレージ24から取得され、ストレージドライブ22を介して記録媒体11から取得されない。   The Clip AV Stream File represented by application_type = 1 to application_type = 6 is acquired from the recording medium 11 via the storage drive 22 or acquired from the local storage 24. On the other hand, the Clip AV Stream File represented by application_type = 7 is acquired from the local storage 24 and is not acquired from the recording medium 11 via the storage drive 22.

そこで、本実施の形態では、PlayListにより参照されるMain TSについてのClipInfo()に記述されているapplication_typeが、application_type=3の場合、そのPlayListはBrowsable Slideshow(非同期型)に分類され、application_type=1or2の場合、そのPlayListはMovie Type/Time-based Slideshow(同期型)に分類されるとする。   Therefore, in the present embodiment, when the application_type described in ClipInfo () for the Main TS referenced by the PlayList is application_type = 3, the PlayList is classified as a Browsable Slideshow (asynchronous type), and application_type = 1or2 In this case, it is assumed that the PlayList is classified as Movie Type / Time-based Slideshow (synchronous type).

この場合、PlayListの種類(非同期型または同期型)に対する、そのPlayListが持ち得るSubPath(サブパス)の組み合わせは、図57に示される組み合わせのみ許可する、という制限がサブパス制限手法により課されることになる。   In this case, for the type of PlayList (asynchronous type or synchronous type), the SubPath restriction method imposes a restriction that only the combinations shown in FIG. 57 are allowed for the combinations of SubPaths that the PlayList can have. Become.

図57において、「number of SubPaths」の項目には、PlayListにより示されるMain TSが持ち得る、左方の「SubPath_type」の項目に示される種類のSubPathの個数が記述されている。   In FIG. 57, the item “number of SubPaths” describes the number of types of SubPaths indicated by the item “SubPath_type” on the left side that can be possessed by the Main TS indicated by the PlayList.

また、図57における「SubPath_type」の項目の各記述値(SubPath_typeの種類)は、上述した図11の例の種類ではなく、図49の例の種類に対応している。   In addition, each description value (SubPath_type type) of the item “SubPath_type” in FIG. 57 corresponds to the type of the example of FIG. 49 instead of the type of the example of FIG. 11 described above.

図57に示されるように、PlayListの種類が非同期型の場合、即ち、application_type(of Main TS)=3であるBrowsable slideshowの場合、(1)0本以上のSubPath_type=2のSubPath、(2)0本以上のSubPath_type=3のSubPathのみが許可される。換言すると、(1)と(2)以外のSubPathの組み合わせは禁止される。   As shown in FIG. 57, when the type of PlayList is asynchronous, that is, in the case of a Browsable slideshow with application_type (of Main TS) = 3, (1) zero or more SubPath_type = 2 SubPaths, (2) Only zero or more SubPath_type = 3 SubPaths are allowed. In other words, combinations of SubPaths other than (1) and (2) are prohibited.

また、(2)の組み合わせであっても、application_type=3のMain TSにIGが含まれる場合には、SubPath_type=3のSubPathは禁止される(図57中*2参照)。これは、次の制約によるものである。   Even in the combination of (2), when IG is included in the Main TS of application_type = 3, SubPath of SubPath_type = 3 is prohibited (see * 2 in FIG. 57). This is due to the following restrictions.

即ち、IGの観点に立つと、IGを含むPlayListは、次の第1の種類と第2の種類に大別される。第1の種類とは、参照されるMain TSにIGが多重化されていて、そのMain TSのAudio/VideoとIGが同期再生される、という種類をいう。第2の種類とは、SubPath_type=3のSubPathを含み、IGはプリロードされる(このIGはポップアップメニューに使われる)、という種類をいう。なお、この第2の種類のPlayListを再生可能とするために、上述したように、図53の再生装置401にはプリロード用バッファ414が設けられているのである。   That is, from the viewpoint of IG, PlayList including IG is roughly divided into the following first type and second type. The first type is a type in which an IG is multiplexed on a referenced Main TS, and Audio / Video and IG of the Main TS are reproduced in synchronization. The second type includes a SubPath of SubPath_type = 3 and IG is preloaded (this IG is used for a pop-up menu). Note that, as described above, the playback device 401 in FIG. 53 is provided with the preload buffer 414 in order to enable playback of the second type PlayList.

また、本実施の形態の再生装置はIGデコーダを1つしか有しないため、具体的には、例えば、図53の再生装置401はインタラクティブグラフィックスデコーダ74を1つしか有しないため、次の制限が課せられている。即ち、上述した第1の種類のPlayListでは、IGデコーダがMain TSのIGをデコード中に、別のIGをプリロードできない、という制限が課せられている。一方、上述した第2のPlayListでは、IGデコーダ中にプリロードされた第1のIGが入力されている状態のとき、別のMain TSからの第2のIGをIGデコーダへ入力できない、という制限が課せられている。   In addition, since the playback device of the present embodiment has only one IG decoder, specifically, for example, the playback device 401 of FIG. 53 has only one interactive graphics decoder 74. Is imposed. That is, in the first type PlayList described above, there is a restriction that another IG cannot be preloaded while the IG decoder is decoding the IG of the Main TS. On the other hand, in the second PlayList described above, there is a limitation that when the first IG preloaded in the IG decoder is being input, the second IG from another Main TS cannot be input to the IG decoder. Imposed.

以上のことから、Main TSに多重化されているIGを参照するSTN_table()を含むPlayListは、SubPath_type=3のSubPathを持てないという制約が課せられることになる。かかる制約のため、application_type=3のMainTSにIGが含まれる場合には、SubPath_type=3のSubPathは禁止される、としたのである(図57中*2参照)。   From the above, the PlayList including STN_table () that refers to the IG multiplexed in the Main TS is subject to the restriction that it cannot have a SubPath of SubPath_type = 3. Because of this restriction, when IG is included in MainTS with application_type = 3, SubPath with SubPath_type = 3 is prohibited (see * 2 in FIG. 57).

一方、PlayListの種類が同期型の場合、即ち、application_type(of Main TS)=1 or 2であるMovie Type/Time-based Slideshowの場合、(3)0本以上のSubPath_type=3のSubPath、(4)0本以上のSubPath_type=4のSubPath、(5)0本以上のSubPath_type=5のSubPath、(6)0本以上のSubPath_type=6のSubPath、(7)0本または1本のSubPath_type=7のSubPathのみが許可される。換言すると、SubPath_type=2のSubPathの組み合わせは禁止される。   On the other hand, when the type of PlayList is synchronous, that is, in the case of Movie Type / Time-based Slideshow where application_type (of Main TS) = 1 or 2, (3) zero or more SubPath_type = 3 SubPaths, (4 ) 0 or more SubPath_type = 4 SubPaths, (5) 0 or more SubPath_type = 5 SubPaths, (6) 0 or more SubPath_type = 6 SubPaths, (7) 0 or 1 SubPath_type = 7 Only SubPath is allowed. In other words, the combination of SubPaths with SubPath_type = 2 is prohibited.

また、(3)の組み合わせであっても、application_type=3のMainTSにIGが含まれる場合、または、SubPath_type=5のSubPathが参照するTSにIGが含まれる場合には、SubPath_type=3のSubPathは禁止される(図57中*1参照)。これも、上述した制約によるものである。   Even in the combination of (3), when IG is included in MainTS of application_type = 3, or when IG is included in TS that is referenced by SubPath of SubPath_type = 5, SubPath of SubPath_type = 3 is Prohibited (refer to * 1 in FIG. 57). This is also due to the constraints described above.

さらに、本実施の形態では、上述したように、PlayListが一度に参照することができるClipの数、すなわち、再生装置が一度に読み出すことが可能なTSは、多くても2つとされている。そこで、同一のPlayListにより参照されるESが多くても2つのClipに含まれていること、すなわち、同時に再生されるESは、多くても2つのClip AVストリームファイルから同時に参照されることを保証するために、次に示される条件を満たすという制限が、サブパス制限手法により課せられている。   Furthermore, in this embodiment, as described above, the number of Clips that can be referred to by PlayList at a time, that is, the number of TSs that can be read by the playback device at a time is at most two. Therefore, it is guaranteed that ESs referenced by the same PlayList are included in at most two Clips, that is, ESs that are played back simultaneously are referenced simultaneously from at most two Clip AV stream files. In order to do so, a restriction that the following condition is satisfied is imposed by the subpath restriction method.

即ち、サブパス制限手法により課せられている、STN_table()によって参照される、primary_video_stream、 primary_audio_stream、 Text subtitle stream以外のPG_textST_stream、 IG for Pop-up menu 以外のIG_stream、,secondary_video_stream、および、secondary_audio_streamのそれぞれを組み合わせる時の条件とは、次の通りである。   That is, combining PG_textST_stream other than primary_video_stream, primary_audio_stream, Text subtitle stream, IG_stream other than IG for Pop-up menu, secondary_video_stream, and secondary_audio_stream referenced by STN_table () imposed by the subpath restriction method The time conditions are as follows.

ある値のprimary_video_stream_numberで特定されるES、 ある値のprimary_audio_stream_number で特定されるES、 ある値のPG_textST_stream_numberで特定されるES、ある値のIG_stream_number valueで特定されるES、ある値の secondary_video_stream_number で特定されるES、ある値のsecondary_audio_stream_number で特定されるESにおいて、同時に再生可能である組み合わせは、多くても2つのPlayListによって同時に参照されるClip AVストリームファイルに格納されている必要がある。   ES identified by a certain primary_video_stream_number, ES identified by a certain primary_audio_stream_number, ES identified by a certain PG_textST_stream_number, ES identified by a certain IG_stream_number value, ES identified by a certain secondary_video_stream_number In the ES specified by a certain value of secondary_audio_stream_number, combinations that can be reproduced simultaneously need to be stored in Clip AV stream files that are simultaneously referenced by at most two PlayLists.

なお、STN_table()によって参照されるESは、3本以上のClip AVストリームファイルに格納されていてもよいが、同時に再生可能であるESは、そのうちの多くても2つのClip AVストリームファイルに格納されるようになされている。   Note that the ES referenced by STN_table () may be stored in three or more Clip AV stream files, but ESs that can be played simultaneously are stored in at most two Clip AV stream files. It is made to be done.

また、PlayList内にあるPlayItem(MainPath)とSubPathの数の組み合わせは、図58に示されるように、次の(a)乃至(c)のうちのいずれかの組み合わせである必要がある、という制限もサブパス制限手法により課せられている。即ち、(a)の組み合わせとは、1つのPlayItemのみの組み合わせ(図58中、一番上の行の組み合わせ)をいう。(b)の組み合わせとは、1つのPlayItemと1つのSubPathとの組み合わせ(図58中、中央の行の組み合わせ)をいう。(c)の組み合わせとは、1つのPlayItemと1つSubPathと1つのSubPath_type=7のSubPathとの組み合わせ、即ち、1つのPlayItemと2つSubPath(ただし、そのうちの1つのSubPath_type=7であること)との組み合わせ(図58中、一番下の行の組み合わせ)をいう。   Further, the restriction that the combination of the number of PlayItems (MainPath) and SubPaths in the PlayList needs to be any one of the following (a) to (c) as shown in FIG. Is also imposed by the subpath restriction technique. That is, the combination (a) refers to a combination of only one PlayItem (the combination in the top row in FIG. 58). The combination (b) refers to a combination of one PlayItem and one SubPath (combination of the center row in FIG. 58). The combination of (c) is a combination of one PlayItem, one SubPath, and one SubPath_type = 7, that is, one PlayItem and two SubPaths (provided that one of them is SubPath_type = 7) (The combination of the bottom row in FIG. 58).

以上説明した各種制限による結果として、所定の種類のPlayListについて作成可能なSubPath_typeを制限する、といった手法が、サブパス制限手法の一例である。   As a result of the various restrictions described above, a technique of restricting SubPath_type that can be created for a predetermined type of PlayList is an example of a subpath restriction technique.

換言すると、サブパス制限手法とは、PlayListの種類(上述した例では、Main TSのapplication_typeで区別される種類)、再生装置が一度に読み出すことが可能なTSの数(上述した例では2つ)、および、PlayListのサブパス(SubPath)で参照されるESにプリロードされるIGが含まれているか否か(上述した例ではSubPath_type=3等のSubPathであるか否か)といった条件(制限)が存在し、これらの条件を満たすように、そのPlayListに含めるSubPathを決定する、ひいては、そのようにして決定したSubPathを含むPlayListを作成する、といった手法であるともいえる。   In other words, the sub-path restriction method is the type of PlayList (in the above example, the type distinguished by the application_type of the Main TS), and the number of TSs that can be read at once by the playback device (in the above example, two). And there is a condition (restriction) such as whether pre-loaded IG is included in the ES referenced by the sub-path (SubPath) of the PlayList (in the above example, whether it is a SubPath such as SubPath_type = 3) Then, it can be said that the SubPath included in the PlayList is determined so as to satisfy these conditions, and in turn, a PlayList including the SubPath determined in this way is created.

以下、図59乃至図62を参照して、かかるサブパス制限手法により作成されたPlayListの具体例について説明する。   Hereinafter, a specific example of the PlayList created by the subpath restriction method will be described with reference to FIGS. 59 to 62.

図59は、Browsable Slideshow(非同期型)のPlayListであって、SubPath_type=3のSubPathが存在しない場合のPlayList、即ち、SubPath_type=2のSub_Path-1乃至Sub_Path-3のみが存在する場合のPlayListの一例を示している。なお、SubPath_type=3のSubPathが存在しない理由は、PlayListのPlayItem−1/PlayItem−2が参照しているClip AVストリームファイル-0(すなわち、Main TS)にIGが含まれているためである。なお、この例は、複数の静止画をユーザ操作によって連続して表示していくBrowsable Slideshowを表しているため、Clip AVストリームファイル-0に含まれる、「video」のストリームは、静止画データを保持している。   FIG. 59 shows an example of a PlayList for a Browsable Slideshow (asynchronous type), in which there is no SubPath with SubPath_type = 3, that is, a PlayList with only Sub_Path-1 to Sub_Path-3 with SubPath_type = 2. Is shown. The reason why SubPath of SubPath_type = 3 does not exist is that IG is included in Clip AV stream file-0 (ie, Main TS) referenced by PlayItem-1 / PlayItem-2 of PlayList. Since this example represents a Browsable Slideshow in which a plurality of still images are continuously displayed by a user operation, the “video” stream included in the Clip AV stream file-0 includes still image data. keeping.

図59の例のPlayListを作成するために利用された制限(条件)の内容は次の通りである。即ち、図57を用いて上述した、「(1)0本以上のSubPath_type=2のSubPath、(2)0本以上のSubPath_type=3のSubPathのみを許可する」という制限と、「(1)と(2)以外のSubPathの組み合わせは禁止する」という制限と、「(2)の組み合わせであっても、application_type=3のMainTSにIGが含まれる場合には、SubPath_type=3のSubPathは禁止される(図57中*2参照)」という制限とが利用されて、図59の例のPlayListが作成されている。   The contents of the restrictions (conditions) used to create the PlayList in the example of FIG. 59 are as follows. That is, the restriction “(1) Zero or more SubPath_type = 2 SubPaths, (2) Only zero or more SubPath_type = 3 SubPaths” described above with reference to FIG. 57, and “(1) The restriction that “SubPath combinations other than (2) are prohibited” and “SubPath of SubPath_type = 3 are prohibited if IG is included in MainTS of application_type = 3 even in the combination of (2). The PlayList in the example of FIG. 59 is created using the limitation “* 2 in FIG. 57”.

このような図59の例に対して、図60は、Browsable Slideshow(非同期型)のPlayListであって、SubPath_type=3のSubPathが存在する場合のPlayList、即ち、SubPath_type=2のSub_Path−1,2に加えてさらに、SubPath_type=3のSub_Path−3が存在する場合のPlayListの一例を示している。なお、SubPath_type=3のSubPathが存在する理由は、PlayListのPlayItem−1/PlayItem−2が参照しているMain-STのClip AVストリームファイル-0にIGが含まれていない、即ち、SubPath_type=3のSubPathにより、Clip AVストリームファイル-0とは異なるClip AVストリームファイル−3のIGを参照するためである。   In contrast to the example of FIG. 59, FIG. 60 shows a PlayList of a Browsable Slideshow (asynchronous type), where a SubPath of SubPath_type = 3 exists, that is, Sub_Path−1, 2 of SubPath_type = 2. In addition, an example of a PlayList in the case where Sub_Path-3 of SubPath_type = 3 exists is shown. Note that the reason for the presence of SubPath of SubPath_type = 3 is that IG is not included in the Clip AV stream file-0 of Main-ST referenced by PlayItem-1 / PlayItem-2 of PlayList, that is, SubPath_type = 3 This is because the IG of the Clip AV stream file-3 different from the Clip AV stream file-0 is referred to by the SubPath.

図60の例のPlayListを作成するために利用された制限(条件)の内容は、図59の例の上述した制限内容と同一である。   The contents of the restrictions (conditions) used to create the PlayList in the example of FIG. 60 are the same as the above-described restrictions of the example of FIG.

換言すると、図57中*2で示される制限、即ち、「(2)の組み合わせであっても、application_type=3のMainTSにIGが含まれる場合には、SubPath_type=3のSubPathは禁止される」という制限を課す必要がある場合のPlayListの例が、図59の例であり、そのような制限を課す必要がない場合のPlayListの例が、図60の例である。   In other words, the restriction indicated by * 2 in FIG. 57, that is, “Subpath of SubPath_type = 3 is prohibited if IG is included in MainTS of application_type = 3 even in the combination of (2)”. An example of the PlayList when it is necessary to impose such a restriction is the example of FIG. 59, and an example of the PlayList when there is no need to impose such a restriction is the example of FIG.

このように、図59と図60は、Browsable Slideshow(非同期型)のPlayListの例を示している。これに対して、図61と図62は、Movie Type / Time-based Slideshow(同期型)のPlayListの例を示している。   As described above, FIG. 59 and FIG. 60 illustrate an example of a PlayList of Browsable Slideshow (asynchronous type). On the other hand, FIGS. 61 and 62 show an example of PlayList of Movie Type / Time-based Slideshow (synchronous type).

即ち、図61は、同期型のPlayListのうちの、セカンダリビデオストリーム(2ndVideo)とセカンダリオーディオストリーム(2ndAudio)とがMain TS(すなわち、Clip AVストリームファイル-0)に多重化されていない場合のPlayListであって、SubPath_type=6のSub_Path-1,2が存在する場合のPlayListの一例を示している。   That is, FIG. 61 shows a PlayList when the secondary video stream (2ndVideo) and the secondary audio stream (2ndAudio) are not multiplexed in the Main TS (ie, Clip AV stream file-0) in the synchronous PlayList. An example of a PlayList when Sub_Path-1, 2 of SubPath_type = 6 exists is shown.

図61の例のPlayListを作成するために利用された制限(条件)の内容は次の通りである。即ち、図57を用いて上述した、「(6)0本以上のSubPath_type=6のSubPathを許可する」という制限が利用されて、図61の例のPlayListが作成されている。   The contents of the restrictions (conditions) used to create the PlayList in the example of FIG. 61 are as follows. That is, the PlayList in the example of FIG. 61 is created by using the restriction “(6) Allow 0 or more SubPath_type = 6 SubPaths” described above with reference to FIG.

このような図61の例に対して、図62は、同期型のPlayListにより参照されるMainTSすなわちClip AVストリームファイル-0が、MainSTとSubSTとを含み、、セカンダリビデオストリーム(2ndVideo)とセカンダリオーディオストリーム(2ndAudio)がMain TSを構成するClip AVストリームファイル-0に SubSTとして多重化されている場合のPlayListであって、それゆえ、SubPath_type=7のSub_Path-1が存在し、さらに、SubPath_type=5のSub_Path-2,3が存在する場合のPlayListの一例を示している。   In contrast to the example of FIG. 61, FIG. 62 shows that the MainTS, that is, the Clip AV stream file-0 referenced by the synchronous PlayList includes MainST and SubST, and includes the secondary video stream (2ndVideo) and secondary audio. This is a PlayList when the stream (2ndAudio) is multiplexed as SubST in the Clip AV stream file-0 that constitutes the Main TS. Therefore, Sub_Path-1 of SubPath_type = 7 exists, and SubPath_type = 5 An example of the PlayList when Sub_Path-2,3 exists is shown.

図62の例のPlayListを作成するために利用された制限(条件)の内容は次の通りである。即ち、図57を用いて上述した、「(5)0本以上のSubPath_type=5のSubPathを許可する」という制限と、「(7)0本のSubPathとSubPath_type=7のSubPathを許可する」という制限とが利用されて、図62の例のPlayListが作成されている。   The contents of the restrictions (conditions) used to create the PlayList in the example of FIG. 62 are as follows. That is, as described above with reference to FIG. 57, the restriction “(5) Allow 0 or more SubPath_type = 5 SubPaths” and “(7) Allow 0 SubPath and SubPath_type = 7 SubPaths”. The PlayList in the example of FIG. 62 is created using the restrictions.

また、以上説明したようなサブパス制限手法により作成されたPlayListも、例えば図53の再生装置401により再生可能とされている。   Also, the PlayList created by the sub-path restriction method as described above can be reproduced by, for example, the reproduction device 401 in FIG.

例えば、非同期型のPlayListの場合、即ち、application_type=3であるBrowsable slideshowのPlayListの場合、再生装置401は、そのPlayListを次のようにして再生することができる。即ち、再生装置401は、PlayListが1本以上のSubPath_type=3(Interactive graphics presentation menu)のSubPathsを参照している場合、SubPath_type=3用のClip AVストリーム、即ち、インタラクティブグラフィックスストリームをPlayListの再生前にプリロードして、プリロード用バッファ414に蓄積させる。また、再生装置401は、PlayListが1本以上のSubPath_type=2のSubPathを参照している場合、1つずつしかSubPathを参照できないので(一度に読み出すことが可能なTSは2つであり、そのうちの1つはMainPathにより参照されるMainTSであるので)、SubPath_type=2の1以上のSubPathのうちの所定の1つを参照して再生する。   For example, in the case of an asynchronous PlayList, that is, in the case of a PlayList of Browsable slideshow with application_type = 3, the playback device 401 can play back the PlayList as follows. That is, when the PlayList refers to one or more SubPaths of SubPath_type = 3 (Interactive graphics presentation menu), the playback device 401 plays back a Clip AV stream for SubPath_type = 3, that is, an interactive graphics stream, as a PlayList. Preload before and store in the preload buffer 414. Further, when the PlayList refers to one or more SubPath_type = 2 SubPaths, the playback apparatus 401 can refer to SubPaths only one by one (two TSs can be read at one time, of which Since one is a MainTS referred to by MainPath), reproduction is performed with reference to a predetermined one of one or more SubPaths with SubPath_type = 2.

なお、Interactive graphics presentation menuには、ユーザによるON/OFFの操作入力を基に、表示させたり、表示を取り消したりすることが可能な“Pop-up menu”と、常時表示される“Always-on”の2種類の表示方法が用意されており、application_type=3のPlayListの再生処理の詳細例については、図63,図64を参照して後述する。   The interactive graphics presentation menu includes a “Pop-up menu” that can be displayed or canceled based on the ON / OFF operation input by the user, and an “Always-on” that is always displayed. The detailed display example of PlayList playback processing with application_type = 3 will be described later with reference to FIGS. 63 and 64.

また、例えば同期型のPlayListの場合、即ち、application_type=1or2であるMovie Type/Time-based SlideshowのClipを含むPlayListの場合、再生装置401は、そのPlayListを次のようにして再生することができる。即ち、再生装置401は、PlayListが1本以上のSubPath_type=3またはSubPath_type=4のSubPathを参照している場合、SubPath_type=3またはSubPath_type=4用のClip AVストリーム、即ち、インタラクティブグラフィックスストリームまたはテキストサブタイトルストリームをPlayListの再生前にプリロードして、プリロード用バッファ414またはバッファ54に蓄積させる。また、再生装置401は、PlayListが1本以上SubPath_type=5or6のSubPathを参照している場合、Playerは1つずつしかSubPathを参照できないので(一度に読み出すことが可能なTSは2つであり、そのうちの1つはMainPathにより参照されるMainTSであるので)、SubPath_type=5 or 6の1以上のSubPathのうちの所定の1つを参照して再生する。ただし、SubPath_type=7のSubPathが1以上含まれている場合には、そのSubPathはMain TSに含まれるESを参照しているので、再生装置401は、SubPath_type=5 or 6の1以上のSubPathのうちの所定の1つを参照して再生している最中に、さらに、SubPath_type=7の1つのSubPathを参照して再生することができる。   Further, for example, in the case of a synchronous PlayList, that is, in the case of a PlayList including a clip of Movie Type / Time-based Slideshow where application_type = 1or2, the playback device 401 can play back the PlayList as follows. . That is, when the PlayList refers to one or more SubPath_type = 3 or SubPath_type = 4 SubPaths, the playback apparatus 401 uses a Clip AV stream for SubPath_type = 3 or SubPath_type = 4, that is, an interactive graphics stream or text. The subtitle stream is preloaded before the PlayList is played back and stored in the preload buffer 414 or the buffer 54. In addition, when the PlayList refers to one or more SubPaths of SubPath_type = 5or6, the Player can refer to the SubPath only one by one (two TSs can be read at a time, Since one of them is a MainTS referred to by MainPath), reproduction is performed by referring to a predetermined one of one or more SubPaths of SubPath_type = 5 or 6. However, if one or more SubPaths of SubPath_type = 7 are included, the SubPath refers to the ES included in the Main TS, so the playback device 401 uses one or more SubPaths of SubPath_type = 5 or 6. During playback while referring to a predetermined one of them, playback can be performed with reference to one SubPath of SubPath_type = 7.

なお、application_type=1or2のPlayListの再生処理の詳細例については、図65乃至図68を参照して後述する。   A detailed example of PlayList playback processing with application_type = 1or2 will be described later with reference to FIGS.

次に、図63および図64のフローチャートを参照して、application_type=3のClipを含むPlayListの再生処理の一例について説明する。   Next, with reference to the flowcharts of FIGS. 63 and 64, an example of playback processing of a PlayList including a clip of application_type = 3 will be described.

例えば、図53のコントローラ21は、再生対象のPlayListのMainPathで参照されるClip_informationファイル中のclipinfo()に含まれるのapplication_typeを調査し、その調査によりapplication_type=3であることを認識した場合、application_type=3のPlayListの再生処理を開始させる。   For example, when the controller 21 in FIG. 53 checks the application_type included in clipinfo () in the Clip_information file referenced by the MainPath of the PlayList to be played back and recognizes that application_type = 3 by the check, the application_type Start playback processing of PlayList with = 3.

図63のステップS121において、コントローラ21は、Main TSはIG(インタラクティブグラフィックスストリーム)を含むか否かを判定する。   In step S121 of FIG. 63, the controller 21 determines whether or not the Main TS includes an IG (interactive graphics stream).

ステップS121において、Main TSはIGを含まないと判定された場合、処理は図64のステップS126に進む。ただし、ステップS126以降の処理については後述する。   If it is determined in step S121 that the Main TS does not include IG, the process proceeds to step S126 in FIG. However, the processing after step S126 will be described later.

これに対して、ステップS121において、Main TSはIGを含むと判定された場合、処理はステップS122に進む。   On the other hand, when it is determined in step S121 that the Main TS includes IG, the process proceeds to step S122.

ステップS122において、コントローラ21は、SubPath_type=3のSub Pathは存在するか否かを判定する。   In step S122, the controller 21 determines whether or not there is a Sub Path of SubPath_type = 3.

ステップS122において、SubPath_type=3のSub Pathは存在しないと判定された場合、処理は図64のステップS126に進む。ただし、ステップS126以降の処理については後述する。   When it is determined in step S122 that there is no Sub Path of SubPath_type = 3, the process proceeds to step S126 in FIG. However, the processing after step S126 will be described later.

これに対して、ステップS122において、SubPath_type=3のSub Pathは存在すると判定された場合、処理はステップS123に進む。ステップS123において、コントローラ21は、選択されたSub Path(SubPath_type=3のSub Path)が参照するClipを調べる。   On the other hand, if it is determined in step S122 that there is a Sub Path of SubPath_type = 3, the process proceeds to step S123. In step S123, the controller 21 examines the Clip referred to by the selected Sub Path (Sub Path_Type = 3 Sub Path).

そして、コントローラ21は、そのClipから、Sub Pathにより特定されるストリーム、すなわち、IGを読み出すようストレージドライブ22に指示する。ストレージドライブ22は、この指示に基づいて、対象となるIGを読み出す。または、コントローラ21は、ローカルストレージ24から対象となるIGを読み出す。そして、コントローラ21は、読み出されたIGを、インタラクティブグラフィックスデコーダ74にデコードさせるように指示する。これにより処理はステップS124に進む。   Then, the controller 21 instructs the storage drive 22 to read the stream specified by the Sub Path, that is, the IG from the Clip. Based on this instruction, the storage drive 22 reads the target IG. Alternatively, the controller 21 reads the target IG from the local storage 24. Then, the controller 21 instructs the interactive graphics decoder 74 to decode the read IG. Accordingly, the process proceeds to step S124.

ステップS124において、インタラクティブグラフィックスデコーダ74は、読み出されたIGをデコードする。そして、ステップS125において、インタラクティブグラフィックスデコーダ74は、デコードされたIGをプリロード用バッファ414に格納する。   In step S124, the interactive graphics decoder 74 decodes the read IG. In step S125, the interactive graphics decoder 74 stores the decoded IG in the preload buffer 414.

このようにしてステップS125の処理が終了したとき、または、上述したようにステップS121若しくはS122の処理でNOであると判定されたとき、処理は図64のステップS126に進む。   When the process in step S125 is completed in this way, or when it is determined NO in step S121 or S122 as described above, the process proceeds to step S126 in FIG.

ステップS126において、コントローラ21は、SubPath_type=2のSub Pathは存在するか否かを判定する。   In step S126, the controller 21 determines whether there is a Sub Path of SubPath_type = 2.

ステップS126において、SubPath_type=2のSub Pathは存在しないと判定された場合、処理はステップS129に進む。ただし、ステップS129以降の処理については後述する。   If it is determined in step S126 that there is no SubPath of SubPath_type = 2, the process proceeds to step S129. However, the processing after step S129 will be described later.

これに対して、ステップS126において、SubPath_type=2のSub Pathは存在すると判定された場合、処理はステップS127に進む。ステップS127において、コントローラ21は、選択されたSubPath(SubPath_type=2のSub Path)が参照するClipを調べる。   On the other hand, if it is determined in step S126 that there is a Sub Path of SubPath_type = 2, the process proceeds to step S127. In step S127, the controller 21 examines the Clip referred to by the selected SubPath (SubPath_type = 2 Sub Path).

そして、コントローラ21は、そのClipからSubPathにより特定されるストリーム、すなわち、オーディオストリームを読み出すようストレージドライブ22に指示する。ストレージドライブ22は、この指示に基づいて、対象となるオーディオストリームを読み出す。または、コントローラ21は、ローカルストレージ24から対象となるオーディオストリームを読み出す。そして、コントローラ21は、読み出されたオーディオストリームを、例えば2ndオーディオデコーダ75−2にデコードさせるように指示する。これにより処理はステップS128に進む。   Then, the controller 21 instructs the storage drive 22 to read out the stream specified by the SubPath from the Clip, that is, the audio stream. Based on this instruction, the storage drive 22 reads the target audio stream. Alternatively, the controller 21 reads out the target audio stream from the local storage 24. Then, the controller 21 instructs the 2nd audio decoder 75-2 to decode the read audio stream, for example. Accordingly, the process proceeds to step S128.

ステップS128において、2ndオーディオデコーダ75−2は、読み出されたオーディオストリームをデコードする。   In step S128, the 2nd audio decoder 75-2 decodes the read audio stream.

このようにして、ステップS128の処理が終了したとき、または、ステップS126の処理でNOであると判定されたとき、処理はステップS129に進む。   In this way, when the process of step S128 ends or when it is determined NO in the process of step S126, the process proceeds to step S129.

ステップS129において、AVデコーダ部403は、メインClip AV Streamをデコードする。ここで、メインClip AV Streamとは、再生対象のPlaylistのMainPathにより参照されるビデオストリームやオーディオストリーム等のことであり、Main TSに含まれている。即ち、AVデコーダ部403のうちの、1stビデオデコーダ72や1stオーディオデコーダ75−1等が、このステップS129の処理を実行する。   In step S129, the AV decoder unit 403 decodes the main Clip AV Stream. Here, the main Clip AV Stream is a video stream, an audio stream, or the like referred to by the MainPath of the playlist to be played back, and is included in the Main TS. That is, in the AV decoder unit 403, the 1st video decoder 72, the 1st audio decoder 75-1, and the like execute the process of step S129.

ステップS130において、AVデコーダ部403は、デコードされたメインClip AV Streamと、デコードされたSubPathストリームを合成し、出力する。ここで、デコードされたSubPathストリームとは、図63のステップS124の処理でデコードされてステップS125の処理でプリロード用バッファ414に格納されたIGや、図64のステップS128の処理でデコードされたオーディオストリームのことをいう。   In step S <b> 130, the AV decoder unit 403 combines the decoded main Clip AV Stream and the decoded SubPath stream, and outputs them. Here, the decoded SubPath stream is the IG decoded in step S124 in FIG. 63 and stored in the preload buffer 414 in step S125, or the audio decoded in step S128 in FIG. A stream.

ステップS131において、コントローラ21は、ステップS130の処理で合成されたストリームを出力中に、SubPath_type=2のSubPathの切り替え指示(ユーザの切り替え操作)があったか否かを判定する。   In step S131, the controller 21 determines whether or not there is a subpath switching instruction (user switching operation) of SubPath_type = 2 while outputting the stream synthesized in the process of step S130.

ステップS131において、合成されたストリームを出力中に、SubPath_type=2のSubPathの切り替え指示があったと判定された場合、処理はステップS127に戻され、それ以降の処理が繰り返される。即ち、メインClip AV Streamと合成されるオーディオストリームが切り替えられる。   If it is determined in step S131 that a subpath switching instruction of SubPath_type = 2 has been issued while outputting the combined stream, the process returns to step S127, and the subsequent processes are repeated. That is, the audio stream to be combined with the main Clip AV Stream is switched.

これに対して、ステップS131において、合成されたストリームを出力中に、SubPath_type=2のSubPathの切り替え指示がなかったと判定された場合、application_type=3のPlayListの再生処理が終了となる。   On the other hand, if it is determined in step S131 that there is no SubPath_type = 2 SubPath switching instruction while outputting the combined stream, the playback process of the PlayList of application_type = 3 ends.

次に、図65乃至図68のフローチャートを参照して、application_type=1or2のClipを含むPlayListの再生処理の一例について説明する。   Next, an example of PlayList playback processing including a Clip with application_type = 1or2 will be described with reference to the flowcharts of FIGS.

例えば、図53のコントローラ21は、再生対象のPlayListのMainPathで参照されるClipのapplication_typeを調査し、その調査の結果、application_type=1or2であることを認識した場合、application_type=1or2のPlayListの再生処理を開始させる。   For example, when the controller 21 in FIG. 53 investigates the application_type of the Clip referenced by the MainPath of the PlayList to be played back and recognizes that application_type = 1or2 as a result of the investigation, the playback processing of the PlayList with application_type = 1or2 To start.

図65のステップS141において、コントローラ21は、Main TSはIG(インタラクティブグラフィックスストリーム)を含むか否かを判定する。   In step S141 in FIG. 65, the controller 21 determines whether or not the Main TS includes an IG (interactive graphics stream).

ステップS141において、Main TSはIGを含まないと判定された場合、処理はステップS146に進む。ただし、ステップS146以降の処理については後述する。   If it is determined in step S141 that the Main TS does not include IG, the process proceeds to step S146. However, the processing after step S146 will be described later.

これに対して、ステップS141において、Main TSはIGを含むと判定された場合、処理はステップS142に進む。   On the other hand, when it is determined in step S141 that Main TS includes IG, the process proceeds to step S142.

ステップS142において、コントローラ21は、SubPath_type=3のSub Pathは存在するか否かを判定する。   In step S142, the controller 21 determines whether or not there is a Sub Path of SubPath_type = 3.

ステップS142において、SubPath_type=3のSub Pathは存在しないと判定された場合、処理はステップS146に進む。ただし、ステップS146以降の処理については後述する。   If it is determined in step S142 that there is no Sub Path of SubPath_type = 3, the process proceeds to step S146. However, the processing after step S146 will be described later.

これに対して、ステップS142において、SubPath_type=3のSub Pathは存在すると判定された場合、処理はステップS143に進む。ステップS143において、コントローラ21は、選択されたSubPath(SubPath_type=3のSub Path)が参照するClipを調べる。   On the other hand, if it is determined in step S142 that there is a Sub Path of SubPath_type = 3, the process proceeds to step S143. In step S143, the controller 21 checks the Clip referred to by the selected SubPath (Sub Path of SubPath_type = 3).

そして、コントローラ21は、そのClipから、SubPathにより特定されるストリーム、すなわち、IGを読み出すようストレージドライブ22に指示する。ストレージドライブ22は、この指示に基づいて、対象となるIGを読み出す。または、コントローラ21は、ローカルストレージ24から対象となるIGを読み出す。そして、コントローラ21は、読み出されたIGを、インタラクティブグラフィックスデコーダ74にデコードさせるように指示する。これにより処理はステップS144に進む。   Then, the controller 21 instructs the storage drive 22 to read the stream specified by the SubPath, that is, the IG from the Clip. Based on this instruction, the storage drive 22 reads the target IG. Alternatively, the controller 21 reads the target IG from the local storage 24. Then, the controller 21 instructs the interactive graphics decoder 74 to decode the read IG. Accordingly, the process proceeds to step S144.

ステップS144において、インタラクティブグラフィックスデコーダ74は、読み出されたIGをデコードする。そして、ステップS145において、インタラクティブグラフィックスデコーダ74は、デコードされたIGをプリロード用バッファ414に格納する。   In step S144, the interactive graphics decoder 74 decodes the read IG. In step S145, the interactive graphics decoder 74 stores the decoded IG in the preload buffer 414.

このようにしてステップS145の処理が終了したとき、または、上述したようにステップS141若しくはS142の処理でNOであると判定されたとき、処理はステップS146に進む。   When the process of step S145 is completed in this way, or when it is determined NO in step S141 or S142 as described above, the process proceeds to step S146.

ステップS146において、コントローラ21は、SubPath_type=4のSub Pathは存在するか否かを判定する。   In step S146, the controller 21 determines whether or not there is a Sub Path of SubPath_type = 4.

ステップS146において、SubPath_type=4のSub Pathは存在しないと判定された場合、処理は図66のステップS149に進む。ただし、ステップS149以降の処理については後述する。   If it is determined in step S146 that there is no SubPath of SubPath_type = 4, the process proceeds to step S149 in FIG. However, the processing after step S149 will be described later.

これに対して、ステップS146において、SubPath_type=4のSub Pathは存在すると判定された場合、処理はステップS147に進む。ステップS147において、コントローラ21は、選択されたSubPath(SubPath_type=4のSub Path )が参照するClipを調べる。   On the other hand, if it is determined in step S146 that there is a Sub Path of SubPath_type = 4, the process proceeds to step S147. In step S147, the controller 21 examines the Clip referred to by the selected SubPath (Sub Path of SubPath_type = 4).

そして、コントローラ21は、そのClipから、SubPathにより特定されるストリーム、すなわち、デキストサブタイトルストリームを読み出すようストレージドライブ22に指示する。ストレージドライブ22は、この指示に基づいて、対象となるデキストサブタイトルストリームを読み出す。または、コントローラ21は、ローカルストレージ24から対象となるデキストサブタイトルストリームを読み出す。そして、コントローラ21は、読み出されたデキストサブタイトルストリームを、Text-STコンポジション76にデコードさせるように指示する。これにより処理はステップS148に進む。   Then, the controller 21 instructs the storage drive 22 to read the stream specified by SubPath, that is, the text subtitle stream, from the Clip. Based on this instruction, the storage drive 22 reads the target dext subtitle stream. Alternatively, the controller 21 reads the target text subtitle stream from the local storage 24. Then, the controller 21 instructs the Text-ST composition 76 to decode the read text subtitle stream. Accordingly, the process proceeds to step S148.

ステップS148において、Text-STコンポジション76は、読み出されたテキストサブタイトルをデコードする。   In step S148, the Text-ST composition 76 decodes the read text subtitle.

このようにしてステップS148の処理が終了したとき、または、上述したステップS146の処理でNOであると判定されたとき、処理は図66のステップS149に進む。   Thus, when the process of step S148 is completed or when it is determined NO in the process of step S146 described above, the process proceeds to step S149 of FIG.

ステップS149において、コントローラ21は、SubPath_type=7のSub Pathは存在するか否かを判定する。   In step S149, the controller 21 determines whether or not there is a Sub Path of SubPath_type = 7.

ステップS149において、SubPath_type=7のSub Pathは存在しないと判定された場合、処理は図67のステップS152に進む。ただし、ステップS152以降の処理については後述する。   When it is determined in step S149 that there is no Sub Path of SubPath_type = 7, the process proceeds to step S152 in FIG. However, the processing after step S152 will be described later.

これに対して、ステップS149において、SubPath_type=7のSub Pathは存在すると判定された場合、処理はステップS150に進む。ステップS150において、コントローラ21は、選択されたSubPath(SubPath_type=7のSub Path )が参照するClipを調べる。   On the other hand, when it is determined in step S149 that there is a Sub Path of SubPath_type = 7, the process proceeds to step S150. In step S150, the controller 21 checks the Clip referred to by the selected SubPath (SubPath_type = 7 Sub Path).

そして、コントローラ21は、そのClipから、SubPathにより特定されるストリーム、すなわち、ビデオ/オーディオストリームを読み出すようストレージドライブ22に指示する。ストレージドライブ22は、この指示に基づいて、対象となるビデオ/オーディオストリームを読み出す。または、コントローラ21は、ローカルストレージ24から対象となるビデオ/オーディオストリームを読み出す。そして、コントローラ21は、読み出されたビデオ/オーディオストリームを、例えば2ndビデオデコーダ412/2ndオーディオデコーダ75−2にデコードさせるように指示する。これにより処理はステップS151に進む。   Then, the controller 21 instructs the storage drive 22 to read out the stream specified by the SubPath, that is, the video / audio stream, from the Clip. The storage drive 22 reads the target video / audio stream based on this instruction. Alternatively, the controller 21 reads a target video / audio stream from the local storage 24. Then, the controller 21 instructs the 2nd video decoder 412 / 2nd audio decoder 75-2 to decode the read video / audio stream, for example. Accordingly, the process proceeds to step S151.

ステップS151において、2ndビデオデコーダ412/2ndオーディオデコーダ75−2は、読み出されたビデオ/オーディオストリームをデコードする。   In step S151, the 2nd video decoder 412 / 2nd audio decoder 75-2 decodes the read video / audio stream.

このようにしてステップS151の処理が終了したとき、または、上述したステップS149の処理でNOであると判定されたとき、処理は図67のステップS152に進む。   Thus, when the process of step S151 is completed or when it is determined NO in the process of step S149 described above, the process proceeds to step S152 of FIG.

ステップS152において、コントローラ21は、SubPath_type=5のSub Pathは存在するか否かを判定する。   In step S152, the controller 21 determines whether or not there is a Sub Path of SubPath_type = 5.

ステップS152において、SubPath_type=5のSub Pathは存在しないと判定された場合、処理はステップS156に進む。ただし、ステップS156以降の処理については後述する。   If it is determined in step S152 that there is no SubPath_type = 5 Sub Path, the process proceeds to step S156. However, the processing after step S156 will be described later.

これに対して、ステップS152において、SubPath_type=5のSub Pathは存在すると判定された場合、処理はステップS153に進む。ステップS153において、コントローラ21は、選択されたSubPath(SubPath_type=5のSub Path)が参照するClipを調べる。   In contrast, if it is determined in step S152 that there is a Sub Path of SubPath_type = 5, the process proceeds to step S153. In step S153, the controller 21 checks the Clip referred to by the selected SubPath (SubPath_type = 5 Sub Path).

ステップS154において、コントローラ21は、stream_attribute()(図18)に記述されている内容に基づいて、そのClip内にあるオーディオストリームを再生する機能はあるか否かを判定する。   In step S154, the controller 21 determines whether or not there is a function for playing back an audio stream in the Clip based on the contents described in stream_attribute () (FIG. 18).

ステップS154において、Clip内にあるオーディオストリームを再生する機能は無いと判定された場合、処理はステップS156に進む。ただし、ステップS156以降の処理については後述する。   If it is determined in step S154 that there is no function for reproducing the audio stream in the Clip, the process proceeds to step S156. However, the processing after step S156 will be described later.

これに対して、ステップS154において、Clip内にあるオーディオストリームを再生する機能はあると判定した場合、コントローラ21は、そのClipから、SubPathによって特定されるストリーム、すなわち、オーディオストリームを読み出すように、ストレージドライブ22に指示する。ストレージドライブ22は、この指示に基づいて、対象となるオーディオストリームを読み出す。または、コントローラ21は、ローカルストレージ24から対象となるオーディオストリームを読み出す。そして、コントローラ21は、読み出されたオーディオストリームを、例えば2ndオーディオデコーダ75−2にデコードさせるように指示する。これにより処理はステップS155に進む。   On the other hand, if it is determined in step S154 that there is a function for playing back an audio stream in the Clip, the controller 21 reads the stream specified by the SubPath, that is, the audio stream, from the Clip. The storage drive 22 is instructed. Based on this instruction, the storage drive 22 reads the target audio stream. Alternatively, the controller 21 reads out the target audio stream from the local storage 24. Then, the controller 21 instructs the 2nd audio decoder 75-2 to decode the read audio stream, for example. Accordingly, the process proceeds to step S155.

ステップS155において、2ndオーディオデコーダ75−2は、読み出されたオーディオストリームをデコードする。   In step S155, the 2nd audio decoder 75-2 decodes the read audio stream.

このようにしてステップS155の処理が終了したとき、または、上述したステップS152若しくはS154の処理でNOであると判定されたとき、処理はステップS156に進む。   In this way, when the process of step S155 ends, or when it is determined NO in the process of step S152 or S154 described above, the process proceeds to step S156.

ステップS156において、コントローラ21は、SubPath_type=6のSub Pathは存在するか否かを判定する。   In step S156, the controller 21 determines whether or not there is a Sub Path of SubPath_type = 6.

ステップS156において、SubPath_type=6のSub Pathは存在しないと判定された場合、処理は図68のステップS161に進む。ただし、ステップS161以降の処理については後述する。   If it is determined in step S156 that there is no SubPath of SubPath_type = 6, the process proceeds to step S161 in FIG. However, the processing after step S161 will be described later.

これに対して、ステップS156において、SubPath_type=6のSub Pathは存在すると判定された場合、処理はステップS157に進む。ステップS157において、コントローラ21は、選択されたSubPath(SubPath_type=6のSub Path)が参照するClipを調べる。   On the other hand, if it is determined in step S156 that there is a Sub Path of SubPath_type = 6, the process proceeds to step S157. In step S157, the controller 21 checks the clip referred to by the selected SubPath (SubPath_type = 6 Sub Path).

ステップS158において、コントローラ21は、stream_attribute()(図18)に記述されている内容に基づいて、そのClip内にあるオーディオストリームを再生する機能はあるか否かを判定する。   In step S158, the controller 21 determines whether or not there is a function for playing back an audio stream in the Clip based on the contents described in stream_attribute () (FIG. 18).

ステップS158において、Clip内にあるオーディオストリームを再生する機能は無いと判定された場合、コントローラ21は、そのClipから、SubPathによって特定されるストリームのうちの、ビデオストリームを読み出すようストレージドライブ22に指示する。ストレージドライブ22は、この指示に基づいて、対象となるビデオストリームを読み出す。または、コントローラ21は、ローカルストレージ24から対象となるビデオストリームを読み出す。ただし、この場合、コントローラ21は、オーディオストリームのデコードの禁止を指示し、かつ、読み出されたビデオストリームを、例えば2ndビデオデコーダ412にデコードさせるように指示する。これにより処理はステップS160に進む。ただし、ステップS160以降の処理については後述する。   If it is determined in step S158 that there is no function for playing back an audio stream in the Clip, the controller 21 instructs the storage drive 22 to read a video stream out of the streams specified by the SubPath from the Clip. To do. Based on this instruction, the storage drive 22 reads the target video stream. Alternatively, the controller 21 reads the target video stream from the local storage 24. In this case, however, the controller 21 instructs the prohibition of decoding of the audio stream, and instructs the 2nd video decoder 412 to decode the read video stream, for example. Accordingly, the process proceeds to step S160. However, the processing after step S160 will be described later.

これに対して、ステップS158において、Clip内にあるオーディオストリームを再生する機能はあると判定した場合、コントローラ21は、そのClipから、SubPathによって特定されるストリーム、すなわち、ビデオストリームおよびオーディオストリームを読み出すようストレージドライブ22に指示する。ストレージドライブ22は、この指示に基づいて、対象となるビデオストリームおよびオーディオストリームを読み出す。そして、コントローラ21は、読み出されたオーディオストリームを、例えば2ndオーディオデコーダ75−2にデコードさせるように指示し、かつ、読み出されたビデオストリームを、例えば2ndビデオデコーダ412にデコードさせるように指示する。これにより処理はステップS159に進む。   On the other hand, if it is determined in step S158 that there is a function for playing back the audio stream in the Clip, the controller 21 reads the stream specified by the SubPath, that is, the video stream and the audio stream from the Clip. The storage drive 22 is instructed. Based on this instruction, the storage drive 22 reads the target video stream and audio stream. Then, the controller 21 instructs the 2nd audio decoder 75-2 to decode the read audio stream, for example, and instructs the 2nd video decoder 412 to decode the read video stream, for example. To do. Accordingly, the process proceeds to step S159.

ステップS159において、2ndオーディオデコーダ75−2は、読み出されたオーディオストリームをデコードする。   In step S159, the 2nd audio decoder 75-2 decodes the read audio stream.

このようにしてステップS159の処理が終了したとき、または、上述したステップS158の処理でNOであると判定されたとき、処理はステップS160に進む。   In this way, when the process of step S159 ends, or when it is determined NO in the process of step S158 described above, the process proceeds to step S160.

ステップS160において、2ndビデオデコーダ412は、読み出されたビデオストリームをデコードする。   In step S160, the 2nd video decoder 412 decodes the read video stream.

このようにしてステップS160の処理が終了したとき、または、上述したステップS156の処理でNOであると判定されたとき、処理は図68のステップS161に進む。   Thus, when the process of step S160 ends or when it is determined NO in the process of step S156 described above, the process proceeds to step S161 of FIG.

ステップS161において、AVデコーダ部403は、メインClip AV Streamをデコードする。ここで、メインClip AV Streamとは、再生対象のPlaylistのMainPathにより参照されるビデオストリームやオーディオストリーム等のことであり、Main TSに含まれている。メインClip AV Streamとは、例えば、ピクチャインピクチャ手法では、プライマリビデオストリームやプライマリオーディオストリーム等のことをいう。即ち、AVデコーダ部403のうちの、1stビデオデコーダ72や1stオーディオデコーダ75−1等が、このステップS161の処理を実行する。   In step S161, the AV decoder unit 403 decodes the main Clip AV Stream. Here, the main Clip AV Stream is a video stream, an audio stream, or the like referred to by the MainPath of the playlist to be played back, and is included in the Main TS. The main Clip AV Stream means, for example, a primary video stream, a primary audio stream, or the like in the picture-in-picture method. That is, in the AV decoder unit 403, the 1st video decoder 72, the 1st audio decoder 75-1, etc. execute the processing of step S161.

ステップS162において、AVデコーダ部403は、デコードされたメインClip AV Streamと、デコードされたSubPathストリームを合成し、出力する。ここで、デコードされたSubPathストリームとは、図65のステップS144の処理でデコードされてステップS145の処理でプリロード用バッファ414に格納されたIG、図65のステップS148の処理でデコードされたテキストサブタイトル、図66のステップS151の処理でデコードされたオーディオストリーム、図67のステップS155の処理でデコードされたオーディオストリーム、図66のステップS159の処理でデコードされたオーディオストリーム、および、図66のステップS160の処理でデコードされたビデオストリームのうちの0以上のSubPathストリームのことをいう。   In step S162, the AV decoder unit 403 combines the decoded main Clip AV Stream and the decoded SubPath stream, and outputs them. Here, the decoded SubPath stream is the IG decoded in step S144 in FIG. 65 and stored in the preload buffer 414 in step S145, and the text subtitle decoded in step S148 in FIG. 66, the audio stream decoded in step S151 in FIG. 66, the audio stream decoded in step S155 in FIG. 67, the audio stream decoded in step S159 in FIG. 66, and step S160 in FIG. This means zero or more SubPath streams among the video streams decoded by the above process.

ステップS163において、コントローラ21は、ステップS162の処理で合成されたストリームを出力中にSubPathの切り替え指示(ユーザの切り替え操作)があったか否かを判定する。   In step S163, the controller 21 determines whether or not there is a SubPath switching instruction (user switching operation) while outputting the stream synthesized in the process of step S162.

ステップS163において、合成されたストリームを出力中にSubPathの切り替え指示が無かったと判定された場合、application_type=1or2のPlayListの再生処理が終了となる。   If it is determined in step S163 that there has been no SubPath switching instruction while outputting the combined stream, the PlayList playback process with application_type = 1or2 ends.

これに対して、ステップS163において、合成されたストリームを出力中にSubPathの切り替え指示が有ったと判定された場合、処理はステップS164に進む。   On the other hand, if it is determined in step S163 that there has been a SubPath switching instruction while outputting the combined stream, the process proceeds to step S164.

ステップS164において、コントローラ21は、その切り替え指示により選択されたSubPathのSubPath_typeを調べる。具体的には、STN_tableに定義されている1以上のsecondary_audio_stream(audio_stream_id2)またはsecondary_video_stream(video_stream_id2)から、特定のsecondary audio _streamまたはsecondary video _streamが選択された場合、STN_tableを基にその特定のsecondary audio _streamまたはsecondary video _streamに対応するstream entryが調べられて、このstream entryに記録されているref_to_SubPath_idからsubpath_idが取得され、このsubpath_idにより図9のPlayList()のSubpathが特定されて、図10のSubPath()により、Subpath_typeが取得される。   In step S164, the controller 21 checks the SubPath_type of the SubPath selected by the switching instruction. Specifically, when a specific secondary audio _stream or secondary video _stream is selected from one or more secondary_audio_stream (audio_stream_id2) or secondary_video_stream (video_stream_id2) defined in the STN_table, the specific secondary audio _stream based on the STN_table Alternatively, the stream entry corresponding to the secondary video_stream is checked, the subpath_id is obtained from the ref_to_SubPath_id recorded in the stream entry, the Subpath of the PlayList () in FIG. 9 is specified by the subpath_id, and the SubPath ( ) To obtain Subpath_type.

ステップS165において、コントローラ21は、ステップS164の調査結果がSubPath_type=3であるか否かを判定する。   In step S165, the controller 21 determines whether or not the investigation result in step S164 is SubPath_type = 3.

ステップS165において、SubPath_type=3であると判定された場合、処理は図65のステップS143に戻され、処理が繰り返される。即ち、メインClip AV Streamと合成されるIGが切り替えられる。   If it is determined in step S165 that SubPath_type = 3, the process returns to step S143 in FIG. 65 and the process is repeated. That is, the IG combined with the main Clip AV Stream is switched.

これに対して、ステップS165において、SubPath_type=3ではないと判定された場合、処理はステップS166に進む。   On the other hand, if it is determined in step S165 that SubPath_type = 3 is not satisfied, the process proceeds to step S166.

ステップS166において、コントローラ21は、ステップS164の調査結果がSubPath_type=4であるか否かを判定する。   In step S166, the controller 21 determines whether or not the investigation result in step S164 is SubPath_type = 4.

ステップS166において、SubPath_type=4であると判定された場合、処理は図65のステップS147に戻され、処理が繰り返される。即ち、メインClip AV Streamと合成されるテキストサブタイトルが切り替えられる。   If it is determined in step S166 that SubPath_type = 4, the process returns to step S147 of FIG. 65 and the process is repeated. That is, the text subtitle combined with the main Clip AV Stream is switched.

これに対して、ステップS166において、SubPath_type=4ではないと判定された場合、処理はステップS167に進む。   On the other hand, if it is determined in step S166 that SubPath_type = 4 is not satisfied, the process proceeds to step S167.

ステップS167において、コントローラ21は、ステップS164の調査結果がSubPath_type=7であるか否かを判定する。   In step S167, the controller 21 determines whether or not the investigation result in step S164 is SubPath_type = 7.

ステップS167において、SubPath_type=7であると判定された場合、処理は図66のステップS150に戻され、処理が繰り返される。即ち、メインClip AV Streamと合成されるビデオ/オーディオストリームが切り替えられる。   If it is determined in step S167 that SubPath_type = 7, the process returns to step S150 of FIG. 66 and the process is repeated. That is, the video / audio stream synthesized with the main Clip AV Stream is switched.

これに対して、ステップS167において、SubPath_type=7ではないと判定された場合、処理はステップS168に進む。   On the other hand, when it is determined in step S167 that SubPath_type = 7 is not satisfied, the process proceeds to step S168.

ステップS168において、コントローラ21は、ステップS164の調査結果がSubPath_type=5であるか否かを判定する。   In step S168, the controller 21 determines whether or not the investigation result in step S164 is SubPath_type = 5.

ステップS168において、SubPath_type=5であると判定された場合、処理は図67のステップS153に戻され、処理が繰り返される。即ち、メインClip AV Streamと合成されるオーディオストリームが切り替えられる。   If it is determined in step S168 that SubPath_type = 5, the process returns to step S153 in FIG. 67 and the process is repeated. That is, the audio stream to be combined with the main Clip AV Stream is switched.

これに対して、ステップS168において、SubPath_type=5ではないと判定された場合、処理はステップS169に進む。   On the other hand, if it is determined in step S168 that SubPath_type = 5 is not satisfied, the process proceeds to step S169.

ステップS169において、コントローラ21は、ステップS164の調査結果がSubPath_type=6であるか否かを判定する。   In step S169, the controller 21 determines whether or not the investigation result in step S164 is SubPath_type = 6.

ステップS169において、SubPath_type=6であると判定された場合、処理は図67のステップS157に戻され、処理が繰り返される。即ち、メインClip AV Streamと合成されるオーディオストリームやビデオストリームが切り替えられる。   If it is determined in step S169 that SubPath_type = 6, the process returns to step S157 of FIG. 67 and the process is repeated. That is, the audio stream and video stream to be combined with the main Clip AV Stream are switched.

これに対して、ステップS169において、SubPath_type=6ではないと判定された場合、application_type=1or2のPlayListの再生処理が終了となる。   On the other hand, if it is determined in step S169 that SubPath_type = 6 is not satisfied, the PlayList playback process with application_type = 1or2 is terminated.

以上説明したように、ピクチャインピクチャ手法を適用するアプリケーションを実現するためには、例えば、プライマリビデオストリームと組み合わせて同時再生され得るストリームの組み合わせの定義、即ち、セカンダリビデオストリーム、プライマリオーディオストリーム、セカンダリオーディオストリーム、および、サブタイトルストリームの組み合わせの定義が必要となる。   As described above, in order to realize an application to which the picture-in-picture method is applied, for example, the definition of the combination of streams that can be simultaneously reproduced in combination with the primary video stream, that is, the secondary video stream, the primary audio stream, the secondary It is necessary to define a combination of an audio stream and a subtitle stream.

さらに、複数の組み合わせを定義することで、全画面301に再生されるプライマリビデオストリームやプライマリオーディオスオストリームの切り替えのみならず、子画面302に再生されるセカンダリビデオストリームの切り替えや、サブタイトルストリームの切り替えも容易に行えるようになる。   Furthermore, by defining a plurality of combinations, not only switching of the primary video stream and primary audio stream reproduced on the full screen 301 but also switching of the secondary video stream reproduced on the sub-screen 302 and switching of the subtitle stream are performed. Can also be easily performed.

図44と図45を用いて説明したような、プライマリビデオストリームと組み合わせて同時再生され得るストリームの組み合わせを定義するSTN_tableの異なる例、すなわち、第8のSTN_tableの例を、図69および図70を用いて説明する。   Different examples of STN_table that define combinations of streams that can be simultaneously reproduced in combination with the primary video stream as described with reference to FIGS. 44 and 45, that is, examples of the eighth STN_table, FIG. 69 and FIG. It explains using.

即ち、図69と図70とは、プライマリビデオストリームと組み合わせて同時再生され得る、セカンダリビデオストリーム、プライマリオーディオストリーム、セカンダリオーディオストリーム、および、サブタイトルストリームの組み合わせを定義するにあたって、特に、セカンダリオーディオストリームとプライマリオーディオストリームとの組み合わせ、セカンダリビデオストリームとセカンダリオーディオストリームとの組み合わせ、セカンダリビデオストリームとピクチャインピクチャアプリケーション用のプレゼンテーショングラフィックス(PG)またはテキスト字幕の組み合わせを定義する場合のSTN_table()のシンタクスの第8の例(第8のSTN_table())の例を示す図である。第8のSTN_table()を参照して実行される再生処理も、図52を用いて説明した再生装置401において実行可能である。なお、図中、上述した図44および図45と同一の部分については、繰り返しになるのでその説明は省略する。   That is, FIG. 69 and FIG. 70 are used to define a combination of a secondary video stream, a primary audio stream, a secondary audio stream, and a subtitle stream that can be simultaneously reproduced in combination with a primary video stream. STN_table () syntax for defining a combination with a primary audio stream, a combination of a secondary video stream and a secondary audio stream, or a combination of presentation graphics (PG) or text subtitles for a secondary video stream and a picture-in-picture application It is a figure which shows the example of an 8th example (8th STN_table ()). The playback process executed with reference to the eighth STN_table () can also be executed by the playback device 401 described with reference to FIG. In the figure, the same parts as those in FIGS. 44 and 45 described above are repeated, and the description thereof is omitted.

number_of_audio_stream2_entriesの8ビットのフィールドは、STN_tableに登録されるセカンダリオーディオの数を示す。   An 8-bit field of number_of_audio_stream2_entries indicates the number of secondary audios registered in the STN_table.

セカンダリビデオストリームの数は、audio_stream2_number=audio_stream2_id+1によって求められる。   The number of secondary video streams is obtained by audio_stream2_number = audio_stream2_id + 1.

number_of_video_stream2_entriesの8ビットのフィールドは、STN_tableに登録されるセカンダリビデオの数を示す。   An 8-bit field of number_of_video_stream2_entries indicates the number of secondary videos registered in the STN_table.

セカンダリビデオストリームの数は、video_stream2_number=video_stream2_id+1によって求められる。   The number of secondary video streams is obtained by video_stream2_number = video_stream2_id + 1.

また、各video_stream2_idのstream_entry()ブロックは、typeフィールドが2に設定されていなければならない。   In addition, in the stream_entry () block of each video_stream2_id, the type field must be set to 2.

そして、number_of_PiP_PG_textST_stream_entriesの8ビットのフィールドは、STN_tableに登録されるPiPアプリケーション用のPG・テキスト字幕のストリームの数を示す。   The 8-bit field of number_of_PiP_PG_textST_stream_entries indicates the number of PG / text subtitle streams for the PiP application registered in the STN_table.

PIPアプリケーション用のPG(プレゼンテーショングラフィックス)または、テキスト字幕のストリームの数は、PiP_PG_textST_stream_number=PiP_PG_textST_stream_id+1によって求められる。   The number of PG (presentation graphics) or text subtitle streams for the PIP application is obtained by PiP_PG_textST_stream_number = PiP_PG_textST_stream_id + 1.

そして、comb_info_Secondary_audio_Primary_audio()のブロックは、セカンダリオーディオとプライマリオーディオの組み合わせを示す。   A block of comb_info_Secondary_audio_Primary_audio () indicates a combination of secondary audio and primary audio.

comb_info_Secondary_audio_Primary_audio()のブロック内において、number_of_audio_stream_ref_entriesの8ビットのフィールドは、セカンダリオーディオストリームと組み合わせることが出来るプライマリオーディオストリームの数を示す。そして、audio_stream_id_refの8ビットのフィールドは、セカンダリオーディオストリームと組み合わせることが出来るプライマリオーディオストリームのIDを示す。   In the comb_info_Secondary_audio_Primary_audio () block, the 8-bit field of number_of_audio_stream_ref_entries indicates the number of primary audio streams that can be combined with the secondary audio stream. The 8-bit field of audio_stream_id_ref indicates the ID of the primary audio stream that can be combined with the secondary audio stream.

次に、comb_info_Secondary_video_Secondary_audio()のブロックは、セカンダリビデオストリームとセカンダリオーディオストリームの組み合わせを示す。   Next, a block of comb_info_Secondary_video_Secondary_audio () indicates a combination of a secondary video stream and a secondary audio stream.

comb_info_Secondary_video_Secondary_audio()のブロック内において、number_of_audio_stream2_ref_entriesの8ビットのフィールドは、セカンダリビデオストリームと組み合わせることが出来るセカンダリオーディオストリームの数を示す。そして、audio_stream_id2_refの8ビットのフィールドは、セカンダリビデオストリームと組み合わせることが出来るセカンダリオーディオストリームのIDを示す。   In the comb_info_Secondary_video_Secondary_audio () block, the 8-bit field of number_of_audio_stream2_ref_entries indicates the number of secondary audio streams that can be combined with the secondary video stream. The 8-bit field of audio_stream_id2_ref indicates the ID of a secondary audio stream that can be combined with the secondary video stream.

そして、comb_info_Secondary_video_PiP_PG_textST()のブロックは、セカンダリビデオストリームとピクチャインピクチャアプリケーション用のPG・テキスト字幕のストリームの組み合わせを示す。   A block of comb_info_Secondary_video_PiP_PG_textST () indicates a combination of a secondary video stream and a PG / text subtitle stream for a picture-in-picture application.

comb_info_Secondary_video_PiP_PG_textST()のブロック内において、number_of_PiP_PG_textST_ref_entriesの8ビットのフィールドは、セカンダリビデオストリームと組み合わせることが出来るPIPアプリケーション用のPG・テキスト字幕のストリームの数を示す。また、PiP_PG_textST_stream_id_refの8ビットのフィールドは、セカンダリビデオストリームと組み合わせることが出来るピクチャインピクチャアプリケーション用のPG・テキスト字幕のストリームのIDを示す。   In the comb_info_Secondary_video_PiP_PG_textST () block, the 8-bit field of number_of_PiP_PG_textST_ref_entries indicates the number of PG / text subtitle streams for the PIP application that can be combined with the secondary video stream. Also, the 8-bit field of PiP_PG_textST_stream_id_ref indicates the ID of the PG / text subtitle stream for the picture-in-picture application that can be combined with the secondary video stream.

なお、図35、図41、図42、または、図44および図45を参照して説明した場合と同様に、各IDの代わりに各番号、例えば、audio_stream_idの代わりに、オーディオストリーム番号(audio_stream_number)を用いたり、audio_stream_id2の代わりに、オーディオストリーム番号2(audio_stream_number2)を用いるようにしてもよい。ビデオストリームやサブタイトルストリームについても同様である。   As in the case described with reference to FIG. 35, FIG. 41, FIG. 42, or FIG. 44 and FIG. 45, each number instead of each ID, for example, an audio stream number (audio_stream_number) instead of audio_stream_id Or audio stream number 2 (audio_stream_number2) may be used instead of audio_stream_id2. The same applies to the video stream and the subtitle stream.

図69と図70によれば、セカンダリオーディオとプライマリオーディオの組み合わせ、セカンダリビデオとセカンダリオーディオの組み合わせ、および、セカンダリビデオとピクチャインピクチャアプリケーション用のPG・テキスト字幕の組み合わせを定義することができる。   69 and 70, a combination of secondary audio and primary audio, a combination of secondary video and secondary audio, and a combination of secondary video and a PG / text subtitle for a picture-in-picture application can be defined.

従って、プライマリビデオストリーム(#1ビデオストリーム)と同時再生され得る、セカンダリビデオストリーム(#2ビデオストリーム)、プライマリオーディオストリーム(#1オーディオストリーム)、セカンダリオーディオストリーム(#2オーディオストリーム)、および、サブタイトルストリーム(PG TextSTストリーム)の組み合わせに加えて、ピクチャインピクチャアプリケーション用のPG・テキスト字幕ストリーム(PiP PG TextSTストリーム)の組み合わせとして矛盾するような組み合わせを選択することを防ぐようにすることができる。   Therefore, a secondary video stream (# 2 video stream), a primary audio stream (# 1 audio stream), a secondary audio stream (# 2 audio stream), and a subtitle that can be played back simultaneously with the primary video stream (# 1 video stream) In addition to the combination of streams (PG TextST stream), it is possible to prevent a conflicting combination from being selected as a combination of a PG / text subtitle stream (PiP PG TextST stream) for a picture-in-picture application.

また、再生装置401においては、再生装置401のメモリ23の書き換え可能なメモリ領域のうちの一部に、複数のレジスタが設けられ、このレジスタに設定される値を基に、再生処理が実行される。   In the playback device 401, a plurality of registers are provided in a part of the rewritable memory area of the memory 23 of the playback device 401, and playback processing is executed based on the values set in these registers. The

レジスタのうち、例えば、再生装置401が#2オーディオストリームを再生することが可能か否かが設定されているレジスタの値など、再生装置401固有の機能について設定されているものは、その値が変更されることはない。これに対して、レジスタのうちの所定のものの設定は、例えば、ユーザから所定の操作入力を受けた場合、または、ナビゲーションプログラムにより発生されるナビゲーションコマンドにより変更される。   Among the registers, for example, a value set for a function unique to the playback device 401, such as a register value in which it is set whether or not the playback device 401 can play the # 2 audio stream, the value is There is no change. On the other hand, the setting of the predetermined one of the registers is changed, for example, when a predetermined operation input is received from the user or by a navigation command generated by the navigation program.

なお、ナビゲーションコマンドは、ストリームデータとは個別に記録媒体や内部のハードディスク等に記録され、再生装置401によってプリロードされ、コントローラ21に供給されるようになされていてもよいし、ストリームデータに埋め込まれて記録媒体や内部のハードディスク等に記録され、再生装置401によってストリームデータが再生されるのに伴ってロードされ、コントローラ21に供給されるようになされていてもよい。   The navigation command may be recorded separately from the stream data on a recording medium, an internal hard disk, or the like, preloaded by the playback device 401, and supplied to the controller 21 or embedded in the stream data. The data may be recorded on a recording medium, an internal hard disk, and the like, loaded as the playback device 401 plays back the stream data, and supplied to the controller 21.

レジスタには、再生装置401における再生処理に必要な各種設定を示す値が保持されている。レジスタには、例えば、再生装置401が再生するサブタイトルストリーム(PG TextSTストリーム)を定義するレジスタ、再生装置401が再生するピクチャインピクチャアプリケーション用のPG・テキスト字幕ストリーム(PiP PG TextSTストリーム)を定義するレジスタ、再生装置401が再生可能なサブタイトルストリーム(PG TextSTストリーム)のストリームIDを示すレジスタ、再生装置401が再生可能なサブタイトルストリーム(PG TextSTストリーム)の言語コード番号(またはID)を示すレジスタ、初期設定されている言語のIDを示すレジスタ、再生装置401が再生可能なサブタイトルストリーム(PG TextSTストリーム)に対応する国のコード番号(またはID)を示すレジスタなどが含まれるものとすると好適である。   The register holds values indicating various settings necessary for the reproduction process in the reproduction apparatus 401. The register defines, for example, a register that defines a subtitle stream (PG TextST stream) to be played back by the playback device 401, and a PG / text subtitle stream (PiP PG TextST stream) for a picture-in-picture application that is played back by the playback device 401. Register, register indicating stream ID of subtitle stream (PG TextST stream) reproducible by playback device 401, register indicating language code number (or ID) of subtitle stream (PG TextST stream) reproducible by playback device 401, initial It is preferable that a register indicating an ID of a set language, a register indicating a country code number (or ID) corresponding to a subtitle stream (PG TextST stream) that can be played back by the playback device 401, and the like are included.

ピクチャインピクチャアプリケーションが起動されたとき、再生装置401は、表示の見易さを考慮して、サブタイトルストリーム(PG TextSTストリーム)か、ピクチャインピクチャアプリケーション用のPG・テキスト字幕ストリーム(PiP PG TextSTストリーム)かのいずれか一方のみしか表示させないようにしてもよいし、サブタイトルストリーム(PG TextSTストリーム)とピクチャインピクチャアプリケーション用のPG・テキスト字幕ストリーム(PiP PG TextSTストリーム)の両方を表示することができるものとしてもよい。   When the picture-in-picture application is activated, the playback device 401 takes into account the ease of display, and the subtitle stream (PG TextST stream) or the PG / text subtitle stream (PiP PG TextST stream) for the picture-in-picture application Only one of them may be displayed, or both a subtitle stream (PG TextST stream) and a PG / text subtitle stream (PiP PG TextST stream) for picture-in-picture applications can be displayed It may be a thing.

図71を用いて、ピクチャインピクチャアプリケーションが起動されたとき、再生装置401がプライマリ(すなわち、ピクチャインピクチャアプリケーション用ではない)のサブタイトルストリーム(PG TextSTストリーム)を再生表示するか否か、および、再生表示する場合はいずれのストリームを再生するかを決定するために参照するレジスタ、ならびに、ピクチャインピクチャアプリケーション用のPG・テキスト字幕ストリーム(PiP PG TextSTストリーム)を再生表示するか否か、および、再生表示する場合はいずれのストリームを再生するかを決定するために参照されるレジスタについて説明する。   71, when the picture-in-picture application is activated, whether or not the playback device 401 plays back and displays the primary (that is, not for the picture-in-picture application) subtitle stream (PG TextST stream), and A register to be referred to in order to determine which stream is to be played back when displaying, and whether to display and display a PG / text subtitle stream (PiP PG TextST stream) for a picture-in-picture application, and A description will be given of a register that is referred to in order to determine which stream is to be reproduced in the case of reproduction display.

#1レジスタは、プライマリのPG TextSTストリームのID番号を示すレジスタである。
すなわち、#1レジスタは、現在のPlayItemのSTN_tableに登録されているプライマリのPG TextSTの中で、再生されるPG TextSTストリームを示すものである。
The # 1 register is a register indicating the ID number of the primary PG TextST stream.
That is, the # 1 register indicates a PG TextST stream to be reproduced in the primary PG TextST registered in the STN_table of the current PlayItem.

#1レジスタにおいて、disp_flag(display_flag)の値が0であるとき、プライマリのPG TextSTストリームは表示されず、disp_flagの値が1であるとき、プライマリのPG TextSTストリームは表示される。また、#1レジスタにおいて、PG TextST stream numberは、現在のPlayItem()のSTN_table()に登録されているプライマリのPG Text STのID番号である。   In the # 1 register, when the value of disp_flag (display_flag) is 0, the primary PG TextST stream is not displayed, and when the value of disp_flag is 1, the primary PG TextST stream is displayed. In the # 1 register, PG TextST stream number is the ID number of the primary PG Text ST registered in STN_table () of the current PlayItem ().

そして、#2レジスタは、ピクチャインピクチャアプリケーション用のPG TextSTストリームのID番号を示すレジスタである。   The # 2 register is a register indicating the ID number of the PG TextST stream for the picture-in-picture application.

#2レジスタにおいて、disp_flagの値が0である場合、ピクチャインピクチャアプリケーション用のPG TextSTストリームは表示されず、disp_flagの値が1である場合、ピクチャインピクチャアプリケーション用のPG TextSTストリームは表示される。また、PiP PG TextST stream numberは、現在のPlayItem()のSTN_table()に登録されているピクチャインピクチャアプリケーション用PG TextSTストリームのID番号を示す。そして、invalid_flagの値が0である場合、ピクチャインピクチャアプリケーション用のPG TextSTストリームのID番号は有効であり、1の場合には、無効である。   In the # 2 register, when the value of disp_flag is 0, the PG TextST stream for the picture-in-picture application is not displayed, and when the value of disp_flag is 1, the PG TextST stream for the picture-in-picture application is displayed. . PiP PG TextST stream number indicates the ID number of the PG TextST stream for picture-in-picture application registered in STN_table () of the current PlayItem (). When the value of invalid_flag is 0, the ID number of the PG TextST stream for the picture-in-picture application is valid, and when it is 1, it is invalid.

なお、PG TextST stream numberに0xFFが登録されている場合、PG TextSTストリームが選択されていないか、または、存在しない。そして、PiP PG TextST stream numberに0xFFが登録されている場合、ピクチャインピクチャ用のTextSTストリームが選択されていないか、または、存在しない。   When 0xFF is registered in PG TextST stream number, the PG TextST stream is not selected or does not exist. When 0xFF is registered in the PiP PG TextST stream number, the TextST stream for picture-in-picture is not selected or does not exist.

また、PG TextST stream numberまたはPiP PG TextST stream numberに0xFF以外が登録されていた場合でもinvalid_flagやdisp_flagの組み合わせによって、表示の有効または無効が決められる。すなわち、#1レジスタ及び#2レジスタのdisp _flag=0で表示無効状態のときは、必ず、PG TextST stream numberまたはPiP PG TextST stream numberが0xFFに設定されるようになされているのではない。例えば、#1レジスタまたは#2レジスタのdisp_flag=0で表示無効状態のときは、PG TextST stream numberまたはPiP PG TextST stream numberに0xFF以外が登録されていても、PG TextST stream numberまたはPiP PG TextST stream numberに登録されている値は無視されて、表示されないようになされている。   Also, even when other than 0xFF is registered in PG TextST stream number or PiP PG TextST stream number, the validity or invalidity of display is determined by the combination of invalid_flag and disp_flag. That is, when disp_flag = 0 in the # 1 register and the # 2 register is in the display invalid state, the PG TextST stream number or the PiP PG TextST stream number is not always set to 0xFF. For example, when disp_flag = 0 in the # 1 register or # 2 register is in the display invalid state, even if a value other than 0xFF is registered in the PG TextST stream number or PiP PG TextST stream number, the PG TextST stream number or PiP PG TextST stream The value registered in number is ignored and not displayed.

これらのレジスタに設定されている値を参照することにより、再生装置401においてそれぞれのストリームの再生処理が実行される。   By referring to the values set in these registers, the playback device 401 executes playback processing of each stream.

例えば、再生装置401が、ピクチャインピクチャアプリケーションが起動されたときに、サブタイトルストリーム(PG TextSTストリーム)か、ピクチャインピクチャアプリケーション用のPG・テキスト字幕ストリーム(PiP PG TextSTストリーム)かのいずれか一方のみしか表示させないものとしている場合、#1レジスタのPG TextST stream numberに設定されている値に対応するプライマリのPG TextSTストリームが再生されるのは、disp_flagの値が1であり、#2レジスタのinvalid_flagが1に設定されているとき、または、Secondary Videoの表示が無効になっている、すなわち、ピクチャインピクチャ表示が実行されていない場合である。#1レジスタの値が変更された場合、プライマリのPG TextSTストリームの再生も直ちに変更される。   For example, when the picture-in-picture application is activated, the playback apparatus 401 has only one of a subtitle stream (PG TextST stream) and a PG / text subtitle stream (PiP PG TextST stream) for the picture-in-picture application. When only the PG TextST stream number corresponding to the value set in the PG TextST stream number of the # 1 register is reproduced, the value of disp_flag is 1, and the invalid_flag of the # 2 register is used. Is set to 1, or the display of Secondary Video is disabled, that is, the picture-in-picture display is not executed. When the value of the # 1 register is changed, the playback of the primary PG TextST stream is also changed immediately.

また、#1レジスタのPG TextST stream numberに示された値が、PlayItemのSTN_tableに登録されているPG TextSTストリームの番号と一致しなかった場合、再生されるプライマリのPG TextSTストリームは、PG TextSTストリーム自動選択ルーチンにより選択される。   In addition, when the value indicated by the PG TextST stream number in the # 1 register does not match the number of the PG TextST stream registered in the STN_table of PlayItem, the primary PG TextST stream to be played back is the PG TextST stream Selected by automatic selection routine.

自動選択ルーチンにおいては、まず、再生装置401において表示できる言語、または、表示できない言語を表す値が設定されているレジスタが参照されて、再生装置401が表示能力を有する言語が優先して選択され、次に、再生装置401に設定されている言語コードと同等のものが優先され、そして、次に、STN_table()に登録されている順番で番号が若いものから順番に優先して選択される。   In the automatic selection routine, first, a language in which a value that can be displayed on the playback device 401 or a value that represents a language that cannot be displayed is referred to, and a language that the playback device 401 has display capability is preferentially selected. Next, priority is given to the language code equivalent to the one set in the playback device 401, and then the priority is selected from the smallest number in the order registered in STN_table (). .

そして、#2レジスタのPiP PG TextST stream numberに設定されている値に対応するピクチャインピクチャアプリケーション用のPG TextSTストリームが再生されるのは、セカンダリビデオの表示が有効になっていて、かつ、#2レジスタのdisp_flagの値が1、invalid_flagが0に設定され、#2レジスタに登録されているピクチャインピクチャアプリケーション用のPiP PG TextSTのID番号が、現在のPlayItemのSTN_tableに登録されているピクチャインピクチャアプリケーション用のPiP PG TextSTストリームに含まれているときである。   Then, the PG TextST stream for the picture-in-picture application corresponding to the value set in the PiP PG TextST stream number of the # 2 register is played back when the secondary video display is enabled and the # The value of disp_flag in register 2 is set to 1, invalid_flag is set to 0, and the ID number of the PiP PG TextST for the picture-in-picture application registered in the # 2 register is the picture-in registered in the STN_table of the current PlayItem This is when it is included in the PiP PG TextST stream for picture applications.

そして、セカンダリビデオの表示が有効になっていて、かつ、#2レジスタのdisp_flagの値が1、invalid_flagが0に設定されているのに、#2レジスタに示された値が、PlayItemのSTN_tableに登録されているPiP PG TextSTストリームの番号と一致しなかった場合、再生されるピクチャインピクチャアプリケーション用のPG TextSTストリームは、PiP PG TextSTストリーム自動選択ルーチンにより選択される。   Even though the secondary video display is enabled and the disp_flag value of the # 2 register is set to 1 and the invalid_flag is set to 0, the value indicated in the # 2 register is the STN_table of the PlayItem. If the number does not match the registered PiP PG TextST stream number, the PG TextST stream for the picture-in-picture application to be reproduced is selected by the PiP PG TextST stream automatic selection routine.

自動選択ルーチンにおいては、まず、再生装置401において表示できる言語、または、表示できない言語を表す値が登録されたレジスタが参照されて、再生装置401が表示能力を有する言語が優先して選択され、次に、再生装置401に設定されている言語コードと同等のものが優先され、そして、次に、STN_table()に登録されている順番で番号が若いものから順番に優先して選択される。   In the automatic selection routine, first, a language in which a value that can be displayed on the playback device 401 or a value that represents a language that cannot be displayed is registered, and the language that the playback device 401 has display capability is preferentially selected. Next, priority is given to the language code set in the playback device 401, and then the number is selected in descending order of the number registered in STN_table ().

次に、図72を参照して、ピクチャインピクチャ表示の実行時に、プライマリのPG TextSTストリームが再生される場合の例について説明する。   Next, an example in which a primary PG TextST stream is played back when executing picture-in-picture display will be described with reference to FIG.

例えば、ピクチャインピクチャ表示が実行されていない状態(図中、「No PiP」と示されている状態)において、#1レジスタのdisp_flagが1であるとき、#2レジスタの設定にかかわらず、#1レジスタのPG TextST stream numberに設定されている値が参照され、STN_table()に登録されているPG TextST number=0x05のPG TextSTが再生表示される。   For example, when the disp_flag of the # 1 register is 1 in a state where the picture-in-picture display is not executed (a state indicated as “No PiP” in the figure), the # 2 register is set regardless of the setting of the # 2 register. A value set in PG TextST stream number of one register is referred to, and PG TextST of PG TextST number = 0x05 registered in STN_table () is reproduced and displayed.

そして、ナビゲーションプログラムによってコマンドが発生されるか、または、ユーザにより所定の操作入力が行われることにより、ピクチャインピクチャ表示の実行が開始(図中、PiP on)される。ピクチャインピクチャ表示の実行が開始されても、#2レジスタのinvalid_flagが1に設定(例えば、ナビゲーションプログラムによって発生されるナビゲーションコマンドによりinvalid_flagが1に設定)されていれば、ユーザがピクチャインピクチャアプリケーション用のPiP PG TextSTストリームの表示を選択したとしても(disp_flag=1であったとしても)、ピクチャインピクチャアプリケーション用のPiP PG TextSTストリームは、表示されない。すなわち、ピクチャインピクチャ表示が実行されている状態(図中、「PiP enabled」と示されている状態)においても、#1レジスタのPG TextST stream numberに設定されている値が参照され、STN_table()に登録されているPG TextST number=0x05のPG TextSTが再生表示される。   Then, when a command is generated by the navigation program or a predetermined operation input is performed by the user, execution of picture-in-picture display is started (PiP on in the figure). Even if execution of picture-in-picture display is started, if invalid_flag of the # 2 register is set to 1 (for example, invalid_flag is set to 1 by a navigation command generated by the navigation program), the user can use the picture-in-picture application. Even if the display of the PiP PG TextST stream for use is selected (even if disp_flag = 1), the PiP PG TextST stream for the picture-in-picture application is not displayed. That is, even when picture-in-picture display is being executed (in the figure, indicated as “PiP enabled” in the figure), the value set in the PG TextST stream number of the # 1 register is referred to, and STN_table ( PG TextST registered in PG TextST number = 0x05 is reproduced and displayed.

なお、ナビゲーションコマンドは、ストリームデータとは個別に記録媒体等に記録され、再生装置401によってプリロードされ、コントローラ21に供給されるようになされていてもよいが、ストリームデータに埋め込まれて記録媒体等に記録され、再生装置401によってストリームデータが再生されるのに伴ってロードされ、コントローラ21に供給されるようになされていると、コマンドの実行タイミングの制御が容易であり、好適である。   The navigation command may be recorded on a recording medium or the like separately from the stream data, preloaded by the playback device 401, and supplied to the controller 21. However, the navigation command is embedded in the stream data and the like. When the stream data is recorded and loaded as the playback device 401 is played back and supplied to the controller 21, the command execution timing can be easily controlled.

また、invalid_flagを設定しうるナビゲーションコマンドが発生される場合の例として、例えば、コンテンツ製作者が、自動でinvalid_flagが変更されるように、ストリーム中(例えば、インタラクティブグラフィックストリーム(IGストリーム)中)にナビゲーションコマンドを埋め込むようにしてもよいし、例えば、IGストリームにボタン情報およびinvalid_flagを変更する制御情報を含めて記録し、ユーザにより選択操作可能なボタンをストリーム再生中に表示可能なようにすることにより、対応するボタンがユーザにより押下される(選択される)操作入力に基づいてinvalid_flagを変更することができるような構成であってもよい。   In addition, as an example of a case where a navigation command that can set invalid_flag is generated, for example, a content creator can automatically change invalid_flag in a stream (for example, in an interactive graphic stream (IG stream)). Navigation commands may be embedded, for example, button information and control information for changing invalid_flag are recorded in the IG stream, and buttons that can be selected and operated by the user can be displayed during stream playback. Accordingly, the invalid_flag may be changed based on an operation input in which the corresponding button is pressed (selected) by the user.

そして、ピクチャインピクチャ表示の実行が終了(図中、PiP off)され、再び、ピクチャインピクチャ表示が実行されていない状態(図中、「No PiP」と示されている状態)となった場合、#1レジスタのdisp_flagが1であれば、#2レジスタの設定にかかわらず、#1レジスタのPG TextST stream numberに設定されている値が参照され、STN_table()に登録されているPG TextST number=0x05のPG TextSTが再生表示される。   Then, when the execution of picture-in-picture display is finished (PiP off in the figure) and the picture-in-picture display is not executed again (state shown as “No PiP” in the figure) If the disp_flag of the # 1 register is 1, regardless of the setting of the # 2 register, the value set in the PG TextST stream number of the # 1 register is referred to and the PG TextST number registered in the STN_table () = 0x05 PG TextST is played back and displayed.

次に、図73を参照して、ピクチャインピクチャ表示の実行時に、ピクチャインピクチャアプリケーション用のPG TextSTストリームが再生される場合の例について説明する。   Next, an example in which a PG TextST stream for a picture-in-picture application is played back when executing picture-in-picture display will be described with reference to FIG.

例えば、ピクチャインピクチャ表示が実行されていない状態(図中、「No PiP」と示されている状態)において、#1レジスタのdisp_flagが1であるとき、#2レジスタの設定にかかわらず、#1レジスタのPG TextST stream numberに設定されている値が参照され、STN_table()に登録されているPG TextST number=0x05のPG TextSTが再生表示される。   For example, when the disp_flag of the # 1 register is 1 in a state where the picture-in-picture display is not executed (a state indicated as “No PiP” in the figure), the # 2 register is set regardless of the setting of the # 2 register. A value set in PG TextST stream number of one register is referred to, and PG TextST of PG TextST number = 0x05 registered in STN_table () is reproduced and displayed.

そして、ナビゲーションプログラムによってコマンド(例えば、ストリームに埋め込まれているナビゲーションコマンド)が発生されるか、または、ユーザにより所定の操作入力が行われることにより、ピクチャインピクチャ表示の実行が開始(図中、PiP on)され、#2レジスタのinvalid_flagが0に設定され、disp_flagが1に設定されている場合、#2レジスタのPiP PG TextST stream numberに設定されている値が参照されて、STN_table()に登録されているPiP PG TextST number=0x02のピクチャインピクチャアプリケーション用のPiP PG TextSTストリームが表示される。なお、ユーザがピクチャインピクチャアプリケーション用のPiP PG TextSTストリームの表示を選択しない場合(disp_flag=0の場合)、ピクチャインピクチャアプリケーション用のPiP PG TextSTストリームは、表示されない。   Then, a command (for example, a navigation command embedded in the stream) is generated by the navigation program, or execution of picture-in-picture display is started by a predetermined operation input by the user (in the figure, PiP on), when invalid_flag of the # 2 register is set to 0 and disp_flag is set to 1, the value set in the PiP PG TextST stream number of the # 2 register is referred to in the STN_table () A PiP PG TextST stream for a picture-in-picture application with registered PiP PG TextST number = 0x02 is displayed. If the user does not select display of the PiP PG TextST stream for the picture-in-picture application (disp_flag = 0), the PiP PG TextST stream for the picture-in-picture application is not displayed.

そして、ピクチャインピクチャ表示の実行が終了(図中、PiP off)され、再び、ピクチャインピクチャ表示が実行されていない状態(図中、「No PiP」と示されている状態)となった場合、#1レジスタのdisp_flagが1であれば、#2レジスタの設定にかかわらず、#1レジスタのPG TextST stream numberに設定されている値が参照され、STN_table()に登録されているPG TextST number=0x05のPG TextSTが再生表示される。   Then, when the execution of picture-in-picture display is finished (PiP off in the figure) and the picture-in-picture display is not executed again (state shown as “No PiP” in the figure) If the disp_flag of the # 1 register is 1, regardless of the setting of the # 2 register, the value set in the PG TextST stream number of the # 1 register is referred to and the PG TextST number registered in the STN_table () = 0x05 PG TextST is played back and displayed.

なお、図72および図73において、PiP PG TextST stream numberに0xFFが登録されている場合、TextSTストリームが選択されていないか、または、存在しない。例えば、PiP PG TextST stream numberに0xFF以外が登録されていた場合でもinvalid_flagやdisp_flagの組み合わせによって、表示の有効または無効が決められる。すなわち、invalid_flag=1で表示無効状態のときは、PiP PG TextST stream numberに0xFF以外が登録されていても、PG TextST stream numberまたはPiP PG TextST stream numberに登録されている値は無視されて、表示されないようになされている。   72 and 73, when 0xFF is registered in the PiP PG TextST stream number, the TextST stream is not selected or does not exist. For example, even when a value other than 0xFF is registered in the PiP PG TextST stream number, the display validity or invalidity is determined by the combination of invalid_flag and disp_flag. That is, when invalid_flag = 1 and the display is invalid, the value registered in PG TextST stream number or PiP PG TextST stream number is ignored and displayed even if other than 0xFF is registered in PiP PG TextST stream number It is made not to be done.

また、図72、図73の例では、プライマリビデオの画像(字幕)情報に対する#1のレジスタと、セカンダリビデオ(PiP)の画像(字幕)情報に対する#2のレジスタを分けて設定しているが、レジスタを1つにしてもよい。 72 and 73, the # 1 register for primary video image (caption) information and the # 2 register for secondary video (PiP) image (caption) information are set separately. The number of registers may be one.

さらに、この例における2つのdisp_flagをを1つにして、プライマリビデオの画像(字幕)ストリームであるPG TextST stream、または、セカンダリビデオ(PiP)の画像(字幕)ストリームであるPiP PG_TextST_streamの表示をするか否かのflag、すなわち、「画像情報を示すか否かを表すflag」としてもよい。この場合、invalid_flagを、プライマリビデオの画像情報またはPiPの画像情報の、いずれの画像の表示を行うかを決定するflagとする構成とする。   Furthermore, two disp_flags in this example are set to one, and a PG TextST stream that is an image (caption) stream of a primary video or a PiP PG_TextST_stream that is an image (caption) stream of a secondary video (PiP) is displayed. Or a flag indicating whether or not image information is indicated. In this case, invalid_flag is configured to be a flag that determines which image of primary video image information or PiP image information is to be displayed.

次に、図74のフローチャートを参照して、PiP(ピクチャインピクチャ)を含んだアプリケーションのPG TextST再生処理について説明する。   Next, the PG TextST playback processing of an application including PiP (picture-in-picture) will be described with reference to the flowchart of FIG.

ステップS301において、コントローラ21は、#1レジスタに設定されているPG TextST番号(PG TextST stream number)より、対応するPG TextSTを現在のPlayItemのSTN_table()から調べる。   In step S301, the controller 21 checks the corresponding PG TextST from the STN_table () of the current PlayItem from the PG TextST number (PG TextST stream number) set in the # 1 register.

ステップS302において、コントローラ21は、所望のPG TextSTを特定して、記録媒体11、または、ローカルストレージ24に記録されているClipから、特定されたストリームを読み出し、disp_flag等に応じ、再生を行う。   In step S302, the controller 21 specifies a desired PG TextST, reads the specified stream from the clip recorded in the recording medium 11 or the local storage 24, and performs reproduction according to disp_flag or the like.

例えば、コントローラ21は、#1レジスタのdisp_flagが1であるとき、#1レジスタのPG TextST stream numberに設定されている値を参照し、STN_table()に登録されているPG TextST numberのPG TextSTを読み出し、AVデコーダ部403に供給する。読み出されたPG TextSTは、各バッファ、PIDフィルタ、スイッチ等の処理により、プレゼンテーショングラフィックスプレーン生成部93に供給されて、レンダリング画像であるプレゼンテーショングラフィックスプレーンが生成され、ビデオデータ処理部96に供給されて、プライマリビデオストリームなどと合成され、対応する音声データとともに再生出力される。   For example, when the disp_flag of the # 1 register is 1, the controller 21 refers to the value set in the PG TextST stream number of the # 1 register, and determines the PG TextST of the PG TextST number registered in STN_table (). Read and supply to the AV decoder unit 403. The read PG TextST is supplied to the presentation graphics plane generation unit 93 by processing of each buffer, PID filter, switch, and the like, and a presentation graphics plane as a rendering image is generated, and is supplied to the video data processing unit 96. Supplied, synthesized with a primary video stream, etc., and reproduced and output together with corresponding audio data.

ステップS303において、コントローラ21は、ピクチャインピクチャ表示を開始(PiPをONに)する。   In step S303, the controller 21 starts picture-in-picture display (PiP is turned ON).

ここで、ピクチャインピクチャ表示がメインパスに同期して設定されている場合、ピクチャインピクチャ表示の開始(PiPのON)およびピクチャインピクチャ表示の終了(PiPのOFF)は、そのピクチャインピクチャにより再生されるビデオストリームを示す図12SubPlayItemのIN_time, Out_timeで示される、所定のタイミングで実行される。これに対して、ピクチャインピクチャ表示がメインパスと非同期で設定されている場合、ピクチャインピクチャ表示の開始(PiPのON)およびピクチャインピクチャ表示の終了(PiPのOFF)は、ユーザの操作入力、または、ナビゲーションコマンドにより設定される。   Here, when picture-in-picture display is set in synchronization with the main path, the start of picture-in-picture display (PiP ON) and the end of picture-in-picture display (PiP OFF) depend on the picture-in-picture. This process is executed at a predetermined timing indicated by IN_time and Out_time of SubPlayItem in FIG. On the other hand, when picture-in-picture display is set asynchronously with the main path, the start of picture-in-picture display (PiP ON) and the end of picture-in-picture display (PiP OFF) are input by user operation. Or by a navigation command.

ステップS304において、コントローラ21は、ストリームに埋め込まれている、または、ストリームとは異なる位置に記憶されてプリロードされているNavigation Command(ナビゲーションコマンド)等により、必要に応じて、#2レジスタのinvalid_flagの設定値を変更する。   In step S304, the controller 21 embeds invalid_flag of the # 2 register as necessary by a navigation command or the like embedded in the stream or stored and preloaded at a position different from the stream. Change the setting value.

ステップS305において、コントローラ21は、#2レジスタにおいて、invalid_flag=0(PiP PG TextST有効)であるか否かを判断する。   In step S305, the controller 21 determines whether invalid_flag = 0 (PiP PG TextST is valid) in the # 2 register.

ステップS305において、invalid_flag=0であると判断された場合、ステップS306において、コントローラ21は、#2レジスタにおいてdisp_flag=1(PiP PGTextST表示)であるか否かを判断する。すなわち、コントローラ21は、ピクチャインピクチャ表示がメインパスと非同期で設定されている場合、ピクチャインピクチャ表示が、ユーザの操作入力により指令され、#2レジスタのdisp_flagの値が1に設定されているか否かを判断する。   When it is determined in step S305 that invalid_flag = 0, in step S306, the controller 21 determines whether or not disp_flag = 1 (PiP PGTextST display) in the # 2 register. That is, when the picture-in-picture display is set asynchronously with the main path, the controller 21 instructs the picture-in-picture display by the user's operation input, and whether the value of disp_flag of the # 2 register is set to 1 Judge whether or not.

なお、ステップS305の処理と、ステップS306の処理とにおいては、いずれの判断が先に行われるようにしてもよい。   In addition, in the process of step S305 and the process of step S306, any determination may be made first.

ステップS306において、#2レジスタのdisp_flag=1であると判断された場合、ステップS307において、図75のフローチャートを用いて後述するPiP PG TextST表示処理が実行され、処理は、後述するステップS311に進む。   If it is determined in step S306 that disp_flag of the # 2 register is 1, PiP PG TextST display processing described later is executed using the flowchart of FIG. 75 in step S307, and the processing proceeds to step S311 described later. .

なお、このとき、#1レジスタにおいて、disp_flag=1に設定されている場合、ピクチャインピクチャアプリケーション用のPiP PG TextSTストリームとともに、プライマリのPG TextSTストリームを表示するようにしてもかまわない。   At this time, when disp_flag = 1 is set in the # 1 register, the primary PG TextST stream may be displayed together with the PiP PG TextST stream for the picture-in-picture application.

ステップS305において、invalid_flag=0ではない(すなわち、invalid_flag=1である)と判断された場合、または、ステップS306において、disp_flag=1ではない(すなわち、disp_flag=0である)と判断された場合、ステップS308において、コントローラ21は、#1レジスタにおいて、disp_flag=1(PGTextST表示)であるか否かを判断する。   If it is determined in step S305 that invalid_flag = 0 is not satisfied (that is, invalid_flag = 1), or if it is determined in step S306 that disp_flag = 1 is not satisfied (that is, disp_flag = 0), In step S308, the controller 21 determines whether or not disp_flag = 1 (PGTextST display) in the # 1 register.

ステップS308において、#1レジスタのdisp_flag=1であると判断された場合、ステップS309において、コントローラ21は、#1レジスタに設定されているPG TextST番号(PG TextST stream number)より対応するPG TextSTを現在のPlayItemのSTN_table()より調べ、再生すべきPG TextSTを特定し、表示させ、処理は、後述するステップS311に進む。なお、disp_flagを1つにして、プライマリビデオの画像(字幕)ストリームであるPG TextST stream、または、PiPの画像(字幕)ストリームであるPiP PG_TextST_streamの表示をするか否かを表すflag、すなわち、「画像情報を示すか否かを表すflag」とした場合、ステップS306およびステップS308の処理においては、同じdisp_flagが参照される。   If it is determined in step S308 that disp_flag = 1 in the # 1 register, in step S309, the controller 21 selects a PG TextST corresponding to the PG TextST number (PG TextST stream number) set in the # 1 register. The PG TextST to be played back is identified and displayed by checking the STN_table () of the current PlayItem, and the process proceeds to step S311 described later. It should be noted that disp_flag is set to one, a PG TextST stream that is an image (caption) stream of a primary video, or a PiP PG_TextST_stream that is a PiP image (caption) stream, that is, “ In the case of “flag indicating whether or not image information is indicated”, the same disp_flag is referred to in the processing of step S306 and step S308.

例えば、コントローラ21は、#1レジスタのdisp_flagが1であるとき、#1レジスタのPG TextST stream numberに設定されている値を参照し、STN_table()に登録されているPG TextST numberのPG TextSTを読み出し、AVデコーダ部403に供給する。読み出されたPG TextSTは、各バッファ、PIDフィルタ、スイッチ等の処理により、プレゼンテーショングラフィックスプレーン生成部93に供給されて、レンダリング画像であるプレゼンテーショングラフィックスプレーンが生成され、ビデオデータ処理部96に供給されて、プライマリビデオストリームなどと合成され、対応する音声データとともに再生出力される。   For example, when the disp_flag of the # 1 register is 1, the controller 21 refers to the value set in the PG TextST stream number of the # 1 register, and determines the PG TextST of the PG TextST number registered in STN_table (). Read and supply to the AV decoder unit 403. The read PG TextST is supplied to the presentation graphics plane generation unit 93 by processing of each buffer, PID filter, switch, and the like, and a presentation graphics plane as a rendering image is generated, and is supplied to the video data processing unit 96. Supplied, synthesized with a primary video stream, etc., and reproduced and output together with corresponding audio data.

ステップS308において、disp_flag=1ではない(すなわち、disp_flag=0である)と判断された場合、ステップS310において、コントローラ21は、PG, TextSTの表示なし(例えば、全画面301および子画面302のいずれに対応する字幕も表示されない状態)とし、処理は、後述するステップS311に進む。   If it is determined in step S308 that disp_flag is not 1 (that is, disp_flag = 0), in step S310, the controller 21 does not display PG or TextST (for example, any of the full screen 301 and the child screen 302). The subtitles corresponding to are not displayed), and the process proceeds to step S311 described later.

ステップS307、ステップS309、または、ステップS310の処理の終了後、ステップS311において、コントローラ21は、ピクチャインピクチャ(PiP)表示が終了されるか否かを判断する。   After the process of step S307, step S309, or step S310 is completed, in step S311, the controller 21 determines whether or not the picture-in-picture (PiP) display is terminated.

上述したように、ピクチャインピクチャ表示がメインパスに同期して設定されている場合、ピクチャインピクチャ表示の開始(PiPのON)およびピクチャインピクチャ表示の終了(PiPのOFF)は、ユーザの操作入力にかかわらず、所定のタイミングで実行される。これに対して、ピクチャインピクチャ表示がメインパスと非同期で設定されている場合、ピクチャインピクチャ表示の開始(PiPのON)およびピクチャインピクチャ表示の終了(PiPのOFF)は、ユーザの操作入力により設定される。   As described above, when picture-in-picture display is set in synchronization with the main path, the start of picture-in-picture display (PiP ON) and the end of picture-in-picture display (PiP OFF) It is executed at a predetermined timing regardless of the input. On the other hand, when picture-in-picture display is set asynchronously with the main path, the start of picture-in-picture display (PiP ON) and the end of picture-in-picture display (PiP OFF) are input by user operation. Is set by

ステップS311において、ピクチャインピクチャ(PiP)表示が終了されないと判断された場合、処理は、ステップS304に戻り、それ以降の処理が繰り返される。ステップS311において、ピクチャインピクチャ(PiP)表示が終了されると判断された場合、処理は終了される。   If it is determined in step S311 that picture-in-picture (PiP) display is not terminated, the process returns to step S304, and the subsequent processes are repeated. If it is determined in step S311 that picture-in-picture (PiP) display is to be terminated, the processing is terminated.

このような処理により、ピクチャインピクチャ表示が実行される場合、#1レジスタおよび#2レジスタに設定されている値を基に、プライマリ(すなわち、ピクチャインピクチャアプリケーション用ではない)サブタイトルストリーム(PG TextSTストリーム)を再生表示するか否か、および、ピクチャインピクチャアプリケーション用のPG・テキスト字幕ストリーム(PiP PG TextSTストリーム)を再生表示するか否かが決定される。また、再生表示されるストリームはいずれのストリームであるかも、基本的には、#1レジスタまたは#2レジスタの設定により決定されるが、#1レジスタまたは#2レジスタの設定がSTN_table()の登録内容と一致しない場合には、上述した自動選択ルーチンにより、再生表示されるストリームが決定される。   When picture-in-picture display is executed by such processing, the primary (ie, not for picture-in-picture application) subtitle stream (PG TextST) is based on the values set in the # 1 register and the # 2 register. (Stream) is reproduced and displayed, and whether or not a PG / text subtitle stream (PiP PG TextST stream) for a picture-in-picture application is reproduced and displayed is determined. The stream to be played back and displayed is basically determined by the setting of the # 1 or # 2 register, but the setting of the # 1 or # 2 register is registered in the STN_table (). If the content does not match, the stream to be reproduced and displayed is determined by the above-described automatic selection routine.

次に、図75のフローチャートを参照して、図74のステップS307において実行される、PiP PG TextST表示処理について説明する。   Next, the PiP PG TextST display process executed in step S307 in FIG. 74 will be described with reference to the flowchart in FIG.

ステップS351において、コントローラ21は、#2レジスタに設定されているPiP PG TextST番号(PiP PG TextST stream number)を取得する。#2レジスタに設定されているPiP PG TextST番号(PiP PG TextST stream number)は、例えば、ストリームナンバーテーブルを参照して選択されて設定されたり、前回ピクチャインピクチャ表示が行われた場合の設定値が保持されていたり、ユーザの操作入力を基に設定されたり、または、上述したナビゲーションコマンドにより設定された値である。   In step S351, the controller 21 acquires the PiP PG TextST number (PiP PG TextST stream number) set in the # 2 register. For example, the PiP PG TextST number (PiP PG TextST stream number) set in the # 2 register is selected and set by referring to the stream number table, or the setting value when the previous picture-in-picture display was performed. Is held, is set based on a user operation input, or is a value set by the navigation command described above.

ステップS352において、コントローラ21は、図69および図70を用いて説明した第8のSTN_tableのPiP_PG_textST_stream_id_refの値に1を加えた値が、#2レジスタに保存されているか否かを判断する。   In step S352, the controller 21 determines whether or not a value obtained by adding 1 to the PiP_PG_textST_stream_id_ref value of the eighth STN_table described with reference to FIGS. 69 and 70 is stored in the # 2 register.

ステップS352において、第8のSTN_tableのPiP_PG_textST_stream_id_refの値に1を加えた値(PiP_PG_textST_id_ref+1)が、#2レジスタに保存されていると判断された場合、ステップS353において、コントローラ21は、#2レジスタに設定(換言すれば、保存)されているPiP PG TextST stream numberに対応するPiP PG TextSTを表示させ、処理は、図74のステップS307に戻り、ステップS311に進む。   If it is determined in step S352 that the value obtained by adding 1 to the value of PiP_PG_textST_stream_id_ref of the eighth STN_table (PiP_PG_textST_id_ref + 1) is stored in the # 2 register, the controller 21 sets the value in the # 2 register in step S353 In other words, the PiP PG TextST corresponding to the saved PiP PG TextST stream number is displayed, and the process returns to step S307 in FIG. 74 and proceeds to step S311.

すなわち、コントローラ21は、#2レジスタのPiP PG TextST stream numberに設定されている値に対応するPG TextSTを、ストレージドライブ22を介して記録媒体11から、または、ローカルストレージ24から読み出させる。読み出されたPG TextSTは、各バッファ、PIDフィルタ、スイッチ等の処理により、プレゼンテーショングラフィックスプレーン生成部93に供給されて、レンダリング画像であるプレゼンテーショングラフィックスプレーンが生成され、ビデオデータ処理部96に供給されて、プライマリビデオストリームやセカンダリビデオストリームなどと合成され、対応する音声データとともに再生出力される。   That is, the controller 21 reads PG TextST corresponding to the value set in the PiP PG TextST stream number of the # 2 register from the recording medium 11 or the local storage 24 via the storage drive 22. The read PG TextST is supplied to the presentation graphics plane generation unit 93 by processing of each buffer, PID filter, switch, and the like, and a presentation graphics plane as a rendering image is generated, and is supplied to the video data processing unit 96. Is supplied, synthesized with a primary video stream, a secondary video stream, and the like, and reproduced and output together with corresponding audio data.

ステップS352において、第8のSTN_tableのPiP_PG_textST_stream_id_refの値に1を加えた値が、#2レジスタに保存されていないと判断された場合、ステップS354において、コントローラ21は、STN_tableのstream_attribute()(図18)のPG_language_codeおよびtextST_language_codeを参照し、#1レジスタまたは#2レジスタとは異なる別のレジスタ、すなわち、言語の初期設定が登録されるレジスタを参照し、設定されている言語の初期設定が、自分自身(再生装置401)の再生可能言語であり、かつ、STN_tableのPiP_PG_textST_id_refの値に1を加えた値(PiP_PG_textST_id_ref+1)で規定されているか否かを判断する。   If it is determined in step S352 that a value obtained by adding 1 to the PiP_PG_textST_stream_id_ref value of the eighth STN_table is not stored in the # 2 register, the controller 21 in step S354 determines that the stream_attribute () of the STN_table (FIG. 18). ) PG_language_code and textST_language_code, refer to another register different from the # 1 register or # 2 register, that is, a register in which the initial setting of the language is registered, and the initial setting of the set language is It is determined whether or not it is a reproducible language of the (playing device 401) and is defined by a value (PiP_PG_textST_id_ref + 1) obtained by adding 1 to the PiP_PG_textST_id_ref value of the STN_table.

ステップS354において、別のレジスタに設定されている初期設定が、再生可能言語であり、かつ、STN_tableのPiP_PG_textST_id_refの値に1を加えた値で規定されていると判断された場合、ステップS355において、コントローラ21は、初期設定されている言語に対応するPiP PG TextSTを表示させ、処理は、図74のステップS307に戻り、ステップS311に進む。   If it is determined in step S354 that the initial setting set in another register is a reproducible language and is defined by a value obtained by adding 1 to the PiP_PG_textST_id_ref value of STN_table, in step S355, The controller 21 displays the PiP PG TextST corresponding to the initially set language, and the process returns to step S307 in FIG. 74 and proceeds to step S311.

すなわち、コントローラ21は、言語の初期設定が登録されるレジスタに設定されている値に対応するPG TextSTを、ストレージドライブ22を介して記録媒体11から、または、ローカルストレージ24から読み出させる。読み出されたPG TextSTは、各バッファ、PIDフィルタ、スイッチ等の処理により、プレゼンテーショングラフィックスプレーン生成部93に供給されて、レンダリング画像であるプレゼンテーショングラフィックスプレーンが生成され、ビデオデータ処理部96に供給されて、プライマリビデオストリームなどと合成され、対応する音声データとともに再生出力される。   That is, the controller 21 causes the PG TextST corresponding to the value set in the register in which the initial language setting is registered to be read from the recording medium 11 or the local storage 24 via the storage drive 22. The read PG TextST is supplied to the presentation graphics plane generation unit 93 by processing of each buffer, PID filter, switch, and the like, and a presentation graphics plane as a rendering image is generated, and is supplied to the video data processing unit 96. Supplied, synthesized with a primary video stream, etc., and reproduced and output together with corresponding audio data.

ステップS354において、別のレジスタに設定されている初期設定が再生可能言語ではない、または、第8のSTN_tableのPiP_PG_textST_id_ref+1で規定されていないと判断された場合、ステップS356において、コントローラ21は、iの設定値をi=0とする。ここで、値iは、後述するステップS357において、再生できるか否かを確認するのは、STN_tableに定義されているPiP_PG_textST_id_refのうちの何番目についてであるかを表す値である。   If it is determined in step S354 that the initial setting set in another register is not a reproducible language or is not defined in PiP_PG_textST_id_ref + 1 of the eighth STN_table, in step S356, the controller 21 The set value of i is i = 0. Here, the value i is a value representing the number of PiP_PG_textST_id_ref defined in the STN_table that confirms whether or not reproduction is possible in step S357 described later.

ステップS357において、コントローラ21は、所定のレジスタ、すなわち、再生装置141が復号可能な言語を示す情報が登録されているレジスタを参照することにより、再生装置141が復号可能な言語を確認して、i番目のPiP_PG_textST_id_refに1を加えた値に対応するPiP PG textSTを再生できるか否かを判断する。   In step S357, the controller 21 refers to a predetermined register, that is, a register in which information indicating a language that can be decoded by the playback device 141 is registered, thereby confirming the language that the playback device 141 can decode. It is determined whether or not the PiP PG textST corresponding to the value obtained by adding 1 to the i-th PiP_PG_textST_id_ref can be reproduced.

ステップS357において、再生できないと判断された場合、ステップS358において、コントローラ21は、値iを、i=i+1とし、処理は、ステップS357に戻り、それ以降の処理が繰り返される。すなわち、STN_table()に登録されている順番で番号が若いものから順番に、PiP PG textSTが再生できるか否かが判断される。   If it is determined in step S357 that reproduction cannot be performed, in step S358, the controller 21 sets the value i to i = i + 1, the process returns to step S357, and the subsequent processes are repeated. That is, it is determined whether or not PiP PG textST can be reproduced in order from the lowest number in the order registered in STN_table ().

ステップS357において、再生できると判断された場合、ステップS359において、コントローラ21は、i番目のPiP_PG_textST_id_refに1を加えた値で規定されているPG textSTを表示させ、処理は、図74のステップS307に戻り、ステップS311に進む。   If it is determined in step S357 that playback is possible, in step S359, the controller 21 displays PG textST defined by a value obtained by adding 1 to the i-th PiP_PG_textST_id_ref, and the processing is performed in step S307 of FIG. Return to step S311.

すなわち、コントローラ21は、ステップS357において再生できると判断された、i番目のPiP_PG_textST_id_refに1を加えた値で規定されているPG TextSTを、ストレージドライブ22を介して記録媒体11から、または、ローカルストレージ24から読み出させる。読み出されたPG TextSTは、各バッファ、PIDフィルタ、スイッチ等の処理により、プレゼンテーショングラフィックスプレーン生成部93に供給されて、レンダリング画像であるプレゼンテーショングラフィックスプレーンが生成され、ビデオデータ処理部96に供給されて、プライマリビデオストリームなどと合成され、対応する音声データとともに再生出力される。   That is, the controller 21 determines the PG TextST determined by adding 1 to the i-th PiP_PG_textST_id_ref determined to be reproducible in step S357 from the recording medium 11 via the storage drive 22 or the local storage. 24. The read PG TextST is supplied to the presentation graphics plane generation unit 93 by processing of each buffer, PID filter, switch, and the like, and a presentation graphics plane as a rendering image is generated, and is supplied to the video data processing unit 96. Supplied, synthesized with a primary video stream, etc., and reproduced and output together with corresponding audio data.

このような処理により、#2レジスタのPiP PG TextST stream numberに示された値が、PlayItemのSTN_tableに登録されているPiP PG TextSTストリームの番号と一致した場合、PiP PG TextST stream numberに示された値に対応するPiP PG textSTが再生される。そして、#2レジスタのPiP PG TextST stream numberに示された値が、PlayItemのSTN_tableに登録されているPiP PG TextSTストリームの番号と一致しなかった場合、再生されるピクチャインピクチャアプリケーション用のPG TextSTストリームは、PiP PG TextSTストリーム自動選択ルーチンにより選択される。   By such processing, when the value indicated in the PiP PG TextST stream number of the # 2 register matches the number of the PiP PG TextST stream registered in the STN_table of the PlayItem, it is indicated in the PiP PG TextST stream number. PiP PG textST corresponding to the value is played back. If the value indicated by the PiP PG TextST stream number in the # 2 register does not match the number of the PiP PG TextST stream registered in the STN_table of the PlayItem, the PG TextST for the picture-in-picture application to be played back A stream is selected by a PiP PG TextST stream automatic selection routine.

次に、プライマリビデオストリームと組み合わせて同時再生され得るストリームの組み合わせを定義するSTN_tableの異なる例、すなわち、STN_tableの第9の例を、図76乃至図78を用いて説明する。   Next, different examples of STN_table that define combinations of streams that can be simultaneously reproduced in combination with the primary video stream, that is, a ninth example of STN_table will be described with reference to FIGS. 76 to 78. FIG.

即ち、図76乃至図78は、プライマリビデオストリームと組み合わせて同時再生され得る、セカンダリビデオストリーム、プライマリオーディオストリーム、セカンダリオーディオストリーム、および、サブタイトルストリームの組み合わせを定義するにあたって、特に、ピクチャインピクチャアプリケーション用のプライマリオーディオをさらに定義するとともに、セカンダリオーディオストリームとプライマリオーディオストリームとの組み合わせ、セカンダリビデオストリームとセカンダリオーディオストリームとの組み合わせ、セカンダリビデオストリームとピクチャインピクチャアプリケーション用のプレゼンテーショングラフィックス(PG)またはテキスト字幕の組み合わせに加えて、セカンダリビデオとピクチャインピクチャアプリケーション用のプライマリオーディオとの組み合わせをさらに定義する場合のSTN_table()のシンタクスの第9の例(第9のSTN_table())の例を示す図である。   That is, FIGS. 76 to 78 are particularly useful for defining a combination of a secondary video stream, a primary audio stream, a secondary audio stream, and a subtitle stream that can be simultaneously played in combination with the primary video stream. In addition to defining the primary audio, the combination of secondary audio stream and primary audio stream, the combination of secondary video stream and secondary audio stream, presentation graphics (PG) or text subtitles for secondary video stream and picture-in-picture applications In addition to the combination of secondary video and picture Is a diagram showing an example of a ninth example of the syntax of STN_table () in the case of further defining the combination of the primary audio for turbocharger applications (ninth STN_table ()).

第9のSTN_table()を参照して実行される再生処理も、図52を用いて説明した再生装置401において実行可能である。なお、図中、上述した図69および図70と同一の部分については、繰り返しになるのでその説明は省略する。   The playback process executed with reference to the ninth STN_table () can also be executed in the playback device 401 described with reference to FIG. In the figure, the same parts as those shown in FIGS. 69 and 70 are repeated, and the description thereof is omitted.

新たに加えられたnumber_of_PiP_primary_audio_stream_entriesの8ビットのフィールドは、STN_tableに登録されるピクチャインピクチャ表示用のプライマリオーディオストリームの数を示す。ピクチャインピクチャ表示用のプライマリオーディオストリームの数は、PiP_primary_audio_stream_number=PiP_primary_audio_stream_id+1によって求められる。   A newly added 8-bit field of number_of_PiP_primary_audio_stream_entries indicates the number of primary audio streams for picture-in-picture display registered in the STN_table. The number of primary audio streams for picture-in-picture display is obtained by PiP_primary_audio_stream_number = PiP_primary_audio_stream_id + 1.

そして、comb_info_Secondary_video_PiP_primary_audio()のブロックは、セカンダリビデオストリームとピクチャインピクチャ表示用のプライマリオーディオストリームの組み合わせを示す。   A block of comb_info_Secondary_video_PiP_primary_audio () indicates a combination of a secondary video stream and a primary audio stream for picture-in-picture display.

comb_info_Secondary_video_PiP_primary_audio()のブロック内において、number_of_PiP_primary_audio_ref_entries_SVの8ビットのフィールドは、セカンダリビデオストリームと組み合わせることが出来るピクチャインピクチャ表示用のプライマリオーディオストリームの数を示す。そして、PiP_primary_audio_id_ref_SVの8ビットのフィールドは、セカンダリビデオストリームと組み合わせることが出来るピクチャインピクチャ表示用のプライマリオーディオストリームのIDを示す。   In the comb_info_Secondary_video_PiP_primary_audio () block, the 8-bit field of number_of_PiP_primary_audio_ref_entries_SV indicates the number of primary audio streams for picture-in-picture display that can be combined with the secondary video stream. The 8-bit field of PiP_primary_audio_id_ref_SV indicates the ID of the primary audio stream for picture-in-picture display that can be combined with the secondary video stream.

なお、上述したそれぞれのSTN_tableにおける場合と同様に、各IDの代わりに各番号、例えば、audio_stream_idの代わりに、オーディオストリーム番号(audio_stream_number)を用いたり、audio_stream_id2の代わりに、オーディオストリーム番号2(audio_stream_number2)を用いるようにしてもよい。ビデオストリームやサブタイトルストリームについても同様である。   As in the case of each STN_table described above, each number is used instead of each ID, for example, an audio stream number (audio_stream_number) is used instead of audio_stream_id, or an audio stream number 2 (audio_stream_number2) is used instead of audio_stream_id2 May be used. The same applies to the video stream and the subtitle stream.

図76乃至図78の第9のSTN_table()によれば、セカンダリオーディオとプライマリオーディオの組み合わせ、セカンダリビデオとセカンダリオーディオの組み合わせ、および、セカンダリビデオとピクチャインピクチャアプリケーション用のPG・テキスト字幕の組み合わせに加えて、セカンダリビデオとピクチャインピクチャ表示用のプライマリオーディオの組み合わせを定義することができる。   According to the ninth STN_table () of FIGS. 76 to 78, the combination of secondary audio and primary audio, the combination of secondary video and secondary audio, and the combination of secondary video and PG / text subtitles for picture-in-picture application. In addition, a combination of secondary video and primary audio for picture-in-picture display can be defined.

従って、プライマリビデオストリーム(#1ビデオストリーム)と同時再生され得る、セカンダリビデオストリーム(#2ビデオストリーム)、プライマリオーディオストリーム(#1オーディオストリーム)、セカンダリオーディオストリーム(#2オーディオストリーム)、サブタイトルストリーム(PG TextSTストリーム)、および、ピクチャインピクチャアプリケーション用のPG・テキスト字幕ストリーム(PiP PG TextSTストリーム)の組み合わせに加えて、セカンダリビデオとピクチャインピクチャ表示用のプライマリオーディオの組み合わせとして矛盾するような組み合わせを選択することを防ぐようにすることができる。   Accordingly, a secondary video stream (# 2 video stream), a primary audio stream (# 1 audio stream), a secondary audio stream (# 2 audio stream), a subtitle stream (which can be played back simultaneously with the primary video stream (# 1 video stream) ( PG TextST stream) and PG / text subtitle stream (PiP PG TextST stream) for picture-in-picture applications, as well as conflicting combinations of secondary video and primary audio for picture-in-picture display You can prevent it from being selected.

また、再生装置141においては、上述したように、再生装置141のメモリ23の書き換え可能なメモリ領域のうちの一部に、複数のレジスタが設けられ、このレジスタに設定される値を基に、再生処理が実行される。再生装置141のメモリ23の書き換え可能なメモリ領域のうちの一部には、図70を用いて説明したレジスタに加えて、さらに、ピクチャインピクチャアプリケーションが起動されたときに再生されるオーディオについての設定を行うためのレジスタが設けられており、図76乃至図78の第9のSTN_table()が用いられる場合、それらのレジスタが参照される。   Further, in the playback device 141, as described above, a plurality of registers are provided in a part of the rewritable memory area of the memory 23 of the playback device 141, and based on the values set in these registers, Playback processing is executed. In addition to the registers described with reference to FIG. 70, a part of the rewritable memory area of the memory 23 of the playback device 141 further includes audio for playback when the picture-in-picture application is activated. Registers for setting are provided, and when the ninth STN_table () of FIGS. 76 to 78 is used, these registers are referred to.

図79を用いて、図76乃至図78の第9のSTN_table()が適用されている場合において、ピクチャインピクチャアプリケーションが起動されたとき、再生装置141がいずれのオーディオストリームを再生するかを決定するために参照されるレジスタについて説明する。   79, when the ninth STN_table () of FIGS. 76 to 78 is applied, when the picture-in-picture application is started, the playback device 141 determines which audio stream to play back. A register that is referred to for this purpose will be described.

#3レジスタは、プライマリオーディオストリームのID番号を示すレジスタである。すなわち、#3レジスタは、現在のPlayItemのSTN_tableに登録されているプライマリオーディオストリームの中で、再生されるプライマリオーディオストリームが設定されているレジスタである。   The # 3 register is a register indicating the ID number of the primary audio stream. That is, the # 3 register is a register in which a primary audio stream to be played is set among primary audio streams registered in the STN_table of the current PlayItem.

ピクチャインピクチャ表示がされていないとき、#3レジスタに設定されているID番号のオーディオストリームは再生されるようになされている。ただし、#3レジスタに設定されているID番号のオーディオストリームが現在のPlayItem()のSTN_table()に登録されていない場合、プライマリオーディオストリームの自動選択ルーチンにより再生されるオーディオストリームが選択される。   When picture-in-picture display is not being performed, the audio stream having the ID number set in the # 3 register is played back. However, when the audio stream having the ID number set in the # 3 register is not registered in the STN_table () of the current PlayItem (), the audio stream to be played back is selected by the primary audio stream automatic selection routine.

一方、ピクチャインピクチャ表示時に、#3レジスタに設定されているID番号のオーディオストリームが再生されるか否かは、後述する、#5レジスタの設定によって決まる。ピクチャインピクチャ表示時のオーディオの再生の具体的な例については後述する。   On the other hand, whether or not the audio stream having the ID number set in the # 3 register is reproduced during picture-in-picture display depends on the setting of the # 5 register, which will be described later. A specific example of audio reproduction during picture-in-picture display will be described later.

そして、#4レジスタは、セカンダリオーディオストリームのID番号を示すレジスタである。すなわち、#4レジスタは、現在のPlayItemのSTN_tableに登録されているセカンダリオーディオストリームの中で、再生されるセカンダリオーディオストリームが設定されているレジスタである。   The # 4 register is a register indicating the ID number of the secondary audio stream. That is, the # 4 register is a register in which a secondary audio stream to be played is set among secondary audio streams registered in the STN_table of the current PlayItem.

ピクチャインピクチャ表示がされていないとき、#4レジスタに設定されているID番号のオーディオストリームは、ユーザの操作入力に基づいて、または、各種設定に基づいて再生されるようになされている。ただし、#4レジスタに設定されているID番号のオーディオストリームが現在のPlayItem()のSTN_table()に登録されていない場合、セカンダリオーディオストリームの自動選択ルーチンにより再生されるオーディオストリームが選択される。一方、#4レジスタに設定されているID番号のオーディオストリームがピクチャインピクチャ表示時に再生される場合もある。ピクチャインピクチャ表示時のオーディオの再生の具体的な例については後述する。   When picture-in-picture display is not being performed, the audio stream of the ID number set in the # 4 register is played based on user operation input or based on various settings. However, when the audio stream having the ID number set in the # 4 register is not registered in the STN_table () of the current PlayItem (), the audio stream to be reproduced is selected by the secondary audio stream automatic selection routine. On the other hand, an audio stream having an ID number set in the # 4 register may be played back when picture-in-picture is displayed. A specific example of audio reproduction during picture-in-picture display will be described later.

そして、#5レジスタは、ピクチャインピクチャ表示用のプライマリオーディオストリームのID番号を示すレジスタである。すなわち、#5レジスタは、現在のPlayItemのSTN_tableに登録されているピクチャインピクチャ表示用のプライマリオーディオストリームの中で、再生されるピクチャインピクチャ表示用のプライマリオーディオストリームが設定されているレジスタである。そして、#5レジスタにおいて、invalid_flagの値が0である場合、ピクチャインピクチャアプリケーション用のプライマリオーディオストリームのID番号は有効であり、1の場合には、無効である。   The # 5 register is a register indicating the ID number of the primary audio stream for picture-in-picture display. That is, the # 5 register is a register in which a primary audio stream for picture-in-picture display to be reproduced is set among primary audio streams for picture-in-picture display registered in the STN_table of the current PlayItem. . In the # 5 register, when the value of invalid_flag is 0, the ID number of the primary audio stream for the picture-in-picture application is valid, and when it is 1, it is invalid.

#5レジスタに設定されているID番号のオーディオストリームがPlayItem()のSTN_table()においてセカンダリビデオストリームとの組み合わせが許可されているピクチャインピクチャ表示用のプライマリオーディオストリームではない場合、再生されるオーディオストリームは、ピクチャインピクチャ表示用のプライマリオーディオストリームの自動選択ルーチンによって選択される。   If the audio stream with the ID number set in the # 5 register is not a primary audio stream for picture-in-picture display that is allowed to be combined with a secondary video stream in STN_table () of PlayItem (), the audio to be played back The stream is selected by a routine for automatically selecting a primary audio stream for picture-in-picture display.

なお、それぞれのオーディオストリームの自動選択ルーチンにおいては、まず、再生装置141において再生できるオーディオか、再生できないオーディオかを表すレジスタが参照されて、再生装置141が再生能力を有するオーディオが優先されて選択され、次に、再生装置141に設定されている言語コードと同等の言語のオーディオデータが優先されて選択され、そして、次に、STN_table()に登録されている順番で番号が若いものから順番に優先されて選択されるようになされている。   In each audio stream automatic selection routine, first, a register indicating whether audio can be played back by the playback apparatus 141 or audio that cannot be played back is referred to, and the playback apparatus 141 preferentially selects audio having playback capability. Next, audio data in a language equivalent to the language code set in the playback device 141 is selected with priority, and then in order from the lowest number in the order registered in STN_table () It is designed to be prioritized and selected.

なお、Secondary audio stream numberに0xFFが登録されている場合、セカンダリオーディオストリームが選択されていないか、または、存在しない。そして、PiP primary audio stream numberに0xFFが登録されている場合、ピクチャインピクチャ表示用のプライマリオーディオストリームが選択されていないか、または、存在しない。   If 0xFF is registered in Secondary audio stream number, the secondary audio stream is not selected or does not exist. If 0xFF is registered in the PiP primary audio stream number, the primary audio stream for picture-in-picture display is not selected or does not exist.

また、PiP primary audio stream numberに0xFF以外が登録されていた場合でもinvalid_flagによって、再生の有効または無効が決められる。すなわち、invalid_flag=1で再生無効状態のときは、必ず、PiP primary audio stream numberが0xFFに設定されるようになされているのではない。例えば、invalid_flag=1で再生無効状態のときは、PiP primary audio stream numberに0xFF以外が登録されていても、PiP primary audio stream numberに登録されている値は無視されて、再生されないようになされている。   Further, even when other than 0xFF is registered in the PiP primary audio stream number, the validity or invalidity of reproduction is determined by invalid_flag. That is, when invalid_flag = 1 and the playback is disabled, the PiP primary audio stream number is not always set to 0xFF. For example, when invalid_flag = 1 and playback is disabled, even if a value other than 0xFF is registered in PiP primary audio stream number, the value registered in PiP primary audio stream number is ignored and is not played back. Yes.

これらのレジスタに設定されている値を参照することにより、再生装置141においてそれぞれのストリームの再生処理が実行される。   By referring to the values set in these registers, the playback device 141 executes playback processing of each stream.

次に、図80を参照して、ピクチャインピクチャ表示の実行時に、プライマリオーディオとセカンダリオーディオとが再生(セカンダリオーディオは、ユーザの操作入力に基づいて、または、各種設定に基づいて再生)される場合の例について説明する。   Next, referring to FIG. 80, when executing picture-in-picture display, primary audio and secondary audio are played back (secondary audio is played back based on user operation input or based on various settings). An example of the case will be described.

例えば、ピクチャインピクチャ表示が実行されていない状態(図中、「No PiP」と示されている状態)において、#3レジスタのprimary audio stream numberに設定されている値が参照され、STN_table()に登録されているaudio stream number=0x05のプライマリオーディオストリームが再生される。   For example, in a state where picture-in-picture display is not being executed (a state indicated as “No PiP” in the figure), the value set in the primary audio stream number of the # 3 register is referred to, and STN_table () The primary audio stream of audio stream number = 0x05 registered in is reproduced.

このとき、#4レジスタのSecondary audio stream numberに0xFF以外が登録されていれば、設定されているID番号のオーディオストリームは、ユーザの操作入力に基づいて、または、各種設定に基づいて再生される。   At this time, if a value other than 0xFF is registered in the secondary audio stream number of the # 4 register, the audio stream having the set ID number is reproduced based on a user operation input or based on various settings. .

そして、ナビゲーションプログラムによってコマンドが発生されるか、または、ユーザにより所定の操作入力が行われることにより、ピクチャインピクチャ表示の実行が開始(図中、PiP on)される。ピクチャインピクチャ表示の実行が開始されても、#5レジスタのinvalid_flagが1に設定(例えば、ナビゲーションプログラムによって発生されるナビゲーションコマンドによりinvalid_flagが1に設定)されていれば、ピクチャインピクチャアプリケーション用のプライマリオーディオストリームは、再生されない。すなわち、ピクチャインピクチャ表示が実行されている状態(図中、「PiP enabled」と示されている状態)においても、#3レジスタのPrimary stream numberに設定されている値、および、#4レジスタのSecondary stream numberに設定されている値が参照され、STN_table()に登録されているaudio stream number=0x07が再生されるとともに、ユーザの操作入力に基づいて、または、各種設定に基づいて、audio stream2 number=0x01のオーディオストリームがミキシングされて再生される。   Then, when a command is generated by the navigation program or a predetermined operation input is performed by the user, execution of picture-in-picture display is started (PiP on in the figure). Even if the execution of picture-in-picture display is started, if invalid_flag of the # 5 register is set to 1 (for example, invalid_flag is set to 1 by a navigation command generated by the navigation program), it is used for a picture-in-picture application. The primary audio stream is not played back. That is, even when picture-in-picture display is being performed (in the state indicated as “PiP enabled” in the drawing), the value set in the Primary stream number of the # 3 register and the # 4 register The value set in Secondary stream number is referred to, audio stream number = 0x07 registered in STN_table () is reproduced, and audio stream 2 is set based on user operation input or various settings. An audio stream of number = 0x01 is mixed and reproduced.

そして、ピクチャインピクチャ表示の実行が終了(図中、PiP off)され、再び、ピクチャインピクチャ表示が実行されていない状態(図中、「No PiP」と示されている状態)となった場合、#3レジスタのPrimary stream numberに設定されている値が参照され、STN_table()に登録されているaudio stream number=0x05のオーディオストリームが再生される。   Then, when the execution of picture-in-picture display is finished (PiP off in the figure) and the picture-in-picture display is not executed again (state shown as “No PiP” in the figure) , The value set in the Primary stream number of the # 3 register is referred to, and the audio stream number = 0x05 registered in STN_table () is reproduced.

このときも、#4レジスタのSecondary audio stream numberに0xFF以外が登録されていれば、設定されているID番号のオーディオストリームは、ユーザの操作入力に基づいて、または、各種設定に基づいて再生される。   Also at this time, if other than 0xFF is registered in the secondary audio stream number of the # 4 register, the audio stream of the set ID number is reproduced based on the user's operation input or based on various settings. The

次に、図81を参照して、ピクチャインピクチャ表示の実行時に、ピクチャインピクチャアプリケーション用のプライマリオーディオストリームが再生される場合の例について説明する。   Next, an example in which a primary audio stream for a picture-in-picture application is played back when executing picture-in-picture display will be described with reference to FIG.

例えば、ピクチャインピクチャ表示が実行されていない状態(図中、「No PiP」と示されている状態)において、#3レジスタのPrimary stream numberに設定されている値が参照され、STN_table()に登録されているaudio stream number=0x05のオーディオストリームが再生される。   For example, in a state where picture-in-picture display is not executed (in the state indicated as “No PiP” in the figure), the value set in the Primary stream number of the # 3 register is referred to, and STN_table () is referred to. The registered audio stream number = 0x05 is played.

このとき、#4レジスタのSecondary audio stream numberに0xFF以外が登録されていれば、設定されているID番号のオーディオストリームは、ユーザの操作入力に基づいて、または、各種設定に基づいて再生される。   At this time, if a value other than 0xFF is registered in the secondary audio stream number of the # 4 register, the audio stream having the set ID number is reproduced based on a user operation input or based on various settings. .

そして、ナビゲーションプログラムによってコマンド(例えば、ストリームに埋め込まれているナビゲーションコマンド)が発生されるか、または、ユーザにより所定の操作入力が行われることにより、ピクチャインピクチャ表示の実行が開始(図中、PiP on)され、#5レジスタのinvalid_flagが0に設定されている場合、#5レジスタのPiP primary audio stream numberに設定されている値が参照されて、STN_table()に登録されているPiP primary audio stream number=0x07のピクチャインピクチャアプリケーション用のプライマリオーディオストリームが再生される。   Then, a command (for example, a navigation command embedded in the stream) is generated by the navigation program, or execution of picture-in-picture display is started by a predetermined operation input by the user (in the figure, PiP on) and when the invalid_flag in the # 5 register is set to 0, the value set in the PiP primary audio stream number in the # 5 register is referenced and the PiP primary audio registered in the STN_table () A primary audio stream for a picture-in-picture application with stream number = 0x07 is reproduced.

そして、ピクチャインピクチャ表示の実行が終了(図中、PiP off)され、再び、ピクチャインピクチャ表示が実行されていない状態(図中、「No PiP」と示されている状態)となった場合、#3レジスタのPrimary stream numberに設定されている値が参照され、STN_table()に登録されているaudio stream number=0x05のオーディオストリームが再生される。   Then, when the execution of picture-in-picture display is finished (PiP off in the figure) and the picture-in-picture display is not executed again (state shown as “No PiP” in the figure) , The value set in the Primary stream number of the # 3 register is referred to, and the audio stream number = 0x05 registered in STN_table () is reproduced.

このときも、#4レジスタのSecondary audio stream numberに0xFF以外が登録されていれば、設定されているID番号のオーディオストリームは、ユーザの操作入力に基づいて、または、各種設定に基づいて再生される。   Also at this time, if other than 0xFF is registered in the secondary audio stream number of the # 4 register, the audio stream of the set ID number is reproduced based on the user's operation input or based on various settings. The

なお、図80および図81において、PiP primary audio stream numberに0xFFが登録されている場合、ピクチャインピクチャ表示用のプライマリオーディオストリームが選択されていないか、または、存在しない。例えば、PiP primary audio stream numberに0xFF以外が登録されていた場合でもinvalid_flagの設定によって、再生の有効または無効が決められる。すなわち、invalid_flag=1で再生無効状態のときは、PiP primary audio stream numberに0xFF以外が登録されていても、PiP primary audio stream numberに登録されている値は無視されて、再生されないようになされている。   80 and 81, when 0xFF is registered in PiP primary audio stream number, the primary audio stream for picture-in-picture display is not selected or does not exist. For example, even when a value other than 0xFF is registered in the PiP primary audio stream number, whether playback is valid or invalid is determined by the invalid_flag setting. That is, when invalid_flag = 1 and playback is disabled, even if a value other than 0xFF is registered in PiP primary audio stream number, the value registered in PiP primary audio stream number is ignored and is not played back. Yes.

次に、図82のフローチャートを参照して、PiP(ピクチャインピクチャ)を含んだアプリケーションのオーディオストリーム再生処理1について説明する。   Next, the audio stream reproduction processing 1 for an application including PiP (picture-in-picture) will be described with reference to the flowchart in FIG.

ステップS401において、コントローラ21は、#3レジスタに設定されているprimary audio stream番号(primary audio stream number)より、対応するプライマリオーディオを現在のPlayItemのSTN_table()から調べる。   In step S401, the controller 21 checks the corresponding primary audio from the STN_table () of the current PlayItem based on the primary audio stream number (primary audio stream number) set in the # 3 register.

ステップS402において、コントローラ21は、所望のプライマリオーディオストリームを特定して、記録媒体11、または、ローカルストレージ24に記録されているClipから、特定されたストリームを読み出し、再生を行う。   In step S402, the controller 21 specifies a desired primary audio stream, reads the specified stream from the clip recorded on the recording medium 11 or the local storage 24, and performs playback.

例えば、コントローラ21は、#3レジスタのprimary audio stream numberに設定されている値を参照し、STN_table()に登録されているprimary audio stream numberのプライマリオーディオストリームを読み出し、AVデコーダ部403に供給する。読み出されたプライマリオーディオストリームは、各バッファ、PIDフィルタ、スイッチ等の処理により、1stオーディオデコーダ75−1に供給されてデコードされ、対応するビデオデータとともに再生出力される。   For example, the controller 21 refers to the value set in the primary audio stream number of the # 3 register, reads the primary audio stream of the primary audio stream number registered in STN_table (), and supplies it to the AV decoder unit 403. . The read primary audio stream is supplied to the 1st audio decoder 75-1 through the processing of each buffer, PID filter, switch, etc., decoded, and reproduced and output together with the corresponding video data.

ステップS403において、コントローラ21は、ピクチャインピクチャ表示を開始(PiPをONに)する。   In step S403, the controller 21 starts picture-in-picture display (PiP is turned ON).

ここで、ピクチャインピクチャ表示がメインパスに同期して設定されている場合、ピクチャインピクチャ表示の開始(PiPのON)およびピクチャインピクチャ表示の終了(PiPのOFF)は、ユーザの操作入力にかかわらず、所定のタイミングで実行される。これに対して、ピクチャインピクチャ表示がメインパスと非同期で設定されている場合、ピクチャインピクチャ表示の開始(PiPのON)およびピクチャインピクチャ表示の終了(PiPのOFF)は、ユーザの操作入力により設定される。   Here, when picture-in-picture display is set in synchronization with the main path, the start of picture-in-picture display (PiP ON) and the end of picture-in-picture display (PiP OFF) are the user's operation inputs. Regardless, it is executed at a predetermined timing. On the other hand, when picture-in-picture display is set asynchronously with the main path, the start of picture-in-picture display (PiP ON) and the end of picture-in-picture display (PiP OFF) are input by user operation. Is set by

ステップS404において、コントローラ21は、ストリームに埋め込まれている、または、ストリームとは異なる位置に記憶されてプリロードされているNavigation Command(ナビゲーションコマンド)等により、必要に応じて、#5レジスタのinvalid_flagの設定値を変更する。   In step S404, the controller 21 embeds invalid_flag of the # 5 register as necessary by a navigation command or the like embedded in the stream or stored in a position different from the stream and preloaded. Change the setting value.

ステップS405において、コントローラ21は、#5レジスタにおいて、invalid_flag=0(PiPプライマリオーディオストリーム有効)であるか否かを判断する。   In step S405, the controller 21 determines whether or not invalid_flag = 0 (PiP primary audio stream is valid) in the # 5 register.

ステップS405において、invalid_flag=0であると判断された場合、ステップS406において、コントローラ21は、図80を用いて説明したようにして、#5レジスタに設定されているPiP primary audio stream番号より、対応するピクチャインピクチャ表示用のプライマリオーディオを、現在のPlayItemのSTN_table()より調べる。   If it is determined in step S405 that invalid_flag = 0, in step S406, the controller 21 responds from the PiP primary audio stream number set in the # 5 register as described with reference to FIG. The primary audio for picture-in-picture display to be performed is checked from STN_table () of the current PlayItem.

ステップS407において、コントローラ21は、再生するべきピクチャインピクチャ表示用のプライマリオーディオを特定し、上述した場合と同様にしてClipから読み出してAVデコーダ部403に供給して再生させ、処理は、後述するステップS409に進む。   In step S407, the controller 21 identifies the primary audio for picture-in-picture display to be played back, is read from the clip and supplied to the AV decoder unit 403 for playback in the same manner as described above, and the process will be described later. The process proceeds to step S409.

例えば、コントローラ21は、#5レジスタのPip primary audio stream numberに設定されている値を参照し、STN_table()に登録されているPip primary audio stream numberのピクチャインピクチャ表示用のプライマリオーディオストリームを読み出し、AVデコーダ部403に供給する。読み出されたピクチャインピクチャ表示用のプライマリオーディオストリームは、各バッファ、PIDフィルタ、スイッチ等の処理により、1stオーディオデコーダ75−1に供給されてデコードされ、対応するビデオデータとともに再生出力される。なお、コントローラ21は、#5レジスタに設定されているID番号のオーディオストリームが現在のPlayItem()のSTN_table()に登録されていない場合、ピクチャインピクチャ表示用のプライマリオーディオストリームの自動選択ルーチンにより、再生されるオーディオストリームを選択する。   For example, the controller 21 reads the primary audio stream for picture-in-picture display of the Pip primary audio stream number registered in STN_table () with reference to the value set in the Pip primary audio stream number of the # 5 register , Supplied to the AV decoder unit 403. The read-out primary audio stream for picture-in-picture display is supplied to the 1st audio decoder 75-1 through processing of each buffer, PID filter, switch, and the like, and is reproduced and output together with corresponding video data. If the audio stream having the ID number set in the # 5 register is not registered in the STN_table () of the current PlayItem (), the controller 21 performs an automatic selection routine for a primary audio stream for picture-in-picture display. Select an audio stream to be played.

ステップS405において、invalid_flag=0ではない(すなわち、invalid_flag=1である)と判断された場合、ステップS408において、コントローラ21は、図80を用いて説明したようにして、#3レジスタに設定されているprimary audio stream番号(primary audio stream number)、および、#4レジスタに設定されているsecondary audio stream番号(secondary audio stream number)より対応するプライマリとセカンダリのオーディオストリームを現在のPlayItemのSTN_table()より調べ、再生すべきプライマリとセカンダリのオーディオストリームを特定し、上述した場合と同様にしてClipから読み出してAVデコーダ部403に供給して、合成して再生させる。   If it is determined in step S405 that invalid_flag = 0 is not satisfied (that is, invalid_flag = 1), the controller 21 is set in the # 3 register in step S408 as described with reference to FIG. The primary and secondary audio streams corresponding to the primary audio stream number (primary audio stream number) and the secondary audio stream number (secondary audio stream number) set in the # 4 register are obtained from STN_table () of the current PlayItem. The primary and secondary audio streams to be reproduced are identified, read out from the Clip, supplied to the AV decoder unit 403, combined and reproduced in the same manner as described above.

例えば、コントローラ21は、#3レジスタのprimary audio stream number、および、#4レジスタのsecondary audio stream numberに設定されている値を参照し、STN_table()に登録されているプライマリとセカンダリのオーディオストリームを読み出し、AVデコーダ部403に供給する。読み出されたプライマリとセカンダリのオーディオストリームは、各バッファ、PIDフィルタ、スイッチ等の処理により、プライマリオーディオストリームは1stオーディオデコーダ75−1に、セカンダリオーディオストリームは2ndオーディオデコーダ75−2にそれぞれ供給されてデコードされ、対応するビデオデータとともに再生出力される。なお、コントローラ21は、#3レジスタまたは#4に設定されているID番号のオーディオストリームが現在のPlayItem()のSTN_table()に登録されていない場合、それぞれのオーディオストリームの自動選択ルーチンにより、再生されるオーディオストリームを選択する。   For example, the controller 21 refers to the values set in the primary audio stream number in the # 3 register and the secondary audio stream number in the # 4 register, and determines the primary and secondary audio streams registered in the STN_table (). Read and supply to the AV decoder unit 403. The read primary and secondary audio streams are supplied to the 1st audio decoder 75-1 and the secondary audio stream are supplied to the 2nd audio decoder 75-2 by processes such as buffers, PID filters, and switches. Are decoded and reproduced and output together with the corresponding video data. If the audio stream having the ID number set in the # 3 register or # 4 is not registered in the STN_table () of the current PlayItem (), the controller 21 performs playback by an automatic selection routine for each audio stream. Select the audio stream to be played.

ステップS407、または、ステップS408の処理の終了後、ステップS409において、コントローラ21は、ピクチャインピクチャ(PiP)表示が終了されるか否かを判断する。   After the process of step S407 or step S408 is completed, in step S409, the controller 21 determines whether or not the picture-in-picture (PiP) display is terminated.

上述したように、ピクチャインピクチャ表示がメインパスに同期して設定されている場合、ピクチャインピクチャ表示の開始(PiPのON)およびピクチャインピクチャ表示の終了(PiPのOFF)は、ユーザの操作入力にかかわらず、所定のタイミングで実行される。これに対して、ピクチャインピクチャ表示がメインパスと非同期で設定されている場合、ピクチャインピクチャ表示の開始(PiPのON)およびピクチャインピクチャ表示の終了(PiPのOFF)は、ユーザの操作入力により設定される。   As described above, when picture-in-picture display is set in synchronization with the main path, the start of picture-in-picture display (PiP ON) and the end of picture-in-picture display (PiP OFF) It is executed at a predetermined timing regardless of the input. On the other hand, when picture-in-picture display is set asynchronously with the main path, the start of picture-in-picture display (PiP ON) and the end of picture-in-picture display (PiP OFF) are input by user operation. Is set by

ステップS409において、ピクチャインピクチャ(PiP)表示が終了されないと判断された場合、処理は、ステップS404に戻り、それ以降の処理が繰り返される。ステップS409において、ピクチャインピクチャ(PiP)表示が終了されると判断された場合、処理は終了される。   If it is determined in step S409 that picture-in-picture (PiP) display is not terminated, the process returns to step S404, and the subsequent processes are repeated. If it is determined in step S409 that picture-in-picture (PiP) display is to be terminated, the processing is terminated.

このような処理により、ピクチャインピクチャ表示が実行される場合、#3レジスタ乃至#5レジスタに設定されている値を基に、いずれのオーディオストリームが再生されるかが決定される。なお、これらのレジスタの設定がSTN_table()の登録内容と一致しない場合には、上述した自動選択ルーチンにより、再生されるストリームが決定される。   Through such processing, when picture-in-picture display is executed, it is determined which audio stream is to be played based on the values set in the # 3 register to the # 5 register. If the settings of these registers do not match the registered contents of STN_table (), the stream to be played is determined by the above-described automatic selection routine.

次に、プライマリビデオストリームと組み合わせて同時再生され得るストリームの組み合わせを定義するSTN_tableのさらに異なる例、すなわち、STN_tableの第10の例を、図83乃至図85を用いて説明する。   Next, still another example of STN_table that defines a combination of streams that can be simultaneously reproduced in combination with the primary video stream, that is, a tenth example of STN_table will be described with reference to FIGS. 83 to 85.

即ち、図83乃至図85は、プライマリビデオストリームと組み合わせて同時再生され得る、セカンダリビデオストリーム、プライマリオーディオストリーム、セカンダリオーディオストリーム、および、サブタイトルストリームの組み合わせを定義するにあたって、第9の例における場合と同様に、ピクチャインピクチャアプリケーション用のプライマリオーディオを定義するとともに、セカンダリオーディオストリームとプライマリオーディオストリームとの組み合わせ、セカンダリビデオストリームとセカンダリオーディオストリームとの組み合わせ、セカンダリビデオストリームとピクチャインピクチャアプリケーション用のプレゼンテーショングラフィックス(PG)またはテキスト字幕の組み合わせ、セカンダリビデオとピクチャインピクチャアプリケーション用のプライマリオーディオとの組み合わせに加えて、セカンダリオーディオとピクチャインピクチャアプリケーション用のプライマリオーディオとの組み合わせをさらに定義する場合のSTN_table()のシンタクスの第10の例(第10のSTN_table())の例を示す図である。   That is, FIGS. 83 to 85 show the case of the ninth example in defining a combination of a secondary video stream, a primary audio stream, a secondary audio stream, and a subtitle stream that can be simultaneously reproduced in combination with the primary video stream. Similarly, it defines primary audio for picture-in-picture applications, a combination of secondary audio streams and primary audio streams, a combination of secondary video streams and secondary audio streams, and presentation graphics for secondary video streams and picture-in-picture applications. PG or text subtitle combination, secondary video and pict In addition to the combination with the primary audio for the in-picture application, the tenth example of the syntax of STN_table () when the combination of the secondary audio and the primary audio for the picture-in-picture application is further defined (the tenth STN_table ( It is a figure which shows the example of)).

第10のSTN_table()を参照して実行される再生処理も、図52を用いて説明した再生装置401において実行可能である。なお、図中、上述した図76乃至図79と同一の部分については、繰り返しになるのでその説明は省略する。   The playback process executed with reference to the tenth STN_table () can also be executed by the playback device 401 described with reference to FIG. In the figure, the same parts as those shown in FIGS. 76 to 79 are repeated, and the description thereof is omitted.

新たに加えられたcomb_info_Secondary_audio_PiP_primary_audio()のブロックは、セカンダリオーディオストリームとピクチャインピクチャ表示用のプライマリオーディオストリームの組み合わせを示す。   The newly added comb_info_Secondary_audio_PiP_primary_audio () block indicates a combination of a secondary audio stream and a primary audio stream for picture-in-picture display.

comb_info_Secondary_audio_PiP_primary_audio()のブロック内において、number_of_PiP_primary_audio_ref_entries_SAの8ビットのフィールドは、セカンダリオーディオストリームと組み合わせることが出来るピクチャインピクチャ表示用のプライマリオーディオストリームの数を示す。そして、PiP_primary_audio_id2_ref_SAの8ビットのフィールドは、セカンダリオーディオストリームと組み合わせることが出来るピクチャインピクチャ表示用のプライマリオーディオストリームのIDを示す。   In the comb_info_Secondary_audio_PiP_primary_audio () block, the 8-bit field of number_of_PiP_primary_audio_ref_entries_SA indicates the number of primary audio streams for picture-in-picture display that can be combined with the secondary audio stream. The 8-bit field of PiP_primary_audio_id2_ref_SA indicates the ID of the primary audio stream for picture-in-picture display that can be combined with the secondary audio stream.

なお、上述したそれぞれのSTN_tableにおける場合と同様に、各IDの代わりに各番号、例えば、audio_stream_idの代わりに、オーディオストリーム番号(audio_stream_number)を用いたり、audio_stream_id2の代わりに、オーディオストリーム番号2(audio_stream_number2)を用いるようにしてもよい。ビデオストリームやサブタイトルストリームについても同様である。   As in the case of each STN_table described above, each number is used instead of each ID, for example, an audio stream number (audio_stream_number) is used instead of audio_stream_id, or an audio stream number 2 (audio_stream_number2) is used instead of audio_stream_id2 May be used. The same applies to the video stream and the subtitle stream.

図83乃至図85の第10のSTN_table()によれば、セカンダリオーディオとプライマリオーディオの組み合わせ、セカンダリビデオとセカンダリオーディオの組み合わせ、セカンダリビデオとピクチャインピクチャアプリケーション用のPG・テキスト字幕の組み合わせ、および、セカンダリビデオとピクチャインピクチャ表示用のプライマリオーディオの組み合わせに加えて、セカンダリオーディオとピクチャインピクチャ表示用のプライマリオーディオの組み合わせを定義することができる。   83 to 85, according to the tenth STN_table (), a combination of secondary audio and primary audio, a combination of secondary video and secondary audio, a combination of secondary video and PG / text subtitle for picture-in-picture application, and In addition to a combination of secondary video and primary audio for picture-in-picture display, a combination of secondary audio and primary audio for picture-in-picture display can be defined.

従って、プライマリビデオストリーム(#1ビデオストリーム)と同時再生され得る、セカンダリビデオストリーム(#2ビデオストリーム)、プライマリオーディオストリーム(#1オーディオストリーム)、セカンダリオーディオストリーム(#2オーディオストリーム)、サブタイトルストリーム(PG TextSTストリーム)、ピクチャインピクチャアプリケーション用のPG・テキスト字幕ストリーム(PiP PG TextSTストリーム)の組み合わせ、および、セカンダリビデオとピクチャインピクチャ表示用のプライマリオーディオの組み合わせに加えて、セカンダリオーディオとピクチャインピクチャ表示用のプライマリオーディオの組み合わせとして矛盾するような組み合わせを選択することを防ぐようにすることができる。   Accordingly, a secondary video stream (# 2 video stream), a primary audio stream (# 1 audio stream), a secondary audio stream (# 2 audio stream), a subtitle stream (which can be played back simultaneously with the primary video stream (# 1 video stream) ( PG TextST stream), PG / text subtitle stream (PiP PG TextST stream) for picture-in-picture applications, and secondary video and primary audio for picture-in-picture display, plus secondary audio and picture-in-picture It is possible to prevent a conflicting combination from being selected as the primary audio combination for display.

また、再生装置141においては、上述したように、再生装置141のメモリ23の書き換え可能なメモリ領域のうちの一部に、複数のレジスタが設けられ、このレジスタに設定される値を基に、再生処理が実行される。図83乃至図85の第10のSTN_table()が用いられる場合、再生装置141のメモリ23の書き換え可能なメモリ領域のうちの一部には、図71を用いて説明したレジスタに加えて、図79を用いて説明した、ピクチャインピクチャアプリケーションが起動されたときに再生されるオーディオについての設定を行うためのレジスタが設けられる。   Further, in the playback device 141, as described above, a plurality of registers are provided in a part of the rewritable memory area of the memory 23 of the playback device 141, and based on the values set in these registers, Playback processing is executed. When the tenth STN_table () shown in FIGS. 83 to 85 is used, a part of the rewritable memory area of the memory 23 of the playback device 141 includes a part of the rewritable memory area in addition to the register described with reference to FIG. A register for setting the audio to be reproduced when the picture-in-picture application described above is started is provided.

これらのレジスタに設定されている値を参照することにより、再生装置141においてそれぞれのストリームの再生処理が実行される。   By referring to the values set in these registers, the playback device 141 executes playback processing of each stream.

また、ピクチャインピクチャ表示の実行時に、プライマリオーディオとセカンダリオーディオとが再生される場合については、図79を参照して説明したのと同様の処理が実行される。   In addition, when primary audio and secondary audio are played back during execution of picture-in-picture display, processing similar to that described with reference to FIG. 79 is executed.

次に、図86を参照して、ピクチャインピクチャ表示の実行時に、セカンダリオーディオストリームとピクチャインピクチャアプリケーション用のプライマリオーディオストリームが再生される場合の例について説明する。   Next, an example in which a secondary audio stream and a primary audio stream for a picture-in-picture application are played back when executing picture-in-picture display will be described with reference to FIG.

例えば、ピクチャインピクチャ表示が実行されていない状態(図中、「No PiP」と示されている状態)において、#3レジスタのPrimary stream numberに設定されている値が参照され、STN_table()に登録されているaudio stream number=0x05のオーディオストリームが再生される。   For example, in a state where picture-in-picture display is not executed (in the state indicated as “No PiP” in the figure), the value set in the Primary stream number of the # 3 register is referred to, and STN_table () is referred to. The registered audio stream number = 0x05 is played.

そして、ナビゲーションプログラムによってコマンド(例えば、ストリームに埋め込まれているナビゲーションコマンド)が発生されるか、または、ユーザにより所定の操作入力が行われることにより、ピクチャインピクチャ表示の実行が開始(図中、PiP on)され、#5レジスタのinvalid_flagが0に設定されている場合、#4レジスタのSecondary stream numberに設定されている値、および、#5レジスタのPiP primary audio stream numberに設定されている値が参照されて、STN_table()に登録されているaudio stream2 number=0x01のオーディオストリームとPiP primary audio stream number=0x07のピクチャインピクチャアプリケーション用のプライマリオーディオストリームとがミキシングされて再生される。   Then, a command (for example, a navigation command embedded in the stream) is generated by the navigation program, or execution of picture-in-picture display is started by a predetermined operation input by the user (in the figure, PiP on) and the invalid_flag of the # 5 register is set to 0, the value set to the secondary stream number of the # 4 register and the value set to the PiP primary audio stream number of the # 5 register , The audio stream 2 number = 0x01 registered in STN_table () and the primary audio stream for PiP primary audio stream number = 0x07 for the picture-in-picture application are mixed and reproduced.

そして、ピクチャインピクチャ表示の実行が終了(図中、PiP off)され、再び、ピクチャインピクチャ表示が実行されていない状態(図中、「No PiP」と示されている状態)となった場合、#3レジスタのPrimary stream numberに設定されている値が参照され、STN_table()に登録されているaudio stream number=0x05のオーディオストリームが再生される。   Then, when the execution of picture-in-picture display is finished (PiP off in the figure) and the picture-in-picture display is not executed again (state shown as “No PiP” in the figure) , The value set in the Primary stream number of the # 3 register is referred to, and the audio stream number = 0x05 registered in STN_table () is reproduced.

なお、図86においても、PiP primary audio stream numberに0xFFが登録されている場合、ピクチャインピクチャ表示用のプライマリオーディオストリームが選択されていないか、または、存在しない。例えば、PiP primary audio stream numberに0xFF以外が登録されていた場合でもinvalid_flagの設定によって、再生の有効または無効が決められる。すなわち、invalid_flag=1で再生無効状態のときは、PiP primary audio stream numberに0xFF以外が登録されていても、PiP primary audio stream numberに登録されている値は無視されて、再生されないようになされている。   Also in FIG. 86, when 0xFF is registered in the PiP primary audio stream number, the primary audio stream for picture-in-picture display is not selected or does not exist. For example, even when a value other than 0xFF is registered in the PiP primary audio stream number, whether playback is valid or invalid is determined by the invalid_flag setting. That is, when invalid_flag = 1 and playback is disabled, even if a value other than 0xFF is registered in PiP primary audio stream number, the value registered in PiP primary audio stream number is ignored and is not played back. Yes.

次に、図87のフローチャートを参照して、PiP(ピクチャインピクチャ)を含んだアプリケーションのオーディオストリーム再生処理2について説明する。   Next, an audio stream reproduction process 2 of an application including PiP (picture-in-picture) will be described with reference to the flowchart in FIG.

ステップS451乃至ステップS455において、図82を用いて説明したステップS401乃至ステップS405と基本的に同様の処理が実行される。   In steps S451 to S455, basically the same processing as in steps S401 to S405 described with reference to FIG. 82 is executed.

すなわち、コントローラ21は、#3レジスタに設定されているprimary audio stream番号より、対応するプライマリオーディオを現在のPlayItemのSTN_table()から調べ、所望のプライマリオーディオストリームを特定して、Clipから読み出し、再生を行い、所定のタイミングで、ピクチャインピクチャ表示を開始する。ピクチャインピクチャ表示がメインパスに同期して設定されている場合、ピクチャインピクチャ表示の開始(PiPのON)およびピクチャインピクチャ表示の終了(PiPのOFF)は、ユーザの操作入力にかかわらず、所定のタイミングで実行される。これに対して、ピクチャインピクチャ表示がメインパスと非同期で設定されている場合、ピクチャインピクチャ表示の開始(PiPのON)およびピクチャインピクチャ表示の終了(PiPのOFF)は、ユーザの操作入力により設定される。   That is, the controller 21 checks the corresponding primary audio from the STN_table () of the current PlayItem from the primary audio stream number set in the # 3 register, identifies the desired primary audio stream, reads it from the clip, and plays it And start picture-in-picture display at a predetermined timing. When picture-in-picture display is set in synchronization with the main path, the start of picture-in-picture display (PiP ON) and the end of picture-in-picture display (PiP OFF) It is executed at a predetermined timing. On the other hand, when picture-in-picture display is set asynchronously with the main path, the start of picture-in-picture display (PiP ON) and the end of picture-in-picture display (PiP OFF) are input by user operation. Is set by

コントローラ21は、ストリームに埋め込まれている、または、ストリームとは異なる位置に記憶されてプリロードされているNavigation Command(ナビゲーションコマンド)等により、必要に応じて、#5レジスタのinvalid_flagの設定値を変更する。そして、コントローラ21は、#5レジスタにおいて、invalid_flag=0(PiPプライマリオーディオストリーム有効)であるか否かを判断する。   The controller 21 changes the setting value of invalid_flag in the # 5 register as necessary by a navigation command (navigation command) embedded in the stream or stored at a different position from the stream and preloaded. To do. Then, the controller 21 determines whether or not invalid_flag = 0 (PiP primary audio stream is valid) in the # 5 register.

ステップS455において、invalid_flag=0であると判断された場合、ステップS456において、コントローラ21は、#5レジスタに設定されているPiP primary audio stream番号より、対応するピクチャインピクチャ表示用のプライマリオーディオを、現在のPlayItemのSTN_table()より調べる。   If it is determined in step S455 that invalid_flag = 0, in step S456, the controller 21 determines the corresponding primary audio for picture-in-picture display from the PiP primary audio stream number set in the # 5 register. Check STN_table () of the current PlayItem.

ステップS457において、コントローラ21は、#4レジスタに設定されているsecondary audio stream番号より、対応するセカンダリオーディオを、現在のPlayItemのSTN_table()より調べる。   In step S457, the controller 21 checks the corresponding secondary audio from the STN_table () of the current PlayItem from the secondary audio stream number set in the # 4 register.

ステップS458において、コントローラ21は、再生するべきピクチャインピクチャ表示用のプライマリオーディオおよびセカンダリオーディオを特定し、上述した場合と同様にしてClipから読み出してAVデコーダ部403に供給して、合成(ミキシング)して再生させ、処理は、後述するステップS460にすすむ。   In step S458, the controller 21 specifies the primary audio and secondary audio for picture-in-picture display to be reproduced, reads out from the clip and supplies them to the AV decoder unit 403 in the same manner as described above, and combines (mixing) them. Thus, the process proceeds to step S460 described later.

例えば、コントローラ21は、#5レジスタのPip primary audio stream number、および、#4レジスタのsecondary audio stream numberに設定されている値を参照し、STN_table()に登録されているPip primary audio stream numberのピクチャインピクチャ表示用のプライマリオーディオストリームとセカンダリオーディオストリームを読み出し、AVデコーダ部403に供給する。読み出されたピクチャインピクチャ表示用のプライマリオーディオストリームとセカンダリオーディオストリームは、各バッファ、PIDフィルタ、スイッチ等の処理により、ピクチャインピクチャ表示用のプライマリオーディオストリームは1stオーディオデコーダ75−1に供給されてデコードされ、セカンダリオーディオストリームは2ndオーディオデコーダ75−2にそれぞれ供給されてデコードされ、対応するビデオデータとともに再生出力される。なお、コントローラ21は、#5レジスタまたは#4レジスタに設定されているID番号のオーディオストリームが現在のPlayItem()のSTN_table()に登録されていない場合、それぞれのオーディオストリームの自動選択ルーチンにより、再生されるオーディオストリームを選択する。   For example, the controller 21 refers to the values set in the Pip primary audio stream number in the # 5 register and the secondary audio stream number in the # 4 register, and sets the Pip primary audio stream number registered in the STN_table (). A primary audio stream and a secondary audio stream for picture-in-picture display are read and supplied to the AV decoder unit 403. The read primary audio stream for picture-in-picture display and the secondary audio stream are supplied to the 1st audio decoder 75-1 by the processing of each buffer, PID filter, switch, and the like. The secondary audio stream is supplied to the 2nd audio decoder 75-2, decoded, and reproduced and output together with the corresponding video data. When the audio stream having the ID number set in the # 5 register or the # 4 register is not registered in the STN_table () of the current PlayItem (), the controller 21 performs an automatic selection routine for each audio stream. Select the audio stream to be played.

ステップS455において、invalid_flag=0ではない(すなわち、invalid_flag=1である)と判断された場合、ステップS459において、コントローラ21は、図80を用いて説明したようにして、#3レジスタに設定されているprimary audio stream番号(primary audio stream number)、および、#4レジスタに設定されているsecondary audio stream番号(secondary audio stream number)より対応するプライマリとセカンダリのオーディオストリームを現在のPlayItemのSTN_table()より調べ、再生すべきプライマリとセカンダリのオーディオストリームを特定し、上述した場合と同様にしてClipから読み出してAVデコーダ部403に供給して、合成して再生させる。   If it is determined in step S455 that invalid_flag = 0 is not satisfied (that is, invalid_flag = 1), in step S459, the controller 21 is set in the # 3 register as described with reference to FIG. The primary and secondary audio streams corresponding to the primary audio stream number (primary audio stream number) and the secondary audio stream number (secondary audio stream number) set in the # 4 register are obtained from STN_table () of the current PlayItem. The primary and secondary audio streams to be reproduced are identified, read out from the Clip, supplied to the AV decoder unit 403, combined and reproduced in the same manner as described above.

例えば、コントローラ21は、#3レジスタのprimary audio stream number、および、#4レジスタのsecondary audio stream numberに設定されている値を参照し、STN_table()に登録されているプライマリとセカンダリのオーディオストリームを読み出し、AVデコーダ部403に供給する。読み出されたプライマリとセカンダリのオーディオストリームは、各バッファ、PIDフィルタ、スイッチ等の処理により、プライマリオーディオストリームは1stオーディオデコーダ75−1に、セカンダリオーディオストリームは2ndオーディオデコーダ75−2にそれぞれ供給されてデコードされ、対応するビデオデータとともに再生出力される。なお、コントローラ21は、#3レジスタまたは#4に設定されているID番号のオーディオストリームが現在のPlayItem()のSTN_table()に登録されていない場合、それぞれのオーディオストリームの自動選択ルーチンにより、再生されるオーディオストリームを選択する。   For example, the controller 21 refers to the values set in the primary audio stream number in the # 3 register and the secondary audio stream number in the # 4 register, and determines the primary and secondary audio streams registered in the STN_table (). Read and supply to the AV decoder unit 403. The read primary and secondary audio streams are supplied to the 1st audio decoder 75-1 and the secondary audio stream are supplied to the 2nd audio decoder 75-2 by processes such as buffers, PID filters, and switches. Are decoded and reproduced and output together with the corresponding video data. If the audio stream having the ID number set in the # 3 register or # 4 is not registered in the STN_table () of the current PlayItem (), the controller 21 performs playback by an automatic selection routine for each audio stream. Select the audio stream to be played.

ステップS457、または、ステップS459の処理の終了後、ステップS460において、コントローラ21は、ピクチャインピクチャ(PiP)表示が終了されるか否かを判断する。   After the process of step S457 or step S459 is completed, in step S460, the controller 21 determines whether or not the picture-in-picture (PiP) display is terminated.

上述したように、ピクチャインピクチャ表示がメインパスに同期して設定されている場合、ピクチャインピクチャ表示の開始(PiPのON)およびピクチャインピクチャ表示の終了(PiPのOFF)は、ユーザの操作入力にかかわらず、所定のタイミングで実行される。これに対して、ピクチャインピクチャ表示がメインパスと非同期で設定されている場合、ピクチャインピクチャ表示の開始(PiPのON)およびピクチャインピクチャ表示の終了(PiPのOFF)は、ユーザの操作入力により設定される。   As described above, when picture-in-picture display is set in synchronization with the main path, the start of picture-in-picture display (PiP ON) and the end of picture-in-picture display (PiP OFF) It is executed at a predetermined timing regardless of the input. On the other hand, when picture-in-picture display is set asynchronously with the main path, the start of picture-in-picture display (PiP ON) and the end of picture-in-picture display (PiP OFF) are input by user operation. Is set by

ステップS460において、ピクチャインピクチャ(PiP)表示が終了されないと判断された場合、処理は、ステップS454に戻り、それ以降の処理が繰り返される。ステップS460において、ピクチャインピクチャ(PiP)表示が終了されると判断された場合、処理は終了される。   If it is determined in step S460 that picture-in-picture (PiP) display is not terminated, the process returns to step S454, and the subsequent processes are repeated. If it is determined in step S460 that the picture-in-picture (PiP) display is to be terminated, the processing is terminated.

このような処理により、ピクチャインピクチャ表示が実行される場合、#3レジスタ乃至#5レジスタに設定されている値を基に、いずれのオーディオストリームが再生されるかが決定される。なお、これらのレジスタの設定がSTN_table()の登録内容と一致しない場合には、上述した自動選択ルーチンにより、再生されるストリームが決定される。   Through such processing, when picture-in-picture display is executed, it is determined which audio stream is to be played based on the values set in the # 3 register to the # 5 register. If the settings of these registers do not match the registered contents of STN_table (), the stream to be played is determined by the above-described automatic selection routine.

次に、図88および図89を参照して、再生装置1、再生装置141、または、再生装置401において再生可能なデータが記録された記録媒体11の製造方法について、記録媒体11がディスク状の記録媒体だった場合を例として説明する。   Next, with reference to FIG. 88 and FIG. 89, regarding the manufacturing method of the recording medium 11 on which data that can be reproduced by the reproducing apparatus 1, the reproducing apparatus 141, or the reproducing apparatus 401 is recorded, the recording medium 11 has a disc shape. A case where it is a recording medium will be described as an example.

即ち、図88に示すように、例えばガラスなどよりなる原盤が用意され、その上に、例えばフォトレジストなどよりなる記録材料が塗布される。これにより、記録用原盤が製作される。 That is, as shown in FIG. 88, a master disc made of, for example, glass is prepared, and a recording material made of, for example, a photoresist is applied thereon. As a result, a recording master is produced.

そして、図89に示すように、ソフト製作処理部において、符号化装置(ビデオエンコーダ)で符号化された、再生装置1、再生装置141、または、再生装置401において再生可能な形式のビデオデータが、一時バッファに記憶され、オーディオエンコーダで符号化されたオーディオデータが、一時バッファに記憶されるとともに、更に、データエンコーダで符号化された、ストリーム以外のデータ(例えば、Indexes、Playlist、PlayItemなど)が一時バッファに記憶される。それぞれのバッファに記憶されたビデオデータ、オーディオデータ、および、ストリーム以外のデータは、多重化器(MPX)で同期信号と共に多重化され、誤り訂正符号回路(ECC)でエラー訂正用のコードが付加される。
そして、変調回路(MOD)で所定の変調がかけられ、所定のフォーマットにしたがって、例えば磁気テープなどに一旦記録され、再生装置1、再生装置141、または、再生装置401において再生可能な記録媒体11に記録されるソフトウェアが製作される。
As shown in FIG. 89, in the software production processing unit, video data in a format that can be played back by the playback device 1, the playback device 141, or the playback device 401 encoded by the encoding device (video encoder). The audio data stored in the temporary buffer and encoded by the audio encoder is stored in the temporary buffer and further encoded by the data encoder other than the stream (for example, Indexes, Playlist, PlayItem, etc.) Is stored in a temporary buffer. Video data, audio data, and data other than the stream stored in each buffer are multiplexed together with a synchronization signal by a multiplexer (MPX), and an error correction code is added by an error correction code circuit (ECC). Is done.
Then, a predetermined modulation is applied by a modulation circuit (MOD), and the recording medium 11 that is once recorded on, for example, a magnetic tape or the like according to a predetermined format and can be played back by the playback device 1, the playback device 141, or the playback device 401. Software to be recorded on is produced.

このソフトウェアを必要に応じて編集(プリマスタリング)し、光ディスクに記録すべきフォーマットの信号が生成される。そして、この記録信号に対応して、レーザビームが変調されて、このレーザビームが原盤上のフォトレジスト上に照射される。これにより、原盤上のフォトレジストが記録信号に対応して露光される。   This software is edited (premastered) as necessary, and a signal in a format to be recorded on the optical disc is generated. In response to this recording signal, the laser beam is modulated, and this laser beam is irradiated onto the photoresist on the master. Thereby, the photoresist on the master is exposed in accordance with the recording signal.

その後、この原盤を現像し、原盤上にピットを出現させる。このようにして用意された原盤に、例えば電鋳等の処理を施し、ガラス原盤上のピットを転写した金属原盤を製作する。この金属原盤から、さらに金属スタンパを製作し、これを成形用金型とする。   Then, this master is developed and pits appear on the master. The master plate thus prepared is subjected to a process such as electroforming to produce a metal master plate in which pits on the glass master plate are transferred. A metal stamper is further produced from this metal master, and this is used as a molding die.

この成形用金型に、例えばインジェクションなどによりPMMA(アクリル)またはPC(ポリカーボネート)などの材料を注入し、固定化させる。あるいは、金属スタンパ上に2P(紫外線硬化樹脂)などを塗布した後、紫外線を照射して硬化させる。これにより、金属スタンパ上のピットを、樹脂よりなるレプリカ上に転写することができる。   A material such as PMMA (acrylic) or PC (polycarbonate) is injected into this molding die by, for example, injection and fixed. Alternatively, 2P (ultraviolet curable resin) or the like is applied on the metal stamper and then cured by irradiation with ultraviolet rays. Thereby, the pits on the metal stamper can be transferred onto the replica made of resin.

このようにして生成されたレプリカ上に、反射膜が、蒸着あるいはスパッタリングなどにより形成される。あるいはまた、生成されたレプリカ上に、反射膜が、スピンコートにより形成される。   A reflective film is formed on the replica thus generated by vapor deposition or sputtering. Alternatively, a reflective film is formed on the generated replica by spin coating.

その後、このディスクに対して内外径の加工が施され、2枚のディスクを張り合わせるなどの必要な処置が施される。さらに、ラベルを貼り付けたり、ハブが取り付けられて、カートリッジに挿入される。このようにして再生装置1、再生装置141、または、再生装置401によって再生可能なデータが記録された記録媒体11が完成する。   Thereafter, the inner and outer diameters of the disk are processed, and necessary measures such as bonding two disks are performed. Further, a label is attached or a hub is attached and inserted into the cartridge. In this way, the recording medium 11 on which data that can be reproduced by the reproducing apparatus 1, the reproducing apparatus 141, or the reproducing apparatus 401 is recorded is completed.

上述した一連の処理は、ハードウエアにより実行させることもできるし、ソフトウェアにより実行させることもできる。この場合、上述した処理は、図90に示されるようなパーソナルコンピュータ500により実行される。   The series of processes described above can be executed by hardware or can be executed by software. In this case, the processing described above is executed by a personal computer 500 as shown in FIG.

図90において、CPU(Central Processing Unit)501は、ROM(Read Only Memory)502に記憶されているプログラム、または、記憶部508からRAM(Random Access Memory)503にロードされたプログラムに従って各種の処理を実行する。RAM503にはまた、CPU501が各種の処理を実行する上において必要なデータなどが適宜記憶される。   90, a CPU (Central Processing Unit) 501 performs various processes according to a program stored in a ROM (Read Only Memory) 502 or a program loaded from a storage unit 508 to a RAM (Random Access Memory) 503. Execute. The RAM 503 also appropriately stores data necessary for the CPU 501 to execute various processes.

CPU501、ROM502、およびRAM503は、内部バス504を介して相互に接続されている。この内部バス504にはまた、入出力インターフェース505も接続されている。   The CPU 501, ROM 502, and 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.

入出力インターフェース505には、キーボード、マウスなどよりなる入力部506、CRT,LCDなどよりなるディスプレイ、スピーカなどよりなる出力部507、ハードディスクなどより構成される記憶部508、並びに、モデム、ターミナルアダプタなどより構成される通信部509が接続されている。通信部509は、電話回線やCATVを含む各種のネットワークを介しての通信処理を行う。   The input / output interface 505 includes an input unit 506 including a keyboard and a mouse, a display including CRT and LCD, an output unit 507 including a speaker, a storage unit 508 including a hard disk, a modem, a terminal adapter, and the like. A communicator 509 is connected. A communication unit 509 performs communication processing via various networks including a telephone line and CATV.

入出力インターフェース505にはまた、必要に応じてドライブ510が接続され、磁気ディスク、光ディスク、光磁気ディスク、あるいは半導体メモリなどによりなるリムーバブルメディア521が適宜装着され、それから読み出されたコンピュータプログラムが、必要に応じて記憶部508にインストールされる。   A drive 510 is connected to the input / output interface 505 as necessary, and a removable medium 521 made up of a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is appropriately mounted, and a computer program read therefrom is It is installed in the storage unit 508 as necessary.

一連の処理をソフトウェアにより実行させる場合には、そのソフトウェアを構成するプログラムが、ネットワークや記録媒体からインストールされる。   When a series of processing is executed by software, a program constituting the software is installed from a network or a recording medium.

この記録媒体は、図90に示されるように、コンピュータとは別に、ユーザにプログラムを提供するために配布される、プログラムが記録されているリムーバブルメディア521よりなるパッケージメディアにより構成されるだけでなく、装置本体に予め組み込まれた状態でユーザに提供される、プログラムが記録されているROM502や記憶部508が含まれるハードディスクなどで構成される。   As shown in FIG. 90, this recording medium is not only composed of a package medium consisting of a removable medium 521 on which a program is recorded, which is distributed to provide a program to the user, separately from the computer. These are configured by a hard disk including a ROM 502 storing a program and a storage unit 508 provided to the user in a state of being pre-installed in the apparatus main body.

なお、本明細書において、コンピュータプログラムを記述するステップは、記載された順序に従って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。   In the present specification, the step of describing a computer program includes not only processing performed in time series according to the described order but also processing executed in parallel or individually even if not necessarily processed in time series. Is also included.

なお、本発明の実施の形態は、上述した実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲において種々の変更が可能である。   The embodiment of the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the gist of the present invention.

1 再生装置, 11 記録媒体, 21 コントローラ, 22 光ディスクドライブ, 23 メモリ, 24 ローカルストレージ, 26 AVデコーダ部, 32 スイッチ, 51乃至54 バッファ, 55,56 PIDフィルタ, 57乃至59 スイッチ, 71 バックグラウンドデコーダ, 72 ビデオデコーダ/1stビデオデコーダ, 73 プレゼンテーショングラフィックスデコーダ, 74 インタラクティブグラフィックスデコーダ, 75 オーディオデコーダ, 76 Text-STコンポジション, 77 スイッチ, 91 バックグラウンドプレーン生成部, 92 ビデオプレーン生成部/1stビデオプレーン生成部, 93 プレゼンテーショングラフィックスプレーン生成部, 94 インタラクティブグラフィックスプレーン生成部, 95 バッファ 96 ビデオデータ処理部, 97 ミキシング処理部, 101 ミキシング処理部, 141 再生装置, 151 AVデコーダ部, 161 PIDフィルタ, 162 スイッチ, 401 再生装置, 403 AVデコーダ部, 411 PIDフィルタ, 412 2ndビデオデコーダ, 413 2ndビデオプレーン生成部, 414 プリロード用バッファ   DESCRIPTION OF SYMBOLS 1 Playback apparatus, 11 Recording medium, 21 Controller, 22 Optical disk drive, 23 Memory, 24 Local storage, 26 AV decoder part, 32 switch, 51 thru | or 54 Buffer, 55, 56 PID filter, 57 thru | or 59 switch, 71 Background decoder , 72 video decoder / 1st 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 / 1st video Plane generator, 93 Presentation graphics plane generator, 94 Interactive graphics plane generator 95 Buffer 96 Video data processing unit, 97 mixing processing unit, 101 mixing processing unit, 141 playback device, 151 AV decoder unit, 161 PID filter, 162 switch, 401 playback device, 403 AV decoder unit, 411 PID filter, 412 2nd video Decoder, 413 2nd video plane generator, 414 Preload buffer

Claims (4)

主の再生パスによって参照され、第1のビデオストリームと第1のオーディオストリームを含む第1のストリームの時間軸上の再生区間を示す情報を含む、前記主の再生パスを構成するPlayItemの情報と、副の再生パスによって参照され、第2のビデオストリームと第2のオーディオストリームを含む第2のストリームの時間軸上の再生区間を示す情報を含む、前記副の再生パスを構成するSubPlayItemの情報と、前記PlayItemの情報に含まれ、再生するストリームの選択に用いられるテーブル情報であって、再生することが可能な前記第2のビデオストリームと前記第2のオーディオストリームの組み合わせを示す組み合わせ情報を含む前記テーブル情報と、を含む再生管理情報を装着された光ディスクから取得する取得部と、
前記第1のストリームと前記第2のストリームと効果音のデータであるサウンドデータと前記光ディスクから読み出す読み出し部と、
前記第1のストリームに含まれる前記第1のビデオストリームをデコードする第1のビデオデコーダと、
前記第2のストリームに含まれる前記第2のビデオストリームをデコードする第2のビデオデコーダと、
前記第1のストリームに含まれる前記第1のオーディオストリームをデコードする第1のオーディオデコーダと、
前記第2のストリームに含まれ、前記第2のビデオストリームと組み合わせて再生することが可能であることが前記組み合わせ情報によって示される前記第2のオーディオストリームをデコードする第2のオーディオデコーダと、
前記第1のオーディオデコーダによるデコードによって得られたオーディオデータと前記第2のオーディオデコーダによるデコードによって得られたオーディオデータを合成する第1の合成部と
前記第1の合成部による合成後のオーディオデータと前記サウンドデータを合成する第2の合成部と
を備える再生装置。
Information of PlayItems constituting the main playback path, including information indicating a playback section on the time axis of the first stream including the first video stream and the first audio stream, referred to by the main playback path. SubPlayItem information constituting the sub playback path including information indicating a playback section on the time axis of the second stream including the second video stream and the second audio stream, which is referred to by the sub playback path. Table information included in the PlayItem information and used to select a stream to be played back, and combination information indicating a combination of the second video stream and the second audio stream that can be played back. An acquisition unit for acquiring the reproduction management information including the table information from an optical disc mounted thereon ,
A reading unit for reading out the first stream, the second stream, and sound data as sound effect data from the optical disc ;
A first video decoder for decoding the first video stream included in the first stream;
A second video decoder for decoding the second video stream included in the second stream;
A first audio decoder for decoding the first audio stream included in the first stream;
A second audio decoder for decoding the second audio stream included in the second stream and indicated by the combination information to be playable in combination with the second video stream;
A first synthesis unit for synthesizing audio data obtained by decoding by the first audio decoder and audio data obtained by decoding by the second audio decoder ;
A playback device comprising: audio data after synthesis by the first synthesis unit; and a second synthesis unit that synthesizes the sound data .
前記テーブル情報には、前記第2のビデオストリームと組み合わせて再生することが可能な前記第2のオーディオストリームの識別情報がさらに含まれる
請求項1に記載の再生装置。
The playback apparatus according to claim 1, wherein the table information further includes identification information of the second audio stream that can be played back in combination with the second video stream.
主の再生パスによって参照され、第1のビデオストリームと第1のオーディオストリームを含む第1のストリームの時間軸上の再生区間を示す情報を含む、前記主の再生パスを構成するPlayItemの情報と、副の再生パスによって参照され、第2のビデオストリームと第2のオーディオストリームを含む第2のストリームの時間軸上の再生区間を示す情報を含む、前記副の再生パスを構成するSubPlayItemの情報と、前記PlayItemの情報に含まれ、再生するストリームの選択に用いられるテーブル情報であって、再生することが可能な前記第2のビデオストリームと前記第2のオーディオストリームの組み合わせを示す組み合わせ情報を含む前記テーブル情報と、を含む再生管理情報を装着された光ディスクから取得し、
前記第1のストリームと前記第2のストリームと効果音のデータであるサウンドデータと前記光ディスクから読み出し、
前記第1のストリームに含まれる前記第1のビデオストリームを第1のビデオデコーダによってデコードし、
前記第2のストリームに含まれる前記第2のビデオストリームを第2のビデオデコーダによってデコードし、
前記第1のストリームに含まれる前記第1のオーディオストリームを第1のオーディオデコーダによってデコードし、
前記第2のストリームに含まれ、前記第2のビデオストリームと組み合わせて再生することが可能であることが前記組み合わせ情報によって示される前記第2のオーディオストリームを第2のオーディオデコーダによってデコードし、
前記第1のオーディオデコーダによるデコードによって得られたオーディオデータと前記第2のオーディオデコーダによるデコードによって得られたオーディオデータを合成し、
合成後のオーディオデータと前記サウンドデータを合成する
ステップを含む再生方法。
Information of PlayItems constituting the main playback path, including information indicating a playback section on the time axis of the first stream including the first video stream and the first audio stream, referred to by the main playback path. SubPlayItem information constituting the sub playback path including information indicating a playback section on the time axis of the second stream including the second video stream and the second audio stream, which is referred to by the sub playback path. Table information included in the PlayItem information and used to select a stream to be played back, and combination information indicating a combination of the second video stream and the second audio stream that can be played back. Including the table information including the reproduction management information including, from the mounted optical disk ,
Reading out the first stream, the second stream, and sound data as sound effect data from the optical disc ;
Decoding the first video stream included in the first stream by a first video decoder;
Decoding the second video stream included in the second stream by a second video decoder;
Decoding the first audio stream included in the first stream by a first audio decoder;
A second audio decoder that decodes the second audio stream included in the second stream and indicated by the combination information to be playable in combination with the second video stream;
Combining the audio data obtained by the decoding by the first audio decoder and the audio data obtained by the decoding by the second audio decoder ;
A reproduction method comprising a step of synthesizing the synthesized audio data and the sound data .
再生装置において再生可能な光ディスクに、
主の再生パスによって参照され、第1のビデオストリームと第1のオーディオストリームを含む第1のストリームと、
副の再生パスによって参照され、第2のビデオストリームと第2のオーディオストリームを含む第2のストリームと、
ストリームの再生を管理する情報である、
前記第1のストリームの時間軸上の再生区間を示す情報を含む、前記主の再生パスを構成するPlayItemの情報と、
前記第2のストリームの時間軸上の再生区間を示す情報を含む、前記副の再生パスを構成するSubPlayItemの情報と、
前記PlayItemの情報に含まれ、再生するストリームの選択に用いられるテーブル情報であって、再生することが可能な前記第2のビデオストリームと前記第2のオーディオストリームの組み合わせを示す組み合わせ情報を含む前記テーブル情報と
を含む再生管理情報と
前記第1のオーディオストリームをデコードして得られたオーディオデータと、前記第2のビデオストリームと組み合わせて再生することが可能であることが前記組み合わせ情報によって示された前記第2のオーディオストリームをデコードして得られたオーディオデータとの合成後のオーディオデータに合成される、効果音のデータであるサウンドデータと
を記録する
ステップを含む記録方法。
On an optical disc that can be played back on a playback device,
A first stream referenced by a main playback path and including a first video stream and a first audio stream;
A second stream referenced by a secondary playback path and including a second video stream and a second audio stream;
Information that manages stream playback.
Including information indicating a playback section on the time axis of the first stream, information of PlayItems constituting the main playback path, and
SubPlayItem information constituting the sub playback path including information indicating a playback section on the time axis of the second stream;
Table information that is included in the PlayItem information and is used to select a stream to be played back, and includes combination information indicating a combination of the second video stream and the second audio stream that can be played back and reproduction management information including the table information,
Decoding the second audio stream indicated by the combination information that the audio data obtained by decoding the first audio stream and the second video stream can be reproduced in combination. And recording sound data, which is sound effect data, synthesized with the audio data synthesized with the audio data obtained as described above.
JP2011288870A 2005-03-04 2011-12-28 REPRODUCTION DEVICE, REPRODUCTION METHOD, AND RECORDING METHOD Active JP4968562B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011288870A JP4968562B2 (en) 2005-03-04 2011-12-28 REPRODUCTION DEVICE, REPRODUCTION METHOD, AND RECORDING METHOD

Applications Claiming Priority (13)

Application Number Priority Date Filing Date Title
JP2005060811 2005-03-04
JP2005060811 2005-03-04
JP2005060810 2005-03-04
JP2005060810 2005-03-04
JP2005121046 2005-04-19
JP2005121046 2005-04-19
JP2005148044 2005-05-20
JP2005148044 2005-05-20
JP2005250162 2005-08-30
JP2005250162 2005-08-30
JP2005274488 2005-09-21
JP2005274488 2005-09-21
JP2011288870A JP4968562B2 (en) 2005-03-04 2011-12-28 REPRODUCTION DEVICE, REPRODUCTION METHOD, AND RECORDING METHOD

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2006024073A Division JP4968506B2 (en) 2005-03-04 2006-02-01 REPRODUCTION DEVICE, REPRODUCTION METHOD, AND PROGRAM

Publications (2)

Publication Number Publication Date
JP2012075187A JP2012075187A (en) 2012-04-12
JP4968562B2 true JP4968562B2 (en) 2012-07-04

Family

ID=46170812

Family Applications (8)

Application Number Title Priority Date Filing Date
JP2011288874A Active JP4968566B2 (en) 2005-03-04 2011-12-28 REPRODUCTION DEVICE, REPRODUCTION METHOD, AND RECORDING METHOD
JP2011288872A Active JP4968564B2 (en) 2005-03-04 2011-12-28 REPRODUCTION DEVICE, REPRODUCTION METHOD, AND RECORDING METHOD
JP2011288868A Expired - Fee Related JP4968560B2 (en) 2005-03-04 2011-12-28 Recording method
JP2011288870A Active JP4968562B2 (en) 2005-03-04 2011-12-28 REPRODUCTION DEVICE, REPRODUCTION METHOD, AND RECORDING METHOD
JP2011288871A Active JP4968563B2 (en) 2005-03-04 2011-12-28 REPRODUCTION DEVICE, REPRODUCTION METHOD, AND RECORDING METHOD
JP2011288869A Active JP4968561B2 (en) 2005-03-04 2011-12-28 REPRODUCTION DEVICE, REPRODUCTION METHOD, AND RECORDING METHOD
JP2011288873A Active JP4968565B2 (en) 2005-03-04 2011-12-28 REPRODUCTION DEVICE, REPRODUCTION METHOD, AND RECORDING METHOD
JP2012001946A Expired - Fee Related JP5382478B2 (en) 2005-03-04 2012-01-10 Playback apparatus and playback method

Family Applications Before (3)

Application Number Title Priority Date Filing Date
JP2011288874A Active JP4968566B2 (en) 2005-03-04 2011-12-28 REPRODUCTION DEVICE, REPRODUCTION METHOD, AND RECORDING METHOD
JP2011288872A Active JP4968564B2 (en) 2005-03-04 2011-12-28 REPRODUCTION DEVICE, REPRODUCTION METHOD, AND RECORDING METHOD
JP2011288868A Expired - Fee Related JP4968560B2 (en) 2005-03-04 2011-12-28 Recording method

Family Applications After (4)

Application Number Title Priority Date Filing Date
JP2011288871A Active JP4968563B2 (en) 2005-03-04 2011-12-28 REPRODUCTION DEVICE, REPRODUCTION METHOD, AND RECORDING METHOD
JP2011288869A Active JP4968561B2 (en) 2005-03-04 2011-12-28 REPRODUCTION DEVICE, REPRODUCTION METHOD, AND RECORDING METHOD
JP2011288873A Active JP4968565B2 (en) 2005-03-04 2011-12-28 REPRODUCTION DEVICE, REPRODUCTION METHOD, AND RECORDING METHOD
JP2012001946A Expired - Fee Related JP5382478B2 (en) 2005-03-04 2012-01-10 Playback apparatus and playback method

Country Status (1)

Country Link
JP (8) JP4968566B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5861988B2 (en) 2011-04-15 2016-02-16 日立工機株式会社 centrifuge

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3784853B2 (en) * 1995-04-14 2006-06-14 株式会社東芝 Playback device, playback method and recording method
US6573819B1 (en) * 1996-12-04 2003-06-03 Matsushita Electric Industrial Co., Ltd. Optical disc for high resolution and three-dimensional image recording, optical disc reproducing device, and optical disc recording device
KR100399999B1 (en) * 2001-02-05 2003-09-29 삼성전자주식회사 Recording medium containing multi-stream recorded thereon, recording apparatus, recording method therefor, reproducing apparatus, and reproducing method therefor
JP4409150B2 (en) * 2001-06-11 2010-02-03 三星電子株式会社 Information storage medium on which multilingual markup document support information is recorded, reproducing apparatus and reproducing method thereof
JP2003101957A (en) * 2001-09-19 2003-04-04 Matsushita Electric Ind Co Ltd Multi-angle reproducing device
JP3921593B2 (en) * 2001-11-30 2007-05-30 ソニー株式会社 Information processing apparatus and method, program storage medium, program, and information recording medium
JP3954406B2 (en) * 2002-02-18 2007-08-08 パイオニア株式会社 Information recording medium, information recording apparatus and method, information reproducing apparatus and method, information recording / reproducing apparatus and method, computer program for recording or reproduction control, and data structure including control signal
JP2003249057A (en) * 2002-02-26 2003-09-05 Toshiba Corp Enhanced navigation system using digital information medium
JP4715094B2 (en) * 2003-01-30 2011-07-06 ソニー株式会社 REPRODUCTION DEVICE, REPRODUCTION METHOD, REPRODUCTION PROGRAM, AND RECORDING MEDIUM
DE602004013430T2 (en) * 2003-02-19 2009-06-04 Panasonic Corp., Kadoma RECORDING MEDIA, PLAYING DEVICE, RECORDING METHOD, PROGRAM AND PLAYBACK METHOD
EP2261922A3 (en) * 2003-02-21 2013-04-10 Panasonic Corporation Playback apparatus and method, recording apparatus and method and recording medium
JP4228767B2 (en) * 2003-04-25 2009-02-25 ソニー株式会社 REPRODUCTION DEVICE, REPRODUCTION METHOD, REPRODUCTION PROGRAM, AND RECORDING MEDIUM
WO2004114658A1 (en) * 2003-06-18 2004-12-29 Matsushita Electric Industrial Co., Ltd. Reproduction device, program, reproduction method
JP2005332521A (en) * 2004-05-21 2005-12-02 Toshiba Corp Information recording medium and information reproducing device
KR101226487B1 (en) * 2004-12-01 2013-01-28 파나소닉 주식회사 Recording medium, reproduction device, reproduction method
CN102270482A (en) * 2005-01-28 2011-12-07 松下电器产业株式会社 Recording medium, program and reproduction method
JP4870493B2 (en) * 2005-08-09 2012-02-08 パナソニック株式会社 Playback device, recording method, playback method, system LSI, program

Also Published As

Publication number Publication date
JP4968563B2 (en) 2012-07-04
JP2012075187A (en) 2012-04-12
JP2012075190A (en) 2012-04-12
JP4968564B2 (en) 2012-07-04
JP2012075189A (en) 2012-04-12
JP4968566B2 (en) 2012-07-04
JP4968565B2 (en) 2012-07-04
JP2012080586A (en) 2012-04-19
JP2012105326A (en) 2012-05-31
JP4968561B2 (en) 2012-07-04
JP5382478B2 (en) 2014-01-08
JP2012105325A (en) 2012-05-31
JP2012075188A (en) 2012-04-12
JP2012075191A (en) 2012-04-12
JP4968560B2 (en) 2012-07-04

Similar Documents

Publication Publication Date Title
JP4968506B2 (en) REPRODUCTION DEVICE, REPRODUCTION METHOD, AND PROGRAM
JP4923751B2 (en) REPRODUCTION DEVICE, RECORDING MEDIUM, AND MANUFACTURING METHOD THEREOF
JP4770601B2 (en) Information processing apparatus, information processing method, program, and program storage medium
TWI479892B (en) Reproducing apparatus and reproducing method, program, program storage medium, data structure, manufacturing method of recording medium
JP4251298B2 (en) REPRODUCTION DEVICE AND REPRODUCTION METHOD, PROGRAM, PROGRAM STORAGE MEDIUM, DATA, RECORDING MEDIUM, RECORDING DEVICE, AND RECORDING MEDIUM MANUFACTURING METHOD
JP4822081B2 (en) REPRODUCTION DEVICE, REPRODUCTION METHOD, AND RECORDING MEDIUM
JP4968562B2 (en) REPRODUCTION DEVICE, REPRODUCTION METHOD, AND RECORDING METHOD
JP4720676B2 (en) Information processing apparatus and information processing method, data structure, recording medium manufacturing method, program, and program storage medium
JP2008193604A (en) Reproducing apparatus and method, and program
JP5218872B2 (en) REPRODUCTION DEVICE, RECORDING MEDIUM, AND MANUFACTURING METHOD THEREOF
JP4821456B2 (en) Information processing apparatus, information processing method, program, data structure, and recording medium
JP2008052836A (en) Information processing apparatus, information processing method, program, and program storage medium

Legal Events

Date Code Title Description
A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20120116

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120124

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120223

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120308

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120321

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150413

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 4968562

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150413

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250