KR101169488B1 - Data processing device, data processing method, program, program recording medium, data recording medium, and data structure - Google Patents

Data processing device, data processing method, program, program recording medium, data recording medium, and data structure Download PDF

Info

Publication number
KR101169488B1
KR101169488B1 KR1020077000625A KR20077000625A KR101169488B1 KR 101169488 B1 KR101169488 B1 KR 101169488B1 KR 1020077000625 A KR1020077000625 A KR 1020077000625A KR 20077000625 A KR20077000625 A KR 20077000625A KR 101169488 B1 KR101169488 B1 KR 101169488B1
Authority
KR
South Korea
Prior art keywords
stream
data
video
control module
audio
Prior art date
Application number
KR1020077000625A
Other languages
Korean (ko)
Other versions
KR20070032321A (en
Inventor
야스시 후지나미
데쯔야 히라노
Original Assignee
소니 주식회사
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 소니 주식회사 filed Critical 소니 주식회사
Priority claimed from PCT/JP2005/009435 external-priority patent/WO2005122570A1/en
Publication of KR20070032321A publication Critical patent/KR20070032321A/en
Application granted granted Critical
Publication of KR101169488B1 publication Critical patent/KR101169488B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/13Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/146Data rate or code amount at the encoder output
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder

Abstract

본 발명은, 부호화 비디오 데이터를 해석하지 않아도, 액세스 유닛 단위에서의 부호화 비디오 데이터의 읽어내기를 가능하게 하는 데이터 처리 장치 및 데이터 처리 방법, 프로그램 및 프로그램 기록 매체, 데이터 기록 매체 및 데이터 구조에 관한 것이다. 스텝 S211에서, 액세스 유닛 단위의 부호화 비디오 데이터에서의 1이상의 디코드 개시 가능점 각각의 직전에 배치되어 있는, 부호화 비디오 데이터의 디코드에 이용되는 private_stream_2의 패킷이 탐색된다. 그리고, 스텝 S216에서, private_stream_2의 패킷에 포함되는, 그 private_stream_2의 패킷으로부터 다음의 private_stream_2의 패킷까지의 사이에 배치되어 있는 액세스 유닛 각각의 사이즈를 나타내는 AU_length에 기초하여, 액세스 유닛 단위로 부호화 비디오 데이터가 읽어내어진다. 본 발명은, 예를 들면, DVD를 이용한 게임 장치 등에 적용할 수 있다. The present invention relates to a data processing apparatus and a data processing method, a program and a program recording medium, a data recording medium and a data structure that enable reading of encoded video data in units of an access unit without analyzing encoded video data. . In step S211, the packet of private_stream_2 used for decoding of coded video data, which is disposed immediately before each of one or more decode start points in the coded video data in units of access units, is searched for. In step S216, the encoded video data is provided in units of access units based on the AU_length indicating the size of each of the access units arranged in the packet of private_stream_2 from the packet of private_stream_2 to the packet of the next private_stream_2. It is read. The present invention can be applied to, for example, a game device using a DVD.

디스크 드라이버, 드라이브 인터페이스, 비디오 디코더, 비디오 출력 인터페이스, 오디오 디코더, 메모리, 플레이어 제어 모듈, 디스크 장치 Disc driver, drive interface, video decoder, video output interface, audio decoder, memory, player control module, disc device

Description

데이터 처리 장치, 데이터 처리 방법, 프로그램 기록 매체 및 데이터 기록 매체{DATA PROCESSING DEVICE, DATA PROCESSING METHOD, PROGRAM, PROGRAM RECORDING MEDIUM, DATA RECORDING MEDIUM, AND DATA STRUCTURE}Data processing apparatus, data processing method, program recording medium and data recording medium {DATA PROCESSING DEVICE, DATA PROCESSING METHOD, PROGRAM, PROGRAM RECORDING MEDIUM, DATA RECORDING MEDIUM, AND DATA STRUCTURE}

본 발명은, 데이터 처리 장치 및 데이터 처리 방법, 프로그램 및 프로그램 기록 매체, 데이터 기록 매체 및 데이터 구조에 관한 것으로, 특히, 예를 들면, 편리성 등의 높은 데이터 처리를 가능하게 하는 데이터 처리 장치 및 데이터 처리 방법, 프로그램 및 프로그램 기록 매체, 데이터 기록 매체 및 데이터 구조에 관한 것이다. The present invention relates to a data processing apparatus and a data processing method, a program and a program recording medium, a data recording medium and a data structure, and in particular, a data processing apparatus and data enabling high data processing such as, for example, convenience. A processing method, a program and a program recording medium, a data recording medium and a data structure.

최근, 대용량으로, 랜덤 액세스가 가능한 기록 미디어로서, 예를 들면, DVD(Digital Versatile Disc)가 보급되고, 또한, DVD를 이용하여 각종 처리를 행하는 DVD 장치도 널리 보급되고 있다. In recent years, for example, a DVD (Digital Versatile Disc) has become widespread as a recording medium capable of random access with a large capacity, and a DVD device that performs various processes using a DVD has also become widespread.

DVD 장치로서는, 예를 들면, DVD에 대하여, 텔레비전 방송 프로그램의 데이터 등의 기록 재생을 행하는 DVD 레코더나, DVD에 지도 정보 등을 기록하고, 그 지도 정보의 표시를 행하는 카 네비게이션 시스템, DVD에 게임의 프로그램 등을 기록하고, 그 프로그램을 실행하는 게임 장치 등이 있다. As a DVD device, for example, a DVD recorder for recording and reproducing data of a television broadcast program, a car navigation system for recording map information and the like on a DVD, and displaying the map information, and a game on a DVD, for example. And a game device that records the program and executes the program.

또한, DVD에 대해서는, 예를 들면, 비특허 문헌 1에, 그 상세 내용이 기재되어 있다. In addition, about the DVD, the detail is described in the nonpatent literature 1, for example.

[비특허 문헌1] DVD Specifications for Read-Only Disc Part 3; Version 1.1 December 1997[Non-Patent Document 1] DVD Specifications for Read-Only Disc Part 3; Version 1.1 December 1997

<발명의 개시><Start of invention>

<발명이 해결하고자 하는 과제>Problems to be Solved by the Invention

DVD와 같이, 대량의 데이터를 기록할 수 있는 기록 미디어나, 그것을 이용하여 각종 처리를 행하는 DVD 장치 등에는, 그와 같은 대량의 데이터에 대하여, 편리성 등의 높은 데이터 처리를 행하는 것이 요청된다. Like a DVD, a recording medium capable of recording a large amount of data, a DVD device that performs various processing using the same, and the like are requested to perform a high data processing such as convenience for such a large amount of data.

본 발명은, 이러한 상황을 감안하여 이루어진 것으로, 편리성 등의 높은 데이터 처리를 행할 수 있도록 하는 것이다. This invention is made | formed in view of such a situation, and is made to be able to perform high data processing, such as convenience.

<과제를 해결하기 위한 수단>MEANS FOR SOLVING THE PROBLEMS [

본 발명의 데이터 처리 장치는, 액세스 유닛 단위의 부호화 비디오 데이터와, 액세스 유닛 단위의 부호화 비디오 데이터에서의 1이상의 디코드 개시 가능점 각각의 직전에 배치되는, 부호화 비디오 데이터의 디코드에 이용되는 이용 정보를 포함하는 부호화 데이터로부터, 이용 정보를 탐색하는 탐색 수단과, 부호화 비디오 데이터를 디코드하는 비디오 디코더를 제어하는 비디오 디코더 제어 수단으로부터의 요구에 따라서, 이용 정보에 포함되는 사이즈 정보에 기초하여, 부호화 데이터로부터 액세스 유닛 단위로 부호화 비디오 데이터를 읽어내고, 비디오 디코더에 공급하는 공급 수단을 구비하는 것을 특징으로 한다. The data processing apparatus of the present invention uses the usage information used for decoding encoded video data disposed immediately before each of the one or more decode start points in the encoded video data in the access unit and in the encoded video data in the access unit. Based on the size information included in the use information, the search means for searching for use information from the encoded data to be included and the video decoder control means for controlling the video decoder for decoding the encoded video data. And supply means for reading encoded video data in units of access units and supplying the same to a video decoder.

본 발명의 데이터 처리 방법은, 액세스 유닛 단위의 부호화 비디오 데이터와, 액세스 유닛 단위의 부호화 비디오 데이터에서의 1이상의 디코드 개시 가능점 각각의 직전에 배치되는, 부호화 비디오 데이터의 디코드에 이용되는 이용 정보를 포함하는 부호화 데이터로부터, 이용 정보를 탐색하는 탐색 스텝과, 부호화 비디오 데이터를 디코드하는 비디오 디코더를 제어하는 비디오 디코더 제어 수단으로부터의 요구에 따라서, 이용 정보에 포함되는 사이즈 정보에 기초하여, 부호화 데이터로부터 액세스 유닛 단위로 부호화 비디오 데이터를 읽어내고, 비디오 디코더에 공급하는 공급 스텝을 포함하는 것을 특징으로 한다. According to the data processing method of the present invention, usage information used for decoding encoded video data arranged immediately before each of one or more decode start points in encoded video data in an access unit and encoded video data in an access unit is used. On the basis of the size information included in the usage information, the encoded data is stored in accordance with a search step for searching for use information from the encoded data to be included and a request from the video decoder control means for controlling the video decoder for decoding the encoded video data. And a supply step of reading encoded video data in units of an access unit and supplying the same to a video decoder.

본 발명의 프로그램은, 액세스 유닛 단위의 부호화 비디오 데이터와, 액세스 유닛 단위의 부호화 비디오 데이터에서의 1이상의 디코드 개시 가능점 각각의 직전에 배치되는, 부호화 비디오 데이터의 디코드에 이용되는 이용 정보를 포함하는 부호화 데이터로부터, 이용 정보를 탐색하는 탐색 스텝과, 부호화 비디오 데이터를 디코드하는 비디오 디코더를 제어하는 비디오 디코더 제어 수단으로부터의 요구에 따라서, 이용 정보에 포함되는 사이즈 정보에 기초하여, 부호화 데이터로부터 액세스 유닛 단위로 부호화 비디오 데이터를 읽어내고, 비디오 디코더에 공급하는 공급 스텝을 포함하는 것을 특징으로 한다. The program of the present invention includes encoded video data in units of an access unit and usage information used for decoding of encoded video data, which is disposed immediately before each of one or more decode start points in the encoded video data in units of an access unit. The access unit from the encoded data, based on the size information included in the usage information, in accordance with a search step for searching for use information from the encoded data and a request from the video decoder control means for controlling the video decoder for decoding the encoded video data. And a supply step of reading encoded video data in units and supplying the same to a video decoder.

본 발명의 프로그램 기록 매체에 기록되어 있는 프로그램은, 액세스 유닛 단위의 부호화 비디오 데이터와, 액세스 유닛 단위의 부호화 비디오 데이터에서의 1이상의 디코드 개시 가능점 각각의 직전에 배치되는, 부호화 비디오 데이터의 디코드에 이용되는 이용 정보를 포함하는 부호화 데이터로부터, 이용 정보를 탐색하는 탐색 스텝과, 부호화 비디오 데이터를 디코드하는 비디오 디코더를 제어하는 비디오 디코더 제어 수단으로부터의 요구에 따라서, 이용 정보에 포함되는 사이즈 정보에 기초하여, 부호화 데이터로부터 액세스 유닛 단위로 부호화 비디오 데이터를 읽어내고, 비디오 디코더에 공급하는 공급 스텝을 포함하는 것을 특징으로 한다. The program recorded in the program recording medium of the present invention is decoded in the encoded video data arranged immediately before each of the one or more decode start points in the encoded video data in the access unit and in the encoded video data in the access unit. On the basis of the size information included in the usage information in accordance with a request from a video decoder control means for controlling a video decoder for decoding the encoded video data and a search step for searching for the usage information from the encoded data including the usage information to be used. And a supply step of reading encoded video data in units of an access unit from the encoded data and supplying the same to a video decoder.

본 발명의 데이터 기록 매체 및 데이터 구조는, 부호화 데이터가, 소정의 단위의 비디오 데이터를 부호화하여 얻어지는, 액세스 유닛 단위의 부호화 비디오 데이터와, 액세스 유닛 단위의 부호화 비디오 데이터에서의 1이상의 디코드 개시 가능점 각각의 직전에 배치되는, 부호화 비디오 데이터의 디코드에 이용되는 이용 정보를 포함하며, 이용 정보가, 그 이용 정보로부터 다음의 이용 정보까지의 사이에 배치되어 있는 1이상의 액세스 유닛 각각의 사이즈를 나타내는 사이즈 정보를 포함하는 것을 특징으로 한다. The data recording medium and the data structure of the present invention provide one or more decoding start points in encoded video data in an access unit unit and encoded video data in an access unit unit, in which encoded data is obtained by encoding video data in a predetermined unit. A size indicating the size of each of the one or more access units including usage information used for decoding the encoded video data disposed immediately before each, and the usage information disposed between the usage information and the next usage information. It is characterized by including the information.

본 발명의 데이터 처리 장치 및 데이터 처리 방법, 및 프로그램 및 프로그램 기록 매체에 기록되어 있는 프로그램에서는, 부호화 데이터로부터, 이용 정보가 탐색된다. 그리고, 부호화 비디오 데이터를 디코드하는 비디오 디코더를 제어하는 비디오 디코더 제어 수단으로부터의 요구에 따라서, 이용 정보에 포함되는 사이즈 정보에 기초하여, 부호화 데이터로부터 액세스 유닛 단위로 부호화 비디오 데이터가 읽어내어져, 비디오 디코더에 공급된다. In the data processing apparatus and data processing method of the present invention, and a program recorded in a program and a program recording medium, usage information is searched for from the encoded data. Then, in response to a request from the video decoder control means for controlling the video decoder for decoding the encoded video data, the encoded video data is read out from the encoded data in units of access units based on the size information included in the usage information, and the video is read. Supplied to the decoder.

또한, 본 발명의 데이터 기록 매체에 기록되어 있는 부호화 데이터, 및 부호화 데이터의 데이터 구조에서는, 소정의 단위의 비디오 데이터를 부호화하여 얻어지는, 액세스 유닛 단위의 부호화 비디오 데이터와, 액세스 유닛 단위의 부호화 비 디오 데이터에서의 1이상의 디코드 개시 가능점 각각의 직전에 배치되는, 부호화 비디오 데이터의 디코드에 이용되는 이용 정보를 포함하고 있고, 그 이용 정보로부터 다음의 이용 정보까지의 사이에 배치되어 있는 1이상의 액세스 유닛 각각의 사이즈를 나타내는 사이즈 정보를 포함하고 있다.Further, in the encoded data and the data structure of the encoded data recorded on the data recording medium of the present invention, the encoded video data in the unit of access unit and the encoded video in the unit of access unit are obtained by encoding video data in a predetermined unit. One or more access units including usage information used for decoding encoded video data, which is disposed immediately before each of the one or more decoding start possible points in the data, and arranged between the usage information and the next usage information. Contains size information indicating each size.

<발명의 효과>EFFECTS OF THE INVENTION [

본 발명에 따르면, 편리성 등의 높은 데이터 처리가 가능하게 된다. 특히, 부호화 비디오 데이터를 해석하지 않아도, 액세스 유닛 단위에서의 부호화 비디오 데이터의 읽어내기가 가능하게 된다.According to the present invention, high data processing such as convenience and the like becomes possible. In particular, it is possible to read encoded video data in units of an access unit without analyzing encoded video data.

도 1은 본 발명을 적용한 디스크 장치의 일 실시 형태의 하드웨어 구성예를 도시하는 블록도. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram showing a hardware configuration example of one embodiment of a disk apparatus to which the present invention is applied.

도 2는 CPU(112)가 실행하는 소프트웨어 모듈군의 구성예를 도시하는 블록도. 2 is a block diagram illustrating a configuration example of a software module group executed by the CPU 112.

도 3은 버퍼 제어 모듈(215)의 구성예를 도시하는 블록도. 3 is a block diagram illustrating a configuration example of a buffer control module 215.

도 4는 디스크(101)에서의 디렉토리 구성예를 도시하는 도면. 4 is a diagram showing an example of the directory structure of the disc 101;

도 5는 "PLAYLIST.DAT" 파일의 신택스를 도시하는 도면. 5 is a diagram illustrating syntax of a "PLAYLIST.DAT" file.

도 6은 PlayItem()의 신택스를 도시하는 도면. Fig. 6 is a diagram illustrating syntax of PlayItem ().

도 7은 PlayListMark()의 신택스를 도시하는 도면. Fig. 7 is a diagram illustrating syntax of PlayListMark ().

도 8은 mark_type의 값과, Mark()의 타입과의 관계를 도시하는 도면. Fig. 8 is a diagram showing a relationship between the value of mark_type and the type of Mark ();

도 9는 PlayList(), PlayItem(), 클립, 및 클립 스트림 파일에 저장된 프로 그램 스트림의 관계를 도시하는 도면. Fig. 9 is a diagram showing a relationship between a PlayList (), a PlayItem (), a clip, and a program stream stored in a clip stream file.

도 10은 클립 정보 파일 Clip()의 신택스를 도시하는 도면. 10 is a diagram illustrating syntax of a clip information file Clip ().

도 11은 엘리멘터리 스트림을 식별하는 stream_id 및 private_stream_id와, 엘리멘터리 스트림과의 관계를 도시하는 도면. Fig. 11 is a diagram showing a relationship between stream_id and private_stream_id identifying elementary streams and elementary streams.

도 12는 StaticInfo()의 신택스를 도시하는 도면. Fig. 12 is a diagram illustrating syntax of StaticInfo ().

도 13은 DynamicInfo()의 신택스를 도시하는 도면. Fig. 13 is a diagram illustrating syntax of DynamicInfo ().

도 14는 EP_map()의 신택스를 도시하는 도면. FIG. 14 is a diagram illustrating syntax of EP_map (). FIG.

도 15는 MPEG-2 System의 프로그램 스트림, 프로그램 스트림 팩, 및 프로그램 스트림 팩 헤더의 신택스를 도시하는 도면. FIG. 15 is a diagram illustrating syntax of a program stream, a program stream pack, and a program stream pack header of the MPEG-2 System. FIG.

도 16은 MPEG-2 System의 PES 패킷의 신택스를 도시하는 도면. 16 is a diagram illustrating syntax of a PES packet of the MPEG-2 System.

도 17은 MPEG-2 System의 PES 패킷의 신택스를 도시하는 도면. 17 is a diagram illustrating syntax of a PES packet of an MPEG-2 System.

도 18은 MPEG-2 System의 PES 패킷의 신택스를 도시하는 도면. 18 is a diagram illustrating syntax of a PES packet of an MPEG-2 System.

도 19는 MPEG-2 System에서의 PES_packet()의 stream_id에 기술되는 값과, 엘리멘터리 스트림의 속성(종류)과의 관계를 도시하는 도면. Fig. 19 is a diagram showing a relationship between a value described in stream_id of PES_packet () and an attribute (type) of an elementary stream in the MPEG-2 System.

도 20은 디스크 장치가 채용하는 stream_id를 도시하는 도면. 20 is a diagram showing a stream_id adopted by a disk device.

도 21은 private_stream1_PES_payload()의 신택스를 도시하는 도면. Fig. 21 is a diagram showing syntax of private_stream1_PES_payload ().

도 22는 private_stream_id의 값과, private_payload()에 저장되는 엘리멘터리 스트림의 속성과의 관계를 도시하는 도면. Fig. 22 is a diagram showing a relationship between a value of private_stream_id and an attribute of an elementary stream stored in private_payload ().

도 23은 private_stream2_PES_payload()의 신택스를 도시하는 도면. Fig. 23 is a diagram showing syntax of private_stream2_PES_payload ().

도 24는 au_information()의 신택스를 도시하는 도면. FIG. 24 is a diagram illustrating syntax of au_information (). FIG.

도 25는 "PLAYLIST.DAT" 파일의 구체예를 도시하는 도면. 25 is a diagram showing a specific example of a "PLAYLIST.DAT" file.

도 26은 클립 정보 파일 "00001.CLP", "00002.CLP", "00003.CLP"의 구체예를 도시하는 도면. Fig. 26 is a diagram showing specific examples of clip information files "00001.CLP", "00002.CLP", and "00003.CLP".

도 27은 클립 정보 파일 "00001.CLP" 중의 EP_map()의 구체예를 도시하는 도면. Fig. 27 is a diagram showing a specific example of EP_map () in the clip information file "00001.CLP".

도 28은 PlayList #0과 PlayList #1 중의 PlayListMark()의 구체예를 도시하는 도면. Fig. 28 is a diagram showing a specific example of PlayListMark () in PlayList # 0 and PlayList # 1.

도 29는 재생 전처리를 설명하는 플로우차트. 29 is a flowchart for describing reproduction preprocessing.

도 30은 재생 처리를 설명하는 플로우차트. 30 is a flowchart for describing reproduction processing.

도 31은 PlayItem 갈아타기 처리를 설명하는 플로우차트. Fig. 31 is a flowchart for explaining a PlayItem change process.

도 32는 타임 코드 표시 처리를 설명하는 플로우차트. 32 is a flowchart for describing time code display processing.

도 33은 스트림 절환 처리를 설명하는 플로우차트. 33 is a flowchart for describing stream switching processing.

도 34는 버퍼 제어 모듈(215)의 처리를 설명하는 플로우차트. 34 is a flowchart for describing processing of the buffer control module 215.

도 35는 버퍼 제어 모듈(215)의 처리를 설명하는 플로우차트. 35 is a flowchart for describing processing of the buffer control module 215.

도 36은 비디오 스트림의 읽어내기의 처리를 설명하는 플로우차트. Fig. 36 is a flowchart for explaining processing of reading a video stream.

도 37은 오디오 스트림의 읽어내기의 처리를 설명하는 플로우차트. Fig. 37 is a flowchart for explaining a process of reading an audio stream.

도 38은 자막 스트림의 읽어내기의 처리를 설명하는 플로우차트. Fig. 38 is a flowchart for explaining processing of reading a subtitle stream.

도 39는 재동기 처리를 설명하는 플로우차트. 39 is a flowchart for explaining resynchronization processing.

도 40은 마크 처리를 설명하는 플로우차트. 40 is a flowchart for explaining mark processing.

도 41은 출력 속성의 제어 처리를 설명하는 플로우차트. Fig. 41 is a flowchart for describing control processing of output attributes.

도 42는 클립 정보 파일 "00003.CLP"에 기술되어 있는 pts_change_point와 DynamicInfo()와의 세트의 구체예를 도시하는 도면. Fig. 42 is a diagram showing a specific example of a set of pts_change_point and DynamicInfo () described in the clip information file "00003.CLP".

도 43은 자막 표시 제어 처리를 설명하는 플로우차트. 43 is a flowchart for explaining caption display control processing.

도 44는 캡쳐 제어 처리와 백그라운드/스크린 세이버 처리를 설명하는 플로우차트. 44 is a flowchart for explaining capture control processing and background / screen saver processing.

도 45는 private_stream2_PES_payload()의 다른 신택스를 도시하는 도면. Fig. 45 is a diagram illustrating another syntax of private_stream2_PES_payload ().

도 46은 au_information()의 다른 신택스를 도시하는 도면. Fig. 46 is a diagram illustrating another syntax of au_information ().

<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>

101 : 디스크101: disk

102 : 디스크 드라이브102: disk drive

111 : 버스111: bus

112 : CPU112: CPU

113 : 메모리113: memory

114 : 드라이브 인터페이스114: drive interface

115 : 입력 인터페이스115: input interface

116 : 비디오 디코더116: video decoder

117 : 오디오 디코더117: Audio Decoder

118 : 비디오 출력 인터페이스118: video output interface

119 : 오디오 출력 인터페이스119: audio output interface

120 : 비디오 출력 단자120: video output terminal

121 : 오디오 출력 단자121: audio output terminal

201 : 오퍼레이팅 시스템201: operating system

210 : 비디오 콘텐츠 재생 프로그램210: video content playback program

211 : 스크립트 제어 모듈211: script control module

212 : 플레이어 제어 모듈212 player control module

213 : 콘텐츠 데이터 공급 모듈213: Content Data Supply Module

214 : 디코드 제어 모듈214: Decode Control Module

214A : 계시부214A: Timepiece

215 : 버퍼 제어 모듈215: Buffer Control Module

215A : 버퍼215A: Buffer

216 : 비디오 디코더 제어 모듈216: video decoder control module

217 : 오디오 디코더 제어 모듈217: audio decoder control module

218 : 자막 디코더 제어 모듈218: subtitle decoder control module

219 : 그래픽스 처리 모듈219 graphics processing module

220 : 비디오 출력 모듈220: video output module

220A : FIFO220A: FIFO

221 : 오디오 출력 모듈221: audio output module

221A : FIFO221A: FIFO

231 : 데이터 선두 포인터 기억부231: Data head pointer storage

232 : 데이터 써넣기 포인터 기억부232: data write pointer storage unit

233 : 비디오 읽어내기 기능부233: Video reading function

234 : 오디오 읽어내기 기능부234: audio reading function

235 : 자막 읽어내기 기능부235: subtitle reading function

241 : 비디오 읽어내기 포인터 기억부241: Video read pointer storage

242 : stream_id 레지스터242: stream_id register

243 : au_information() 레지스터243: au_information () register

251 : 오디오 읽어내기 포인터 기억부251: Audio read pointer storage

252 : stream_id 레지스터252: stream_id register

253 : private_stream_id 레지스터253: private_stream_id register

261 : 자막 읽어내기 기능 플래그 기억부 261: subtitle reading function flag storage unit

262 : 자막 읽어내기 포인터 기억부262: subtitle reading pointer storage unit

263 : stream_id 레지스터263 stream_id register

264 : private_stream_id 레지스터264: private_stream_id register

<발명을 실시하기 위한 최량의 형태> BEST MODE FOR CARRYING OUT THE INVENTION [

이하, 도면을 참조하여, 본 발명의 실시 형태에 대하여 설명한다. Hereinafter, embodiments of the present invention will be described with reference to the drawings.

[하드웨어 구성][Hardware Configuration]

도 1은, 본 발명을 적용한 디스크 장치의 일 실시 형태의 하드웨어의 구성예를 도시하는 블록도이다. 1 is a block diagram showing a configuration example of hardware of one embodiment of a disk apparatus to which the present invention is applied.

도 1의 디스크 장치는, 예를 들면, 디스크 플레이어나, 게임 장치, 카 네비게이션 시스템 그 외에 적용할 수 있다. The disk apparatus of FIG. 1 can be applied to, for example, a disk player, a game apparatus, or a car navigation system.

도 1의 디스크 장치에서, 디스크(101)는, 예를 들면, DVD 등의 광 디스크, 혹은 광 자기 디스크, 자기 디스크 등으로서, 비디오 데이터나, 오디오 데이터, 자막 데이터 등의 콘텐츠 데이터, 나아가서는, 콘텐츠 데이터를 재생하는 데에 필요한 데이터가 기록되어 있다. In the disk apparatus of FIG. 1, the disk 101 is, for example, an optical disk such as a DVD, a magneto-optical disk, a magnetic disk, or the like, and includes content data such as video data, audio data, subtitle data, and the like, Data necessary for reproducing the content data is recorded.

또한, 디스크(101)에 기록되는 데이터(기록 데이터)에는, 필요에 따라서, 컴퓨터가 실행 가능한 프로그램도 포함된다. 또한, 본 실시 형태에서는, 기록 매체로서, 디스크 형상의 기록 매체인 디스크(101)를 채용하지만, 그 밖에, 기록 매체로서는, 예를 들면, 반도체 메모리나, 테이프 형상의 기록 매체이어도 된다. 또한, 도 1의 디스크 장치에는, 먼 곳에 있는 디스크(101)로부터 읽어내어져 송신되어 오는 데이터를 입력할 수 있다. 즉, 디스크(101)로부터의 데이터의 읽어내기는, 디스크 장치에 접속한 별도의 장치에서 행하며, 그 별도의 장치에서 읽어내어진 데이터를, 디스크 장치에서 수신하여 처리할 수 있다. 또한, 디스크 장치에서는, 디스크(101)에 기록된 데이터와 마찬가지의 데이터를 스토리지에 기억하고 있는 서버 등으로부터, 인터넷 등의 네트워크를 통하여, 데이터의 배신을 받아 처리하는 것도 가능하다. 또한, 디스크 장치에서는, 서버 그 밖의 장치로부터의 데이터를 수신하고, 일단, 디스크(101)에 기록하고 나서, 그 디스크(101)에 기록된 데이터를 처리하는 것도 가능하다. The data (recorded data) recorded on the disk 101 also includes a program executable by a computer as necessary. In addition, in this embodiment, although the disk 101 which is a disk-shaped recording medium is employ | adopted as a recording medium, as a recording medium, a semiconductor memory and a tape-shaped recording medium may be sufficient, for example. In addition, in the disk apparatus of FIG. 1, data that is read from and transmitted to the disk 101 at a distance can be input. In other words, reading of data from the disk 101 is performed by another device connected to the disk device, and the data read by the other device can be received and processed by the disk device. In the disk apparatus, it is also possible to receive and process data delivery from a server or the like which stores the same data as the data recorded on the disk 101 in a storage via a network such as the Internet. The disk device may also receive data from a server or other device, record the data on the disk 101 and then process the data recorded on the disk 101.

디스크 드라이브(102)에는, 디스크(101)가 착탈 가능하게 되어 있다. 디스크 드라이브(102)는, 도시하지 않은 인터페이스를 내장하고, 그 인터페이스를 통하여, 드라이브 인터페이스(114)에 접속되어 있다. 디스크 드라이브(102)는, 거기에 장착된 디스크(101)를 구동하여, 드라이브 인터페이스(114)로부터의 읽어내기 등의 명령에 따라서, 디스크(101)로부터 데이터를 읽어내고, 드라이브 인터페이스(114)에 공급하는 등의 처리를 행한다. The disk 101 is detachably attached to the disk drive 102. The disk drive 102 incorporates an interface (not shown) and is connected to the drive interface 114 through the interface. The disk drive 102 drives the disk 101 mounted therein, reads data from the disk 101 according to a command such as reading from the drive interface 114, and writes the data to the drive interface 114. Processing such as supplying.

버스(111)에는, CPU(Central Processing Unit)(112), 메모리(113), 드라이브 인터페이스(114), 입력 인터페이스(115), 비디오 디코더(116), 오디오 디코더(117), 비디오 출력 인터페이스(118), 오디오 출력 인터페이스(119)가 접속되어 있다. The bus 111 includes a central processing unit (CPU) 112, a memory 113, a drive interface 114, an input interface 115, a video decoder 116, an audio decoder 117, and a video output interface 118. ), An audio output interface 119 is connected.

CPU(112) 및 메모리(113)는, 컴퓨터 시스템을 형성하고 있다. 즉, CPU(112)는, 메모리(113)에 기억된 프로그램인, 후술하는 소프트웨어 모듈군을 실행하고, 디스크 장치 전체를 제어함과 함께, 후술하는 각종 처리를 행한다. 메모리(113)는, CPU(112)가 실행하는 소프트웨어 모듈군을 기억하고 있다. 또한, 메모리(113)는, CPU(112)의 동작 상 필요한 데이터를 일시 기억한다. 또한, 메모리(113)는, 불휘발성 메모리만, 또는 휘발성 메모리와 불휘발성 메모리와의 조합으로 구성하는 것이 가능하다. 또한, 도 1의 디스크 장치에, 하드디스크를 설치하고, 그 하드디스크에, CPU(112)가 실행하는 소프트웨어 모듈군을 기록(인스톨)해 두는 경우에는, 메모리(113)는, 휘발성 메모리만으로 구성하는 것이 가능하다. The CPU 112 and the memory 113 form a computer system. That is, the CPU 112 executes a group of software modules described later, which are programs stored in the memory 113, controls the entire disk device, and performs various processes described later. The memory 113 stores a group of software modules executed by the CPU 112. The memory 113 temporarily stores data necessary for the operation of the CPU 112. In addition, the memory 113 can be configured only of the nonvolatile memory or a combination of the volatile memory and the nonvolatile memory. In addition, in the case where a hard disk is installed in the disk device of FIG. 1 and the software module group executed by the CPU 112 is recorded (installed) on the hard disk, the memory 113 is constituted only of volatile memory. It is possible to do

여기서, CPU(112)가 실행하는 프로그램(소프트웨어 모듈군)은, 디스크 장치에 내장되어 있는 기록 매체로서의 메모리(113)에 미리 기록해 둘(기억시켜 둘) 수 있다. Here, the program (software module group) executed by the CPU 112 can be previously recorded (memorized) in the memory 113 as a recording medium built in the disk device.

혹은 또한, 프로그램은, 디스크(101), 나아가서는, 디스크(101) 이외의 플렉 시블 디스크, CD-ROM(Compact Disc Read Only Memory), MO(Magneto Optical) 디스크, 자기 디스크, 메모리 카드 등의 리무버블 기록 매체에, 일시적 혹은 영속적으로 저장(기록)해 둘 수 있다. 이와 같은 리무버블 기록 매체는, 소위 패키지 소프트 웨어로서 제공할 수 있다. Alternatively, the program may be a disk 101, or a remover such as a flexible disk other than the disk 101, a compact disc read only memory (CD-ROM), a magneto optical (MO) disk, a magnetic disk, a memory card, or the like. It can be stored (recorded) temporarily or permanently in a double recording medium. Such a removable recording medium can be provided as so-called package software.

또한, 프로그램은, 메모리(113)에 미리 기억시켜 두거나, 혹은, 전술한 바와 같은 리무버블 기록 매체로부터 디스크 장치에 인스톨할 수 있다. 또한, 프로그램은, 다운로드 사이트로부터, 디지털 위성 방송용의 인공 위성을 통하여, 디스크 장치에 무선으로 전송하거나, LAN(Local Area Network), 인터넷과 같은 네트워크를 통하여, 디스크 장치에 유선으로 전송하고, 디스크 장치에서는, 그와 같이 하여 전송되어 오는 프로그램을, 입력 인터페이스(115)에서 수신하여, 내장하는 메모리(113)에 인스톨할 수 있다. The program can be stored in the memory 113 in advance, or can be installed in the disk device from the above-described removable recording medium. Further, the program is wirelessly transmitted from the download site to the disk device via a satellite for digital satellite broadcasting, or wired to the disk device via a network such as a LAN (Local Area Network) or the Internet, and the disk device. In this way, the program transmitted in this manner can be received by the input interface 115 and installed in the built-in memory 113.

또한, 프로그램은, 1의 CPU에 의해 처리되는 것이어도 되고, 복수의 CPU에 의해 분산 처리되는 것이어도 된다. The program may be processed by one CPU or may be distributed by a plurality of CPUs.

드라이브 인터페이스(114)는, CPU(112)의 제어 하에서, 디스크 드라이브(102)를 제어하고, 이에 의해, 디스크 드라이브(102)가 디스크(101)로부터 읽어낸 데이터를, 버스(111)를 통하여, CPU(112)나, 메모리(113), 비디오 디코더(116), 오디오 디코더(117) 등에 공급한다. The drive interface 114 controls the disk drive 102 under the control of the CPU 112, whereby the data read from the disk 101 by the disk drive 102 via the bus 111, It is supplied to the CPU 112, the memory 113, the video decoder 116, the audio decoder 117, and the like.

입력 인터페이스(115)는, 도시하지 않은 키(버튼)나, 리모콘(리모트 컨트롤러)이 유저에 의해 조작됨으로써 공급되는 신호를 수신하여, 버스(111)를 통하여, CPU(112)에 공급한다. 또한, 입력 인터페이스(115)는, 그 밖에, 예를 들면, 모 뎀(ADSL(Asymmetric Digital Subscriber Line) 모뎀을 포함함)이나, NIC(Network Interface Card) 등의 통신 인터페이스로서도 기능한다. The input interface 115 receives a key (button) (not shown) or a signal supplied by a remote controller (remote controller) being operated by a user, and supplies it to the CPU 112 via the bus 111. In addition, the input interface 115 also functions as a communication interface such as a modem (including an ASL (Asymmetric Digital Subscriber Line) modem) or a network interface card (NIC).

비디오 디코더(116)는, 디스크 드라이브(102)에 의해 디스크(101)로부터 읽어내어져, 드라이브 인터페이스(114) 및 버스(111)를 통하여 공급되는, 비디오 데이터의 부호화 데이터(부호화 오디오 데이터)를 디코드하고, 그 결과 얻어지는 비디오 데이터를, 버스(111)를 통하여, CPU(112)나 비디오 출력 인터페이스(118)에 공급한다. The video decoder 116 decodes encoded data (encoded audio data) of video data, which is read from the disc 101 by the disc drive 102 and supplied via the drive interface 114 and the bus 111. The resulting video data is supplied to the CPU 112 or the video output interface 118 via the bus 111.

오디오 디코더(117)는, 디스크 드라이브(102)에 의해 디스크(101)로부터 읽어내어져, 드라이브 인터페이스(114) 및 버스(111)를 통하여 공급되는, 오디오 데이터의 부호화 데이터(부호화 오디오 데이터)를 디코드하고, 그 결과 얻어지는 오디오 데이터를, 버스(111)를 통하여, CPU(112)나 오디오 출력 인터페이스(119)에 공급한다. The audio decoder 117 decodes encoded data (encoded audio data) of audio data, which is read out from the disk 101 by the disk drive 102 and supplied via the drive interface 114 and the bus 111. The resulting audio data is supplied to the CPU 112 or the audio output interface 119 via the bus 111.

비디오 출력 인터페이스(118)는, 버스(111)를 통하여 공급되는 비디오 데이터에 필요한 처리를 실시하여, 비디오 출력 단자(120)로부터 출력한다. 오디오 출력 인터페이스(119)는, 버스(111)를 통하여 공급되는 오디오 데이터에 필요한 처리를 실시하여, 오디오 출력 단자(121)로부터 출력한다. The video output interface 118 performs processing necessary for video data supplied via the bus 111 and outputs it from the video output terminal 120. The audio output interface 119 performs processing necessary for audio data supplied through the bus 111 and outputs it from the audio output terminal 121.

비디오 출력 단자(120)는, 도시하지 않은 CRT(Cathode Ray Tube)나, 액정 패널 등의 비디오 출력 장치에 접속되어 있고, 따라서, 비디오 출력 단자(120)로부터 출력되는 비디오 데이터는, 비디오 출력 장치에 공급되어 표시된다. 오디오 출력 단자(121)는, 도시하지 않은 스피커나 앰프 등의 오디오 출력 장치에 접속되어 있 고, 따라서, 오디오 출력 단자(121)로부터 출력되는 오디오 데이터는, 오디오 출력 장치에 공급되어 출력된다. The video output terminal 120 is connected to a video output device such as a cathode ray tube (CRT) or a liquid crystal panel (not shown), so that the video data output from the video output terminal 120 is connected to the video output device. Supplied and displayed. The audio output terminal 121 is connected to an audio output device such as a speaker or an amplifier (not shown). Therefore, audio data output from the audio output terminal 121 is supplied to and output from the audio output device.

또한, 디스크 장치로부터, 비디오 출력 장치와 오디오 출력 장치에의 비디오 데이터와 오디오 데이터의 공급은, 유선 또는 무선 중 어느 하나에 의해서 행하는 것도 가능하다. In addition, the supply of video data and audio data from the disk apparatus to the video output apparatus and the audio output apparatus can be performed by either wired or wireless.

[소프트웨어 모듈군의 구성] [Configuration of Software Module Group]

다음으로, 도 2는, 도 1의 CPU(112)가 실행하는 소프트웨어 모듈군의 구성예를 도시하고 있다. Next, FIG. 2 shows a configuration example of a software module group executed by the CPU 112 of FIG.

CPU(112)가 실행하는 소프트웨어 모듈군은, 오퍼레이팅 시스템(OS)(201)과, 어플리케이션 프로그램으로서의 비디오 콘텐츠 재생 프로그램(210)으로 대별된다. The software module group executed by the CPU 112 is roughly divided into an operating system (OS) 201 and a video content reproduction program 210 as an application program.

「오퍼레이팅 시스템(201)」`` Operating System 201 ''

오퍼레이팅 시스템(201)은, 디스크 장치의 전원이 투입되면 최초로 기동하며(CPU(112)가 오퍼레이팅 시스템(201)을 실행하며), 초기 설정 등의 필요한 처리를 행하여, 어플리케이션 프로그램인 비디오 콘텐츠 재생 프로그램(210)을 호출한다.The operating system 201 starts up for the first time when the power supply of the disk apparatus is turned on (the CPU 112 executes the operating system 201), performs necessary processing such as initial setting, and the like. Call 210).

오퍼레이팅 시스템(201)은, 비디오 콘텐츠 재생 프로그램(210)에 대하여, 파일의 읽어내기 등의 인프라(인프라스트럭쳐(infrastructure))적인 서비스를 제공한다. 즉, 오퍼레이팅 시스템(201)은, 예를 들면, 파일의 읽어내기에 관해서는, 비디오 콘텐츠 재생 프로그램(210)으로부터의 파일의 읽어내기의 리퀘스트에 대하여, 드라이브 인터페이스(114)를 통하여 디스크 드라이브(102)를 조작하여, 디스 크(101)의 데이터를 읽어내고, 비디오 콘텐츠 재생 프로그램(210)에 건네주는 서비스를 제공한다. 또한, 오퍼레이팅 시스템(201)은, 파일 시스템의 해석 등도 행한다.The operating system 201 provides an infrastructure (infrastructure) service, such as reading a file, to the video content reproduction program 210. That is, the operating system 201, for example, regarding the reading of the file, the disk drive 102 via the drive interface 114 with respect to the request for reading the file from the video content playback program 210. ) To read the data on the disc 101 and to pass it to the video content playback program 210. The operating system 201 also analyzes the file system and the like.

또한, 오퍼레이팅 시스템(201)은, 멀티태스크 처리의 기능을 구비하고 있고, 복수의 소프트웨어 모듈을, 시분할로 (외관상)동시에 동작시킬 수 있다. 즉, 비디오 콘텐츠 재생 프로그램(210)은, 몇개인가의 소프트웨어 모듈로 구성되지만, 각 소프트웨어 모듈은, 병렬로 동작할 수 있다. In addition, the operating system 201 has a function of a multitasking process, and can operate a plurality of software modules simultaneously (in terms of appearance) by time division. That is, although the video content reproduction program 210 is composed of several software modules, each software module can operate in parallel.

「비디오 콘텐츠 재생 프로그램(210)」"Video content player" (210)

비디오 콘텐츠 재생 프로그램(210)은, 스크립트 제어 모듈(211), 플레이어 제어 모듈(212), 콘텐츠 데이터 공급 모듈(213), 디코드 제어 모듈(214), 버퍼 제어 모듈(215), 비디오 디코더 제어 모듈(216), 오디오 디코더 제어 모듈(217), 자막 디코더 제어 모듈(218), 그래픽스 처리 모듈(219), 비디오 출력 모듈(220), 및 오디오 출력 모듈(221)로 구성되어 있다. The video content playback program 210 includes a script control module 211, a player control module 212, a content data supply module 213, a decode control module 214, a buffer control module 215, and a video decoder control module ( 216, an audio decoder control module 217, a subtitle decoder control module 218, a graphics processing module 219, a video output module 220, and an audio output module 221.

비디오 콘텐츠 재생 프로그램(210)은, 디스크(101)의 재생에 있어서 중심적인 역활을 하는 소프트웨어로서, 디스크(101)가 디스크 드라이브(102)에 장착(삽입)되면, 그 디스크(101)가, 콘텐츠가 기록된 후술하는 포맷의 디스크인지를 확인한다. 또한, 비디오 콘텐츠 재생 프로그램(210)은, 디스크(101)로부터, 후술하는 스크립트 파일을 읽어내어 실행하고, 또한, 디스크(101)로부터, 그 디스크(101)에 기록된 콘텐츠를 재생하는 데에 필요한 메타데이터(데이터베이스 정보)의 파일을 읽어내고, 그 메타데이터에 기초하여, 콘텐츠의 재생을 제어한다. The video content reproducing program 210 is software which plays a central role in the reproduction of the disc 101. When the disc 101 is mounted (inserted) in the disc drive 102, the disc 101 is stored in the content. Is a disc of a format described later that is recorded. In addition, the video content reproducing program 210 reads and executes a script file to be described later from the disc 101, and furthermore, is required for reproducing the content recorded on the disc 101 from the disc 101. The file of the metadata (database information) is read out, and the reproduction of the content is controlled based on the metadata.

이하, 도 2의 비디오 콘텐츠 재생 프로그램(210)을 구성하는 소프트웨어 모듈에 대하여 설명한다. 또한, 도 2에서는, 원칙적으로, 실선의 화살표는, 콘텐츠의 데이터를 나타내고, 점선의 화살표는, 제어의 데이터를 나타낸다. Hereinafter, a software module constituting the video content reproduction program 210 of FIG. 2 will be described. In addition, in FIG. 2, the solid line arrow shows the data of a content, and the dotted line arrow shows the control data in principle.

「스크립트 제어 모듈(211)」Script Control Module 211

스크립트 제어 모듈(211)은, 디스크(101)에 기록된 스크립트 파일에 기술되어 있는 스크립트 프로그램(스크립트)을 해석하여 실행한다. 스크립트 프로그램에서는, 예를 들면, 「그래픽스 처리 모듈(219)을 조작하고, 메뉴 등의 화상을 작성하여 표시한다」, 「리모콘 등의 UI(User Interface)로부터의 신호에 따라 메뉴의 표시를 변경한다(예를 들면, 메뉴 상의 커서를 이동하는 등)」, 「플레이어 제어 모듈(212)을 제어한다」 등의 동작을 기술할 수 있다. The script control module 211 analyzes and executes a script program (script) described in the script file recorded on the disk 101. In the script program, for example, "the graphics processing module 219 is operated to create and display an image such as a menu", and "the display of the menu is changed in accordance with a signal from a UI (User Interface) such as a remote control. (For example, moving a cursor on a menu), &quot; controlling the player control module 212 &quot;

「플레이어 제어 모듈(212)」Player Control Module 212

플레이어 제어 모듈(212)은, 디스크(101)에 기록되어 있는 메타데이터(데이터베이스 정보) 등을 참조하여, 콘텐츠의 재생에 관한 제어를 행한다. 즉, 플레이어 제어 모듈(212)은, 예를 들면, 디스크(101)에 기록되어 있는, 후술하는 PlayList()나 Clip()를 해석하고, 그 해석 결과에 따라서, 콘텐츠 데이터 공급 모듈(213)이나, 디코드 제어 모듈(214), 버퍼 제어 모듈(215)을 제어한다. 또한, 플레이어 제어 모듈(212)은, 스크립트 제어 모듈(211)이나 입력 인터페이스(115)로부터의 지시에 따라서, 재생 대상의 스트림을 절환하는, 후술하는 스트림 절환 등의 제어를 행한다. 또한, 플레이어 제어 모듈(214)은, 디코드 제어 모듈(214)로부터 시각을 취득하여, 시각 표시나, 후술하는 마크(Mark())의 처리 등을 행한다. The player control module 212 refers to metadata (database information) or the like recorded on the disc 101 and performs control related to reproduction of the content. That is, the player control module 212 analyzes, for example, PlayList () and Clip (), which will be described later, recorded on the disc 101, and according to the analysis result, the content data supply module 213 or the like. The decode control module 214 and the buffer control module 215 are controlled. In addition, the player control module 212 controls, for example, stream switching, which will be described later, for switching the stream to be played back in accordance with the instructions from the script control module 211 or the input interface 115. In addition, the player control module 214 acquires the time from the decode control module 214 and performs time display, processing of the mark (Mark) described later, and the like.

「콘텐츠 데이터 공급 모듈(213)」`` Content data supply module 213 ''

콘텐츠 데이터 공급 모듈(213)은, 플레이어 제어 모듈(212)의 제어에 따라서, 혹은, 버퍼 제어 모듈(215)에 축적된 데이터의 양에 기초하여, 디스크(101)로부터의 콘텐츠의 데이터나 메타데이터 등의 읽어내기를, 오퍼레이팅 시스템(201)에 요구한다. The content data supply module 213 is based on the control of the player control module 212 or based on the amount of data stored in the buffer control module 215, and the data and metadata of the content from the disk 101. The operating system 201 is requested to read.

또한, 오퍼레이팅 시스템(201)이, 콘텐츠 데이터 공급 모듈(213)로부터의 요구에 따라서 디스크(101)로부터 읽어낸 메타데이터 등은, 필요한 모듈에 공급된다. 또한, 오퍼레이팅 시스템(201)이, 콘텐츠 데이터 공급 모듈(213)로부터의 요구에 따라서 디스크(101)로부터 읽어낸 콘텐츠의 데이터는, 버퍼 제어 모듈(215)에 공급된다. The metadata read from the disk 101 by the operating system 201 in response to a request from the content data supply module 213 is supplied to a required module. In addition, the data of the content read from the disk 101 by the operating system 201 in response to a request from the content data supply module 213 is supplied to the buffer control module 215.

「디코드 제어 모듈(214)」"Decode Control Module 214"

디코드 제어 모듈(214)은, 플레이어 제어 모듈(212)로부터의 제어에 따라서, 비디오 디코더 제어 모듈(216), 오디오 디코더 제어 모듈(217), 및 자막 디코더 제어 모듈(218)의 동작을 제어한다. 또한, 디코드 제어 모듈(214)은, 시각을 계시하는 계시부(214A)를 내장하고, 비디오 디코더 제어 모듈(216)의 제어에 의해 출력되는 비디오 데이터의 출력과, 그 비디오 데이터와 동기하여 출력될 데이터(출력 데이터)의 출력, 즉, 여기서는, 오디오 디코더 제어 모듈(217)의 제어에 의해 출력되는 오디오 데이터의 출력과의 동기를 관리한다. The decode control module 214 controls the operations of the video decoder control module 216, the audio decoder control module 217, and the subtitle decoder control module 218 according to the control from the player control module 212. The decode control module 214 also includes a time unit 214A which clocks time, and outputs video data output by the control of the video decoder control module 216 and data to be output in synchronization with the video data. The output of the (output data), that is, the synchronization with the output of the audio data output by the control of the audio decoder control module 217 is managed here.

「버퍼 제어 모듈(215)」Buffer control module 215

버퍼 제어 모듈(215)은, 도 1의 메모리(113)의 기억 영역의 일부인 버 퍼(215A)를 내장하고 있고, 그 버퍼(215A)에, 콘텐츠 데이터 공급 모듈(213)이 오퍼레이팅 시스템(201)에 요구를 행함으로써 디스크(101)로부터 읽어내어진 콘텐츠의 데이터를 일시 기억한다. The buffer control module 215 has a built-in buffer 215A which is a part of the storage area of the memory 113 of FIG. 1, and the content data supply module 213 has an operating system 201 in the buffer 215A. A request is made to temporarily store the data of the content read from the disc 101.

또한, 버퍼 제어 모듈(215)은, 비디오 디코더 제어 모듈(216), 오디오 디코더 제어 모듈(217), 또는 자막 디코더 제어 모듈(218)의 요구에 따라서, 버퍼(215A)에 기억된 데이터를, 비디오 디코더 제어 모듈(216), 오디오 디코더 제어 모듈(217), 또는 자막 디코더 제어 모듈(218)에 공급한다. In addition, the buffer control module 215 stores the data stored in the buffer 215A in response to a request of the video decoder control module 216, the audio decoder control module 217, or the subtitle decoder control module 218. The decoder is supplied to the decoder control module 216, the audio decoder control module 217, or the subtitle decoder control module 218.

즉, 버퍼 제어 모듈(215)은, 후술하는 도 3에서 설명하는 비디오 읽어내기 기능부(233), 오디오 읽어내기 기능부(234), 및 자막 읽어내기 기능부(235)를 내장하고 있다. 그리고, 버퍼 제어 모듈(215)은, 비디오 디코더 제어 모듈(216)로부터의 데이터의 요구를, 비디오 읽어내기 기능부(233)에서 처리함으로써, 버퍼(215A)에 기억된 데이터를, 비디오 디코더 제어 모듈(216)에 공급한다. 마찬가지로, 버퍼 제어 모듈(215)은, 오디오 디코더 제어 모듈(217)로부터의 데이터의 요구를, 오디오 읽어내기 기능부(234)에서 처리함으로써, 버퍼(215A)에 기억된 데이터를, 오디오 디코더 제어 모듈(217)에 공급함과 함께, 자막 디코더 제어 모듈(218)로부터의 데이터의 요구를, 자막 읽어내기 기능부(235)에서 처리함으로써, 버퍼(215A)에 기억된 데이터를, 자막 디코더 제어 모듈(218)에 공급한다. That is, the buffer control module 215 has a video reading function unit 233, an audio reading function unit 234, and a subtitle reading function unit 235 described in FIG. 3 described later. Then, the buffer control module 215 processes the request for data from the video decoder control module 216 in the video read function unit 233 to process the data stored in the buffer 215A by the video decoder control module. Supply to 216. Similarly, the buffer control module 215 processes the data request in the audio decoder control module 217 by the audio read function unit 234 to process the data stored in the buffer 215A. The subtitle decoder control module 218 processes the data stored in the buffer 215A by supplying the data to the buffer 217 and processing the request for data from the subtitle decoder control module 218 in the subtitle reading function unit 235. Supplies).

「비디오 디코더 제어 모듈(216)」`` Video Decoder Control Module 216 ''

비디오 디코더 제어 모듈(216)은, 버퍼 제어 모듈(215) 내의 비디오 읽어내기 기능부(233)(도 3)를 조작하여, 비디오 데이터를 부호화한 데이터(비디오 부호 화 데이터)를, 비디오 액세스 유닛 단위로, 버퍼 제어 모듈(215)의 버퍼(215A)로부터 읽어내고, 도 1의 비디오 디코더(116)에 공급한다. 또한, 비디오 디코더 제어 모듈(216)은, 비디오 디코더(116)를 제어하고, 비디오 액세스 유닛 단위의 데이터를 디코드시킨다. 또한, 비디오 디코더 제어 모듈(216)은, 비디오 디코더(116)에서의 디코드의 결과 얻어지는 비디오 데이터를, 그래픽스 처리 모듈(219)에 공급한다. The video decoder control module 216 operates the video read function unit 233 (FIG. 3) in the buffer control module 215 to convert data (video coded data) obtained by encoding video data into video access unit units. Therefore, it reads from the buffer 215A of the buffer control module 215 and supplies it to the video decoder 116 of FIG. In addition, the video decoder control module 216 controls the video decoder 116 to decode data in units of a video access unit. In addition, the video decoder control module 216 supplies the video data obtained as a result of the decoding in the video decoder 116 to the graphics processing module 219.

여기서, 비디오 액세스 유닛이란, 예를 들면, 비디오 데이터의 1픽쳐(1프레임 또는 1필드)분이다. Here, the video access unit is, for example, one picture (one frame or one field) of video data.

「오디오 디코더 제어 모듈(217)」Audio Decoder Control Module 217

오디오 디코더 제어 모듈(217)은, 버퍼 제어 모듈(215) 내의 오디오 읽어내기 기능부(234)(도 3)를 조작하여, 오디오 데이터를 부호화한 데이터(오디오 부호화 데이터)를, 오디오 액세스 유닛 단위로, 버퍼 제어 모듈(215)의 버퍼(215A)로부터 읽어내고, 도 1의 오디오 디코더(117)에 공급한다. 또한, 오디오 디코더 제어 모듈(217)은, 오디오 디코더(117)를 제어하여, 오디오 액세스 유닛 단위의 데이터를 디코드시킨다. 또한, 오디오 디코더 제어 모듈(217)은, 오디오 디코더(117)에서의 디코드의 결과 얻어지는 오디오 데이터를, 오디오 출력 모듈(221)에 공급한다. The audio decoder control module 217 operates the audio read function unit 234 (FIG. 3) in the buffer control module 215 to convert data (audio encoded data) in which audio data is encoded in audio access unit units. The data is read from the buffer 215A of the buffer control module 215 and supplied to the audio decoder 117 of FIG. The audio decoder control module 217 also controls the audio decoder 117 to decode data in units of an audio access unit. In addition, the audio decoder control module 217 supplies the audio data obtained as a result of the decoding in the audio decoder 117 to the audio output module 221.

여기서, 오디오 액세스 유닛이란, 오디오 데이터의 소정의 데이터량 분(예를 들면, 1픽쳐에 동기하여 출력되는 분)이다. 본 실시 형태에서는, 오디오 액세스 유닛은, 예를 들면, 기지의 고정 길이인 것으로 한다. Here, the audio access unit is a predetermined data amount of audio data (for example, one output in synchronization with one picture). In this embodiment, the audio access unit is, for example, a known fixed length.

「자막 디코더 제어 모듈(218)」"Subtitle decoder control module 218"

자막 디코더 제어 모듈(218)은, 버퍼 제어 모듈(215) 내의 자막 읽어내기 기능부(235)(도 3)를 조작하여, 자막 데이터를 부호화한 데이터(자막 부호화 데이터)를, 자막 액세스 유닛 단위로, 버퍼 제어 모듈(215)의 버퍼(215A)로부터 읽어낸다. 또한, 자막 디코더 제어 모듈(218)은, 내부에, 도시하지 않은 자막 디코드 소프트웨어를 구비하고 있고, 버퍼(215A)로부터 읽어낸 데이터를 디코드한다. 또한, 자막 디코더 제어 모듈(218)은, 그 디코드의 결과 얻어지는 자막 데이터(자막의 화상 데이터)를, 그래픽스 처리 모듈(219)에 공급한다. The caption decoder control module 218 operates the caption reading function unit 235 (FIG. 3) in the buffer control module 215 to convert the data (caption encoded data) in which caption data is encoded in caption access unit units. The data is read from the buffer 215A of the buffer control module 215. The caption decoder control module 218 also includes caption decode software (not shown) inside to decode the data read from the buffer 215A. The caption decoder control module 218 also supplies the caption data (subtitle image data) obtained as a result of the decoding to the graphics processing module 219.

여기서, 자막 액세스 유닛이란, 자막 데이터의 소정의 데이터량 분(예를 들면, 1픽쳐에 동기하여 출력되는 분)이다. 본 실시 형태에서는, 자막 액세스 유닛의 사이즈는, 예를 들면, 그 자막 액세스 유닛의 선두에 기술되어 있는 것으로 한다. Here, the caption access unit is a predetermined amount of data of the caption data (for example, one to be output in synchronization with one picture). In this embodiment, the size of the caption access unit is described at the head of the caption access unit, for example.

「그래픽스 처리 모듈(219)」`` Graphics Processing Module 219 ''

그래픽스 처리 모듈(219)은, 플레이어 제어 모듈(212)의 제어(지시)에 따라서, 자막 디코더 제어 모듈(218)로부터의 자막 데이터의 확대나 축소를 행하여, 비디오 디코더 제어 모듈(216)로부터의 비디오 데이터와 가산(오버레이)한다. 또한, 그래픽스 처리 모듈(219)은, 자막 데이터와의 가산 후의 비디오 데이터의 사이즈(화상 틀)를, 도 1의 비디오 출력 단자(120)에 접속된 비디오 출력 장치의 표시 화면에 맞추기 위한 확대 또는 축소 등을 행하고, 그 결과 얻어지는 비디오 데이터를, 비디오 출력 모듈(220)에 출력한다. The graphics processing module 219 enlarges or reduces the caption data from the caption decoder control module 218 according to the control (instruction) of the player control module 212, and the video from the video decoder control module 216. Add to the data (overlay). In addition, the graphics processing module 219 enlarges or reduces the size (picture frame) of the video data after addition with the caption data to match the display screen of the video output device connected to the video output terminal 120 of FIG. 1. And the like, and the resulting video data is output to the video output module 220.

또한, 그래픽스 처리 모듈(219)은, 스크립트 제어 모듈(211)이나 플레이어 제어 모듈(212)의 지시(제어)에 따라서, 메뉴나 메시지 등을 생성하여, 출력 비디오 데이터에 오버레이한다. In addition, the graphics processing module 219 generates a menu or a message and overlays the output video data according to the instructions (control) of the script control module 211 or the player control module 212.

또한, 그래픽스 처리 모듈(219)은, 도 1의 비디오 출력 단자(120)에 접속된 비디오 출력 장치의 어스펙트비와, 디스크(101)에 기록된 비디오 데이터의 어스펙트비를 지시하는 정보 등에 기초하여, 비디오 출력 모듈(220)에 출력하는 비디오 데이터의 어스펙트비의 변환을 행한다. Further, the graphics processing module 219 is based on the aspect ratio of the video output device connected to the video output terminal 120 of FIG. 1, the information indicating the aspect ratio of the video data recorded on the disc 101, and the like. The aspect ratio of the video data output to the video output module 220 is converted.

즉, 예를 들면, 비디오 출력 장치의 어스펙트비가 16:9인 경우에 있어서, 비디오 데이터의 어스펙트비를 지시하는 정보가 4:3의 어스펙트비를 나타내고 있을 때에는, 그래픽스 처리 모듈(219)은, 비디오 출력 모듈(220)에 출력하는 비디오 데이터를, 가로 방향(수평 방향)으로 스퀴즈(축소) 처리하고, 좌우에 검은빛을 넣어 출력한다. 또한, 예를 들면, 비디오 출력 장치의 어스펙트비가 4:3인 경우에 있어서, 비디오 데이터의 어스펙트비를 지시하는 정보가 16:9의 어스펙트비를 나타내고 있을 때에는, 그래픽스 처리 모듈(219)은, 비디오 출력 모듈(220)에 출력하는 비디오 데이터를, 세로 방향(수직 방향)으로 스퀴즈(축소) 처리하고, 상하에 검은빛을 넣어 출력한다. That is, for example, when the aspect ratio of the video output device is 16: 9, when the information indicating the aspect ratio of the video data indicates the aspect ratio of 4: 3, the graphics processing module 219 Squeezes (reduces) the video data output to the video output module 220 in the horizontal direction (horizontal direction), and outputs black light left and right. For example, when the aspect ratio of the video output device is 4: 3, when the information indicating the aspect ratio of the video data indicates the aspect ratio of 16: 9, the graphics processing module 219 Squeezes (reduces) the video data output to the video output module 220 in the vertical direction (vertical direction), and puts black light up and down to output it.

또한, 비디오 출력 장치의 어스펙트비와, 비디오 데이터의 어스펙트비를 지시하는 정보가 나타내는 어스펙트비가, 모두, 4:3이나 16:9로, 동일한 경우, 그래픽스 처리 모듈(219)은, 비디오 출력 모듈(220)에 출력하는 비디오 데이터를, 스퀴즈 처리하지 않고, 그대로 출력한다. In addition, when the aspect ratio of the video output device and the aspect ratio indicated by the information indicating the aspect ratio of the video data are both 4: 3 and 16: 9, the graphics processing module 219 is a video. The video data output to the output module 220 is output as it is without squeeze processing.

그 밖에, 그래픽스 처리 모듈(219)은, 예를 들면, 플레이어 제어 모듈(212)로부터의 요구에 따라서, 현재 처리 중인 비디오 데이터를 캡쳐한다. 또한, 그래픽스 처리 모듈(219)은, 그 캡쳐한 비디오 데이터를 기억하거나, 혹은, 플레이어 제어 모듈(212)에 공급한다. In addition, the graphics processing module 219 captures video data currently being processed, for example, in response to a request from the player control module 212. The graphics processing module 219 stores the captured video data or supplies it to the player control module 212.

「비디오 출력 모듈(220)」`` Video output module 220 ''

비디오 출력 모듈(220)은, 도 1의 메모리(113)의 일부를 배타적으로 점유하여 FIFO(First In First Out)(220A)(버퍼)로서 사용하고, 그래픽스 처리 모듈(219)로부터의 비디오 데이터를 일시적으로 기억하며, 또한, 그 FIFO(220A)에 기억된 비디오 데이터를 적당히 읽어내고, 비디오 출력 단자(120)(도 1)에 출력한다. The video output module 220 exclusively occupies a portion of the memory 113 of FIG. 1 and uses it as a FIFO (First In First Out) 220A (buffer), and uses the video data from the graphics processing module 219. The video data stored in the FIFO 220A is temporarily read out, and output to the video output terminal 120 (Fig. 1) as appropriate.

「오디오 출력 모듈(221)」`` Audio output module 221 ''

오디오 출력 모듈(221)은, 도 1의 메모리(113)의 일부를 배타적으로 점유하여 FIFO(221A)(버퍼)로서 사용하고, 오디오 디코더 제어 모듈(217)(오디오 디코더(117))로부터의 오디오 데이터를 일시적으로 기억하며, 또한, 그 FIFO(221A)에 기억된 오디오 데이터를 적당히 읽어내고, 오디오 출력 단자(121)(도 1)에 출력한다.The audio output module 221 exclusively occupies a part of the memory 113 of FIG. 1 and uses it as the FIFO 221A (buffer), and audio from the audio decoder control module 217 (audio decoder 117). The data is temporarily stored, and the audio data stored in the FIFO 221A is appropriately read and output to the audio output terminal 121 (Fig. 1).

또한, 오디오 출력 모듈(221)은, 오디오 디코더 제어 모듈(217)로부터의 오디오 데이터가, 좌측 채널이 「주음성」의 오디오 데이터이고, 우측 채널이 「부음성」의 오디오 데이터인 듀얼(Dual)(2개국어) 모드의 오디오 데이터인 경우, 미리 지정된 음성 출력 모드에 따라서, 오디오 디코더 제어 모듈(217)로부터의 오디오 데이터를, 오디오 출력 단자(121)에 출력한다. In the audio output module 221, the audio data from the audio decoder control module 217 is dual data in which the left channel is audio data of "main audio" and the right channel is audio data of "sub audio". In the case of audio data in the (two languages) mode, audio data from the audio decoder control module 217 is output to the audio output terminal 121 in accordance with the audio output mode specified in advance.

즉, 음성 출력 모드로서, 예를 들면, 「주음성」이 지정되어 있을 때에는, 오디오 출력 모듈(221)은, 오디오 디코더 제어 모듈(217)로부터의 오디오 데이터 중의 좌측 채널의 오디오 데이터를, 우측 채널의 오디오 데이터로서 카피하고, 그 좌측 채널과 우측 채널의 오디오 데이터(「주음성」의 오디오 데이터)를, 오디오 출력 단자(121)에 출력한다. 또한, 음성 출력 모드로서, 「부음성」이 지정되어 있을 때에는, 오디오 출력 모듈(221)은, 오디오 디코더 제어 모듈(217)로부터의 오디오 데이터 중의 우측 채널의 오디오 데이터를, 좌측 채널의 오디오 데이터로서 카피하고, 그 좌측 채널과 우측 채널의 오디오 데이터(「부음성」의 오디오 데이터)를, 오디오 출력 단자(121)에 출력한다. 또한, 음성 출력 모드로서, 「주?부」가 지정되어 있을 때에는, 오디오 출력 모듈(221)은, 오디오 디코더 제어 모듈(217)로부터의 오디오 데이터를, 그대로, 오디오 출력 단자(121)에 출력한다. That is, when "main audio" is designated as the audio output mode, for example, the audio output module 221 receives the audio data of the left channel of the audio data from the audio decoder control module 217 and the right channel. Is copied as audio data, and the audio data of the left channel and the right channel (audio data of "main audio") is output to the audio output terminal 121. When "negative voice" is designated as the audio output mode, the audio output module 221 uses the audio data of the right channel among the audio data from the audio decoder control module 217 as audio data of the left channel. It copies and outputs audio data (audio data of "negative audio") of the left channel and the right channel to the audio output terminal 121. When the "main unit" is designated as the audio output mode, the audio output module 221 outputs the audio data from the audio decoder control module 217 to the audio output terminal 121 as it is. .

또한, 오디오 디코더 제어 모듈(217)로부터의 오디오 데이터가, 스테레오(Stereo) 모드의 오디오 데이터인 경우, 오디오 출력 모듈(221)은, 음성 출력 모드의 지정에 관계없이, 오디오 디코더 제어 모듈(217)로부터의 오디오 데이터를, 그대로, 오디오 출력 단자(121)에 출력한다. In addition, when the audio data from the audio decoder control module 217 is audio data in the stereo mode, the audio output module 221 is the audio decoder control module 217 regardless of the designation of the audio output mode. The audio data from the terminal is output to the audio output terminal 121 as it is.

여기서, 음성 출력 모드의 지정은, 예를 들면, 비디오 콘텐츠 재생 프로그램(210)이 생성하는 메뉴가 표시된 화면 등에서, 유저가 리모콘 등을 조작함으로써 대화적으로 행할 수 있다. Here, the audio output mode can be designated interactively, for example, by a user operating a remote controller or the like on a screen on which a menu generated by the video content reproduction program 210 is displayed.

[버퍼 제어 모듈(215)의 구성][Configuration of Buffer Control Module 215]

다음으로, 도 3은, 도 2의 버퍼 제어 모듈(215)의 구성예를 도시하고 있다. Next, FIG. 3 shows an example of the configuration of the buffer control module 215 of FIG.

버퍼 제어 모듈(215)은, 도 1의 메모리(113)의 일부를, 버퍼(215A)로서 배타적으로 사용하고, 그 버퍼(215A)에, 디스크(101)로부터 읽어내어진 데이터를 일시 기억시킨다. 또한, 버퍼 제어 모듈(215)은, 버퍼(215A)에 기억된 데이터를 읽어내고, 도 2의 비디오 디코더 제어 모듈(216), 오디오 디코더 제어 모듈(217), 또는 자막 디코더 제어 모듈(218)에 공급한다. The buffer control module 215 exclusively uses a part of the memory 113 of FIG. 1 as the buffer 215A, and temporarily stores the data read from the disk 101 in the buffer 215A. The buffer control module 215 reads the data stored in the buffer 215A, and reads the data stored in the buffer 215A to the video decoder control module 216, the audio decoder control module 217, or the subtitle decoder control module 218 of FIG. Supply.

즉, 버퍼 제어 모듈(215)은, 버퍼(215A) 외에, 메모리(113)의 일부인 데이터 선두 포인터 기억부(231), 및 데이터 써넣기 포인터 기억부(232)를 가짐과 함께, 내부 모듈로서, 비디오 읽어내기 기능부(233), 오디오 읽어내기 기능부(234), 자막 읽어내기 기능부(235)를 갖는다. That is, the buffer control module 215 has a data head pointer storage unit 231, which is part of the memory 113, and a data write pointer storage unit 232 in addition to the buffer 215A. The reading function unit 233, the audio reading function unit 234, and the subtitle reading function unit 235 are provided.

버퍼(215A)는, 예를 들면, 링 버퍼이며, 디스크(101)로부터 읽어내어진 데이터를 순차적으로 기억하고, 그 기억 용량분의 데이터를 기억한 후에는, 가장 오래된 데이터에 덮어쓰는 형태로, 최신의 데이터를, 말하자면 무한 루프 형상으로 기억해 간다. The buffer 215A is, for example, a ring buffer, which sequentially stores the data read from the disk 101 and overwrites the oldest data after storing the data for the storage capacity. The latest data is stored in an infinite loop, so to speak.

데이터 선두 포인터 기억부(231)는, 버퍼(215A)에 기억된 데이터 중, 또한, 버퍼(215A)로부터 읽어내어져 있지 않은 가장 오래된 데이터가 기억되어 있는 위치(어드레스)를 가리키는 데이터 선두 포인터를 기억한다. The data head pointer storage unit 231 stores a data head pointer indicating a position (address) of the data stored in the buffer 215A and the oldest data not read from the buffer 215A. do.

데이터 써넣기 포인터 기억부(232)는, 디스크(101)로부터 읽어내어진 최신의 데이터가 기입되는 버퍼(215A)의 위치(어드레스)를 가리키는 써넣기 포인터를 기억한다. The data write pointer storage unit 232 stores a write pointer indicating the position (address) of the buffer 215A to which the latest data read from the disc 101 is written.

여기서, 데이터 써넣기 포인터가 가리키는 위치는, 버퍼(215A)에, 디스 크(101)로부터 읽어내어진 데이터가 기억될 때마다, 도면 중, 우측 방향(시계 방향)으로 갱신되어 가고, 데이터 선두 포인터가 가리키는 위치는, 버퍼(215A)로부터의 데이터의 읽어내기에 따라서, 도면 중, 우측 방향으로 갱신되어 간다. 따라서, 버퍼(215A)에 기억된 데이터 중, 말하자면 유효한 데이터는, 데이터 선두 포인터가 가리키는 위치로부터, 우측 방향으로, 데이터 써넣기 포인터가 가리키는 위치까지 기억되어 있는 데이터이다. Here, the position indicated by the data write pointer is updated in the buffer 215A in the right direction (clockwise) in the figure whenever the data read from the disk 101 is stored, and the data head pointer is The position indicated is updated in the right direction in the figure as the data from the buffer 215A is read. Therefore, among the data stored in the buffer 215A, the valid data, as it were, is the data stored from the position indicated by the data head pointer to the position indicated by the data write pointer in the right direction.

비디오 읽어내기 기능부(233)는, 도 2의 비디오 디코더 제어 모듈(216)로부터의 요구에 따라서, 버퍼(215A)로부터 비디오 스트림(비디오 데이터에 관한 엘리멘터리 스트림)을 읽어내고, 비디오 디코더 제어 모듈(216)에 공급한다. 오디오 읽어내기 기능부(234)도, 도 2의 오디오 디코더 제어 모듈(217)로부터의 요구에 따라서, 버퍼(215A)로부터 오디오 스트림(오디오 데이터에 관한 엘리멘터리 스트림)을 읽어내고, 오디오 디코더 제어 모듈(217)에 공급한다. 자막 읽어내기 기능부(235)도, 도 2의 자막 디코더 제어 모듈(218)로부터의 요구에 따라서, 버퍼(215A)로부터 자막 스트림(자막 데이터에 관한 엘리멘터리 스트림)을 읽어내고, 자막 디코더 제어 모듈(218)에 공급한다. In response to a request from the video decoder control module 216 of FIG. 2, the video reading function unit 233 reads a video stream (elementary stream relating to video data) from the buffer 215A, and controls the video decoder. Supply to module 216. The audio reading function unit 234 also reads an audio stream (elementary stream relating to audio data) from the buffer 215A in response to a request from the audio decoder control module 217 of FIG. 2, and controls the audio decoder. Supply to module 217. The caption reading function unit 235 also reads a caption stream (elementary stream related to the caption data) from the buffer 215A in response to a request from the caption decoder control module 218 of FIG. Supply to module 218.

즉, 광 디스크(101)에는, 예를 들면, MPEG(Moving Picture Experts Group)2의 규격에 준거한 프로그램 스트림(MPEG2-System Program Stream)이 기록되어 있고, 버퍼(215A)에는, 광 디스크(101)로부터 읽어내어진 프로그램 스트림이 기억된다. 이 프로그램 스트림은, 비디오 스트림이나, 오디오 스트림, 자막 스트림 등의 1이상의 엘리멘터리 스트림이 시분할 다중되어 있다. 비디오 읽어내기 기능 부(233)는, 프로그램 스트림의 디멀티플렉스의 기능을 갖고, 버퍼(215A)에 기억된 프로그램 스트림으로부터, 비디오 스트림을 분리하여 읽어낸다. That is, for example, a program stream (MPEG2-System Program Stream) conforming to MPEG (Moving Picture Experts Group) 2 is recorded on the optical disc 101, and the optical disc 101 is stored in the buffer 215A. The program stream read from) is stored. This program stream is time-division multiplexed with one or more elementary streams, such as a video stream, an audio stream, and a subtitle stream. The video reading function unit 233 has a function of demultiplexing the program stream, and separates and reads the video stream from the program stream stored in the buffer 215A.

마찬가지로, 오디오 읽어내기 기능부(234)도, 프로그램 스트림의 디멀티플렉스의 기능을 갖고, 버퍼(215A)에 기억된 프로그램 스트림으로부터, 오디오 스트림을 분리하여 읽어낸다. 자막 읽어내기 기능부(235)도, 프로그램 스트림의 디멀티플렉스의 기능을 갖고, 버퍼(215A)에 기억된 프로그램 스트림으로부터, 자막 스트림을 분리하여 읽어낸다. Similarly, the audio reading function unit 234 has a function of demultiplexing the program stream and separates the audio stream from the program stream stored in the buffer 215A. The subtitle reading function unit 235 also has a function of demultiplexing the program stream, and separates and reads the subtitle stream from the program stream stored in the buffer 215A.

여기서, 비디오 읽어내기 기능부(233)는, 도 1의 메모리(113)의 일부인 비디오 읽어내기 포인터 기억부(241), stream_id 레지스터(242), 및 au_information() 레지스터(243)를 갖고 있다. The video read function unit 233 includes a video read pointer storage unit 241, a stream_id register 242, and an au_information () register 243, which are part of the memory 113 of FIG.

비디오 읽어내기 포인터 기억부(241)는, 버퍼(215A)의, 비디오 스트림이 기억된 위치(어드레스)를 가리키는 비디오 읽어내기 포인터를 기억하고, 비디오 읽어내기 기능부(233)는, 버퍼(215A)의, 비디오 읽어내기 포인터가 가리키는 위치에 기억되어 있는 데이터를, 비디오 스트림으로서 읽어낸다. stream_id 레지스터(242)는, 버퍼(215A)에 기억된 프로그램 스트림을 해석하고, 그 프로그램 스트림 중으로부터 읽어내는 비디오 스트림을 식별(특정)하기 위한 후술하는 stream_id를 기억한다. au_information() 레지스터(243)는, 버퍼(215A)로부터 비디오 스트림을 읽어내기 위해 필요한(비디오 스트림의 읽어내기에 이용되는) 데이터인 후술하는 au_information()을 기억한다. The video read pointer storage unit 241 stores a video read pointer indicating a position (address) of the video stream in the buffer 215A, and the video read function unit 233 stores the buffer 215A. Reads the data stored at the position indicated by the video read pointer as a video stream. The stream_id register 242 interprets a program stream stored in the buffer 215A, and stores a stream_id described later for identifying (specifying) a video stream read from the program stream. The au_information () register 243 stores au_information () described later, which is data (used for reading a video stream) necessary for reading a video stream from the buffer 215A.

오디오 읽어내기 기능부(234)는, 도 1의 메모리(113)의 일부인 오디오 읽어 내기 포인터 기억부(251), stream_id 레지스터(252), 및 private_stream_id 레지스터(253)를 갖고 있다. The audio read function unit 234 has an audio read pointer storage unit 251, a stream_id register 252, and a private_stream_id register 253 that are part of the memory 113 of FIG.

오디오 읽어내기 포인터 기억부(251)는, 버퍼(215A)의, 오디오 스트림이 기억된 위치(어드레스)를 가리키는 오디오 읽어내기 포인터를 기억하고, 오디오 읽어내기 기능부(234)는, 버퍼(215A)의, 오디오 읽어내기 포인터가 가리키는 위치에 기억되어 있는 데이터를, 오디오 스트림으로서 읽어낸다. stream_id 레지스터(252)와 private_stream_id 레지스터(253)는, 버퍼(215A)에 기억된 프로그램 스트림을 해석하고, 그 프로그램 스트림 중으로부터 읽어내는 오디오 스트림을 식별하기 위한 후술하는 stream_id와 private_stream_id를, 각각 기억한다. The audio read pointer storage unit 251 stores an audio read pointer indicating a position (address) of the buffer 215A, and the audio read function unit 234 stores the buffer 215A. Reads the data stored at the position indicated by the audio read pointer as an audio stream. The stream_id register 252 and the private_stream_id register 253 interpret the program stream stored in the buffer 215A, and store stream_id and private_stream_id which will be described later for identifying the audio stream to be read from the program stream.

자막 읽어내기 기능부(235)는, 도 1의 메모리(113)의 일부인 자막 읽어내기 기능 플래그 기억부(261), 자막 읽어내기 포인터 기억부(262), stream_id 레지스터(263), 및 private_stream_id 레지스터(264)를 갖고 있다. The subtitle reading function unit 235 includes a subtitle reading function flag storage unit 261 that is part of the memory 113 of FIG. 1, a subtitle reading pointer storage unit 262, a stream_id register 263, and a private_stream_id register ( 264).

자막 읽어내기 기능 플래그 기억부(261)는, 자막 읽어내기 기능 플래그를 기억한다. 자막 읽어내기 기능 플래그 기억부(261)에 기억된 자막 읽어내기 기능 플래그가, 예를 들면 0인 경우, 자막 읽어내기 기능부(235)는 기능 동작하지 않고, 자막 읽어내기 기능 플래그 기억부(261)에 기억된 자막 읽어내기 기능 플래그가, 예를 들면 1인 경우, 자막 읽어내기 기능부(235)는 기능한다. The caption reading function flag storage unit 261 stores the caption reading function flag. If the caption reading function flag stored in the caption reading function flag storage unit 261 is 0, for example, the caption reading function unit 235 does not operate and the caption reading function flag storage unit 261 is performed. If the subtitle reading function flag stored in the subtitle is 1, for example, the subtitle reading function unit 235 functions.

자막 읽어내기 포인터 기억부(262)는, 버퍼(215A)의, 자막 스트림이 기억된 위치(어드레스)를 가리키는 자막 읽어내기 포인터를 기억하고, 자막 읽어내기 기능부(235)는, 버퍼(215A)의, 자막 읽어내기 포인터가 가리키는 위치에 기억되어 있는 데이터를, 자막 스트림으로서 읽어낸다. stream_id 레지스터(263)와 private_stream_id 레지스터(264)는, 버퍼(215A)에 기억된 프로그램 스트림을 해석하고, 그 프로그램 스트림 중으로부터 읽어내는 자막 스트림을 식별하기 위한 후술하는 stream_id와 private_stream_id를, 각각 기억한다. The subtitle read pointer storage unit 262 stores a subtitle read pointer indicating the position (address) of the subtitle stream stored in the buffer 215A, and the subtitle read function unit 235 stores the buffer 215A. Reads the data stored at the position indicated by the subtitle read pointer as a subtitle stream. The stream_id register 263 and the private_stream_id register 264 interpret a program stream stored in the buffer 215A, and store stream_id and private_stream_id which will be described later for identifying a subtitle stream to be read from the program stream.

[디스크(101)에 기록된 데이터의 데이터 포맷의 설명][Description of Data Format of Data Recorded on Disk 101]

다음으로, 디스크(101)에 기록된 데이터의 데이터 포맷에 대하여 설명한다. Next, the data format of the data recorded on the disc 101 will be described.

도 4는, 디스크(101)의 디렉토리 구조를 모식적으로 도시하고 있다. 4 schematically illustrates the directory structure of the disc 101.

디스크(101)의 파일 시스템으로서는, 예를 들면, ISO(International Organization for Standardization)-9660이나, UDF(Universal Disk Format:http://www.osta.org/specs/) 등에서 규정된 파일 시스템이 이용되고 있으며, 디스크(101)에 기록된 데이터의 파일은 디렉토리 구조에 의해 계층적으로 관리되고 있다. 여기서, 파일 시스템은, 상술한 파일 시스템에 한정되는 것은 아니다. As the file system of the disk 101, for example, an ISO (International Organization for Standardization) -9660 or a UDF (Universal Disk Format: http://www.osta.org/specs/) is used. The files of data recorded on the disk 101 are managed hierarchically by the directory structure. The file system is not limited to the file system described above.

도 4에서는, 파일 시스템의 기점을 나타내는 루트(root) 디렉토리에, "VIDEO" 디렉토리가 놓이고, "VIDEO" 디렉토리에는, "CLIP" 디렉토리와, "STREAM" 디렉토리의 2개의 디렉토리가 놓여 있다. In FIG. 4, a "VIDEO" directory is placed in a root directory representing the origin of a file system, and two directories of a "CLIP" directory and a "STREAM" directory are placed in a "VIDEO" directory.

"VIDEO" 디렉토리에는, "CLIP" 디렉토리와 "STREAM" 디렉토리의 2개의 디렉토리 이외에, "SCRIPT.DAT" 파일과, "PLAYLIST.DAT" 파일의 2개의 데이터 파일이 놓여 있다. In the "VIDEO" directory, two data files, a "SCRIPT.DAT" file and a "PLAYLIST.DAT" file, are placed in addition to the two directories of the "CLIP" directory and the "STREAM" directory.

"SCRIPT.DAT" 파일은, 스크립트 프로그램이 기술된 스크립트 파일이다. 즉, "SCRIPT.DAT" 파일에는, 디스크(101)의 재생 형태를 인터랙티브한 것으로 하기 위 해 사용하는 스크립트 프로그램이 기술되어 있다. 이 "SCRIPT.DAT" 파일에 기술된 스크립트 프로그램은, 도 2의 스크립트 제어 모듈(211)에 의해 해석, 실행된다. The "SCRIPT.DAT" file is a script file in which a script program is described. In other words, the "SCRIPT.DAT" file describes a script program used for making the reproduction type of the disc 101 interactive. The script program described in this "SCRIPT.DAT" file is analyzed and executed by the script control module 211 of FIG.

"PLAYLIST.DAT" 파일에는, 디스크(101)에 기록된 비디오 데이터 등의 콘텐츠의 재생 수순이 기술된 플레이 리스트(후술하는 도 5의 PlayList())가 1이상 저장되어 있다. In the "PLAYLIST.DAT" file, one or more play lists (PlayList () in FIG. 5 to be described later) in which the reproduction procedure of contents such as video data recorded on the disc 101 is described are stored.

"CLIP" 디렉토리에는, 1이상의 클립 정보 파일이 놓이고, "STREAM" 디렉토리에는, 1이상의 클립 스트림 파일이 놓인다. 즉, 도 4에서는, "CLIP" 디렉토리에는, 3개의 클립 정보 파일 "00001.CLP", "00002.CLP", "00003.CLP"가 놓여 있고, "STREAM" 디렉토리에는, 3개의 클립 스트림 파일 "00001.PS", "00002.PS", "00003.PS"가 놓여 있다. One or more clip information files are placed in the "CLIP" directory, and one or more clip stream files are placed in the "STREAM" directory. 4, three clip information files "00001.CLP", "00002.CLP", and "00003.CLP" are placed in the "CLIP" directory, and three clip stream files "are placed in the" STREAM "directory. 00001.PS "," 00002.PS ", and" 00003.PS ".

클립 스트림 파일에는, 비디오 데이터, 오디오 데이터, 자막 데이터 등의 1이상의 데이터(스트림)를 압축, 부호화하여 얻어지는 1이상의 엘리멘터리 스트림을 시분할 다중화한 프로그램 스트림이 저장되어 있다. The clip stream file stores a program stream obtained by time division multiplexing one or more elementary streams obtained by compressing and encoding one or more pieces of data (streams) such as video data, audio data, and caption data.

클립 정보 파일에는, 대응하는 클립 스트림 파일의 성질 등의, 클립 스트림에 관한 (파일)메타데이터가 기술되어 있다. The clip information file describes (file) metadata about the clip stream, such as the properties of the corresponding clip stream file.

즉, 클립 스트림 파일과 클립 정보 파일은, 1 대 1로 대응하고 있다. 도 4에서는, 클립 스트림 파일에는, 5문자의 숫자+피리어드+"PS"라고 하는 명명 규칙에 따라서, 파일명이 붙여져 있고, 클립 정보 파일에는, 대응하는 클립 스트림 파일과 동일한 5문자의 숫자+피리어드+"CLP"라고 하는 명명 규칙에 따라서, 파일명이 붙여져 있다. In other words, the clip stream file and the clip information file correspond one to one. In FIG. 4, a file name is given to a clip stream file according to a naming convention of five characters of number + period + "PS", and the clip information file has the same five letter number + period + as the corresponding clip stream file. The file name is given according to the naming convention of "CLP".

따라서, 파일이, 클립 스트림 파일 또는 클립 정보 파일 중 어느 하나인지는, 파일명의 확장자(피리어드로부터 우측의 부분)에 의해 식별할 수 있으며, 또한, 대응하는 클립 스트림 파일과 클립 정보 파일은, 파일명의 확장자 이외의 부분(피리어드로부터 좌측의 부분)이 일치하는지의 여부에 의해 식별할 수 있다. Therefore, whether the file is one of the clip stream file or the clip information file can be identified by the file name extension (the part on the right side of the period), and the corresponding clip stream file and the clip information file are the file names. The identification can be identified by whether or not the parts other than the extension (parts left from the period) match.

이하, 디스크(101)에 기록된 각 파일의 상세에 대하여 설명한다. The details of each file recorded on the disc 101 will be described below.

「PLAYLIST.DAT 」 `` PLAYLIST.DAT ''

도 5는, 도 4의 "VIDEO" 디렉토리 아래의 "PLAYLIST.DAT" 파일의 내부 구조(신택스(syntax))를 도시하고 있다. FIG. 5 shows the internal structure (syntax) of the "PLAYLIST.DAT" file under the "VIDEO" directory of FIG.

여기서, 도 5에서, "Syntax"의 란의 기재가 데이터 구조를 나타내고, "No. of bits"의 란의 기재는, 대응하는 행의 "Syntax"의 란의 데이터의 비트 길이를 나타낸다. 또한, "Mnemonic"의 란의 기재 중의 "bslbf"(bit string left bit first)는, 대응하는 행의 "Syntax"의 란의 데이터가 좌측의 비트로부터 송출되는 것을 의미하고, "uimsbf"(unsigned integer most significant bit first)는, 대응하는 행의 "Syntax"의 란의 데이터가, 부호 없음 정수값이고, 최상위 비트로부터 송출되는 것을 의미한다. 이하 설명하는, 도 5와 마찬가지의 도면에 대해서도, 마찬가지이다. Here, in Fig. 5, the description of the column of "Syntax" indicates the data structure, and the description of the column of "No. of bits" indicates the bit length of the data of the column of the "Syntax" of the corresponding row. In addition, "bslbf" (bit string left bit first) in the description of the "Mnemonic" column means that the data of the "Syntax" column of the corresponding row is transmitted from the left bit, and "uimsbf" (unsigned integer most significant bit first) means that the data of the column "Syntax" of the corresponding row is an unsigned integer value and is sent from the most significant bit. The same applies to drawings similar to those of FIG. 5 described below.

"PLAYLIST.DAT" 파일에서는, 그 선두로부터, 그 명칭(파일명) 등의 정보를 기술하기 위한 name_length(8비트)와 name_string(255바이트)가 순차적으로 배치된다. In the "PLAYLIST.DAT" file, name_length (8 bits) and name_string (255 bytes) for describing information such as the name (file name) and the like are sequentially arranged from the head.

즉, name_length는, 그 후에 배치되는 name_string의 사이즈를, 바이트수로 나타낸다. name_string는, "PLAYLIST.DAT" 파일의 명칭(파일명)을 나타낸다. That is, name_length represents the size of the name_string disposed afterwards in number of bytes. name_string represents the name (file name) of the "PLAYLIST.DAT" file.

또한, name_string에 대해서는, 그 선두로부터, name_length로 표현되는 바이트수까지가 유효한 명칭으로서 사용된다. 예를 들면 name_length가 값 10인 경우에는, name_string의 선두로부터 10바이트분이 유효한 명칭으로서 해석된다. In the name_string, up to the number of bytes represented by name_length is used as a valid name. For example, when name_length is the value 10, 10 bytes from the head of name_string are interpreted as a valid name.

name_string 후에는, number_of_PlayLists(16비트)가 배치된다. number_of_PlayLists는, 계속되는 PlayList()의 개수를 나타낸다. number_of_PlayLists 후에, 그 number_of_PlayLists의 수만큼의 PlayList()가 배치된다. After name_string, number_of_PlayLists (16 bits) are arranged. number_of_PlayLists represents the number of PlayList () following. After number_of_PlayLists, as many PlayLists () as the number of number_of_PlayLists are disposed.

PlayList()는, 디스크(101)에 기록된 클립 스트림 파일의 재생 수순이 기술된 플레이 리스트이며, 다음과 같은 내부 구조를 갖는다. PlayList () is a play list in which the playback procedure of the clip stream file recorded on the disc 101 is described, and has the following internal structure.

즉, PlayList()의 선두에는, PlayList_data_length(32비트)가 배치된다. PlayList_data_length는, 그 PlayList()의 사이즈를 나타낸다. That is, PlayList_data_length (32 bits) is arranged at the head of PlayList (). PlayList_data_length indicates the size of the PlayList ().

PlayList_data_length 후에는, reserved_for_word_alignment(15비트)와 capture_enable_flag_PlayList(1비트)가 순차적으로 배치된다. 15비트의 reserved_for_word_alignment는, 그 후에 배치되는 1비트의 capture_enable_flag_PlayList의 위치에서, 소위 워드 얼라인(word alignment)을 취하기 위해(16비트의 위치에 정렬시키기 위해) 배치된다. capture_enable_flag_PlayList는, PlayList()에 의해 재생되는 비디오 스트림에 대응하는 비디오 데이터(PlayList()에 속하는 비디오 데이터)의, 광 디스크(101)가 재생되는 도 1의 디스크 장치 내에서의 2차 이용을 허가할지의 여부를 나타내는 1 비트의 플래그이다. capture_enable_flag_PlayList가, 0 또는 1중의, 예를 들면 1인 경우, PlayList()에 속하는 비디오 데이터의 2차 이용이 허가되어 있는 것을 나타내고, capture_enable_flag_PlayList가, 0 또는 1 중의, 예를 들면 0인 경우, PlayList()에 속하는 비디오 데이터의 2차 이용이 허가되어 있지 않은(금지되어 있는) 것을 나타낸다. After PlayList_data_length, reserved_for_word_alignment (15 bits) and capture_enable_flag_PlayList (1 bit) are sequentially arranged. The 15-bit reserved_for_word_alignment is arranged to take so-called word alignment (align to 16-bit position) at the position of the 1-bit capture_enable_flag_PlayList to be placed thereafter. capture_enable_flag_PlayList permits secondary use of the video data (video data belonging to PlayList ()) corresponding to the video stream reproduced by PlayList () in the disk apparatus of FIG. 1 in which the optical disc 101 is reproduced. 1-bit flag indicating whether or not. If capture_enable_flag_PlayList is 0 or 1, for example, 1, this indicates that secondary use of video data belonging to PlayList () is allowed, and if capture_enable_flag_PlayList is 0 or 1, for example, 0, PlayList ( Indicates that secondary use of video data pertaining to) is not permitted (prohibited).

또한, 도 5에서는, capture_enable_flag_PlayList를 1비트로 하였지만, 그 밖에, capture_enable_flag_PlayList는, 복수 비트로 구성하고, PlayList()에 속하는 비디오 데이터의 2차 이용을, 말하자면 단계적으로 허가하도록 하는 것이 가능하다. 즉, capture_enable_flag_PlayList는, 예를 들면, 2비트로 구성할 수 있다. 그리고, capture_enable_flag_PlayList의 값이 00B(B는, 그 전의 숫자가 2진수인 것을 나타냄)인 경우에는, 비디오 데이터의 2차 이용을 금지하고, capture_enable_flag_PlayList의 값이 01B인 경우에는, 비디오 데이터를, 64×64픽셀 이하의 사이즈로 축소하여 이용하는 2차 이용만을 허가할 수 있다. 또한, capture_enable_flag_PlayList의 값이 10B인 경우에는, 사이즈의 제한 없음으로, 비디오 데이터의 2차 이용을 허가할 수 있다. In addition, although capture_enable_flag_PlayList is set to 1 bit in FIG. 5, capture_enable_flag_PlayList is constituted by a plurality of bits, and it is possible to allow the secondary use of the video data belonging to PlayList () step by step. In other words, the capture_enable_flag_PlayList can be configured with 2 bits, for example. When the value of capture_enable_flag_PlayList is 00B (B indicates that the previous number is binary), secondary use of the video data is prohibited. When the value of capture_enable_flag_PlayList is 01B, the video data is 64 ×. Only secondary use that is reduced to a size of 64 pixels or less can be allowed. In addition, when the value of capture_enable_flag_PlayList is 10B, since there is no limitation on the size, secondary use of video data can be permitted.

또한, 상술한 바와 같이, 비디오 데이터의 2차 이용에 있어서, 사이즈에 제한을 마련하는 것이 아니라, 용도에 제한을 마련하도록 하는 것도 가능하다. 즉, capture_enable_flag_PlayList의 값이 01B인 경우에는, 비디오 콘텐츠 재생 어플리케이션(210)(도 2)에서만의 2차 이용을 허가하고, capture_enable_flag_PlayList의 값이 10B인 경우에는, 도 1의 디스크 장치 내의, 비디오 콘텐츠 재생 어플리케이 션(210)을 포함하는 임의의 어플리케이션에 의한 2차 이용을 허가할 수 있다. 여기서, 도 1의 디스크 장치 내의 비디오 콘텐츠 재생 어플리케이션(210) 이외의 어플리케이션으로서는, 예를 들면, 벽지(백그라운드)나 스크린 세이버의 표시의 처리를 행하는 어플리케이션 등이 있다. In addition, as described above, in the secondary use of video data, it is also possible not to provide a limit on the size but to limit the use. That is, when the value of the capture_enable_flag_PlayList is 01B, the secondary use only in the video content playback application 210 (FIG. 2) is allowed, and when the value of the capture_enable_flag_PlayList is 10B, the video content playback in the disk device of FIG. Secondary use by any application, including application 210, may be allowed. Here, as an application other than the video content reproduction application 210 in the disk apparatus of FIG. 1, for example, an application which performs processing of displaying a wallpaper (background) or a screen saver or the like.

또한, capture_enable_flag_PlayList를, 상술한 바와 같이, 2비트로 한 경우, 그 전에 배치되는 reserved_for_word_alignment는, 워드 얼라인을 취하기 때문에, 14비트로 된다. In addition, when capture_enable_flag_PlayList is set to 2 bits as described above, reserved_for_word_alignment disposed before becomes 14 bits because word alignment is taken.

또한, capture_enable_flag_PlayList에 의해, 비디오 데이터의 디스크 장치 내에서의 2차 이용을 허가하는 것 외에, 디스크 장치 밖에서의 2차 이용을 허가하도록 하는 것도 가능하다. 여기서, 비디오 데이터의, 디스크 장치 밖에서의 2차 이용을 허가하는 경우에는, 비디오 데이터는, 예를 들면, 디스크 장치에 착탈 가능한 기록 매체나 디스크 장치에 접속 가능한 다른 장치에 착탈 가능한 기록 매체에 기록되거나, 혹은 인터넷 등의 네트워크를 통하여, 다른 장치에 송신(배신)된다. 이 경우, 비디오 데이터에는, 그 비디오 데이터를 기록 매체에 기록하는 횟수나 배신하는 횟수를 제한하는 정보를 부가하도록 할 수 있다. In addition, the capture_enable_flag_PlayList enables not only the secondary use of the video data in the disk device but also the secondary use outside the disk device. Here, in the case where the secondary use of the video data is permitted outside the disk apparatus, the video data is recorded on, for example, a recording medium detachable from the disk apparatus or a recording medium detachable from another apparatus connectable to the disk apparatus. Or to other devices via a network such as the Internet. In this case, the video data can be added with information that limits the number of times the video data is recorded or distributed.

capture_enable_flag_PlayList에 이어서는, PlayList_name_length(8비트)와 PlayList_name_string(255바이트)가 순차적으로 배치된다. PlayList_name_length는, 그 후에 배치되는 PlayList_name_string의 사이즈를, 바이트수로 나타내고, PlayList_name_string는, PlayList()의 명칭을 나타낸다. Following capture_enable_flag_PlayList, PlayList_name_length (8 bits) and PlayList_name_string (255 bytes) are sequentially arranged. PlayList_name_length represents the size of the PlayList_name_string arranged afterwards in bytes, and PlayList_name_string represents the name of PlayList ().

PlayList_name_string 후에는, number_of_PlayItems(16비트)가 배치된다. number_of_PlayItems는, 계속되는 PlayItem()의 개수를 나타낸다. After PlayList_name_string, number_of_PlayItems (16 bits) is disposed. number_of_PlayItems represents the number of PlayItem () following.

number_of_PlayItems 후에는, 그 number_of_PlayItems의 수만큼의 PlayItem()의 구조가 기술된다. After number_of_PlayItems, the structure of PlayItem () as many as the number of number_of_PlayItems is described.

여기서, 1개의 PlayList()에서는, PlayItem() 단위로, 콘텐츠의 재생 수순을 기술할 수 있다. Here, in one PlayList (), the reproduction procedure of the content can be described in units of PlayItem ().

또한, PlayList() 중의, number_of_PlayItems의 수만큼의 PlayItem() 각각에 대해서는, 그 PlayList() 중에서 유니크한 ID(Identification)가 붙여진다. 즉, PlayList() 중의 최초의 PlayItem()에는, ID로서 0번이 붙여지고, 이하, 계속되는 PlayItem()에 대하여, 그 출현 순으로, 1번, 2번, …으로 일련 번호의 ID가 붙여진다. Each PlayItem () of the number_of_PlayItems in the PlayList () is given a unique ID in the PlayList (). That is, the first PlayItem () in the PlayList () is assigned with 0 as the ID, and for the following PlayItem (), the first PlayItem () is followed by the first, second,... The ID of the serial number is attached.

number_of_PlayItems의 수만큼 PlayItem() 후에는, 1개의 PlayListMark()가 배치된다. PlayListMark()는, PlayList()에 따라서 행하여지는 재생의 시간축 상의 표시로 되는 후술하는 Mark()의 집합으로서, 그 상세에 대해서는, 도 7을 참조하여 후술한다. After PlayItem () by the number of number_of_PlayItems, one PlayListMark () is arranged. PlayListMark () is a set of Mark () to be described later, which is a display on the time axis of playback performed in accordance with PlayList (). Details thereof will be described later with reference to FIG.

「PlayItem()의 설명」Description of PlayItem ()

다음으로, 도 6은, 도 5의 PlayList()에 포함되는 PlayItem()의 내부 구조를 도시하고 있다. Next, FIG. 6 shows the internal structure of PlayItem () included in PlayList () of FIG.

PlayItem()의 선두에는, length(16비트)가 배치되며, length는, 그것을 포함하는 PlayItem()의 사이즈를 나타낸다. At the head of PlayItem (), length (16 bits) is arranged, and length indicates the size of PlayItem () including it.

length에 이어서는, Clip_Information_file_name_length(16비트)와 Clip_Information_file_name(가변 길이)이 순차적으로 배치된다. Clip_Information_file_name_length는, 그 후에 배치되는 Clip_Information_file_name의 사이즈를, 바이트수로 나타낸다. Clip_Information_file_name는, PlayItem()에 의해 재생하는 클립 스트림 파일(도 4의 확장자가 PS인 파일)에 대응하는 클립 정보 파일(도 4의 확장자가 CLP인 파일)의 파일명을 나타낸다. 또한, 클립 스트림 파일 및 클립 정보 파일의 파일명의, 상술한 명명 규칙에 의해, Clip_Information_file_name로부터, PlayItem()에 의해 재생하는 클립 정보 파일의 파일명을 인식하고, 그 클립 스트림 파일을 특정할 수 있다. Following length, Clip_Information_file_name_length (16 bits) and Clip_Information_file_name (variable length) are sequentially arranged. The Clip_Information_file_name_length indicates the size of the Clip_Information_file_name to be disposed after, in bytes. The Clip_Information_file_name represents the file name of the clip information file (the file whose extension of FIG. 4 is CLP) corresponding to the clip stream file (file whose extension of FIG. 4 is PS) to be played by PlayItem (). The file names of the clip stream file and the clip information file can recognize the file name of the clip information file to be played by PlayItem () from Clip_Information_file_name and specify the clip stream file according to the above-mentioned naming convention.

Clip_Information_file_name에 이어서는, IN_time(32비트)와 OUT_time(32비트)가 순차적으로 배치된다. Following Clip_Information_file_name, IN_time (32 bits) and OUT_time (32 bits) are sequentially arranged.

IN_time과 OUT_time는, 각각, Clip_Information_file_name로부터 특정되는 클립 스트림 파일의 재생 개시 위치와 재생 종료 위치를 지정하는 시각 정보이다. IN_time and OUT_time are time information specifying the playback start position and playback end position of the clip stream file specified from Clip_Information_file_name, respectively.

IN_time에 따르면, 클립 스트림 파일의 (선두를 포함하는)도중의 위치를 재생 개시 위치로서 지정할 수 있고, OUT_time에 따르면, 클립 스트림 파일의 (최후를 포함하는)도중의 위치를 재생 종료 위치로서 지정할 수 있다. According to IN_time, the midpoint (including the leading) of the clip stream file can be designated as the playback start position, and according to OUT_time, the midpoint (including the last) of the clip stream file can be designated as the playback end position. have.

여기서, PlayItem()에 따르면, Clip_Information_file_name로부터 특정되는 클립 스트림 파일의, IN_time로부터 OUT_time까지의 사이의 콘텐츠가 재생된다. 이 PlayItem()에 의해 재생되는 콘텐츠를, 이하, 적절하게, 클립이라고 한다. Here, according to PlayItem (), the contents of the clip stream file specified from Clip_Information_file_name from IN_time to OUT_time are played back. The content reproduced by this PlayItem () is hereinafter referred to as a clip as appropriate.

「PlayListMark()의 설명」Description of PlayListMark ()

다음으로, 도 7은, 도 5의 PlayList()에 포함되는 PlayListMark()의 내부 구조를 도시하고 있다. Next, FIG. 7 shows the internal structure of PlayListMark () included in PlayList () of FIG.

PlayListMark()는, 상술한 바와 같이, 그 PlayListMark()를 포함하는 PlayList()(도 5)에 따라서 행하여지는 재생의 시간축 상의 표시로 되는, 0이상의 Mark()의 집합이다. 1개의 Mark()는, PlayList()에 따라서 행하여지는 재생의 시간축 상의 1개의 시각(위치)을 나타내는 시각 정보, Mark()의 타입을 나타내는 타입 정보, 및 타입 정보가 이벤트를 발생시키는 타입을 나타내고 있을 때의, 그 이벤트의 인수로 되는 인수 정보를, 적어도 갖는다. PlayListMark () is a set of zero or more Mark (), which is a display on the time axis of playback performed according to PlayList () (Fig. 5) including the PlayListMark () as described above. One Mark () indicates time information indicating one time (position) on the time axis of playback performed in accordance with the PlayList (), type information indicating the type of Mark (), and the type in which the type information generates an event. When present, it has at least argument information that is the argument of the event.

즉, PlayListMark()의 선두에는, length(32비트)가 배치된다. length는, 그것을 포함하는 PlayListMark()의 사이즈를 나타낸다. That is, length (32 bits) is arranged at the head of PlayListMark (). length indicates the size of PlayListMark () including it.

length 후에는, number_of_PlayList_marks(16비트)가 배치되며, number_of_PlayList_marks는, 그것에 계속하여 배치되는 Mark()의 개수를 나타낸다. number_of_PlayList_marks 후에는, 그 number_of_PlayList_marks의 수만큼 Mark()의 구조가 기술된다. After length, number_of_PlayList_marks (16 bits) are arranged, and number_of_PlayList_marks represents the number of Mark () arranged subsequent to it. After number_of_PlayList_marks, the structure of Mark () is described by the number of the number_of_PlayList_marks.

Mark()의 선두에는, mark_type(8비트)가 배치된다. mark_type는, 상술한 타입 정보로서, 그것을 포함하는 Mark()의 타입을 나타낸다. At the head of Mark (), mark_type (8 bits) is arranged. mark_type is the type information described above and indicates the type of Mark () including it.

본 실시 형태에서는, Mark()의 타입으로서, 예를 들면, 챕터(Chapter), 인덱스(Index), 이벤트(Event)의 3종류가 준비되어 있다. In the present embodiment, as the type of Mark (), for example, three types of chapters, indexes, and events are prepared.

타입이 챕터인 Mark()(이하, 적절하게, 챕터 마크라고 함)는, PlayList()를 분할하는 첫머리 탐색의 단위인 챕터의 선두 위치의 표시이다. 또한, 타입이 인덱 스인 Mark()(이하, 적절하게, 인덱스 마크라고 함)는, 챕터를 세분화한 단위인 인덱스의 선두 위치의 표시이다. 타입이 이벤트의 Mark()(이하, 적절하게, 이벤트 마크라고 함)는, PlayList()에 따른 콘텐츠의 재생 중에서 이벤트를 발생시키는 위치의 표시이다. 이벤트 마크에 의한 이벤트의 발생은, 후술하는 바와 같이, 스크립트 제어 모듈(211)에 통지된다. Mark () whose type is a chapter (hereinafter, appropriately referred to as a chapter mark) is a display of a head position of a chapter which is a unit of the first search for dividing PlayList (). In addition, Mark () whose type is an index (hereinafter, appropriately referred to as an index mark) is a display of the head position of the index, which is a unit of chapter subdivision. The type Mark () of an event (hereinafter, appropriately referred to as an event mark) is an indication of a position that generates an event during reproduction of content according to PlayList (). The occurrence of the event by the event mark is notified to the script control module 211 as described later.

여기서, mark_type의 값과, Mark()의 타입과의 관계를, 도 8에 도시한다. 도 8에 따르면, 챕터 마크의 mark_type에는, 1이 세트된다. 또한, 인덱스 마크의 mark_type에는, 2가 세트되며, 이벤트 마크의 mark_type에는, 3이 세트된다. 또한, 도 8에서는, mark_type로 나타내는 8비트의 값 중의, 0과, 4 내지 255는, 장래의 확장을 위한 예약(reserved)으로 되어 있다. Here, the relationship between the value of mark_type and the type of Mark () is shown in FIG. According to Fig. 8, 1 is set to mark_type of the chapter mark. In addition, 2 is set to mark_type of the index mark, and 3 is set to mark_type of the event mark. In Fig. 8, 0 and 4 to 255 of the 8-bit value indicated by mark_type are reserved for future expansion.

도 7로 되돌아가서, mark_type 후에는, mark_name_length(8비트)가 배치된다. 또한, Mark()의 마지막에는, mark_name_string(24바이트)가 배치된다. mark_name_length와 mark_name_string는, Mark()의 명칭을 기술하기 위한 것이며, mark_name_length는, mark_name_string의 유효한 사이즈를, mark_name_string는, Mark()의 명칭을, 각각 나타낸다. 따라서, mark_name_string의 선두로부터 mark_name_length가 나타내는 바이트수까지가, Mark()의 유효한 명칭을 나타낸다. Returning to Fig. 7, after mark_type, mark_name_length (8 bits) is arranged. In addition, mark_name_string (24 bytes) is arrange | positioned at the end of Mark (). mark_name_length and mark_name_string are for describing the name of Mark (), mark_name_length is the effective size of mark_name_string, and mark_name_string is the name of Mark (), respectively. Therefore, the number of bytes indicated by mark_name_length from the head of mark_name_string indicates a valid name of Mark ().

mark_name_length에 이어서는, PlayList() 상에서 정의되는 Mark()를 클립 스트림 파일과 대응시키는 4개의 요소 ref_to_PlayItem_id(16비트), mark_time_stamp(32비트), entry_ES_stream_id(8비트), entry_ES_private_stream_id(8비트)가 순차적으로 배치된다. After mark_name_length, the four elements ref_to_PlayItem_id (16 bits), mark_time_stamp (32 bits), entry_ES_stream_id (8 bits), and entry_ES_private_stream_id (8 bits) that map Mark () defined on PlayList () to a clip stream file are sequentially. Is placed.

ref_to_PlayItem_id에는, Mark()가 속하는 PlayItem()에 대하여 일련 번호로 붙여진 ID가 기술된다. ref_to_PlayItem_id에 의해, Mark()가 속하는 PlayItem()(도 6)이 특정되며, 나아가서는, 도 6에서 설명한 바와 같이, 클립 정보 파일과 클립 스트림 파일이 특정된다. In ref_to_PlayItem_id, an ID assigned by serial number to PlayItem () to which Mark () belongs is described. By ref_to_PlayItem_id, PlayItem () (Fig. 6) to which Mark () belongs is specified, and further, as described with reference to Fig. 6, a clip information file and a clip stream file are specified.

mark_time_stamp는, ref_to_PlayItem_id에 의해 특정되는 클립 스트림 파일 내에서의 Mark()가 나타내는 위치(시각)를 나타낸다. mark_time_stamp represents the position (time) indicated by Mark () in the clip stream file specified by ref_to_PlayItem_id.

여기서, 도 9는, PlayList(), PlayItem(), 클립, 및 클립 스트림 파일에 저장된 프로그램 스트림의 관계를 도시하고 있다. Here, Fig. 9 shows the relationship between PlayList (), PlayItem (), clips, and program streams stored in clip stream files.

도 9에서는, PlayList()는, 3개의 PlayItem()으로 구성되어 있고, 그 3개의 PlayItem() 각각에는, 일련 번호로 붙여지는 ID #0, #1, #2가 붙여져 있다. 여기서, 이하, 적절하게, ID #i가 붙여진 PlayItem()을, PlayItem #i로 기술한다. In Fig. 9, PlayList () is composed of three PlayItems (), and ID # 0, # 1, and # 2, which are assigned by serial numbers, are attached to each of the three PlayItems (). Here, PlayItem () with ID #i is described as PlayItem #i as follows.

또한, 도 9에서는, PlayItem #0, PlayItem #1, PlayItem #2에 의해 재생되는 콘텐츠인 클립이, 각각, 클립 A, 클립 B, 클립 C로서 도시되어 있다. In addition, in FIG. 9, the clip which is the content reproduced by PlayItem # 0, PlayItem # 1, and PlayItem # 2 is shown as clip A, clip B, and clip C, respectively.

클립의 실체는, 도 6의 PlayItem()에서의 Clip_Information_file_name로부터 특정되는(클립 정보 파일로부터, 더 특정되는) 클립 스트림 파일에 저장된 프로그램 스트림 중의, IN_time로부터 OUT_time까지의 프로그램 스트림이다. 도 9에서는, 클립 A, 클립 B, 클립 C의 실체로서의 프로그램 스트림이, 프로그램 스트림 A, 프로그램 스트림 B, 프로그램 스트림 C로서, 각각 도시되어 있다. The substance of a clip is a program stream from IN_time to OUT_time in a program stream stored in a clip stream file (which is further specified from a clip information file) specified from Clip_Information_file_name in PlayItem () in FIG. In FIG. 9, the program stream as an entity of the clip A, the clip B, and the clip C is shown as the program stream A, the program stream B, and the program stream C, respectively.

예를 들면, 도 9에서, PlayList()에 따라서 행하여지는 재생의 시간축 상의 위치(시각) t0의 표시로 되는 Mark()에서는, 그 ref_to_PlayItem_id와 mark_time_stamp는, 다음과 같이 기술된다. For example, in FIG. 9, in Mark () which is a mark of the position (time) t0 on the time axis of playback performed in accordance with PlayList (), its ref_to_PlayItem_id and mark_time_stamp are described as follows.

즉, 시각 t0은, PlayItem #1의 재생이 행하여지는 시각이기 때문에, ref_to_PlayItem_id에는, 그 PlayItem #1의 ID인 1이 기술된다. 또한, 시각 t0에서는, PlayItem #1에 의해, 클립 B의 실체인 프로그램 스트림 B가 재생되기 때문에, mark_time_stamp에는, 프로그램 스트림 B가 저장된 클립 스트림 파일에서의 시각 t0에 상당하는 시각이 기술된다. That is, since time t0 is a time at which PlayItem # 1 is played, 1, which is the ID of the PlayItem # 1, is described in ref_to_PlayItem_id. In addition, at time t0, since program stream B, which is the substance of clip B, is reproduced by PlayItem # 1, mark_time_stamp describes the time corresponding to time t0 in the clip stream file in which program stream B is stored.

다시, 도 7로 되돌아가서, entry_ES_stream_id와, entry_ES_private_stream_id는, Mark()를, 특정한 엘리멘터리 스트림에 관련짓는 경우에, 그 엘리멘터리 스트림을 특정하기 위해 사용된다. 즉, entry_ES_stream_id에는, Mark()를 관련짓는 엘리멘터리 스트림(이 배치되는, 후술하는 도 16 내지 도 18에 도시하는 PES_packet())의 후술하는 stream_id가 기술된다. 또한, entry_ES_private_stream_id에는, 필요에 따라서, Mark()를 관련짓는 엘리멘터리 스트림(이 배치되는, 후술하는 도 21에 도시하는 private_stream1_PES_payload()에서의 private_header())의 후술하는 private_stream_id가 기술된다. 7 again, entry_ES_stream_id and entry_ES_private_stream_id are used to specify the elementary stream when Mark () is associated with a specific elementary stream. That is, entry_ES_stream_id describes stream_id described later of the elementary stream (PES_packet () shown in FIGS. 16 to 18 to be described later) to which Mark () is associated. In addition, entry_ES_private_stream_id describes the private_stream_id described later of the elementary stream associated with Mark () (private_header () in private_stream1_PES_payload () shown in FIG. 21 to be described later), which is disposed as needed.

예를 들면, 비디오 스트림 #1과 비디오 스트림 #2가 다중화되어 있는 클립에서, 비디오 스트림 #1을 재생하고 있는 경우와, 비디오 스트림 #2를 재생하고 있는 경우에서 챕터의 발생 시각을 변경하고자 할 때에는, 비디오 스트림 #1 재생 시의 챕터 마크 발생 시각의 Mark()의 entry_ES_stream_id와 entry_ES_private_stream_id에, 비디오 스트림 #1의 stream_id와 private_stream_id가 기술되며, 또한, 비디오 스트림 #2 재생 시의 챕터 마크 발생 시각의 Mark()의 entry_ES_stream_id와 entry_ES_private_stream_id에, 비디오 스트림 #2의 stream_id와 private_stream_id가 기술된다. For example, in a clip in which video stream # 1 and video stream # 2 are multiplexed, when the video stream # 1 is being played, and when video stream # 2 is played, the time of chapter generation is to be changed. In the entry_ES_stream_id and entry_ES_private_stream_id of Mark () at the time of chapter mark generation when playing video stream # 1, stream_id and private_stream_id of video stream # 1 are described. Stream_id and private_stream_id of video stream # 2 are described in entry_ES_stream_id and entry_ES_private_stream_id.

또한, 특정의 엘리멘터리 스트림에 관련짓지 않는 Mark()의 entry_ES_stream_id와, entry_ES_private_stream_id에는, 예를 들면, 모두 0이 기술된다. In addition, for example, all zeros are described in entry_ES_stream_id and entry_ES_private_stream_id of Mark () not associated with a specific elementary stream.

entry_ES_private_stream_id 후에는, mark_data(32비트)가 배치된다. mark_data는, Mark()가 이벤트 마크인 경우에, 그 이벤트 마크에 의해 발생되는 이벤트의 인수로 되는 인수 정보이다. 또한, mark_data는, Mark()가 챕터 마크나 인덱스 마크인 경우에, 그 챕터 마크나 인덱스 마크가 나타내는 챕터나 인덱스의 번호로서 사용하는 것도 가능하다. After entry_ES_private_stream_id, mark_data (32 bits) is disposed. mark_data is argument information which becomes an argument of an event generated by the event mark when Mark () is an event mark. In addition, mark_data can also be used as the chapter or index number indicated by the chapter mark or index mark when Mark () is a chapter mark or an index mark.

「Clip()의 설명」Description of Clip ()

다음으로, 도 4의 "CLIP" 디렉토리에 놓이는, 확장자가 CLP의 클립 정보 파일의 내부 구조에 대하여 설명한다. Next, the internal structure of the clip information file of the CLP whose extension is placed in the "CLIP" directory of FIG. 4 will be described.

도 4에서는, "CLIP" 디렉토리에, 3개의 클립 정보 파일 "00001.CLP", "00002.CLP", "00003.CLP"가 놓여 있고, 각각에는, "STREAM" 디렉토리에 놓인 클립 스트림 파일 "00001.PS", "00002.PS", "00003.PS"의 성질 등을 나타내는 메타데이터가 저장되어 있다. In FIG. 4, three clip information files "00001.CLP", "00002.CLP", and "00003.CLP" are placed in the "CLIP" directory, and each of the clip stream files "00001 placed in the" STREAM "directory. Metadata indicating the properties of ".PS", "00002.PS", "00003.PS", and the like are stored.

도 10은, 그와 같은 클립 정보 파일 Clip()의 내부 구조를 도시하고 있다. Fig. 10 shows the internal structure of such clip information file Clip ().

클립 정보 파일 Clip()의 선두에는, presentation_start_time과 presentation_end_time(모두 32비트)가, 순차적으로 배치된다. presentation_start_time과 presentation_end_time는, 클립 정보 파일 Clip()에 대응하는 클립 스트림 파일(에 저장되어 있는 프로그램 스트림)의 선두와 최후의 시각을 나타낸다. 또한, 클립 스트림 파일의 시각은, MPEG2-System의 시각에서 사용되고 있는 90kHz의 배수로 기술된다. At the beginning of the clip information file Clip (), presentation_start_time and presentation_end_time (all 32 bits) are sequentially arranged. presentation_start_time and presentation_end_time represent the beginning and the last time of the clip stream file (program stream stored in) corresponding to the clip information file Clip (). In addition, the time of a clip stream file is described by the multiple of 90kHz used by the time of MPEG2-System.

presentation_end_time에 이어서는, reserved_for_word_alignment(7비트)와 capture_enable_flag_Clip(1비트)가 순차적으로 배치된다. 7비트의 reserved_for_word_alignment는, 워드 얼라인을 취하기 위한 것으로, capture_enable_flag_Clip는, 상술한 도 5의 capture_enable_flag_PlayList와 마찬가지로, 비디오 데이터의 2차 이용을 허가할지의 여부를 나타내는 플래그이다. Following presentation_end_time, reserved_for_word_alignment (7 bits) and capture_enable_flag_Clip (1 bit) are sequentially arranged. The 7-bit reserved_for_word_alignment is for word alignment, and capture_enable_flag_Clip is a flag indicating whether secondary use of video data is allowed, similarly to capture_enable_flag_PlayList in FIG. 5 described above.

단, 도 5의 capture_enable_flag_PlayList는, PlayList()에 의해 재생되는 비디오 스트림에 대응하는 비디오 데이터(PlayList()에 속하는 비디오 데이터)의 2차 이용을 허가할지의 여부를 나타내는 것에 대하여, 도 10의 capture_enable_flag_Clip는, 클립 정보 파일 Clip()에 대응하는 클립 스트림 파일에 저장되어 있는 비디오 스트림(비디오의 엘리멘터리 스트림)에 대응하는 비디오 데이터의 2차 이용을 허가할지의 여부를 나타낸다. 따라서, 도 5의 capture_enable_flag_PlayList와, 도 10의 capture_enable_flag_Clip에서는, 2차 이용을 허가하는 비디오 데이터의 단위(범위)가 상이하다. However, capture_enable_flag_PlayList in FIG. 5 indicates whether to permit secondary use of video data (video data belonging to PlayList ()) corresponding to the video stream played by PlayList (), and capture_enable_flag_Clip in FIG. Indicates whether to permit secondary use of video data corresponding to the video stream (elementary stream of the video) stored in the clip stream file corresponding to the clip information file Clip (). Therefore, in capture_enable_flag_PlayList in FIG. 5 and capture_enable_flag_Clip in FIG. 10, the unit (range) of video data allowing secondary use is different.

또한, 도 10의 capture_enable_flag_Clip도, 도 5의 capture_enable_flag_PlayList에서 설명한 바와 같이, 1비트가 아니라, 복수 비트 로 하는 것이 가능하다. In addition, as described in the capture_enable_flag_PlayList in FIG. 5, the capture_enable_flag_Clip in FIG. 10 may also be a plurality of bits instead of one bit.

capture_enable_flag_Clip 후에는, number_of_streams(8비트)가 배치되며, 이 number_of_streams에는, 그에 후속하는 StreamInfo() 구조의 개수가 기술된다. 따라서, number_of_streams에 이어서는, 그 number_of_Streams의 수만큼, StreamInfo()의 구조가 기술된다. After capture_enable_flag_Clip, number_of_streams (8 bits) are arranged, and in this number_of_streams, the number of subsequent StreamInfo () structures is described. Therefore, following number_of_streams, the structure of StreamInfo () is described by the number of the number_of_Streams.

StreamInfo()의 선두에는, length(16비트)가 배치되며, 이 length는, 그것을 포함하는 StreamInfo()의 사이즈를 나타낸다. length에 이어서는, stream_id(8비트)와 private_stream_id(8비트)가 배치되어 있고, 이 stream_id와 private_stream_id에 의해, StreamInfo()와 관련짓는 엘리멘터리 스트림이 특정(식별)된다. At the head of StreamInfo (), length (16 bits) is arranged, and this length indicates the size of StreamInfo () including it. After length, stream_id (8 bits) and private_stream_id (8 bits) are arranged. The stream_id and private_stream_id identify (identify) an elementary stream associated with StreamInfo ().

여기서, 도 11은, 엘리멘터리 스트림을 식별하는 stream_id 및 private_stream_id와, 엘리멘터리 스트림과의 관계를 도시하고 있다. Here, FIG. 11 shows the relationship between the stream_id and the private_stream_id identifying the elementary stream and the elementary stream.

stream_id는, MPEG2-System 규격에서 규정되어 있는 것과 동일한 것이며, 그 값은, MPEG2-System 규격에서, 엘리멘터리 스트림(데이터)의 속성(종류)마다에, 미리 정해져 있다. 따라서, MPEG2-System 규격에서 정의되어 있는 속성의 엘리멘터리 스트림은, stream_id만으로 특정할 수 있다. The stream_id is the same as that defined in the MPEG2-System standard, and its value is determined in advance for each attribute (type) of the elementary stream (data) in the MPEG2-System standard. Therefore, the elementary stream of the attribute defined in the MPEG2-System standard can be specified only by stream_id.

본 실시 형태에서는, MPEG2-System 규격에서 규정되어 있지 않은 속성의 엘리멘터리 스트림도 취급하는 것이 가능하게 되어 있고, private_stream_id는, MPEG2-System 규격에서 규정되어 있지 않은 속성의 엘리멘터리 스트림을 식별하기 위한 정보이다. In this embodiment, the elementary stream of attributes not specified in the MPEG2-System standard can also be handled, and private_stream_id identifies an elementary stream of attributes not defined in the MPEG2-System standard. Information for

도 11에서는, MPEG에서 규정되어 있는 부호화(복호) 방식으로 인코드된 비디오의 엘리멘터리 스트림, ATRAC(Adaptive TRansform Acoustic Coding) 방식으로 인코드된 오디오의 엘리멘터리 스트림(이하, 적절하게, ATRAC 오디오 스트림이라고 함), LPCM(Linear Pulse Code Modulation) 방식으로 인코드된 오디오의 엘리멘터리 스트림(이하, 적절하게, LPCM 오디오 스트림이라고 함), 자막의 엘리멘터리 스트림(이하, 적절하게, 자막 스트림이라고 함)의 4개의 속성의 엘리멘터리 스트림에 대하여, stream_id 및 private_stream_id와의 관계를 나타내고 있다. In FIG. 11, an elementary stream of video encoded by an encoding (decoding) scheme defined in MPEG, and an elementary stream of audio encoded by an ATRAC (Adaptive TRansform Acoustic Coding) scheme (hereinafter, appropriately, ATRAC) Audio streams), elementary streams of audio encoded with Linear Pulse Code Modulation (LPCM) (hereinafter referred to as LPCM audio streams), and elementary streams of subtitles (hereinafter appropriately, subtitles). An elementary stream of four attributes of a stream (called a stream) is shown to have a relationship with stream_id and private_stream_id.

MPEG2-System 규격에서는, MPEG에서 규정되어 있는 부호화 방식으로 인코드된 비디오의 엘리멘터리 스트림은, 0xE0 내지 0xEF의 범위의 값을(0x는, 그 후에 계속되는 문자열이 16진수인 것을 나타냄), 엘리멘터리 스트림을 식별하는 stream_id로서 이용하여 다중화하는 것이 규정되어 있다. 따라서, MPEG에서 규정되어 있는 부호화 방식으로 인코드된 비디오의 엘리멘터리 스트림에 대해서는, 0xE0 내지 0xEF의 범위의 값의 stream_id로 식별할 수 있는 16개의 비디오의 엘리멘터리 스트림을, 프로그램 스트림에 다중화할 수 있다. In the MPEG2-System standard, an elementary stream of video encoded by the encoding scheme specified in MPEG is a value in the range of 0xE0 to 0xEF (0x indicates that a subsequent character string is hexadecimal). Multiplexing is specified by using the stream_id for identifying the mentor stream. Therefore, for the elementary stream of video encoded by the encoding method specified in MPEG, the elementary stream of 16 video identified by stream_id having a value in the range of 0xE0 to 0xEF is multiplexed into a program stream. can do.

또한, MPEG에서 규정되어 있는 부호화 방식으로 인코드된 비디오의 엘리멘터리 스트림의 식별은, 0xE0 내지 0xEF의 범위의 값의 stream_id로 행할 수 있으므로, private_stream_id는 불필요하다(무시할 수 있다).In addition, since the elementary stream of video encoded by the encoding method specified in MPEG can be identified by stream_id with a value in the range of 0xE0 to 0xEF, private_stream_id is unnecessary (ignored).

한편, MPEG2-System에서는, ATRAC 오디오 스트림, LPCM 오디오 스트림, 자막 스트림에 대해서는, stream_id는 정의되어 있지 않다. In MPEG2-System, stream_id is not defined for ATRAC audio streams, LPCM audio streams, and subtitle streams.

따라서, 본 실시 형태에서는, MPEG2-System에서 stream_id가 정의되어 있지 않은 엘리멘터리 스트림에 대해서는, 그 stream_id에, MPEG2-System에서 private_stream_1이라고 하는 속성을 나타내는 값인 0xBD를 채용하고, 또한, 도 11에 도시하는 바와 같이, private_stream_id를 이용하여 식별(특정)을 행하는 것으로 하고 있다. Therefore, in the present embodiment, for the elementary stream in which the stream_id is not defined in the MPEG2-System, 0xBD, which is a value indicating an attribute of the private_stream_1 in the MPEG2-System, is adopted as the stream_id. As described above, identification (specific) is performed using the private_stream_id.

즉, ATRAC 오디오 스트림의 식별에는, 0x00 내지 0x0F의 범위의 값의 private_stream_id가 사용된다. 따라서, 프로그램 스트림에는, 16개의 ATRAC 오디오 스트림을 다중화할 수 있다. 또한, LPCM 오디오 스트림의 식별에는, 0x10 내지 0x1F의 범위의 값 private_stream_id가 사용된다. 따라서, 프로그램 스트림에는, 16개의 LPCM 오디오 스트림을 다중화할 수 있다. 또한, 자막 스트림의 식별에는, 0x80 내지 0x9F의 범위의 값의 private_stream_id가 사용된다. 따라서, 프로그램 스트림에는, 32개의 자막 스트림을 다중화할 수 있다. In other words, private_stream_id having a value in the range of 0x00 to 0x0F is used to identify the ATRAC audio stream. Therefore, 16 ATRAC audio streams can be multiplexed into a program stream. In addition, the value private_stream_id in the range of 0x10 to 0x1F is used for identification of an LPCM audio stream. Therefore, 16 LPCM audio streams can be multiplexed into the program stream. In addition, private_stream_id of the value of the range of 0x80-0x9F is used for identification of a subtitle stream. Therefore, 32 subtitle streams can be multiplexed into the program stream.

또한, stream_id 및 private_stream_id에 대해서는, 더 후술한다. In addition, stream_id and private_stream_id are mentioned later.

도 10으로 되돌아가서, private_stream_id 후에는, StaticInfo(), reserved_for_word_alignment(8비트)가 순차적으로 배치된다. StaticInfo()에는, (그 StaticInfo()를 포함하는 StreamInfo()에 기술된) stream_id 및 private_stream_id에 의해 특정되는 엘리멘터리 스트림의 재생 중에 변화되지 않는 정보가 기술된다. StaticInfo()의 상세에 대해서는, 도 12를 참조하여 후술한다. Returning to Fig. 10, after private_stream_id, StaticInfo () and reserved_for_word_alignment (8 bits) are sequentially arranged. In StaticInfo (), information that does not change during reproduction of the elementary stream specified by stream_id and private_stream_id (described in StreamInfo () including the StaticInfo ()) is described. Details of the StaticInfo () will be described later with reference to FIG. 12.

reserved_for_word_alignment는, 워드 얼라인을 취하기 위해 사용된다. reserved_for_word_alignment is used to align word alignment.

reserved_for_word_alignment에 이어서는, number_of_DynamicInfo(8비트)가 배치되며, number_of_DynamicInfo는, 그에 후속하여 배치되는 pts_change_point(32 비트)와 DynamicInfo()의 세트의 수를 나타낸다. Following reserved_for_word_alignment, number_of_DynamicInfo (8 bits) is arranged, and number_of_DynamicInfo represents the number of sets of pts_change_point (32 bits) and DynamicInfo () arranged subsequently.

따라서, number_of_DynamicInfo에 이어서는, 그 number_of_DynamicInfo의 수만큼의 세트수의 pts_change_point와 DynamicInfo()의 구조가 기술된다. Therefore, following the number_of_DynamicInfo, the structure of pts_change_point and DynamicInfo () of the set number of the number_of_DynamicInfo is described.

pts_change_point는, 그것과 세트로 되어 있는 DynamicInfo()의 정보가 유효하게 되는 시각을 나타낸다. 여기서, 엘리멘터리 스트림의 선두의 시각을 나타내는 pts_change_point는, 그 엘리멘터리 스트림이 저장된 클립 스트림 파일에 대응하는 클립 정보 파일 Clip()의 최초에 기술되는 presentation_start_time과 동일하다. pts_change_point indicates the time at which the information of DynamicInfo () set with it becomes valid. Here, pts_change_point indicating the start time of the elementary stream is the same as the presentation_start_time described first of the clip information file Clip () corresponding to the clip stream file in which the elementary stream is stored.

DynamicInfo()에는, stream_id 및 private_stream_id에 의해 특정되는 엘리멘터리 스트림의 재생 중에 변화되는, 말하자면 동적인 정보가 기술된다. DynamicInfo()에 기술된 정보는, 그것과 세트로 되어 있는 pts_change_point가 나타내는 재생 시각으로 되었을 때에 유효하게 된다. 또한, DynamicInfo()의 상세에 대해서는, 도 13을 참조하여 후술한다. DynamicInfo () describes, in other words, dynamic information that changes during reproduction of the elementary stream specified by stream_id and private_stream_id. The information described in DynamicInfo () becomes effective when the playback time indicated by pts_change_point set with it is reached. In addition, the detail of DynamicInfo () is mentioned later with reference to FIG.

number_of_DynamicInfo의 수만큼의 세트의 pts_change_point와 DynamicInfo() 후에는, EP_map()가 배치된다. 또한, EP_map()에 대해서는, 도 14를 참조하여 후술한다. After pts_change_point and DynamicInfo () of the same number of number_of_DynamicInfo sets, EP_map () is arranged. In addition, EP_map () is mentioned later with reference to FIG.

「StaticInfo()의 설명」StaticInfo () Description

다음으로, 도 12를 참조하여, 도 10의 StaticInfo()의 상세에 대하여 설명한다. Next, with reference to FIG. 12, the detail of StaticInfo () of FIG. 10 is demonstrated.

도 12는, StaticInfo()의 신택스를 도시하고 있다. 12 shows the syntax of StaticInfo ().

StaticInfo()는, 대응하는 엘리멘터리 스트림의 속성(종류)에 따라 내용이 상이하다. StaticInfo()에 대응하는 엘리멘터리 스트림의 속성은, 그 StaticInfo()를 포함하는 도 10의 StreamInfo()에 포함되는 stream_id와 private_stream_id에 의해 판단된다. StaticInfo () differs in content depending on the attribute (type) of the corresponding elementary stream. The attribute of the elementary stream corresponding to StaticInfo () is determined by stream_id and private_stream_id included in StreamInfo () of FIG. 10 including the StaticInfo ().

StaticInfo()에 대응하는 엘리멘터리 스트림이 비디오 스트림인 경우 (stream==VIDEO), StaticInfo()는, picture_size(4비트), frame_rate(4비트), 및 cc_flag(1비트)와, 워드 얼라인을 취하기 위한 reserved_for_word_alingment로 구성된다. If the elementary stream corresponding to StaticInfo () is a video stream (stream == VIDEO), StaticInfo () is word aligned with picture_size (4 bits), frame_rate (4 bits), and cc_flag (1 bit). It consists of reserved_for_word_alingment to take.

picture_size는, 비디오 스트림에 대응하는 비디오 데이터(에 의해 표시되는 화상)의 크기를 나타낸다. frame_rate는, 비디오 스트림에 대응하는 비디오 데이터의 프레임 주파수를 나타낸다. cc_flag는, 비디오 스트림에 클로즈드 캡션(Closed Caption) 데이터가 포함되어 있는지의 여부를 나타낸다. 즉, 예를 들면, 비디오 스트림에 클로즈드 캡션 데이터가 포함되어 있는 경우에는, cc_flag는 1로 되고, 비디오 스트림에 클로즈드 캡션 데이터가 포함되어 있지 않은 경우에는, cc_flag는 0으로 된다. picture_size represents the size of video data (picture displayed by) corresponding to the video stream. frame_rate represents a frame frequency of video data corresponding to a video stream. cc_flag represents whether closed caption data is included in the video stream. That is, for example, when the closed caption data is included in the video stream, cc_flag is 1, and when the closed caption data is not included in the video stream, cc_flag is 0.

StaticInfo()에 대응하는 엘리멘터리 스트림이 오디오 스트림인 경우 (stream==AUDIO), StaticInfo()는, audio_language_code(16비트), channel_configuration(8비트), lfe_existence(1비트), 및 sampling_frequency(4비트)와, 워드 얼라인을 취하기 위한 reserved_for_word_alingment로 구성된다. If the elementary stream corresponding to StaticInfo () is an audio stream (stream == AUDIO), StaticInfo () indicates audio_language_code (16 bits), channel_configuration (8 bits), lfe_existence (1 bit), and sampling_frequency (4 bits). ) And reserved_for_word_alingment for word alignment.

audio_language_code에는, 오디오 스트림에 포함되어 있는 오디오 데이터의 언어를 나타내는 코드가 기술된다. channel_configuration은, 모노럴(mono)/스테레오(stereo)/멀티 채널 등의, 오디오 스트림에 포함되어 있는 오디오 데이터의 속성을 나타낸다. lfe_existence는, 오디오 스트림에 저역 강조 채널이 포함되어 있는지의 여부를 나타내며, 포함되어 있으면 1로 되고, 포함되어 있지 않으면 0으로 된다. sampling_frequency는, 오디오 스트림에 포함되어 있는 오디오 데이터의 샘플링 주파수를 나타내는 정보이다. In audio_language_code, a code indicating a language of audio data included in an audio stream is described. channel_configuration represents an attribute of audio data included in an audio stream, such as monaural / stereo / multichannel. lfe_existence indicates whether or not the low-end emphasis channel is included in the audio stream. The value is 1 if it is included and 0 if it is not included. sampling_frequency is information indicating a sampling frequency of audio data included in the audio stream.

StaticInfo()에 대응하는 엘리멘터리 스트림이 자막 스트림인 경우 (stream==SUBTITLE), StaticInfo()는, subtitle_language_code(16비트) 및 configurable_flag(1비트)와, 워드 얼라인을 취하기 위한 reserved_for_word_alingment로 구성된다. If the elementary stream corresponding to StaticInfo () is a subtitle stream (stream == SUBTITLE), StaticInfo () consists of subtitle_language_code (16 bits) and configurable_flag (1 bit) and reserved_for_word_alingment for word alignment. .

subtitle_language_code에는, 자막 스트림에 포함되어 있는 자막 데이터의 언어를 나타내는 코드가 기술된다. configurable_flag는, 자막 스트림에 포함되어 있는 자막 데이터의 표시를 디폴트의 표시 방식으로부터 변경하는 것을 허가할지의 여부를 나타내는 정보로서, 예를 들면, 표시 방식의 변경이 허가되어 있는 경우에는 1이 기술되며, 허가되어 있지 않은 경우에는 0이 기술된다. 또한, 자막 데이터의 표시 방식으로서는, 자막 데이터의 표시 사이즈나, 표시 위치, 표시색, 표시 패턴(예를 들면, 점멸 표시 등), 표시 방향(예를 들면, 수직 방향이나 수평 방향) 등이 있다. In subtitle_language_code, a code indicating the language of the subtitle data included in the subtitle stream is described. configurable_flag is information indicating whether to change the display of caption data contained in the caption stream from the default display method. For example, 1 is described when the display method is allowed to be changed. If not allowed, 0 is written. As the display system of the caption data, there is a display size of the caption data, a display position, a display color, a display pattern (for example, a flashing display, etc.), a display direction (for example, a vertical direction or a horizontal direction), and the like. .

「DynamicInfo()의 설명」Explanation of DynamicInfo ()

다음으로, 도 13을 참조하여, 도 10의 DynamicInfo()의 상세에 대하여 설명 한다. Next, with reference to FIG. 13, the detail of DynamicInfo () of FIG. 10 is demonstrated.

도 13은, DynamicInfo()의 신택스를 도시하고 있다. Fig. 13 shows the syntax of DynamicInfo ().

DynamicInfo()의 선두에는, 워드 얼라인을 위한 reserved_for_word_alignment(8비트)가 배치되어 있고, 그 후에 계속되는 요소는, DynamicInfo()에 대응하는 엘리멘터리 스트림의 속성에 따라 내용이 상이하다. DynamicInfo()에 대응하는 엘리멘터리 스트림의 속성은, 도 12에서 설명한 StaticInfo()에서의 경우와 마찬가지로, DynamicInfo()를 포함하는 도 10의 StreamInfo()에 포함되는 stream_id와 private_stream_id에 의해 판단된다. At the head of DynamicInfo (), reserved_for_word_alignment (8 bits) for word alignment is arranged, and the elements that follow differ depending on the attribute of the elementary stream corresponding to DynamicInfo (). The attribute of the elementary stream corresponding to DynamicInfo () is determined by stream_id and private_stream_id included in StreamInfo () of FIG. 10 including DynamicInfo () as in the case of StaticInfo () described in FIG. 12.

DynamicInfo()에는, 도 10에서 설명한 바와 같이, 엘리멘터리 스트림의 재생 중에 변화되는 동적인 정보가 기술된다. 이 동적인 정보는, 특별히 한정되는 것은 아니지만, 도 13의 실시 형태에서는, DynamicInfo()에 대응하는 엘리멘터리 스트림에 대응하는 데이터, 즉, 엘리멘터리 스트림이 처리됨으로써 출력되는 데이터의 출력 속성(엘리멘터리 스트림으로부터 얻어지는 데이터의 출력 속성)이, DynamicInfo()에 기술된다. In DynamicInfo (), as described with reference to FIG. 10, dynamic information changed during reproduction of the elementary stream is described. Although the dynamic information is not particularly limited, in the embodiment of FIG. 13, the data corresponding to the elementary stream corresponding to DynamicInfo (), that is, the output attribute of the data output by processing the elementary stream ( Output attributes of data obtained from the elementary stream) are described in DynamicInfo ().

구체적으로는, DynamicInfo()에 대응하는 엘리멘터리 스트림이 비디오 스트림인 경우(stream==VIDEO), DynamicInfo()는, display_aspect_ratio(4비트)와, 워드 얼라인을 위한 reserved_for_word_alingment로 구성된다. diplay_aspect_ratio에는, 비디오 스트림에 대응하는 비디오 데이터의 출력 속성(표시 방식)으로서의, 예를 들면, 그 비디오 데이터의 어스펙트비가 기술된다. 즉, diplay_aspect_ratio에는, 예를 들면, 어스펙트비가, 16:9 또는 4:3 중의 어느 것인지를 나타내는 정보 가 기술된다. 또한, 비디오 스트림의 DynamicInfo()에는, 어스펙트비 외에, 예를 들면, 비디오 데이터에 의해 표시되는 화상의 사이즈(X화소×Y화소) 등을 기술하는 것이 가능하다. Specifically, when the elementary stream corresponding to DynamicInfo () is a video stream (stream == VIDEO), DynamicInfo () consists of display_aspect_ratio (4 bits) and reserved_for_word_alingment for word alignment. diplay_aspect_ratio describes, for example, the aspect ratio of the video data as an output attribute (display method) of the video data corresponding to the video stream. That is, diplay_aspect_ratio describes, for example, information indicating whether the aspect ratio is either 16: 9 or 4: 3. In addition to the aspect ratio, for example, the size (X pixels × Y pixels) of the image displayed by the video data can be described in the DynamicInfo () of the video stream.

DynamicInfo()에 대응하는 엘리멘터리 스트림이 오디오 스트림인 경우(stream==AUDIO), DynamicInfo()는, channel_assignment(4비트)와, 워드 얼라인을 취하기 위한 reserved_for_word_alingment로 구성된다. channel_assignment에는, 오디오 스트림에 2채널의 오디오 데이터가 포함되어 있는 경우에, 그 2채널의 출력 속성(출력 방식)이 기술된다. 즉, channel_assignment에는, 오디오 데이터가, 스테레오 또는 듀얼(2개국어) 중 어느 하나의 채널 할당이 되어 있는 것일지를 나타내는 정보가 기술된다. When the elementary stream corresponding to DynamicInfo () is an audio stream (stream == AUDIO), DynamicInfo () is composed of channel_assignment (4 bits) and reserved_for_word_alingment for word alignment. In channel_assignment, when two channels of audio data are included in the audio stream, the output attributes (output system) of the two channels are described. In other words, in the channel_assignment, information indicating whether audio data is assigned to a channel of stereo or dual (two languages) is described.

DynamicInfo()에 대응하는 엘리멘터리 스트림이 자막 스트림인 경우 (stream==SUBTITLE), DynamicInfo()는, 워드 얼라인을 취하기 위한 reserved_for_word_alingment로 구성된다. 즉, 도 13의 실시 형태에서는, 자막 스트림에 관해서는, 동적인 정보로서의 출력 속성은 정의되어 있지 않다. When the elementary stream corresponding to DynamicInfo () is a subtitle stream (stream == SUBTITLE), DynamicInfo () is composed of reserved_for_word_alingment for word alignment. That is, in the embodiment of Fig. 13, the output attribute as dynamic information is not defined with respect to the caption stream.

「EP_map()의 설명」Explanation of EP_map ()

다음으로, 도 14를 참조하여, 도 10의 EP_map()의 상세에 대하여 설명한다. Next, with reference to FIG. 14, the detail of EP_map () of FIG. 10 is demonstrated.

도 14는, EP_map()의 신택스를 도시하고 있다. Fig. 14 shows the syntax of EP_map ().

EP_map()에는, 그 EP_map()를 포함하는 도 10의 클립 정보 파일 Clip()에 대응하는 클립 스트림 파일에 저장된 프로그램 스트림에 다중화되어 있는 엘리멘터리 스트림마다, 각 엘리멘터리 스트림의, 디코드를 개시할 수 있는 디코드 개시 가능 점(entry point)의 정보가 기술된다. In EP_map (), the decode of each elementary stream is decoded for each elementary stream multiplexed into the program stream stored in the clip stream file corresponding to the clip information file Clip () of FIG. 10 including the EP_map (). Information of decode startable points that can be started is described.

여기서, 고정 레이트의 스트림에 대해서는, 디코드 개시 가능점은, 계산에 의해 구할 수 있지만, 가변 레이트의 스트림, 혹은 MPEG 규격에 따라서 부호화된 비디오 스트림과 같이, 비디오 액세스 유닛마다 사이즈가 상이한 스트림에 대해서는, 디코드 개시 가능점은, 계산에 의해 구할 수 없고, 실제로 스트림을 해석하지 않으면 찾아낼 수 없다. 디코드 개시 가능점을 신속하게 인식하는 것은, 랜덤 액세스를 행하기 위해 중요하며, EP_map()에 따르면, 디코드 개시 가능점을 신속하게 인식할 수 있다. Here, for a fixed rate stream, the decoding start point can be obtained by calculation, but for a stream having a different size for each video access unit, such as a variable rate stream or a video stream encoded according to the MPEG standard, The decode start point cannot be found by calculation and cannot be found unless the stream is actually parsed. Quickly recognizing the decode start point is important for performing random access, and according to EP_map (), it is possible to quickly recognize the decode start point.

또한, MPEG2-Video에서는, Sequence_header()(시퀀스 헤더) 등을 포함시킨 인트라 픽쳐의 선두가, 디코드 개시 가능점이다. In MPEG2-Video, the head of an intra picture including Sequence_header () (sequence header) and the like is the decode start point.

EP_map()의 선두에는, 워드 얼라인을 위한 reserved_for_word_alignment(8비트)가 배치되어 있고, 계속해서 number_of_stream_id_entries(8비트)가 배치되어 있다. number_of_stream_id_entries는, EP_map()에 디코드 개시 가능점의 정보가 기술되어 있는 엘리멘터리 스트림의 개수를 나타낸다. At the head of EP_map (), reserved_for_word_alignment (8 bits) for word alignment is arranged, followed by number_of_stream_id_entries (8 bits). number_of_stream_id_entries represents the number of elementary streams in which information on the decoding start point is described in EP_map ().

number_of_stream_id_entries 후에는, 엘리멘터리 스트림을 식별하기 위한 정보와, 그 엘리멘터리 스트림의 디코드 개시 가능점의 정보가, number_of_stream_id_entries가 나타내는 수만큼 반복해서 배치된다. After number_of_stream_id_entries, the information for identifying an elementary stream and the information which can start decoding of the elementary stream are repeatedly arrange | positioned by the number shown by number_of_stream_id_entries.

즉, number_of_stream_id_entries의 직후에는, 엘리멘터리 스트림을 식별하는 정보로서의 stream_id(8비트)와 private_stream_id(8비트)가 배치되며, 그것에 계속하여, number_of_EP_entries(32비트)가 배치된다. number_of_EP_entries는, 그 직전의 stream_id와 private_stream_id로 식별(특정)되는 엘리멘터리 스트림의 디코드 개시 가능점의 수를 나타낸다. That is, immediately after number_of_stream_id_entries, stream_id (8 bits) and private_stream_id (8 bits) as information for identifying the elementary stream are arranged, followed by number_of_EP_entries (32 bits). number_of_EP_entries represents the number of decode start points of the elementary stream identified (specifically) by the immediately preceding stream_id and private_stream_id.

number_of_EP_entries 후에는, 그 직전의 stream_id와 private_stream_id로 특정되는 엘리멘터리 스트림의 디코드 개시 가능점의 정보로서의 PTS_EP_start(32비트)와 RPN_EP_start(32비트)의 세트가, number_of_EP_entries가 나타내는 수만큼 반복해서 배치된다. After number_of_EP_entries, a set of PTS_EP_start (32 bits) and RPN_EP_start (32 bits) as information on the decode start point of the elementary stream identified by the immediately preceding stream_id and private_stream_id are repeatedly arranged as many as the number indicated by number_of_EP_entries.

디코드 개시 가능점의 정보의 1개인 PTS_EP_start는, 상술한 바와 같이 stream_id와 private_stream_id로 특정되는 엘리멘터리 스트림이 다중화되어 있는 프로그램 스트림이 저장된 클립 스트림 파일 내에서의, 디코드 개시 가능점의 시각(재생 시각)을 나타낸다. As described above, PTS_EP_start, which is information of a decode start point, is the time (decoding time) of the decode start point within a clip stream file in which a program stream in which the elementary streams specified by stream_id and private_stream_id are multiplexed is stored. ).

디코드 개시 가능점의 정보의 다른 1개인 RPN_EP_start에는, 상술한 바와 같이 stream_id와 private_stream_id로 특정되는 엘리멘터리 스트림이 다중화되어 있는 프로그램 스트림이 저장된 클립 스트림 파일 내에서의, 디코드 개시 가능점의 위치를, 프로그램 스트림의 pack() 단위로 세었을 때의 값이 기술된다. 또한, 본 실시 형태에서는, pack()의 사이즈는 2048바이트로 고정인 것으로 한다. 또한, 본 실시 형태에서는, 디스크(101)(도 1)의 1섹터가, 2048바이트다라고 한다. In RPN_EP_start, which is another information of the decode start point, the position of the decode start point in the clip stream file in which the program stream in which the elementary streams specified by stream_id and private_stream_id are multiplexed as described above is stored. The value, measured in pack () units of the program stream, is described. In this embodiment, the size of pack () is fixed to 2048 bytes. In addition, in this embodiment, one sector of the disk 101 (FIG. 1) is 2048 bytes.

여기서, 비디오 스트림에 대해서는, 그 디코드 개시 가능점(entry point)의 직전에, 후술하는 private_stream_2패킷(private_stream_2의 속성의 PES_packet())이 배치되어 있다. private_stream_2 패킷은, 그 private_stream_2패킷으로부터, 다음의 private_stream_2패킷까지의 사이에 배치되어 있는 비디오 스트림을 디코드 하는 데에 이용되는 정보가 저장되어 있다. 이 때문에, 비디오 스트림에 대해서는, 디코드 개시 가능점의 정보로서의 RPN_EP_start에는, 실제의 디코드 개시 가능점 그 자체가 아니고, 실제의 디코드 개시 가능점의 직전에 배치되어 있는 private_stream_2패킷의 선두의 위치가 기술된다. Here, for the video stream, the private_stream_2 packet (PES_packet () of the attribute of private_stream_2) described later is disposed immediately before the decode start point. The private_stream_2 packet stores information used to decode a video stream disposed between the private_stream_2 packet and the next private_stream_2 packet. For this reason, for the video stream, the position of the head of the private_stream_2 packet disposed immediately before the actual decode start point is described in RPN_EP_start as the information of the decode start point. .

또한, EP_map()에서, 디코드 개시 가능점의 정보로서의 PTS_EP_start와 RPN_EP_start의 세트는, stream_id와 private_stream_id로 특정되는 엘리멘터리 스트림마다, 미리, 승순으로 소트되어 있다. 이에 의해, 디코드 개시 가능점의 정보로서의 PTS_EP_start와 RPN_EP_start의 세트는, 이분 탐색이 가능하게 되어 있다. In EP_map (), the sets of PTS_EP_start and RPN_EP_start as information of the decode start point are sorted in advance in order of elementary streams specified by stream_id and private_stream_id. As a result, two sets of PTS_EP_start and RPN_EP_start as information on the decoding start point can be searched.

또한, 가변 레이트의 스트림이나, 비디오 액세스 유닛마다 사이즈가 상이한 스트림을 대상으로 한 랜덤 액세스의 방법은, 예를 들면, 일본 특개 2000-341640호 공보(일본 특원평 11-317738호) 등에 기재되어 있다. In addition, a method of random access targeting a variable rate stream or a stream having a different size for each video access unit is described in, for example, Japanese Patent Application Laid-Open No. 2000-341640 (Japanese Patent Application Laid-Open No. 11-317738). .

「클립 스트림 파일의 설명」Clip Stream File Description

다음으로, 도 4의 "STREAM" 디렉토리에 놓인, 확장자가 PS의 클립 스트림 파일(도 4에서는, "00001.PS", "00002.PS", "00003.PS")의 내부 구조에 대하여 설명한다. Next, the internal structure of the clip stream file of extension PS ("00001.PS", "00002.PS", "00003.PS" in FIG. 4) placed in the "STREAM" directory of FIG. 4 will be described. .

클립 스트림 파일은, MPEG-2 System(ISO/IEC 13818-1)에 정의된 MPEG2_Program_Stream()을 기초로 구성되어 있다. The clip stream file is constructed based on MPEG2_Program_Stream () defined in the MPEG-2 System (ISO / IEC 13818-1).

즉, 도 15는, MPEG-2 System(ISO/IEC 13818-1:2000) 규격에 기술되어 있는 Table2-31, Table2-32, Table2-33을 도시하고 있다. That is, FIG. 15 shows Table2-31, Table2-32, and Table2-33 described in the MPEG-2 System (ISO / IEC 13818-1: 2000) standard.

클립 스트림 파일에 저장된 프로그램 스트림은, MPEG-2 System 규격의 Table2-31에 정의되어 있는 MPEG2_Program_Stream()이며, 1개 이상의 pack()와, 1개의 MPEG_program_end_code로 구성된다. 또한, MPEG2_Program_Stream()의 설명은, 일본 특허 제2785220호 등에도 기재되어 있다. The program stream stored in the clip stream file is MPEG2_Program_Stream () defined in Table2-31 of the MPEG-2 System standard, and is composed of one or more pack () and one MPEG_program_end_code. The description of MPEG2_Program_Stream () is also described in Japanese Patent No. 2785220 and the like.

1개의 pack()는, MPEG-2 System 규격의 Table2-32에 정의되어 있는 바와 같이, 1개의 Pack_header()과, 임의의 수의 PES_packet()로 구성된다. Pack_header()의 상세 내용은, MPEG-2 System 규격의 Table2-33에 정의되어 있다. One pack () is composed of one Pack_header () and any number of PES_packet (), as defined in Table2-32 of the MPEG-2 System standard. The details of Pack_header () are defined in Table 2-33 of the MPEG-2 System standard.

여기서, MPEG-2 System 규격에서는, pack()의 사이즈는, 가변 길이로서 정의되어 있지만, 여기서는, 도 14에서 설명한 바와 같이, 2048바이트로 고정인 것으로 한다. 또한, 여기서는, 1개의 pack()의 PES_packet()의 수는, 1개, 2개, 또는 3개로 한다. Pack()가 후술하는 private_stream_2패킷에서 시작되는 경우, 그 직후(동일한 Pack() 내)에 대응하는 비디오 스트림의 PES_packet()이 반드시 존재한다. 또한 이것에 부가하여 3개째의 PES_packet()로서 padding_packet(패딩 패킷)를 놓아 둘 수 있다. 또한 private_stream_2패킷은 반드시 Pack()의 선두에 놓인다. In the MPEG-2 System standard, the size of pack () is defined as a variable length. However, as described with reference to FIG. 14, it is assumed that the size of pack () is fixed to 2048 bytes. In this example, the number of PES_packet () in one pack () is one, two, or three. When Pack () is started from a private_stream_2 packet described later, PES_packet () of the video stream corresponding immediately after that (in the same Pack ()) is necessarily present. In addition, padding_packet (padding packet) can be placed as the third PES_packet (). Also, the private_stream_2 packet must be at the head of Pack ().

Pack()가 private_stream_2패킷에서 시작되지 않는 경우에는, Pack()의 선두에는 비디오, 오디오, 자막 등의 콘텐츠 데이터가 저장된 PES_packet()이 놓인다. 이것에 부가하여 2개째의 PES_packet()로서 padding_packet(패딩 패킷)를 놓아 둘 수 있다. If Pack () does not start from the private_stream_2 packet, PES_packet () in which content data such as video, audio, subtitle, etc. is stored is placed at the head of Pack (). In addition to this, padding_packet (padding packet) can be placed as the second PES_packet ().

도 16 내지 도 18은, MPEG-2 System 규격의 Table2-17에서 정의되어 있는 PES_packet()를 도시하고 있다. 16 to 18 show PES_packet () defined in Table2-17 of the MPEG-2 System standard.

PES_packet()은, packet_start_code_prefix, stream_id, 및 PES_packet_length(도 16)와, stream_id 등에 의해 구조가 변화되는 헤더 부분(stuffing_byte를 포함함)(도 16 내지 도 18)과, PES_packet_data_byte(도 18)로 대별할 수 있다. 또한, PES_packet()이, padding_packet인 경우(stream_id==padding_stream), PES_packet_data_byte 대신에, padding_byte(0xFF)(도 18)가 필요한 수만큼 반복해서 배치된다. PES_packet () can be roughly divided into packet_start_code_prefix, stream_id, and PES_packet_length (FIG. 16), a header portion (including stuffing_bytes) (FIG. 16 to 18) whose structure is changed by stream_id, etc., and PES_packet_data_byte (FIG. 18). have. If PES_packet () is padding_packet (stream_id == padding_stream), instead of PES_packet_data_byte, padding_byte (0xFF) (Fig. 18) is repeatedly arranged as many times as necessary.

여기서, PES_packet()의 헤더 부분에는, 도 16 및 도 17에 도시하는 바와 같이, PTS(Presentation Time Stamp)로 불리는 표시 타이밍을 나타내는 정보와, DTS(Decoding Time Stamp)로 불리는 디코드 타이밍을 나타내는 정보를 배치할 수 있다. 본 실시 형태에서는, 모든 액세스 유닛(MPEG2-System에서 정의된, 엘리멘터리 스트림을 구성하는 디코드 단위)에 대하여 PTS가 부가되며, MPEG2-System로 정하는 경우에 DTS가 부가되는 것으로 한다. In the header portion of PES_packet (), as shown in Figs. 16 and 17, information indicating a display timing called a PTS (Presentation Time Stamp) and information indicating a decode timing called a DTS (Decoding Time Stamp) are stored. Can be placed. In this embodiment, the PTS is added to all access units (decode units constituting the elementary stream defined in MPEG2-System), and the DTS is added in the case of the MPEG2-System.

프로그램 스트림에 다중화되는 엘리멘터리 스트림은, PES_packet()의 PES_packet_data_byte(도 18)에 저장된다. 그리고, PES_packet()의 stream_id에는, 그 PES_packet_data_byte에 저장된 엘리멘터리 스트림을 식별하기 위해, 그 엘리멘터리 스트림의 속성에 따른 값이 기술된다. The elementary stream multiplexed with the program stream is stored in PES_packet_data_byte (Fig. 18) of PES_packet (). In the stream_id of PES_packet (), a value corresponding to the attribute of the elementary stream is described in order to identify the elementary stream stored in the PES_packet_data_byte.

PES_packet()의 stream_id에 기술되는 값과, 엘리멘터리 스트림의 속성(종류)과의 관계는, MPEG-2 System 규격의 Table 2-18에 정의되어 있다. 여기서, 도 19에, MPEG-2 System 규격의 Table 2-18을 도시한다. The relationship between the value described in stream_id of PES_packet () and the attribute (type) of the elementary stream is defined in Table 2-18 of the MPEG-2 System standard. Here, Table 2-18 of the MPEG-2 System standard is shown in FIG.

본 실시 형태에서는, 도 19에 도시한 MPEG-2 System 규격에서 정의되어 있는 stream_id 중의, 예를 들면, 도 20에 도시하는 값을 채용한다. In this embodiment, for example, the value shown in FIG. 20 is adopted among the stream_ids defined in the MPEG-2 System standard shown in FIG.

즉, 본 실시 형태에서는, 10111101B, 10111110B, 10111111B, 110xxxxxB, 1110xxxxB의 5패턴을, stream_id의 값으로서 채용한다. 또한, "x"는, 0 또는 1 중의 임의의 값을 나타낸다. That is, in this embodiment, five patterns of 10111101B, 10111110B, 10111111B, 110xxxxxB, and 1110xxxxB are adopted as the values of stream_id. In addition, "x" represents the arbitrary value of 0 or 1.

그리고, private_stream_1로 불리는 속성의 엘리멘터리 스트림의 PES_packet()의 stream_id는, 도 20에 따라서, 10111101B로 된다. 또한, padding_packet의 PES_packet()의 stream_id는, 도 20에 따라서, 10111110B로 된다. 또한, private_stream_2로 불리는 속성의 엘리멘터리 스트림의 PES_packet()의 stream_id는, 도 20에 따라서, 10111111B로 된다. The stream_id of PES_packet () of the elementary stream of the attribute called private_stream_1 is 10111101B according to FIG. 20. In addition, the stream_id of PES_packet () of padding_packet is 10111110B according to FIG. In addition, the stream_id of PES_packet () of the elementary stream of the attribute called private_stream_2 is 10111111B according to FIG.

또한, MPEG에서 정의된 오디오 스트림(오디오의 엘리멘터리 스트림)의 PES_packet()의 stream_id는, 110xxxxxB로 된다. 또한, 110xxxxxB 중의 하위 5비트 xxxxx는, 오디오 스트림을 구별하는 오디오 스트림 넘버이며, 프로그램 스트림(MPEG2_Program_Stream())에는, 이 오디오 스트림 넘버로 구별할 수 있는 수인 32(=25)개의 오디오 스트림(MPEG에서 정의된 오디오 스트림)을 다중화할 수 있다. In addition, the stream_id of PES_packet () of the audio stream (elementary stream of audio) defined in MPEG is 110xxxxxB. In addition, the lower 5 bits xxxxx in 110xxxxxB are audio stream numbers for distinguishing audio streams, and the program stream (MPEG2_Program_Stream ()) has 32 (= 25) audio streams (in MPEG, which is the number distinguishable by this audio stream number). Defined audio streams) can be multiplexed.

또한, MPEG에서 정의된 비디오 스트림(비디오의 엘리멘터리 스트림)의 PES_packet()의 stream_id는, 1110xxxxB로 된다. 또한, 1110xxxxB 중의 하위 4비트 xxxx는, 비디오 스트림을 구별하는 비디오 스트림 넘버이며, 프로그램 스트림에는, 이 비디오 스트림 넘버로 구별할 수 있는 수인 16(=24)개의 비디오 스트림(MPEG에서 정의된 비디오 스트림)을 다중화할 수 있다. In addition, the stream_id of PES_packet () of the video stream (elementary stream of video) defined in MPEG is 1110xxxxB. The lower 4 bits xxxx in 1110xxxxB are video stream numbers for distinguishing video streams, and the program stream includes 16 (= 24) video streams (video streams defined in MPEG), which are numbers distinguishable by this video stream number. Can be multiplexed.

그런데, stream_id가 1110xxxxB인 PES_packet()은, MPEG에서 정의된 비디오 스트림을 저장하기 위해 사용되며, stream_id가 110xxxxxB인 PES_packet()은, MPEG 에서 정의된 오디오 스트림을 저장하기 위해 사용된다. 한편, MPEG에서 정의되어 있지 않은 부호화 방식(예를 들면 ATRAC 방식)의 엘리멘터리 스트림을 저장하는 데에 사용하는 PES_packet()의 stream_id는, MPEG에서는 규정되고 있지 않고, 따라서, MPEG에서 정의되어 있지 않은 부호화 방식의 엘리멘터리 스트림은, MPEG에서 정의된 비디오 스트림이나 오디오 스트림과 마찬가지로, 단순하게, stream_id를 지정하여, PES_packet()에 저장할 수는 없다. By the way, PES_packet () having stream_id of 1110xxxxB is used to store a video stream defined in MPEG, and PES_packet () having stream_id of 110xxxxxB is used to store an audio stream defined in MPEG. On the other hand, stream_id of PES_packet () used to store an elementary stream of an encoding method (for example, the ATRAC method) not defined in MPEG is not defined in MPEG, and thus is not defined in MPEG. Unencoded elementary streams cannot be stored in PES_packet () simply by specifying stream_id, similar to video streams and audio streams defined in MPEG.

따라서, 본 실시 형태에서는, private_stream_1의 PES_packet()의 PES_packet_data_byte를 확장하고, MPEG에서 정의되어 있지 않은 부호화 방식의 엘리멘터리 스트림을 저장한다. Therefore, in this embodiment, PES_packet_data_byte of PES_packet () of private_stream_1 is extended and an elementary stream of an encoding method not defined in MPEG is stored.

여기서, private_stream_1의 PES_packet()의, 확장한 PES_packet_data_byte를, private_stream1_PES_payload()로 기술한다. Here, the extended PES_packet_data_byte of PES_packet () of private_stream_1 is described as private_stream1_PES_payload ().

「private_stream1_PES_payload()의 설명」`` Description of private_stream1_PES_payload () ''

도 21은, private_stream1_PES_payload()의 신택스를 도시하고 있다. Fig. 21 shows the syntax of private_stream1_PES_payload ().

private_stream1_PES_payload()는, private_header()과 private_payload()로 구성된다. private_payload()에는, ATRAC 오디오 스트림이나, LPCM 오디오 스트림, 자막 스트림 등의, MPEG에서 정의되어 있지 않은 부호화 방식의 엘리멘터리 스트림이 저장된다. private_stream1_PES_payload () is composed of private_header () and private_payload (). In private_payload (), an elementary stream of an encoding method not defined in MPEG, such as an ATRAC audio stream, an LPCM audio stream, and a subtitle stream, is stored.

private_header()의 선두에는, private_stream_id(8비트)가 배치된다. private_stream_id는, private_payload()에 저장되는 엘리멘터리 스트림을 식별하는 식별 정보로서, 그 속성(종류)에 따라서, 예를 들면, 다음과 같은 값으로 된다. At the head of private_header (), private_stream_id (8 bits) is placed. The private_stream_id is identification information for identifying an elementary stream stored in private_payload (). The private_stream_id is, for example, the following value depending on the attribute (type).

즉, 도 22는, private_stream_id의 값과, private_payload()에 저장되는 엘리멘터리 스트림의 속성과의 관계를 도시하고 있다. That is, FIG. 22 shows the relationship between the value of the private_stream_id and the attribute of the elementary stream stored in private_payload ().

도 22에서는, 0000xxxxB, 0001xxxxB, 100xxxxxB의 3패턴이, private_stream_id의 값으로서 채용되어 있다. 또한, "x"는, 도 20에서의 경우와 마찬가지로, 0 또는 1 중의 임의의 값을 나타낸다. In Fig. 22, three patterns of 0000xxxxB, 0001xxxxB, and 100xxxxxB are employed as values of private_stream_id. In addition, "x" shows the arbitrary value of 0 or 1 similarly to the case in FIG.

도 22에 따르면, ATRAC 오디오 스트림이 private_payload()에 저장되는 private_stream1_PES_payload()인 private_stream_id는, 0000xxxxB로 된다. 또한, 0000xxxxB 중의 하위 4비트 xxxx는, ATRAC 오디오 스트림을 구별하는 오디오 스트림 넘버이며, 프로그램 스트림(MPEG2_Program_Stream())에는, 이 오디오 스트림 넘버로 구별할 수 있는 수인 16(=24)개의 ATRAC 오디오 스트림을 다중화할 수 있다. According to FIG. 22, private_stream_id which is private_stream1_PES_payload () in which an ATRAC audio stream is stored in private_payload () is set to 0000xxxxB. The lower 4 bits xxxx in 0000xxxxB are the audio stream numbers for distinguishing the ATRAC audio streams, and the program stream (MPEG2_Program_Stream ()) includes 16 (= 24) ATRAC audio streams which can be distinguished by this audio stream number. Can be multiplexed

또한, 도 22에 따르면, LPCM 오디오 스트림이 private_payload()에 저장되는 private_stream1_PES_payload()의 private_stream_id는, 0001xxxxB로 된다. 또한, 0001xxxxB 중의 하위 4비트 xxxx는, LPCM 오디오 스트림을 구별하는 오디오 스트림 넘버이며, 프로그램 스트림에는, 이 오디오 스트림 넘버로 구별할 수 있는 수인 16(=24)개의 LPCM 오디오 스트림을 다중화할 수 있다. 22, the private_stream_id of private_stream1_PES_payload () in which the LPCM audio stream is stored in private_payload () is 0001xxxxB. The lower 4 bits xxxx in 0001xxxxB are audio stream numbers for distinguishing LPCM audio streams, and 16 (= 24) LPCM audio streams, which can be distinguished by this audio stream number, can be multiplexed in the program stream.

또한, 도 22에 따르면, 자막 스트림이 private_payload()에 저장되는 private_stream1_PES_payload()인 private_stream_id는, 100xxxxxB로 된다. 또한, 100xxxxxB 중의 하위 5비트 xxxxx는, 자막 스트림을 구별하는 자막 스트림 넘버이며, 프로그램 스트림에는, 이 자막 스트림 넘버로 구별할 수 있는 수인 32(=25)개의 자막 스트림을 다중화할 수 있다. 22, private_stream_id which is private_stream1_PES_payload () in which a subtitle stream is stored in private_payload () becomes 100xxxxxB. The lower 5 bits xxxxx in 100xxxxxB are subtitle stream numbers for distinguishing subtitle streams, and 32 (= 25) subtitle streams, which can be distinguished by the subtitle stream number, can be multiplexed in the program stream.

여기서, 도 20과 도 22의 관계를 통합한 것이, 상술한 도 11이다. Here, FIG. 11 mentioned above integrated the relationship of FIG. 20 and FIG.

도 21로 되돌아가서, private_stream1_PES_payload()에서, private_stream_id에 계속되는 요소는, private_payload()에 저장되는 엘리멘터리 스트림의 속성에 따라 내용이 상이하다. private_payload()에 저장되는 엘리멘터리 스트림의 속성은, private_header()의 선두의 private_stream_id에 의해 판단된다. Returning to Fig. 21, in private_stream1_PES_payload (), the elements following private_stream_id differ in content depending on the attribute of the elementary stream stored in private_payload (). The attribute of the elementary stream stored in private_payload () is determined by the private_stream_id at the head of private_header ().

private_payload()에 저장되는 엘리멘터리 스트림이 ATRAC 오디오 스트림인 경우(private_stream_id==ATRAC), 장래의 확장용의 reserved_for_future_use(8비트)가 배치되고, 그 후, AU_locator(16비트)가 배치된다. AU_locator은, 그 AU_locator의 직후의 위치를 기준으로 하여, private_payload()에 저장된 ATRAC 오디오 스트림의 오디오 액세스 유닛(ATRAC 오디오 액세스 유닛)(오디오 프레임)의 선두 위치를 나타낸다. private_payload()에 오디오 액세스 유닛이 존재하지 않는 경우, AU_locator에는, 예를 들면 0xFFFF가 기술된다. If the elementary stream stored in private_payload () is an ATRAC audio stream (private_stream_id == ATRAC), reserved_for_future_use (8 bits) for future expansion is disposed, and then AU_locator (16 bits) is disposed. The AU_locator indicates the head position of the audio access unit (ATRAC audio access unit) (audio frame) of the ATRAC audio stream stored in private_payload () based on the position immediately after the AU_locator. When no audio access unit exists in private_payload (), 0xFFFF is described in AU_locator, for example.

private_payload()에 저장되는 엘리멘터리 스트림이 LPCM 오디오 스트림인 경우(private_stream_id==LPCM), fs_flag(1비트), reserved_for_future_use(3비트), ch_flag(4비트), 및 AU_locator(16비트)가 순차적으로 배치된다. If the elementary stream stored in private_payload () is an LPCM audio stream (private_stream_id == LPCM), fs_flag (1 bit), reserved_for_future_use (3 bits), ch_flag (4 bits), and AU_locator (16 bits) are sequentially Is placed.

fs_flag는, private_payload()에 저장되는 LPCM 오디오 스트림의 샘플링 주파수를 나타낸다. 즉, 예를 들면, 샘플링 주파수가 48KHz인 경우, fs_flag는 0으로 되고, 샘플링 주파수가 44.1KHz인 경우, fs_flag는 1로 된다. fs_flag represents the sampling frequency of the LPCM audio stream stored in private_payload (). That is, for example, when the sampling frequency is 48 KHz, fs_flag is 0, and when the sampling frequency is 44.1 KHz, fs_flag is 1.

ch_flag는, private_payload()에 저장되는 LPCM 오디오 스트림의 채널수를 나타낸다. 예를 들면, LPCM 오디오 스트림이 모노럴인 경우, ch_flag는 1로 되고, LPCM 오디오 스트림이 스테레오인 경우, ch_flag는 2로 된다. ch_flag represents the number of channels of the LPCM audio stream stored in private_payload (). For example, if the LPCM audio stream is monaural, ch_flag is 1, and if the LPCM audio stream is stereo, ch_flag is 2.

AU_locator은, 그 AU_locator의 직후의 위치를 기준으로 하여, private_payload()에 저장되는 LPCM 오디오 스트림의 오디오 액세스 유닛(LPCM 오디오 액세스 유닛)(오디오 프레임)의 선두 위치를 나타낸다. private_payload()에 오디오 액세스 유닛이 존재하지 않는 경우, AU_locator에는, 예를 들면 0xFFFF가 기술된다. The AU_locator indicates the head position of the audio access unit (LPCM audio access unit) (audio frame) of the LPCM audio stream stored in private_payload () based on the position immediately after the AU_locator. When no audio access unit exists in private_payload (), 0xFFFF is described in AU_locator, for example.

private_payload()에 저장되는 엘리멘터리 스트림이 자막 스트림인 경우(private_stream_id==SUBTITLE), 장래의 확장을 위한 reserved_for_future_use(8비트)가 배치되며, 그 후에, AU_locator(16비트)이 배치된다. AU_locator은, 그 AU_locator의 직후의 위치를 기준으로 하여, private_payload()에 저장되는 자막 스트림의 자막 액세스 유닛의 선두 위치를 나타낸다. private_payload()에 자막 액세스 유닛이 존재하지 않는 경우, AU_locator에는, 예를 들면 0xFFFF가 기술된다. If the elementary stream stored in private_payload () is a subtitle stream (private_stream_id == SUBTITLE), reserved_for_future_use (8 bits) for future expansion is disposed, and then AU_locator (16 bits) is disposed. The AU_locator indicates the head position of the caption access unit of the caption stream stored in private_payload () based on the position immediately after the AU_locator. When no caption access unit exists in private_payload (), 0xFFFF is described in AU_locator, for example.

「private_stream2_PES_payload()의 설명」Description of private_stream2_PES_payload ()

다음으로, 도 23은, private_stream2_PES_payload()의 신택스를 도시하고 있다. Next, FIG. 23 shows the syntax of private_stream2_PES_payload ().

private_stream2_PES_payload()는, private_stream_2의 PES_packet()의 PES_packet_data_byte(도 18)를 확장한 것, 즉, private_stream_2의 PES_packet()의, 확장한 PES_packet_data_byte이며, 비디오 스트림의 디코드에 이용되는 정보가 기술된다. private_stream2_PES_payload () is an extension of PES_packet_data_byte (FIG. 18) of PES_packet () of private_stream_2, that is, extended PES_packet_data_byte of PES_packet () of private_stream_2, and describes information used for decoding a video stream.

본 실시 형태에서는, private_stream_2의 PES_packet()은, 비디오 스트림에서의 디코드 개시 가능점의 직전에 배치된다. 따라서, 본 실시 형태에서는, 프로그램 스트림으로부터 private_stream_2의 PES_packet()를 찾아내면, 그 직후의 비디오 스트림으로부터 디코드를 개시할 수 있다. In this embodiment, PES_packet () of private_stream_2 is disposed just before the decoding start point in the video stream. Therefore, in this embodiment, when PES_packet () of private_stream_2 is found from the program stream, decoding can be started from the immediately following video stream.

여기서, 상술한 도 14의 EP_map()의 RPN_EP_start는, 비디오 스트림에 대해서는, private_stream_2의 PES_packet()의 선두의 위치를 나타낸다. Here, RPN_EP_start of EP_map () in FIG. 14 described above indicates the position of the head of PES_packet () of private_stream_2 for the video stream.

private_stream2_PES_payload()의 선두에는, 장래의 확장용의 reserved_for_future_use(8비트)가 배치되며, 계속해서, video_stream_id(8비트), 1stRef_picture(16비트), 2ndRef_picture(16비트), 3rdRef_picture(16비트), 4thRef_picture(16비트), au_information(), 및 VBI()가, 순차적으로 배치된다. private_stream2_PES_payload () is placed at the beginning of reserved_for_future_use (8 bits) for future expansion, followed by video_stream_id (8 bits), 1stRef_picture (16 bits), 2ndRef_picture (16 bits), 3rdRef_picture (16 bits), and 4thRef_picture (16 bits). 16 bits), au_information (), and VBI () are sequentially arranged.

video_stream_id에는, private_stream_2의 PES_packet()의 직후에 배치되는 비디오 스트림의 PES_packet()의 stream_id(와 동일한 값)가 기술된다. 이 video_stream_id에 의해, private_stream_2의 PES_packet()(의 private_stream2_PES_payload())에 저장된 정보를 이용하여 디코드되는 비디오 스트림(이 저장된 PES_packet())이 특정된다. In video_stream_id, the stream_id (same value) of PES_packet () of the video stream placed immediately after PES_packet () of private_stream_2 is described. By this video_stream_id, the video stream (this stored PES_packet ()) to be decoded is specified using the information stored in PES_packet () (private_stream2_PES_payload () of private_stream_2).

1stRef_picture, 2ndRef_picture, 3rdRef_picture, 4thRef_picture는, video_stream_id에 의해 특정되는 비디오 스트림의, private_stream_2의 PES_packet()로부터 다음의 private_stream_2의 PES_packet()까지 중의 1, 2, 3, 4번째의 참조 화상을 포함하는 최후의 pack()의 위치를 상대값으로, 각각 나타낸다. 또한, 1stRef_picture, 2ndRef_picture, 3rdRef_picture, 4thRef_picture에 대해서는, 예를 들면, 일본 특개평 09-46712호 공보(일본 특원평 07-211420호)에, bytes_to_first_P_pic bytes_to_second_P_pic로서, 그 상세가 개시되어 있다. 1stRef_picture, 2ndRef_picture, 3rdRef_picture, and 4thRef_picture are the last pack containing the 1st, 2nd, 3rd, and 4th reference pictures from the PES_packet () of the private_stream_2 to the PES_packet () of the next private_stream_2 of the video stream specified by the video_stream_id. The positions of () are shown in relative values, respectively. In addition, about 1stRef_picture, 2ndRef_picture, 3rdRef_picture, and 4thRef_picture, the detail is disclosed as Japanese Unexamined-Japanese-Patent No. 09-46712 (Japanese-Patent No. 07-211420) as bytes_to_first_P_pic bytes_to_second_P_pic.

au_information()에는, private_stream_2의 PES_packet()로부터, 다음의 private_stream_2의 PES_packet()까지의 비디오 스트림 중의 비디오 액세스 유닛에 관한 정보가 기술된다. au_information()의 상세에 대해서는, 도 24를 참조하여 후술한다. In au_information (), information about a video access unit in a video stream from PES_packet () of private_stream_2 to PES_packet () of next private_stream_2 is described. The details of au_information () will be described later with reference to FIG. 24.

VBI()는, Closed Caption의 정보를 기술하기 위해 사용된다. VBI () is used to describe closed caption information.

이상과 같은 private_stream2_PES_payload()를 갖는 private_stream_2의 PES_packet()은, 비디오 스트림마다의, 디코드 개시 가능점마다 배치된다. PES_packet () of private_stream_2 having private_stream2_PES_payload () as described above is arranged for each decode start point of each video stream.

다음으로, 도 24는, 도 23의 au_information()의 신택스를 도시하고 있다. Next, FIG. 24 shows the syntax of au_information () in FIG. 23.

au_information()의 선두에는, length(16비트)가 배치된다. length는, 그것을 포함하는 au_information()의 사이즈를 나타낸다. length에 이어서는, reserved_for_word_alignment(8비트), 및 number_of_access_unit(8비트)가 순차적으로 배치된다. reserved_for_word_alignment는, 워드 얼라인을 취하기 위해 사용된다. At the head of au_information (), length (16 bits) is arranged. length indicates the size of au_information () that contains it. After length, reserved_for_word_alignment (8 bits) and number_of_access_unit (8 bits) are sequentially arranged. reserved_for_word_alignment is used to align word alignment.

number_of_access_unit는, 그것을 포함하는 private_stream_2의 PES_packet()로부터, 다음의 private_stream_2의 PES_packet()까지의 사이에 포함되는 비디오 액세스 유닛(픽쳐)의 수를 나타낸다. number_of_access_unit represents the number of video access units (pictures) contained between PES_packet () of private_stream_2 including it to PES_packet () of next private_stream_2.

즉, number_of_access_unit는, 도 23의 private_stream2_PES_payload()가 동 일한 video_stream_id를 갖는 private_stream_2의 PES_packet() 중에서, 이 au_information()으로부터 다음의 au_information()의 직전까지(이 au_infromation()이 클립 스트림 파일에서 최후의 au_information()이면, 클립 스트림 파일의 최후까지), video_stream_id로 나타내지는 비디오 스트림에 포함되는 액세스 유닛(픽쳐)의 수를 나타낸다. That is, number_of_access_unit is the PAS_packet () of the private_stream_2 having the same video_stream_id as the private_stream2_PES_payload () in FIG. (), Up to the end of the clip stream file) indicates the number of access units (pictures) included in the video stream represented by video_stream_id.

number_of_access_unit 후에는, 그 number_of_access_unit의 수만큼 for 루프의 내용이 배치된다. 즉, number_of_access_unit를 포함하는 private_stream_2의 PES_packet()로부터, 다음의 private_stream_2의 PES_packet()까지의 사이에 포함되는 1이상의 비디오 액세스 유닛 각각에 관한 정보가 배치된다. After number_of_access_unit, the contents of the for loop are arranged by the number of the number_of_access_unit. That is, information about each of one or more video access units included between PES_packet () of private_stream_2 including number_of_access_unit from PES_packet () of next private_stream_2 is disposed.

for 루프 내에 배치되는 정보(비디오 액세스 유닛에 관한 정보)는, 다음과 같이 되어 있다. The information (information about the video access unit) disposed in the for loop is as follows.

즉, for 루프 내에는, pic_struct_copy(4비트), au_ref_flag(1비트), AU_length(21비트), reserved가 배치된다. That is, pic_struct_copy (4 bits), au_ref_flag (1 bit), AU_length (21 bits), and reserved are arranged in the for loop.

pic_struct_copy에는, 비디오 스트림이 MPEG4-AVC(ISO/IEC 14496-10)인 경우에, 대응하는 비디오 액세스 유닛에 대하여 설정되어 있는, ISO/IEC 14496-10, D.2.2에 정의되어 있는 pic_struct()의 카피가 기술된다. 또한, pic_struct()는, 예를 들면, 픽쳐를 프레임으로서 표시하거나, 혹은, 픽쳐의 톱 필드를 표시하고, 그 후, 보텀 필드를 표시하는, 등과 같은 정보이다. pic_struct_copy contains the pic_struct () defined in ISO / IEC 14496-10, D.2.2, which is set for the corresponding video access unit, when the video stream is MPEG4-AVC (ISO / IEC 14496-10). Copy is described. In addition, pic_struct () is information such as displaying a picture as a frame, displaying a top field of a picture, and then displaying a bottom field.

au_ref_flag는, 대응하는 액세스 유닛이, 다른 액세스 유닛(의 픽쳐)의 디코드에 있어서 참조되는 참조 화상인지의 여부를 나타내고, 참조 화상인 경우에는 1 로 되고, 참조 화상이 아닌 경우에는 0으로 된다. au_ref_flag indicates whether or not the corresponding access unit is a reference picture referred to in decoding of another access unit (picture). The au_ref_flag is 1 if the reference picture is a reference picture, and 0 if it is not the reference picture.

AU_length는, 대응하는 액세스 유닛의 사이즈를 바이트 단위로 나타낸다. AU_length indicates the size of a corresponding access unit in bytes.

[디스크(101)에 기록된 데이터의 구체예][Specific example of data recorded on disk 101]

다음으로, 도 25 내지 도 28은, 도 1의 디스크(101)에 기록된, 상술한 바와 같은 포맷의 데이터의 구체예를 도시하고 있다. Next, Figs. 25 to 28 show specific examples of the data in the above-described format recorded on the disc 101 of Fig. 1.

여기서, 도 25 내지 도 28에서는, 비디오 스트림으로서는, MPEG2-Video를 채용하고, 오디오 스트림으로서는, ATRAC 오디오 스트림을 채용하고 있다. 단, 비디오 스트림이나 오디오 스트림은, 이것에 한정되는 것은 아니다. 즉, 비디오 스트림으로서는, 예를 들면, MPEG4-Visual이나 MPEG4-AVC 등을 채용할 수 있다. 또한, 오디오 스트림으로서는, 예를 들면, MPEG1/2/4 오디오나 LPCM 오디오 스트림 등을 채용할 수 있다. 25 to 28, MPEG2-Video is adopted as the video stream, and ATRAC audio stream is adopted as the audio stream. However, the video stream and the audio stream are not limited to this. That is, as the video stream, for example, MPEG4-Visual, MPEG4-AVC, or the like can be adopted. As the audio stream, for example, MPEG 1/2 audio or LPCM audio stream can be adopted.

또한, 자막 스트림은, 비디오 스트림이나 오디오 스트림과 달리, 동일한 간격으로 연속적인 디코드?표시(출력)가 행하여진다고는 할 수 없다. 즉, 자막 스트림은, 때때로, 도 2의 버퍼 제어 모듈(215)로부터 자막 디코더 제어 모듈(218)에 공급되어 디코드된다. In addition, unlike a video stream or an audio stream, a subtitle stream cannot be continuously decoded and displayed (output) at the same interval. That is, the subtitle stream is sometimes supplied from the buffer control module 215 of FIG. 2 to the subtitle decoder control module 218 and decoded.

도 25 내지 도 28은, 디스크(101)에서, 도 4에 도시한 바와 같이, "CLIP" 디렉토리에, 3개의 클립 정보 파일 "00001.CLP", "00002.CLP", "00003.CLP"가 기록되며, "STREAM" 디렉토리에, 그 3개의 클립 정보 파일 "00001.CLP", "00002.CLP", "00003.CLP" 각각에 대응하는 3개의 클립 스트림 파일 "00001.PS", "00002.PS", "00003.PS"가 기록되어 있는 경우의, "PLAYLIST.DAT" 파일, 클립 정보 파일 "00001.CLP", "00002.CLP", 및 "00003.CLP" 등의 구체적인 예를 도시하고 있다. 단, 도 25 내지 도 28에서는, "PLAYLIST.DAT" 파일 등의 데이터의 일부를 생략하고 있다. 25 to 28, in the disk 101, as shown in FIG. 4, three clip information files " 00001.CLP ", " 00002.CLP ", " 00003.CLP " The three clip stream files " 00001.PS " and " 00002. " recorded in the " STREAM " directory respectively corresponding to the three clip information files " 00001.CLP ", " 00002.CLP ", " 00003.CLP " Specific examples of the "PLAYLIST.DAT" file, the clip information file "00001.CLP", "00002.CLP", and "00003.CLP" when PS "and" 00003.PS "are recorded are shown. have. 25-28, a part of data, such as a "PLAYLIST.DAT" file, is abbreviate | omitted.

즉, 도 25는, 도 5에서 설명한 "PLAYLIST.DAT" 파일의 구체예를 도시하고 있다. That is, FIG. 25 shows a specific example of the "PLAYLIST.DAT" file explained in FIG.

도 25에서는, number_of_PlayLists는 2로 되어 있고, 따라서, "PLAYLIST.DAT" 파일에 포함되는 PlayList()의 수는 2이다. 도 25에서는, 그 2개의 PlayList() 중의 1번째가 PlayList #0으로, 2번째가 PlayList #1로, 각각 기재되어 있다. In Fig. 25, number_of_PlayLists is 2, and therefore, the number of PlayList () included in the "PLAYLIST.DAT" file is 2. In Fig. 25, the first of the two PlayLists () is described as PlayList # 0 and the second as PlayList # 1.

1번째의 PlayList()인 PlayList #0에 대해서는, capture_enable_flag_PlayList가 1로 되어 있고, 따라서, PlayList #0에 따라서 재생되는 비디오 데이터의 2차 이용이 허가되어 있다. 또한, PlayList #0에 대해서는, number_of_PlayItems가 2로 되어 있고, 따라서, PlayList #0에 포함되는 PlayItem()의 수는 2이다. 도 25에서는, 그 2개의 PlayItem()인 PlayItem #0과 PlayItem #1의 구체예가, 「PlayList #0」의 란의 아래쪽에 기재되어 있다. For PlayList # 0, which is the first PlayList (), capture_enable_flag_PlayList is set to 1, so that secondary use of video data reproduced in accordance with PlayList # 0 is permitted. In addition, for PlayList # 0, number_of_PlayItems is 2, and therefore, the number of PlayItems () included in PlayList # 0 is 2. In FIG. 25, the specific example of PlayItem # 0 and PlayItem # 1 which are these two PlayItem () is described below the "PlayList # 0" column.

PlayList #0에 포함되는 1번째의 PlayItem()인 PlayItem #0에서는, 도 6에서 설명한 Clip_Information_file_name가 "00001.CLP"로, In_time가 180,090으로, OUT_time가 27,180,090으로, 각각 되어 있다. 따라서, PlayList #0의 PlayItem #0에 의해 재생되는 클립은, 클립 정보 파일 "00001.CLP"에 대응하는 클립 스트림 파일 "00001.PS"의, 시각 180,090으로부터 27,180,090까지이다. In PlayItem # 0, which is the first PlayItem () included in PlayList # 0, Clip_Information_file_name described in FIG. 6 is "00001.CLP", In_time is 180,090, and OUT_time is 27,180,090. Therefore, the clip reproduced by PlayItem # 0 of PlayList # 0 is from time 180,090 to 27,180,090 of the clip stream file "00001.PS" corresponding to the clip information file "00001.CLP".

PlayList #0에 포함되는 2번째의 PlayItem()인 PlayItem #1에서는, 도 6에서 설명한 Clip_Information_file_name가 "00002.CLP"로, In_time가 90,000ㅇ으로, OUT_time가 27,090,000으로, 각각 되어 있다. 따라서, PlayList #0의 PlayItem #1에 의해 재생되는 클립은, 클립 정보 파일 "00002.CLP"에 대응하는 클립 스트림 파일 "00002.PS"의, 시각 90,000으로부터 27,090,000까지이다. In PlayItem # 1, which is the second PlayItem () included in PlayList # 0, Clip_Information_file_name described in FIG. 6 is "00002.CLP", In_time is 90,000, and OUT_time is 27,090,000. Therefore, the clip reproduced by PlayItem # 1 of PlayList # 0 is from time 90,000 to 27,090,000 of clip stream file "00002.PS" corresponding to clip information file "00002.CLP".

한편, 도 25에서, 2번째의 PlayList()인 PlayList #1에 대해서는, capture_enable_flag_PlayList가 0으로 되어 있고, 따라서, PlayList #1에 따라서 재생되는 비디오 데이터의 2차 이용이 허가되어 있지 않다(금지되어 있다). 또한, PlayList #1에 대해서는, number_of_PlayItems가 1로 되어 있고, 따라서, PlayList #1에 포함되는 PlayItem()의 수는 1이다. 도 25에서는, 그 1개의 PlayItem()인 PlayItem #0의 구체예가, 「PlayList #1」의 란의 아래쪽에 기재되어 있다. On the other hand, in Fig. 25, capture_enable_flag_PlayList is 0 for PlayList # 1, which is the second PlayList (), and accordingly, secondary use of video data reproduced in accordance with PlayList # 1 is not permitted (prohibited). ). In addition, for PlayList # 1, number_of_PlayItems is 1, therefore, the number of PlayItems () included in PlayList # 1 is 1. In FIG. 25, the specific example of PlayItem # 0 which is this one PlayItem () is described below the "PlayList # 1" column.

PlayList #1에 포함되는 1개의 PlayItem()인 PlayItem #0에서는, 도 6에서 설명한 Clip_Information_file_name가 "00003.CLP"로, In_time가 90,000으로, OUT_time가 81,090,000으로, 각각 되어 있다. 따라서, PlayList #1의 PlayItem #0에 의해 재생되는 클립은, 클립 정보 파일 "00003.CLP"에 대응하는 클립 스트림 파일 "00003.PS"의, 시각 90,000으로부터 81,090,000까지이다. In PlayItem # 0, which is one PlayItem () included in PlayList # 1, Clip_Information_file_name described in FIG. 6 is "00003.CLP", In_time is 90,000, and OUT_time is 81,090,000. Therefore, the clip reproduced by PlayItem # 0 of PlayList # 1 is from time 90,000 to 81,090,000 of clip stream file "00003.PS" corresponding to clip information file "00003.CLP".

다음으로, 도 26은, 도 10에서 설명한 클립 정보 파일 Clip()의 구체예를 도시하고 있다. 즉, 도 26은, 도 4의 클립 정보 파일 "00001.CLP", "00002.CLP", "00003.CLP"의 구체예를 도시하고 있다. Next, FIG. 26 shows a specific example of the clip information file Clip () explained in FIG. That is, FIG. 26 shows specific examples of the clip information files "00001.CLP", "00002.CLP", and "00003.CLP" in FIG.

클립 정보 파일 "00001.CLP"에서는, presentation_start_time가 90,000으로, presentation_end_time가 27,990,000으로, 각각 되어 있다. 따라서, 클립 정보 파일 "00001.CLP"에 대응하는 클립 스트림 파일 "00001.PS"에 저장된 프로그램 스트림에 따르면, 310초분((27,990,000-90,000)/90kHz)의 콘텐츠가 이용 가능하다. In the clip information file "00001.CLP", presentation_start_time is 90,000 and presentation_end_time is 27,990,000. Therefore, according to the program stream stored in the clip stream file "00001.PS" corresponding to the clip information file "00001.CLP", contents of 310 seconds ((27,990,000-90,000) / 90 kHz) are available.

또한, 클립 정보 파일 "00001.CLP"에서는, capture_enable_flag_Clip이 1로 되어 있고, 따라서, 클립 정보 파일 "00001.CLP"에 대응하는 클립 스트림 파일 "00001.PS"에 저장된 프로그램 스트림에 다중화된 비디오 스트림(에 대응하는 비디오 데이터)에 대해서는, 그 2차 이용이 허가되어 있다. In addition, in the clip information file "00001.CLP", capture_enable_flag_Clip is set to 1, so that the video stream multiplexed to the program stream stored in the clip stream file "00001.PS" corresponding to the clip information file "00001.CLP" ( Video data corresponding to the above, the secondary use is permitted.

또한, 도 26에서, 클립 정보 파일 "00001.CLP"의 number_of_streams는 4로 되어 있고, 따라서, 대응하는 클립 스트림 파일 "00001.PS"에 저장된 프로그램 스트림에는, 4개의 엘리멘터리 스트림이 다중화되어 있다. In Fig. 26, the number_of_streams of the clip information file "00001.CLP" is 4, and therefore four elementary streams are multiplexed in the program stream stored in the corresponding clip stream file "00001.PS". .

지금, 그 4개의 엘리멘터리 스트림을, stream #0, stream #1, stream #2, stream #3으로 하면, 도 26에서는, 그 4개의 엘리멘터리 스트림 stream #0, stream #1, stream #2, stream #3 각각의 StreamInfo()(도 10)의 구체예가, 「"00001.CLP"」의 란의 아래쪽에 기재되어 있다. Now, if the four elementary streams are stream # 0, stream # 1, stream # 2 and stream # 3, the four elementary streams stream # 0, stream # 1 and stream # are shown in FIG. 2, the specific example of StreamInfo () (FIG. 10) of each stream # 3 is described below the column of "00001.CLP".

클립 스트림 파일 "00001.PS"의 1개째의 엘리멘터리 스트림 stream #0에 대해서는, stream_id가 0xE0으로 되어 있고, 따라서, 이 엘리멘터리 스트림 stream #0은, 도 20 및 도 22(혹은 도 11)에서 설명한 바와 같이, 비디오 스트림이다. 또한, 본 실시 형태에서는, 비디오 스트림에 대해서는, 상술한 바와 같이, private_stream_id는 관계가 없지만, 도 26에서는, 0x00으로 되어 있다. For the first elementary stream stream # 0 of the clip stream file "00001.PS", stream_id is 0xE0. Therefore, the elementary stream stream # 0 is shown in FIGS. 20 and 22 (or FIG. 11). As described in), it is a video stream. In the present embodiment, the private_stream_id is not related to the video stream as described above, but is 0x00 in FIG. 26.

또한, 클립 스트림 파일 "00001.PS"의 1개째의 엘리멘터리 스트림인 비디오 스트림 stream #0에 대해서는, 그 StreamInfo()에 포함되는 StaticInfo()(도 12)의 picture_size가 '720×480'으로, frame_rate가 '29.97Hz'로, cc_flag가 'Yes'로, 각각 되어 있다. 따라서, 이 비디오 스트림 stream #0은, 720×480 픽셀의, 프레임 주기가 29.97Hz인 비디오 데이터이며, 또한, 클로즈드 캡션 데이터를 포함하고 있다. Also, for video stream stream # 0, which is the first elementary stream of the clip stream file "00001.PS", the picture_size of StaticInfo () (Fig. 12) included in the StreamInfo () is set to "720 x 480". frame_rate is '29 .97Hz 'and cc_flag is' Yes'. Therefore, this video stream stream # 0 is video data of 720 x 480 pixels with a frame period of 29.97 Hz, and also includes closed caption data.

또한, 클립 스트림 파일 "00001.PS"의 1개째의 엘리멘터리 스트림인 비디오 스트림 stream #0에 대해서는, StreamInfo()(도 10)의 number_of_DynamicInfo가 0으로 되어 있고, pts_change_point와 DynamicInfo()의 세트는 존재하지 않는다. In addition, for video stream stream # 0 which is the first elementary stream of the clip stream file "00001.PS", number_of_DynamicInfo in StreamInfo () (Fig. 10) is 0, and the set of pts_change_point and DynamicInfo () is does not exist.

다음으로, 클립 스트림 파일 "00001.PS"의 2개째의 엘리멘터리 스트림 stream #1에 대해서는, stream_id가 0xBD로 되어 있고, private_stream_id가 0x00으로 되어 있다. 따라서, 이 엘리멘터리 스트림 stream #1은, 도 20 및 도 22에서 설명한 바와 같이, ATRAC 오디오 스트림이다. Next, for the second elementary stream stream # 1 of the clip stream file "00001.PS", stream_id is 0xBD and private_stream_id is 0x00. Accordingly, this elementary stream stream # 1 is an ATRAC audio stream as described with reference to FIGS. 20 and 22.

또한, 클립 스트림 파일 "00001.PS"의 2개째의 엘리멘터리 스트림인 ATRAC 오디오 스트림 stream #1에 대해서는, 그 StreamInfo()에 포함되는 StaticInfo()(도 12)의 audio_language_code가 '일본어'로, channel_configuration이 'STEREO'로, lfe_existence가 'NO'로, sampling_frequency가 '48kHz'로, 각각 되어 있다. 따라서, 이 ATRAC 오디오 스트림 stream #1은, 일본어이며, 또한 스테레오의 오디오 데이터이다. 또한, 저역 강조 채널은 포함되어 있지 않고, 샘플링 주파수는, 48kHz이다. Also, for the ATRAC audio stream stream # 1 which is the second elementary stream of the clip stream file "00001.PS", audio_language_code of StaticInfo () (Fig. 12) included in the StreamInfo () is "Japanese". The channel_configuration is set to 'STEREO', the lfe_existence is set to 'NO', and the sampling_frequency is set to '48 kHz '. Therefore, this ATRAC audio stream stream # 1 is Japanese and stereo audio data. In addition, the low frequency emphasis channel is not included and a sampling frequency is 48 kHz.

또한, 클립 스트림 파일 "00001.PS"의 2개째의 엘리멘터리 스트림인 ATRAC 오디오 스트림 stream #1에 대해서는, StreamInfo()(도 10)의 number_of_DynamicInfo가 0으로 되어 있고, pts_change_point와 DynamicInfo()의 세트는 존재하지 않는다. Also, for ATRAC audio stream stream # 1, which is the second elementary stream of the clip stream file "00001.PS", number_of_DynamicInfo in StreamInfo () (Fig. 10) is 0, and a set of pts_change_point and DynamicInfo () is set. Does not exist.

다음으로, 클립 스트림 파일 "00001.PS"의 3개째의 엘리멘터리 스트림 stream #2에 대해서는, stream_id가 0xBD로 되어 있고, private_stream_id가 0x80으로 되어 있다. 따라서, 이 엘리멘터리 스트림 stream #2는, 도 20 및 도 22에서 설명한 바와 같이, 자막 스트림이다. Next, for the third elementary stream stream # 2 of the clip stream file "00001.PS", stream_id is 0xBD and private_stream_id is 0x80. Therefore, this elementary stream stream # 2 is a caption stream as described with reference to FIGS. 20 and 22.

또한, 클립 스트림 파일 "00001.PS"의 3개째의 엘리멘터리 스트림인 자막 스트림 stream #2에 대해서는, 그 StreamInfo()에 포함되는 StaticInfo()(도 12)의 subtitle_language_code가 '일본어'로, configurable_flag가 0으로, 각각 되어 있다. 따라서, 이 자막 스트림 stream #2는, 일본어의 자막 데이터이며, 또한, 그 표시 방식을 변경하는 것은 허가되어 있지 않다(금지되어 있다).In the subtitle stream stream # 2 which is the third elementary stream of the clip stream file "00001.PS", the subtitle_language_code of the StaticInfo () (Fig. 12) included in the StreamInfo () is "Japanese", and the configurable_flag Is 0, respectively. Therefore, this subtitle stream stream # 2 is Japanese subtitle data, and it is not allowed to change the display system (it is prohibited).

또한, 클립 스트림 파일 "00001.PS"의 3개째의 엘리멘터리 스트림인 자막 스트림 stream #2에 대해서는, StreamInfo()(도 10)의 number_of_DynamicInfo가 0으로 되어 있고, pts_change_point와 DynamicInfo()의 세트는 존재하지 않는다. Also, for the subtitle stream stream # 2 which is the third elementary stream of the clip stream file "00001.PS", number_of_DynamicInfo in StreamInfo () (Fig. 10) is 0, and the set of pts_change_point and DynamicInfo () is does not exist.

다음으로, 클립 스트림 파일 "00001.PS"의 4개째의 엘리멘터리 스트림 stream #3에 대해서는, stream_id가 0xBD로 되어 있고, private_stream_id가 0x81로 되어 있다. 따라서, 이 엘리멘터리 스트림 stream #3은, 도 20 및 도 22에서 설명한 바와 같이, 자막 스트림이다. Next, for the fourth elementary stream stream # 3 of the clip stream file "00001.PS", stream_id is 0xBD and private_stream_id is 0x81. Accordingly, this elementary stream stream # 3 is a caption stream as described with reference to FIGS. 20 and 22.

또한, 클립 스트림 파일 "00001.PS"의 3개째의 엘리멘터리 스트림인 자막 스 트림 stream #2와, 4개째의 엘리멘터리 스트림인 자막 스트림 stream #3을 구별하기 위해, 각각의 private_stream_id는, 0x80과 0x81로 되어 있다. In addition, in order to distinguish subtitle stream stream # 2 which is the third elementary stream of the clip stream file "00001.PS" and subtitle stream stream # 3 which is the fourth elementary stream, each private_stream_id is It is 0x80 and 0x81.

또한, 클립 스트림 파일 "00001.PS"의 4개째의 엘리멘터리 스트림인 자막 스트림 stream #2에 대해서는, 그 StreamInfo()에 포함되는 StaticInfo()(도 12)의 subtitle_language_code가 '일본어'로, configurable_flag가 1로, 각각 되어 있다. 따라서, 이 자막 스트림 stream #3은, 일본어의 자막 데이터이며, 또한, 그 표시 방식을 변경하는 것이 허가되어 있다. In the subtitle stream stream # 2 which is the fourth elementary stream of the clip stream file "00001.PS", the subtitle_language_code of the StaticInfo () (Fig. 12) included in the StreamInfo () is "Japanese", and configurable_flag Is 1, respectively. Therefore, this subtitle stream stream # 3 is Japanese subtitle data, and it is permitted to change the display system.

또한, 클립 스트림 파일 "00001.PS"의 4개째의 엘리멘터리 스트림인 자막 스트림 stream #3에 대해서는, StreamInfo()(도 10)의 number_of_DynamicInfo가 0으로 되어 있고, pts_change_point와 DynamicInfo()의 세트는 존재하지 않는다. In addition, for the subtitle stream stream # 3 which is the fourth elementary stream of the clip stream file "00001.PS", number_of_DynamicInfo in StreamInfo () (Fig. 10) is 0, and the set of pts_change_point and DynamicInfo () is does not exist.

다음으로, 도 26에서, 클립 정보 파일 "00002.CLP"에 대해서는, presentation_start_time가 90,000으로, presentation_end_time가 27,090,000으로, 각각 되어 있다. 따라서, 클립 정보 파일 "00002.CLP"에 대응하는 클립 스트림 파일 "00002.PS"에 저장된 프로그램 스트림에 따르면, 300초분((27,090,000-90,000)/90kHz)의 콘텐츠가 이용 가능하다. Next, in Fig. 26, for the clip information file "00002.CLP", presentation_start_time is 90,000 and presentation_end_time is 27,090,000, respectively. Therefore, according to the program stream stored in the clip stream file "00002.PS" corresponding to the clip information file "00002.CLP", content of 300 seconds ((27,090,000-90,000) / 90 kHz) is available.

또한, 클립 정보 파일 "00002.CLP"에서는, capture_enable_flag_Clip이 0으로 되어 있고, 따라서, 클립 정보 파일 "00002.CLP"에 대응하는 클립 스트림 파일 "00002.PS"에 저장된 프로그램 스트림에 다중화된 비디오 스트림(에 대응하는 비디오 데이터)에 대해서는, 그 2차 이용이 허가되어 있지 않다(금지되어 있다).In addition, in the clip information file "00002.CLP", capture_enable_flag_Clip is 0, therefore, the video stream multiplexed to the program stream stored in the clip stream file "00002.PS" corresponding to the clip information file "00002.CLP" ( Video data corresponding to the video data), the secondary use is not permitted (prohibited).

또한, 도 26에서, 클립 정보 파일 "00002.CLP"의 number_of_streams는 4로 되어 있고, 따라서, 대응하는 클립 스트림 파일 "00002.PS"에 저장된 프로그램 스트림에는, 상술한 클립 스트림 파일 "00001.PS"에서의 경우와 마찬가지로, 4개의 엘리멘터리 스트림이 다중화되어 있다. In Fig. 26, the number_of_streams of the clip information file " 00002.CLP " is 4, therefore, the above-described clip stream file " 00001.PS " is stored in the program stream stored in the corresponding clip stream file " 00002.PS ". As in the case, four elementary streams are multiplexed.

지금, 그 4개의 엘리멘터리 스트림을, stream #0, stream #1, stream #2, stream #3으로 하면, 도 26에서는, 그 4개의 엘리멘터리 스트림 stream #0, stream #1, stream #2, stream #3 각각의 StreamInfo()(도 10)의 구체예가, 「"00002.CLP"」의 란의 아래쪽에 기재되어 있다. Now, if the four elementary streams are stream # 0, stream # 1, stream # 2 and stream # 3, the four elementary streams stream # 0, stream # 1 and stream # are shown in FIG. 2, the specific example of StreamInfo () (FIG. 10) of each stream # 3 is described below the column of "00002.CLP".

여기서, 도 26에서는, 클립 스트림 파일 "00002.PS"의 1 내지 4개째의 엘리멘터리 스트림 stream #0 내지 #3 각각의 StreamInfo()의 내용은, 상술한 클립 스트림 파일 "00001.PS"의 1 내지 4개째의 엘리멘터리 스트림 stream #0 내지 #3 각각의 StreamInfo()의 내용과 동일하게 되어 있으므로, 그 설명은 생략한다. In FIG. 26, the contents of the StreamInfo () of the first to fourth elementary streams streams # 0 to # 3 of the clip stream file "00002.PS" refer to the above-described clip stream file "00001.PS". Since it is the same as the content of StreamInfo () of each of the first to fourth elementary streams streams # 0 to # 3, the description thereof is omitted.

또한, 상술한 바와 같이, 클립 스트림 파일 "00002.PS"의 1 내지 4개째의 엘리멘터리 스트림 stream #0 내지 #3 각각의 StreamInfo()의 내용은, 클립 스트림 파일 "00001.PS"의 1 내지 4개째의 엘리멘터리 스트림 stream #0 내지 #3 각각의 StreamInfo()의 내용과 동일하므로, 클립 스트림 파일 "00002.PS"의 1개째의 엘리멘터리 스트림 stream #0은 비디오 스트림이며, 2개째의 엘리멘터리 스트림 stream #1은 ATRAC 오디오 스트림이다. 또한, 그 3개째의 엘리멘터리 스트림 stream #2와, 4개째의 엘리멘터리 스트림 stream #3은, 모두 자막 스트림이다. As described above, the contents of the StreamInfo () of each of the first to fourth elementary streams streams # 0 to # 3 of the clip stream file "00002.PS" are set to 1 of the clip stream file "00001.PS". The first elementary stream stream # 0 of the clip stream file "00002.PS" is the video stream since the contents are the same as the contents of the StreamInfo () of the fourth to fourth elementary streams stream # 0 to # 3. The first elementary stream stream # 1 is an ATRAC audio stream. The third elementary stream stream # 2 and the fourth elementary stream stream # 3 are both caption streams.

다음으로, 도 26에서, 클립 정보 파일 "00003.CLP"에 대해서는, presentation_start_time가 90,000으로, presentation_end_time가 81,090,000으로, 각각 되어 있다. 따라서, 클립 정보 파일 "00003.CLP"에 대응하는 클립 스트림 파일 "00003.PS"에 저장된 프로그램 스트림에 따르면, 900초분((81,090,000-90,000)/90kHz)의 콘텐츠가 이용 가능하다. Next, in Fig. 26, for the clip information file "00003.CLP", presentation_start_time is 90,000 and presentation_end_time is 81,090,000, respectively. Therefore, according to the program stream stored in the clip stream file "00003.PS" corresponding to the clip information file "00003.CLP", contents of 900 seconds ((81,090,000-90,000) / 90 kHz) are available.

또한, 클립 정보 파일 "00003.CLP"에서는, capture_enable_flag_Clip이 1로 되어 있고, 따라서, 클립 정보 파일 "00003.CLP"에 대응하는 클립 스트림 파일 "00003.PS"에 저장된 프로그램 스트림에 다중화된 비디오 스트림에 대해서는, 그 2차 이용이 허가되어 있다. In addition, in the clip information file "00003.CLP", capture_enable_flag_Clip is set to 1, and therefore, the video stream multiplexed to the program stream stored in the clip stream file "00003.PS" corresponding to the clip information file "00003.CLP". About the secondary use.

또한, 도 26에서, 클립 정보 파일 "00003.CLP"의 number_of_streams는 3으로 되어 있고, 따라서, 대응하는 클립 스트림 파일 "00003.PS"에 저장된 프로그램 스트림에는, 3개의 엘리멘터리 스트림이 다중화되어 있다. In Fig. 26, number_of_streams of the clip information file "00003.CLP" is set to 3, and therefore, three elementary streams are multiplexed in the program stream stored in the corresponding clip stream file "00003.PS". .

지금, 그 3개의 엘리멘터리 스트림을, stream #0, stream #1, stream #2로 하면, 도 26에서는, 그 3개의 엘리멘터리 스트림 stream #0, stream #1, stream #2 각각의 StreamInfo()(도 10)의 구체예가, 「"00003.CLP"」의 란의 아래쪽에 기재되어 있다. Now, if the three elementary streams are set to stream # 0, stream # 1, and stream # 2, in Fig. 26, the StreamInfo of each of the three elementary streams stream # 0, stream # 1, and stream # 2 is shown. The specific example of () (FIG. 10) is described under the column of "00003.CLP".

클립 스트림 파일 "00003.PS"의 1개째의 엘리멘터리 스트림 stream #0에 대해서는, stream_id가 0xE0으로 되어 있고, 따라서, 이 엘리멘터리 스트림 stream #0은, 도 20 및 도 22(혹은 도 11)에서 설명한 바와 같이, 비디오 스트림이다. 또한, 클립 스트림 파일 "00001.PS"의 1개째의 엘리멘터리 스트림 stream #0과 마찬가지로, private_stream_id는, 0x00으로 되어 있다. For the first elementary stream stream # 0 of the clip stream file "00003.PS", stream_id is 0xE0. Therefore, the elementary stream stream # 0 is shown in FIGS. 20 and 22 (or FIG. 11). As described in), it is a video stream. In addition, similar to the first elementary stream stream # 0 of the clip stream file "00001.PS", the private_stream_id is 0x00.

또한, 클립 스트림 파일 "00003.PS"의 1개째의 엘리멘터리 스트림인 비디오 스트림 stream #0에 대해서는, 그 StreamInfo()에 포함되는 StaticInfo()(도 12)의 picture_size가 '720×480'로, frame_rate가 '29.97Hz'로, cc_flag가 'No'으로, 각각 되어 있다. 따라서, 이 비디오 스트림 stream #0은, 720×480 픽셀의, 프레임 주기가 29.97Hz인 비디오 데이터이며, 또한, 클로즈드 캡션 데이터를 포함하고 있지 않다. In addition, for the video stream stream # 0 which is the first elementary stream of the clip stream file "00003.PS", the picture_size of the StaticInfo () (Fig. 12) included in the StreamInfo () is set to "720 x 480". frame_rate is '29 .97Hz 'and cc_flag is' No'. Therefore, this video stream stream # 0 is video data of 720 x 480 pixels with a frame period of 29.97 Hz and does not contain closed caption data.

또한, 클립 스트림 파일 "00003.PS"의 1개째의 엘리멘터리 스트림인 비디오 스트림 stream #0에 대해서는, StreamInfo()(도 10)의 number_of_DynamicInfo가 2로 되어 있고, 따라서, 그 StreamInfo()에는, pts_change_point와 DynamicInfo()의 세트가 2세트 기술되어 있다. In addition, for video stream stream # 0 which is the first elementary stream of the clip stream file "00003.PS", number_of_DynamicInfo of StreamInfo () (FIG. 10) is set to 2, and therefore, the StreamInfo () has Two sets of pts_change_point and DynamicInfo () are described.

다음으로, 클립 스트림 파일 "00003.PS"의 2개째의 엘리멘터리 스트림 stream #1에 대해서는, stream_id가 0xE1로 되어 있고, 따라서, 이 엘리멘터리 스트림 stream #1은, 도 20 및 도 22(혹은 도 11)에서 설명한 바와 같이, 비디오 스트림이다. 또한, 클립 스트림 파일 "00003.PS"의 1개째의 엘리멘터리 스트림인 비디오 스트림 stream #0과, 2개째의 엘리멘터리 스트림인 비디오 스트림 stream #1을 구별하기 위해, 각각의 stream_id는, 0xE0과 0xE1로 되어 있다. 또한, 클립 스트림 파일 "00001.PS"의 1개째의 엘리멘터리 스트림 stream #0과 마찬가지로, private_stream_id는, 0x00으로 되어 있다. Next, for the second elementary stream stream # 1 of the clip stream file "00003.PS", stream_id is 0xE1. Therefore, this elementary stream stream # 1 is shown in FIGS. Or as described in FIG. 11). In addition, in order to distinguish the video stream stream # 0 which is the 1st elementary stream of the clip stream file "00003.PS" and the video stream stream # 1 which is the 2nd elementary stream, each stream_id is 0xE0. And 0xE1. In addition, similar to the first elementary stream stream # 0 of the clip stream file "00001.PS", the private_stream_id is 0x00.

또한, 클립 스트림 파일 "00003.PS"의 2개째의 엘리멘터리 스트림인 비디오 스트림 stream #1에 대해서는, 그 StreamInfo()에 포함되는 StaticInfo()(도 12)의 picture_size, frame_rate, cc_flag가, 1개째의 엘리멘터리 스트림인 비디오 스트 림 stream #0에 대한 것과 동일하게 되어 있다. 따라서, 클립 스트림 파일 "00003.PS"의 2개째의 엘리멘터리 스트림인 비디오 스트림 stream #1은, 720×480픽셀의, 프레임 주기가 29.97Hz인 비디오 데이터이며, 또한, 클로즈드 캡션 데이터를 포함하고 있지 않다. For video stream stream # 1, which is the second elementary stream of the clip stream file "00003.PS", picture_size, frame_rate, and cc_flag of StaticInfo () (Fig. 12) included in the StreamInfo () are 1; This is the same as for video stream stream # 0, the first elementary stream. Accordingly, video stream stream # 1, which is the second elementary stream of the clip stream file "00003.PS", is video data of 720 x 480 pixels with a frame period of 29.97 Hz, and also includes closed caption data. Not.

또한, 클립 스트림 파일 "00003.PS"의 2개째의 엘리멘터리 스트림인 비디오 스트림 stream #1에 대해서는, StreamInfo()(도 10)의 number_of_DynamicInfo가 0으로 되어 있고, pts_change_point와 DynamicInfo()의 세트는 존재하지 않는다. In addition, for video stream stream # 1 which is the second elementary stream of the clip stream file "00003.PS", number_of_DynamicInfo in StreamInfo () (Fig. 10) is 0, and the set of pts_change_point and DynamicInfo () is does not exist.

다음으로, 클립 스트림 파일 "00003.PS"의 3개째의 엘리멘터리 스트림 stream #2에 대해서는, stream_id가 0xBD로 되어 있고, private_stream_id가 0x00으로 되어 있다. 따라서, 이 엘리멘터리 스트림 stream #2는, 도 20 및 도 22에서 설명한 바와 같이, ATRAC 오디오 스트림이다. Next, for the third elementary stream stream # 2 of the clip stream file "00003.PS", stream_id is 0xBD and private_stream_id is 0x00. Therefore, this elementary stream stream # 2 is an ATRAC audio stream as described with reference to FIGS. 20 and 22.

또한, 클립 스트림 파일 "00003.PS"의 3개째의 엘리멘터리 스트림인 ATRAC 오디오 스트림 stream #2에 대해서는, 그 StreamInfo()에 포함되는 StaticInfo()(도 12)의 audio_language_code, channel_configuration, lfe_existence, sampling_frequency가, 클립 스트림 파일 "00001.PS"의 2개째의 엘리멘터리 스트림인 ATRAC 오디오 스트림 stream #1의 것과 동일하게 되어 있다. 따라서, 클립 스트림 파일 "00003.PS"의 3개째의 엘리멘터리 스트림인 ATRAC 오디오 스트림 stream #2는, 일본어이며, 또한 스테레오의 오디오 데이터이다. 또한, 저역 강조 채널은 포함되어 있지 않고, 샘플링 주파수는, 48kHz이다. In addition, about ATRAC audio stream stream # 2 which is the 3rd elementary stream of clip stream file "00003.PS", audio_language_code, channel_configuration, lfe_existence, sampling_frequency of StaticInfo () (Fig. 12) included in the StreamInfo (). The same as that of the ATRAC audio stream stream # 1 which is the second elementary stream of the clip stream file "00001.PS". Therefore, ATRAC audio stream stream # 2 which is the third elementary stream of the clip stream file "00003.PS" is Japanese and is stereo audio data. In addition, the low frequency emphasis channel is not included and a sampling frequency is 48 kHz.

또한, 클립 스트림 파일 "00003.PS"의 3개째의 엘리멘터리 스트림인 ATRAC 오디오 스트림 stream #2에 대해서는, StreamInfo()(도 10)의 number_of_DynamicInfo가 3으로 되어 있고, 따라서, 그 StreamInfo()에는, pts_change_point와 DynamicInfo()의 세트가 3세트 기술되어 있다. In addition, for ATRAC audio stream stream # 2, which is the third elementary stream of the clip stream file "00003.PS", number_of_DynamicInfo in StreamInfo () (Fig. 10) is set to 3, so that StreamInfo () , three sets of pts_change_point and DynamicInfo () are described.

다음으로, 도 27은, 도 10에서 설명한 클립 정보 파일 Clip() 중의 EP_map() 구체예를 도시하고 있다. 즉, 도 27은, 도 4의 클립 정보 파일 "00001.CLP" 중의, 도 14의 EP_map()의 구체예를 도시하고 있다. Next, FIG. 27 shows a specific example of EP_map () in the clip information file Clip () explained in FIG. That is, FIG. 27 shows a specific example of EP_map () in FIG. 14 in the clip information file "00001.CLP" in FIG.

도 27에서, EP_map()의 number_of_stream_id_entries는 1로 되어 있고, 따라서, 이 EP_map()에는, 1개의 엘리멘터리 스트림에 관한 디코드 개시 가능점의 정보가 기술되어 있다. In Fig. 27, number_of_stream_id_entries of EP_map () is set to 1, so that information on the decode start point for one elementary stream is described in this EP_map ().

또한, 도 27의 EP_map()에서는, stream_id가 0xE0으로 되어 있다. 따라서, 도 20 및 도 22에서 설명한 것으로부터, EP_map()에는, 0xE0으로 되어 있는 stream_id에 의해 특정되는 비디오 스트림에 대한 디코드 개시 가능점의 정보(PTS_EP_start와 RPN_EP_start(도 14))가 기술되어 있다. 즉, 도 27은, 클립 정보 파일 "00001.CLP"의 EP_map()이며, 클립 정보 파일 "00001.CLP"에 대응하는 클립 스트림 파일 "00001.CLP"에서, stream_id가 0xE0인 엘리멘터리 스트림은, 도 26에서 설명한 바와 같이, 클립 스트림 파일 "00001.CLP"의 1개째의 비디오 스트림 stream #0이기 때문에, 도 27의 EP_map()에 기술되어 있는 정보는, 그 비디오 스트림 stream #0의 디코드 개시 가능점의 PTS_EP_start와 RPN_EP_start이다. In addition, in EP_map () of FIG. 27, stream_id is 0xE0. Therefore, from what has been described with reference to Figs. 20 and 22, EP_map () describes information (PTS_EP_start and RPN_EP_start (Fig. 14)) of the decoding start enable point for the video stream specified by stream_id of 0xE0. That is, FIG. 27 is EP_map () of the clip information file "00001.CLP". In the clip stream file "00001.CLP" corresponding to the clip information file "00001.CLP", the elementary stream whose stream_id is 0xE0 is shown in FIG. As described with reference to FIG. 26, since it is the first video stream stream # 0 of the clip stream file "00001.CLP", the information described in EP_map () in FIG. 27 starts decoding of the video stream stream # 0. PTS_EP_start and RPN_EP_start of possible points.

도 27에서는, 클립 스트림 파일 "00001.CLP"의 1개째의 비디오 스트림 stream #0의 디코드 개시 가능점 중의, 선두로부터 5점의 PTS_EP_start와 RPN_EP_start가 기재되어 있고, 6점째 이후의 PTS_EP_start와 RPN_EP_start의 기재는 생략하고 있다. In FIG. 27, five points of PTS_EP_start and RPN_EP_start from the head of the first video stream stream # 0 of the clip stream file "00001.CLP" are described, and PTS_EP_start and RPN_EP_start are described. Is omitted.

또한, 도 27의 EP_map()에서, private_stream_id는 0x00으로 되어 있지만, stream_id가 비디오 스트림을 나타내고 있는 경우에는, 상술한 바와 같이, private_stream_id는 관계가 없다(무시된다).In addition, in EP_map () of FIG. 27, although private_stream_id is 0x00, when stream_id represents a video stream, private_stream_id is irrelevant (ignore) as mentioned above.

다음으로, 도 28은, 도 25에서 설명한 PlayList #0과 PlayList #1(도 5의 PlayList()) 중의 PlayListMark()의 구체예를 도시하고 있다. Next, FIG. 28 shows a specific example of PlayListMark () in PlayList # 0 and PlayList # 1 (PlayList () in FIG. 5) described in FIG. 25.

도 28 상측은, PlayList #0의 PlayListMark()(도 7)를 도시하고 있다. The upper side of Fig. 28 shows PlayListMark () (Fig. 7) of PlayList # 0.

도 28 상측에서, PlayList #0의 PlayListMark()에서의 number_of_PlayList_marks는 7로 되어 있고, 따라서, PlayList #0(의 PlayListMark())에 포함되는 Mark()의 수는 7이다. 28, the number_of_PlayList_marks in PlayListMark () of PlayList # 0 is set to 7, therefore, the number of Mark () included in PlayList # 0 (PlayListMark ()) is 7.

또한, 도 28 상측에서, PlayList #0에 포함되는 7개의 Mark() 중의 1번째의 Mark()인 Mark #0은, mark_type(도 7)가 'Chapter'로 되어 있으므로, 챕터 마크이다. 또한, Mark #0은, ref_to_PlayItem_id(도 7)가 0으로 되어 있으므로, PlayList #0에 포함되는 도 25의 2개의 PlayItem #0과 #1 중의, PlayItem #0에 속한다. 또한, Mark #0은, mark_time_stamp가 180,090으로 되어 있으므로, PlayList #0에 포함되는 PlayItem #0에 의해 재생되는 클립 스트림 파일의 시각(재생 시각) 180,090 상의 표시이다. 또한, Mark #0은, entry_ES_stream_id 및 entry_ES_private_stream_id가 모두 0으로 되어 있으므로, 어느 쪽의 엘리멘터리 스트림에도 관련지어져 있지 않다. 또한, Mark #0은, mark_data가 1로 되어 있으 므로, 번호가 1인 챕터를 나타낸다. In the upper part of Fig. 28, Mark # 0, which is the first Mark () of the seven Marks () included in PlayList # 0, is a chapter mark because mark_type (Fig. 7) is 'Chapter'. In addition, Mark # 0 belongs to PlayItem # 0 of two PlayItems # 0 and # 1 of FIG. 25 included in PlayList # 0 because ref_to_PlayItem_id (FIG. 7) is 0. Since mark_time_stamp is 180,090, Mark # 0 is a display on time (playback time) 180,090 of the clip stream file reproduced by PlayItem # 0 included in PlayList # 0. In addition, since Mark # 0 has both entry_ES_stream_id and entry_ES_private_stream_id set to 0, it is not associated with either elementary stream. In addition, since mark #data is 1, Mark # 0 represents the chapter numbered one.

또한, 여기서는, PlayList #0에 포함되는 PlayItem #0에 의해 재생되는 클립 스트림 파일은, 도 25에서 설명한, 그 PlayItem #0의 Clip_Infomation_file_name에 기술되어 있는 "00001.CLP"로부터 특정되는 클립 스트림 파일 "00001.PS"이며, 따라서, Mark #0의 mark_time_stamp가 나타내는, 상술한 시각 180,090은, 클립 스트림 파일 "00001.PS"의 시각이다. Here, the clip stream file played by PlayItem # 0 included in PlayList # 0 is the clip stream file "00001 specified from" 00001.CLP "described in Clip_Infomation_file_name of the PlayItem # 0 described in FIG. .PS ", and therefore, the above-described time 180,090 indicated by mark_time_stamp of Mark # 0 is the time of the clip stream file" 00001.PS ".

도 28 상측에서, PlayList #0에 포함되는 7개의 Mark() 중의 5번째의 Mark()인 Mark #4도, 1번째의 Mark #0과 마찬가지의 챕터 마크이다. On the upper side of Fig. 28, Mark # 4, which is the fifth Mark () of the seven Marks () included in PlayList # 0, is also the chapter mark similar to the first Mark # 0.

즉, 5번째의 Mark()인 Mark #4는, mark_type(도 7)가 'Chapter'로 되어 있으므로, 챕터 마크이다. 또한, Mark #4는, ref_to_PlayItem_id(도 7)가 1로 되어 있으므로, PlayList #0에 포함되는 도 25의 2개의 PlayItem #0과 #1 중의, PlayItem #1에 속한다. 또한, Mark #4는, mark_time_stamp가 90,000으로 되어 있으므로, PlayList #0에 포함되는 PlayItem #1에 의해 재생되는 클립 스트림 파일의 시각 90,000 상의 표시이다. 또한, Mark #4는, entry_ES_stream_id 및 entry_ES_private_stream_id가 모두 0으로 되어 있으므로, 어느 쪽의 엘리멘터리 스트림에도 관련지어져 있지 않다. 또한, Mark #4는, mark_data가 2로 되어 있으므로, 번호가 2의 챕터를 나타낸다. That is, Mark # 4, which is the fifth Mark (), is a chapter mark because mark_type (Fig. 7) is 'Chapter'. In addition, since Mark # 4 has ref_to_PlayItem_id (FIG. 7) as 1, it belongs to PlayItem # 1 of two PlayItems # 0 and # 1 of FIG. 25 contained in PlayList # 0. Since mark_time_stamp is 90,000, Mark # 4 is a display on time 90,000 of the clip stream file reproduced by PlayItem # 1 included in PlayList # 0. In addition, since Mark # 4 has both entry_ES_stream_id and entry_ES_private_stream_id set to 0, it is not associated with either elementary stream. In addition, since Mark_data is 2, Mark # 4 shows the chapter of the number 2.

또한, 여기서는, PlayList #0에 포함되는 PlayItem #1에 의해 재생되는 클립 스트림 파일은, 도 25에서 설명한, 그 PlayItem #1의 Clip_Infomation_file_name에 기술되어 있는 "00002.CLP"로부터 특정되는 클립 스트림 파일 "00002.PS"이며, 따 라서, Mark #4의 mark_time_stamp가 나타내는, 상술한 시각 90,000은, 클립 스트림 파일 "00002.PS"의 시각이다. Here, the clip stream file played by PlayItem # 1 included in PlayList # 0 is the clip stream file "00002 specified from" 00002.CLP "described in Clip_Infomation_file_name of the PlayItem # 1 described in FIG. .PS ", and thus, the above-described time 90,000 indicated by mark_time_stamp of Mark # 4 is the time of the clip stream file" 00002.PS ".

또한, 도 28 상측에서, PlayList #0에 포함되는 7개의 Mark() 중의 2번째의 Mark()인 Mark #1은, mark_type(도 7)가 'Index'로 되어 있으므로, 인덱스 마크이다. 또한, Mark #1은, ref_to_PlayItem_id(도 7)가 0으로 되어 있으므로, PlayList #0에 포함되는 도 25의 2개의 PlayItem #0과 #1 중의, PlayItem #0에 속한다. 또한, Mark #1은, mark_time_stamp가 5,580,090으로 되어 있으므로, PlayList #0에 포함되는 PlayItem #0에 의해 재생되는 클립 스트림 파일의 시각5,580,090 상의 표시이다. 또한, Mark #1은, entry_ES_stream_id 및 entry_ES_private_stream_id가 모두 0으로 되어 있으므로, 어느 쪽의 엘리멘터리 스트림에도 관련지어져 있지 않다. 또한, Mark #1은, mark_data가 1로 되어 있으므로, 번호가 1인 인덱스를 나타낸다. In the upper part of Fig. 28, Mark # 1, which is the second Mark () of the seven Mark (s) included in PlayList # 0, is an index mark because mark_type (Fig. 7) is 'Index'. In addition, since Mark # 1 has ref_to_PlayItem_id (FIG. 7) as 0, it belongs to PlayItem # 0 of two PlayItems # 0 and # 1 of FIG. 25 contained in PlayList # 0. Since mark_time_stamp is 5,580,090, Mark # 1 is a display on time 5,580,090 of the clip stream file reproduced by PlayItem # 0 included in PlayList # 0. In addition, since Mark # 1 has both entry_ES_stream_id and entry_ES_private_stream_id set to 0, it is not associated with either elementary stream. In addition, since mark_data is 1, Mark # 1 represents the index of the number 1.

또한, 여기서는, PlayList #0에 포함되는 PlayItem #0에 의해 재생되는 클립 스트림 파일은, 상술한 바와 같이, 클립 스트림 파일 "00001.PS"이며, 따라서, Mark #1의 mark_time_stamp가 나타내는, 상술한 시각 5,580,090은, 클립 스트림 파일 "00001.PS"의 시각이다. In addition, here, the clip stream file played by PlayItem # 0 contained in PlayList # 0 is the clip stream file "00001.PS" as mentioned above, Therefore, the time mentioned above indicated by mark_time_stamp of Mark # 1 5,580,090 is the time of the clip stream file "00001.PS".

도 28 상측에서, PlayList #0에 포함되는 7개의 Mark() 중의 3번째, 6번째, 7번째의 Mark()인 Mark #2, Mark #5, Mark #6도, 2번째의 Mark #1과 마찬가지의 인덱스 마크이다. From the upper side of Fig. 28, the third, sixth, and seventh Mark () of the seven Mark () included in PlayList # 0 are Mark # 2, Mark # 5, Mark # 6, and the second Mark # 1. The same index mark.

또한, 도 28 상측에서, PlayList #0에 포함되는 7개의 Mark() 중의 4번째의 Mark()인 Mark #3은, mark_type(도 7)가 'Event'로 되어 있으므로, 이벤트 마크이다. 또한, Mark #3은, ref_to_PlayItem_id(도 7)가 0으로 되어 있으므로, PlayList #0에 포함되는 도 25의 2개의 PlayItem #0과 #1 중의, PlayItem #0에 속한다. 또한, Mark #3은, mark_time_stamp가 16,380,090으로 되어 있으므로, PlayList #0에 포함되는 PlayItem #0에 의해 재생되는 클립 스트림 파일의 시각 16,380,090 상의 표시이다. 또한, Mark #3은, entry_ES_stream_id 및 entry_ES_private_stream_id가 모두 0으로 되어 있으므로, 어느 쪽의 엘리멘터리 스트림에도 관련지어져 있지 않다. 또한, Mark #3은, mark_data가 0으로 되어 있으므로, 인수로서 0을 수반하는 이벤트를 발생시킨다. In the upper side of Fig. 28, Mark # 3, which is the fourth Mark () of the seven Marks () included in PlayList # 0, is an event mark because mark_type (Fig. 7) is 'Event'. In addition, since Mark_3 has ref_to_PlayItem_id (FIG. 7) being 0, it belongs to PlayItem # 0 of two PlayItems # 0 and # 1 of FIG. 25 contained in PlayList # 0. In addition, since mark_time_stamp is 16,380,090, Mark # 3 is display on the time 16,380,090 of the clip stream file reproduced by PlayItem # 0 contained in PlayList # 0. In addition, since Mark_3 has both entry_ES_stream_id and entry_ES_private_stream_id 0, it is not associated with either elementary stream. In addition, since mark_data is 0, Mark # 3 generates an event with 0 as an argument.

또한, 여기서는, PlayList #0에 포함되는 PlayItem #0에 의해 재생되는 클립 스트림 파일은, 상술한 바와 같이, 클립 스트림 파일 "00001.PS"이며, 따라서, Mark #3의 mark_time_stamp가 나타내는, 상술한 시각 16,380,090은, 클립 스트림 파일 "00001.PS"의 시각이다. In addition, here, the clip stream file played by PlayItem # 0 contained in PlayList # 0 is the clip stream file "00001.PS" as mentioned above, Therefore, the time mentioned above indicated by mark_time_stamp of Mark # 3 16,380,090 is the time of the clip stream file "00001.PS".

여기서, 도 28 상측에서는, PlayList #0의 PlayListMark()의 일람표의 난 밖의 우측에, Mark()가 속하는 PlayItem()의 선두로부터의 시간을 도시하고 있고, 또한 그 우측에, PlayList #0의 선두로부터의 시각을 도시하고 있다. Here, the upper side of FIG. 28 shows the time from the head of the PlayItem () to which Mark () belongs to on the right side of the list of PlayListMark () of PlayList # 0, and on the right side, the head of PlayList # 0 on the right side. Shows the time from.

다음으로, 도 28 하측은, PlayList #1의 PlayListMark()(도 7)를 도시하고 있다. Next, FIG. 28 shows PlayListMark () (FIG. 7) of PlayList # 1.

도 28 하측에서, PlayList #1의 PlayListMark()에서의 number_of_PlayList_marks는 3으로 되어 있고, 따라서, PlayList #1(의 PlayListMark())에 포함되는 Mark()의 수는 3이다. In the lower part of Fig. 28, the number_of_PlayList_marks in PlayListMark () of PlayList # 1 is 3, and therefore, the number of Mark () included in PlayList # 1 (PlayListMark ()) is 3.

또한, 도 28 하측에서, PlayList #1에 포함되는 3개의 Mark() 중의 1번째의 Mark()인 Mark #0은, mark_type(도 7)가 'Chapter'로 되어 있으므로, 챕터 마크이다. 또한, Mark #0은, ref_to_PlayItem_id(도 7)가 0으로 되어 있으므로, PlayList #1에 포함되는 도 25의 1개의 PlayItem #0에 속한다. 또한, Mark #0은, mark_time_stamp가 90,000으로 되어 있으므로, PlayList #1에 포함되는 PlayItem #0에 의해 재생되는 클립 스트림 파일의 시각 90,000 상의 표시이다. 또한, Mark #0은, entry_ES_stream_id 및 entry_ES_private_stream_id가 모두 0으로 되어 있으므로, 어느 쪽의 엘리멘터리 스트림에도 관련지어져 있지 않다. 또한, Mark #0은, mark_data가 0으로 되어 있으므로, 번호가 0인 챕터를 나타낸다. In the lower part of Fig. 28, Mark # 0, which is the first Mark () of the three Marks () included in PlayList # 1, is a chapter mark because mark_type (Fig. 7) is 'Chapter'. In addition, since Mark # 0 is 0 in ref_to_PlayItem_id (Fig. 7), it belongs to one PlayItem # 0 in Fig. 25 included in PlayList # 1. Since mark_0_stamp is 90,000, Mark # 0 is a display on time 90,000 of the clip stream file reproduced by PlayItem # 0 included in PlayList # 1. In addition, since Mark # 0 has both entry_ES_stream_id and entry_ES_private_stream_id set to 0, it is not associated with either elementary stream. In addition, since mark_data is 0, Mark # 0 represents the chapter whose number is zero.

또한, 여기서는, PlayList #1에 포함되는 PlayItem #0에 의해 재생되는 클립 스트림 파일은, 도 25에서 설명한, 그 PlayItem #0의 Clip_Infomation_file_name에 기술되어 있는 "00003.CLP"로부터 특정되는 클립 스트림 파일 "00003.PS"이며, 따라서, Mark #0의 mark_time_stamp가 나타내는, 상술한 시각 90,000은, 클립 스트림 파일 "00003.PS"의 시각이다. Here, the clip stream file played by PlayItem # 0 included in PlayList # 1 is the clip stream file "00003 specified from" 00003.CLP "described in Clip_Infomation_file_name of the PlayItem # 0 described in FIG. .PS ", and thus, the above-described time 90,000 indicated by mark_time_stamp of Mark # 0 is the time of the clip stream file" 00003.PS ".

도 28 하측에서, PlayList #1에 포함되는 3개의 Mark() 중의 2번째의 Mark()인 Mark #1은, mark_type(도 7)가 'Event'로 되어 있으므로, 이벤트 마크이다. 또한, Mark #1은, ref_to_PlayItem_id(도 7)가 0으로 되어 있으므로, PlayList #1에 포함되는 도 25의 1개의 PlayItem #0에 속한다. 또한, Mark #1은, mark_time_stamp가 27,090,000으로 되어 있으므로, PlayList #1에 포함되는 PlayItem #0에 의해 재생되는 클립 스트림 파일의 시각 27,090,000 상의 표시이다. 또한, Mark #1은, entry_ES_stream_id가 0xE0이고, entry_ES_private_stream_id가 0으로 되어 있으므로, stream_id가 0xE0으로 특정(식별)되는 엘리멘터리 스트림, 즉, 도 20 및 도 22에서 설명한 바와 같이, 비디오 스트림에 관련지어져 있다. 또한, Mark #1은, mark_data가 1로 되어 있으므로, 인수로서 1을 수반하는 이벤트를 발생시킨다. In the lower part of Fig. 28, Mark # 1, which is the second Mark () of the three Marks () included in PlayList # 1, is an event mark because mark_type (Fig. 7) is 'Event'. In addition, since Mark # 1 has 0 in ref_to_PlayItem_id (Fig. 7), it belongs to one PlayItem # 0 in Fig. 25 included in PlayList # 1. In addition, since mark_time_stamp is 27,090,000, Mark # 1 is the display on the time 27,090,000 of the clip stream file reproduced by PlayItem # 0 included in PlayList # 1. In addition, since Mark # 1 has an entry_ES_stream_id of 0xE0 and an entry_ES_private_stream_id of 0, an elementary stream whose stream_id is identified (identified) by 0xE0, that is, associated with a video stream as described with reference to FIGS. 20 and 22. have. In addition, since mark_data is 1, Mark # 1 generates an event with 1 as an argument.

또한, 여기서는, PlayList #1에 포함되는 PlayItem #0에 의해 재생되는 클립 스트림 파일은, 상술한 바와 같이, 클립 스트림 파일 "00003.PS"이며, 따라서, Mark #1의 mark_time_stamp가 나타내는, 상술한 시각 27,090,000은, 클립 스트림 파일 "00003.PS"의 시각이다. In addition, here, the clip stream file reproduced by PlayItem # 0 contained in PlayList # 1 is the clip stream file "00003.PS" as mentioned above, Therefore, the time mentioned above indicated by mark_time_stamp of Mark # 1 27,090,000 is the time of the clip stream file "00003.PS".

또한, Mark #1이 관련지어져 있는, stream_id가 0xE0인 비디오 스트림은, 그 Mark #1이 속하는, 도 25의 PlayList #1에 포함되는 PlayItem #0의 Clip_Infomation_file_name에 기술되어 있는 "00003.CLP"에 기술되어 있는 stream_id가 0xE0인 비디오 스트림, 즉, 도 26의 클립 정보 파일 "00003.CLP"로부터 특정되는, 클립 스트림 파일 "00003.PS"에 다중화되어 있는 3개의 엘리멘터리 스트림 stream #0 내지 #2 중의, 1개째의 엘리멘터리 스트림(비디오 스트림) stream #0이다. Further, the video stream whose stream_id is 0xE0 to which Mark # 1 is associated is described in "00003.CLP" described in Clip_Infomation_file_name of PlayItem # 0 included in PlayList # 1 of FIG. 25 to which Mark # 1 belongs. Three elementary streams stream # 0 to # 2 multiplexed into a video stream having the specified stream_id of 0xE0, that is, the clip stream file "00003.PS" specified from the clip information file "00003.CLP" in FIG. 1st elementary stream (video stream) stream # 0 among them.

다음으로, 도 28 하측에서, PlayList #1에 포함되는 3개의 Mark() 중의 3번째의 Mark()인 Mark #2는, mark_type(도 7)가 'Event'로 되어 있으므로, 이벤트 마크이다. 또한, Mark #2는, ref_to_PlayItem_id(도 7)가 0으로 되어 있으므로, PlayList #1에 포함되는 도 25의 1개의 PlayItem #0에 속한다. 또한, Mark #1은, mark_time_stamp가 27,540,000으로 되어 있으므로, PlayList #1에 포함되는 PlayItem #0에 의해 재생되는 클립 스트림 파일의 시각 27,540,000 상의 표시이다. 또한, Mark #2는, entry_ES_stream_id가 0xE1이고, entry_ES_private_stream_id가 0으로 되어 있으므로, stream_id가 0xE1로 특정(식별)되는 엘리멘터리 스트림, 즉, 도 20 및 도 22에서 설명한 바와 같이, 비디오 스트림에 관련지어져 있다. 또한, Mark #2는, mark_data가 2로 되어 있으므로, 인수로서 2를 수반하는 이벤트를 발생시킨다. Next, in the lower part of FIG. 28, Mark # 2, which is the third Mark () among the three Mark () included in PlayList # 1, is an event mark because mark_type (FIG. 7) is 'Event'. In addition, since Mark # 2 is 0 in ref_to_PlayItem_id (FIG. 7), it belongs to one PlayItem # 0 of FIG. 25 included in PlayList # 1. In addition, since mark_time_stamp is 27,540,000, Mark # 1 is the display on time 27,540,000 of the clip stream file reproduced by PlayItem # 0 included in PlayList # 1. In addition, since Mark # 2 has an entry_ES_stream_id of 0xE1 and an entry_ES_private_stream_id of 0, an elementary stream whose stream_id is identified (identified) by 0xE1, that is, associated with a video stream as described with reference to FIGS. 20 and 22. have. In addition, since mark_data is 2, Mark # 2 generates an event with 2 as an argument.

또한, 여기서는, PlayList #1에 포함되는 PlayItem #0에 의해 재생되는 클립 스트림 파일은, 상술한 바와 같이, 클립 스트림 파일 "00003.PS"이며, 따라서, Mark #2가 나타내는, 상술한 시각 27,540,000은, 클립 스트림 파일 "00003.PS"의 시각이다. In addition, here, the clip stream file played by PlayItem # 0 contained in PlayList # 1 is the clip stream file "00003.PS" as mentioned above, Therefore, the above-mentioned time 27,540,000 which Mark # 2 shows is , The time of the clip stream file "00003.PS".

또한, Mark #2가 관련지어져 있는, stream_id가 0xE1인 비디오 스트림은, 그 Mark #2가 속하는, 도 25의 PlayList #1에 포함되는 PlayItem #0의 Clip_Infomation_file_name에 기술되어 있는 "00003.CLP"에 기술되어 있는 stream_id가 0xE1인 비디오 스트림, 즉, 도 26의 클립 정보 파일 "00003.CLP"로부터 인식되는, 클립 스트림 파일 "00003.PS"에 다중화되어 있는 3개의 엘리멘터리 스트림 stream #0 내지 #2 중의, 2개째의 엘리멘터리 스트림(비디오 스트림) stream #1이다. In addition, the video stream whose stream_id is 0xE1 to which Mark # 2 is associated is described in "00003.CLP" described in Clip_Infomation_file_name of PlayItem # 0 included in PlayList # 1 of FIG. 25 to which Mark # 2 belongs. Three elementary streams stream # 0 to # 2 multiplexed in a video stream having the specified stream_id of 0xE1, that is, the clip stream file "00003.PS" recognized from the clip information file "00003.CLP" in FIG. Second elementary stream (video stream) stream # 1.

여기서, 도 28 하측에서는, PlayList #1의 PlayListMark()의 일람표의 난 밖 의 우측에, Mark()가 속하는 PlayItem()의 선두로부터의 시각을 도시하고 있다. 28, the time from the head of PlayItem () to which Mark () belongs is shown on the right side of the list of PlayListMark () of PlayList # 1.

또한, 도 28에서는, 챕터 마크나 인덱스 마크가 나타내는 챕터나 인덱스의 번호가, mark_data에 기술되어 있지만, 챕터 마크나 인덱스 마크가 나타내는 챕터나 인덱스의 번호는, mark_data에 기술하지 않아도, 예를 들면, PlayListMark()에서의 챕터 마크나 인덱스 마크의 수를 카운트함으로써 인식할 수 있다. In FIG. 28, the chapter and index numbers indicated by the chapter marks and the index marks are described in mark_data. However, the chapter and index numbers indicated by the chapter marks and the index marks are not described in mark_data, for example. This can be recognized by counting the number of chapter marks and index marks in PlayListMark ().

[디스크 장치의 동작 설명][Description of operation of disk device]

다음으로, 도 1의 디스크(101)에, 도 25 내지 도 28에서 설명한 바와 같은 데이터(파일)가 기록되어 있는 것으로 하여, 도 1의 디스크 장치의 동작에 대하여 설명한다. Next, the data (file) as described in FIGS. 25 to 28 is recorded on the disk 101 of FIG. 1, and the operation of the disk device of FIG. 1 will be described.

디스크(101)가 디스크 드라이브(102)에 삽입되면, 그 취지를 나타내는 메시지가 드라이브 인터페이스(114), 나아가서는, 도 2의 오퍼레이팅 시스템(201)을 경유하여, 비디오 콘텐츠 재생 프로그램(210)에 전해진다. 비디오 콘텐츠 재생 프로그램(210)은, 디스크(101)가 디스크 드라이브(102)에 삽입된 취지의 메시지를 오퍼레이팅 시스템(201)으로부터 수신하면, 도 29의 재생 전처리를 개시한다. When the disc 101 is inserted into the disc drive 102, a message indicating its effect is transmitted to the video content playback program 210 via the drive interface 114, and furthermore, the operating system 201 of FIG. . When the video content reproduction program 210 receives a message indicating that the disc 101 is inserted into the disc drive 102 from the operating system 201, the video content reproduction program 210 starts the reproduction preprocess in FIG.

「재생 전처리」 `` Reproduction preprocessing ''

즉, 도 29는, 비디오 콘텐츠 재생 프로그램(210)이 행하는 재생 전처리를 설명하는 플로우차트이다. That is, FIG. 29 is a flowchart for explaining reproduction preprocessing performed by the video content reproduction program 210.

여기서, 이하, 플로우차트에 의해 설명하는 디스크 장치의 동작 또는 처리는, 반드시 플로우차트로서 기재된 순서를 따라 시계열로 행하여질 필요는 없고, 병렬적 혹은 개별로 행하여지는 경우도 있다. 단, 본 명세서에서는, 편의상, 디스 크 장치의 동작 또는 처리를, 플로우차트를 따라 설명한다. Here, the operation or processing of the disk device described below with the flowchart is not necessarily performed in time series in the order described as the flowchart, but may be performed in parallel or separately. In the present specification, for convenience, the operation or processing of the disk device will be described along with a flowchart.

재생 전처리에서는, 비디오 콘텐츠 재생 프로그램(210)은, 스텝 S101에서, 오퍼레이팅 시스템(201)의 파일 시스템 기능을 사용하여, 디스크(101)를 체크하고, 디스크(101)가, 비디오 콘텐츠 재생 프로그램(210)용의 정상인 디스크인지의 여부를 판정한다. In the reproduction preprocessing, the video content playback program 210 checks the disk 101 using the file system function of the operating system 201 in step S101, and the disk 101 plays the video content playback program 210. Is determined to be a normal disk.

여기서, 상술한 바와 같이, 디스크(101)에의 액세스(파일의 읽어내기)는, 오퍼레이팅 시스템(201)의 파일 시스템 기능을 사용하여 행하여지지만, 이하에서는, 그 설명은, 적당히 생략한다. Here, as described above, access to the disk 101 (reading of a file) is performed using the file system function of the operating system 201, but the description thereof will be appropriately omitted below.

스텝 S101에서, 디스크(101)가 정상인 디스크가 아니라고 판정된 경우, 즉, 예를 들면, 디스크(101)에 채용되어 있는 파일 시스템이, 오퍼레이팅 시스템(201)의 대응하고 있지 않은 타입이었던 경우나, 루트 디렉토리에 "VIDEO" 디렉토리가 놓여 있지 않은 경우, 비디오 콘텐츠 재생 프로그램(210)은 디스크(101)에 대응하고 있지 않다고 판단하여, 스텝 S102로 진행하고, 그래픽스 처리 모듈(219)이, 에러 처리를 행하여, 재생 전처리를 종료한다. In step S101, when it is determined that the disk 101 is not a normal disk, that is, for example, the file system employed in the disk 101 is an unsupported type of the operating system 201, If the "VIDEO" directory is not placed in the root directory, the video content playback program 210 determines that it does not correspond to the disc 101, and proceeds to step S102, where the graphics processing module 219 performs an error process. The reproduction preprocess is terminated.

즉, 그래픽스 처리 모듈(219)은, 에러 처리로서, 디스크(101)가 정상이 아니라는 취지의 에러 메시지(의 비디오 데이터)를 생성하여, 비디오 출력 모듈(220)로부터 출력시키고, 이에 의해, 에러 메시지를 표시시킨다. 또한, 에러 처리로서는, 그 밖에, 예를 들면, 오디오 출력 모듈(221)로부터의 경고음의 출력이나, 디스크 드라이브(102)로부터의 디스크(101)의 배출 등을 행하도록 하는 것이 가능하다. That is, the graphics processing module 219 generates, as error processing, an error message (video data) indicating that the disk 101 is not normal, and outputs it from the video output module 220, whereby the error message is generated. Is displayed. In addition, as the error processing, for example, it is possible to output an alarm sound from the audio output module 221, eject the disk 101 from the disk drive 102, or the like.

한편, 스텝 S101에서, 디스크(101)가 정상인 디스크라고 판정된 경우, 스텝 S103으로 진행하여, 비디오 콘텐츠 재생 프로그램(210)은, 콘텐츠 데이터 공급 모듈(213)에 의해, 오퍼레이팅 시스템(201)에 대하여, 디스크(101)(도 4)의 "VIDEO" 디렉토리에 놓여 있는 "SCRIPT.DAT" 파일과, "PLAYLIST.DAT" 파일의 2개의 데이터 파일을 요구하여 읽어들이고, 스텝 S104로 진행한다. 스텝 S104에서는, "SCRIPT.DAT" 파일이, 스크립트 제어 모듈(211)에 공급됨과 함께, "PLAYLIST.DAT" 파일이, 플레이어 제어 모듈(212)에 공급된다. On the other hand, when it is determined in step S101 that the disk 101 is a normal disk, the flow proceeds to step S103, where the video content reproducing program 210 uses the content data supply module 213 for the operating system 201. The two data files of the "SCRIPT.DAT" file and the "PLAYLIST.DAT" file placed in the "VIDEO" directory of the disc 101 (FIG. 4) are requested and read, and the flow advances to step S104. In step S104, the "SCRIPT.DAT" file is supplied to the script control module 211, and the "PLAYLIST.DAT" file is supplied to the player control module 212. FIG.

그 후, 스텝 S104로부터 S105 내지 S107로 진행하여, 플레이어 제어 모듈(212)은, 초기화 처리를 행한다. 또한, 스크립트 제어 모듈(211)은, 플레이어 제어 모듈(212)의 초기화 처리가 종료할 때까지 대기한다. Thereafter, the process proceeds from step S104 to S105 to S107, where the player control module 212 performs an initialization process. The script control module 211 waits until the initialization processing of the player control module 212 ends.

「플레이어 제어 모듈(212)의 초기화 처리」"Initialization Process of Player Control Module 212"

초기화 처리에서는, 스텝 S105에서, 플레이어 제어 모듈(212)이, "PLAYLIST.DAT" 파일의 해석을 행하고, "PLAYLIST.DAT" 파일 중에서 사용되고 있는 클립 정보 파일의 수와 그 파일명을 조사한다. In the initialization process, in step S105, the player control module 212 analyzes the "PLAYLIST.DAT" file and checks the number of clip information files being used in the "PLAYLIST.DAT" file and its file name.

즉, 지금의 경우, "PLAYLIST.DAT" 파일은, 도 25에 도시한 것으로 되어 있고, 플레이어 제어 모듈(212)은, 도 25의 "PLAYLIST.DAT" 파일에서 number_of_PlayLists가 2로 되어 있기 때문에, 1번째의 PlayList #0과 2번째의 PlayList #1의 2개의 PlayList()가 존재하는 것을 인식한다. 또한, 플레이어 제어 모듈(212)은, 도 25의 "PLAYLIST.DAT" 파일에서의 1번째의 PlayList #0에 대하여, number_of_PlayItems가 2로 되어 있기 때문에, 그 PlayList #0에는, 1번째의 PlayItem #0과 2번째의 PlayItem #1의 2개의 PlayItem()이 존재하는 것을 인식한 다. 그리고, 플레이어 제어 모듈(212)은, 도 25의 "PLAYLIST.DAT" 파일에서의, PlayList #0에 포함되는 1번째의 PlayItem #0과 2번째의 PlayItem #1 각각의 Clip_Information_file_name를 참조함으로써, PlayList #0에 포함되는 1번째의 PlayItem #0의 클립 정보 파일(의 파일명)이 "00001.CLP"이며, 2번째의 PlayItem #1의 클립 정보 파일이 "00002.CLP"인 것을 인식한다. That is, in this case, the "PLAYLIST.DAT" file is shown in FIG. 25, and the player control module 212 has a number_of_PlayLists of 2 in the "PLAYLIST.DAT" file in FIG. It is recognized that two PlayLists () of the first PlayList # 0 and the second PlayList # 1 exist. In addition, since the number_of_PlayItems is 2 for the first PlayList # 0 in the "PLAYLIST.DAT" file in FIG. 25, the player control module 212 has the first PlayItem # 0 in the PlayList # 0. It recognizes that there are two PlayItem () of and second PlayItem # 1. Then, the player control module 212 refers to the PlayList # by referring to Clip_Information_file_name of each of the first PlayItem # 0 and the second PlayItem # 1 included in the PlayList # 0 in the "PLAYLIST.DAT" file in FIG. 25. It is recognized that the clip information file (file name) of the first PlayItem # 0 included in 0 is "00001.CLP", and the clip information file of the second PlayItem # 1 is "00002.CLP".

플레이어 제어 모듈(212)은, 2번째의 PlayList #1에 대해서도 마찬가지로 하여, 그 number_of_PlayItems가 1이기 때문에, 1개의 PlayItem()(PlayItem #0)이 존재하고, 또한, 그 PlayItem #0 중의 Clip_Information_file_name로부터, 그 PlayItem #0의 클립 정보 파일이 "00003.CLP"인 것을 인식한다. The player control module 212 similarly applies to the second PlayList # 1, and since the number_of_PlayItems is 1, there is one PlayItem () (PlayItem # 0), and from the Clip_Information_file_name in the PlayItem # 0, It is recognized that the clip information file of the PlayItem # 0 is "00003.CLP".

그 후, 스텝 S105로부터 S106으로 진행하여, 플레이어 제어 모듈(212)은, 디스크(101)로부터, 스텝 S105에서 인식한 클립 정보 파일, 즉, 디스크(101)의 "VIDEO" 디렉토리 내의 "CLIP" 디렉토리로부터 3개의 클립 정보 파일 "00001.CLP", "00002.CLP", "00003.CLP"을 읽어들인다. After that, the process proceeds from step S105 to S106, and the player control module 212 determines from the disc 101 the clip information file recognized in step S105, that is, the "CLIP" directory in the "VIDEO" directory of the disc 101. Three clip information files "00001.CLP", "00002.CLP", and "00003.CLP" are read from the file.

여기서, 스텝 S106에서의 클립 정보 파일의 읽어들이기는, 최초로 재생되는 PlayList()의 PlayItem의 클립 정보 파일만으로 충분하지만, 본 실시 형태에서는, 상술한 바와 같이, 모든 PlayList()의 PlayItem()의 클립 정보 파일을 선판독해 두는 것으로 한다. Here, the clip information file of the PlayItem of the PlayList () to be played first is sufficient to read the clip information file in step S106. However, in the present embodiment, as described above, the clips of the PlayItem () of all the PlayList () are sufficient. It is assumed that the information file is read in advance.

스텝 S106의 처리 후에는, 스텝 S107로 진행하여, 플레이어 제어 모듈(212)은, 스텝 S105에서 인식한 클립 정보 파일의 읽어들이기에 성공하였는지의 여부를 판정하고, 또한, 그 읽어들인 클립 정보 파일에 대응하는 클립 스트림 파일이, 디 스크(101)에 존재하는지의 여부를 판정(체크)한다. 즉, 스텝 S107에서는, 클립 정보 파일 "00001.CLP", "00002.CLP", "00003.CLP"의 읽어들이기에 성공하고, 또한, 그 클립 정보 파일 "00001.CLP", "00002.CLP", "00003.CLP" 각각과 파일명의 확장자만이 상이한 클립 스트림 파일 "00001.PS", "00002.PS", "00003.PS"가, 디스크(101)의 "VIDEO" 디렉토리 아래에 있는 "STREAM" 디렉토리에 존재하는지의 여부를 판정한다. After the process of step S106, it progresses to step S107 and the player control module 212 determines whether the reading of the clip information file recognized by step S105 was successful, and also it reads into the read clip information file. It is determined (checked) whether or not the corresponding clip stream file exists in the disk 101. That is, in step S107, the reading of the clip information files "00001.CLP", "00002.CLP", and "00003.CLP" succeeds, and the clip information files "00001.CLP" and "00002.CLP". , "00003.CLP" and the clip stream files "00001.PS", "00002.PS", and "00003.PS", which differ only in the file name extension, respectively, are stored under the "STREAM" directory under the "VIDEO" directory of the disc 101. "Whether it exists in the directory or not.

스텝 S107에서, 스텝 S105에서 인식한 클립 정보 파일의 읽어들이기에 실패하였다고 판정되거나, 또는, 클립 정보 파일에 대응하는 클립 스트림 파일이, 디스크(101)에 존재하지 않는다고 판정된 경우, 즉, 예를 들면, "PLAYLIST.DAT" 파일에 따른 재생에 필요한 클립 정보 파일이나 클립 스트림 파일이, 디스크(101)에 기록되어 있지 않은 경우, 비디오 콘텐츠 재생 프로그램(210)은, 디스크(101)에 대응하고 있지 않다고 판단하고, 스텝 S102로 진행하여, 상술한 에러 처리가 행하여지고, 재생 전처리를 종료한다. If it is determined in step S107 that the read of the clip information file recognized in step S105 has failed, or if it is determined that a clip stream file corresponding to the clip information file does not exist in the disc 101, that is, an example is given. For example, when the clip information file or the clip stream file required for the reproduction according to the "PLAYLIST.DAT" file is not recorded on the disc 101, the video content reproduction program 210 does not correspond to the disc 101. If not, the process proceeds to step S102, where the above-described error processing is performed, and the reproduction preprocess ends.

한편, 스텝 S107에서, 스텝 S105에서 인식한 클립 정보 파일의 읽어들이기에 성공하고, 또한, 클립 정보 파일에 대응하는 클립 스트림 파일이, 디스크(101)에 존재한다고 판정된 경우, 플레이어 제어 모듈(212)은, 초기화 처리를 종료하고, 스텝 S108로 진행한다. On the other hand, when it is determined in step S107 that the read of the clip information file recognized in step S105 succeeds and that the clip stream file corresponding to the clip information file exists in the disc 101, the player control module 212 ) Ends the initialization processing, and the flow advances to step S108.

스텝 S108에서는, 스크립트 제어 모듈(211)이, "SCRIPT.DAT" 파일의 해석과 실행을 개시한다. In step S108, the script control module 211 starts analyzing and executing the "SCRIPT.DAT" file.

예를 들면, 지금, 스크립트 제어 모듈(211)이, "SCRIPT.DAT" 파일을 실행함 으로써, 1번째의 PlayList()(PlayList #0)의 재생이, 플레이어 제어 모듈(212)에 지시된 것으로 하면, 도 30의 재생 처리가 행하여진다. For example, the script control module 211 executes the "SCRIPT.DAT" file so that playback of the first PlayList () (PlayList # 0) is instructed to the player control module 212. Then, the reproduction processing of FIG. 30 is performed.

「재생 처리」 `` Playback processing ''

즉, 도 30은, 비디오 콘텐츠 재생 프로그램(210)이 행하는 재생 처리를 설명하는 플로우차트이다. That is, FIG. 30 is a flowchart for describing the reproduction processing performed by the video content reproduction program 210.

「재생 준비 처리」`` Playback preparation process ''

재생 처리에서는, 플레이어 제어 모듈(212)은, 우선 스텝 S121과 S122에서, 스크립트 제어 모듈(211)로부터 재생을 지시받은 PlayList(), 즉, 1번째의 PlayList()(PlayList #0)의 재생 준비 처리를 행한다. In the playback process, the player control module 212 first prepares for playback of the PlayList (), that is, the first PlayList () (PlayList # 0), which has been instructed to play back from the script control module 211 in steps S121 and S122. The process is performed.

즉, 플레이어 제어 모듈(212)은, 스텝 S121에서, 1번째의 PlayList #0에 포함되는 1번째의 PlayItem #0의 IN_time(도 6)를 확인하고, 스텝 S122로 진행하여, 1번째의 PlayList #0에 포함되는 1번째의 PlayItem #0에 의해 재생되는 클립 스트림 파일 "00001.PS" 상의, 그 PlayItem #0의 IN_time에 상당하는, 재생을 개시하는 재생 개시 위치를 조사한다. That is, in step S121, the player control module 212 checks IN_time (FIG. 6) of the first PlayItem # 0 included in the first PlayList # 0, proceeds to step S122, and proceeds to the first PlayList #. The playback start position corresponding to IN_time of the PlayItem # 0 on the clip stream file "00001.PS" played by the first PlayItem # 0 included in 0 is checked.

여기서, PlayItem()의 IN_time(도 6)가, 클립 스트림 파일의 선두를 지시하고 있는 경우에는, 클립 스트림 파일의 선두로부터, 프로그램 스트림을 읽어내면 되지만, IN_time가, 클립 스트림 파일의 선두 이외를 지시하고 있는 경우에는, IN_time에 대응하는 위치를 찾아내고(조사하고), 그곳으로부터 프로그램 스트림을 읽어낼 필요가 있다. Here, when IN_time (Fig. 6) of PlayItem () indicates the head of the clip stream file, the program stream may be read from the head of the clip stream file, but IN_time indicates other than the head of the clip stream file. If so, you need to find (search) the location corresponding to IN_time and read the program stream from it.

구체적으로는, 도 25에 도시한 경우, 1번째의 PlayList #0에 포함되는 1번째 의 PlayItem #0의 IN_time는, 180,090이다. 플레이어 제어 모듈(212)은, 1번째의 PlayList #0에 포함되는 1번째의 PlayItem #0에 의해 재생되는 클립 스트림 파일 "00001.CLP"의, 도 27에 도시한 EP_map()로부터, PlayItem #0의 IN_time인 180,090에 적합한 재생 개시 위치를 찾아낸다. Specifically, in the case shown in Fig. 25, the IN_time of the first PlayItem # 0 included in the first PlayList # 0 is 180,090. The player control module 212 starts PlayItem # 0 from EP_map () shown in FIG. 27 of the clip stream file "00001.CLP" played by the first PlayItem # 0 included in the first PlayList # 0. A playback start position suitable for 180,090 which is IN_time is found.

즉, 플레이어 제어 모듈(212)은, 예를 들면, EP_map()에 기술된 디코드 개시 가능점을 나타내는 PTS_EP_start 중의, 식 PTS_EP_start IN_time를 충족시키는 최대의 PTS_EP_start를, 이분 탐색(바이너리 서치) 등을 이용하여 검색한다. 여기서, IN_time 이하의 PTS_EP_start를 검색하는 것은, IN_time에 의해 표시되는 위치가, 디코드 개시 가능점이라고는 단정할 수 없기 때문이다. That is, the player control module 212 uses, for example, a binary search (binary search) for the maximum PTS_EP_start satisfying the expression PTS_EP_start IN_time in the PTS_EP_start indicating the decode start point described in EP_map (). Search. The search for PTS_EP_start of IN_time or less is because the position indicated by IN_time cannot be determined as the decoding start possible point.

지금의 경우, IN_time는, 상술한 바와 같이, 180,090이다. 또한, 1번째의 PlayList #0에 포함되는 1번째의 PlayItem #0에 의해 재생되는 클립 스트림 파일 "00001.CLP"의, 도 27에 도시한 EP_map()에서는, 식 PTS_EP_start IN_time를 충족시키는 최대의 PTS_EP_start로서, 180,090이 기술되어 있다. 따라서, 플레이어 제어 모듈(212)에서는, 도 27에 도시한 EP_map()로부터, 그 180,090으로 되어 있는 PTS_EP_start가 검색된다. In this case, IN_time is 180,090 as described above. Further, in EP_map () shown in FIG. 27 of the clip stream file "00001.CLP" played by the first PlayItem # 0 included in the first PlayList # 0, the maximum PTS_EP_start that satisfies the expression PTS_EP_start IN_time. As described, 180,090 is described. Therefore, in the player control module 212, PTS_EP_start of 180,090 is retrieved from EP_map () shown in FIG.

또한, 플레이어 제어 모듈(212)에서는, 그 검색된 PTS_EP_start에 대응하는 RPN_EP_start인 305(섹터)가 읽어내지고, 그 305인 RPN_EP_start에 의해 표시되는 클립 스트림 파일 "00001.PS" 상의 위치가, 재생 개시 위치로서 결정된다. In addition, the player control module 212 reads 305 (sectors) which is RPN_EP_start corresponding to the retrieved PTS_EP_start, and the position on the clip stream file "00001.PS" indicated by RPN_EP_start which is 305 is the playback start position. Is determined as.

플레이어 제어 모듈(212)은, 이상과 같이 하여 재생 개시 위치를 결정하면, 스텝 S122로부터 S123으로 진행하여, 타임 코드를 표시하도록, 그래픽스 처리 모 듈(219)을 제어한다. 그래픽스 처리 모듈(219)은, 플레이어 제어 모듈(212)의 제어에 따라서, 타임 코드(의 비디오 데이터)를 생성하여 비디오 출력 모듈(220)에 출력한다. 이에 의해, 타임 코드의 표시가 개시된다. The player control module 212 controls the graphics processing module 219 to determine the playback start position as described above, proceeding from step S122 to S123 to display the time code. The graphics processing module 219 generates a time code (video data) under the control of the player control module 212 and outputs it to the video output module 220. As a result, display of the time code is started.

여기서, 스텝 S123에서 표시가 개시되는 타임 코드는, 예를 들면, PlayList()의 선두를 00:00:00(시간:분:초)으로 환산한 값으로 한다. 또한, 타임 코드와 함께, 또는 타임 코드가 아니라, 챕터나 인덱스의 번호를 표시하도록 해도 된다. In this case, the time code at which display is started in step S123 is, for example, a value obtained by converting the head of PlayList () into 00:00:00 (hour: minute: second). It is also possible to display the chapter or index number together with the time code or not the time code.

「PlaylistMark()의 해석 처리」"PlaylistMark () parsing process"

스텝 S123에서 타임 코드의 표시가 개시된 후에는, 스텝 S124로 진행하여, 플레이어 제어 모듈(212)은, 스크립트 제어 모듈(211)로부터 재생을 지시받은 PlayList(), 즉, 1번째의 PlayList()(PlayList #0)에 기술되어 있는 PlayListMark()(도 7)를 해석하는 해석 처리를 행한다. After the display of the time code is started in step S123, the flow proceeds to step S124, where the player control module 212 plays the PlayList (), that is, the first PlayList () (instructed to play back from the script control module 211). Analysis processing for analyzing PlayListMark () (Fig. 7) described in PlayList # 0 is performed.

구체적으로는, 플레이어 제어 모듈(212)은, 이미 읽어들인 "PLAYLIST.DAT" 파일에서의 1번째의 PlayList #0의, 도 28 상측에 도시한 PlayListMark()에서, number_of_PlayList_marks가 7로 되어 있기 때문에, 그 PlayList #0에 포함되는 Mark()의 수가 7인 것을 인식한다. Specifically, since the player control module 212 has number_of_PlayList_marks as 7 in the PlayListMark () shown above in FIG. 28 of the first PlayList # 0 in the " PLAYLIST.DAT " file already read, It is recognized that the number of Mark () included in the PlayList # 0 is seven.

또한, 플레이어 제어 모듈(212)은, PlayList #0에 포함되는, 도 28 상측의 7개의 Mark()를 해석하고, 그 ref_to_PlayItem_id로부터, 7개의 Mark() 중의 1번째로부터 4번째까지의 4개의 Mark()가, PlayList #0의 1번째의 PlayItem()(PlayItem #0)에 속해 있는 것을 인식한다. In addition, the player control module 212 analyzes seven Mark () on the upper side of FIG. 28 included in PlayList # 0, and from the ref_to_PlayItem_id, four Marks from the first to the fourth of the seven Mark (). Recognize that () belongs to the first PlayItem () (PlayItem # 0) of PlayList # 0.

그 후, 플레이어 제어 모듈(212)은, PlayList #0의 1번째의 PlayItem #0에 속해 있는 4개의 Mark()의 mark_time_stamp를 취출하여, 요소수가 4인 배열로서, 디코드 제어 모듈(214)에 전달한다. 즉, 이에 의해, 도 28 상측의 7개의 Mark() 중의 1번째로부터 4번째까지의 4개의 Mark() 각각의 mark_time_stamp인 {180,090}, {5,580,090}, {10,980,090}, {16,380,090}의 4개의 시각이, 플레이어 제어 모듈(212)로부터, 디코드 제어 모듈(214)에 전달된다. 이 때 이들 시각의 속성은 「마크 처리」인 것도, 플레이어 제어 모듈(212)로부터, 디코드 제어 모듈(214)에 전해진다. 디코드 제어 모듈(214)은, 계시부(214A)에서 계시하고 있는 시각이, 「마크 처리」의 속성의 시각과 일치하였을 때, 그 취지를 나타내는 메시지, 「마크 처리」의 속성의 시각과 일치한 시각, 및 「마크 처리」의 속성을, 플레이어 제어 모듈(212)에 전달한다. Thereafter, the player control module 212 extracts mark_time_stamp of four Mark () belonging to the first PlayItem # 0 of PlayList # 0, and delivers it to the decode control module 214 as an array having 4 elements. do. That is, the four time points of {180,090}, {5,580,090}, {10,980,090}, and {16,380,090}, which are mark_time_stamp of each of the four Mark (s) from the first to the fourth of the seven Mark (s) in FIG. 28, respectively. This is transmitted from the player control module 212 to the decode control module 214. At this time, the attribute of these times is also "mark processing" and is transmitted from the player control module 212 to the decode control module 214. The decoding control module 214 displays a message indicating that when the time indicated by the timekeeping unit 214A coincides with the time of the attribute of "mark processing", and the time corresponding to the time of the attribute of "mark processing". , And attributes of "mark processing" are transmitted to the player control module 212.

「재생하는 엘리멘터리 스트림의 결정 처리」Determination of Elementary Streams to Play

다음으로, 스텝 S124로부터 S125로 진행하여, 플레이어 제어 모듈(212)은, 재생하는 엘리멘터리 스트림을 결정한다. Next, from step S124 to S125, the player control module 212 determines the elementary stream to be reproduced.

즉, 플레이어 제어 모듈(212)은, 스크립트 제어 모듈(211)로부터 재생을 지시받은 PlayList()인 1번째의 PlayList #0에서의 1번째의 PlayItem #0(도 25)의 Clip_Information_fime_name에 파일명이 기술되어 있는, 도 26의 클립 정보 파일 "00001.CLP"에서, number_of_streams가 4로 되어 있기 때문에, 대응하는 클립 스트림 파일 "00001.PS"에, 4개의 엘리멘터리 스트림이 다중화되어 있는 것을 인식한다. 또한, 플레이어 제어 모듈(212)은, 그 4개의 엘리멘터리 스트림에 대한, 도 26의 클립 정보 파일 "00001.CLP"의 StaticInfo()의 stream_id와 필요한 private_stream_id를 순서대로 조사하고, 그 4개의 엘리멘터리 스트림이, 1개의 비디오 스트림, 1개의 ATRAC 오디오 스트림, 및 2개의 자막 스트림인 것을 인식한다. 즉, 클립 스트림 파일 "00001.PS"에 다중화되어 있는 각 속성의 엘리멘터리 스트림의 개수가 인식된다. That is, the player control module 212 describes the file name in Clip_Information_fime_name of the first PlayItem # 0 (FIG. 25) in the first PlayList # 0, which is PlayList () instructed to play back from the script control module 211. In the clip information file "00001.CLP" shown in FIG. 26, since number_of_streams is 4, it is recognized that four elementary streams are multiplexed in the corresponding clip stream file "00001.PS". In addition, the player control module 212 examines the stream_id and the required private_stream_id of the StaticInfo () of the clip information file "00001.CLP" shown in FIG. 26, in order, for the four elementary streams, and the four elementary streams. Recognize that the mentorary stream is one video stream, one ATRAC audio stream, and two subtitle streams. That is, the number of elementary streams of each attribute multiplexed in the clip stream file "00001.PS" is recognized.

또한, 클립 스트림 파일에 다중화되어 있는 각 속성의 엘리멘터리 스트림의 개수의 정보는, 재생 중에서의 엘리멘터리 스트림의 절환(오디오 절환, 자막절환 등)에 사용된다. 또한, 자막 스트림은, 클립 스트림 파일 중에 존재하지 않는(콘텐츠에 자막이 포함되지 않는) 경우가 있고, 자막 스트림이 존재하는지의 여부의 판단에, 「자막 스트림」의 속성의 엘리멘터리 스트림의 개수의 정보가 사용된다. The information on the number of elementary streams of each attribute multiplexed in the clip stream file is used for switching the elementary stream (audio switching, subtitle switching, etc.) during playback. In addition, the subtitle stream may not exist in the clip stream file (the content does not include the subtitle), and the number of elementary streams of the attribute of the "subtitle stream" is determined when the subtitle stream exists. Information is used.

플레이어 제어 모듈(212)은, 이상과 같은 StaticInfo()의 조사의 결과에 기초하여, 재생하는 엘리멘터리 스트림을 선택, 결정하지만, 지금의 경우, 클립 스트림 파일 "00001.PS"에 다중화되어 있는 4개의 엘리멘터리 스트림 중에, 「비디오 스트림」과 「오디오 스트림」의 속성의 엘리멘터리 스트림은, 각각 1개밖에 없으므로, 「비디오 스트림」과 「오디오 스트림」의 속성의 엘리멘터리 스트림에 대해서는, 선택의 여지가 없고, 그 1개의 비디오 스트림과 오디오 스트림(ATRAC 오디오 스트림)이, 재생하는 엘리멘터리 스트림으로서 결정된다. The player control module 212 selects and determines the elementary stream to be played back on the basis of the above-described result of the staticInfo () investigation. Of the four elementary streams, there is only one elementary stream of the attribute of "video stream" and "audio stream". Therefore, the elementary stream of attributes of "video stream" and "audio stream" There is no choice, and one video stream and audio stream (ATRAC audio stream) are determined as elementary streams to be played back.

또한, 「자막 스트림」의 속성의 엘리멘터리 스트림에 대해서는, 클립 스트림 파일 "00001.PS"에 다중화되어 있는 4개의 엘리멘터리 스트림 중에 2개 존재하므로, 그 2개의 자막 스트림 중 어느 하나인가 1개의 자막 스트림이, 재생하는 엘 리멘터리 스트림으로서 선택, 결정된다. 여기서는, 예를 들면, 2개의 자막 스트림 중의, 클립 정보 파일 "00001.CLP"에서의 출현순으로 최초의 자막 스트림이 선택되는 것으로 한다. In addition, two elementary streams of the attribute of the "caption stream" exist among four elementary streams multiplexed in the clip stream file "00001.PS". Subtitle streams are selected and determined as elementary streams to be played. Here, for example, it is assumed that the first subtitle stream is selected in the order of appearance in the clip information file "00001.CLP" among two subtitle streams.

여기서, 상술한 바와 같이, 클립 스트림 파일 "00001.PS"에 다중화되어 있는 4개의 엘리멘터리 스트림의 속성과 개수를 인식함에 있어서는, 그 4개의 엘리멘터리 스트림 각각을 특정할 필요가 있지만, 플레이어 제어 모듈(212)은, 클립 스트림 파일 "00001.PS"에 다중화되어 있는 4개의 엘리멘터리 스트림의 특정을, stream_id와 필요한 private_stream_id에 의해 행한다. As described above, in recognizing the attributes and the number of the four elementary streams multiplexed in the clip stream file "00001.PS", it is necessary to specify each of the four elementary streams, but the player The control module 212 specifies four elementary streams multiplexed in the clip stream file "00001.PS" by stream_id and required private_stream_id.

즉, 플레이어 제어 모듈(212)은, 클립 스트림 파일 "00001.PS"에 다중화되어 있는 4개의 엘리멘터리 스트림 중의, 「비디오 스트림」의 속성의 엘리멘터리 스트림인 비디오 스트림을, 도 26에서 클립 정보 파일 "00001.CLP"에 대하여 설명한 바와 같이, 0xE0으로 되어 있는 stream_id로 특정한다. That is, the player control module 212 clips the video stream which is an elementary stream of the attribute of "video stream" of four elementary streams multiplexed in the clip stream file "00001.PS" in FIG. As described with respect to the information file "00001.CLP", this is specified by stream_id of 0xE0.

또한, 플레이어 제어 모듈(212)은, 클립 스트림 파일 "00001.PS"에 다중화되어 있는 4개의 엘리멘터리 스트림 중의, 「오디오 스트림」의 속성의 엘리멘터리 스트림인 ATRAC 오디오 스트림을, 도 26에서 클립 정보 파일 "00001.CLP"에 대하여 설명한 바와 같이, 0xBD로 되어 있는 stream_id, 및 0x00으로 되어 있는 private_stream_id로 특정한다. In addition, the player control module 212 shows the ATRAC audio stream which is an elementary stream of the attribute of "audio stream" among four elementary streams multiplexed in the clip stream file "00001.PS" in FIG. As described with respect to the clip information file "00001.CLP", this is specified by stream_id of 0xBD and private_stream_id of 0x00.

또한, 플레이어 제어 모듈(212)은, 클립 스트림 파일 "00001.PS"에 다중화되어 있는 4개의 엘리멘터리 스트림에서의 「자막 스트림」의 속성의 엘리멘터리 스트림인 2개의 자막 스트림 각각을, 도 26에서 클립 정보 파일 "00001.CLP"에 대하 여 설명한 바와 같이, 0xBD로 되어 있는 stream_id, 및 0x80으로 되어 있는 private_stream_id와, 0xBD로 되어 있는 stream_id, 및 0x81로 되어 있는 private_stream_id로, 각각 특정한다. In addition, the player control module 212 shows each of two subtitle streams which are elementary streams of the attribute of the "subtitle stream" in the four elementary streams multiplexed in the clip stream file "00001.PS". As described with reference to the clip information file "00001.CLP" at 26, stream_id of 0xBD, private_stream_id of 0x80, stream_id of 0xBD, and private_stream_id of 0x81 are specified, respectively.

이상과 같이, 클립 스트림 파일에 대응하는 클립 정보 파일의 메타데이터로서 기술되는 stream_id와 private_stream_id의 조합에 의해, 그 클립 스트림 파일에 다중화되어 있는 엘리멘터리 스트림을 특정할 수 있다. As described above, the elementary stream multiplexed in the clip stream file can be identified by the combination of stream_id and private_stream_id described as metadata of the clip information file corresponding to the clip stream file.

여기서, stream_id와 private_stream_id의 조합은, MPEG2-System의 다중화를 확장하기 위해 설정한 메카니즘이다. 이 stream_id와 private_stream_id의 조합을, 메타데이터(데이터베이스)에서, 엘리멘터리 스트림을 특정하기 위해 사용함으로써, 엘리멘터리 스트림을 확실하게 특정하는 것이 가능하게 된다. 또한, 장래, private_stream_id의 의미를 확장하고, 대응하는 엘리멘터리 스트림의 개수나 종류(속성)를 늘린 경우에도 현재의 메카니즘을 그대로 사용 가능하기 때문에, 확장성에서 좀더 많다. Here, the combination of stream_id and private_stream_id is a mechanism set for extending the multiplexing of MPEG2-System. By using this combination of stream_id and private_stream_id in identifying the elementary stream in the metadata (database), it is possible to reliably identify the elementary stream. In the future, even if the meaning of private_stream_id is extended and the number and type (attributes) of corresponding elementary streams are increased, the present mechanism can be used as it is, so that there is more scalability.

즉, 예를 들면, BD(Blue ray Disc) 규격에서는, 데이터의 특정에, MPEG2 규격의 트랜스포트 스트림(Transport Stream)의 PID(Packet ID)가 이용되기 때문에, MPEG2 규격에 구속된다. 또한, 예를 들면, DVD-Video 규격에서는, private_stream_id와 유사한 sub_stream_id가 정의되어 있지만, sub_stream_id는, 스트림의 특정을 위해 데이터베이스 상에 기술할 수 있도록 되어 있지는 않고, 8개 혹은 32개의 스트림 정보를 기술하는 고정적인 영역에 기술할 수 있는 것에 지나지 않기 때문에(예를 들면 VI4-49, Table 4.2.1-2(VTS-AST_ATRT)나 VI4-52, Table 4.2.1-3(VTS_SPST_ATRT) 등 참조), 확장성이 부족하다. That is, for example, in the BD (Blue ray Disc) standard, since the PID (Packet ID) of the transport stream of the MPEG2 standard is used for data specification, it is constrained by the MPEG2 standard. For example, in the DVD-Video standard, sub_stream_id similar to private_stream_id is defined, but sub_stream_id is not intended to be described on a database for stream identification, and describes 8 or 32 stream information. Because it can only be described in a fixed area (for example, see VI4-49, Table 4.2.1-2 (VTS-AST_ATRT) or VI4-52, Table 4.2.1-3 (VTS_SPST_ATRT), etc.) Lack of sex

이것에 대하여, stream_id와 private_stream_id의 조합은, 메타데이터가 기술되는, 예를 들면, 도 10의 클립 정보 파일 Clip()에서, number_of_streams로 나타낼 수 있는 수만큼 기술할 수 있고, 따라서, 클립 스트림 파일에 다중화되어 있는 엘리멘터리 스트림을, 그 수에 상관없이(단, number_of_streams로 나타낼 수 있는 수의 범위), 클립 정보 파일 Clip()에 기술된 메타데이터로서의 stream_id와 private_stream_id의 조합으로부터 특정하는 것이 가능하게 된다. On the other hand, the combination of stream_id and private_stream_id can be described as many times as the number_of_streams can be described in the clip information file Clip () of FIG. Regardless of the number of elementary streams being multiplexed (in the range of the number that can be represented by number_of_streams), it is possible to identify from the combination of stream_id and private_stream_id as metadata described in the clip information file Clip (). do.

또한, 본 실시 형태에서는, stream_id와 private_stream_id의 조합은, 도 10의 클립 정보 파일에서, 대응하는 클립 스트림 파일에 다중화되어 있는 엘리멘터리 스트림을 특정하는 데에 사용되는 것 외에, 예를 들면, 도 7의 PlayListMark()에서의 entry_ES_stream_id와 entry_ES_private_stream_id의 조합으로서, Mark()를 관련짓는 엘리멘터리 스트림의 특정에도 사용된다. 또한, stream_id와 private_stream_id의 조합은, 그 밖에, 예를 들면, 도 14의 EP_map()에서, 디코드 가능 개시점의 정보를 기술하는 엘리멘터리 스트림의 특정에도 사용된다. In addition, in this embodiment, the combination of stream_id and private_stream_id is used to identify the elementary stream multiplexed in the corresponding clip stream file in the clip information file of FIG. 10, for example, FIG. As a combination of entry_ES_stream_id and entry_ES_private_stream_id in PlayListMark () of 7, it is also used to specify the elementary stream to which Mark () is associated. In addition, the combination of stream_id and private_stream_id is also used for specifying an elementary stream that describes information of a decodable start point, for example, in EP_map () of FIG. 14.

「출력 속성의 제어 처리」 Output Attribute Control Processing

그 후, 스텝 S125로부터 S126로 진행하여, 플레이어 제어 모듈(212)은, 재생 대상의 엘리멘터리 스트림, 즉, 스텝 S125에서 재생한다고 결정한 엘리멘터리 스트림의 출력 속성의 제어 처리를 행한다. After that, the process proceeds from step S125 to S126, and the player control module 212 performs control processing of the output attribute of the elementary stream to be played back, that is, the elementary stream determined to be played back in step S125.

구체적으로는, 플레이어 제어 모듈(212)은, 우선, 재생 대상의 엘리멘터리 스트림, 즉, 스텝 S125에서 재생한다고 결정한 비디오 스트림, ATRAC 오디오 스트 림, 자막 스트림 각각에 대하여, 출력 속성이 기술되는 DynamicInfo()(도 13)의 수를 나타내는 number_of_DynamicInfo(도 10)를 조사한다. Specifically, the player control module 212 firstly outputs a dynamicInfo in which an output attribute is described for each elementary stream to be played back, that is, each of a video stream, an ATRAC audio stream, and a subtitle stream determined to be played back in step S125. Number_of_DynamicInfo (FIG. 10) indicating the number of () (FIG. 13) is examined.

여기서, 지금의 경우, 재생 대상의 비디오 스트림, ATRAC 오디오 스트림, 자막 스트림은, 클립 스트림 파일 "00001.PS"에 다중화되어 있는 엘리멘터리 스트림이며, 그들 number_of_DynamicInfo는, 도 26의 "00001.CLP"에서 설명한 바와 같이, 모두 0으로 되어 있다. 이와 같이, 재생 대상의 엘리멘터리 스트림의 전부에 대하여, number_of_DynamicInfo가 0인 경우, 플레이어 제어 모듈(212)은, 재생 대상의 엘리멘터리 스트림의 출력 속성의 제어 처리로서는, 특히 처리를 행하지 않는다. Here, in this case, the video stream, the ATRAC audio stream, and the subtitle stream to be played back are elementary streams multiplexed in the clip stream file "00001.PS", and their number_of_DynamicInfo is "00001.CLP" in FIG. As described above, all are zeros. As described above, when the number_of_DynamicInfo is 0 for all of the elementary streams to be played, the player control module 212 does not particularly perform processing as a control process for the output attribute of the elementary stream to be played.

또한, 재생 대상의 엘리멘터리 스트림에 대한 number_of_DynamicInfo가 0이 아닌 경우에, 그 엘리멘터리 스트림의 출력 속성의 제어로서 행하여지는 처리에 대해서는, 후술한다. In addition, when number_of_DynamicInfo for the elementary stream to be reproduced is not 0, the processing performed as control of the output attribute of the elementary stream will be described later.

「재생 개시의 준비 처리」"Preparation process of reproduction start"

스텝 S126의 처리 후에는, 스텝 S127로 진행하여, 플레이어 제어 모듈(212)은, 재생 대상의 엘리멘터리 스트림의 재생 개시의 준비 처리를 행한다. After the process of step S126, it progresses to step S127 and the player control module 212 performs the preparation process of the reproduction start of the elementary stream of a reproduction object.

즉, 플레이어 제어 모듈(212)은, 콘텐츠 데이터 공급 모듈(213)에 대하여, 재생 대상의 엘리멘터리 스트림이 다중화되어 있는 클립 스트림 파일 "00001.PS"의 파일명과, 스텝 S122에서 결정한 재생 개시 위치인 EP_map()에 기술된 RPN_EP_start(=305)를 부여한다. That is, the player control module 212, with respect to the content data supply module 213, the file name of the clip stream file "00001.PS" in which the elementary stream to be reproduced is multiplexed, and the playback start position determined in step S122. RPN_EP_start (= 305) described in EP_map ().

또한, 플레이어 제어 모듈(212)은, 재생 대상의 엘리멘터리 스트림이 다중화되어 있는 클립 스트림 파일 "00001.PS"에 저장된 프로그램 스트림의, 버퍼 제어 모듈(215)에의 공급이 개시되기 전에, 버퍼 제어 모듈(215)을 초기화한다. In addition, the player control module 212 controls the buffer before the program stream stored in the clip stream file "00001.PS" in which the elementary streams to be reproduced are multiplexed is supplied to the buffer control module 215. Initialize module 215.

구체적으로는, 버퍼 제어 모듈(215)(도 3)에서는, 데이터 선두 포인터 기억부(231)에 기억되는 데이터 선두 포인터, 데이터 써넣기 포인터 기억부(232)에 기억되는 데이터 써넣기 포인터, 비디오 읽어내기 포인터 기억부(241)에 기억되는 비디오 읽어내기 포인터, 오디오 읽어내기 포인터 기억부(251)에 기억되는 오디오 읽어내기 포인터, 자막 읽어내기 포인터 기억부(262)에 기억되는 자막 읽어내기 포인터에, 동일한 값이 대입된다. Specifically, in the buffer control module 215 (Fig. 3), the data head pointer stored in the data head pointer storage unit 231, the data write pointer stored in the data write pointer storage unit 232, and the video read pointer. The same value as the video read pointer stored in the storage unit 241, the audio read pointer stored in the audio read pointer storage unit 251, and the subtitle read pointer stored in the subtitle read pointer storage unit 262. This is assigned.

이에 의해, 데이터 선두 포인터 기억부(231)에 기억된 데이터 선두 포인터와, 데이터 써넣기 포인터(232)에 기억된 데이터 써넣기 포인터는, 버퍼 제어 모듈(215)의 버퍼(215A)의 동일한 위치를 가리킨다. 이것은, 버퍼(215A)에, 유효한 데이터가 축적되어 있지 않은 상태를 나타낸다. As a result, the data head pointer stored in the data head pointer storage unit 231 and the data write pointer stored in the data write pointer 232 indicate the same position of the buffer 215A of the buffer control module 215. This represents a state in which no valid data is stored in the buffer 215A.

또한, 플레이어 제어 모듈(212)은, 재생 대상의 엘리멘터리 스트림을 식별(특정)하기 위한 식별 정보로서의 stream_id, 나아가서는, 필요에 따라서, private_stream_id를, 버퍼 제어 모듈(215)에 공급한다. In addition, the player control module 212 supplies the stream_id as identification information for identifying (specifically) the elementary stream to be played back, and furthermore, private_stream_id to the buffer control module 215 as necessary.

즉, 상술한 바와 같이, 재생 대상의 엘리멘터리 스트림 중의, 「비디오 스트림」의 속성의 비디오 스트림은, 0xE0으로 되어 있는 stream_id에 의해 특정되고, 「오디오 스트림」의 속성의 ATRAC 오디오 스트림은, 0xBD로 되어 있는 stream_id, 및 0x00으로 되어 있는 private_stream_id에 의해 특정되며, 「자막 스트림」의 속성의 자막 스트림은, 0xBD로 되어 있는 stream_id, 및 0x80으로 되어 있는 private_stream_id에 의해 특정된다. 플레이어 제어 모듈(212)은, 이들 stream_id 와 private_stream_id를, 버퍼 제어 모듈(215)에 공급한다. That is, as described above, the video stream having the attribute of "video stream" in the elementary stream to be played is specified by stream_id of 0xE0, and the ATRAC audio stream having the attribute of "audio stream" is 0xBD. It is specified by stream_id of 0 and private_stream_id of 0x00, and the subtitle stream of the attribute of "Subtitle Stream" is identified by stream_id of 0xBD and private_stream_id of 0x80. The player control module 212 supplies these stream_id and private_stream_id to the buffer control module 215.

버퍼 제어 모듈(215)(도 3)에서는, 비디오 읽어내기 기능부(233)가, 플레이어 제어 모듈(212)로부터의, 비디오 스트림에 대한 0xE0으로 되어 있는 stream_id를, stream_id 레지스터(242)에 기억시킨다. 또한, 오디오 읽어내기 기능부(234)가, 플레이어 제어 모듈(212)로부터의, 0xBD로 되어 있는 stream_id와, 0x00으로 되어 있는 private_stream_id를, stream_id 레지스터(252)와 private_stream_id 레지스터(253)에, 각각 기억시킨다. 또한, 자막 읽어내기 기능부(235)가, 플레이어 제어 모듈(212)로부터의, 0xBD로 되어 있는 stream_id와, 0x80으로 되어 있는 private_stream_id를, stream_id 레지스터(263)와 private_stream_id 레지스터(264)에, 각각 기억시킨다. In the buffer control module 215 (FIG. 3), the video reading function unit 233 stores the stream_id of 0xE0 of the video stream from the player control module 212 in the stream_id register 242. . The audio reading function unit 234 also stores the stream_id of 0xBD and the private_stream_id of 0x00 from the player control module 212 in the stream_id register 252 and the private_stream_id register 253, respectively. Let's do it. In addition, the subtitle reading function unit 235 stores the stream_id of 0xBD and the private_stream_id of 0x80 from the player control module 212 in the stream_id register 263 and the private_stream_id register 264, respectively. Let's do it.

또한, 플레이어 제어 모듈(212)은, 버퍼 제어 모듈(215)에 공급한 재생 대상의 엘리멘터리 스트림의 stream_id와 private_stream_id를, 금후의 처리를 위해 기억한다. 플레이어 제어 모듈(212)은, 이들 stream_id나 private_stream_id를, 후술하는 스트림 절환을 요구하는 메시지의 발생 시나, 후술하는 마크 처리에서 현재 재생 중인 스트림을 특정하기 위해 사용한다. In addition, the player control module 212 stores the stream_id and the private_stream_id of the elementary stream to be reproduced supplied to the buffer control module 215 for further processing. The player control module 212 uses these stream_id and private_stream_id to specify the stream currently being reproduced at the time of generation of a message for requesting stream switching described later or in the mark processing described later.

플레이어 제어 모듈(212)은, 버퍼 제어 모듈(215)(도 3)의 초기화로서, 또한, 재생 대상의 엘리멘터리 스트림이 다중화되어 있는 클립 스트림 파일에 따른 값의 자막 읽어내기 기능 플래그를, 자막 읽어내기 기능 플래그 기억부(261)에 세트한다. The player control module 212, as an initialization of the buffer control module 215 (FIG. 3), subtitles a caption reading function flag of a value corresponding to a clip stream file in which an elementary stream to be reproduced is multiplexed. The read function flag storage unit 261 is set.

즉, 지금의 경우, 재생 대상의 엘리멘터리 스트림이 다중화되어 있는 클립 스트림 파일 "00001.PS"에는, 자막 스트림이 포함되기 때문에, 자막 읽어내기 기능부(235)를 기능시키기 위해, 값이 1인 자막 읽어내기 기능 플래그가, 자막 읽어내기 기능 플래그 기억부(261)에 세트된다. 또한, 재생 대상의 엘리멘터리 스트림이 다중화되어 있는 클립 스트림 파일에 자막 스트림이 포함되어 있지 않은 경우, 자막 읽어내기 기능 플래그 기억부(261)에는, 값이 0인 자막 읽어내기 기능 플래그가 세트된다. 이 경우, 자막 읽어내기 기능부(235)는 기능하지 않는다(특히 처리를 행하지 않는다).That is, in this case, since the subtitle stream is included in the clip stream file "00001.PS" in which the elementary streams to be reproduced are multiplexed, the value is 1 for the subtitle reading function unit 235 to function. The caption reading function flag is set in the caption reading function flag storage unit 261. If the subtitle stream is not included in the clip stream file in which the elementary streams to be reproduced are multiplexed, the subtitle read function flag 261 sets a subtitle read function flag with a value of zero. . In this case, the subtitle reading function unit 235 does not function (in particular, no processing is performed).

또한, 플레이어 제어 모듈(212)은, 스크립트 제어 모듈(211)로부터 재생을 지시받은 1번째의 PlayList #0에 포함되는 1번째의 PlayItem #0(도 25)의 IN_time인 180,090과, OUT_time인 27,180,090을, 디코드 제어 모듈(214)에 대하여 부여한다. 디코드 제어 모듈(214)에서는, IN_time는, PlayItem()에 의해 재생되는 클립의 디코드 개시의 제어에, OUT_time는, 그 클립의 디코드 종료, 나아가서는, 후술하는 PlayItem 갈아타기의 제어에, 각각 사용된다. In addition, the player control module 212 selects 180,090 which is IN_time and 27,180,090 which is OUT_time of the first PlayItem # 0 (FIG. 25) included in the first PlayList # 0 instructed to play back from the script control module 211. To the decode control module 214. In the decoding control module 214, IN_time is used to control decoding start of a clip played by the PlayItem (), and OUT_time is used to control decoding of the clip and further control of a PlayItem change, which will be described later. .

또한, 플레이어 제어 모듈(212)은, 그래픽스 처리 모듈(219)에 대한 자막 스트림의 표시 방식의 지시를 초기화한다. 즉, 플레이어 제어 모듈(212)은, 자막 스트림의 표시 방식을, 예를 들면, 디폴트의 표시 방식으로 하도록, 그래픽스 처리 모듈(219)을 제어한다. In addition, the player control module 212 initializes an instruction of the display method of the subtitle stream to the graphics processing module 219. That is, the player control module 212 controls the graphics processing module 219 to make the display system of the subtitle stream the default display system.

「데이터 읽어들이기 개시」 `` Start reading data ''

그 후, 스텝 S127로부터 S128로 진행하여, 플레이어 제어 모듈(212)은, 콘텐츠 데이터 공급 모듈(213)을 제어하고, 이에 의해, 콘텐츠 데이터 공급 모듈(213) 은, 오퍼레이팅 시스템(201)의 기능을 사용하여, 재생 대상의 엘리멘터리 스트림이 다중화된 프로그램 스트림이 저장된 클립 스트림 파일을 읽어낸다. 즉, 콘텐츠 데이터 공급 모듈(213)은, 디스크(101)(도 4)의 "VIDEO" 디렉토리 아래에 있는 "STREAM" 디렉토리의 클립 스트림 파일 "00001.PS"를 지정하고, 또한, 스텝 S122에서 결정된 재생 개시 위치인 305섹터를 지정하여, 오퍼레이팅 시스템(201)에 대하여 파일 읽어내기를 요구한다. 또한, 콘텐츠 데이터 공급 모듈(213)은, 디스크(101)로부터 읽어낸 데이터를, 버퍼 제어 모듈(215)에 공급하도록 지정한다. After that, the process proceeds from step S127 to S128, whereby the player control module 212 controls the content data supply module 213, whereby the content data supply module 213 controls the function of the operating system 201. In this way, the clip stream file in which the program stream multiplexed by the elementary stream to be reproduced is stored is read out. That is, the content data supply module 213 designates the clip stream file "00001.PS" in the "STREAM" directory under the "VIDEO" directory of the disc 101 (FIG. 4), and is determined in step S122. A sector 305, which is a reproduction start position, is designated, and the operating system 201 is requested to read a file. In addition, the content data supply module 213 specifies to supply the data read out from the disk 101 to the buffer control module 215.

이에 의해, 디스크(101)로부터의, 클립 스트림 파일 "00001.PS"에 저장된 프로그램 스트림의 읽어내기가 개시되고, 그 프로그램 스트림은, 버퍼 제어 모듈(215)에 공급된다. Thereby, reading of the program stream stored in the clip stream file "00001.PS" from the disc 101 is started, and the program stream is supplied to the buffer control module 215.

버퍼 제어 모듈(215)(도 3)은, 디스크(101)로부터 읽어내어져 공급된 프로그램 스트림을, 버퍼(215A)의 데이터 써넣기 포인터 기억부(232)의 데이터 써넣기 포인터가 가리키는 위치에 기입하고, 기입한 데이터의 사이즈만큼 데이터 써넣기 포인터를 인크리먼트한다. The buffer control module 215 (FIG. 3) writes the program stream read out from the disk 101 and supplied to the position indicated by the data write pointer of the data write pointer storage unit 232 of the buffer 215A. Increments the data write pointer by the size of the written data.

여기서, 이하, 특별히 언급하지 않는 한, 콘텐츠 데이터 공급 모듈(213)은, 버퍼 제어 모듈(215)의 버퍼(215A)에 빈 부분이 있으면, 디스크(101)로부터 데이터를 읽어내고, 버퍼 제어 모듈(215)의 버퍼(215A)에 공급하여 기억시키는 것으로 한다. 따라서, 버퍼(215A)에는, 항상, 충분한 데이터가 축적되어 있는 것으로 한다. Here, unless otherwise specified, the content data supply module 213 reads data from the disk 101 when there is a blank portion in the buffer 215A of the buffer control module 215, and the buffer control module ( 215A is supplied to the buffer 215A for storage. Therefore, it is assumed that sufficient data is always stored in the buffer 215A.

「디코더 제어 개시」`` Decoder control start ''

이상과 같이 하여, 디스크(101)로부터의 데이터의 읽어내기가 개시되고, 그 데이터가 버퍼 제어 모듈(215)의 버퍼(215A)에 축적되기 시작하면, 스텝 S128로부터 S129로 진행하여, 디코드 제어 모듈(214)은, 비디오 디코더 제어 모듈(216), 오디오 디코더 제어 모듈(217), 자막 디코더 제어 모듈(218)을 제어하고, 디코드 동작 전단계로서, 버퍼(215A)로부터의 데이터의 읽어내기를 개시시킨다. As described above, when reading of the data from the disk 101 starts, and when the data starts to accumulate in the buffer 215A of the buffer control module 215, the process proceeds from step S128 to S129 to decode the control module. 214 controls the video decoder control module 216, the audio decoder control module 217, and the subtitle decoder control module 218 to start reading data from the buffer 215A as a predecode operation step. .

즉, 이에 의해, 비디오 디코더 제어 모듈(216)은, 버퍼 제어 모듈(215)(도 3)의 비디오 읽어내기 기능부(233)에 데이터를 요구하고, 그 요구에 따라서 버퍼 제어 모듈(215)로부터 전달되는, 버퍼(215A)에 기억된 1개의 비디오 액세스 유닛, 그 비디오 액세스 유닛에 부가되어 있는 PTS와 DTS(이하, 적절하게, 타임 스탬프라고 함), 및 디코드 개시 가능점의 직전에 배치되어 있는 private_stream_2의 PES_packet()에 기술된 정보(이하, 적절하게, 부가 정보라고도 함)인 pic_struct_copy나, au_ref_flag, AU_length 등을 얻는다. 또한, 타임 스탬프는, 비디오 디코더 제어 모듈(216)이 비디오 액세스 유닛을 얻을 때마다, 비디오 디코더 제어 모듈(216)로부터 디코드 제어 모듈(214)에 건네준다. That is, the video decoder control module 216 requests data from the video read function unit 233 of the buffer control module 215 (FIG. 3), and from the buffer control module 215 according to the request. One video access unit stored in the buffer 215A, a PTS and a DTS (hereinafter, appropriately referred to as a time stamp) added to the video access unit to be delivered, and immediately before the decode start point. pic_struct_copy, au_ref_flag, AU_length, etc., which is information described in PES_packet () of private_stream_2 (hereinafter, appropriately referred to as additional information) are obtained. The time stamp also passes from the video decoder control module 216 to the decode control module 214 every time the video decoder control module 216 obtains a video access unit.

한편, 오디오 디코더 제어 모듈(217)도, 버퍼 제어 모듈(215)(도 3)의 오디오 읽어내기 기능부(234)에 데이터를 요구하고, 그 요구에 따라서 버퍼 제어 모듈(215)로부터 전달되는, 버퍼(215A)에 기억된 1개의 (ATRAC) 오디오 액세스 유닛과, 그 오디오 액세스 유닛에 부가되어 있는 타임 스탬프(PTS, DTS)를 얻는다. 또한, 타임 스탬프는, 오디오 디코더 제어 모듈(217)이 오디오 액세스 유닛을 얻을 때마다, 오디오 디코더 제어 모듈(217)로부터 디코드 제어 모듈(214)에 건네준다. On the other hand, the audio decoder control module 217 also requests data from the audio reading function unit 234 of the buffer control module 215 (FIG. 3), and is transmitted from the buffer control module 215 according to the request. One (ATRAC) audio access unit stored in the buffer 215A and time stamps PTS and DTS added to the audio access unit are obtained. The time stamp also passes from the audio decoder control module 217 to the decode control module 214 every time the audio decoder control module 217 obtains the audio access unit.

또한, 자막 디코더 제어 모듈(218)은, 버퍼 제어 모듈(215)(도 3)의 자막 읽 어내기 기능부(235)에 데이터를 요구하고, 그 요구에 따라서 버퍼 제어 모듈(215)로부터 전달되는, 버퍼(215A)에 기억된 1개의 자막 액세스 유닛과, 그 자막 액세스 유닛에 부가되어 있는 타임 스탬프를 얻는다. 또한, 타임 스탬프는, 자막 디코더 제어 모듈(218)이 자막 액세스 유닛을 얻을 때마다, 자막 디코더 제어 모듈(218)로부터 디코드 제어 모듈(214)에 전달된다. 또한, 재생 대상의 엘리멘터리 스트림에, 자막 스트림이 존재하지 않는 경우나, 버퍼(215A)에, 자막 액세스 유닛이 기억되어 있지 않은 경우에는, 버퍼 제어 모듈(215)로부터 자막 디코더 제어 모듈(218)에는, 데이터는 건네주지 않는다. In addition, the caption decoder control module 218 requests data from the caption reading function unit 235 of the buffer control module 215 (FIG. 3), and is transferred from the buffer control module 215 according to the request. One caption access unit stored in the buffer 215A and a time stamp added to the caption access unit are obtained. The time stamp is also transmitted from the caption decoder control module 218 to the decode control module 214 every time the caption decoder control module 218 obtains the caption access unit. When the subtitle stream does not exist in the elementary stream to be reproduced or when the subtitle access unit is not stored in the buffer 215A, the subtitle decoder control module 218 from the buffer control module 215. ) Does not pass data.

여기서, 비디오 디코더 제어 모듈(216), 오디오 디코더 제어 모듈(217), 및 자막 디코더 제어 모듈(218)은, 버퍼 제어 모듈(215)에 대하여 데이터를 요구할 때마다, 그 데이터의 요구에 대한 결과를, 디코드 제어 모듈(214)에 건네준다. Here, each time the video decoder control module 216, the audio decoder control module 217, and the subtitle decoder control module 218 request data from the buffer control module 215, the video decoder control module 216, the audio decoder control module 217, and the subtitle decoder control module 218 request the data. To the decode control module 214.

또한, 버퍼 제어 모듈(215)로부터, 비디오 디코더 제어 모듈(216), 오디오 디코더 제어 모듈(217), 및 자막 디코더 제어 모듈(218)에 대하여 데이터가 전달될 때의, 그 데이터의 버퍼(215A)로부터의 읽어내기의 상세에 대해서는, 후술한다. Also, when data is transferred from the buffer control module 215 to the video decoder control module 216, the audio decoder control module 217, and the subtitle decoder control module 218, the buffer 215A of the data. The details of reading from will be described later.

「디코드 개시」`` Decode start ''

이상과 같이, 비디오 디코더 제어 모듈(216), 오디오 디코더 제어 모듈(217), 자막 디코더 제어 모듈(218)이, 버퍼 제어 모듈(215)의 버퍼(215A)로부터 데이터를 읽어내기 시작하면, 스텝 S129로부터 S130으로 진행하여, 그 데이터의 디코드가 개시된다. As described above, when the video decoder control module 216, the audio decoder control module 217, and the subtitle decoder control module 218 start reading data from the buffer 215A of the buffer control module 215, step S129. From step S130 onwards, decoding of the data is started.

즉, 디코드 제어 모듈(214)은, 스텝 S127에서 플레이어 제어 모듈(212)로부 터 공급된, PlayList #0에 포함되는 1번째의 PlayItem #0의 IN_time인 180,090, 나아가서는, 비디오 디코더 제어 모듈(216), 오디오 디코더 제어 모듈(217), 자막 디코더 제어 모듈(218)로부터 스텝 S129에서 설명한 바와 같이 전달되는 타임 스탬프에 기초하여, 동기를 확보하기 위해 필요하다면 타이밍을 어긋나게 하여, 디코드 개시를, 비디오 디코더 제어 모듈(216), 오디오 디코더 제어 모듈(217), 및 자막 디코더 제어 모듈(218)에 명령한다. That is, the decode control module 214 is 180,090 which is IN_time of the first PlayItem # 0 included in the PlayList # 0 supplied from the player control module 212 in step S127, and furthermore, the video decoder control module 216. ), Based on the time stamp transmitted from the audio decoder control module 217 and the subtitle decoder control module 218 as described in step S129, the timing is shifted if necessary to ensure synchronization, and the video decoder starts decoding. The control module 216, the audio decoder control module 217, and the subtitle decoder control module 218 are instructed.

여기서, 동기를 확보하기 위한 타이밍을 어긋나게 한 디코드 개시의 명령의 방법은, 예를 들면, 일본 특허 제3496725호에 기재되어 있고, 간단하게는, 비디오 디코더 제어 모듈(216), 오디오 디코더 제어 모듈(217), 자막 디코더 제어 모듈(218) 각각으로부터 전달되는 타임 스탬프 중의 최소값을, 계시부(214A)에 의해 계시되는 시각의 초기값으로서 설정하여 시각의 계시를 개시하고, 계시부(214A)에 의해 계시되는 시각과, 타임 스탬프가 일치한 시점에서, 디코드 개시를 명령하는 방법이 있다. Here, the method of decode start instruction which shifted the timing for ensuring synchronization is described in, for example, Japanese Patent No. 3496725, which is simply a video decoder control module 216 and an audio decoder control module ( 217), the minimum value in the time stamps transmitted from each of the subtitle decoder control modules 218 is set as an initial value of the time time indicated by the timekeeping unit 214A to start time display, and is timed by the time zone 214A. There is a method of instructing the start of decoding when the time coincides with the time stamp.

비디오 디코더 제어 모듈(216)은, 디코드 제어 모듈(214)로부터의 디코드 개시의 지시를 받고, 그 지시에 따라서, 버퍼 제어 모듈(215)(도 3)의 비디오 읽어내기 기능부(233)로부터 얻은 1개의 비디오 액세스 유닛을, 비디오 디코더(116)(도 1)에 전달하여 디코드시킨다. 또한, 비디오 디코더 제어 모듈(216)은, 비디오 디코더(116)에 의한 디코드의 결과 얻어지는 비디오 데이터를, 그래픽스 처리 모듈(219)에 공급한다. The video decoder control module 216 receives the decoding start instruction from the decoding control module 214 and, according to the instruction, is obtained from the video reading function unit 233 of the buffer control module 215 (FIG. 3). One video access unit is delivered to the video decoder 116 (FIG. 1) for decoding. In addition, the video decoder control module 216 supplies the video data obtained as a result of the decoding by the video decoder 116 to the graphics processing module 219.

이후, 비디오 디코더 제어 모듈(216)은, 버퍼 제어 모듈(215)의 비디오 읽어 내기 기능부(233)로부터 얻어지는 1씩의 비디오 액세스 유닛을, 비디오 디코더(116)에서 순차적으로 디코드하고, 그 디코드의 결과 얻어지는 비디오 데이터를, 그래픽스 처리 모듈(219)에 공급해 간다. Thereafter, the video decoder control module 216 sequentially decodes each video access unit obtained from the video read function unit 233 of the buffer control module 215 in the video decoder 116, and The resulting video data is supplied to the graphics processing module 219.

한편, 오디오 디코더 제어 모듈(217)도, 디코드 제어 모듈(214)로부터의 디코드 개시의 지시를 받고, 그 지시에 따라서, 버퍼 제어 모듈(215)(도 3)의 오디오 읽어내기 기능부(234)로부터 얻은 1개의 오디오 액세스 유닛을, 오디오 디코더(117)(도 1)에 전달하여 디코드시킨다. 또한, 오디오 디코더 제어 모듈(217)은, 오디오 디코더(117)에 의한 디코드의 결과 얻어지는 오디오 데이터를, 오디오 출력 모듈(221)에 공급한다. On the other hand, the audio decoder control module 217 also receives an instruction to start decoding from the decode control module 214, and according to the instruction, the audio read function unit 234 of the buffer control module 215 (FIG. 3). One audio access unit obtained from the above is delivered to the audio decoder 117 (Fig. 1) for decoding. The audio decoder control module 217 also supplies the audio data obtained as a result of the decoding by the audio decoder 117 to the audio output module 221.

이후, 오디오 디코더 제어 모듈(217)은, 버퍼 제어 모듈(215)의 오디오 읽어내기 기능부(234)로부터 얻어지는 1씩의 오디오 액세스 유닛을, 오디오 디코더(117)에서 순차적으로 디코드하고, 그 디코드의 결과 얻어지는 오디오 데이터를, 오디오 출력 모듈(221)에 공급해 간다. Thereafter, the audio decoder control module 217 sequentially decodes each audio access unit obtained from the audio reading function unit 234 of the buffer control module 215 in the audio decoder 117, The resulting audio data is supplied to the audio output module 221.

또한, 자막 디코더 제어 모듈(218)도, 디코드 제어 모듈(214)로부터의 디코드 개시의 지시를 받고, 그 지시에 따라서, 버퍼 제어 모듈(215)(도 3)의 자막 읽어내기 기능부(235)로부터 얻은 1개의 자막 액세스 유닛을, 내부에 갖는 자막 디코드 소프트웨어에서 디코드하고, 그 디코드의 결과 얻어지는 자막 데이터(자막의 화상 데이터)를, 그래픽스 처리 모듈(219)에 공급한다. The caption decoder control module 218 also receives an instruction to start decoding from the decode control module 214 and, according to the instruction, the caption reading function unit 235 of the buffer control module 215 (FIG. 3). The subtitle access unit obtained from the decode is decoded by the subtitle decode software therein, and the subtitle data (subtitle image data) obtained as a result of the decode is supplied to the graphics processing module 219.

이후, 자막 디코더 제어 모듈(218)은, 버퍼 제어 모듈(215)의 자막 읽어내기 기능부(235)로부터 얻어지는 1씩의 자막 액세스 유닛을, 내부에 갖는 자막 디코드 소프트웨어에서 순차적으로 디코드하고, 그 디코드의 결과 얻어지는 자막 데이터를, 그래픽스 처리 모듈(219)에 공급해 간다. Subsequently, the subtitle decoder control module 218 sequentially decodes each subtitle access unit obtained from the subtitle reading function unit 235 of the buffer control module 215 in the subtitle decoding software having therein, and decodes them. The caption data obtained as a result is supplied to the graphics processing module 219.

「그래픽스 처리」 `` Graphics processing ''

그 후, 스텝 S130으로부터 S131로 진행하여, 그래픽스 처리 모듈(219)은, 상술한 바와 같이 하여, 비디오 디코더 제어 모듈(216)로부터 공급되는 비디오 데이터, 나아가서는, 필요에 따라서, 자막 디코더 제어 모듈(218)로부터 공급되는 자막 데이터를 대상으로, 그래픽스 처리를 행한다. After that, the process proceeds from step S130 to S131, and the graphics processing module 219 performs the video data supplied from the video decoder control module 216 as described above, and, if necessary, the caption decoder control module ( A graphics process is performed on the caption data supplied from 218.

즉, 그래픽스 처리 모듈(219)은, 우선 자막 디코더 제어 모듈(218)로부터의 자막 데이터를, 플레이어 제어 모듈(212)로부터의 표시 방식의 지시에 따라서, 확대나 축소 등 하는 자막 처리를 행한다. 플레이어 제어 모듈(212)로부터, 표시 방식의 지시가 없는 경우, 또는 디폴트의 표시 방식의 지시가 있었던 경우, 그래픽스 처리 모듈(219)은, 자막 디코더 제어 모듈(218)로부터의 자막 데이터를, 그대로 보존한다. That is, the graphics processing module 219 first performs caption processing such as enlarging or reducing the caption data from the caption decoder control module 218 in accordance with an instruction of the display method from the player control module 212. If there is no indication of the display method from the player control module 212, or if there is an indication of the default display method, the graphics processing module 219 stores the caption data from the subtitle decoder control module 218 as it is. do.

또한, 그래픽스 처리 모듈(219)은, 비디오 디코더 제어 모듈(216)로부터의 비디오 데이터와, 자막 디코더 제어 모듈(218)로부터의 자막 데이터, 또는 자막 처리 후의 자막 데이터를 가산하고, 비디오 디코더 제어 모듈(216)로부터의 비디오 데이터에 자막 데이터가 오버레이된 출력 비디오 데이터를 얻어, 비디오 출력 모듈(220)에 공급한다. In addition, the graphics processing module 219 adds the video data from the video decoder control module 216, the caption data from the caption decoder control module 218, or the caption data after the caption processing, and adds the video decoder control module ( The output video data in which the caption data is overlaid on the video data from 216 is obtained and supplied to the video output module 220.

또한, 그래픽스 처리 모듈(219)은, 스크립트 제어 모듈(211)이나 플레이어 제어 모듈(212)로부터, 예를 들면, 메뉴나, 메시지, 타임 코드, 챕터 또는 인덱스 의 번호 등의 정보의 표시의 지시를 받은 경우에는, 그 정보를 생성하고, 출력 비디오 데이터에 오버레이하여, 비디오 출력 모듈(220)에 공급한다. In addition, the graphics processing module 219, from the script control module 211 or the player control module 212, instructs the display of information such as menus, messages, time codes, chapters, or index numbers, for example. If so, the information is generated, overlaid on the output video data, and supplied to the video output module 220.

「출력 처리」"Output processing"

스텝 S131의 처리 후에는, 스텝 S132로 진행하여, 비디오 출력 모듈(220)은, 스텝 S131에서 설명한 바와 같이 하여 그래픽스 처리 모듈(219)로부터 공급되는 출력 비디오 데이터를, FIFO(220A)에 순차적으로 기억시키고, 그 FIFO(220A)에 기억된 출력 비디오 데이터를, 미리 결정된 출력 레이트로 순차적으로 출력한다. After the process of step S131, it progresses to step S132 and the video output module 220 sequentially stores the output video data supplied from the graphics processing module 219 in FIFO 220A as demonstrated in step S131. The output video data stored in the FIFO 220A is sequentially output at a predetermined output rate.

비디오 출력 모듈(220)은, FIFO(220A)의 기억 용량(잔량)에 여유가 있는 한, 그래픽스 처리 모듈(219)로부터의 출력 비디오 데이터를 받아들이지만, 여유가 없는 경우에는, 출력 비디오 데이터의 받아들이기의 정지를, 그래픽스 처리 모듈(219)에 요구한다. 이에 의해, 그래픽스 처리 모듈(219)은, 처리를 정지함과 함께, 처리의 정지를, 비디오 디코더 제어 모듈(216) 및 자막 디코더 제어 모듈(218)에 요구한다. 이에 의해, 비디오 디코더 제어 모듈(216) 및 자막 디코더 제어 모듈(218)이 처리를 정지한다. The video output module 220 accepts output video data from the graphics processing module 219 as long as there is room in the storage capacity (remaining amount) of the FIFO 220A. However, when there is no space, the video output module 220 receives the output video data. The graphics processing module 219 is requested to stop the group. Thereby, the graphics processing module 219 stops the processing and requests the video decoder control module 216 and the subtitle decoder control module 218 to stop the processing. As a result, the video decoder control module 216 and the subtitle decoder control module 218 stop processing.

비디오 출력 모듈(220)은, 출력 비디오 데이터의 받아들이기의 정지를, 그래픽스 처리 모듈(219)에 요구한 후에, FIFO(220A)로부터의 출력 비디오 데이터의 출력이 진행되고, FIFO(220A)에 여유가 생긴 시점에서, 출력 비디오 데이터의 받아들이기를, 그래픽스 처리 모듈(219)에 요구한다. 이 요구는, 출력 비디오 데이터의 받아들이기의 정지의 요구와 마찬가지로, 그래픽스 처리 모듈(219)로부터, 비디오 디코더 제어 모듈(216) 및 자막 디코더 제어 모듈(218)에 전해진다. 이에 의해, 그래픽스 처리 모듈(219), 나아가서는, 비디오 디코더 제어 모듈(216) 및 자막 디코더 제어 모듈(218)은, 정지하고 있던 처리를 재개한다. After the video output module 220 requests the graphics processing module 219 to stop the reception of the output video data, the output of the output video data from the FIFO 220A proceeds, and the FIFO 220A is allowed to rest. Is generated, the graphics processing module 219 is requested to accept the output video data. This request is transmitted from the graphics processing module 219 to the video decoder control module 216 and the subtitle decoder control module 218 similarly to the request for stopping the reception of the output video data. As a result, the graphics processing module 219, and furthermore, the video decoder control module 216 and the subtitle decoder control module 218 resume the processing that has been stopped.

한편, 오디오 출력 모듈(221)도, 스텝 S130에서 설명한 바와 같이 하여 오디오 디코더 제어 모듈(217)로부터 공급되는 오디오 데이터를, FIFO(221A)에 순차적으로 기억시켜, 그 FIFO(221A)에 기억된 오디오 데이터를, 미리 결정된 출력 레이트(샘플링 주파수)로 순차적으로 출력한다. On the other hand, the audio output module 221 also sequentially stores the audio data supplied from the audio decoder control module 217 as described in step S130 in the FIFO 221A, and stores the audio data stored in the FIFO 221A. Data is sequentially output at a predetermined output rate (sampling frequency).

오디오 출력 모듈(221)은, FIFO(221A)의 기억 용량(잔량)에 여유가 있는 한, 오디오 디코더 제어 모듈(217)로부터의 오디오 데이터를 받아들이지만, 여유가 없는 경우에는, 오디오 데이터의 받아들이기의 정지를, 오디오 디코더 제어 모듈(217)에 요구한다. 이에 의해, 오디오 디코더 제어 모듈(217)은, 처리를 정지한다. The audio output module 221 accepts audio data from the audio decoder control module 217 as long as there is room in the storage capacity (remaining amount) of the FIFO 221A, but accepts audio data when there is no room. The audio decoder control module 217 is requested to stop. As a result, the audio decoder control module 217 stops the processing.

오디오 출력 모듈(221)은, 오디오 데이터의 받아들이기의 정지를, 오디오 디코더 제어 모듈(217)에 요구한 후에, FIFO(221A)로부터의 오디오 데이터의 출력이 진행되고, FIFO(221A)에 여유가 생긴 시점에서, 오디오 데이터의 받아들이기를, 오디오 디코더 제어 모듈(217)에 요구한다. 이에 의해, 오디오 디코더 제어 모듈(217)은, 정지하고 있던 처리를 재개한다. After requesting the audio decoder control module 217 to stop the reception of the audio data, the audio output module 221 outputs the audio data from the FIFO 221A, and the FIFO 221A has a margin. At the time of occurrence, the audio decoder control module 217 is requested to accept the audio data. As a result, the audio decoder control module 217 resumes the stopped process.

이상과 같이 하여, 비디오 출력 모듈(220) 및 오디오 출력 모듈(221)로부터 데이터가 출력됨에 따라서, 엘리멘터리 스트림의 디코드가 행하여져 간다. As described above, as data is output from the video output module 220 and the audio output module 221, the elementary stream is decoded.

도 1의 디스크 장치가 디스크(101)를 재생할 때의 전체의 처리 또는 동작의 흐름은, 도 29 및 도 30에서 설명한 바와 같지만, 이하, 디스크 장치에서 디스 크(101)의 재생이 행하여지고 있을 때의, 그 밖의 처리 또는 동작에 대하여 설명한다. The entire process or flow of the operation when the disk apparatus of FIG. 1 plays back the disk 101 is the same as described with reference to FIGS. 29 and 30. Hereinafter, when the disk 101 is being played back in the disk apparatus. The following describes other processing or operation.

[PlayItem 갈아타기][Change PlayItem]

도 29 및 도 30에서 설명한 바와 같이 하여, 도 25에서의 1번째의 PlayList #0의 1번째의 PlayItem #0의 재생이 시작되지만, PlayList #0에 따르면, 그 1번째의 PlayItem #0의 재생이 종료하면, 2번째의 PlayItem #1의 재생이 개시된다. 즉, PlayItem #0으로부터 PlayItem #1로 PlayItem을 바꿔타는 PlayItem 갈아타기가 행하여진다. As described with reference to FIGS. 29 and 30, playback of the first PlayItem # 0 of the first PlayList # 0 in FIG. 25 starts, but according to PlayList # 0, playback of the first PlayItem # 0 is stopped. When finished, playback of the second PlayItem # 1 is started. That is, the PlayItem change which changes PlayItem from PlayItem # 0 to PlayItem # 1 is performed.

따라서, 도 31의 플로우차트를 참조하여, 이 PlayItem 갈아타기의 처리에 대하여 설명한다. Therefore, the process of changing this PlayItem will be described with reference to the flowchart in FIG. 31.

도 29 및 도 30에서 설명한 바와 같이 하여, 도 25에서의 PlayList #0의 1번째의 PlayItem #0(의 클립)의 재생이 개시되면, 디코드 제어 모듈(214)(도 2)은, 그 1번째의 PlayItem #0의 재생이 행하여지고 있는 동안, 내장하는 계시부(214A)가 계시하고 있는 시각을 계속하여 확인하고 있다. As described with reference to Figs. 29 and 30, when playback of the first PlayItem # 0 (clip) of PlayList # 0 in Fig. 25 is started, the decode control module 214 (Fig. 2) starts the first step. While playback of PlayItem # 0 is being performed, the time indicated by the built-in timekeeping unit 214A is continuously checked.

「PlayItem #0의 재생 종료」End Play of PlayItem # 0

그리고, 디코드 제어 모듈(214)은, 계시부(214A)가 계시하고 있는 시각이, 도 30의 스텝 S127에서 플레이어 제어 모듈(212)로부터 공급된 1번째의 PlayItem #0의 OUT_time인 27,180,090(도 25)과 동일하게 되면, 스텝 S151에서, 디코드 중단 제어를 행하고, PlayItem #0의 재생을 종료한다. Then, the decoding control module 214 is 27,180,090 (FIG. 25) at which the time indicated by the timekeeping unit 214A is OUT_time of the first PlayItem # 0 supplied from the player control module 212 in step S127 of FIG. If it becomes equal to, the decoding stop control is performed in step S151, and playback of PlayItem # 0 is terminated.

즉, 디코드 제어 모듈(214)은, 비디오 디코더 제어 모듈(216), 오디오 디코 더 제어 모듈(217), 자막 디코더 제어 모듈(218)을 조작하여, 디코드 동작을 정지시킨다. 또한, 디코드 제어 모듈(214)은, 비디오 출력 모듈(220)을 제어하고, 현재 출력 중인 출력 비디오 데이터를 계속하여 출력시킨다. That is, the decode control module 214 operates the video decoder control module 216, the audio decoder control module 217, and the subtitle decoder control module 218 to stop the decode operation. The decode control module 214 also controls the video output module 220 and continuously outputs the output video data currently being output.

또한, 디코드 제어 모듈(214)은, 1번째의 PlayItem #0의 재생이 종료하였다는 취지의 메시지를, 플레이어 제어 모듈(212)에 전달한다. The decode control module 214 also transmits a message to the player control module 212 indicating that playback of the first PlayItem # 0 has ended.

「PlayItem #1의 재생 개시」Start Play of PlayItem # 1

플레이어 제어 모듈(212)은, 상술한 바와 같이, 도 29의 스텝 S105에서, 1번째의 PlayList #0에, 1번째의 PlayItem #0과 2번째의 PlayItem #1이 존재하는 것을 인식하고 있고, 디코드 제어 모듈(214)로부터, 1번째의 PlayItem #0의 재생이 종료하였다는 취지의 메시지가 전해지면, 스텝 S151로부터 S152로 진행하여, 2번째의 PlayItem #1의 재생을, 상술한 1번째의 PlayItem #0에서의 경우와 마찬가지로 하여 개시한다. As described above, the player control module 212 recognizes that the first PlayItem # 0 and the second PlayItem # 1 exist in the first PlayList # 0 in step S105 of FIG. 29, and decoded. If the control module 214 receives a message indicating that playback of the first PlayItem # 0 has ended, the process proceeds from step S151 to S152 to perform playback of the second PlayItem # 1 described above. Start as in the case of # 0.

즉, 2번째의 PlayItem #1의 재생 수순을 개략적으로 설명하면, 우선, 플레이어 제어 모듈(212)은, 도 30의 스텝 S122에서의 경우와 마찬가지로 하여, 2번째의 PlayItem #1에 대하여, EP_map()에 기술된 RPN_EP_start 중 어느 하나를, 재생 개시 위치로서 결정한다. In other words, when the playback procedure of the second PlayItem # 1 is schematically described, first, the player control module 212 performs EP_map () on the second PlayItem # 1 in the same manner as in the step S122 of FIG. Any one of RPN_EP_start described in Fig. 1) is determined as the playback start position.

또한, 플레이어 제어 모듈(212)에서는, 도 30의 스텝 S124에서 설명한 바와 같이 하여, 2번째의 PlayItem #1에 속하는 Mark()의 인식이나, 도 30의 스텝 S125에서 설명한 바와 같이 하여, PlayItem #1에 의해 재생되는 클립 스트림 파일 "00002.PS"에 다중화되어 있는 각 속성의 엘리멘터리 스트림의 개수의 인식, 나아 가서는, 재생하는(재생 대상의) 엘리멘터리 스트림의 결정 등이 행하여진다. The player control module 212 also recognizes Mark () belonging to the second PlayItem # 1 as described in step S124 of FIG. 30, and as described in step S125 of FIG. 30, PlayItem # 1. Recognition of the number of elementary streams of each attribute multiplexed in the clip stream file " 00002.PS " to be reproduced by, and subsequently, determination of the elementary stream to be reproduced (to be reproduced) is performed.

그리고, 플레이어 제어 모듈(212)은, 도 30의 스텝 S127에서의 경우와 마찬가지의 처리를 행한다. And the player control module 212 performs the process similar to the case in step S127 of FIG.

즉, 플레이어 제어 모듈(212)은, 재생 개시 위치로서 결정한 EP_map()의 RPN_EP_start와, 재생 대상의 엘리멘터리 스트림이 다중화되어 있는 클립 스트림 파일의 파일명, 즉, 지금의 경우, 2번째의 PlayItem #1(도 25)의 Clip_Information_file_name에 기술된 "00002.CLP"에 대응하는 클립 스트림 파일 "00002.PS"의 파일명을, 콘텐츠 데이터 공급 모듈(213)에 대하여 부여한다. That is, the player control module 212 determines the file name of the RPN_EP_start of EP_map () determined as the playback start position and the clip stream file in which the elementary streams to be played are multiplexed, that is, the second PlayItem # in this case. The file name of the clip stream file "00002.PS" corresponding to "00002.CLP" described in Clip_Information_file_name in FIG. 1 (Fig. 25) is given to the content data supply module 213.

또한, 플레이어 제어 모듈(212)은, 재생 대상의 엘리멘터리 스트림이 다중화되어 있는 클립 스트림 파일 "00002.PS"에 저장된 프로그램 스트림의, 버퍼 제어 모듈(215)에의 공급이 개시되기 전에, 버퍼 제어 모듈(215)을 초기화한다. In addition, the player control module 212 controls the buffer before the program stream stored in the clip stream file "00002.PS" in which the elementary stream to be reproduced is multiplexed is supplied to the buffer control module 215. Initialize module 215.

즉, 이에 의해, 버퍼 제어 모듈(215)(도 3)에서, 데이터 선두 포인터 기억부(231)에 기억되는 데이터 선두 포인터, 데이터 써넣기 포인터 기억부(232)에 기억되는 데이터 써넣기 포인터, 비디오 읽어내기 포인터 기억부(241)에 기억되는 비디오 읽어내기 포인터, 오디오 읽어내기 포인터 기억부(251)에 기억되는 오디오 읽어내기 포인터, 자막 읽어내기 포인터 기억부(262)에 기억되는 자막 읽어내기 포인터에, 동일한 값이 대입된다. That is, in this way, in the buffer control module 215 (Fig. 3), the data head pointer stored in the data head pointer storage unit 231, the data write pointer stored in the data write pointer storage unit 232, and the video read out. The same as the video reading pointer stored in the pointer storage unit 241, the audio reading pointer stored in the audio reading pointer storage unit 251, and the subtitle reading pointer stored in the subtitle reading pointer storage unit 262. The value is assigned.

또한, 플레이어 제어 모듈(212)은, 재생 대상의 엘리멘터리 스트림을 식별하기 위한 식별 정보로서의 stream_id, 나아가서는, 필요에 따라서, private_stream_id를, 버퍼 제어 모듈(215)에 공급한다. The player control module 212 also supplies the buffer control module 215 with stream_id as identification information for identifying the elementary stream to be played back, and furthermore, private_stream_id as necessary.

버퍼 제어 모듈(215)(도 3)에서는, 비디오 읽어내기 기능부(233)가, 플레이어 제어 모듈(212)로부터의, 재생 대상의 엘리멘터리 스트림 중의 비디오 스트림에 대한 stream_id를, stream_id 레지스터(242)에 기억시킨다. 또한, 오디오 읽어내기 기능부(234)가, 플레이어 제어 모듈(212)로부터의, 재생 대상의 엘리멘터리 스트림 중의 오디오 스트림의 stream_id와 private_stream_id를, stream_id 레지스터(252)와 private_stream_id 레지스터(253)에, 각각 기억시킨다. In the buffer control module 215 (FIG. 3), the video reading function unit 233 stores the stream_id for the video stream in the elementary stream to be played back from the player control module 212 in the stream_id register 242. Remember). In addition, the audio reading function unit 234 sends the stream_id and the private_stream_id of the audio stream in the elementary stream to be played back from the player control module 212 into the stream_id register 252 and the private_stream_id register 253. Remember each.

또한, 지금 재생 대상으로 되어 있는 엘리멘터리 스트림이 다중화되어 있는 클립 스트림 파일 "00002.PS"에는, 자막 스트림이 포함되기 때문에, 플레이어 제어 모듈(212)로부터 자막 읽어내기 기능부(235)에는, 재생 대상의 엘리멘터리 스트림 중의 자막 스트림의 stream_id와 private_stream_id가 공급되고, 자막 읽어내기 기능부(235)는, 그 stream_id와 private_stream_id를, stream_id 레지스터(263)와 private_stream_id 레지스터(264)에, 각각 기억시킨다. In addition, since the subtitle stream is included in the clip stream file "00002.PS" in which the elementary stream to be played back is multiplexed, the subtitle reading function unit 235 from the player control module 212 is provided. The stream_id and private_stream_id of the subtitle stream in the elementary stream to be reproduced are supplied, and the subtitle reading function unit 235 stores the stream_id and the private_stream_id in the stream_id register 263 and the private_stream_id register 264, respectively. .

그리고, 플레이어 제어 모듈(212)은, 버퍼 제어 모듈(215)(도 3)의 초기화로서, 또한, 재생 대상의 엘리멘터리 스트림이 다중화되어 있는 클립 스트림 파일에 따른 값의 자막 읽어내기 기능 플래그를, 자막 읽어내기 기능 플래그 기억부(261)에 세트한다. Then, the player control module 212, as an initialization of the buffer control module 215 (FIG. 3), sets a caption reading function flag of a value corresponding to the clip stream file in which the elementary stream to be reproduced is multiplexed. The subtitle reading function flag storage unit 261 is set.

즉, 지금의 경우, 재생 대상의 엘리멘터리 스트림이 다중화되어 있는 클립 스트림 파일 "00002.PS"에는, 자막 스트림이 포함되기 때문에, 자막 읽어내기 기능부(235)를 기능시키기 위해, 값이 1인 자막 읽어내기 기능 플래그가, 자막 읽어내기 기능 플래그 기억부(261)에 세트된다. That is, in this case, since the subtitle stream is included in the clip stream file "00002.PS" in which the elementary streams to be reproduced are multiplexed, the value is 1 for the subtitle reading function unit 235 to function. The caption reading function flag is set in the caption reading function flag storage unit 261.

또한, 플레이어 제어 모듈(212)은, 재생하고자 하는 2번째의 PlayItem #1(도 25)의 IN_time인 90,000과, OUT_time인 27,090,000을, 디코드 제어 모듈(214)에 대하여 부여한다. In addition, the player control module 212 provides 90,000 which is IN_time and 27,090,000 which is OUT_time of the second PlayItem # 1 (FIG. 25) to be played back to the decoding control module 214.

또한, 플레이어 제어 모듈(212)은, 그래픽스 처리 모듈(219)에 대한 자막 스트림의 표시 방식의 지시를 초기화한다. 즉, 플레이어 제어 모듈(212)은, 자막 스트림의 표시 방식을 디폴트의 표시 방식으로 하도록, 그래픽스 처리 모듈(219)을 제어한다. In addition, the player control module 212 initializes an instruction of the display method of the subtitle stream to the graphics processing module 219. That is, the player control module 212 controls the graphics processing module 219 to make the display method of the subtitle stream the default display method.

또한, 재생 대상의 자막 스트림에 대하여, configurable_flag(도 12)가, 표시 방식의 변경을 허가하는 1로 되어 있는 경우에는, 플레이어 제어 모듈(212)로부터 그래픽스 처리 모듈(219)에 대한 자막 스트림의 표시 방식의 지시는, 현재의 표시 방식 그대로 하도록 해도 된다. In addition, when configurable_flag (FIG. 12) is set to 1 to allow the display system to be changed, the subtitle stream is displayed from the player control module 212 to the graphics processing module 219 with respect to the subtitle stream to be played. The instruction of the method may be left as it is.

이하, 2번째의 PlayItem #1의 재생은, 1번째의 PlayItem #0의 재생과 마찬가지로 하여 행하여져 간다. 그리고, 디코드 제어 모듈(214)은, 그 2번째의 PlayItem #1의 재생이 행하여지고 있는 동안, 내장하는 계시부(214A)가 계시하고 있는 시각을 계속하여 확인하고 있고, 계시부(214A)가 계시하고 있는 시각이, 스텝 S152(도 31)에서 플레이어 제어 모듈(212)로부터 공급된 2번째의 PlayItem #1의 OUT_time인 27,090,000(도 25)과 동일하게 되면, 스텝 S151에서의 경우와 마찬가지의 디코드 중단 제어를 행하고, PlayItem #1의 재생을 종료한다. In the following, playback of the second PlayItem # 1 is performed in the same manner as playback of the first PlayItem # 0. The decoding control module 214 continuously checks the time indicated by the built-in timekeeping section 214A while the second PlayItem # 1 is being played, and the timekeeping section 214A reveals. If the present time is equal to 27,090,000 (FIG. 25) which is OUT_time of the second PlayItem # 1 supplied from the player control module 212 in step S152 (FIG. 31), the same decoding stop control as in the case of step S151 is performed. And playback of PlayItem # 1 is terminated.

[타임 코드의 표시][Display of time code]

다음으로, 상술한 바와 같이, 도 30의 스텝 S123에서, 타임 코드의 표시가 개시되지만, 이 타임 코드의 표시는, 순차적으로 갱신되어 간다. Next, as described above, the display of the time code is started in step S123 of FIG. 30, but the display of the time code is sequentially updated.

따라서, 도 32의 플로우차트를 참조하여, 타임 코드의 표시의 처리에 대하여 설명한다. Therefore, with reference to the flowchart of FIG. 32, the process of display of a time code is demonstrated.

디코드 제어 모듈(214)(도 2)은, 그 내장하는 계시부(214A)에 의해 1초가 계시되면, 스텝 S171에서, 1초가 경과하였다는 취지의 메시지와 함께, 그 계시부(214A)에 의해 계시되어 있는 현재 시각을, 플레이어 제어 모듈(212)에 공급하고, 스텝 S172로 진행한다. 스텝 S172에서는, 플레이어 제어 모듈(212)은, 디코드 제어 모듈(214)로부터의 메시지와 현재 시각을 수신하고, 그 현재 시각을, 타임 코드로 환산하여, 스텝 S173으로 진행한다. Decode control module 214 (FIG. 2) is shown by the time display part 214A with the message that 1 second has passed in step S171, when the 1 second time is shown by the built-in time display part 214A. The current time being present is supplied to the player control module 212, and the flow proceeds to step S172. In step S172, the player control module 212 receives the message and the current time from the decode control module 214, converts the current time into a time code, and proceeds to step S173.

스텝 S173에서는, 플레이어 제어 모듈(212)은, 스텝 S172에서 얻은 타임 코드를 표시하도록, 그래픽스 처리 모듈(219)을 제어하고, 스텝 S171로 되돌아간다. In step S173, the player control module 212 controls the graphics processing module 219 to display the time code obtained in step S172, and returns to step S171.

이에 의해, 타임 코드는, 1초마다 갱신된다. 또한, 타임 코드의 갱신의 간격은, 1초에 한정되는 것은 아니다. As a result, the time code is updated every second. The time code update interval is not limited to one second.

[스트림 절환][Stream switching]

다음으로, 도 25에서 설명한 1번째의 PlayList #0을 구성하는 1번째의 PlayItem #0에 의해 재생되는 클립 스트림 파일 "00001.PS"나, 2번째의 PlayItem #1에 의해 재생되는 클립 스트림 파일 "00002.PS"에는, 도 26에서 설명한 바와 같이, 2개의 자막 스트림이 다중화되어 있다. Next, the clip stream file "00001.PS" played by the first PlayItem # 0 constituting the first PlayList # 0 described in FIG. 25 or the clip stream file played by the second PlayItem # 1 " In 00002.PS ", as described with reference to FIG. 26, two subtitle streams are multiplexed.

이와 같이, 클립 스트림 파일에, 복수의, 동일한 속성의 엘리멘터리 스트림이 다중화되어 있는 경우에서는, 재생 대상의 엘리멘터리 스트림을, 그 복수의, 동 일한 속성의 엘리멘터리 스트림 중의 하나로부터, 다른 1개로 절환하는 스트림 절환을 행할 수 있다. As described above, when a plurality of elementary streams having the same attribute are multiplexed in the clip stream file, the elementary stream to be played is selected from one of the plurality of elementary streams having the same attribute. The stream switching to another one can be performed.

따라서, 도 33의 플로우차트를 참조하여, 스트림 절환의 처리에 대하여 설명한다. Therefore, the process of stream switching is demonstrated with reference to the flowchart of FIG.

스트림 절환의 요구는, 예를 들면, "SCRIPT.DAT" 파일(도 4)에, 스트림 절환의 지시가 스크립트 프로그램으로서 기술되어 있는 경우에, 스크립트 제어 모듈(211)이, 그 스크립트 프로그램을 실행함으로써, 혹은, 유저가 리모콘을 조작함으로써, 플레이어 제어 모듈(212)에 부여된다. The stream switching request is, for example, when the instruction for stream switching is described as a script program in the "SCRIPT.DAT" file (FIG. 4), the script control module 211 executes the script program. Or, it is given to the player control module 212 by a user operating a remote control.

즉, 스크립트 제어 모듈(211)은, 스트림 절환의 지시가 기술되어 있는 스크립트 프로그램을 실행하면, 스트림 절환을 요구하는 메시지를, 플레이어 제어 모듈(212)에 공급한다. 또한, 입력 인터페이스(115)는, 유저가 리모콘을 조작함으로써, 리모콘으로부터, 스트림 절환을 지시하는 신호를 수신하면, 스트림 절환을 요구하는 메시지를, 플레이어 제어 모듈(212)에 공급한다. That is, the script control module 211 supplies the player control module 212 with a message for requesting stream switching when the script program in which the instruction for stream switching is described is executed. The input interface 115 supplies the player control module 212 with a message for requesting stream switching when the user receives a signal for instructing stream switching from the remote controller by operating the remote controller.

예를 들면, 지금, 플레이어 제어 모듈(212)에 대하여, 자막 스트림의 절환을 요구하는 메시지인 자막 스트림 절환의 메시지가 공급된 것으로 하면, 플레이어 제어 모듈(212)은, 스텝 S191에서, 도 30의 스텝 S125에서 행하여진 재생 대상의 엘리멘터리 스트림의 결정 시에 인식한 자막 스트림의 개수를 체크한다. For example, suppose that the message for subtitle stream switching, which is a message for requesting the subtitle stream switching, is supplied to the player control module 212 at this time. The number of subtitle streams recognized at the time of determining the elementary stream to be reproduced performed in step S125 is checked.

플레이어 제어 모듈(212)은, 자막 스트림의 개수를 체크한 결과, 그 개수가 1개 이하인 경우, 자막 스트림 절환의 메시지를 무시하고, 따라서, 이후의 스텝 S192 내지 S194의 처리는 행하여지지 않는다. If the player control module 212 checks the number of subtitle streams, and if the number is one or less, the player control module 212 ignores the message of the subtitle stream switching, and therefore, subsequent steps S192 to S194 are not performed.

한편, 자막 스트림의 개수가 2개 이상인 경우, 스텝 S192 내지 S194로 순차적으로 진행하여, 재생하는 자막 스트림이, 현재 재생되고 있는 자막 스트림으로부터, 다른 자막 스트림으로 절환된다. On the other hand, when the number of subtitle streams is two or more, the flow proceeds to steps S192 to S194 sequentially, and the subtitle stream to be reproduced is switched from the currently reproduced subtitle stream to another subtitle stream.

즉, 스텝 S192에서, 플레이어 제어 모듈(212)은, 현재 재생 중인 자막 스트림을, 클립 정보 파일 상에서 특정한다. 구체적으로는, 예를 들면, 지금, 도 25에서 설명한 1번째의 PlayList #0을 구성하는 2번째의 PlayItem #1에 의해, 클립 스트림 파일 "00002.PS"에 다중화된, stream_id가 0xBD이고, private_stream_id가 0x80인 자막 스트림이 재생되고 있는 것으로 하면, 스텝 S192에서는, 현재 재생 중인 자막 스트림이, 클립 스트림 파일 "00002.PS"에 다중화된 2개의 자막 스트림 중의, 도 26의 클립 정보 파일 "00002.CLP" 상에서 3개째의 자막 스트림인 stream #2인 것이 특정된다. That is, in step S192, the player control module 212 specifies the subtitle stream currently being reproduced on the clip information file. Specifically, for example, the stream_id multiplexed into the clip stream file "00002.PS" by the second PlayItem # 1 constituting the first PlayList # 0 described in FIG. 25 is 0xBD, and the private_stream_id Assuming that a subtitle stream of which is 0x80 is being played back, in step S192, the clip information file "00002.CLP in FIG. 26 among two subtitle streams multiplexed into the clip stream file" 00002.PS "is currently played. It is specified that stream # 2 is the third subtitle stream on the screen.

그리고, 스텝 S193으로 진행하여, 플레이어 제어 모듈(212)은, 스텝 S192에서 특정한 자막 스트림의, 클립 정보 파일 상에서 다음의 자막 스트림을, 다음에 재생할 자막 스트림으로서 인식(특정)한다. 도 26에서는, 클립 정보 파일 "00002.CLP" 상에서, 3개째의 자막 스트림 stream #2의 다음의 자막 스트림은, 4개째의 자막 스트림 stream #3이기 때문에, 스텝 S193에서는, 이 4개째의 자막 스트림 stream #3이, 다음에 재생할 자막 스트림으로서 인식된다. The player control module 212 then recognizes (specifies) the next subtitle stream on the clip information file of the subtitle stream specified in step S192 as the next subtitle stream to be reproduced. In FIG. 26, since the next subtitle stream of the third subtitle stream stream # 2 is the fourth subtitle stream stream # 3 on the clip information file "00002.CLP", the fourth subtitle stream is determined in step S193. stream # 3 is recognized as the subtitle stream to be played next.

또한, 현재 재생 중인 자막 스트림이, 클립 스트림 파일 "00002.PS"에 다중화된 2개의 자막 스트림 중의, 도 26의 클립 정보 파일 "00002.CLP" 상에서 4개째의 자막 스트림인 stream #3인 것이 특정된 경우에는, 예를 들면, 3개째의 자막 스 트림 stream #2가, 다음에 재생할 자막 스트림으로서 인식된다. In addition, it is specified that the subtitle stream currently being played is stream # 3 which is the fourth subtitle stream on the clip information file "00002.CLP" in FIG. 26 among the two subtitle streams multiplexed in the clip stream file "00002.PS". In this case, for example, the third subtitle stream stream # 2 is recognized as the subtitle stream to be played next.

그 후, 스텝 S194로 진행하여, 플레이어 제어 모듈(212)은, 스텝 S193에서 인식한 다음에 재생할 자막 스트림의 stream_id와 private_stream_id를, 버퍼 제어 모듈(215)(도 3)의 자막 읽어내기 기능부(235)에 대하여 부여하고, 그 stream_id와 private_stream_id를, 다음 회로부터의, 자막 액세스 유닛의 버퍼(215A)로부터의 읽어내기로부터 사용하도록 지시한다. Subsequently, the process proceeds to step S194, where the player control module 212 determines the stream_id and private_stream_id of the subtitle stream to be reproduced after the recognition in step S193, and the subtitle reading function unit of the buffer control module 215 (Fig. 3). 235), and the stream_id and private_stream_id are instructed to be used from reading from the buffer 215A of the caption access unit from the next time.

버퍼 제어 모듈(215)(도 3)의 자막 읽어내기 기능부(235)에서는, 스텝 S194에서 플레이어 제어 모듈(212)로부터 부여되는 stream_id와 private_stream_id를, stream_id 레지스터(263)와 private_stream_id 레지스터(264)에, 각각 새롭게 세트하고, 다음회 이후의 버퍼(215A)로부터의 읽어내기는, 그 stream_id 레지스터(263)와 private_stream_id 레지스터(264)에 각각 새롭게 세트된 stream_id와 private_stream_id에 의해 특정되는 자막 액세스 유닛을 대상으로 하여 행하여진다. In the subtitle reading function unit 235 of the buffer control module 215 (FIG. 3), the stream_id and the private_stream_id given from the player control module 212 are transferred to the stream_id register 263 and the private_stream_id register 264 in step S194. The newly set and read from the buffer 215A after the next time are directed to the subtitle access unit specified by the stream_id and the private_stream_id newly set in the stream_id register 263 and the private_stream_id register 264, respectively. Is done.

이상과 같이 하여, 재생하는 자막 스트림이, 현재 재생되고 있는 자막 스트림으로부터, 다른 자막 스트림으로 절환된다. As described above, the subtitle stream to be played back is switched from the currently played subtitle stream to another subtitle stream.

[버퍼 제어 모듈(215)의 처리][Process of Buffer Control Module 215]

다음으로, 도 34 내지 도 38을 참조하여, 버퍼 제어 모듈(215)(도 3)의 처리, 즉, 버퍼(215A)에의 데이터의 기입과, 버퍼(215A)로부터의 데이터의 읽어내기에 대하여 설명한다. Next, with reference to FIGS. 34-38, the process of the buffer control module 215 (FIG. 3), ie, the writing of data to the buffer 215A and the reading of the data from the buffer 215A is demonstrated. do.

버퍼 제어 모듈(215)은, 도 3에서 설명한 바와 같이, 버퍼(215A)에 대한 데 이터의 판독 및 기입을 행하기 위한 5개의 포인터를 갖고 있다. The buffer control module 215 has five pointers for reading and writing data to and from the buffer 215A as described with reference to FIG. 3.

즉, 도 34 및 도 35에 도시한 바와 같이 버퍼 제어 모듈(215)은, 데이터 선두 포인터 기억부(231)에 기억되는 데이터 선두 포인터, 데이터 써넣기 포인터 기억부(232)에 기억되는 데이터 써넣기 포인터, 비디오 읽어내기 포인터 기억부(241)에 기억되는 비디오 읽어내기 포인터, 오디오 읽어내기 포인터 기억부(251)에 기억되는 오디오 읽어내기 포인터, 및 자막 읽어내기 포인터 기억부(262)에 기억되는 자막 읽어내기 포인터를 갖고 있다. That is, as shown in Figs. 34 and 35, the buffer control module 215 includes a data head pointer stored in the data head pointer storage unit 231, a data write pointer stored in the data write pointer storage unit 232, Video reading pointer stored in the video reading pointer storage unit 241, Audio reading pointer stored in the audio reading pointer storage unit 251, and subtitle reading stored in the subtitle reading pointer storage unit 262. Has a pointer

또한, 도 34 및 도 35에서는, 도 3에서의 비디오 읽어내기 기능부(233)의 stream_id 레지스터(242) 및 au_information() 레지스터(243), 오디오 읽어내기 기능부(234)의 stream_id 레지스터(252) 및 private_stream_id 레지스터(253), 및 자막 읽어내기 기능부(235)의 자막 읽어내기 기능 플래그 기억부(261), stream_id 레지스터(263), 및 private_stream_id 레지스터(264)의 도시는, 생략하고 있다. 34 and 35, the stream_id register 242 and au_information () register 243 of the video read function unit 233 and the stream_id register 252 of the audio read function unit 234 in FIG. The illustration of the private_stream_id register 253 and the subtitle read function flag storage 261, the stream_id register 263, and the private_stream_id register 264 of the subtitle read function unit 235 are omitted.

데이터 선두 포인터 기억부(231)에 기억된 데이터 선두 포인터는, 버퍼(215A)에 남는 가장 오래된 데이터(읽어낼 필요가 있는 데이터로서, 아직 읽어내어져 있지 않은 데이터 중의 가장 오래된 데이터)의 위치를 나타낸다. 데이터 써넣기 포인터 기억부(232)에 기억된 데이터 써넣기 포인터는, 버퍼(215A)에의 데이터의 기입의 위치를 나타내며, 이 위치는, 버퍼(215A)에서 가장 새로운 데이터가 기입되는 위치이다. The data head pointer stored in the data head pointer storage unit 231 indicates the position of the oldest data (the data that needs to be read and the oldest data among the data not yet read) remaining in the buffer 215A. . The data write pointer stored in the data write pointer storage unit 232 indicates a position of writing data into the buffer 215A, and this position is a position where the newest data is written in the buffer 215A.

비디오 읽어내기 포인터 기억부(241)에 기억된 비디오 읽어내기 포인터는, 버퍼(215A)로부터 읽어내는 비디오 스트림의 위치를 나타낸다. 또한, 오디오 읽어 내기 포인터 기억부(251)에 기억된 오디오 읽어내기 포인터는, 버퍼(215A)로부터 읽어내는 오디오 스트림의 위치를 나타내며, 자막 읽어내기 포인터 기억부(262)에 기억된 자막 읽어내기 포인터는, 버퍼(215A)로부터 읽어내는 자막 스트림의 위치를 나타낸다. The video read pointer stored in the video read pointer storage unit 241 indicates the position of the video stream read from the buffer 215A. The audio read pointer stored in the audio read pointer storage unit 251 indicates the position of the audio stream read from the buffer 215A, and the subtitle read pointer stored in the subtitle read pointer storage unit 262. Indicates the position of the subtitle stream read from the buffer 215A.

또한, 도 3에서 설명한 바와 같이, 데이터 선두 포인터, 데이터 써넣기 포인터, 비디오 읽어내기 포인터, 오디오 읽어내기 포인터, 및 자막 읽어내기 포인터는, 모두, 버퍼(215A)를 우측 방향으로 이동한다. As described with reference to Fig. 3, the data head pointer, data write pointer, video read pointer, audio read pointer, and subtitle read pointer all move the buffer 215A in the right direction.

또한, 본 실시 형태에서는, 데이터 선두 포인터는, 도 35에 도시하는 바와 같이, 비디오 읽어내기 포인터, 오디오 읽어내기 포인터, 또는 자막 읽어내기 포인터 중의, 가장 오래된 데이터의 위치를 가리키고 있는 것과 동일한 위치를 가리키도록, 항상 갱신되는 것으로 한다. 여기서, 도 35에서는, 비디오 읽어내기 포인터, 오디오 읽어내기 포인터, 또는 자막 읽어내기 포인터 중의, 오디오 읽어내기 포인터가, 가장 오래된 데이터의 위치를 가리키고 있고, 데이터 선두 포인터는, 그 오디오 읽어내기 포인터와 일치하고 있다. In addition, in this embodiment, as shown in FIG. 35, the data head pointer points to the same position as that indicating the position of the oldest data in the video read pointer, the audio read pointer, or the subtitle read pointer. It should always be updated to increase. In FIG. 35, the audio read pointer in the video read pointer, the audio read pointer, or the subtitle read pointer points to the position of the oldest data, and the data head pointer coincides with the audio read pointer. Doing.

이상과 같은 데이터 선두 포인터, 데이터 써넣기 포인터, 비디오 읽어내기 포인터, 오디오 읽어내기 포인터, 및 자막 읽어내기 포인터를 갖는 버퍼 제어 모듈(215)에서는, 데이터 써넣기 포인터는, 디스크(101)로부터 새로운 데이터가 읽어내지고, 버퍼(215A)에 기입되면, 그 기입된 새로운 데이터의 직후의 위치를 가리키도록, 우측 방향으로 갱신된다. In the buffer control module 215 having the data head pointer, data write pointer, video read pointer, audio read pointer, and subtitle read pointer as described above, the data write pointer reads new data from the disc 101. When the data is written to the buffer 215A, it is updated in the right direction to point to the position immediately after the written new data.

또한, 비디오 읽어내기 포인터, 오디오 읽어내기 포인터, 또는 자막 읽어내 기 포인터는, 버퍼(215A)로부터, 비디오 스트림, 오디오 스트림, 또는 자막 스트림이 읽어내지면, 그 읽어내기량에 따른 분만큼, 각각, 우측 방향으로 갱신된다. 여기서 읽어내기량에 따른 분이란, 실제로 읽어낸 비디오, 오디오, 자막의 데이터에 대응하는 부분과, 읽어낸 데이터 사이에 포함되어 있고, 읽어내기 시에는 띄엄뛰엄 읽기를 행한, 다른 스트림의 데이터의 부분을 합한 것으로 된다. In addition, the video read pointer, the audio read pointer, or the subtitle read pointer may be read from the buffer 215A by the amount corresponding to the read amount when the video stream, the audio stream, or the subtitle stream is read. , Is updated in the right direction. Here, the amount according to the reading amount is the part corresponding to the data of the video, audio, and subtitles actually read, and the part of the data of another stream which is included in the read data at the time of reading. It is summed.

또한, 데이터 선두 포인터는, 비디오 읽어내기 포인터, 오디오 읽어내기 포인터, 또는 자막 읽어내기 포인터가 갱신되면, 그 비디오 읽어내기 포인터, 오디오 읽어내기 포인터, 또는 자막 읽어내기 포인터 중의, 가장 오래된 데이터의 위치를 가리키고 있는 것과 동일한 위치를 가리키도록 갱신된다. Also, the data head pointer indicates the position of the oldest data in the video read pointer, the audio read pointer, or the subtitle read pointer when the video read pointer, the audio read pointer, or the subtitle read pointer is updated. It will be updated to point to the same location you are pointing to.

여기서, 버퍼 제어 모듈(215)은, 버퍼(215A)에의 데이터의 기입에 대해서는, 데이터 써넣기 포인터가 데이터 선두 포인터를 추월하지 않도록, 버퍼(215A)에의 데이터의 기입을 제어한다. Here, the buffer control module 215 controls the writing of the data into the buffer 215A so that the data writing pointer does not overtake the data head pointer with respect to the writing of the data into the buffer 215A.

즉, 데이터 써넣기 포인터에 의한 데이터 선두 포인터의 추월이 발생하지 않는 한, 버퍼 제어 모듈(215)에서는, 디스크(101)로부터 읽어내어진 데이터가, 데이터 써넣기 포인터가 가리키는 버퍼(215A)의 위치에 기입되고, 데이터 써넣기 포인터가 갱신되어 간다. 한편, 데이터 써넣기 포인터에 의한 데이터 선두 포인터의 추월이 발생할 것 같이 되면, 버퍼 제어 모듈(215)에서는, 콘텐츠 데이터 공급 모듈(213)에 대하여, 디스크(101)로부터의 데이터의 읽어내기의 정지(중단)가 요구되고, 또한, 버퍼(215A)에의 데이터의 기입이 정지된다. 이에 의해, 버퍼(215A)의 오버플로우를 방지할 수 있다. That is, unless the overtaking of the data head pointer by the data write pointer occurs, the buffer control module 215 writes the data read from the disk 101 to the position of the buffer 215A indicated by the data write pointer. The data write pointer is updated. On the other hand, when overtaking of the data head pointer by the data write pointer is likely to occur, the buffer control module 215 stops reading of data from the disk 101 with respect to the content data supply module 213 (stopping). ), And writing of data to the buffer 215A is stopped. As a result, overflow of the buffer 215A can be prevented.

이상과 같이, 디스크(101)로부터 읽어내어진 데이터의, 버퍼(215A)에의 기입은, 데이터 선두 포인터와 데이터 써넣기 포인터의 2개의 포인터의 위치 관계만으로 제어된다. As described above, the writing of the data read out from the disk 101 into the buffer 215A is controlled only by the positional relationship between the two pointers of the data head pointer and the data writing pointer.

한편, 버퍼 제어 모듈(215)은, 버퍼(215A)로부터의 데이터의 읽어내기에 대해서는, 비디오 읽어내기 포인터, 오디오 읽어내기 포인터, 및 자막 읽어내기 포인터, 나아가서는, 데이터 선두 포인터가, 데이터 써넣기 포인터를 추월하지 않도록, 버퍼(215A)로부터의 데이터의 읽어내기를 제어한다. On the other hand, the buffer control module 215 reads data from the buffer 215A, and includes a video read pointer, an audio read pointer, a subtitle read pointer, and a data head pointer. The reading of data from the buffer 215A is controlled so as not to overtake.

즉, 비디오 읽어내기 포인터, 오디오 읽어내기 포인터, 또는 자막 읽어내기 포인터에 의한 데이터 써넣기 포인터의 추월이 발생하지 않는 한, 버퍼 제어 모듈(215)에서는, 비디오 디코더 제어 모듈(216), 오디오 디코더 제어 모듈(217), 또는 자막 디코더 제어 모듈(218)로부터의 요구에 따라서, 비디오 읽어내기 포인터, 오디오 읽어내기 포인터, 또는 자막 읽어내기 포인터가 가리키는 버퍼(215A)의 위치로부터 데이터가 읽어내지고, 비디오 읽어내기 포인터, 오디오 읽어내기 포인터, 또는 자막 읽어내기 포인터가 갱신됨과 함께, 필요에 따라서, 데이터 선두 포인터가 갱신된다. 한편, 비디오 읽어내기 포인터, 오디오 읽어내기 포인터, 또는 자막 읽어내기 포인터에 의한 데이터 써넣기 포인터의 추월이 발생할 것 같이 되면, 버퍼 제어 모듈(215)에서는, 비디오 디코더 제어 모듈(216), 오디오 디코더 제어 모듈(217), 또는 자막 디코더 제어 모듈(218)로부터의 요구가, 예를 들면 동결되고, 충분한 데이터가 준비될 때까지 대기하게 된다. 이에 의해, 버퍼(215A)의 언더플로우를 방지할 수 있다. That is, as long as overtaking of the data write pointer by the video read pointer, the audio read pointer, or the subtitle read pointer does not occur, the buffer control module 215 uses the video decoder control module 216 and the audio decoder control module. 217, or in response to a request from the subtitle decoder control module 218, data is read from the position of the buffer 215A indicated by the video read pointer, the audio read pointer, or the subtitle read pointer to read the video. The bet pointer, the audio read pointer, or the subtitle read pointer are updated, and the data head pointer is updated as necessary. On the other hand, if overtaking of the data read pointer by the video read pointer, the audio read pointer, or the subtitle read pointer is likely to occur, the buffer control module 215 may use the video decoder control module 216 and the audio decoder control module. 217, or the request from the subtitle decoder control module 218 is frozen, for example, and waits until sufficient data is ready. Thereby, underflow of the buffer 215A can be prevented.

이상으로부터, 버퍼(215A)에는, 데이터 선두 포인터가 가리키는 위치로부터, 우측 방향으로, 데이터 써넣기 포인터가 가리키는 위치까지의 범위(도 34 및 도 35에서 음영을 넣고 있는 부분)에, 비디오 디코더 제어 모듈(216), 오디오 디코더 제어 모듈(217), 및 자막 디코더 제어 모듈(218)에 공급할 데이터가 기억되어 있고, 또한, 그 범위 내에, 비디오 읽어내기 포인터, 오디오 읽어내기 포인터, 및 자막 읽어내기 포인터는 존재한다. As described above, the buffer 215A includes a video decoder control module (in the range from the position indicated by the data head pointer to the position indicated by the data write pointer in the right direction (parts shaded in FIGS. 34 and 35). 216, the data to be supplied to the audio decoder control module 217, and the subtitle decoder control module 218 are stored, and a video read pointer, an audio read pointer, and a subtitle read pointer exist within the range. do.

또한, 상술한 경우에는, 데이터 선두 포인터는, 비디오 읽어내기 포인터, 오디오 읽어내기 포인터, 또는 자막 읽어내기 포인터가 가리키고 있는 위치 중의, 가장 오래된 데이터의 위치를 가리키도록 갱신하는 것으로 하였지만, 그 밖에, 데이터 선두 포인터의 갱신은, 예를 들면, 그 가장 오래된 데이터의 위치로부터, 소정의 시간(예를 들면, 1초)만큼 과거의 데이터의 위치를 가리키도록 행하는 것이 가능하다. In the above-described case, the data head pointer is updated so as to indicate the position of the oldest data among the positions indicated by the video read pointer, the audio read pointer, or the subtitle read pointer. The update of the data head pointer can be performed so as to point to the past data position for a predetermined time (for example, 1 second) from the position of the oldest data, for example.

즉, 일반적으로는, 비디오 읽어내기 포인터, 오디오 읽어내기 포인터, 또는 자막 읽어내기 포인터 중의, 비디오 읽어내기 포인터나 오디오 읽어내기 포인터가, 가장 오래된 데이터의 위치를 가리키는 일이 많다고 예상된다. That is, in general, it is expected that the video read pointer and the audio read pointer in the video read pointer, the audio read pointer, or the subtitle read pointer often point to the position of the oldest data.

따라서, 데이터 선두 포인터를, 비디오 읽어내기 포인터 또는 오디오 읽어내기 포인터가 가리키는 가장 오래된 데이터의 위치로부터, 예를 들면, 1초분만큼 과거의 데이터의 위치를 가리키도록 갱신한 경우, 도 34에 도시하는 바와 같이, 비디오 읽어내기 포인터 또는 오디오 읽어내기 포인터가 가리키는 가장 오래된 데이터의 위치로부터 과거 1초분의 데이터를, 버퍼(215A)에 남겨 둘 수 있다. 여기서, 도 34에서는, 오디오 읽어내기 포인터가, 가장 오래된 데이터의 위치를 가리키고 있고, 데이터 선두 포인터는, 그 위치로부터 1초분만큼 과거의 데이터의 위치를 가리키고 있다. Therefore, when the data head pointer is updated from the position of the oldest data indicated by the video read pointer or the audio read pointer to point to the past data position for one second, for example, as shown in FIG. As described above, data of the past 1 second can be left in the buffer 215A from the position of the oldest data pointed to by the video read pointer or the audio read pointer. In FIG. 34, the audio read pointer points to the position of the oldest data, and the data head pointer points to the position of the past data for one second from the position.

이상과 같이, 1초분만큼 과거의 데이터의 위치를 가리키도록, 데이터 선두 포인터를 갱신함으로써, 디스크 장치의 응답성을 향상시킬 수 있다. As described above, the responsiveness of the disk apparatus can be improved by updating the data head pointer so as to point to the past data position for one second.

즉, 도 35에 도시한 바와 같이, 오디오 읽어내기 포인터가 가리키고 있는 가장 오래된 데이터의 위치를 가리키도록, 데이터 선두 포인터를 갱신하는 경우에는, 예를 들면, 리버스 방향으로의 특수 재생이 지시되었을 때에, 버퍼(215A)로부터의 읽어내기가 종료한 데이터를, 디스크(101)로부터 다시 읽어낼 필요가 있기 때문에, 특수 재생이 지시되고 나서, 그 특수 재생이 가능하게 될 때까지, 어느 정도의 시간이 걸린다. That is, as shown in Fig. 35, when updating the data head pointer to point to the position of the oldest data pointed to by the audio read pointer, for example, when special playback in the reverse direction is instructed, Since the data which has finished reading from the buffer 215A needs to be read back from the disc 101, a certain amount of time is elapsed until the special playback is instructed after the special playback is instructed. Takes

이에 대하여, 도 34에 도시한 바와 같이, 오디오 읽어내기 포인터가 가리키고 있는 가장 오래된 데이터의 위치로부터 1초분만큼 과거의 데이터의 위치를 가리키도록, 데이터 선두 포인터를 갱신하는 경우에는, 리버스 방향으로의 특수 재생이 지시되었을 때에, 그 특수 재생을 개시하는 데에 필요한 데이터가, 버퍼(215A)에 기억되어 있는 1초분만큼 과거의 데이터이면, 상술한 바와 같은 디스크(101)로부터의 데이터의 재읽어내기를 행하지 않고, 즉석에서, 특수 재생을 개시하는 것이 가능하게 된다. On the other hand, as shown in Fig. 34, in the case of updating the data head pointer to point to the past data position by one second from the position of the oldest data pointed to by the audio read pointer, the direction in the reverse direction is changed. When the special reproduction is instructed, if the data necessary for starting the special reproduction is past data for one second stored in the buffer 215A, the data from the disk 101 as described above is reread. It is possible to start the special reproduction on the fly without performing.

또한, 오디오 읽어내기 포인터가 가리키고 있는 가장 오래된 데이터의 위치로부터 1초분만큼 과거의 데이터의 위치를 가리키도록, 데이터 선두 포인터를 갱신 하는 경우라도, 특수 재생을 개시하는 데에 필요한 데이터가, 버퍼(215A)에 기억되어 있지 않는 경우가 있을 수 있다. 이 경우에는, 특수 재생을 개시하는 데에 필요한 데이터가, 디스크(101)로부터 다시 읽어내어진다. Also, even when the data head pointer is updated so that the data read pointer is pointed to the past data position by one second from the position of the oldest data pointed to by the audio read pointer, the data necessary for starting the special playback is stored in the buffer ( It may not be stored in 215A). In this case, the data necessary for starting the special playback is read back from the disc 101.

다음으로, 버퍼(215A)로부터의 비디오 스트림, 오디오 스트림, 자막 스트림 각각의 읽어내기의 상세에 대하여 설명한다. Next, details of reading the video stream, the audio stream, and the subtitle stream from the buffer 215A will be described.

도 30의 스텝 S127에서 설명한 바와 같이, 클립 스트림 파일의 재생이 개시될 때에, 버퍼 제어 모듈(215)에서는, 데이터 선두 포인터, 데이터 써넣기 포인터, 비디오 읽어내기 포인터, 오디오 읽어내기 포인터, 자막 읽어내기 포인터가, 모두, 버퍼(215A) 상의 동일한 위치를 가리키도록 초기화된다. As described in step S127 of FIG. 30, when the reproduction of the clip stream file is started, the buffer control module 215 uses the data head pointer, the data writing pointer, the video reading pointer, the audio reading pointer, and the subtitle reading pointer. Are all initialized to point to the same location on the buffer 215A.

그리고, 디스크(101)로부터 클립 스트림 파일에 저장된 프로그램 스트림(MPEG2-System Program Stream)이 읽어내지고, 버퍼 제어 모듈(215)에 공급되면, 버퍼 제어 모듈(215)에서는, 그 프로그램 스트림이, 버퍼(215A)의 데이터 써넣기 포인터가 가리키는 위치에 기억됨과 함께, 데이터 써넣기 포인터가, 우측 방향으로 갱신되어 간다. When the program stream (MPEG2-System Program Stream) stored in the clip stream file is read from the disk 101 and supplied to the buffer control module 215, the buffer control module 215 buffers the program stream. In addition to being stored at the position indicated by the data write pointer at 215A, the data write pointer is updated in the right direction.

또한, 버퍼 제어 모듈(215)(도 3)에서는, 비디오 읽어내기 기능부(233)가, 버퍼(215A)에 기억된 프로그램 스트림의 구문 해석을 행하고, 비디오 디코더 제어 모듈(216)로부터의 요구에 따라서, 버퍼(215A)에 기억된 프로그램 스트림으로부터, 비디오 스트림(비디오 액세스 유닛)을 추출(분리)하여 읽어내고, 비디오 디코더 제어 모듈(216)에 공급한다. In addition, in the buffer control module 215 (FIG. 3), the video reading function unit 233 parses the program stream stored in the buffer 215A to respond to the request from the video decoder control module 216. Therefore, the video stream (video access unit) is extracted (separated) from the program stream stored in the buffer 215A, read out, and supplied to the video decoder control module 216.

마찬가지로, 오디오 읽어내기 기능부(234)도, 버퍼(215A)에 기억된 프로그램 스트림의 구문 해석을 행하고, 오디오 디코더 제어 모듈(217)로부터의 요구에 따라서, 버퍼(215A)에 기억된 프로그램 스트림으로부터, 오디오 스트림(오디오 액세스 유닛)을 추출하여 읽어내고, 오디오 디코더 제어 모듈(217)에 공급한다. 자막 읽어내기 기능부(235)도, 버퍼(215A)에 기억된 프로그램 스트림의 구문 해석을 행하고, 자막 디코더 제어 모듈(218)로부터의 요구에 따라서, 버퍼(215A)에 기억된 프로그램 스트림으로부터, 자막 스트림(자막 액세스 유닛)을 추출하여 읽어내고, 자막 디코더 제어 모듈(218)에 공급한다. Similarly, the audio reading function unit 234 also parses the program stream stored in the buffer 215A and, from the program stream stored in the buffer 215A, in response to a request from the audio decoder control module 217. The audio stream (audio access unit) is extracted, read out, and supplied to the audio decoder control module 217. The subtitle reading function unit 235 also parses the program stream stored in the buffer 215A, and subtitles from the program stream stored in the buffer 215A in response to a request from the subtitle decoder control module 218. FIG. The stream (subtitle access unit) is extracted, read out, and supplied to the subtitle decoder control module 218.

「비디오 스트림의 읽어내기」Read Video Stream

다음으로, 도 36의 플로우차트를 참조하여, 비디오 읽어내기 기능부(233)(도 3)에 의한, 버퍼(215A)로부터의 비디오 스트림의 읽어내기 처리의 상세에 대하여 설명한다. Next, with reference to the flowchart of FIG. 36, the detail of the reading process of the video stream from the buffer 215A by the video reading function part 233 (FIG. 3) is demonstrated.

비디오 읽어내기 기능부(233)는, 우선 최초로, 스텝 S211에서, 버퍼(215A)에 기억된 프로그램 스트림 중의 private_stream_2의 PES_packet()를 탐색하여 찾아낸다. 즉, private_stream_2의 PES_packet()의 stream_id는, 도 20에서 설명한 바와 같이, 10111111B(=0xBF)이며, 비디오 읽어내기 기능부(233)는, stream_id가 10111111B로 되어 있는 PES_packet()를 탐색하여 찾아낸다. First, in step S211, the video reading function unit 233 searches and finds PES_packet () of private_stream_2 in the program stream stored in the buffer 215A. That is, the stream_id of PES_packet () of private_stream_2 is 10111111B (= 0xBF), as described in FIG. 20, and the video reading function unit 233 searches for and finds PES_packet () having stream_id of 10111111B.

여기서, 예를 들면, 지금, 상술한 바와 같이, 클립 스트림 파일 "00001.PS"에 저장된 프로그램 스트림에 다중화된 엘리멘터리 스트림이, 재생 대상의 엘리멘터리 스트림인 것으로 하면, 그 프로그램 스트림을 디스크(101)로부터 읽어내고, 버퍼(215A)에 기억시킬 때에, 도 30의 스텝 S122에서, 클립 스트림 파일 "00001.PS"의 EP_map()(도 27)에 기술된 디코드 개시 가능점의 정보로부터, 305섹터가 재생 개시 위치로서 결정되며, 또한, 도 30의 스텝 S128에서, 재생 개시 위치인 305섹터가 지정되고, 오퍼레이팅 시스템(201)에 대하여, 클립 스트림 파일 "00001.PS"에 저장된 프로그램 스트림의 읽어내기가 요구된다. Here, for example, as described above, if the elementary stream multiplexed to the program stream stored in the clip stream file "00001.PS" is an elementary stream to be reproduced, the program stream is disc. When reading from 101 and storing in the buffer 215A, in step S122 of FIG. 30, from the information of the decoding start point described in EP_map () (FIG. 27) of the clip stream file "00001.PS", Sector 305 is determined as the playback start position, and in step S128 of FIG. 30, the sector 305 which is the playback start position is designated, and for the operating system 201, of the program stream stored in the clip stream file "00001.PS" Read is required.

또한, 비디오 스트림에 대해서는, EP_map()에 기술된 디코드 개시 가능점의 정보는, 실제의 디코드 개시 가능점의 직전에 배치된 private_stream_2의 PES_packet()의 위치를 나타낸다. In addition, with respect to the video stream, the information of the decode start point described in EP_map () indicates the position of PES_packet () of private_stream_2 disposed immediately before the actual decode start point.

따라서, 클립 스트림 파일 "00001.PS"에 저장된 프로그램 스트림이 디스크(101)로부터 읽어내지고, 버퍼(215A)에 기억된 직후에서는, 데이터 선두 포인터나 비디오 읽어내기 포인터가 가리키는 버퍼(215A)의 위치에는, private_stream_2의 PES_packet()이 기억되어 있다. Therefore, immediately after the program stream stored in the clip stream file "00001.PS" is read from the disk 101 and stored in the buffer 215A, the position of the buffer 215A indicated by the data head pointer or the video read pointer is indicated. PES_packet () of private_stream_2 is stored in the table.

비디오 읽어내기 기능부(233)는, 스텝 S211에서, private_stream_2의 PES_packet()이 발견되면, 스텝 S212로 진행하여, 그 private_stream_2의 PES_packet()의 PES_packet_data_byte인 private_stream2_PES_payload()(도 23)에 기술되어 있는 video_stream_id를 추출하고, 그 video_stream_id가, 도 30의 스텝 S127에서 stream_id 레지스터(242)(도 3)에 기억된, 재생 대상의 비디오 스트림의 stream_id와 일치하는지의 여부를 판정한다. If the PES_packet () of private_stream_2 is found in step S211, the video reading function unit 233 proceeds to step S212, and the video_stream_id described in private_stream2_PES_payload () (Fig. 23) which is PES_packet_data_byte of PES_packet () of the private_stream_2. Is extracted, and it is determined whether or not the video_stream_id matches the stream_id of the video stream to be played back, which is stored in the stream_id register 242 (FIG. 3) in step S127 of FIG.

스텝 S212에서, private_stream2_PES_payload()에 기술되어 있는 video_stream_id가, stream_id 레지스터(242)에 기억된 stream_id와 일치하지 않는다고 판정된 경우, 즉, 직전의 스텝 S211에서 발견된 private_stream_2의 PES_packet()이, 재생 대상의 비디오 스트림의 디코드 개시점에 배치된 것이 아닌 경우, 스텝 S211로 되돌아가서, 버퍼(215A)에 기억된 프로그램 스트림 중의 다른 private_stream_2의 PES_packet()의 탐색이 행하여지고, 이하, 마찬가지의 처리가 반복된다. In step S212, when it is determined that the video_stream_id described in private_stream2_PES_payload () does not match the stream_id stored in the stream_id register 242, that is, PES_packet () of private_stream_2 found in the previous step S211 is the target of the playback target. If it is not arranged at the decoding start point of the video stream, the flow returns to step S211 to search for PES_packet () of another private_stream_2 in the program stream stored in the buffer 215A, and the same process is repeated below.

한편, 스텝 S212에서, private_stream2_PES_payload()에 기술되어 있는 video_stream_id가, stream_id 레지스터(242)에 기억된 stream_id와 일치한다고 판정된 경우, 즉, 직전의 스텝 S211에서 발견된 private_stream_2의 PES_packet()이, 재생 대상의 비디오 스트림의 디코드 개시점에 배치된 것인 경우, 스텝 S213으로 진행하여, 비디오 읽어내기 기능부(233)는, 그 private_stream_2의 PES_packet()의 private_stream2_PES_payload()에 기술되어 있는 au_information()을, 버퍼(215A)로부터 읽어내고, au_information() 레지스터(243)(도 3)에 기억시키고, 스텝 S214로 진행한다. On the other hand, when it is determined in step S212 that the video_stream_id described in private_stream2_PES_payload () matches the stream_id stored in the stream_id register 242, that is, PES_packet () of private_stream_2 found in the previous step S211 is the playback target. If the video stream is located at the decoding start point of the video stream, the process proceeds to step S213 and the video reading function unit 233 buffers au_information () described in private_stream2_PES_payload () of PES_packet () of the private_stream_2. The data is read from 215A, stored in the au_information () register 243 (FIG. 3), and the flow proceeds to step S214.

스텝 S214에서는, 비디오 읽어내기 기능부(233)는, 직전의 스텝 S211에서 찾아낸 private_stream_2의 PES_packet()(video_stream_id(도 23)가, stream_id 레지스터(242)(도 3)에 기억된 stream_id와 일치하는 private_stream_2의 PES_packet())의 사이즈만큼, 비디오 읽어내기 포인터 기억부(231)에 기억된 비디오 읽어내기 포인터를 갱신한다. In step S214, the video reading function unit 233 reads the private_stream_2 whose PES_packet () (video_stream_id (FIG. 23) of the private_stream_2 found in the previous step S211 matches the stream_id stored in the stream_id register 242 (FIG. 3). The video read pointer stored in the video read pointer storage unit 231 is updated by the size of PES_packet ().

즉, 클립 스트림 파일에서는, private_stream_2의 PES_packet()의 직후에, 그 video_stream_id와 일치하는 stream_id의 비디오 스트림(PES_packet())이 배치되어 있고, 따라서, 스텝 S214에서는, 비디오 읽어내기 포인터는, 비디오 스트림의 실제의 디코드 개시 가능점의 위치를 가리키도록 갱신된다. That is, in the clip stream file, immediately after PES_packet () of private_stream_2, the video stream (PES_packet ()) of stream_id that matches the video_stream_id is disposed. Updated to point to the actual decode start point.

그 후, 스텝 S214로부터 S215로 진행하여, 비디오 읽어내기 기능부(233)는, 비디오 디코더 제어 모듈(216)로부터, 데이터의 요구가 있었는지의 여부를 판정하고, 없다고 판정한 경우, 스텝 S215로 되돌아가서, 마찬가지의 처리를 반복한다. After that, the process proceeds from step S214 to S215, and the video reading function unit 233 determines whether there is a request for data from the video decoder control module 216, and if it is determined that there is no request, proceeds to step S215. Returning, the same process is repeated.

또한, 스텝 S215에서, 비디오 디코더 제어 모듈(216)로부터, 데이터의 요구가 있었다고 판정된 경우, 스텝 S216으로 진행하여, 비디오 읽어내기 기능부(233)는, 비디오 읽어내기 포인터가 가리키고 있는 버퍼(215A)의 위치로부터의 프로그램 스트림의 구문 해석을 행하면서, au_information() 레지스터(243)에 기억된 au_information()의 AU_length에 기술된 바이트수의 데이터, 즉 1개의 비디오 액세스 유닛을, 버퍼(215A)로부터 읽어내고, 비디오 디코더 제어 모듈(216)에 공급함과 함께, 비디오 읽어내기 포인터를, 버퍼(215A)로부터 읽어낸 1개의 비디오 액세스 유닛의 사이즈 분만큼 갱신한다. In addition, in step S215, when it is determined that there is a request for data from the video decoder control module 216, the flow proceeds to step S216, where the video reading function unit 233 buffers 215A indicated by the video reading pointer. Parsing the program stream from the position of the &lt; RTI ID = 0.0 &gt;). &Lt; / RTI &gt; The data is read and supplied to the video decoder control module 216, and the video read pointer is updated by the size of one video access unit read from the buffer 215A.

즉, au_information()에는, 도 24에서 설명한 바와 같이, 그것을 포함하는 private_stream_2의 PES_packet()로부터, 다음의 private_stream_2의 PES_packet()까지의 사이에 포함되는 비디오 액세스 유닛(픽쳐)의 수를 나타내는 number_of_access_unit가 기술되어 있다. That is, in au_information (), as described with reference to FIG. 24, number_of_access_unit indicating the number of video access units (pictures) contained between PES_packet () of private_stream_2 including it to PES_packet () of next private_stream_2 is described. It is.

또한, au_information()에는, 도 24에서 설명한 바와 같이, 그 number_of_access_unit의 수만큼의 비디오 액세스 유닛 각각에 관한 정보로서의 pic_struct_copy, au_ref_flag, 및 AU_length가 기술되어 있다. In addition, as described with reference to FIG. 24, au_information () describes pic_struct_copy, au_ref_flag, and AU_length as information about each video access unit by the number of the number_of_access_unit.

au_information()에 number_of_access_unit의 수만큼 기술되어 있는 AU_length 각각은, 도 24에서 설명한 바와 같이, 그것을 포함하는 private_stream_2의 PES_packet()로부터, 다음의 private_stream_2의 PES_packet()까지의 사이에 포함되는, number_of_access_unit의 수의 비디오 액세스 유닛 각각의 사이즈를 나타내기 때문에, 비디오 읽어내기 기능부(233)는, 그 AU_length를 이용함으로써, 비디오 스트림의 구문 해석을 행하지 않고, 액세스 유닛의 잘라냄을 행할 수 있다. Each AU_length described in au_information () by the number of number_of_access_unit is, as described in FIG. 24, the number of number_of_access_unit contained between PES_packet () of the private_stream_2 including it and from PES_packet () of the next private_stream_2. Since the size of each of the video access units is shown, the video reading function unit 233 can cut the access unit without parsing the video stream by using the AU_length.

즉, 종래, MPEG2-Video나 MPEG4-AVC의 액세스 유닛을 잘라내는 경우에는, 비디오 스트림의 구문을 안 후에, 비디오 스트림의 구문 해석을 행할 필요가 있었지만, 디스크(101)에 기록된 클립 스트림 파일에 저장된 프로그램 스트림은, 비디오 액세스 유닛 단위의 비디오 스트림에서의 1이상의 실제의 디코드 개시 가능점 각각의 직전에, 비디오 액세스 유닛의 사이즈를 나타내는 AU_length가 기술된 private_stream_2의 PES_packet()를 포함하고 있으므로, 비디오 읽어내기 기능부(233)는, 그 private_stream_2의 PES_packet()에 기술된 AU_length에 기초하여, 비디오 스트림의 구문 해석을 행하지 않고, 버퍼(215A)로부터, 비디오 액세스 유닛(단위의 비디오 스트림)을 읽어내고, 비디오 디코더 제어 모듈(216)에 공급할 수 있다. That is, conventionally, in the case of truncating an access unit of MPEG2-Video or MPEG4-AVC, it is necessary to parse the video stream after knowing the syntax of the video stream, but to the clip stream file recorded on the disc 101. The stored program stream contains a PES_packet () of private_stream_2 describing an AU_length indicating the size of the video access unit immediately before each of one or more actual decode start points in the video stream in units of video access units. The bet function unit 233 reads the video access unit (unit of video stream) from the buffer 215A without parsing the video stream based on the AU_length described in PES_packet () of the private_stream_2. To the video decoder control module 216.

또한, 비디오 읽어내기 기능부(233)는, 스텝 S216에서, 비디오 액세스 유닛을, 비디오 디코더 제어 모듈(216)에 공급할 때에, 그 비디오 액세스 유닛에 관한 정보로서 au_information()에 기술되어 있는 pic_struct_copy, au_ref_flag, 및 AU_length와, 비디오 액세스 유닛 단위에 부가되어 있는 타임 스탬프(PTS, DTS)도, 비디오 디코더 제어 모듈(216)에 공급한다. In addition, when the video reading function unit 233 supplies the video access unit to the video decoder control module 216 in step S216, the pic_struct_copy and au_ref_flag described in au_information () as information about the video access unit. , And AU_length and time stamps (PTS, DTS) added to the video access unit unit are also supplied to the video decoder control module 216.

스텝 S216에서, 버퍼(215A)로부터 1개의 비디오 액세스 유닛이 읽어내어져, 비디오 디코더 제어 모듈(216)에 공급된 후에는, 스텝 S217로 진행하여, 비디오 읽어내기 기능부(233)는, au_information() 레지스터(243)에 기억된 au_information()(도 24)의 number_of_access_unit가 나타내는 수만큼의 액세스 유닛을 처리하였는지의 여부를 판정한다. In step S216, after one video access unit is read out from the buffer 215A and supplied to the video decoder control module 216, the flow proceeds to step S217, and the video reading function unit 233 performs au_information ( It determines whether or not the number of access units indicated by number_of_access_unit of au_information () (Fig. 24) stored in the register 243 has been processed.

스텝 S217에서, number_of_access_unit가 나타내는 수만큼의 액세스 유닛을, 아직 처리하고 있지 않다고 판정된 경우, 즉, number_of_access_unit가 나타내는 수만큼의 액세스 유닛을, 아직, 버퍼(215A)로부터 읽어내어 비디오 디코더 제어 모듈(216)에 공급하고 있지 않은 경우, 스텝 S215로 되돌아가서, 이하, 마찬가지의 처리가 반복된다. In step S217, when it is determined that the number of access units indicated by number_of_access_unit has not been processed yet, that is, the number of access units indicated by number_of_access_unit is still read from the buffer 215A, and the video decoder control module 216 ), The process returns to step S215 and the same process is repeated below.

또한, 스텝 S217에서, number_of_access_unit가 나타내는 수만큼의 액세스 유닛을 처리하였다고 판정된 경우, 즉, number_of_access_unit가 나타내는 수만큼의 액세스 유닛을, 버퍼(215A)로부터 읽어내어 비디오 디코더 제어 모듈(216)에 공급한 경우, 스텝 S211로 되돌아가서, 다음의 private_stream_2의 PES_packet()의 탐색이 행하여지고, 이하, 마찬가지의 처리가 반복된다. When it is determined in step S217 that the number of access units indicated by number_of_access_unit has been processed, that is, the number of access units indicated by number_of_access_unit is read from the buffer 215A and supplied to the video decoder control module 216. In the case, the process returns to step S211, and the PES_packet () of the next private_stream_2 is searched, and the same process is repeated below.

「오디오 스트림의 읽어내기」Read Audio Stream

다음으로, 도 37의 플로우차트를 참조하여, 오디오 읽어내기 기능부(234)(도 3)에 의한, 버퍼(215A)로부터의 오디오 스트림의 읽어내기 처리의 상세에 대하여 설명한다. Next, with reference to the flowchart of FIG. 37, the detail of the audio stream reading process from the buffer 215A by the audio reading function part 234 (FIG. 3) is demonstrated.

오디오 읽어내기 기능부(234)는, 우선 최초로, 스텝 S230에서, 도 30의 스텝 S127에서eam_id 레지스터(252)(도 3)에 기억된, 재생 대상의 오디오 스트림의 stream_id가, private_stream_1의 PES_packet()를 나타내고 있는지의 여부를 판정한다. First, the audio reading function unit 234 firstly, in step S230, stream_id of the audio stream to be reproduced, stored in the eam_id register 252 (FIG. 3) in step S127 of FIG. 30, is PES_packet () of private_stream_1. It is determined whether is indicated.

스텝 S230에서, stream_id 레지스터(252)에 기억된 stream_id가, private_stream_1의 PES_packet()를 나타내고 있지 않다고 판정된 경우, 즉, stream_id 레지스터(252)에 기억된 stream_id가, 도 20에서 설명한 바와 같이, MPEG 규격에 따라서 부호화된 오디오 스트림에 할당되는 110xxxxxB인 경우, 스텝 S231로 진행하여, 오디오 읽어내기 기능부(234)는, 버퍼(215A)에 기억된 프로그램 스트림으로부터, MPEG Audio에서 정해진 오디오 프레임 선두를 나타내는 동기 코드를 찾는다. 동기 코드의 위치가 오디오 프레임 선두이므로, 오디오 읽어내기 기능부(234)는, 오디오 읽어내기 포인터를, 오디오 프레임 선두의 위치를 나타내도록 갱신하고, 스텝 S231로부터 S232로 진행한다. 스텝 S232에서는, 오디오 읽어내기 기능부(234)는, 버퍼(215A)에 기억된 프로그램 스트림 중의, stream_id 레지스터(252)에 기억된 stream_id와 일치하는 PES_packet()를, 오디오 읽어내기 포인터가 나타내는 위치로부터 탐색하여 찾아내고, 스텝 S233으로 진행한다. In step S230, when it is determined that the stream_id stored in the stream_id register 252 does not indicate PES_packet () of private_stream_1, that is, the stream_id stored in the stream_id register 252 is the MPEG standard as described in FIG. 20. In the case of 110xxxxxB assigned to the audio stream encoded according to the encoding, the flow proceeds to step S231, where the audio reading function unit 234 synchronizes the head of the audio frame determined by MPEG Audio from the program stream stored in the buffer 215A. Find the code. Since the position of the synchronization code is the head of the audio frame, the audio reading function unit 234 updates the audio reading pointer to indicate the position of the head of the audio frame, and proceeds from step S231 to S232. In step S232, the audio read function unit 234 displays the PES_packet () corresponding to the stream_id stored in the stream_id register 252 in the program stream stored in the buffer 215A from the position indicated by the audio read pointer. The search is performed to find out, and the flow proceeds to step S233.

스텝 S233에서는, 오디오 읽어내기 기능부(234)는, 오디오 읽어내기 포인터 기억부(251)에 기억된 오디오 읽어내기 포인터를, 직전의 스텝 S232에서 찾아낸 PES_packet()의 PES_packet_data_byte(도 16 내지 도 18)의 선두를 가리키도록 갱신하고, 스텝 S237로 진행한다. In step S233, the audio reading function unit 234 finds the audio reading pointer stored in the audio reading pointer storage unit 251 in PES_packet_data_byte of PES_packet () found in the previous step S232 (Figs. 16 to 18). Update is made to point to the beginning of the symbol, and the flow advances to step S237.

스텝 S237에서는, 오디오 읽어내기 기능부(234)는, 오디오 디코더 제어 모듈(217)로부터, 데이터의 요구가 있었는지의 여부를 판정하고, 없다고 판정한 경우, 스텝 S237로 되돌아가서, 마찬가지의 처리를 반복한다. In step S237, the audio reading function unit 234 determines whether there is a request for data from the audio decoder control module 217, and if not, returns to step S237 to perform the same process. Repeat.

또한, 스텝 S237에서, 오디오 디코더 제어 모듈(217)로부터, 데이터의 요구가 있었다고 판정된 경우, 스텝 S238로 진행하여, 오디오 읽어내기 기능부(234)는, 오디오 읽어내기 포인터가 가리키고 있는 버퍼(215A)의 위치로부터의 프로그램 스트림의 구문 해석을 행하면서, 기지의 고정 길이의 1개의 오디오 액세스 유닛을, 버퍼(215A)로부터 읽어내고, 그 오디오 액세스 유닛에 부가되어 있는 타임 스탬프(PTS, DTS)와 함께, 오디오 디코더 제어 모듈(217)에 공급한다. In addition, in step S237, when it is determined that there is a request for data from the audio decoder control module 217, the flow proceeds to step S238, where the audio reading function unit 234 buffers 215A indicated by the audio reading pointer. Parsing the program stream from the position of the &lt; RTI ID = 0.0 &gt;) &lt; / RTI &gt; while reading a known fixed length audio access unit from the buffer 215A and adding the time stamps (PTS, DTS) added to the audio access unit. Together, the audio decoder control module 217 is supplied.

그리고, 오디오 읽어내기 기능부(234)는, 버퍼(215A)로부터 읽어낸 1개의 오디오 액세스 유닛의 사이즈 분만큼, 오디오 읽어내기 포인터를 갱신하여, 스텝 S237로 되돌아가고, 이하, 마찬가지의 처리가 반복된다. Then, the audio read function unit 234 updates the audio read pointer by the size of one audio access unit read from the buffer 215A, and returns to step S237, and the same processing is repeated below. do.

한편, 스텝 S230에서, stream_id 레지스터(252)에 기억된 stream_id가, private_stream_1의 PES_packet()를 나타내고 있다고 판정된 경우, 즉, stream_id 레지스터(252)에 기억된 stream_id가, 10111101B(=0xBD)이며, 도 20에서 설명한 바와 같이, private_stream_1의 PES_packet()를 나타내고 있는 경우, 스텝 S234로 진행하여, 오디오 읽어내기 기능부(234)는, 버퍼(215A)에 기억된 프로그램 스트림 중의 private_stream_1의 PES_packet()를 탐색하여 찾아낸다. 즉, 오디오 읽어내기 기능부(234)는, stream_id가 10111101B로 되어 있는 PES_packet()를 탐색하여 찾아낸다. On the other hand, when it is determined in step S230 that the stream_id stored in the stream_id register 252 indicates PES_packet () of private_stream_1, that is, the stream_id stored in the stream_id register 252 is 10111101B (= 0xBD). As described in section 20, when PES_packet () of private_stream_1 is indicated, the flow proceeds to step S234, and the audio reading function unit 234 searches for PES_packet () of private_stream_1 in the program stream stored in the buffer 215A. Find out. That is, the audio reading function unit 234 searches for and finds PES_packet () having stream_id of 10111101B.

오디오 읽어내기 기능부(234)는, 스텝 S234에서, private_stream_1의 PES_packet()이 발견되면, 스텝 S235로 진행하여, 그 private_stream_1의 PES_packet()의 PES_packet_data_byte인 private_stream1_PES_payload()(도 21)에 기술되어 있는 private_stream_id를 추출하고, 그 private_stream_id가, 도 30의 스텝 S127에서 private_stream_id 레지스터(253)(도 3)에 기억된, 재생 대상의 오디오 스트림의 private_stream_id와 일치하는지의 여부를 판정한다. If the PES_packet () of private_stream_1 is found in step S234, the audio reading function unit 234 proceeds to step S235, and the private_stream_id described in private_stream1_PES_payload () (Fig. 21) which is PES_packet_data_byte of PES_packet () of the private_stream_1. Is extracted, and it is determined whether or not the private_stream_id matches the private_stream_id of the audio stream to be played back stored in the private_stream_id register 253 (FIG. 3) in step S127 of FIG.

스텝 S235에서, private_stream1_PES_payload()에 기술되어 있는 private_stream_id가, private_stream_id 레지스터(253)에 기억된 private_stream_id와 일치하지 않는다고 판정된 경우, 즉, 직전의 스텝 S234에서 발견된 private_stream_1의 PES_packet()이, 재생 대상의 오디오 스트림이 아닌 경우, 스텝 S234로 되돌아가서, 버퍼(215A)에 기억된 프로그램 스트림 중의 다른 private_stream_1의 PES_packet()의 탐색이 행하여지고, 이하, 마찬가지의 처리가 반복된다. In step S235, when it is determined that the private_stream_id described in private_stream1_PES_payload () does not match the private_stream_id stored in the private_stream_id register 253, that is, PES_packet () of the private_stream_1 found in the previous step S234 is played back. If it is not an audio stream, the flow returns to step S234 to search for PES_packet () of another private_stream_1 in the program stream stored in the buffer 215A, and the same process is repeated below.

한편, 스텝 S235에서, private_stream1_PES_payload()에 기술되어 있는 private_stream_id가, private_stream_id 레지스터(253)에 기억된 private_stream_id와 일치한다고 판정된 경우, 즉, 직전의 스텝 S234에서 발견된 private_stream_1의 PES_packet()이, 재생 대상의 오디오 스트림인 경우, 스텝 S236으로 진행하여, 오디오 읽어내기 기능부(234)는, 그 private_stream_1의 PES_packet()의 private_stream1_PES_payload()(도 21)에 기술되어 있는 AU_locator를, 버퍼(215A)로부터 읽어내고, 그 AU_locator의 직후의 위치와, 그 AU_locator이 나타내는 값을 가산함으로써, 오디오 액세스 유닛의 선두 위치를 구한다. On the other hand, when it is determined in step S235 that the private_stream_id described in private_stream1_PES_payload () matches the private_stream_id stored in the private_stream_id register 253, that is, PES_packet () of the private_stream_1 found in the previous step S234 is a playback target. In the case of the audio stream, the flow proceeds to step S236, where the audio read function 234 reads from the buffer 215A the AU_locator described in private_stream1_PES_payload () (Fig. 21) of PES_packet () of the private_stream_1. The head position of the audio access unit is obtained by adding the position immediately after the AU_locator and the value indicated by the AU_locator.

즉, AU_locator은, 도 21에서 설명한 바와 같이, 그 AU_locator의 직후의 위치를 기준으로 하여, private_stream1_PES_payload()의 private_payload()에 저장되는 오디오 액세스 유닛(혹은 자막 액세스 유닛)의 선두 위치를 나타내기 때문에, AU_locator의 직후의 위치에, 그 AU_locator이 나타내는 값을 가산함으로써, 오디오 액세스 유닛의 (절대적인) 선두 위치를 구할 수 있다. That is, the AU_locator indicates the head position of the audio access unit (or subtitle access unit) stored in private_payload () of private_stream1_PES_payload () on the basis of the position immediately after the AU_locator as described with reference to FIG. 21. By adding the value indicated by the AU_locator to the position immediately after the AU_locator, the (absolute) head position of the audio access unit can be obtained.

오디오 읽어내기 기능부(234)는, 또한, 스텝 S236에서, 이상과 같이 하여 구한 오디오 액세스 유닛의 선두 위치를 가리키도록, 오디오 읽어내기 포인터 기억부(251)에 기억된 오디오 읽어내기 포인터를 갱신하고, 스텝 S237로 진행한다. The audio read function unit 234 also updates the audio read pointer stored in the audio read pointer storage unit 251 to point to the head position of the audio access unit obtained as described above in step S236. The flow then advances to step S237.

스텝 S237에서는, 오디오 읽어내기 기능부(234)는, 오디오 디코더 제어 모듈(217)로부터, 데이터의 요구가 있었는지의 여부를 판정하고, 없다고 판정한 경우, 스텝 S237로 되돌아가서, 마찬가지의 처리를 반복한다. In step S237, the audio reading function unit 234 determines whether there is a request for data from the audio decoder control module 217, and if not, returns to step S237 to perform the same process. Repeat.

또한, 스텝 S237에서, 오디오 디코더 제어 모듈(217)로부터, 데이터의 요구가 만났는가라고 판정된 경우, 스텝 S238로 진행하여, 오디오 읽어내기 기능부(234)는, 오디오 읽어내기 포인터가 가리키고 있는 버퍼(215A)의 위치로부터의 프로그램 스트림의 구문 해석을 행하면서, 기지의 고정 길이의 1개의 오디오 액세스 유닛 를, 버퍼(215A)로부터 읽어내고, 그 오디오 액세스 유닛에 부가되어 있는 타임 스탬프 와 함께, 오디오 디코더 제어 모듈(217)에 공급한다. When the audio decoder control module 217 determines that a request for data has been met in step S237, the flow proceeds to step S238. The audio reading function unit 234 stores the buffer pointed to by the audio reading pointer ( While decoding the program stream from the position of 215A), one audio access unit of known fixed length is read from the buffer 215A and accompanied by a time stamp added to the audio access unit. Supply to the control module 217.

그리고, 오디오 읽어내기 기능부(234)는, 버퍼(215A)로부터 읽어낸 1개의 오 디오 액세스 유닛의 사이즈 분만큼, 오디오 읽어내기 포인터를 갱신하여, 스텝 S237로 되돌아가고, 이하, 마찬가지의 처리가 반복된다. The audio read function unit 234 updates the audio read pointer by the size of one audio access unit read from the buffer 215A, and returns to step S237. Is repeated.

「자막 스트림의 읽어내기」Read Subtitle Stream

다음으로, 도 38의 플로우차트를 참조하여, 자막 읽어내기 기능부(235)(도 3)에 의한, 버퍼(215A)로부터의 자막 스트림의 읽어내기 처리의 상세에 대하여 설명한다. Next, with reference to the flowchart of FIG. 38, the detail of the process of reading the subtitle stream from the buffer 215A by the subtitle read function part 235 (FIG. 3) is demonstrated.

자막 읽어내기 기능부(235)는, 우선 최초로, 스텝 S251에서, 도 30의 스텝 S127에서 자막 읽어내기 기능 플래그 기억부(261)에 기억된 자막 읽어내기 기능 플래그를 판정한다. 스텝 S251에서, 자막 읽어내기 기능 플래그가 0이라고 판정된 경우, 즉, 예를 들면, 재생 대상의 엘리멘터리 스트림이 다중화되어 있는 클립 스트림 파일에 자막 스트림이 포함되어 있지 않고, 도 30의 스텝 S127에서 자막 읽어내기 기능 플래그 기억부(261)에, 0이 세트된 경우, 자막 읽어내기 기능부(235)는 특별히 처리를 행하지 않는다. First, in step S251, the caption reading function unit 235 determines the caption reading function flag stored in the caption reading function flag storage unit 261 in step S127 of FIG. When it is determined in step S251 that the subtitle reading function flag is 0, that is, for example, the subtitle stream is not included in the clip stream file in which the elementary stream to be reproduced is multiplexed, and in step S127 of FIG. When 0 is set in the subtitle reading function flag storage unit 261 in, the subtitle reading function unit 235 does not perform any processing in particular.

한편, 스텝 S251에서, 자막 읽어내기 기능 플래그가 1이라고 판정된 경우, 즉, 예를 들면, 재생 대상의 엘리멘터리 스트림이 다중화되어 있는 클립 스트림 파일에 자막 스트림이 포함되어 있고, 도 30의 스텝 S127에서 자막 읽어내기 기능 플래그 기억부(261)에, 1이 세트된 경우, 스텝 S252로 진행하여, 자막 읽어내기 기능부(235)는, stream_id 레지스터(263)(도 3)에 기억된, 재생 대상의 자막 스트림의 stream_id와 일치하는 PES_packet()를, 버퍼(215A)에 기억된 프로그램 스트림으로부터 탐색한다. On the other hand, when it is determined in step S251 that the subtitle reading function flag is 1, that is, for example, the subtitle stream is included in the clip stream file in which the elementary stream to be reproduced is multiplexed, the step of FIG. If 1 is set in the subtitle reading function flag storage unit 261 in S127, the flow advances to step S252, and the subtitle reading function unit 235 reproduces the data stored in the stream_id register 263 (FIG. 3). PES_packet () matching the stream_id of the target subtitle stream is searched for from the program stream stored in the buffer 215A.

여기서, 도 30의 스텝 S127에서 설명한 바와 같이, stream_id 레지스터(263)(도 3)에는, 재생 대상의 자막 스트림의 stream_id가 기억되지만, 자막 스트림의 stream_id는, 도 20에서 설명한 바와 같이, private_stream_1의 PES_packet()를 나타내는 10111101B(=0xBD)이다. Here, as described in step S127 of FIG. 30, the stream_id of the caption stream to be reproduced is stored in the stream_id register 263 (FIG. 3), but the stream_id of the caption stream is PES_packet of private_stream_1 as described in FIG. 20. 10111101B (= 0xBD) indicating ().

따라서, 스텝 S252에서는, 버퍼(215A)에 기억된 프로그램 스트림 중의 private_stream_1의 PES_packet()이 탐색되게 된다. Therefore, in step S252, PES_packet () of private_stream_1 in the program stream stored in the buffer 215A is searched.

스텝 S252에서, private_stream_1의 PES_packet()의 탐색이 행하여지고, private_stream_1의 PES_packet()이 발견되면, 스텝 S253으로 진행하여, 자막 읽어내기 기능부(235)는, 그 private_stream_1의 PES_packet()의 PES_packet_data_byte인 private_stream1_PES_payload()(도 21)에 기술되어 있는 private_stream_id를 추출하고, 그 private_stream_id가, 도 30의 스텝 S127에서 private_stream_id 레지스터(264)(도 3)에 기억된, 재생 대상의 자막 스트림의 private_stream_id와 일치하는지의 여부를 판정한다. In step S252, when PES_packet () of private_stream_1 is searched and PES_packet () of private_stream_1 is found, the flow proceeds to step S253, where the subtitle reading function unit 235 is private_stream1_PES_payload that is PES_packet_data_byte of PES_packet () of the private_stream_1. Whether or not the private_stream_id described in () (FIG. 21) is extracted and the private_stream_id matches the private_stream_id of the subtitle stream to be played back stored in the private_stream_id register 264 (FIG. 3) in step S127 of FIG. Determine.

스텝 S253에서, private_stream1_PES_payload()에 기술되어 있는 private_stream_id가, private_stream_id 레지스터(264)에 기억된 private_stream_id와 일치하지 않는다고 판정된 경우, 즉, 직전의 스텝 S252에서 발견된 private_stream_1의 PES_packet()이, 재생 대상의 자막 스트림이 아닌 경우, 스텝 S252로 되돌아가서, 버퍼(215A)에 기억된 프로그램 스트림 중의 다른 private_stream_1의 PES_packet()의 탐색이 행하여지고, 이하, 마찬가지의 처리가 반복된다. In step S253, when it is determined that the private_stream_id described in private_stream1_PES_payload () does not match the private_stream_id stored in the private_stream_id register 264, that is, PES_packet () of private_stream_1 found in the previous step S252 is subject to playback. If it is not the subtitle stream, the flow returns to step S252 to search for PES_packet () of another private_stream_1 in the program stream stored in the buffer 215A, and the same processing is repeated below.

한편, 스텝 S253에서, private_stream1_PES_payload()에 기술되어 있는 private_stream_id가, private_stream_id 레지스터(264)에 기억된 private_stream_id와 일치한다고 판정된 경우, 즉, 직전의 스텝 S252에서 발견된 private_stream_1의 PES_packet()이, 재생 대상의 자막 스트림인 경우, 스텝 S254로 진행하여, 자막 읽어내기 기능부(235)는, 그 private_stream_1의 PES_packet()의 private_stream1_PES_payload()(도 21)에 기술되어 있는 AU_locator을, 버퍼(215A)로부터 읽어내고, 그 AU_locator의 직후의 위치와, 그 AU_locator이 나타내는 값을 가산함으로써, 자막 액세스 유닛의 선두 위치를 구한다. On the other hand, when it is determined in step S253 that the private_stream_id described in the private_stream1_PES_payload () matches the private_stream_id stored in the private_stream_id register 264, that is, PES_packet () of the private_stream_1 found in the previous step S252 is played back. In the case of the subtitle stream, the flow proceeds to step S254, where the subtitle reading function unit 235 reads the AU_locator described in the private_stream1_PES_payload () (Fig. 21) of PES_packet () of the private_stream_1 from the buffer 215A. The head position of the caption access unit is obtained by adding the position immediately after the AU_locator and the value indicated by the AU_locator.

즉, AU_locator은, 도 21에서 설명한 바와 같이, 그 AU_locator의 직후의 위치를 기준으로 하여, private_stream1_PES_payload()의 private_payload()에 저장되는 자막 액세스 유닛(혹은 오디오 액세스 유닛)의 선두 위치를 나타내기 때문에, AU_locator의 직후의 위치에, 그 AU_locator이 나타내는 값을 가산함으로써, 자막 액세스 유닛의 (절대적인) 선두 위치를 구할 수 있다. That is, since the AU_locator indicates the head position of the caption access unit (or audio access unit) stored in the private_payload () of private_stream1_PES_payload () on the basis of the position immediately after the AU_locator as described with reference to FIG. By adding the value indicated by the AU_locator to the position immediately after the AU_locator, the (absolute) head position of the caption access unit can be obtained.

자막 읽어내기 기능부(235)는, 또한, 스텝 S254에서, 이상과 같이 하여 구한 자막 액세스 유닛의 선두 위치를 가리키도록, 자막 읽어내기 포인터 기억부(262)에 기억된 자막 읽어내기 포인터를 갱신하고, 스텝 S255로 진행한다. The caption reading function unit 235 further updates the caption reading pointer stored in the caption reading pointer storage unit 262 to point to the head position of the caption access unit obtained as described above in step S254. The flow then advances to step S255.

스텝 S255에서는, 자막 읽어내기 기능부(235)는, 자막 디코더 제어 모듈(218)로부터, 데이터의 요구가 있었는지의 여부를 판정하고, 없다고 판정한 경우, 스텝 S255로 되돌아가서, 마찬가지의 처리를 반복한다. In step S255, the caption reading function unit 235 determines whether there is a request for data from the caption decoder control module 218, and if not, returns to step S255 to perform the same process. Repeat.

또한, 스텝 S255에서, 자막 디코더 제어 모듈(218)로부터, 데이터의 요구가 있었다고 판정된 경우, 스텝 S256으로 진행하여, 자막 읽어내기 기능부(235)는, 자막 읽어내기 포인터가 가리키고 있는 버퍼(215A)의 위치로부터의 프로그램 스트림의 구문 해석을 행하면서, 자막 액세스 유닛의 선두에 기술되어 있는 사이즈 분의 1개의 자막 액세스 유닛을, 버퍼(215A)로부터 읽어내고, 그 자막 액세스 유닛에 부가되어 있는 타임 스탬프와 함께, 자막 디코더 제어 모듈(218)에 공급한다. 즉, 자막 액세스 유닛의 선두에는, 도 2에서 설명한 바와 같이, 그 자막 액세스 유닛의 사이즈가 기술되어 있고, 자막 읽어내기 기능부(235)는, 그 사이즈 분의 데이터를, 자막 읽어내기 포인터가 가리키고 있는 버퍼(215A)의 위치로부터 읽어내고, 그 읽어낸 데이터인 자막 액세스 유닛을, 그 자막 액세스 유닛에 부가되어 있는 타임 스탬프와 함께, 자막 디코더 제어 모듈(218)에 공급한다. If it is determined in step S255 that there is a request for data from the caption decoder control module 218, the flow proceeds to step S256 and the caption reading function unit 235 buffers 215A indicated by the caption reading pointer. Time at which one subtitle access unit of the size described at the beginning of the subtitle access unit is read from the buffer 215A while the program stream is parsed from the position of the subtitle access unit. Together with the stamp, it is supplied to the subtitle decoder control module 218. That is, the size of the caption access unit is described at the head of the caption access unit, and the caption read function unit 235 indicates the data corresponding to the size by the caption read pointer. It reads from the position of the buffer 215A which exists, and supplies the caption access unit which is this read data to the caption decoder control module 218 with the time stamp added to the caption access unit.

그리고, 자막 읽어내기 기능부(235)는, 버퍼(215A)로부터 읽어낸 1개의 자막 액세스 유닛의 사이즈 분만큼, 자막 읽어내기 포인터를 갱신하여, 스텝 S255로 되돌아가고, 이하, 마찬가지의 처리가 반복된다. The caption reading function unit 235 updates the caption reading pointer by the size of one caption access unit read from the buffer 215A, and returns to step S255, after which the same processing is repeated. do.

[재동기 처리][Resynchronization Processing]

다음으로, 도 2의 디코드 제어 모듈(214)에 의한, 비디오 데이터와 오디오 디코더와의 동기 제어에 대하여 설명한다. Next, the synchronous control of the video data and the audio decoder by the decode control module 214 of FIG. 2 will be described.

도 30의 S130에서 설명한 바와 같이, 디코드 제어 모듈(214)은, 동기를 확보하기 위해 필요하다면 타이밍을 어긋나게 하여, 디코드 개시를, 비디오 디코더 제어 모듈(216), 오디오 디코더 제어 모듈(217), 및 자막 디코더 제어 모듈(218)에 명령하지만, 예를 들면, 그 후의 비디오 디코더(116)와 오디오 디코더(117)의 디코 드 처리의 진행 정도에 따라서, 비디오 데이터의 출력과, 그 비디오 데이터와 동기하여 출력될 출력 데이터로서의 오디오 데이터의 출력이 어긋나는 경우가 있다. As described in S130 of FIG. 30, the decode control module 214 shifts the timing if necessary to secure synchronization, and starts decoding by the video decoder control module 216, the audio decoder control module 217, and The subtitle decoder control module 218 is instructed, but, for example, in accordance with the progress of the decoding process of the video decoder 116 and the audio decoder 117, in synchronization with the output of the video data and the video data. The output of audio data as output data to be output may be shifted.

따라서, 디코드 제어 모듈(214)에서는, 비디오 데이터의 출력과, 그 비디오 데이터와 동기하여 출력될 오디오 데이터의 출력에 발생한 어긋남을 보정하고, 비디오 데이터와 오디오 데이터가 동기하여 출력되도록 하기 위한 재동기 처리가 행하여진다. Therefore, the decode control module 214 corrects misalignment occurring in the output of the video data and the output of the audio data to be output in synchronization with the video data, and resynchronizes the processing so that the video data and the audio data are output in synchronization. Is performed.

도 39의 플로우차트를 참조하여, 재동기 처리에 대하여 설명한다. A resynchronization process will be described with reference to the flowchart in FIG. 39.

재동기 처리에서는, 우선 최초로, 스텝 S271에서, 디코드 제어 모듈(214)은, 비디오 디코더 제어 모듈(216)로부터의 비디오 액세스 유닛의 타임 스탬프와, 오디오 제어 모듈(217)로부터의 오디오 액세스 유닛의 타임 스탬프와의 어긋남이 큰지의 여부를 판정한다. In the resynchronization process, first, in step S271, the decode control module 214 performs the time stamp of the video access unit from the video decoder control module 216 and the time of the audio access unit from the audio control module 217. It is determined whether the deviation from the stamp is large.

즉, 도 30의 스텝 S129에서 설명한 바와 같이, 비디오 디코더 제어 모듈(216)은, 버퍼 제어 모듈(215)로부터 비디오 액세스 유닛을 얻을 때마다, 그 비디오 액세스 유닛의 타임 스탬프를, 디코드 제어 모듈(214)에 공급한다. 마찬가지로, 오디오 제어 모듈(217)도, 버퍼 제어 모듈(215)로부터 오디오 액세스 유닛을 얻을 때마다, 그 오디오 액세스 유닛의 타임 스탬프를, 디코드 제어 모듈(214)에 공급한다. That is, as described in step S129 of FIG. 30, each time the video decoder control module 216 obtains the video access unit from the buffer control module 215, the video decoder control module 216 sets the time stamp of the video access unit to the decode control module 214. Supplies). Similarly, the audio control module 217 also supplies the time stamp of the audio access unit to the decode control module 214 each time the audio access unit is obtained from the buffer control module 215.

스텝 S271에서는, 디코드 제어 모듈(214)은, 비디오 디코더 제어 모듈(216)과 오디오 제어 모듈(217)의 각각으로부터, 동일 타이밍에서(동일 타이밍으로 간주할 수 있는, 어떤 시간 내에) 공급되는 타임 스탬프끼리를 비교하고, 그들 타임 스 탬프의 어긋남이 큰지의 여부를 판정한다. In step S271, the decode control module 214 is provided with a time stamp supplied from each of the video decoder control module 216 and the audio control module 217 at the same timing (in a certain time, which can be regarded as the same timing). The comparison is made with each other, and it is determined whether the deviation of these time stamps is large.

스텝 S271에서, 비디오 디코더 제어 모듈(216)로부터의 비디오 액세스 유닛의 타임 스탬프와, 오디오 제어 모듈(217)로부터의 오디오 액세스 유닛의 타임 스탬프와의 어긋남이 크지 않다고 판정된 경우, 즉, 비디오 액세스 유닛의 타임 스탬프와, 오디오 액세스 유닛의 타임 스탬프와의 어긋남이, 미리 정해진 동기가 취해져 있다고 간주할 수 있는 범위 내인, 예를 들면, 2비디오 프레임(약 66밀리초)인 경우, 스텝 S271로 되돌아가서, 타임 스탬프끼리의 어긋남의 판정(감시)이 속행된다. In step S271, when it is determined that the deviation between the time stamp of the video access unit from the video decoder control module 216 and the time stamp of the audio access unit from the audio control module 217 is not large, that is, the video access unit If the deviation of the time stamp of the audio access unit from the time stamp of the audio access unit is within a range that can be regarded as a predetermined synchronization, for example, two video frames (about 66 milliseconds), the process returns to step S271. The determination (monitoring) of the deviation between time stamps is continued.

한편, 스텝 S271에서, 비디오 디코더 제어 모듈(216)로부터의 비디오 액세스 유닛의 타임 스탬프와, 오디오 제어 모듈(217)로부터의 오디오 액세스 유닛의 타임 스탬프와의 어긋남이 크다고 판정된 경우, 즉, 비디오 액세스 유닛의 타임 스탬프와, 오디오 액세스 유닛의 타임 스탬프와의 어긋남이, 미리 정해진 동기가 취해져 있다고 간주할 수 있는 범위 외인 경우, 스텝 S272로 진행하여, 디코드 제어 모듈(214)은, 비디오 디코더 제어 모듈(216)로부터의 비디오 액세스 유닛의 타임 스탬프와, 오디오 제어 모듈(217)로부터의 오디오 액세스 유닛의 타임 스탬프를 비교함으로써, 비디오 데이터의 출력(디코드)과, 오디오 데이터의 출력 중 어느 하나이 지연되어 있는지를 판정한다. On the other hand, in step S271, when it is determined that the deviation between the time stamp of the video access unit from the video decoder control module 216 and the time stamp of the audio access unit from the audio control module 217 is large, that is, video access If the deviation between the time stamp of the unit and the time stamp of the audio access unit is outside the range in which the predetermined synchronization can be considered, the process proceeds to step S272, where the decode control module 214 performs the video decoder control module ( By comparing the time stamp of the video access unit from 216 with the time stamp of the audio access unit from the audio control module 217, it is determined whether any one of the output (decode) of the video data and the output of the audio data is delayed. Determine.

스텝 S272에서, 비디오 데이터의 출력이, 오디오 데이터의 출력보다도 지연되어 있다고 판정된 경우, 스텝 S273으로 진행하여, 디코드 제어 모듈(214)은, 1비디오 액세스 유닛만큼, 비디오 액세스 유닛의 처리를 진행시키기 위해, 비디오 디 코더 제어 모듈(216)에 대하여, 비디오 액세스 유닛의 디코드와 출력(표시)을 행하지 않는다는 취지의 지시, 즉, 비디오 액세스 유닛의 처리의 스킵의 지시를 출력하고, 스텝 S274로 진행한다. If it is determined in step S272 that the output of the video data is delayed than the output of the audio data, the flow proceeds to step S273, where the decode control module 214 advances the processing of the video access unit by one video access unit. For this purpose, the video decoder control module 216 outputs an instruction not to perform decoding and output (display) of the video access unit, that is, an instruction to skip processing of the video access unit, and proceeds to step S274. .

스텝 S274에서는, 비디오 디코더 제어 모듈(216)은, 디코드 제어 모듈(214)로부터의 스킵의 지시를 수신하고, 그 스킵의 지시에 따라서, 버퍼 제어 모듈(215)로부터의 비디오 액세스 유닛과 함께 공급되는 au_ref_flag(도 24)를 검사한다. In step S274, the video decoder control module 216 receives the skip instruction from the decode control module 214, and is supplied with the video access unit from the buffer control module 215 in accordance with the skip instruction. au_ref_flag (FIG. 24) is checked.

즉, private_stream_2의 PES_packet()의 private_stream2_PES_payload()(도 23)에 배치된 au_information()(도 24)에는, 액세스 유닛에 관한 정보로서의 au_ref_flag가 포함되어 있고, 버퍼 제어 모듈(215)은, 도 30의 스텝 S129나, 도 36의 스텝 S216에서 설명한 바와 같이, 비디오 액세스 유닛과 함께, 그 비디오 액세스 유닛의 au_ref_flag를, 비디오 디코더 제어 모듈(216)에 공급한다. That is, au_information () (FIG. 24) arranged in private_stream2_PES_payload () (FIG. 23) of PES_packet () of private_stream_2 contains au_ref_flag as information about an access unit, and the buffer control module 215 is shown in FIG. As described in step S129 or step S216 in FIG. 36, together with the video access unit, au_ref_flag of the video access unit is supplied to the video decoder control module 216.

스텝 S274에서는, 이와 같이, 액세스 유닛과 함께 공급되는, 그 액세스 유닛의 au_ref_flag가 검사된다. In step S274, the au_ref_flag of the access unit, which is supplied with the access unit in this way, is checked.

그리고, 스텝 S274로부터 S275로 진행하여, 비디오 디코더 제어 모듈(216)은, 버퍼 제어 모듈(215)로부터 공급된 비디오 액세스 유닛의 au_ref_flag의 검사의 결과에 기초하여, 그 비디오 액세스 유닛이, 다른 픽쳐의 디코드에 있어서 참조되지 않는 비참조 화상인지의 여부를 판정한다. The video decoder control module 216 then proceeds from step S274 to S275, and based on the result of the inspection of the au_ref_flag of the video access unit supplied from the buffer control module 215, the video access unit determines that another video is to be used for other pictures. It is determined whether or not the picture is a non-reference picture that is not referenced in decoding.

여기서, 도 24에서 설명한 바와 같이, 비디오 액세스 유닛의 au_ref_flag는, 그 액세스 유닛이 참조 화상인지의 여부를 나타내고, 참조 화상인 경우에는 1로 되고, 참조 화상이 아닌 경우, 즉, 비참조 화상인 경우에는 0으로 된다. Here, as described with reference to FIG. 24, the au_ref_flag of the video access unit indicates whether the access unit is a reference picture, and is 1 when it is a reference picture, and when it is not a reference picture, that is, when it is a non-reference picture. Will be zero.

스텝 S275에서, 버퍼 제어 모듈(215)로부터 공급된 비디오 액세스 유닛이 비참조 화상(의 비디오 액세스 유닛)이 아니라고 판정된 경우, 즉, 버퍼 제어 모듈(215)로부터 공급된 비디오 액세스 유닛이 참조 화상인 경우, 스텝 S276으로 진행하여, 비디오 디코더 제어 모듈(216)은, 통상대로, 그 비디오 액세스 유닛을, 비디오 디코더(116)에 처리시키고, 다음의 비디오 액세스 유닛이, 버퍼 제어 모듈(215)로부터 공급되는 것을 대기하여, 스텝 S274로 되돌아간다. In step S275, when it is determined that the video access unit supplied from the buffer control module 215 is not a non-reference picture (video access unit of), that is, the video access unit supplied from the buffer control module 215 is a reference picture. In the case, the process proceeds to step S276 where the video decoder control module 216 processes the video access unit to the video decoder 116 as usual, and the next video access unit is supplied from the buffer control module 215. It waits for it to return, and it returns to step S274.

또한, 스텝 S275에서, 버퍼 제어 모듈(215)로부터 공급된 비디오 액세스 유닛이 비참조 화상이라고 판정된 경우, 스텝 S277로 진행하여, 비디오 디코더 제어 모듈(216)은, 그 비디오 액세스 유닛의, 비디오 디코더(116)에 의한 처리를 스킵시키고, 다음의 비디오 액세스 유닛이, 버퍼 제어 모듈(215)로부터 공급되는 것을 대기하여, 스텝 S271로 되돌아간다. In addition, when it is determined in step S275 that the video access unit supplied from the buffer control module 215 is a non-reference picture, the flow proceeds to step S277, where the video decoder control module 216 performs the video decoder of the video access unit. The processing by 116 is skipped, and the next video access unit waits to be supplied from the buffer control module 215, and returns to step S271.

이와 같이, 비디오 액세스 유닛의 처리가 스킵됨으로써, 비디오 액세스 유닛의 처리가, 대략 1비디오 액세스 유닛 분만큼 진행된다(처리 시간이 단축된다). 그 결과, 오디오 데이터의 출력보다도 지연되어 있던 비디오 데이터의 출력이 빨라지게 된다. In this way, the processing of the video access unit is skipped, so that the processing of the video access unit advances by approximately one video access unit (the processing time is shortened). As a result, the output of video data which is delayed is faster than the output of audio data.

한편, 스텝 S272에서, 비디오 데이터의 출력이, 오디오 데이터의 출력보다도 지연되어 있지 않다고 판정된 경우, 즉, 오디오 데이터의 출력이, 비디오 데이터의 출력보다도 지연되어 있는 경우, 스텝 S278로 진행하여, 디코드 제어 모듈(214)은, 비디오 액세스 유닛의 처리를 대기시키기 위해, 비디오 디코더 제어 모듈(216)에 대하여, 지금 디코드되어 있는 비디오 액세스 유닛에 대응하는 비디오 데이터를 반 복하여 출력하는 반복 출력의 지시를 출력하여, 스텝 S279로 진행한다. On the other hand, when it is determined in step S272 that the output of the video data is not delayed than the output of the audio data, that is, when the output of the audio data is delayed than the output of the video data, the process proceeds to step S278 and decodes. The control module 214 instructs the video decoder control module 216 to repeatedly output the video data corresponding to the video access unit that is now decoded, so as to wait for the processing of the video access unit. It outputs and it progresses to step S279.

스텝 S279에서는, 비디오 디코더 제어 모듈(216)은, 디코드 제어 모듈(214)로부터의 반복 출력의 지시를 수신하고, 그 반복 출력의 지시에 따라서, 지금 비디오 디코더(116)에서 디코드되어 있는 비디오 액세스 유닛에 대응하는 비디오 데이터를 반복하여, 그래픽스 처리 모듈(219)에 출력하고, 다음의 비디오 액세스 유닛이, 버퍼 제어 모듈(215)로부터 공급되는 것을 대기하여, 스텝 S271로 되돌아간다. In step S279, the video decoder control module 216 receives the instruction of the repetitive output from the decode control module 214, and according to the instruction of the repetitive output, the video access unit that is now decoded by the video decoder 116. The video data corresponding to the above is repeatedly output to the graphics processing module 219, and the next video access unit waits to be supplied from the buffer control module 215, and returns to step S271.

이상과 같이, 디코드 제어 모듈(214)에서는, 비디오 데이터의 출력이, 오디오 데이터의 출력보다도 지연되어 있는지의 여부를 판정하고, 비디오 데이터의 출력이, 오디오 데이터의 출력보다도 지연되어 있는 경우에는, 1개의 액세스 유닛의 처리의 스킵을, 비디오 디코더 제어 모듈(216)에 지시한다. 그리고, 비디오 디코더 제어 모듈(216)에서는, 스킵이 지시된 액세스 유닛의 au_ref_flag에 기초하여, 그 액세스 유닛이 참조 화상인지, 또는 비참조 화상인지를 판정하여, 비참조 화상인 경우에, 비디오 디코더(116)에, 스킵이 지시된 액세스 유닛의 처리를 스킵시킨다. 따라서, 비디오 데이터의 출력과, 오디오 데이터의 출력과의 동기를, 용이하게 취할 수 있다. As described above, the decode control module 214 determines whether the output of the video data is delayed than the output of the audio data, and if the output of the video data is delayed than the output of the audio data, 1. Video decoder control module 216 is instructed to skip processing of two access units. Then, the video decoder control module 216 determines whether the access unit is a reference picture or a non-reference picture based on the au_ref_flag of the access unit to which skip is instructed, and in the case of the non-reference picture, the video decoder ( 116 skips the processing of the access unit to which the skip is indicated. Therefore, synchronization between the output of the video data and the output of the audio data can be easily achieved.

즉, 처리를 스킵하는 액세스 유닛이 참조 화상인 경우, 그 액세스 유닛에 대응하는 비디오 데이터는, 그 후에 디코드되는 다른 액세스 유닛의 디코드 시에 참조하기 위해 디코드할 필요가 있다. 따라서, 비디오 데이터의 출력과, 오디오 데이터의 출력과의 동기를 취하기 위한 동기 제어에서, 참조 화상의 액세스 유닛의 처리를 스킵하게 되면, 그 참조 화상을 참조하는 다른 액세스 유닛을 디코드할 수 없고, 그 결과, 비디오 데이터의 표시에서, 동기 제어가 노이즈로서 나타나게 된다. In other words, when the access unit skipping processing is a reference picture, video data corresponding to the access unit needs to be decoded for reference at the time of decoding of another access unit to be decoded thereafter. Therefore, in the synchronization control for synchronizing the output of the video data with the output of the audio data, if the processing of the access unit of the reference picture is skipped, other access units that refer to the reference picture cannot be decoded. As a result, in the display of video data, synchronous control appears as noise.

이 때문에, 처리를 스킵하는 것은, 참조 화상이 아닌 액세스 유닛, 즉, 비참조 화상의 액세스 유닛으로 하는 것이 바람직하다. For this reason, it is preferable to skip processing by an access unit other than a reference picture, that is, an access unit of a non-reference picture.

한편, 종래의 엘리멘터리 스트림에 대하여, 비참조 화상의 액세스 유닛을 찾기 위해서는, 엘리멘터리 스트림의 구문 해석을 행할 필요가 있지만, 예를 들면, MPEG4-AVC 등에 따른 부호화에 의해 얻어지는 엘리멘터리 스트림은, 구문이 매우 복잡하기 때문에, 구문 해석에, 많은 코스트가 걸린다. On the other hand, in order to find an access unit of a non-referenced picture with respect to a conventional elementary stream, it is necessary to parse the elementary stream. However, for example, an elementary obtained by encoding according to MPEG4-AVC or the like. Because streams are very complex, parsing can be expensive.

이에 대하여, 디스크(101)에 기록된 클립 스트림 파일에 저장된 프로그램 스트림에는, 비디오 액세스 유닛이 PES_packet_data_byte에 배치되는 PES_packet()(도 16 내지 도 18)와는 별도로, PES_packet_data_byte를 확장한 private_stream2_PES_payload()(도 23)가 배치된 private_stream_2의 PES_packet()이 다중화되어 있고, 그 private_stream2_PES_payload()의 au_information()(도 24)에는, 비디오 액세스 유닛마다, 그 비디오 액세스 유닛이 참조 화상인지, 또는 비참조 화상인지를 나타내는 au_ref_flag가 기술되어 있다. 그리고, 그 au_ref_flag는, 대응하는 비디오 액세스 유닛과 함께, 버퍼 제어 모듈(215)로부터 비디오 디코더 제어 모듈(216)에 공급된다. 따라서, 비디오 디코더 제어 모듈(216)은, 비디오 액세스 유닛과 함께 공급되는, 그 비디오 액세스 유닛의 au_ref_flag를 검사함으로써, 코스트를 거의 사용하지 않고, 비디오 액세스 유닛이 참조 화상인지, 또는 비참조 화상인지를 인식할 수 있다. On the other hand, in the program stream stored in the clip stream file recorded on the disc 101, a private_stream2_PES_payload () in which PES_packet_data_byte is extended, apart from PES_packet () (Figs. 16 to 18) in which the video access unit is arranged in PES_packet_data_byte (Fig. ), PES_packet () of private_stream_2 is multiplexed, and au_information () (FIG. 24) of the private_stream2_PES_payload () shows au_ref_flag indicating whether the video access unit is a reference picture or a non-reference picture for each video access unit. Is described. The au_ref_flag is supplied from the buffer control module 215 to the video decoder control module 216 together with the corresponding video access unit. Accordingly, the video decoder control module 216 examines the au_ref_flag of the video access unit, which is supplied with the video access unit, uses little cost and determines whether the video access unit is a reference picture or a non-reference picture. I can recognize it.

[마크 처리][Mark processing]

다음으로, 도 40의 플로우차트를 참조하여, PlayListMark()(도 7)에 기술된 Mark()에 기초하여 행하여지는 마크 처리에 대하여 설명한다. Next, with reference to the flowchart of FIG. 40, the mark process performed based on Mark () described in PlayListMark () (FIG. 7) is demonstrated.

디코드 제어 모듈(214)은, 내장하는 계시부(214A)에 의해 계시되어 있는 현재 시각을, 항상 확인하고 있고, 스텝 S301에서, 현재 시각이, PlayListMark()(도 7)에 기술된 어느 하나의 Mark()의 mark_time_stamp와 일치하였는지의 여부를 판정한다. The decode control module 214 always checks the current time indicated by the built-in timekeeping unit 214A. In step S301, the current time is any of the Marks described in PlayListMark () (Fig. 7). It is determined whether or not the mark_time_stamp of () is matched.

즉, 도 30의 스텝 S124에서 설명한 바와 같이, 플레이어 제어 모듈(212)은, 도 25에 도시한 1번째의 PlayList #0의 1번째의 PlayItem #0을 재생하고자 할 때에, 도 28 상측에 도시한 PlayListMark()에 포함되는 7개의 Mark() 중의 1번째로부터 4번째까지의 4개의 Mark()가, PlayList #0의 1번째의 PlayItem #0에 속해 있는 것을 인식하고, 그 4개의 Mark()의 mark_time_stamp인 {180,090}, {5,580,090}, {10,980,090}, {16,380,090}을, 그 mark_time_stamp가 나타내는 시각의 속성이 「마크 처리」이라는 취지와 함께, 디코드 제어 모듈(214)에 건네주고 있다. That is, as described in step S124 of FIG. 30, when the player control module 212 tries to play the first PlayItem # 0 of the first PlayList # 0 shown in FIG. 25, the player control module 212 is shown in the upper side of FIG. 28. Of the seven Mark () included in the PlayListMark (), four Mark () s from 1st to 4th are recognized as belonging to the first PlayItem # 0 of PlayList # 0, and the four Mark () {180,090}, {5,580,090}, {10,980,090}, and {16,380,090} which are mark_time_stamp are passed to the decode control module 214 with the intention that the attribute of the time indicated by the mark_time_stamp is "mark processing".

스텝 S301에서는, 디코드 제어 모듈(214)에서, 현재 시각이, 상술한 바와 같이 하여 플레이어 제어 모듈(212)로부터 공급된 「마크 처리」의 속성의 시각(mark_time_stamp) 중 어느 하나와 일치하는지의 여부가 판정된다. In step S301, in the decode control module 214, whether or not the current time coincides with any one of the time (mark_time_stamp) of the attribute of "mark processing" supplied from the player control module 212 as described above. It is determined.

스텝 S301에서, 현재 시각이, 「마크 처리」의 속성의 시각 중 어느 것과도 일치하지 않는다고 판정된 경우, 스텝 S301로 되돌아가서, 마찬가지의 처리가 반복된다. If it is determined in step S301 that the current time does not coincide with any of the times of the attribute of "mark processing", the process returns to step S301 and the same processing is repeated.

또한, 스텝 S301에서, 현재 시각이, 「마크 처리」의 속성의 시각 중 어느 하나와 일치한다고 판정된 경우, 디코드 제어 모듈(214)은, 현재 시각이, 「마크 처리」의 속성의 시각으로 되었다는 취지의 메시지와, 현재 시각과 일치한 「마크 처리」의 속성의 시각을, 플레이어 제어 모듈(212)에 공급하여, 스텝 S302로 진행한다. In addition, when it is determined in step S301 that the current time coincides with any one of the time of the attribute of "mark processing", the decoding control module 214 determines that the current time is the time of the attribute of "mark processing". The message of effect and the time of the attribute of "mark processing" coinciding with the current time are supplied to the player control module 212, and the flow proceeds to step S302.

스텝 S302에서는, 플레이어 제어 모듈(212)이, 현재 시각이, 「마크 처리」의 속성의 시각으로 되었다는 취지의 메시지와, 현재 시각과 일치한 「마크 처리」의 속성의 시각(mark_time_stamp)을, 디코드 제어 모듈(214)로부터 수신하고, mark_time_stamp가 현재 시각과 일치한 Mark()를, 마크 처리의 처리 대상으로 하는 Mark()(이하, 적절하게, 처리 대상 mark라고 함)로서 인식한다. In step S302, the player control module 212 decodes the message indicating that the current time has become the time of the attribute of "mark processing", and the time (mark_time_stamp) of the attribute of "mark processing" matching the current time. Received from the control module 214, Mark () whose mark_time_stamp coincides with the current time is recognized as Mark () (hereinafter referred to as processing target mark appropriately) as the processing target of mark processing.

즉, 플레이어 제어 모듈(212)은, 현재 재생되고 있는 PlayList()의 PlayItem()을 인식하고 있고, 그 PlayList() 및 PlayItem()과, 디코드 제어 모듈(214)로부터의, 현재 시각과 일치한 「마크 처리」의 속성의 시각(mark_time_stamp)(이하, 적절하게, 마크 시간이라고 함)으로부터, "PLAYLIST.DAT" 파일(도 5)의 PlayListMark()(도 7)를 참조함으로써, 처리 대상 mark를 인식한다. That is, the player control module 212 recognizes the PlayItem () of the PlayList () currently being played and matches the PlayList () and PlayItem () with the current time from the decode control module 214. The processing target mark is referred to by referring to PlayListMark () (FIG. 7) of the "PLAYLIST.DAT" file (FIG. 5) from the time (mark_time_stamp) of the "mark processing" attribute (hereinafter, appropriately referred to as mark time). Recognize.

구체적으로는, 예를 들면, 지금, 도 25에 도시한 1번째의 PlayList #0의 1번째의 PlayItem #0이 재생되어 있는 것으로 하면, 그것에 의해, 플레이어 제어 모듈(212)은, 마크 시각이, 도 28 상측에 도시한 PlayListMark()에 포함되는 7개의 Mark() 중의 1번째로부터 4번째까지의 4개의 Mark() 중의 어느 하나의 mark_time_stamp인 것을 인식한다. Specifically, for example, suppose that the first PlayItem # 0 of the first PlayList # 0 shown in FIG. 25 is now played back, whereby the player control module 212 has the mark time. It recognizes that it is mark_time_stamp of any one of four Mark () from 1st to 4th of seven Mark () contained in PlayListMark () shown in FIG.

그리고, 디코드 제어 모듈(214)로부터 플레이어 제어 모듈(212)에 공급된 마크 시각이, 예를 들면, 16,380,090이었던 것으로 하면, 플레이어 제어 모듈(212)은, 도 28 상측에 도시한 PlayListMark()에 포함되는 1번째로부터 4번째까지의 4개의 Mark() 중의, mark_time_stamp가, 마크 시각인 16,380,090과 일치하는 4번째의 Mark()를, 처리 대상 mark로서 인식한다. If the mark time supplied from the decode control module 214 to the player control module 212 was 16,380,090, for example, the player control module 212 is included in the PlayListMark () shown in the upper part of FIG. Mark_time_stamp recognizes the fourth Mark () corresponding to 16,380,090, which is the mark time, as the processing target mark.

플레이어 제어 모듈(212)은, 이상과 같이 하여, 처리 대상 mark를 인식하면, 스텝 S302로부터 S303으로 진행하여, 처리 대상 mark에서, 엘리멘터리 스트림을 특정하는 entry_ES_stream_id와 entry_ES_private_stream_id(도 7)가 기술되어 있는지의 여부를 판정한다. When the player control module 212 recognizes the mark to be processed as described above, the process proceeds from step S302 to S303, in which the entry_ES_stream_id and entry_ES_private_stream_id (FIG. 7) for specifying the elementary stream are described. It is determined whether there is.

스텝 S303에서, 처리 대상 mark에, 엘리멘터리 스트림을 특정하는 entry_ES_stream_id와 entry_ES_private_stream_id(도 7)가 기술되어 있지 않다고 판정된 경우, 즉, entry_ES_stream_id와 entry_ES_private_stream_id가, 모두 0x00인 경우, 스텝 S304를 스킵하여, 스텝 S305로 진행하고, 이하, 처리 대상 mark에 따른 처리가 행하여진다. In step S303, when it is determined that entry_ES_stream_id and entry_ES_private_stream_id (FIG. 7) for specifying the elementary stream are not described in the processing target mark, that is, when both entry_ES_stream_id and entry_ES_private_stream_id are 0x00, step S304 is skipped. Proceeding to step S305, the process according to the process target mark is performed.

또한, 스텝 S303에서, 처리 대상 mark에, 엘리멘터리 스트림을 특정하는 entry_ES_stream_id와 entry_ES_private_stream_id(도 7)가 기술되어 있다고 판정된 경우, 스텝 S304로 진행하여, 플레이어 제어 모듈(212)은, 재생 중인 엘리멘터리 스트림에, 그 entry_ES_stream_id, 나아가서는, 필요에 따라서 entry_ES_private_stream_id에 의해 특정되는 엘리멘터리 스트림이 포함되는지의 여부를 판정한다. In addition, when it is determined in step S303 that entry_ES_stream_id and entry_ES_private_stream_id (FIG. 7) for specifying the elementary stream are described in the processing target mark, the flow advances to step S304, whereby the player control module 212 proceeds to play Eli. It is determined whether the elementary stream contains the elementary stream specified by the entry_ES_stream_id, and furthermore, entry_ES_private_stream_id as necessary.

스텝 S304에서, 재생 중인 엘리멘터리 스트림에, 처리 대상 mark의 entry_ES_stream_id와 entry_ES_private_stream_id에 의해 특정되는 엘리멘터리 스트림이 포함되지 않는다고 판정된 경우, 스텝 S301로 되돌아간다. 즉, 처리 대상 mark의 entry_ES_stream_id와 entry_ES_private_stream_id에 의해 특정되는 엘리멘터리 스트림이 재생되어 있지 않은 경우, 처리 대상 mark는, 무시된다. In step S304, when it is determined that the elementary stream being reproduced does not contain the elementary stream specified by entry_ES_stream_id and entry_ES_private_stream_id of the processing target mark, the flow returns to step S301. That is, when the elementary stream specified by entry_ES_stream_id and entry_ES_private_stream_id of the mark to be processed is not reproduced, the mark to be processed is ignored.

한편, 스텝 S304에서, 재생 중인 엘리멘터리 스트림에, 처리 대상 mark의 entry_ES_stream_id와 entry_ES_private_stream_id에 의해 특정되는 엘리멘터리 스트림이 포함된다고 판정된 경우, 즉, 처리 대상 mark의 entry_ES_stream_id와 entry_ES_private_stream_id에 의해 특정되는 엘리멘터리 스트림이 재생되어 있는 경우, 처리 대상 mark는 유효한 것으로 하여, 스텝 S305로 진행하고, 이하, 그 처리 대상 mark에 따른 처리가 행하여진다. On the other hand, in step S304, when it is determined that the elementary stream being played includes the elementary stream specified by entry_ES_stream_id and entry_ES_private_stream_id of the mark to be processed, that is, the element identified by entry_ES_stream_id and entry_ES_private_stream_id of the mark to be processed. If the mentor stream is being reproduced, the processing target mark is assumed to be valid, and the flow proceeds to step S305, whereupon the processing corresponding to the processing target mark is performed.

즉, 스텝 S305에서는, 플레이어 제어 모듈(212)은, 처리 대상 mark의 mark_type(도 7)를 참조함으로써, 그 처리 대상 mark를 판정한다. That is, in step S305, the player control module 212 determines the processing target mark by referring to the mark_type (FIG. 7) of the processing target mark.

스텝 S305에서, 처리 대상 mark가, 챕터 마크 또는 인덱스 마크라고 판정된 경우, 즉, 처리 대상 mark의 mark_type가, 'Chapter' 또는 'Index'인 경우, 스텝 S306으로 진행하여, 플레이어 제어 모듈(212)은, 그래픽스 처리 모듈(219)에 명령하여, 챕터 또는 인덱스의 번호의 표시를, 처리 대상 mark인 챕터 마크 또는 인덱스 마크가 나타내는 챕터 또는 인덱스의 번호로 갱신시켜, 스텝 S301로 되돌아간다. In step S305, when it is determined that the processing target mark is a chapter mark or an index mark, that is, when the mark_type of the processing target mark is 'Chapter' or 'Index', the process proceeds to step S306, whereby the player control module 212 Instructs the graphics processing module 219 to update the display of the chapter or index number to the chapter or index number indicated by the chapter mark or index mark which is the processing target mark, and returns to step S301.

또한, 스텝 S305에서, 처리 대상 mark가, 이벤트 마크라고 판정된 경우, 즉, 처리 대상 mark의 mark_type가, 'Event'인 경우, 스텝 S307로 진행하여, 플레이어 제어 모듈(212)은, 이벤트의 발생을 나타내는 이벤트 메시지와, 처리 대상 mark의 mark_data를, 스크립트 제어 모듈(211)에 통지(공급)하여, 스텝 S308로 진행한다. In addition, when it is determined in step S305 that the process target mark is an event mark, that is, when the mark_type of the process target mark is 'Event', the process proceeds to step S307, where the player control module 212 generates an event. The script control module 211 is notified (supplied) of the event message indicating and mark_data of the mark to be processed, and the flow proceeds to step S308.

스텝 S308에서는, 스크립트 제어 모듈(211)이, 플레이어 제어 모듈(212)로부터의 이벤트 메시지와 mark_data를 수신하고, 이벤트 메시지를 인터럽트 요구로 하여, 미리 "SCRIPT.DAT" 파일에 기술된 일련의 처리를, mark_data를 인수로 하여 행하여, 스텝 S301로 되돌아간다. In step S308, the script control module 211 receives the event message and mark_data from the player control module 212, sets the event message as an interrupt request, and performs a series of processes previously described in the "SCRIPT.DAT" file. and mark_data as arguments, and the flow returns to step S301.

즉, 스크립트 제어 모듈(211)에서는, mark_data에 대응한 처리가 행하여진다. In other words, the script control module 211 performs processing corresponding to mark_data.

구체적으로는, 예를 들면, 도 28 하측에 도시한 PlayList #1의 PlayListMark()에서는, 2번째의 Mark()(Mark #1)와 3번째의 Mark()(Mark #2)는, 모두, mark_type가 'Event'이지만, mark_data는, 각각 1(Mark #1)과 2(Mark #2)로 상이하다. Specifically, for example, in PlayListMark () of PlayList # 1 shown below in FIG. 28, the second Mark () (Mark # 1) and the third Mark () (Mark # 2) are both: Although mark_type is "Event", mark_data differs into 1 (Mark # 1) and 2 (Mark # 2), respectively.

스크립트 제어 모듈(211)은, 2번째의 Mark()에 대응하는 이벤트 메시지를 수신한 경우와, 3번째의 Mark()에 대응하는 이벤트 메시지를 수신한 경우의, 어떠한 경우도, 그 이벤트 메시지에 따라서, 동일한 이벤트 핸들러(인터럽트 처리 루틴)에서 처리를 행하지만, 이벤트 핸들러 내에서, 이벤트 메시지와 함께 공급되는 mark_data를 검사함으로써, 이벤트 메시지에 대하여, mark_data마다 서로 다른 처리를 행한다. In any case, the script control module 211 receives the event message corresponding to the second Mark () and the event message corresponding to the third Mark (). Therefore, although processing is performed in the same event handler (interrupt processing routine), different processing is performed for each mark_data for the event message by checking mark_data supplied with the event message in the event handler.

구체적으로는, 예를 들면, mark_data가 1인 경우에는, 스크립트 제어 모듈(211)은, 그래픽스 처리 모듈(219)을 제어하여, 제1 종류의 아이콘의 표시를 행하게 한다. 또한, 예를 들면, mark_data가 2인 경우, 스크립트 처리 모듈(211)은, 그래픽스 처리 모듈(219)을 제어하여, 제2 종류의 아이콘의 표시를 행하게 한다. Specifically, for example, when mark_data is 1, the script control module 211 controls the graphics processing module 219 to display the first type of icon. For example, when mark_data is 2, the script processing module 211 controls the graphics processing module 219 to display the second type of icon.

또한, mark_data는, 1이나 2에 한정되는 것은 아니며, 또한, mark_data에 대응하여 행하여지는 처리도, 상술한 바와 같은, 간단한 아이콘의 표시에 한정되는 것은 아니다. In addition, mark_data is not limited to 1 or 2, and the process performed corresponding to mark_data is not limited to display of a simple icon as mentioned above.

즉, 예를 들면, mark_data가 3 내지 18의 범위의 값인 경우에는, 스크립트 제어 모듈(211)은, 그래픽스 처리 모듈(219)을 제어하여, 제1 종류의 아이콘의 표시를, mark_data로부터 2를 뺀 값(1~16의 수치)에 대응하는 밝기로 행하게 한다. 또한, 예를 들면, mark_data가 19 내지 34의 범위의 값인 경우에는, 스크립트 제어 모듈(211)은, 그래픽스 처리 모듈(219)을 제어하여, 제2 종류의 아이콘의 표시를, mark_data로부터 18을 뺀 값(1~16의 수치)에 대응하는 밝기로 행하게 한다. That is, for example, when mark_data is a value in the range of 3-18, the script control module 211 controls the graphics processing module 219 to subtract 2 from mark_data to display the first type of icon. It is performed with brightness corresponding to a value (number of 1-16). For example, if mark_data is a value in the range of 19 to 34, the script control module 211 controls the graphics processing module 219 to subtract 18 from the mark_data to display the second type of icon. It is performed with brightness corresponding to a value (number of 1-16).

그 밖에, 예를 들면, 입력 인터페이스(115)(도 1)에, 유저가 조작하는 컨트롤러가 접속되어 있고, 그 컨트롤러가, DC(Direct Current) 모터의 축에 편심시킨 추를 부착한, DC 모터를 동작시키면 진동이 발생하는 진동 모터를 내장하는 경우에는, mark_data가 35 내지 42의 범위의 값일 때에, 그 진동 모터를, mark_data로부터 34를 뺀 값(1~8의 수치)에 따른 동작 시간만큼 동작시킬 수 있다. In addition, for example, the controller which a user operates is connected to the input interface 115 (FIG. 1), and the DC motor which attached the weight which the controller attached to the axis | shaft of a DC (Direct Current) motor is attached. If a built-in vibrating motor is generated when vibration is generated, when the mark_data is a value in the range of 35 to 42, the vibrating motor is operated by the operation time according to the value obtained by subtracting 34 from the mark_data (the value of 1 to 8). You can.

mark_data는 수치이며, 그 사용법이나 알고리즘은, 스크립트 제어 모듈(211)이 실행하는 스크립트 프로그램에 의해 기술할 수 있다. 따라서, mark_data는, 사 전에 정해진 룰로 사용하는 것 외에, 디스크(101)의 제조자, 혹은 디스크(101)에 기록되는 데이터를 제공하는 콘텐츠 프로바이더 등이 독자적으로 설정한 룰로 사용하는 것이 가능하다. mark_data is a numerical value, and its usage and algorithm can be described by a script program executed by the script control module 211. Therefore, mark_data can be used not only by using a predetermined rule, but also by a rule independently set by the manufacturer of the disc 101, a content provider that provides data recorded on the disc 101, or the like.

이상과 같이, 마크 처리에서는, 현재 시각이, 「마크 처리」의 속성의 시각과 일치하면, 그 「마크 처리」의 속성의 시각인 마크 시각으로부터, 처리 대상 mark가 인식된다. 또한, 처리 대상 mark에서, 엘리멘터리 스트림을 특정하는 entry_ES_stream_id와 entry_ES_private_stream_id가 기술되어 있지 않은 경우에는, 처리 대상 mark의 mark_type에 따른 처리가 행하여진다. 또한, 처리 대상 mark에서, 엘리멘터리 스트림을 특정하는 entry_ES_stream_id와 entry_ES_private_stream_id가 기술되어 있는 경우라도, 그 entry_ES_stream_id와 entry_ES_private_stream_id에 의해 특정되는 엘리멘터리 스트림이 재생 중이면, 처리 대상 mark의 mark_type에 따른 처리가 행하여진다. As described above, in the mark processing, when the current time coincides with the time of the attribute of "mark processing", the processing target mark is recognized from the mark time which is the time of the attribute of "mark processing". In addition, when entry_ES_stream_id and entry_ES_private_stream_id for specifying the elementary stream are not described in the processing target mark, processing according to the mark_type of the processing target mark is performed. In addition, even if entry_ES_stream_id and entry_ES_private_stream_id that specify an elementary stream are described in the mark to be processed, if the elementary stream specified by the entry_ES_stream_id and entry_ES_private_stream_id is being played, processing according to mark_type of the mark to be processed is performed. Is done.

따라서, 예를 들면, 지금, 도 25에 도시한 2번째의 PlayList #1의 재생이 행하여지고 있는 것으로 하면, 이하와 같은 마크 처리가 행하여진다. Therefore, for example, suppose that the reproduction of the second PlayList # 1 shown in Fig. 25 is performed now, the following mark processing is performed.

즉, 2번째의 PlayList #1의 PlayListMark()에서는, 도 28 하측에 도시한 바와 같이, mark_time_stamp가 각각 90,000, 27,090,000, 27,540,000로 지정되어 있는 1번째의 Mark()(Mark #0), 2번째의 Mark()(Mark #1), 3번째의 Mark()(Mark #2)가 기술되어 있다. That is, in PlayListMark () of the second PlayList # 1, as shown in the lower part of Fig. 28, the first Mark () (Mark # 0) and the second Mark_time_stamp are respectively designated 90,000, 27,090,000, and 27,540,000. Mark () (Mark # 1) and the third Mark () (Mark # 2) are described.

또한, 도 28 하측의 PlayListMark()에서는, 2번째의 Mark()와 3번째의 Mark()의 entry_ES_stream_id에는, 각각, 0xE0과 0xE1이 기술되어 있기 때문에, 2 번째의 Mark()와 3번째의 Mark()는, 각각, stream_id가 0xE0과 0xE1로 특정되는 엘리멘터리 스트림이 관련지어져 있다. In the PlayListMark () at the bottom of Fig. 28, 0xE0 and 0xE1 are described in the entry_ES_stream_id of the second Mark () and the third Mark (), respectively, so that the second Mark () and the third Mark are respectively described. () Is associated with an elementary stream whose stream_id is specified by 0xE0 and 0xE1, respectively.

여기서, 도 25에서 설명한 바와 같이, 2번째의 PlayList #1에는, 1개의 PlayItem()(PlayItem #0)만이 기술되며, 그 PlayItem #0에 따르면, 클립 스트림 파일 "00003.PS"가 재생된다. 그리고, 클립 스트림 파일 "00003.PS"에는, 그 클립 스트림 파일 "00003.PS"에 대응하는 도 26의 클립 정보 파일 "00003.CLP"에서 설명한 바와 같이, 0xE0으로 되어 있는 stream_id로 특정되는 비디오 스트림 stream #0, 0xE1로 되어 있는 stream_id로 특정되는 비디오 스트림 stream #1, 0xBD로 되어 있는 stream_id 및 0x00으로 되어 있는 private_stream_id로 특정되는 오디오 스트림 stream #2의 3개의 엘리멘터리 스트림이 다중화되어 있다. As described with reference to Fig. 25, only one PlayItem () (PlayItem # 0) is described in the second PlayList # 1, and according to the PlayItem # 0, the clip stream file "00003.PS" is played. In the clip stream file "00003.PS", as described in the clip information file "00003.CLP" in FIG. 26 corresponding to the clip stream file "00003.PS", the video stream identified by stream_id of 0xE0 is specified. The three elementary streams of the video stream stream # 1 identified by stream # 0, stream_id of 0xE1, stream_id of 0xBD, and private stream_id of 0x00 are multiplexed.

따라서, 도 28 하측의 PlayListMark()의 2번째의 Mark()에는, 클립 스트림 파일 "00003.PS"에 다중화되어 있는, stream_id가 0xE0으로 되어 있는 비디오 스트림 stream #0을 관련지어져 있고, 3번째의 Mark()에는, 클립 스트림 파일 "00003.PS"에 다중화되어 있는, stream_id가 0xE1로 되어 있는 비디오 스트림 stream #1이 관련지어져 있다. Therefore, the second Mark () of PlayListMark () at the bottom of Fig. 28 is associated with the video stream stream # 0 having the stream_id of 0xE0 multiplexed in the clip stream file "00003.PS" and the third Mark (). Mark () is associated with a video stream stream # 1 having a stream_id of 0xE1 multiplexed with a clip stream file "00003.PS".

도 25의 2번째의 PlayList #1의 PlayItem #0의 재생이 개시되는 경우, 도 30의 스텝 S124에서 설명한 바와 같이 하여, 플레이어 제어 모듈(212)은, 도 28 하측에 도시한 PlayListMark()에 포함되는 3개의 Mark()가, PlayList #1의 PlayItem #0에 속해 있는 것을 인식하고, 그 3개의 Mark()의 mark_time_stamp인 {90,000}, {27,090,000}, {27,540,000}을, 그 mark_time_stamp가 나타내는 시각의 속성이 「 마크 처리」라는 취지와 함께, 디코드 제어 모듈(214)에 건네주고 있다. When playback of PlayItem # 0 of the second PlayList # 1 of FIG. 25 is started, as described in step S124 of FIG. 30, the player control module 212 is included in the PlayListMark () shown in FIG. 28 below. Recognizes that three Mark () s belong to PlayItem # 0 of PlayList # 1, and that {90,000}, {27,090,000}, and {27,540,000}, which are mark_time_stamp of the three Mark (), of the time indicated by the mark_time_stamp The attribute is passed to the decode control module 214 with the intention of "mark processing".

마크 처리에서는, 디코드 제어 모듈(214)이, PlayList #1의 PlayItem #0의 재생 중에, 계시부(214A)에 의해 계시되는 현재 시각이, 속성이 「마크 처리」의 시각 {90,000}, {27,090,000}, {27,540,000} 중의 어느 하나와 일치하는지를, 항상 확인하고 있고(스텝 S301), 현재 시각이, 속성이 「마크 처리」의 시각과 일치하면, 현재 시각과 일치한 「마크 처리」의 속성의 시각인 마크 시각과, 현재 시각이, 「마크 처리」의 속성의 시각으로 되었다는 취지의 메시지를, 플레이어 제어 모듈(212)에 공급한다. In the mark processing, the current time clocked by the time releasing unit 214A during the playback of PlayItem # 0 of PlayList # 1 by the decoding control module 214 has the attributes {90,000}, {27,090,000} , {27,540,000} is always matched (step S301), and if the current time matches the time of "mark processing", the time of the attribute of "mark processing" matching the current time is A message indicating that the mark time and the current time have become the time of the attribute of "mark processing" is supplied to the player control module 212.

즉, 예를 들면, 지금, 현재 시각이, 「마크 처리」의 속성의 시각 {90,000}, {27,090,000}, {27,540,000} 중의, 27,090,000과 일치한 것으로 하면, 디코드 제어 모듈(214)은, 현재 시각과 일치한 「마크 처리」의 속성의 시각인 마크 시각 27,090,000과, 현재 시각이, 「마크 처리」의 속성의 시각으로 되었다는 취지의 메시지를, 플레이어 제어 모듈(212)에 공급한다. That is, for example, if it is assumed that now the current time coincides with 27,090,000 of the time {90,000}, {27,090,000}, and {27,540,000} of the attribute of "mark processing", the decode control module 214 is the current time. The player control module 212 supplies a message to the player control module 212 indicating that the mark time 27,090,000 which is the time of the attribute of "mark processing" and the current time have become the time of the attribute of "mark processing".

플레이어 제어 모듈(212)은, PlayList #1의 PlayItem #0이 현재 재생되어 있는 것을 인식하고 있고, 그 PlayList #1의 도 28 하측에 도시한 PlayListMark()에 기술된 Mark() 중의, PlayItem #0에 속하는 3개의 Mark()의 mark_time_stamp인 90,000, 27,090,000, 27,540,000 각각과, 디코드 제어 모듈(214)로부터의 마크 시각인 27,090,000을 비교함으로써, 그 마크 시각 27,090,000에, mark_time_stamp가 일치하는 Mark(), 즉, 도 28 하측의 PlayListMark()에 기술된 2번째의 Mark()(Mark #1)를, 처리 대상 mark로서 인식한다(스텝 S302).The player control module 212 recognizes that PlayItem # 0 of PlayList # 1 is currently played, and PlayItem # 0 of Mark () described in PlayListMark () shown in FIG. 28 below of PlayList # 1. By comparing 90,000, 27,090,000, and 27,540,000 which are mark_time_stamp of three Mark () belonging to each other with 27,090,000 which is the mark time from the decode control module 214, the Mark () whose mark_time_stamp matches the mark time 27,090,000, that is, The second Mark () (Mark # 1) described in the PlayListMark () at the lower side in Fig. 28 is recognized as the processing target mark (step S302).

처리 대상 mark인, 도 28 하측의 PlayListMark()에 기술된 2번째의 Mark()에서는, entry_ES_stream_id로서, 0xE0이 지정되어 있다. 이 0xE0으로 되어 있는 entry_ES_stream_id는, 상술한 것으로부터, 클립 스트림 파일 "00003.PS"에 다중화되어 있는, stream_id가 0xE0으로 되어 있는 비디오 스트림 stream #0(도 26)을 나타내는 것이며, 플레이어 제어 모듈(212)은, 재생 중인 엘리멘터리 스트림 중에, 그 비디오 스트림 stream #0이 포함되는지의 여부를 판정한다(스텝 S303, S304).In the second Mark () described in PlayListMark () at the lower side in Fig. 28, 0xE0 is designated as entry_ES_stream_id. The entry_ES_stream_id of 0xE0 indicates the video stream stream # 0 (FIG. 26) in which stream_id is 0xE0, which is multiplexed into the clip stream file "00003.PS" from the above. ) Determines whether the video stream stream # 0 is included in the elementary stream being played back (steps S303, S304).

그리고, 재생 중인 엘리멘터리 스트림 중에, 비디오 스트림 stream #0이 포함되지 않는 경우에는, 처리 대상 mark는 무시된다(스텝 S304).If the video stream stream # 0 is not included in the elementary stream being played back, the processing target mark is ignored (step S304).

한편, 재생 중인 엘리멘터리 스트림 중에, 비디오 스트림 stream #0이 포함되는 경우에는, 처리 대상 mark는 유효한 것으로 하여, 그 처리 대상 mark에 따른 처리가 행하여진다(스텝 S305 내지 S308).On the other hand, when the video stream stream # 0 is included in the elementary stream being played back, the processing target mark is assumed to be valid, and processing corresponding to the processing target mark is performed (steps S305 to S308).

즉, 지금의 경우, 처리 대상 mark인, 도 28 하측의 PlayListMark()에 기술된 2번째의 Mark()는, 그 mark_type가 'Event'로 되어 있기 때문에 이벤트 마크이며, 따라서, 플레이어 제어 모듈(212)은, 이벤트의 발생을 나타내는 이벤트 메시지와, 처리 대상 mark의 mark_data를, 스크립트 제어 모듈(211)에 공급한다(스텝 S305, S307). 그리고, 스크립트 제어 모듈(211)에서는, 플레이어 제어 모듈(212)로부터의 이벤트 메시지를 인터럽트 요구로 하여, 미리 "SCRIPT.DAT" 파일에 기술된 일련의 처리를, 그 이벤트 메시지와 함께 공급된 mark_data를 인수로 하여 행한다(스텝 S308).That is, in this case, the second Mark () described in PlayListMark () at the lower side of Fig. 28, which is the processing target mark, is an event mark because its mark_type is 'Event', and therefore, the player control module 212 ) Supplies an event message indicating the occurrence of the event and mark_data of the processing target mark to the script control module 211 (steps S305 and S307). Then, the script control module 211 uses the event message from the player control module 212 as an interrupt request, and performs a series of processes described in the "SCRIPT.DAT" file in advance, and mark_data supplied with the event message. It performs as an argument (step S308).

이상과 같이, 마크 처리에 따르면, PlayList()의 시간축 상의 1개의 재생 시 각을 나타내는 mark_time_stamp와, Mark()의 타입을 나타내는 mark_type와, 이벤트 마크의 인수로 되는 mark_data를 포함하는 0 이상의 Mark()를 갖는 PlayListMark()(도 7)를 포함하는 PlayList()(도 5)에 따라서 재생되어 있는 클립 스트림 파일의 재생 시각인 현재 시각이, mark_time_stamp와 일치하는지의 여부가 판정되고, 현재 시각이, mark_time_stamp와 일치하는 경우에, 그 일치한 현재 시각인 마크 시각과 동일한 mark_time_stamp를 갖는 Mark()가, 처리 대상 mark로서 인식된다. 또한, 그 처리 대상 mark가 갖는 mark_type가, 이벤트를 발생시키는 타입을 나타내고 있는 경우, 즉, 처리 대상 mark가, 이벤트 마크인 경우, 처리 대상 mark가 갖는 mark_data와 이벤트 메시지가 통지되고, 그 mark_data에 따른 처리가 실행된다. 따라서, 클립 스트림 파일의 재생 시간에 따라서, mark_data에 따른 처리를 실행하는 것이 가능하게 된다. As described above, according to the mark processing, zero or more Mark () including mark_time_stamp indicating one playback time on the time axis of PlayList (), mark_type indicating the type of Mark (), and mark_data as an argument of the event mark. According to PlayList () (FIG. 5) including PlayListMark () (FIG. 7), the current time, which is the playback time of the clip stream file being played, is determined to match mark_time_stamp, and the current time is mark_time_stamp. In the case of coinciding with, Mark () having the same mark_time_stamp as the mark time as the coincidence current time is recognized as the mark to be processed. If the mark_type of the mark to be processed indicates the type of generating an event, that is, if the mark to be processed is an event mark, the mark_data and the event message of the mark to be processed are notified, and the processing according to the mark_data is performed. Is executed. Therefore, according to the playback time of the clip stream file, it is possible to execute the processing corresponding to mark_data.

[출력 속성의 제어 처리][Control Processing of Output Properties]

다음으로, 도 41의 플로우차트를 참조하여, 도 30의 스텝 S126 등에서 행하여지는 출력 속성의 제어 처리의 상세에 대하여 설명한다. Next, with reference to the flowchart of FIG. 41, the detail of the control process of the output attribute performed by step S126 of FIG. 30 etc. is demonstrated.

도 30의 스텝 S126에서 설명한 바와 같이, 플레이어 제어 모듈(212)은, 우선, 재생 대상인 1이상의 엘리멘터리 스트림, 즉, 도 30의 스텝 S125에서 재생한다고 결정한 1이상의 엘리멘터리 스트림 각각에 대하여, 출력 속성이 기술되는 DynamicInfo()(도 13)의 수를 나타내는 number_of_DynamicInfo(도 10)를 조사한다. As described in step S126 of FIG. 30, the player control module 212 firstly, for each of one or more elementary streams to be reproduced, that is, one or more elementary streams determined to be reproduced in step S125 of FIG. 30, Number_of_DynamicInfo (FIG. 10) indicating the number of DynamicInfo () (FIG. 13) in which the output attribute is described is examined.

그리고, 재생 대상인 1이상의 엘리멘터리 스트림의 전부에 대하여, number_of_DynamicInfo가 0으로 되어 있는 경우, 플레이어 제어 모듈(212)은, 특별 히 처리를 행하지 않는다. When the number_of_DynamicInfo is 0 for all one or more elementary streams to be played back, the player control module 212 does not perform processing in particular.

한편, 재생 대상인 엘리멘터리 스트림에 관한 number_of_DynamicInfo가 0이 아닌 경우, 플레이어 제어 모듈(212)은, 도 41의 플로우차트에 따른 출력 속성의 제어 처리를 행한다. On the other hand, when number_of_DynamicInfo regarding the elementary stream to be played back is not 0, the player control module 212 performs the process of controlling the output attribute according to the flowchart of FIG.

따라서, 디스크(101)에 기록된 3개의 클립 정보 파일 "00001.CLP", "00002.CLP", "00003.CLP"가, 예를 들면, 도 26에 도시한 바와 같이 되어 있는 경우에, 클립 정보 파일 "00001.CLP"에 대응하는 클립 스트림 파일 "00001.PS"(를 재생하는 1번째의 PlayList #0의 1번째의 PlayItem #0)가 재생될 때에는, 클립 정보 파일 "00001.CLP"(도 26)에서는, 클립 스트림 파일 "00001.PS"에 다중화되어 있는 4개의 엘리멘터리 스트림 stream #0 내지 stream #3의 전부에 대하여, number_of_DynamicInfo가 0으로 되어 있기 때문에, 출력 속성의 제어 처리는 행하여지지 않는다. Therefore, in the case where the three clip information files " 00001.CLP ", " 00002.CLP ", " 00003.CLP " recorded on the disc 101 are as shown in FIG. When the clip stream file "00001.PS" (the first PlayItem # 0 of the first PlayList # 0 to play back) corresponding to the information file "00001.CLP" is played back, the clip information file "00001.CLP" ( In Fig. 26), for all of the four elementary streams stream # 0 to stream # 3 multiplexed in the clip stream file "00001.PS", the number_of_DynamicInfo is 0, so that the output attribute control process is performed. I do not lose.

마찬가지로, 클립 정보 파일 "00002.CLP"에 대응하는 클립 스트림 파일 "00002.PS"(를 재생하는 1번째의 PlayList #0의 2번째의 PlayItem #1)가 재생될 때에도, 클립 정보 파일 "00002.CLP"(도 26)에서는, 클립 스트림 파일 "00002.PS"에 다중화되어 있는 4개의 엘리멘터리 스트림 stream #0 내지 stream #3의 전부에 대하여, number_of_DynamicInfo가 0으로 되어 있기 때문에, 출력 속성의 제어 처리는 행하여지지 않는다. Similarly, even when the clip stream file "00002.PS" (the second PlayItem # 1 of the first PlayList # 0 that plays back) corresponding to the clip information file "00002.CLP" is played, the clip information file "00002." In the CLP "(FIG. 26), since number_of_DynamicInfo is 0 for all four elementary streams stream # 0 to stream # 3 multiplexed in the clip stream file" 00002.PS ", the output attribute is controlled. No processing is done.

한편, 클립 정보 파일 "00003.CLP"에 대응하는 클립 스트림 파일 "00003.PS"(를 재생하는 2번째의 PlayList #1의 PlayItem #0)가 재생될 때에는, 클 립 정보 파일 "00003.CLP"(도 26)에서, 클립 스트림 파일 "00003.PS"에 다중화되어 있는 3개의 엘리멘터리 스트림 stream #0 내지 stream #2 중의, 1번째의 엘리멘터리 스트림인 비디오 스트림 stream #0과, 3번째의 엘리멘터리 스트림인 오디오 스트림 stream #2에 대하여, number_of_DynamicInfo가 0이 아닌 2와 3으로, 각각 되어 있기 때문에, 출력 속성의 제어 처리가 행하여진다. On the other hand, when the clip stream file "00003.PS" (PlayItem # 0 of the second PlayList # 1 that plays back) corresponding to the clip information file "00003.CLP" is played back, the clip information file "00003.CLP" is played. In Fig. 26, video stream stream # 0, which is the first elementary stream, among the three elementary streams stream # 0 to stream # 2 multiplexed in the clip stream file "00003.PS", and the third The number_of_DynamicInfo is set to 2 and 3 instead of 0 for audio stream stream # 2 which is an elementary stream of?, So that output attribute control processing is performed.

즉, 출력 속성의 제어 처리에서는, 우선 최초로, 스텝 S320에서, 플레이어 제어 모듈(212)은, 재생 대상의 클립 스트림 파일에 대응하는 클립 정보 파일 Clip()(도 10)에 기술된 pts_change_point를, 「DynamicInfo() 처리」의 속성의 시각이라는 취지와 함께, 디코드 제어 모듈(214)에 전달하고, 디코드 제어 모듈(214)은, 플레이어 제어 모듈(212)로부터의 「DynamicInfo() 처리」의 속성의 시각인 pts_change_point를 수신하여, 스텝 S321로 진행한다. That is, in the output attribute control process, first, in step S320, the player control module 212 selects pts_change_point described in the clip information file Clip () (Fig. 10) corresponding to the clip stream file to be played back, " With the intention that the time of the attribute of the DynamicInfo () process is conveyed, it is transmitted to the decode control module 214, and the decode control module 214 transmits the time of the attribute of the "DynamicInfo () process" from the player control module 212. After receiving pts_change_point, the process proceeds to step S321.

스텝 S321에서는, 디코드 제어 모듈(214)이, 계시부(214A)에 의해 계시되어 있는 현재 시각이, 「DynamicInfo() 처리」의 속성의 시각인 pts_change_point(중 어느 하나)와 일치하였는지의 여부를 판정하고, 일치하지 않았다고 판정한 경우, 스텝 S321로 되돌아간다. In step S321, the decode control module 214 determines whether or not the current time indicated by the timekeeping unit 214A coincides with any one of pts_change_point which is the time of the attribute of the "DynamicInfo () process". If it is determined that they do not match, the flow returns to step S321.

또한, 스텝 S321에서, 현재 시각이, 「DynamicInfo() 처리」의 속성의 시각(중 어느 하나)과 일치하였다고 판정된 경우, 디코드 제어 모듈(214)은, 현재 시각이, 「DynamicInfo() 처리」의 속성의 시각으로 되었다는 취지의 메시지와, 현재 시각과 일치한 「DynamicInfo() 처리」의 속성의 시각(이하, 적절하게, DynamicInfo 시간이라고 함)을, 플레이어 제어 모듈(212)에 공급하여, 스텝 S322로 진행한다. In addition, when it is determined in step S321 that the current time coincides with any one of the time of the attribute of "DynamicInfo () processing", the decoding control module 214 determines that the current time is "DynamicInfo () processing". A message indicating that the time has passed to the attribute and the time of the attribute of the "DynamicInfo () process" corresponding to the current time (hereinafter, appropriately referred to as DynamicInfo time) are supplied to the player control module 212. Proceed to S322.

스텝 S332에서는, 플레이어 제어 모듈(212)이, 현재 시각이, 「DynamicInfo() 처리」의 속성의 시각으로 되었다는 취지의 메시지와, DynamicInfo 시각을, 디코드 제어 모듈(214)로부터 수신하고, 그 DynamicInfo 시각과 일치하는 pts_change_point(도 10)와 세트로 되어 있는 DynamicInfo()를, 처리 대상의 DynamicInfo()인 처리 대상 DynamicInfo()로서 인식하여, 스텝 S323으로 진행한다. In step S332, the player control module 212 receives a message indicating that the current time has become the time of the attribute of "DynamicInfo () processing" and the DynamicInfo time from the decoding control module 214, and the DynamicInfo time. DynamicInfo (), which is set with pts_change_point (Fig. 10) matching with, is recognized as the processing target DynamicInfo () which is the DynamicInfo () of the processing target, and the flow proceeds to step S323.

스텝 S323에서는, 플레이어 제어 모듈(212)은, 처리 대상 DynamicInfo()로 되어 있는 DynamicInfo()(도 13)에 기술된 출력 속성을, 그래픽스 처리 모듈(219) 또는 오디오 출력 모듈(221)에 공급하여, 스텝 S324로 진행한다. In step S323, the player control module 212 supplies the output attribute described in DynamicInfo () (Fig. 13), which is the processing target DynamicInfo (), to the graphics processing module 219 or the audio output module 221. The flow proceeds to step S324.

스텝 S324에서는, 그래픽스 처리 모듈(219) 또는 오디오 출력 모듈(221)이, 직전의 스텝 S323에서 플레이어 제어 모듈(212)로부터 공급된 출력 속성에 따라서, 비디오 데이터 또는 오디오 데이터의 출력의 제어를, 각각 개시하고, 스텝 S321로 되돌아간다. In step S324, the graphics processing module 219 or the audio output module 221 controls the output of the video data or the audio data, respectively, in accordance with the output attribute supplied from the player control module 212 in the previous step S323. The process then returns to Step S321.

이에 의해, 비디오 데이터가, 출력 속성(표시 방식)으로서 기술된, 예를 들면 어스펙트비에 따라서 출력되거나, 혹은, 오디오 데이터가, 출력 속성(출력 방식)으로서 기술된, 예를 들면, 스테레오 또는 듀얼(2개국어)에 따라서 출력된다. Thereby, video data is output according to the aspect ratio described as an output attribute (display system), for example, or audio data is described as output attribute (output system), for example, stereo or It is output according to dual (two languages).

다음으로, 도 42를 참조하여, 출력 속성의 제어 처리의 상세에 대하여, 더욱 설명한다. Next, with reference to FIG. 42, the detail of the control process of an output attribute is further demonstrated.

즉, 도 42는, 도 26의 클립 정보 파일 "00003.CLP"에 기술되어 있는 pts_change_point와 DynamicInfo()와의 세트(도 10)를 도시하고 있다. That is, FIG. 42 shows a set (p. 10) of pts_change_point and DynamicInfo () described in the clip information file "00003.CLP" in FIG.

여기서, 상술한 바와 같이, 클립 스트림 파일 "00003.PS"에 다중화되어 있는 3개의 엘리멘터리 스트림 stream #0 내지 stream #2 중의, 1번째의 엘리멘터리 스트림인 비디오 스트림 stream #0과, 3번째의 엘리멘터리 스트림인 오디오 스트림 stream #2에 대해서는, 도 26의 클립 정보 파일 "00003.CLP"에서, number_of_DynamicInfo가, 각각 2와 3으로 되어 있다. 따라서, 클립 정보 파일 "00003.CLP"에서, 클립 스트림 파일 "00003.PS"의 1번째의 비디오 스트림 stream #0에 대해서는, 2세트의 pts_change_point 및 DynamicInfo()가 기술되어 있고, 3번째의 오디오 스트림 stream #2에 대해서는, 3세트의 pts_change_point 및 DynamicInfo()가 기술되어 있다. As described above, the video stream stream # 0 which is the first elementary stream among the three elementary streams stream # 0 to stream # 2 multiplexed in the clip stream file "00003.PS", and 3, For the audio stream stream # 2 which is the first elementary stream, the number_of_DynamicInfo is 2 and 3 in the clip information file "00003.CLP" in FIG. 26, respectively. Therefore, in the clip information file "00003.CLP", two sets of pts_change_point and DynamicInfo () are described for the first video stream stream # 0 of the clip stream file "00003.PS", and the third audio stream is described. For stream # 2, three sets of pts_change_point and DynamicInfo () are described.

도 42 상측은, 클립 스트림 파일 "00003.PS"의 1번째의 비디오 스트림 stream #0에 대하여 기술되어 있는 2세트의 pts_change_point 및 DynamicInfo()를 도시하고 있고, 도 42 하측은, 클립 스트림 파일 "00003.PS"의 3번째의 오디오 스트림 stream #2에 대하여 기술되어 있는 3세트의 pts_change_point 및 DynamicInfo()를 도시하고 있다. The upper side of FIG. 42 shows two sets of pts_change_point and DynamicInfo () described with respect to the first video stream stream # 0 of the clip stream file "00003.PS", and the lower side of FIG. 42 shows the clip stream file "00003." Three sets of pts_change_point and DynamicInfo () are described for the third audio stream stream # 2 of ".PS".

또한, 도 42 상측에서는, 1번째의 비디오 스트림 stream #0에 대하여 기술되어 있는 2세트의 pts_change_point 및 DynamicInfo() 이외에, 그 비디오 스트림 stream #0에 대하여, 도 26의 클립 정보 파일 "00003.CLP"에 기술되어 있는 stream_id(=0xE0), private_stream_id(=0x00), number_of_DynamicInfo(=2)도, 도시하고 있다. 마찬가지로, 도 42 하측에서도, 3번째의 오디오 스트림 stream #2에 대하여 기술되어 있는 3세트의 pts_change_point 및 DynamicInfo() 이외에, 그 오 디오 스트림 stream #2에 대하여, 도 26의 클립 정보 파일 "00003.CLP"에 기술되어 있는 stream_id(=0xBD), private_stream_id(=0x00), number_of_DynamicInfo(=3)도, 도시하고 있다. In addition, in addition to the two sets of pts_change_point and DynamicInfo () described for the first video stream stream # 0, the clip information file " 00003.CLP " Stream_id (= 0xE0), private_stream_id (= 0x00), and number_of_DynamicInfo (= 2) described in FIG. Similarly, in the lower side of FIG. 42, in addition to the three sets of pts_change_point and DynamicInfo () described for the third audio stream stream # 2, the clip information file " 00003.CLP " Stream_id (= 0xBD), private_stream_id (= 0x00), and number_of_DynamicInfo (= 3) described in FIG.

도 42 상측에서, 비디오 스트림 stream #0에 대하여 기술되어 있는 2세트의 pts_change_point 및 DynamicInfo() 중의 1세트째에서는, pts_change_point가 90,000으로 되어 있고, DynamicInfo()의 display_aspect_ratio(도 13)가 '4:3'으로 되어 있다. 또한, 그 2세트째에서는, pts_change_point가 54,090,000으로 되어 있고, DynamicInfo()의 display_aspect_ratio가 '16:9'로 되어 있다. Above the FIG. 42, in the first set of two sets of pts_change_point and DynamicInfo () described with respect to video stream stream # 0, pts_change_point is 90,000, and display_aspect_ratio (FIG. 13) of DynamicInfo () is '4: 3'. ' In the second set, pts_change_point is 54,090,000, and display_aspect_ratio of DynamicInfo () is '16: 9 '.

한편, 도 42 하측에서, 오디오 스트림 stream #2에 대하여 기술되어 있는 3세트의 pts_change_point 및 DynamicInfo() 중의 1세트째에서는, pts_change_point가 90,000으로 되어 있고, DynamicInfo()의 channel_assignment(도 13)가 'Dual'로 되어 있다. 또한, 그 2세트째에서는, pts_change_point가 27,090,000으로 되어 있고, DynamicInfo()의 channel_assignment가 'Stereo'로 되어 있다. 또한, 그 3세트째에서는, pts_change_point가 32,490,000으로 되어 있고, DynamicInfo()의 channel_assignment가 'Dual'로 되어 있다. On the other hand, at the lower side of FIG. 42, in the first set of the three sets of pts_change_point and DynamicInfo () described for the audio stream stream # 2, pts_change_point is 90,000, and the channel_assignment (FIG. 13) of DynamicInfo () is 'Dual'. ' In the second set, pts_change_point is 27,090,000, and channel_assignment of DynamicInfo () is 'Stereo'. In the third set, pts_change_point is 32,490,000, and channel_assignment of DynamicInfo () is 'Dual'.

예를 들면, 지금, 도 30의 스텝 S125에서, 클립 스트림 파일 "00003.PS"의, 0xE0으로 되어 있는 stream_id로 특정되는 1번째의 비디오 스트림 stream #0과, 0xBD로 되어 있는 stream_id 및 0x00으로 되어 있는 private_stream_id로 특정되는 3번째의 오디오 스트림 stream #2가, 재생 대상인 스트림으로서 결정된 것으로 한다. For example, at step S125 in Fig. 30, the first video stream stream # 0 identified by stream_id of 0xE0 of the clip stream file "00003.PS", stream_id and 0x00 of 0xBD It is assumed that the third audio stream stream # 2 identified by the private_stream_id present is determined as the stream to be played.

이 경우, 플레이어 제어 모듈(212)은, 0xE0으로 되어 있는 stream_id로 특정되는 비디오 스트림 stream #0에 대하여 기술되어 있는 도 42 상측의 2세트의 pts_change_point 및 DynamicInfo()와, 0xBD로 되어 있는 stream_id 및 0x00으로 되어 있는 private_stream_id로 특정되는 오디오 스트림 stream #2에 대하여 기술되어 있는 도 42 하측의 3세트의 pts_change_point 및 DynamicInfo() 중의 pts_change_point를 조사하고, 초기값을 인식한다. In this case, the player control module 212 includes two sets of pts_change_point and DynamicInfo () on the upper side of FIG. 42 described with respect to video stream stream # 0 specified by stream_id of 0xE0, stream_id and 0x00 of 0xBD. The audio stream stream # 2 identified by the private_stream_id described above is examined by examining the three sets of pts_change_point in FIG. 42 and pts_change_point in DynamicInfo (), and recognizes the initial value.

즉, 0xE0으로 되어 있는 stream_id로 특정되는 비디오 스트림 stream #0에 대하여 기술되어 있는 도 42 상측의 2세트의 pts_change_point 및 DynamicInfo() 중의 1세트째에서는, pts_change_point가 90,000으로 되어 있다. 그리고, 이 90,000이라고 하는 시각은, 비디오 스트림 stream #0이 다중화되어 있는 클립 스트림 파일 "00003.PS"에 대응하는 도 26의 클립 정보 파일 "00003.CLP"에서, 클립 스트림 파일 "00003.PS"의 선두의 시각을 나타내는 presentation_start_time에 기술되어 있는 시각 90,000과 일치한다. That is, pts_change_point is 90,000 in the first set of two sets of pts_change_point and DynamicInfo () on the upper side of FIG. 42 described with respect to video stream stream # 0 identified by stream_id of 0xE0. The time of 90,000 is the clip stream file "00003.PS" in the clip information file "00003.CLP" in FIG. 26 corresponding to the clip stream file "00003.PS" in which video stream stream # 0 is multiplexed. This coincides with the time 90,000 described in presentation_start_time indicating the time of the beginning of.

마찬가지로, 0xBD로 되어 있는 stream_id 및 0x00으로 되어 있는 private_stream_id로 특정되는 오디오 스트림 stream #2에 대하여 기술되어 있는 도 42 하측의 3세트의 pts_change_point 및 DynamicInfo() 중의 1세트째에서는, pts_change_point가 90,000으로 되어 있다. 그리고, 이 90,000이라고 하는 시각은, 오디오 스트림 stream #2가 다중화되어 있는 클립 스트림 파일 "00003.PS"에 대응하는 도 26의 클립 정보 파일 "00003.CLP"에서, 클립 스트림 파일 "00003.PS"의 선두의 시각을 나타내는 presentation_start_time에 기술되어 있는 시각 90,000 과 일치한다. Similarly, pts_change_point is 90,000 in the first set of three sets of pts_change_point and DynamicInfo () shown below in FIG. 42 described for the audio stream stream # 2 identified by stream_id of 0xBD and private_stream_id of 0x00. . The time of 90,000 is the clip stream file "00003.PS" in the clip information file "00003.CLP" in FIG. 26 corresponding to the clip stream file "00003.PS" in which audio stream stream # 2 is multiplexed. This coincides with the time 90,000 described in presentation_start_time indicating the time of the beginning of.

플레이어 제어 모듈(212)은, 클립 스트림 파일 "00003.PS"의 선두의 시각을 나타내는 presentation_start_time에 기술되어 있는 시각 90,000과 일치하는 pts_change_point를, 초기값으로서 인식한다. 따라서, 도 42 상측의 2세트의 pts_change_point 및 DynamicInfo() 중의 1세트째의 pts_change_point와, 도 42 하측의 3세트의 pts_change_point 및 DynamicInfo() 중의 1세트째의 pts_change_point가, 초기값으로서 인식된다. The player control module 212 recognizes, as an initial value, pts_change_point corresponding to the time 90,000 described in presentation_start_time indicating the start time of the clip stream file "00003.PS". Therefore, the first set of two sets of pts_change_point and DynamicInfo () on the upper side of FIG. 42 and the pts_change_point of the first set of three sets of pts_change_point and DynamicInfo () on the lower side of FIG. 42 are recognized as initial values.

그리고, 플레이어 제어 모듈(212)은, 클립 스트림 파일 "00003.PS"의 재생이 개시되기 전에(도 30의 스텝 S126에서), 초기값으로서 인식한 pts_change_point와 세트로 되어 있는 DynamicInfo()에 따라서, 대응하는 엘리멘터리 스트림의 출력 속성을 지시한다. Then, the player control module 212, in accordance with pts_change_point recognized as the initial value and DynamicInfo () set as the initial value, before playback of the clip stream file "00003.PS" is started (in step S126 in FIG. 30). Indicates the output attribute of the corresponding elementary stream.

즉, 0xE0으로 되어 있는 stream_id로 특정되는 비디오 스트림 stream #0에 대해서는, 도 42 상측에서, 초기값인 90,000으로 되어 있는 pts_change_point와 세트로 되어 있는 DynamicInfo()에서, display_aspect_ratio가 '4:3'로 되어 있다. 이 경우, 플레이어 제어 모듈(212)은, display_aspect_ratio가 '4:3'로 되어 있다는 취지, 즉, 비디오 스트림 stream #0이, 4:3의 어스펙트비의 비디오 데이터라는 취지의 출력 속성의 정보를, 그래픽스 처리 모듈(219)을 제어한다. That is, for video stream stream # 0 identified by stream_id of 0xE0, display_aspect_ratio is set to '4: 3' in the upper side of FIG. 42 in pts_change_point having an initial value of 90,000 and DynamicInfo () set. have. In this case, the player control module 212 displays information on the output attribute that the display_aspect_ratio is '4: 3', that is, the video stream stream # 0 is 4: 3 aspect ratio video data. The graphics processing module 219 is controlled.

또한, 0xBD로 되어 있는 stream_id 및 0x00으로 되어 있는 private_stream_id로 특정되는 오디오 스트림 stream #2에 대해서는, 도 42 하측에서, 초기값인 90,000으로 되어 있는 pts_change_point와 세트로 되어 있는 DynamicInfo()에서, channel_assignment가 'Dual'로 되어 있다. 이 경우, 플레이어 제어 모듈(212)은, channel_assignment가 'Dual'로 되어 있다는 취지, 즉, 오디오 스트림 stream #2가, 듀얼의 오디오 데이터라는 취지의 출력 속성의 정보를, 오디오 출력 모듈(221)에 공급한다. In addition, for audio stream stream # 2 identified by stream_id of 0xBD and private_stream_id of 0x00, in the lower part of FIG. 42, pts_change_point having an initial value of 90,000 and DynamicInfo () set as a channel_assignment are ' Dual '. In this case, the player control module 212 informs the audio output module 221 of the output attribute that the channel_assignment is 'Dual', that is, that the audio stream stream # 2 is dual audio data. Supply.

여기서, 도 30의 스텝 S126에서는, 이상과 같은 초기값으로서의 pts_change_point를 대상으로 한 출력 속성의 제어 처리가 행하여진다. Here, in step S126 of FIG. 30, the output attribute control process which targets pts_change_point as an initial value as mentioned above is performed.

그 후, 플레이어 제어 모듈(212)은, 비디오 스트림 stream #0에 관한 도 42 상측의 2개의 pts_change_point인 90,000 및 54,090,000과, 오디오 스트림 stream #2에 관한 도 42 하측의 3개의 pts_change_point인 90,000, 27,090,000, 및 32,490,000 중의, 초기값 90,000 이외의 시각인 {27,090,000}, {32,490,000}, {54,090,000}을, 「DynamicInfo() 처리」의 속성의 시각이라는 취지와 함께, 디코드 제어 모듈(214)에 건네준다(스텝 S320).The player control module 212 then has two pts_change_points of 90,000 and 54,090,000 above FIG. 42 for video stream stream # 0, and three pts_change_points of 90,000, 27,090,000, lower than FIG. 42 for audio stream stream # 2. And {27,090,000}, {32,490,000}, and {54,090,000}, which are times other than the initial value of 90,000, of 32,490,000 are passed to the decode control module 214 with the purpose of the attribute time of "DynamicInfo () processing" (step) S320).

디코드 제어 모듈(214)은, 플레이어 제어 모듈(212)로부터의, 「DynamicInfo() 처리」의 속성의 시각 {27,090,000}, {32,490,000}, {54,090,000}을 수신하고, 또한, 비디오 스트림 stream #0 및 오디오 스트림 stream #2의 재생(클립 스트림 파일 "00003.PS"를 재생하는 2번째의 PlayList #1의 PlayItem #0의 재생)의 개시 후, 계시부(214A)에 의해 계시되어 있는 현재 시각의 감시를 개시한다. The decode control module 214 receives the time {27,090,000}, {32,490,000}, {54,090,000} of the attribute of "DynamicInfo () processing" from the player control module 212, and also receives the video streams stream # 0 and After the start of the playback of the audio stream stream # 2 (the playback of the PlayItem # 0 of the second PlayList # 1 that plays the clip stream file "00003.PS"), the monitoring of the current time as indicated by the time lag 214A is performed. It starts.

그리고, 디코드 제어 모듈(214)은, 현재 시각이, 「DynamicInfo() 처리」의 속성의 시각 {27,090,000}, {32,490,000}, {54,090,000} 중 어느 하나와 일치한 경우, 그 현재 시각과 일치한 「DynamicInfo() 처리」의 속성의 시각인 DynamicInfo 시각을, 플레이어 제어 모듈(212)에 공급한다(스텝 S321).When the current time coincides with any one of the time {27,090,000}, {32,490,000}, and {54,090,000} of the attribute of "DynamicInfo () processing", the decode control module 214 matches the current time with " The DynamicInfo time which is the time of the attribute of "DynamicInfo () processing" is supplied to the player control module 212 (step S321).

즉, 예를 들면, 현재 시각이, 27,090,000으로 된 것으로 하면, 디코드 제어 모듈(214)은, 「DynamicInfo() 처리」의 속성의 시각 중의, 현재 시각과 일치하는 27,090,000을, DynamicInfo 시각으로 하여, 플레이어 제어 모듈(212)에 공급한다. That is, for example, if the current time is set to 27,090,000, the decoding control module 214 sets the 27,090,000 that matches the current time in the attribute time of "DynamicInfo () processing" as the DynamicInfo time, Supply to the control module 212.

플레이어 제어 모듈(212)은, 디코드 제어 모듈(214)로부터의 DynamicInfo 시각인 27,090,000을 수신하고, 비디오 스트림 stream #0에 대한 도 42 상측의 2개의 pts_change_point와, 오디오 스트림 stream #2에 관한 도 42 하측의 3개의 pts_change_point 중으로부터, DynamicInfo 시각인 27,090,000과 일치하는 pts_change_point를 조사하고, 그 27,090,000과 일치하는 pts_change_point와 세트로 되어 있는 DynamicInfo(), 즉, 오디오 스트림 stream #2에 대한 도 42 하측의 2번째의 DynamicInfo()를, 처리 대상 DynamicInfo()으로서 인식한다(스텝 S322).The player control module 212 receives 27,090,000 which is the DynamicInfo time from the decode control module 214, and the two pts_change_points on the upper side of FIG. 42 for the video stream stream # 0, and the lower side of FIG. 42 on the audio stream stream # 2. From among the three pts_change_points, pts_change_point matching the DynamicInfo time 27,090,000 is examined, and the dynamicInfo () set with the pts_change_point corresponding to the 27,090,000, i.e., the second lower part of FIG. 42 for the audio stream stream # 2 The DynamicInfo () is recognized as the processing target DynamicInfo () (step S322).

처리 대상 DynamicInfo()가, 비디오 스트림에 대한 DynamicInfo()인 경우, 플레이어 제어 모듈(212)은, 처리 대상 DynamicInfo()에 기술되어 있는 출력 속성을, 그래픽스 처리 모듈(219)에 공급한다(스텝 S323). 또한, 처리 대상 DynamicInfo()가, 오디오 스트림에 대한 DynamicInfo()인 경우, 플레이어 제어 모듈(212)은, 처리 대상 DynamicInfo()에 기술되어 있는 출력 속성을, 오디오 출력 모듈(221)에 공급한다(스텝 S323).If the processing target DynamicInfo () is the DynamicInfo () for the video stream, the player control module 212 supplies the graphics processing module 219 with the output attribute described in the processing target DynamicInfo () (step S323). ). In addition, when the processing target DynamicInfo () is the DynamicInfo () for the audio stream, the player control module 212 supplies the output attribute described in the processing target DynamicInfo () to the audio output module 221 ( Step S323).

그래픽스 처리 모듈(219)은, 플레이어 제어 모듈(212)로부터 출력 속성이 공급되면, 그 출력 속성에 따라서, 비디오 데이터의 출력의 제어를 개시한다(스텝 S324).When the output attribute is supplied from the player control module 212, the graphics processing module 219 starts controlling the output of the video data in accordance with the output attribute (step S324).

즉, 그래픽스 처리 모듈(219)은, 예를 들면, 플레이어 제어 모듈(212)로부터의 출력 속성이 나타내는, 비디오 데이터의 어스펙트비의 지시(display_aspect_ratio(도 13))와, 도 1의 비디오 출력 단자(120)에 접속된 비디오 출력 장치의 어스펙트비에 기초하여, 비디오 출력 모듈(220)에 출력하는 비디오 데이터의 어스펙트비의 변환을 행한다. That is, the graphics processing module 219 is, for example, an indication of the aspect ratio of the video data indicated by the output attribute from the player control module 212 (display_aspect_ratio (FIG. 13)) and the video output terminal of FIG. 1. The aspect ratio of the video data output to the video output module 220 is converted based on the aspect ratio of the video output device connected to 120.

구체적으로는, 예를 들면, 비디오 출력 장치의 어스펙트비가 16:9인 경우에서, 출력 속성으로서의 비디오 데이터의 어스펙트비의 지시가 4:3의 어스펙트비를 나타내고 있을 때에는, 그래픽스 처리 모듈(219)은, 비디오 출력 모듈(220)에 출력하는 비디오 데이터를, 가로 방향으로 스퀴즈 처리하고, 좌우에 검은빛을 넣어 출력한다. 또한, 예를 들면, 비디오 출력 장치의 어스펙트비가 4:3인 경우에서, 출력 속성으로서의 비디오 데이터의 어스펙트비의 지시가 16:9의 어스펙트비를 나타내고 있을 때에는, 그래픽스 처리 모듈(219)은, 비디오 출력 모듈(220)에 출력하는 비디오 데이터를, 세로 방향으로 스퀴즈 처리하고, 상하에 검은빛을 넣어 출력한다. 또한, 예를 들면, 비디오 출력 장치의 어스펙트비와, 출력 속성으로서의 비디오 데이터의 어스펙트비의 지시가 나타내는 어스펙트비가, 모두, 4:3이나 16:9로, 동일한 경우, 그래픽스 처리 모듈(219)은, 비디오 출력 모듈(220)에 출력하는 비디오 데이터를, 스퀴즈 처리하지 않고, 그대로 출력한다. Specifically, for example, when the aspect ratio of the video output device is 16: 9, when the indication of the aspect ratio of the video data as the output attribute indicates the aspect ratio of 4: 3, the graphics processing module ( 219 squeezes the video data output to the video output module 220 in the horizontal direction, and outputs black light on the left and right sides. For example, when the aspect ratio of the video output device is 4: 3, when the indication of the aspect ratio of the video data as the output attribute indicates the aspect ratio of 16: 9, the graphics processing module 219 Squeezes the video data output to the video output module 220 in the vertical direction, and puts black light up and down to output it. For example, when the aspect ratio of the aspect ratio of the video output apparatus and the aspect ratio indicated by the aspect ratio of the video data as the output attributes are both 4: 3 and 16: 9, the graphics processing module ( 219 outputs the video data output to the video output module 220 without being squeezed.

여기서, 도 42 상측에서, 0xE0으로 되어 있는 stream_id로 특정되는 비디오 스트림 stream #0에 대하여 기술되어 있는 2세트의 pts_change_point 및 DynamicInfo()에 따르면, 비디오 스트림 stream #0의 재생 개시 시인 시각 90,000 으로부터, 시각 54,090,000의 직전까지는, 비디오 스트림 stream #0으로부터, 4:3의 어스펙트비의 비디오 데이터가 얻어진다. 그리고, 시각 54,090,000 이후에는, 비디오 스트림 stream #0으로부터, 16:9의 어스펙트비의 비디오 데이터가 얻어진다. Here, according to two sets of pts_change_point and DynamicInfo () described with respect to video stream stream # 0 identified by stream_id of 0xE0 on the upper side of FIG. 42, the time is starting from time 90,000 at the start of playback of video stream stream # 0. Up to 54,090,000, the video stream stream # 0 obtains 4: 3 aspect ratio video data. After the time 54,090,000, video data having an aspect ratio of 16: 9 is obtained from the video stream stream # 0.

따라서, 예를 들면, 도 1의 비디오 출력 단자(120)에 접속된 비디오 출력 장치의 어스펙트비가 4:3인 것으로 하면, 그래픽스 처리 모듈(219)에서는, 시각 90,000으로부터 시각 54,090,000의 직전까지는, 비디오 스트림 stream #0으로부터 얻어지는 4:3의 어스펙트비의 비디오 데이터가, 그대로 4:3의 어스펙트비의 비디오 출력 장치에 공급되어 표시된다. Therefore, for example, if the aspect ratio of the video output device connected to the video output terminal 120 of FIG. 1 is 4: 3, the graphics processing module 219 will display the video from the time 90,000 to the time before the time 54,090,000. The 4: 3 aspect ratio video data obtained from the stream stream # 0 is supplied to the 4: 3 aspect ratio video output device as it is, and displayed.

그리고, 시각 54,090,000 이후에는, 비디오 스트림 stream #0으로부터 얻어지는 16:9의 어스펙트비의 비디오 데이터가, 세로 방향으로 스퀴즈 처리되고, 또한, 상하에 검은빛이 들어간 4:3의 어스펙트비의 비디오 신호로 변환되고, 4:3의 어스펙트비의 비디오 출력 장치에 공급되어 표시된다. After the time 54,090,000, the 16: 9 aspect ratio video data obtained from the video stream stream # 0 is squeezed vertically, and the 4: 3 aspect ratio video signal with black light is added up and down. Is supplied to a video output device with an aspect ratio of 4: 3 and displayed.

한편, 오디오 출력 모듈(221)은, 플레이어 제어 모듈(212)로부터 출력 속성이 공급되면, 그 출력 속성에 따라서, 오디오 데이터의 출력의 제어를 개시한다(스텝 S324).On the other hand, if the output attribute is supplied from the player control module 212, the audio output module 221 starts controlling the output of the audio data in accordance with the output attribute (step S324).

즉, 오디오 출력 모듈(221)은, 예를 들면, 플레이어 제어 모듈(212)로부터의 출력 속성이 나타내는, 오디오 데이터의 채널 할당의 지시(channel_assignment(도 13))와, 유저가 리모콘을 조작함으로써 입력 인터페이스(115)(도 1)를 통하여 플레이어 제어 모듈(212)로부터 공급되는 음성 출력 모드에 기초하여, 오디오 디코더 제어 모듈(217)로부터의 오디오 데이터를 처리하여, 오디오 출력 단자(121)(도 1)에 출력한다. That is, the audio output module 221 inputs the channel assignment instruction (channel_assignment (FIG. 13)) of the audio data indicated by the output attribute from the player control module 212, for example, by the user operating the remote controller. Based on the audio output mode supplied from the player control module 212 via the interface 115 (FIG. 1), audio data from the audio decoder control module 217 is processed to output an audio output terminal 121 (FIG. 1). )

구체적으로는, 예를 들면, 출력 속성이 나타내는 오디오 데이터의 채널 할당의 지시가, 좌측 채널이 「주음성」의 오디오 데이터이고, 우측 채널이 「부음성」의 오디오 데이터인 듀얼(Dual)(2개국어) 모드를 나타내고 있는 경우, 오디오 출력 모듈(221)은, 플레이어 제어 모듈(212)로부터 공급되는 음성 출력 모드에 따라서, 오디오 디코더 제어 모듈(217)로부터의 오디오 데이터를 처리하여, 오디오 출력 단자(121)에 출력한다. Specifically, for example, the instruction for channel assignment of audio data indicated by the output attribute indicates that the left channel is audio data of "main audio" and the right channel is dual (2) audio data of "sub audio". In the case of a native language mode, the audio output module 221 processes audio data from the audio decoder control module 217 in accordance with the audio output mode supplied from the player control module 212, and outputs an audio output terminal. Output to (121).

즉, 음성 출력 모드로서, 예를 들면, 「주음성」이 지정되어 있을 때에는, 오디오 출력 모듈(221)은, 오디오 디코더 제어 모듈(217)로부터의 오디오 데이터 중의 좌측 채널의 오디오 데이터를, 우측 채널의 오디오 데이터로서 카피하고, 그 좌측 채널과 우측 채널의 오디오 데이터(「주음성」의 오디오 데이터)를, 오디오 출력 단자(121)에 출력한다. 또한, 음성 출력 모드로서, 「부음성」이 지정되어 있을 때에는, 오디오 출력 모듈(221)은, 오디오 디코더 제어 모듈(217)로부터의 오디오 데이터 중의 우측 채널의 오디오 데이터를, 좌측 채널의 오디오 데이터로서 카피하고, 그 좌측 채널과 우측 채널의 오디오 데이터(「부음성」의 오디오 데이터)를, 오디오 출력 단자(121)에 출력한다. 또한, 음성 출력 모드로서, 「주?부」가 지정되어 있을 때에는, 오디오 출력 모듈(221)은, 오디오 디코더 제어 모듈(217)로부터의 오디오 데이터를, 그대로, 오디오 출력 단자(121)에 출력한다. That is, when "main audio" is designated as the audio output mode, for example, the audio output module 221 receives the audio data of the left channel of the audio data from the audio decoder control module 217 and the right channel. Is copied as audio data, and the audio data of the left channel and the right channel (audio data of "main audio") is output to the audio output terminal 121. When "negative voice" is designated as the audio output mode, the audio output module 221 uses the audio data of the right channel among the audio data from the audio decoder control module 217 as audio data of the left channel. It copies and outputs audio data (audio data of "negative audio") of the left channel and the right channel to the audio output terminal 121. When the "main unit" is designated as the audio output mode, the audio output module 221 outputs the audio data from the audio decoder control module 217 to the audio output terminal 121 as it is. .

또한, 예를 들면, 출력 속성이 나타내는 오디오 데이터의 채널 할당의 지시 가, 스테레오(Stereo) 모드를 나타내고 있는 경우, 오디오 출력 모듈(221)은, 플레이어 제어 모듈(212)로부터 공급되는 음성 출력 모드에 관계없이, 오디오 디코더 제어 모듈(217)로부터의 오디오 데이터를, 그대로, 오디오 출력 단자(121)에 출력한다. For example, when the instruction of channel assignment of audio data indicated by the output attribute indicates a stereo mode, the audio output module 221 is connected to the audio output mode supplied from the player control module 212. Regardless, the audio data from the audio decoder control module 217 is output to the audio output terminal 121 as it is.

여기서, 도 42 하측에서, 0xBD로 되어 있는 stream_id 및 0x00으로 되어 있는 private_stream_id로 특정되는 오디오 스트림 stream #2에 대하여 기술되어 있는 3세트의 pts_change_point 및 DynamicInfo()에 따르면, 오디오 스트림 stream #2의 재생 개시 시인 시각 90,000으로부터, 시각 27,090,000의 직전까지는, 오디오 스트림 stream #2로부터, 듀얼의 오디오 데이터가 얻어진다. 또한, 시각 27,090,000으로부터, 시각 32,490,000의 직전까지는, 오디오 스트림 stream #2로부터, 스테레오의 오디오 데이터가 얻어지고, 시각 32,490,000 이후에는, 오디오 스트림 stream #2로부터, 듀얼의 오디오 데이터가 얻어진다. In the lower part of FIG. 42, according to three sets of pts_change_point and DynamicInfo () described for audio stream stream # 2 specified by stream_id of 0xBD and private_stream_id of 0x00, playback of audio stream stream # 2 is started. Dual audio data is obtained from audio stream stream # 2 from the visual recognition time 90,000 until immediately before the visual 27,090,000. Further, stereo audio data is obtained from audio stream stream # 2 from time 27,090,000 to just before time 32,490,000, and dual audio data is obtained from audio stream stream # 2 after time 32,490,000.

따라서, 예를 들면, 음성 출력 모드로서, 「주음성」이 지정되어 있는 것으로 하면, 오디오 출력 모듈(221)에서는, 시각 90,000으로부터, 시각 27,090,000의 직전까지는, 오디오 스트림 stream #2로부터 얻어지는 듀얼의 오디오 데이터 중의 좌측 채널의 오디오 데이터가, 우측 채널의 오디오 데이터로서 카피되고, 그 좌측 채널과 우측 채널의 오디오 데이터가, 오디오 출력 단자(121)에 출력된다. Thus, for example, suppose that "main voice" is designated as the audio output mode. In the audio output module 221, the dual audio obtained from the audio stream stream # 2 from the time 90,000 until immediately before the time 27,090,000 is obtained. Audio data of the left channel in the data is copied as audio data of the right channel, and audio data of the left channel and the right channel are output to the audio output terminal 121.

또한, 시각 27,090,000으로부터, 시각 32,490,000의 직전까지는, 오디오 스트림 stream #2로부터 얻어지는 스테레오의 오디오 데이터가, 그대로, 오디오 출력 단자(121)에 출력된다. In addition, from the time 27,090,000 until just before time 32,490,000, the stereo audio data obtained from the audio stream stream # 2 is output to the audio output terminal 121 as it is.

그리고, 시각 32,490,000 이후에는, 오디오 스트림 stream #2로부터 얻어지는 듀얼의 오디오 데이터 중의 좌측 채널의 오디오 데이터가, 우측 채널의 오디오 데이터로서 카피되고, 그 좌측 채널과 우측 채널의 오디오 데이터가, 오디오 출력 단자(121)에 출력된다. After time 32,490,000, the audio data of the left channel of the dual audio data obtained from the audio stream stream # 2 is copied as the audio data of the right channel, and the audio data of the left channel and the right channel is output to the audio output terminal ( 121).

이상과 같이, 출력 속성의 제어 처리에서는, 클립 스트림 파일에 다중화되어 있는 엘리멘터리 스트림마다, 그 엘리멘터리 스트림의 재생 시각을 나타내는 pts_change_point와, 그 엘리멘터리 스트림의 출력 속성을 포함하는 DynamicInfo()의 세트를 0세트 이상 포함하는 클립 정보 파일 Clip()(도 10)의 기술에 기초하여, 재생 중인 엘리멘터리 스트림의 재생 시각이, pts_change_point와 일치하는지의 여부가 판정된다. 그리고, 재생 중인 엘리멘터리 스트림의 재생 시각이, pts_change_point와 일치하는 경우, 그 pts_change_point와 세트로 되어 있는 DynamicInfo()가 인식되고, 그 인식된 DynamicInfo()에 포함되는 출력 속성에 따라서, 재생 중인 엘리멘터리 스트림의 출력이 제어된다. 따라서, 엘리멘터리 스트림의 재생 시각과 출력 속성에 따라서, 그 엘리멘터리 스트림의 출력을 제어하는 것이 가능하게 된다. As described above, in the output attribute control process, for each elementary stream multiplexed in the clip stream file, pts_change_point indicating the playback time of the elementary stream, and DynamicInfo (including the output attribute of the elementary stream) ), Based on the description of the clip information file Clip () (FIG. 10) including zero or more sets, it is determined whether or not the reproduction time of the elementary stream being reproduced coincides with pts_change_point. When the playback time of the elementary stream being played coincides with pts_change_point, the DynamicInfo () set with the pts_change_point is recognized, and the playing element is played according to the output attribute included in the recognized DynamicInfo (). The output of the mentor stream is controlled. Therefore, the output of the elementary stream can be controlled in accordance with the reproduction time and the output attribute of the elementary stream.

[자막 표시 제어 처리][Subtitle Display Control Processing]

다음으로, 도 43의 플로우차트를 참조하여, 자막 스트림에 대응하는 자막 데이터의 표시를 제어하는 자막 표시 제어 처리에 대하여 설명한다. Subsequently, a caption display control process for controlling the display of caption data corresponding to the caption stream will be described with reference to the flowchart in FIG. 43.

PlayList()(도 5)(의 PlayItem())의 재생이 개시되면, 플레이어 제어 모듈(212)은, 스텝 S341에서, 그래픽스 처리 모듈(219)에 대한 자막 데이터의 표시 방식의 지시를 초기화한다. 즉, 플레이어 제어 모듈(212)은, 자막 데이터의 표시 방식을 디폴트의 표시 방식으로 하도록, 그래픽스 처리 모듈(219)을 제어한다. 또한, 스텝 S341에서 행하여지는 표시 방식의 지시의 초기화는, 도 30의 127에서 설명한 표시 방식의 지시의 초기화에 대응한다. When playback of PlayList () (PlayItem () in Fig. 5) is started, in step S341, the player control module 212 initializes an instruction of the display system of the caption data to the graphics processing module 219. That is, the player control module 212 controls the graphics processing module 219 to make the display method of the caption data the default display method. In addition, the initialization of the instruction | command of the display system performed in step S341 corresponds to the initialization of the instruction | command of the display system demonstrated by 127 of FIG.

스텝 S341의 처리 후에는, 스텝 S342로 진행하여, 플레이어 제어 모듈(212)은, 유저가 리모콘을 조작함으로써 입력 인터페이스(115)로부터, 자막 데이터의 표시에 대하여, 새로운 표시 방식의 지시가 있었는지의 여부를 판정한다. After the process of step S341, it progresses to step S342, and the player control module 212 determines whether the display method of the caption data was instruct | indicated from the input interface 115 by the user operating a remote control. Determine whether or not.

스텝 S342에서, 새로운 표시 방식의 지시가 있었다고 판정된 경우, 스텝 S343으로 진행하여, 플레이어 제어 모듈(212)은, 자막 스트림(에 대응하는 자막 데이터)을, 현재 재생하고 있는지의 여부를 판정한다. If it is determined in step S342 that there is an indication of a new display system, the flow proceeds to step S343, where the player control module 212 determines whether or not the caption stream (corresponding caption data) is currently being reproduced.

스텝 S343에서, 자막 스트림이 재생되어 있지 않다고 판정된 경우, 스텝 S342로 되돌아간다. If it is determined in step S343 that the subtitle stream has not been reproduced, the process returns to step S342.

또한, 스텝 S343에서, 자막 스트림이 재생되어 있다고 판정된 경우, 스텝 S345로 진행하여, 플레이어 제어 모듈(212)은, 새로운 표시 방식의 지시가, 디폴트의 표시 방식의 지시인지의 여부를 판정한다. 스텝 S343에서, 새로운 표시 방식의 지시가, 디폴트의 표시 방식의 지시라고 판정된 경우, 스텝 S341로 되돌아가서, 상술한 바와 같이, 플레이어 제어 모듈(212)은, 자막 데이터의 표시 방식을 디폴트의 표시 방식으로 하도록, 그래픽스 처리 모듈(219)을 제어한다. If it is determined in step S343 that the subtitle stream has been reproduced, the flow proceeds to step S345, where the player control module 212 determines whether or not the instruction of the new display system is the instruction of the default display system. When it is determined in step S343 that the instruction of the new display system is the instruction of the default display system, the flow returns to step S341, and as described above, the player control module 212 displays the display system of the caption data as the default display. To control the graphics processing module 219.

한편, 스텝 S345에서, 새로운 표시 방식의 지시가, 디폴트의 표시 방식의 지시가 아니라고 판정된 경우, 즉, 새로운 표시 방식의 지시가, 예를 들면, 자막 데 이터를 확대나 축소하여 표시하거나, 혹은 밝기를 변화시켜 보기 쉽게 하는 등, 디폴트가 아닌 표시 방식의 지시인 경우, 스텝 S346으로 진행하여, 플레이어 제어 모듈(212)은, 현재 재생하고 있는 자막 스트림이 다중화된 클립 스트림 파일에 대응하는 클립 정보 파일 Clip()(도 10)의 StaticInfo()(도 12) 중의, 현재 재생하고 있는 자막 스트림에 대한 StaticInfo()를 취득하고, 스텝 S347로 진행한다. On the other hand, when it is determined in step S345 that the instruction of the new display system is not the instruction of the default display system, that is, the instruction of the new display system displays, for example, enlarged or reduced the caption data, or In the case of an instruction of a display method other than the default, such as changing the brightness to make it easier to see, the flow advances to step S346, where the player control module 212 includes clip information corresponding to the clip stream file in which the subtitle stream currently being reproduced is multiplexed. In StaticInfo () (FIG. 12) of the file Clip () (FIG. 10), StaticInfo () with respect to the currently reproduced subtitle stream is obtained, and the flow proceeds to step S347.

스텝 S347에서는, 플레이어 제어 모듈(212)은, 스텝 S346에서 취득한 StaticInfo()의 configurable_flag를 판정한다. In step S347, the player control module 212 determines the configurable_flag of the StaticInfo () obtained in step S346.

스텝 S347에서, configurable_flag가, 자막 데이터의 표시 방식의 변경을 허가하지 않는다는 취지의 0으로 되어 있다고 판정된 경우, 스텝 S348로 진행하여, 플레이어 제어 모듈(212)은, 그래픽스 처리 모듈(219)을 제어함으로써, 출력 비디오 데이터에, 자막 데이터의 표시 방식을 변경할 수 없다는 취지의 에러 메시지를 오버레이시키고, 스텝 S342로 되돌아간다. 이에 의해, 에러 메시지가 표시된다. If it is determined in step S347 that the configurable_flag is 0 in that the change of the display system of the caption data is not allowed, the flow proceeds to step S348, where the player control module 212 controls the graphics processing module 219. By overlaying the output message with an error message indicating that the display system of the caption data cannot be changed, the flow returns to step S342. As a result, an error message is displayed.

한편, 스텝 S347에서, configurable_flag가, 자막 데이터의 표시 방식의 변경을 허가한다는 취지의 1로 되어 있다고 판정된 경우, 스텝 S349로 진행하여, 플레이어 제어 모듈(212)은, 유저가 리모콘을 조작함으로써 입력 인터페이스(115)로부터 공급된 새로운 표시 방식의 지시를, 그래픽스 처리 모듈(219)에 공급하고, 스텝 S350으로 진행한다. On the other hand, when it is determined in step S347 that configurable_flag is 1 for the purpose of allowing the change of the display system of the caption data, the flow proceeds to step S349, where the player control module 212 inputs the user by operating the remote controller. The instruction of the new display method supplied from the interface 115 is supplied to the graphics processing module 219, and the flow proceeds to step S350.

스텝 S350에서는, 그래픽스 처리 모듈(219)은, 자막 디코더 제어 모듈(218)로부터 공급되는 자막 데이터를, 직전의 스텝 S349에서 플레이어 제어 모듈(212)로부터 공급된 표시 방식의 지시에 따라서 확대 또는 축소 등 혹은 밝기를 변화시키 는 등의 처리를 개시하고, 스텝 S342로 되돌아간다. 이에 의해, 자막 데이터는, 유저가 리모콘을 조작함으로써 지시한 표시 방식에 따른 표시 사이즈나, 표시 위치, 표시 색 등으로 표시된다. In step S350, the graphics processing module 219 enlarges or reduces the caption data supplied from the caption decoder control module 218 in accordance with an instruction of the display method supplied from the player control module 212 in step S349 immediately before. Or a process of changing the brightness is started and the flow returns to step S342. Thereby, the caption data is displayed by the display size, display position, display color, etc. according to the display system which the user instructed by operating the remote control.

한편, 스텝 S342에서, 새로운 표시 방식의 지시가 없었다고 판정된 경우, 스텝 S351로 진행하여, 플레이어 제어 모듈(212)은, 도 31에서 설명한 PlayItem()의 갈아타기가 행하여졌는지의 여부를 판정하고, 행하여져 있지 않다고 판정한 경우, 스텝 S342로 되돌아간다. On the other hand, when it is determined in step S342 that there is no indication of a new display system, the flow proceeds to step S351, where the player control module 212 determines whether or not the PlayItem () described in FIG. 31 has been changed, If it is determined not to be performed, the flow returns to step S342.

또한, 스텝 S351에서, PlayItem()의 갈아타기가 행하여졌다고 판정된 경우, 스텝 S341로 되돌아가고, 상술한 바와 같이, 플레이어 제어 모듈(212)은, 자막 데이터의 표시 방식을 디폴트의 표시 방식으로 하도록, 그래픽스 처리 모듈(219)을 제어한다. 즉, 이 경우, PlayItem()의 갈아타기가 행하여졌을 때에는, 자막 데이터의 표시 방식은, 디폴트의 표시 방식으로 되돌아간다. If it is determined in step S351 that the PlayItem () is changed, the process returns to step S341, and as described above, the player control module 212 sets the display method of the caption data to be the default display method. The graphics processing module 219 is controlled. That is, in this case, when the PlayItem () is changed, the display method of the caption data returns to the default display method.

이상과 같이, 자막 표시 제어 처리에서는, 자막 스트림의 configurable_flag가, 표시 방식의 변경을 허가한다는 취지의 1로 되어 있는 경우에만, 그 자막 스트림에 대응하는 자막 데이터의 표시 방식이, 예를 들면, 유저가 리모콘을 조작함으로써 입력되는 표시 방식의 지시에 따라서 변경된다. As described above, in the subtitle display control process, the display method of the subtitle data corresponding to the subtitle stream is, for example, a user only when the configurable_flag of the subtitle stream is set to 1 to allow the display system to be changed. Is changed in accordance with the indication of the display mode input by operating the remote controller.

따라서, 예를 들면, 도 26에 도시한 클립 정보 파일 "00001.CLP"에 따르면, 대응하는 클립 스트림 파일 "00001.PS"에 다중화되어 있는 4개의 엘리멘터리 스트림 중의 3개째의 엘리멘터리 스트림인 자막 스트림 stream #2에 대한 configurable_flag는, 표시 방식의 변경을 허가하지 않는다는 취지의 0으로 되어 있으므로, 그 자막 스트림 stream #2가 표시되어 있을 때에, 유저가 자막의 표시를 변경하도록 리모콘을 조작해도, 그 표시는 변경되지 않는다. Thus, for example, according to the clip information file "00001.CLP" shown in FIG. 26, the third elementary stream of four elementary streams multiplexed in the corresponding clip stream file "00001.PS" The configurable_flag for subtitle stream stream # 2 is set to 0 to disallow changes in display format, so the user can operate the remote control to change the subtitle display when the subtitle stream stream # 2 is displayed. The display does not change.

한편, 예를 들면, 클립 스트림 파일 "00001.PS"에 다중화되어 있는 4개의 엘리멘터리 스트림 중의 4개째의 엘리멘터리 스트림인 자막 스트림 stream #3에 대한 configurable_flag는, 표시 방식의 변경을 허가한다는 취지의 1로 되어 있으므로, 그 자막 스트림 stream #3이 표시되어 있을 때에, 유저가 자막의 표시를 변경하도록 리모콘을 조작하면, 그 조작에 따라서, 자막의 표시 사이즈 등이 변경된다. On the other hand, for example, the configurable_flag for the subtitle stream stream # 3, which is the fourth elementary stream among the four elementary streams multiplexed in the clip stream file "00001.PS", allows the display system to be changed. Since the value is 1, when the user operates the remote control to change the display of the subtitles while the subtitle stream stream # 3 is displayed, the display size of the subtitles is changed according to the operation.

즉, 예를 들면, 지금, 도 25의 1번째의 PlayList #0의 1번째의 PlayItem #0에 따라서, 클립 스트림 파일 "00001.PS"가 재생되어 있는 것으로 한다. 또한, 도 26에서 클립 정보 파일 "00001.CLP"에 대하여 설명한 바와 같이, 클립 스트림 파일 "00001.PS"에 다중화되어 있는 4개의 엘리멘터리 스트림 중의, 3개째와 4개째가 자막 스트림이지만, 그 3개째의 자막 스트림 stream #2와, 4개째의 자막 스트림 stream #3 중의, 예를 들면, 3개째의 자막 스트림 stream #2가, 현재 재생되어 있는 것으로 한다. That is, for example, it is assumed that the clip stream file "00001.PS" is reproduced in accordance with the first PlayItem # 0 of the first PlayList # 0 in FIG. As described with respect to the clip information file "00001.CLP" in Fig. 26, the third and fourth of the four elementary streams multiplexed with the clip stream file "00001.PS" are subtitle streams. It is assumed that the third subtitle stream stream # 2 and the fourth subtitle stream stream # 3, for example, the third subtitle stream stream # 2 are currently played.

유저가, 리모콘을 조작함으로써, 자막의 표시 방식의 지시를 입력하면(스텝 S342), 그 표시 방식의 지시는, 입력 인터페이스(115)(도 1)로부터 플레이어 제어 모듈(212)에 공급된다. 플레이어 제어 모듈(212)은, 표시 방식의 지시가 공급되면, 재생 중인 자막 스트림에 대응하는 StaticInfo()(도 10)를, 클립 정보 파일로부터 찾아낸다(스텝 S346).When the user inputs an instruction of the display method of the caption by operating the remote control (step S342), the instruction of the display method is supplied to the player control module 212 from the input interface 115 (FIG. 1). The player control module 212 finds, from the clip information file, the StaticInfo () (Fig. 10) corresponding to the subtitle stream being played back when the instruction of the display method is supplied (step S346).

즉, 지금의 경우, 재생 중인 자막 스트림은, 클립 스트림 파일 "00001.PS"에 다중화되어 있는 3개째의 자막 스트림 stream #2이며, 플레이어 제어 모듈(212)은, 대응하는 클립 정보 파일 "00001.CLP"로부터, 3개째의 자막 스트림 stream #2에 대한 StaticInfo()를 찾아낸다. That is, in this case, the subtitle stream being played is the third subtitle stream stream # 2 multiplexed on the clip stream file "00001.PS", and the player control module 212 determines the corresponding clip information file "00001. CLP ", to find the StaticInfo () for the third subtitle stream stream # 2.

또한, 플레이어 제어 모듈(212)은, 도 26에서 3개째의 자막 스트림 stream #2에 대한 StaticInfo()에 기술되어 있는, 0으로 되어 있는 configurable_flag를 판정하고(스텝 S347), 이에 의해, 3개째의 자막 스트림 stream #2에 대해서는, 표시 방식의 변경이 허가되어 있지 않은 것을 인식한다. In addition, the player control module 212 determines the configurable_flag of 0 described in StaticInfo () for the third subtitle stream stream # 2 in FIG. 26 (step S347), whereby the third Recognize that subtitle stream stream # 2 is not allowed to change the display format.

이 경우, 플레이어 제어 모듈(212)은, 재생 중인 자막 스트림(에 대응하는 자막 데이터)이 확대 축소 등에 대응하고 있지 않다고 판단하고, 그래픽스 처리 모듈(219)을 제어함으로써, 그 취지의 에러 메시지를 생성시키고(스텝 S348), 비디오 데이터에 오버레이하여 출력시킨다. In this case, the player control module 212 determines that the subtitle stream (corresponding to the subtitle data) that is being played does not correspond to enlargement or reduction, and controls the graphics processing module 219 to generate an error message for that purpose. (Step S348), the video data is overlaid and output.

한편, 클립 스트림 파일 "00001.PS"에 다중화되어 있는 4개의 엘리멘터리 스트림의 3개째의 자막 스트림 stream #2와, 4개째의 자막 스트림 stream #3 중의, 3개째의 자막 스트림 stream #2가 아니라, 4개째의 자막 스트림 stream #3이, 현재 재생되어 있는 경우에는, 유저가 리모콘을 조작함으로써 표시 방식의 지시의 공급을 받은 플레이어 제어 모듈(212)은, 대응하는 클립 정보 파일 "00001.CLP"로부터, 4개째의 자막 스트림 stream #3에 대한 StaticInfo()를 찾아낸다. On the other hand, the third subtitle stream stream # 2 of the four elementary streams multiplexed in the clip stream file "00001.PS", and the third subtitle stream stream # 2 of the fourth subtitle stream stream # 3 On the other hand, when the fourth subtitle stream stream # 3 is currently being played back, the player control module 212, which has been supplied with the instruction of the display method by the user operating the remote control, sends the corresponding clip information file "00001.CLP. ", Then find StaticInfo () for the fourth subtitle stream stream # 3.

또한, 플레이어 제어 모듈(212)은, 도 26에서 4개째의 자막 스트림 stream #3에 대한 StaticInfo()에 기술되어 있는, 1로 되어 있는 configurable_flag를 판정하고(스텝 S347), 이에 의해, 4개째의 자막 스트림 stream #3에 대해서는, 표시 방식의 변경이 허가되어 있는 것을 인식한다. In addition, the player control module 212 determines the configurable_flag of 1 described in StaticInfo () for the fourth subtitle stream stream # 3 in FIG. 26 (step S347), whereby the fourth Recognize that subtitle stream stream # 3 is permitted to change its display format.

이 경우, 플레이어 제어 모듈(212)은, 재생 중인 자막 스트림(에 대응하는 자막 데이터)이 확대 축소 등에 대응하고 있다고 판단하고, 유저가 리모콘을 조작함으로써 공급된 표시 방식의 지시를, 그래픽스 처리 모듈(219)에 공급한다(스텝 S349).In this case, the player control module 212 determines that the subtitle stream (corresponding to the subtitle data) that is being played corresponds to enlargement and reduction, etc., and gives an instruction of the display system supplied by the user operating the remote control. 219) (step S349).

이에 의해, 그 후, 그래픽스 처리 제어 모듈(219)은, 플레이어 제어 모듈(212)로부터의 표시 방식의 지시에 따라서, 자막 디코더 제어 모듈(218)로부터의 자막 데이터를 확대 또는 축소 등으로 하고, 비디오 디코더 제어 모듈(216)로부터의 비디오 데이터에 오버레이하여 출력한다. Thereby, the graphics processing control module 219 then enlarges or reduces the caption data from the caption decoder control module 218 in accordance with the instruction of the display method from the player control module 212, and the video. The video data from the decoder control module 216 is overlaid and output.

또한, 플레이어 제어 모듈(212)은, PlayList()의 최초의 PlayItem()의 재생 개시 시에, 그래픽스 처리 모듈(219)에 대한 자막 데이터의 표시 방식의 지시를 초기화한다(스텝 S341). 즉, 플레이어 제어 모듈(212)은, 자막 데이터의 표시 방식을 디폴트의 표시 방식으로 하도록, 그래픽스 처리 모듈(219)을 제어한다. In addition, the player control module 212 initializes the instruction of the display system of the caption data to the graphics processing module 219 at the start of playback of the first PlayItem () of the PlayList () (step S341). That is, the player control module 212 controls the graphics processing module 219 to make the display method of the caption data the default display method.

또한, 플레이어 제어 모듈(212)은, PlayItem()의 갈아타기 시에도, 그래픽스 처리 모듈(219)에 대한 자막 데이터의 표시 방식의 지시를 초기화한다(스텝 S341, S351).The player control module 212 also initializes the instruction for displaying the caption data to the graphics processing module 219 even when the PlayItem () is switched (steps S341 and S351).

단, PlayItem()의 갈아타기 시에서는, 그 후에 새롭게 재생되는 PlayItem()에 따라서 재생되는 새로운 자막 스트림에 대한 configurable_flag를 조사하고, configurable_flag가 0인 경우에는, 그래픽스 처리 모듈(219)에 대한 자막 데이터의 표시 방식의 지시를 초기화하고, configurable_flag가 1인 경우에는, 그래픽스 처리 모듈(219)에 대한 표시 방식의 지시를, PlayItem()의 갈아타기 전의 상태 그대로 유지하도록 하는 것이 가능하다. However, when the PlayItem () is switched, the configurable_flag for the new subtitle stream played in accordance with the newly-played PlayItem () is examined. If the configurable_flag is 0, the subtitle data for the graphics processing module 219 is changed. When the instruction of the display method of the initialization is initialized and configurable_flag is 1, it is possible to keep the instruction of the display method for the graphics processing module 219 as it is before the change of the PlayItem ().

또한, 도 43의 자막 표시 제어 처리에서는, 유저가 리모콘을 조작함으로써, 새로운 표시 방식의 지시가 입력된 경우에, 그 새로운 표시 방식의 지시를, 그래픽스 처리 모듈(219)에 공급하도록 하였지만(스텝 S349), 표시 방식의 지시는, 예를 들면, 메모리(113)(도 1)를 구성하는 불휘발성 메모리에 기억하고, 그 불휘발성 메모리에 기억된 표시 방식의 지시를, 그래픽스 처리 모듈(219)에 공급하도록 하는 것이 가능하다. In addition, in the caption display control process of FIG. 43, when the user inputs an instruction of a new display system by operating the remote controller, the instruction of the new display system is supplied to the graphics processing module 219 (step S349). ), The instruction of the display method is stored in the nonvolatile memory constituting the memory 113 (FIG. 1), and the instruction of the display method stored in the nonvolatile memory is sent to the graphics processing module 219. It is possible to supply.

즉, 예를 들면, 도 1의 디스크 장치의 초기 설정으로서, 불휘발성 메모리에, 유저 설정의 표시 방식의 지시를 기억시켜 두고, 유저가 리모콘을 조작함으로써, 새로운 표시 방식의 지시가 입력된 경우에는, 불휘발성 메모리에 기억된 표시 방식의 지시를, 새로운 표시 방식의 지시로 갱신하는 한편, 그 불휘발성 메모리에 기억된 표시 방식의 지시를, 그래픽스 처리 모듈(219)에 공급하도록 하는 것이 가능하다. 이 경우, 불휘발성 메모리에는, 전회의 재생 종료 시에서의 표시 방식의 지시가 보유되므로, 다음회의 PlayList()의 재생 시에, 유저가 리모콘을 조작함으로써, 전회의 재생 종료 시에서의 표시 방식의 지시를 입력하지 않아도, 그 표시 방식으로, 자막 데이터의 표시가 개시된다. That is, for example, when the instruction of the display method of the user setting is stored in the nonvolatile memory as the initial setting of the disk device of FIG. 1 and the instruction of the new display method is input by the user operating the remote controller. It is possible to update the instruction of the display method stored in the nonvolatile memory to the instruction of the new display method and to supply the instruction of the display method stored in the nonvolatile memory to the graphics processing module 219. In this case, since the instruction of the display method at the end of the previous playback is retained in the nonvolatile memory, when the user plays the remote control at the time of the next PlayList () playback, the display method at the end of the previous playback is Even if no instruction is input, display of the caption data is started in the display manner.

또한, 이 경우, 불휘발성 메모리에 기억시키는 표시 방식의 지시에는, 예를 들면, 자막 데이터를 확대 또는 축소할 때의 확대율 또는 축소율 등이 포함되는 것으로 한다. In this case, the indication of the display system stored in the nonvolatile memory includes, for example, an enlargement rate or a reduction rate when the subtitle data is enlarged or reduced.

이상과 같이, 자막 표시 제어 처리에 따르면, 클립 정보 파일 Clip()(도 10)에 포함되는, 엘리멘터리 스트림마다의, 그 엘리멘터리 스트림의 재생 중에 변화되지 않는 StaticInfo() 중의, 자막 데이터의 StaticInfo()가 취득되고, 그 StaticInfo()에 포함되는, 자막 데이터의 표시를 디폴트의 표시 방식으로부터 변경하는 것을 허가할지의 여부를 나타내는 configurable_flag에 기초하여, 재생 중인 자막 데이터의 표시를 디폴트의 표시 방식으로부터 변경하는 것이 허가되어 있는지의 여부가 판정된다. 그리고, 재생 중인 자막 데이터의 표시를 디폴트의 표시 방식으로부터 변경하는 것이 허가되어 있는 경우에는, 자막 데이터의 표시 방식의 변경의 지시에 따라서, 그 자막 데이터의 표시 처리, 즉, 예를 들면, 자막 데이터를 확대 또는 축소, 혹은 표시 색을 변경하는 등 하여 표시하는 처리가 행하여진다. 따라서, 자막 데이터의 표시 방식의 변경을 제어할 수 있다. As described above, according to the caption display control process, the caption data in the StaticInfo () which is not changed during reproduction of the elementary stream for each elementary stream included in the clip information file Clip () (Fig. 10). The default display of the caption data being played, based on the configurable_flag obtained from the StaticInfo () obtained and contained in the StaticInfo () indicating whether to allow the display of the caption data to be changed from the default display method. It is determined whether or not the change is allowed from the method. If it is permitted to change the display of the caption data being reproduced from the default display method, the display processing of the caption data, i.e., the caption data, in accordance with the instruction of the change of the display method of the caption data. Is displayed by enlarging or reducing the display or changing the display color. Therefore, it is possible to control the change of the display method of the caption data.

[캡쳐 제어 처리][Capture Control Processing]

다음으로, 도 44의 플로우차트를 참조하여, 비디오 스트림에 대응하는 비디오 데이터의 캡쳐를 제어하는 캡쳐 제어 처리에 대하여 설명한다. 또한, 도 44에는, 캡쳐 제어 처리를 설명하는 플로우차트와 함께, 그 캡쳐 제어 처리에 의해 캡쳐된 비디오 데이터를 2차 이용하는 처리의 예인 백그라운드/스크린 세이버 처리를 설명하는 플로우차트도, 도시하고 있다. Next, with reference to the flowchart of FIG. 44, the capture control process for controlling the capture of video data corresponding to the video stream will be described. FIG. 44 also shows a flowchart for explaining a capture control process, and a flowchart for explaining a background / screen saver process, which is an example of a process of using video data captured by the capture control process secondarily.

캡쳐 제어 처리는, 예를 들면, 유저가 리모콘을 조작함으로써, 비디오 데이터의 캡쳐를 지시하는 캡쳐 지시가, 입력 인터페이스(115)(도 1)를 통하여, 플레이어 제어 모듈(212)에 공급되면 개시된다. The capture control process is started when a capture instruction for instructing capture of video data is supplied to the player control module 212 via the input interface 115 (FIG. 1), for example, by the user operating the remote controller. .

즉, 캡쳐 제어 처리에서는, 우선 최초로, 스텝 S371에서, 플레이어 제어 모듈(212)이, 비디오 스트림을 재생 중인지의 여부를 판정하고, 재생 중이 아니라고 판정한 경우, 캡쳐 제어 처리는 종료한다. That is, in the capture control process, first, in step S371, when the player control module 212 determines whether the video stream is being played back and determines that it is not playing, the capture control process ends.

한편, 스텝 S371에서, 비디오 스트림을 재생 중이라고 판정된 경우, 스텝 S372로 진행하여, 플레이어 제어 모듈(212)은, 재생 중인 비디오 스트림에 대응하는 PlayList()(도 5)로부터, capture_enable_flag_PlayList를 취득함과 함께, 재생 중인 비디오 스트림에 대응하는 클립 정보 파일 Clip()(도 10)로부터, capture_enable_flag_Clip을 취득한다. On the other hand, when it is determined in step S371 that the video stream is being played back, the process proceeds to step S372 where the player control module 212 acquires capture_enable_flag_PlayList from PlayList () (Fig. 5) corresponding to the video stream being played back. At the same time, capture_enable_flag_Clip is obtained from the clip information file Clip () (Fig. 10) corresponding to the video stream being played back.

여기서, PlayList()에서의 capture_enable_flag_PlayList는, 도 5에서 설명한 바와 같이, 그 PlayList()에 의해 재생되는 비디오 스트림에 대응하는 비디오 데이터(PlayList()에 속하는 비디오 데이터)의 2차 이용을 허가할지의 여부를 나타낸다. 또한, 클립 정보 파일 Clip()에서의 capture_enable_flag_Clip는, 도 10에서 설명한 바와 같이, 그 클립 정보 파일 Clip()에 대응하는 클립 스트림 파일에 저장되어 있는 비디오 스트림에 대응하는 비디오 데이터의 2차 이용을 허가할지의 여부를 나타낸다. Here, capture_enable_flag_PlayList in PlayList (), as described with reference to Fig. 5, whether or not to permit secondary use of video data (video data belonging to PlayList ()) corresponding to the video stream played by the PlayList (). Indicates. In addition, capture_enable_flag_Clip in the clip information file Clip () permits secondary use of video data corresponding to the video stream stored in the clip stream file corresponding to the clip information file Clip (), as described with reference to FIG. Indicates whether or not to do so.

스텝 S372의 처리 후에는, 스텝 S373으로 진행하여, 플레이어 제어 모듈(212)은, 직전의 스텝 S373에서 취득된 capture_enable_flag_PlayList와 capture_enable_flag_Clip에 기초하여, 캡쳐 지시가 입력 인터페이스(115)(도 1)로부터 입력되었을 때에 재생되어 있던 비디오 데이터의 픽쳐의 캡쳐의 가부를 판정한다. After the process of step S372, it progresses to step S373, and the player control module 212 based on capture_enable_flag_PlayList and capture_enable_flag_Clip acquired in step S373 just before, the capture instruction was input from the input interface 115 (FIG. 1). It is determined whether to capture the picture of the video data that was played back at the time.

스텝 S373에서, 캡쳐 지시가 입력 인터페이스(115)로부터 입력되었을 때에 재생되어 있던 비디오 데이터의 픽쳐의 캡쳐가 불가능하다고 판정된 경우, 즉, 직전의 스텝 S373에서 취득된 capture_enable_flag_PlayList 또는 capture_enable_flag_Clip 중의 적어도 한 쪽이, 비디오 데이터의 2차 이용을 허가하지 않는다는 취지의 0으로 되어 있는 경우, 스텝 S374로 진행하여, 플레이어 제어 모듈(212)은, 그래픽스 처리 모듈(219)을 제어함으로써, 비디오 데이터의 캡쳐가 불가능하다는 취지의 에러 메시지를 오버레이시키고, 캡쳐 제어 처리를 종료한다. 이에 의해, 에러 메시지가 표시된다. If it is determined in step S373 that the picture of the video data reproduced when the capture instruction is input from the input interface 115 is impossible to be captured, that is, at least one of capture_enable_flag_PlayList or capture_enable_flag_Clip acquired in the previous step S373, If it is 0 that the secondary use of the video data is not allowed, the flow proceeds to step S374, in which the player control module 212 controls the graphics processing module 219 to capture video data. Overlay error message, and the capture control process ends. As a result, an error message is displayed.

한편, 스텝 S373에서, 캡쳐 지시가 입력 인터페이스(115)로부터 입력되었을 때에 재생되어 있던 비디오 데이터의 픽쳐의 캡쳐가 가능하다고 판정된 경우, 즉, 직전의 스텝 S373에서 취득된 capture_enable_flag_PlayList 및 capture_enable_flag_Clip의 양쪽이, 비디오 데이터의 2차 이용을 허가한다는 취지의 1로 되어 있는 경우, 스텝 S375로 진행하여, 플레이어 제어 모듈(212)은, 캡쳐 지시가 입력 인터페이스(115)로부터 입력되었을 때에 재생되어 있던 비디오 데이터의 픽쳐의 캡쳐의 지시를, 그래픽스 처리 모듈(219)에 공급하고, 스텝 S376으로 진행한다. On the other hand, when it is determined in step S373 that the picture of the video data reproduced when the capture instruction is input from the input interface 115 is possible to be captured, that is, both capture_enable_flag_PlayList and capture_enable_flag_Clip acquired in the previous step S373, If it is set to 1 to permit secondary use of the video data, the flow proceeds to step S375, where the player control module 212 proceeds to the picture of the video data reproduced when the capture instruction is input from the input interface 115. The instruction to capture the data is supplied to the graphics processing module 219, and the flow proceeds to step S376.

스텝 S376에서는, 그래픽스 처리 모듈(219)은, 플레이어 제어 모듈(212)로부터의 캡쳐의 지시에 따라서, 비디오 디코더 제어 모듈(216)로부터의 비디오 데이터의 픽쳐를 캡쳐하고, 메모리(113)(도 1)에 기억시켜, 캡쳐 제어 처리를 종료한다. 또한, capture_enable_flag가 복수 비트 구성으로 되어 있고, 사용 조건의 제약이 행하여져 있는 경우에는 이 시점에서 대응이 행하여진다. 즉 캡쳐한 화상의 크기에 제한이 있는 경우에는, 이 시점에서 축소한 화상이 캡쳐된다. In step S376, the graphics processing module 219 captures the picture of the video data from the video decoder control module 216 in accordance with the instruction of the capture from the player control module 212, and the memory 113 (Fig. 1). ) To complete the capture control process. In addition, when capture_enable_flag has a plural-bit structure and the use condition is restricted, correspondence is performed at this point. In other words, if there is a limit on the size of the captured image, the reduced image at this point is captured.

또한 사용하는 어플리케이션에 제약이 있는 경우에는 그 취지를 알리는 플래그가 동시에 기록된다. In addition, when there are restrictions on the application to be used, a flag indicating the effect is simultaneously recorded.

이상과 같이, 캡쳐 제어 처리에서는, 유저로부터의 캡쳐 지시가 있었을 때에 재생되어 있는 비디오 스트림에 대응하는 PlayList()(도 5)와 클립 정보 파일 Clip()(도 10) 각각의 capture_enable_flag_PlayList와 capture_enable_flag_Clip과의 논리곱을 취하고, 그 논리곱이 1인 경우, 즉, capture_enable_flag_PlayList와 capture_enable_flag_Clip이, 모두, 2차 이용을 허가하는 1로 되어 있는 경우에만, 비디오 데이터의 2차 이용이 가능하다고 판단되고, 캡쳐가 행하여진다. As described above, in the capture control process, the capture_enable_flag_PlayList and the capture_enable_flag_Clip of the PlayList () (FIG. 5) and the clip information file Clip () (FIG. 10) corresponding to the video stream being played when a capture instruction is received from the user, respectively. When the logical product is taken and the logical product is 1, that is, when both capture_enable_flag_PlayList and capture_enable_flag_Clip are both 1 for allowing secondary use, it is determined that secondary use of video data is possible, and the capture is performed.

따라서, 예를 들면, 도 25에서의 1번째의 PlayList #0의 1번째의 PlayItem #0에 따라서, 비디오 스트림의 재생, 즉, 클립 스트림 파일 "00001.PS"에 다중화된 비디오 스트림의 재생이 행하여지고 있는 경우에, 유저로부터의 캡쳐 지시가 있었을 때에는, 1번째의 PlayList #0에서의 capture_enable_flag_PlayList는 1이고, 그 1번째의 PlayItem #0에 의해 재생되는 클립 스트림 파일 "00001.PS"에 대응하는 도 26의 클립 정보 파일 "00001.CLP"에서의 capture_enable_flag_Clip는 1이기 때문에, 재생 중인 비디오 데이터(클립 스트림 파일 "00001.PS"에 다중화된 비디오 스트림에 대응하는 비디오 데이터)의 2차 이용은 가능하다고 판단되고, 캡쳐가 행하여진다. Thus, for example, according to the first PlayItem # 0 of the first PlayList # 0 in FIG. 25, the playback of the video stream, that is, the playback of the video stream multiplexed in the clip stream file "00001.PS" is performed. When the capture instruction from the user is received, capture_enable_flag_PlayList in the first PlayList # 0 is 1, and the diagram corresponding to the clip stream file "00001.PS" played by the first PlayItem # 0 is shown. Since capture_enable_flag_Clip in the clip information file "00001.CLP" of 26 is 1, it is determined that secondary use of the video data being played (video data corresponding to the video stream multiplexed in the clip stream file "00001.PS") is possible. Capture is performed.

또한, 예를 들면, 도 25에서의 1번째의 PlayList #0의 2번째의 PlayItem #1 에 따라서, 비디오 스트림의 재생, 즉, 클립 스트림 파일 "00002.PS"에 다중화된 비디오 스트림의 재생이 행하여지고 있는 경우에, 유저로부터의 캡쳐 지시가 있었을 때에는, 1번째의 PlayList #0에서의 capture_enable_flag_PlayList는 1이고, 그 2번째의 PlayItem #1에 의해 재생되는 클립 스트림 파일 "00002.PS"에 대응하는 도 26의 클립 정보 파일 "00002.CLP"에서의 capture_enable_flag_Clip는 0이기 때문에, 재생 중인 비디오 데이터(클립 스트림 파일 "00002.PS"에 다중화된 비디오 스트림에 대응하는 비디오 데이터)의 2차 이용은 불가능하다고 판단되고, 캡쳐가 행하여지지 않는다. For example, according to the second PlayItem # 1 of the first PlayList # 0 in FIG. 25, the video stream is played back, that is, the video stream multiplexed in the clip stream file "00002.PS" is played. When the capture instruction from the user is received, capture_enable_flag_PlayList in the first PlayList # 0 is 1, and the diagram corresponding to the clip stream file "00002.PS" played by the second PlayItem # 1 is obtained. Since capture_enable_flag_Clip in the clip information file "00002.CLP" of 26 is 0, it is determined that secondary use of the video data being played back (video data corresponding to the video stream multiplexed in the clip stream file "00002.PS") is impossible. And no capture is performed.

또한, 예를 들면, 도 25에서의 2번째의 PlayList #1의 PlayItem #0에 따라서, 비디오 스트림의 재생, 즉, 클립 스트림 파일 "00003.PS"에 다중화된 비디오 스트림의 재생이 행하여지고 있는 경우에, 유저로부터의 캡쳐 지시가 있었을 때에는, 2번째의 PlayList #1에서의 capture_enable_flag_PlayList는 0이고, 2번째의 PlayList #1의 PlayItem #0에 의해 재생되는 클립 스트림 파일 "00003.PS"에 대응하는 도 26의 클립 정보 파일 "00003.CLP"에서의 capture_enable_flag_Clip은 1이기 때문에, 재생 중인 비디오 데이터(클립 스트림 파일 "00003.PS"에 다중화된 비디오 스트림에 대응하는 비디오 데이터)의 2차 이용은 불가능하다고 판단되어, 캡쳐는 행하여지지 않는다. For example, when the video stream is played back, i.e., the video stream multiplexed in the clip stream file "00003.PS" is performed in accordance with PlayItem # 0 of the second PlayList # 1 in FIG. In the second PlayList # 1, the capture_enable_flag_PlayList in the second PlayList # 1 is 0 and corresponds to the clip stream file " 00003.PS " played by the PlayItem # 0 in the second PlayList # 1. Since capture_enable_flag_Clip in the clip information file "00003.CLP" of 26 is 1, it is determined that secondary use of the video data being played back (video data corresponding to the video stream multiplexed in the clip stream file "00003.PS") is impossible. No capture is performed.

또한, 이 경우, 2번째의 PlayList #1에서의 capture_enable_flag_PlayList가 0인 것이 확인된 시점에서, 비디오 데이터의 2차 이용은 불가능하다고 판단할 수 있으므로, 2번째의 PlayList #1의 PlayItem #0에 의해 재생되는 클립 스트림 파일 "00003.PS"에 대응하는 도 26의 클립 정보 파일 "00003.CLP"에서의 capture_enable_flag_Clip의 확인은 생략할 수 있다. In this case, when it is confirmed that capture_enable_flag_PlayList in the second PlayList # 1 is 0, it can be determined that the secondary use of the video data is impossible, so that playback is performed by PlayItem # 0 in the second PlayList # 1. Confirmation of capture_enable_flag_Clip in the clip information file "00003.CLP" in FIG. 26 corresponding to the clip stream file "00003.PS" to be referred to may be omitted.

캡쳐 제어 처리에 의해 캡쳐되고, 메모리(113)에 기억된 픽쳐는, 백그라운드/스크린 세이버 처리에서 2차 이용할 수 있다. The pictures captured by the capture control process and stored in the memory 113 can be secondarily used in the background / screen saver process.

백그라운드/스크린 세이버 처리는, 예를 들면, 플레이어 제어 모듈(212)이 동작하고 있지만, 엘리멘터리 스트림의 재생이 행하여져 있지 않은 상태, 즉, 디스크 드라이브(102)(도 1)에 디스크(101)가 삽입되어 있지 않은 상태, 혹은 엘리멘터리 스트림의 재생이 종료한 상태로 되었을 때 등에 행하여진다. In the background / screen saver process, for example, the player control module 212 is in operation, but the elementary stream is not played, that is, the disk 101 in the disk drive 102 (FIG. 1). Is inserted, or when the elementary stream has finished playing.

즉, 백그라운드/스크린 세이버 처리에서는, 스텝 S381에서, 플레이어 제어 모듈(212)은, 캡쳐 제어 처리에 의해 메모리(113)에 기억된 픽쳐를 표시하도록, 그래픽스 처리 모듈(219)을 제어한다. 그래픽스 처리 모듈(219)은, 플레이어 제어 모듈(212)로부터의 제어에 따라서, 캡쳐 제어 처리에 의해 메모리(113)에 기억된 픽쳐를 표시시킨다. In other words, in the background / screen saver processing, in step S381, the player control module 212 controls the graphics processing module 219 to display the picture stored in the memory 113 by the capture control processing. The graphics processing module 219 displays the pictures stored in the memory 113 by the capture control processing in accordance with the control from the player control module 212.

여기서, 그래픽스 처리 모듈(219)에서, 메모리(113)에 기억된 픽쳐를 정지 화상으로 표시시키면, 소위 벽지(백그라운드)가 실현되고, 일정 주기로 확대나 축소, 이동 등으로 하면서 표시시키면, 스크린 세이버가 실현된다. 또한, 캡쳐 제어 처리에 의해 메모리(113)에 기억된 픽쳐의 표시를 행하는 백그라운드/스크린 세이버 처리는, 플레이어 제어 모듈(212)이 아니라, 다른 독립된 어플리케이션에 의해 행하는 것이 가능하다. In the graphics processing module 219, when a picture stored in the memory 113 is displayed as a still image, a so-called wallpaper (background) is realized, and when the screen is displayed while being enlarged, reduced, or moved at a constant cycle, the screen saver Is realized. In addition, the background / screen saver process of displaying the picture stored in the memory 113 by the capture control process can be performed by another independent application instead of the player control module 212.

또한, 이 때 메모리(113)에 기억된 픽쳐에 사용 제한을 나타내는 플래그가 부가되어 있는 경우에는 그 제한에 따른다. In this case, if a flag indicating usage restriction is added to the picture stored in the memory 113, the restriction is followed.

이상과 같이, 비디오 액세스 유닛 단위보다 큰 단위의, 예를 들면, PlayList()나 PlayItem()에 대응하는 비디오 데이터의 2차 이용을 허가할지의 여부를 나타내는, 재생 중인 비디오 데이터에 대한capture_enable_flag_PlayList나 capture_enable_flag_Clip이 취득되고, 그 capture_enable_flag_PlayList나 capture_enable_flag_Clip에 기초하여, 재생 중인 비디오 데이터의 2차 이용이 허가되어 있는지의 여부가 판정된다. 그리고, 재생 중인 비디오 데이터의 2차 이용이 허가되어 있다고 판정된 경우, 재생 중인 비디오 데이터가 캡쳐되고, 그 캡쳐된 비디오 데이터를 이용한 백그라운드/스크린 세이버 처리가 실행된다. 따라서, 비디오 데이터의 2차 이용의 제어가 가능하게 된다. As described above, capture_enable_flag_PlayList or capture_enable_flag_Clip for video data being played, which indicates whether to permit secondary use of video data corresponding to, for example, PlayList () or PlayItem (), in units larger than the video access unit. Is obtained, and based on the capture_enable_flag_PlayList or capture_enable_flag_Clip, it is determined whether secondary use of the video data being reproduced is permitted. When it is determined that secondary use of the video data being reproduced is permitted, the video data being reproduced is captured, and the background / screen saver processing using the captured video data is executed. Thus, control of secondary use of video data becomes possible.

또한, 도 44의 캡쳐 제어 처리에서는, PlayList()(도 5)에서, capture_enable_flag_PlayList를 마련함과 함께, PlayItem()에 의해 재생되는 클립 스트림 파일에 대응하는 클립 정보 파일 Clip()(도 10)에서, capture_enable_flag_Clip을 마련하고, 그 capture_enable_flag_PlayList와 capture_enable_flag_Clip의 양쪽을 이용하여, 2차 이용의 허가(가부)를 판정하도록 하였지만, PlayList()(도 5)에서, capture_enable_flag_PlayList를 마련하는 것만이나, 또는, PlayItem()에 의해 재생되는 클립 스트림 파일에 대응하는 클립 정보 파일 Clip()(도 10)에서, capture_enable_flag_Clip을 마련하는 것만으로 하여, capture_enable_flag_PlayList 또는 capture_enable_flag_Clip의 한쪽만을 이용하여, 2차 이용의 가부를 판정하도록 하는 것도 가능하다. In addition, in the capture control process of FIG. 44, in the PlayList () (FIG. 5), capture_enable_flag_PlayList is provided, and in the clip information file Clip () (FIG. 10) corresponding to the clip stream file reproduced by PlayItem (), Although capture_enable_flag_Clip is provided and the permission of the secondary use is determined by using both capture_enable_flag_PlayList and capture_enable_flag_Clip, in PlayList () (Fig. 5), only capture_enable_flag_PlayList is provided, or in PlayItem (). In the clip information file Clip () (FIG. 10) corresponding to the clip stream file to be reproduced, it is also possible to determine whether secondary use is possible using only one of capture_enable_flag_PlayList or capture_enable_flag_Clip by providing capture_enable_flag_Clip. .

또한, 도 44의 캡쳐 제어 처리에서는, 스텝 S376에서, 그래픽스 처리 모듈(219)이, 플레이어 제어 모듈(212)로부터의 캡쳐의 지시에 따라서, 비디오 디코더 제어 모듈(216)로부터의 비디오 데이터의 픽쳐, 즉, 1개의 픽쳐만을 캡쳐하도록 하였지만, 그 밖에, 복수의 픽쳐를 캡쳐하는 것도 가능하다. 즉, 비디오 디코더 제어 모듈(216)이 출력하는 시계열의 복수의 픽쳐(동화상으로서의 복수의 픽쳐의 시퀀스)를 캡쳐하는 것이 가능하다. 이 경우, 한번에 캡쳐되는 픽쳐의 매수는, 예를 들면, 미리 결정해 둘 수 있다. 혹은, capture_enable_flag_PlayList나 capture_enable_flag_Clip의 비트를 확장하여, 그 capture_enable_flag_PlayList나 capture_enable_flag_Clip에, 한번에 캡쳐 가능한 픽쳐의 매수의 정보를 포함시키도록 해도 된다. In addition, in the capture control process of FIG. 44, in step S376, the graphics processing module 219 according to the capture instruction from the player control module 212, the picture of the video data from the video decoder control module 216, That is, although only one picture is to be captured, it is also possible to capture a plurality of pictures. That is, it is possible to capture a plurality of pictures (sequences of a plurality of pictures as video images) in a time series output by the video decoder control module 216. In this case, the number of pictures captured at one time can be determined in advance, for example. Alternatively, the bits of capture_enable_flag_PlayList and capture_enable_flag_Clip may be extended to include information on the number of pictures that can be captured at one time in the capture_enable_flag_PlayList or capture_enable_flag_Clip.

또한, 상술한 경우에는, 비디오 데이터의 2차 이용을 허가할지의 여부의 이용 허가 정보(capture_enable_flag_PlayList, capture_enable_flag_Clip)를, PlayList()나, 클립 정보 파일 Clip()에 기술하고, 그 이용 허가 정보에 의해, PlayList()에 의해 재생되는 비디오 데이터 전체나, 클립 정보 파일 Clip()에 대응하는 클립 스트림 파일에 다중화된 비디오 스트림에 대응하는 비디오 데이터 전체에 대한 2차 이용의 가부를 판정하도록 하였지만, 이용 허가 정보는, 그 밖의 임의의 단위의 비디오 데이터에 대하여 기술하고, 그 이용 허가 정보에 의해, 임의의 단위의 비디오 데이터에 대한 2차 이용의 가부를 판정하는 것이 가능하다. In addition, in the above-described case, usage permission information (capture_enable_flag_PlayList, capture_enable_flag_Clip) of whether or not to permit secondary use of video data is described in PlayList () or clip information file Clip (), and the permission information is used. Although it is determined whether or not the secondary use of the entire video data reproduced by the PlayList () or the entire video data corresponding to the video stream multiplexed in the clip stream file corresponding to the clip information file Clip () is allowed, The information is described with respect to other arbitrary video data, and based on the use permission information, it is possible to determine whether or not secondary use is applied to the video data in any arbitrary unit.

즉, 도 45는, 이용 허가 정보가 배치된 private_stream2_PES_payload()의 신택스를 도시하고 있고, 도 46은, 이용 허가 정보가 배치된 au_information()의 신 택스를 도시하고 있다. That is, FIG. 45 shows the syntax of private_stream2_PES_payload () in which the use permission information is arranged, and FIG. 46 shows the syntax of au_information () in which the use permission information is arranged.

또한, 도 45의 private_stream2_PES_payload()는, video_stream_id의 직전에, 이용 허가 정보로서의 capture_enable_flag_ps2가 배치되어 있는 것 외에는, 도 23에서의 경우와 마찬가지로 구성되어 있다. 도 46의 au_information()도, pic_struct_copy의 직전에, 이용 허가 정보로서의 capture_enable_flag_AU가 배치되어 있는 것 외에는, 도 24에서의 경우와 마찬가지로 구성되어 있다. In addition, private_stream2_PES_payload () of FIG. 45 is comprised similarly to the case of FIG. 23 except that capture_enable_flag_ps2 as usage permission information is arrange | positioned immediately before video_stream_id. The au_information () in FIG. 46 is also configured similarly to the case in FIG. 24 except that capture_enable_flag_AU as the usage permission information is disposed immediately before pic_struct_copy.

도 45의 private_stream2_PES_payload()에 배치된 capture_enable_flag_ps2는, 그 private_stream2_PES_payload()를 포함하는 private_stream_2의 PES_packet()으로부터, 다음의 private_stream_2의 PES_packet()의 직전까지 배치되는 비디오 스트림에 대응하는 비디오 데이터의 2차 이용을 허가할지의 여부를 나타낸다. 따라서, 도 45의 private_stream2_PES_payload()에 배치된 capture_enable_flag_ps2에 따르면, 임의의 디코드 개시 가능점으로부터 다음의 디코드 개시 가능점까지의 사이의 비디오 데이터에 대하여, 그 2차 이용을 허가할지의 여부를 판정할 수 있다. Capture_enable_flag_ps2 disposed in private_stream2_PES_payload () of FIG. 45 allows secondary use of video data corresponding to the video stream disposed from PES_packet () of private_stream_2 including its private_stream2_PES_payload () to immediately before PES_packet () of next private_stream_2. Indicates whether to allow. Accordingly, according to capture_enable_flag_ps2 disposed in private_stream2_PES_payload () in FIG. 45, it is possible to determine whether or not to permit the secondary use for video data between any decode start point and the next decode start point. have.

또한, 도 46의 au_information()에 배치된 capture_enable_flag_AU는, 그 capture_enable_flag_AU에 대응하는 비디오 액세스 유닛의 비디오 데이터의 2차 이용을 허가할지의 여부를 나타낸다. 따라서, 도 46의 au_information()에 배치된 capture_enable_flag_AU에 따르면, 비디오 액세스 유닛 단위의 비디오 데이터에 대하여, 즉, 픽쳐 단위로, 그 2차 이용을 허가할지의 여부를 판정할 수 있다. In addition, capture_enable_flag_AU arranged in au_information () in FIG. 46 indicates whether to permit secondary use of video data of the video access unit corresponding to the capture_enable_flag_AU. Therefore, according to capture_enable_flag_AU arranged in au_information () of FIG. 46, it is possible to determine whether to permit the secondary use for video data in units of video access units, that is, in units of pictures.

여기서, PlayList()(도 5)에서의 이용 허가 정보로서의 capture_enable_flag_PlayList, 클립 정보 파일 Clip()(도 10)에서의 이용 허가 정보로서의 capture_enable_flag_Clip, private_stream2_PES_payload()(도 45)에서의 이용 허가 정보로서의 capture_enable_flag_ps2, au_information()(도 46)에서의 이용 허가 정보로서의 capture_enable_flag_AU는, 그 중의 2 이상을 중복하여 채용하는 것이 가능하며, 이 경우, 임의의 비디오 데이터의 픽쳐의 2차 이용의 가부는, 그 중복하여 채용되는 2 이상의 이용 허가 정보의 논리곱 등에 기초하여 판정할 수 있다. Here, capture_enable_flag_PlayList as permission information in PlayList () (FIG. 5), capture_enable_flag_Clip as permission information in clip information file Clip () (FIG. 10), capture_enable_flag_ps2 as permission information in private_stream2_PES_payload () (FIG. 45), capture_enable_flag_AU as the usage permission information in au_information () (FIG. 46) can be used in duplicate of two or more of them. In this case, whether or not the secondary use of a picture of arbitrary video data is used in duplicate is adopted. The determination can be made based on a logical product of two or more usage permission information.

또한, 도 46의 au_information()이 배치되는 도 23 또는 도 45의 private_stream2_PES_payload()를 포함하는 private_stream_2의 PES_packet()은, 도 36의 스텝 S211에서 설명한 바와 같이, 버퍼 제어 모듈(215)(도 3)의 비디오 읽어내기 기능부(233)가, 버퍼(215A)에 기억된 프로그램 스트림 중으로부터 탐색한다. 따라서, capture_enable_flag_ps2가 배치된 도 45의 private_stream2_PES_payload()나, capture_enable_flag_AU가 배치된 도 46의 au_information()을 채용하는 경우에는, 플레이어 제어 모듈(212)은, 비디오 데이터의 2차 이용의 가부를 판정함에 있어서, capture_enable_flag_ps2나 capture_enable_flag_AU를, 비디오 읽어내기 기능부(233)에 조회할 필요가 있다. In addition, the PES_packet () of the private_stream_2 including the private_stream2_PES_payload () of FIG. 23 or 45 where the au_information () of FIG. 46 is disposed is, as described in step S211 of FIG. 36, the buffer control module 215 (FIG. 3). The video reading function unit 233 searches from the program stream stored in the buffer 215A. Therefore, when employing private_stream2_PES_payload () of FIG. 45 in which capture_enable_flag_ps2 is arranged or au_information () of FIG. 46 in which capture_enable_flag_AU is arranged, the player control module 212 determines whether or not secondary use of video data is possible. It is necessary to query the video reading function unit 233 for capture_enable_flag_ps2 and capture_enable_flag_AU.

또한, 본 실시 형태에서는, 상술한 일련의 처리를, 소프트웨어에 의해 행하는 것으로 하였지만, 상술한 일련의 처리는, 전용의 하드웨어에 의해 행할 수도 있다. In addition, in this embodiment, although the above-mentioned series of processes are performed by software, the above-mentioned series of processes can also be performed by exclusive hardware.

또한, 본 실시 형태에서는, 비디오 디코더(116)(도 1)로서, 하드웨어 디코더 를 채용하는 것으로 하였지만, 비디오 디코더(116)로서는, 소프트웨어 디코더를 채용하는 것도 가능하다. 오디오 디코더(117)(도 1)에 대해서도, 마찬가지이다. In addition, in this embodiment, although the hardware decoder is employ | adopted as the video decoder 116 (FIG. 1), the software decoder can also be employ | adopted as the video decoder 116. FIG. The same applies to the audio decoder 117 (FIG. 1).

또한, 본 실시 형태에서는, 자막 디코더로서, 소프트웨어 디코더를 채용하는 것으로 하였지만, 자막 디코더로서는, 하드웨어 디코더를 채용하는 것도 가능하다. In the present embodiment, a software decoder is adopted as the subtitle decoder. However, a hardware decoder may be employed as the subtitle decoder.

Claims (8)

부호화 데이터를 처리하는 데이터 처리 장치로서, A data processing apparatus for processing encoded data, 상기 부호화 데이터는, The coded data, 소정의 단위의 비디오 데이터를 부호화하여 얻어지는, 액세스 유닛 단위의 부호화 비디오 데이터와, Encoded video data obtained by encoding video data in a predetermined unit, and 상기 액세스 유닛 단위의 부호화 비디오 데이터에서의 1이상의 디코드 개시 가능점 각각의 직전에 배치되는, 상기 부호화 비디오 데이터의 디코드에 이용되는 이용 정보Usage information used for decoding of the encoded video data disposed immediately before each of one or more decode start points in the encoded video data in the unit of the access unit. 를 포함하고, Including, 상기 이용 정보는, 그 이용 정보로부터 다음의 이용 정보까지의 사이에 배치되어 있는 1이상의 상기 액세스 유닛 각각의 사이즈를 나타내는 사이즈 정보를 포함하며, The use information includes size information indicating the size of each of the one or more access units arranged between the use information and the next use information, 상기 부호화 데이터로부터, 상기 이용 정보를 탐색하는 탐색 수단과, Search means for searching for the use information from the encoded data; 상기 부호화 비디오 데이터를 디코드하는 비디오 디코더를 제어하는 비디오 디코더 제어 수단으로부터의 요구에 따라서, 상기 이용 정보에 포함되는 상기 사이즈 정보에 기초하여, 상기 부호화 데이터로부터 상기 액세스 유닛 단위로 상기 부호화 비디오 데이터를 읽어내고, 상기 비디오 디코더에 공급하는 공급 수단According to a request from a video decoder control means for controlling a video decoder that decodes the encoded video data, the encoded video data is read from the encoded data in units of the access unit based on the size information included in the usage information. Supply means for supplying and supplying to the video decoder 을 구비하는 것을 특징으로 하는 데이터 처리 장치.A data processing apparatus comprising: a. 제1항에 있어서,The method of claim 1, 상기 이용 정보는, 그 이용 정보로부터 다음의 이용 정보까지의 사이에 배치되어 있는 상기 액세스 유닛의 수를 나타내는 수 정보를, 더 포함하고, The use information further includes number information indicating the number of the access units arranged between the use information and the next use information, 상기 공급 수단은, 상기 이용 정보에 포함되는 상기 사이즈 정보에 기초하여, 상기 부호화 데이터로부터 상기 액세스 유닛 단위로 상기 부호화 비디오 데이터를 읽어내고, 상기 비디오 디코더에 공급하는 것을, 상기 이용 정보에 포함되는 상기 수 정보가 나타내는 수만큼 반복하는 The supply means is configured to read the encoded video data in units of the access unit from the encoded data on the basis of the size information included in the usage information, and to supply the encoded video data to the video decoder. Repeat as many times as the number information indicates 것을 특징으로 하는 데이터 처리 장치.A data processing device, characterized in that. 제1항에 있어서,The method of claim 1, 소정의 단위의 비디오 데이터를 부호화하여 얻어지는, 액세스 유닛 단위의 부호화 비디오 데이터는, 가변 길이의 데이터인 The encoded video data obtained by encoding video data in a predetermined unit is a variable length of data. 것을 특징으로 하는 데이터 처리 장치.A data processing device, characterized in that. 부호화 데이터를 처리하는 데이터 처리 방법으로서, As a data processing method for processing encoded data, 상기 부호화 데이터는, The coded data, 소정의 단위의 비디오 데이터를 부호화하여 얻어지는, 액세스 유닛 단위의 부호화 비디오 데이터와, Encoded video data obtained by encoding video data in a predetermined unit, and 상기 액세스 유닛 단위의 부호화 비디오 데이터에서의 1이상의 디코드 개시 가능점 각각의 직전에 배치되는, 상기 부호화 비디오 데이터의 디코드에 이용되는 이용 정보Usage information used for decoding of the encoded video data disposed immediately before each of one or more decode start points in the encoded video data in the unit of the access unit. 를 포함하고, Including, 상기 이용 정보는, 그 이용 정보로부터 다음의 이용 정보까지의 사이에 배치되어 있는 1이상의 상기 액세스 유닛 각각의 사이즈를 나타내는 사이즈 정보를 포함하며, The use information includes size information indicating the size of each of the one or more access units arranged between the use information and the next use information, 상기 부호화 데이터로부터, 상기 이용 정보를 탐색하는 탐색 스텝과, A search step of searching for the use information from the encoded data; 상기 부호화 비디오 데이터를 디코드하는 비디오 디코더를 제어하는 비디오 디코더 제어 수단으로부터의 요구에 따라서, 상기 이용 정보에 포함되는 상기 사이즈 정보에 기초하여, 상기 부호화 데이터로부터 상기 액세스 유닛 단위로 상기 부호화 비디오 데이터를 읽어내고, 상기 비디오 디코더에 공급하는 공급 스텝According to a request from a video decoder control means for controlling a video decoder that decodes the encoded video data, the encoded video data is read from the encoded data in units of the access unit based on the size information included in the usage information. A supplying step for supplying to the video decoder 을 포함하는 것을 특징으로 하는 데이터 처리 방법.Data processing method comprising a. 삭제delete 부호화 데이터를 처리하는 데이터 처리를, 컴퓨터에 행하게 하는 프로그램이 기록되어 있는 프로그램 기록 매체로서, A program recording medium on which a program for causing a computer to perform data processing for processing encoded data is recorded. 상기 부호화 데이터는, The coded data, 소정의 단위의 비디오 데이터를 부호화하여 얻어지는, 액세스 유닛 단위의 부호화 비디오 데이터와, Encoded video data obtained by encoding video data in a predetermined unit, and 상기 액세스 유닛 단위의 부호화 비디오 데이터에서의 1이상의 디코드 개시 가능점 각각의 직전에 배치되는, 상기 부호화 비디오 데이터의 디코드에 이용되는 이용 정보Usage information used for decoding of the encoded video data disposed immediately before each of one or more decode start points in the encoded video data in the unit of the access unit. 를 포함하고, Including, 상기 이용 정보는, 그 이용 정보로부터 다음의 이용 정보까지의 사이에 배치되어 있는 1이상의 상기 액세스 유닛 각각의 사이즈를 나타내는 사이즈 정보를 포함하며, The use information includes size information indicating the size of each of the one or more access units arranged between the use information and the next use information, 상기 부호화 데이터로부터, 상기 이용 정보를 탐색하는 탐색 스텝과, A search step of searching for the use information from the encoded data; 상기 부호화 비디오 데이터를 디코드하는 비디오 디코더를 제어하는 비디오 디코더 제어 수단으로부터의 요구에 따라서, 상기 이용 정보에 포함되는 상기 사이즈 정보에 기초하여, 상기 부호화 데이터로부터 상기 액세스 유닛 단위로 상기 부호화 비디오 데이터를 읽어내고, 상기 비디오 디코더에 공급하는 공급 스텝According to a request from a video decoder control means for controlling a video decoder that decodes the encoded video data, the encoded video data is read from the encoded data in units of the access unit based on the size information included in the usage information. A supplying step for supplying to the video decoder 을 포함하는 것을 특징으로 하는 프로그램이 기록되어 있는 프로그램 기록 매체.And a program recording medium having a program recorded thereon. 삭제delete 삭제delete
KR1020077000625A 2004-06-11 2005-05-24 Data processing device, data processing method, program, program recording medium, data recording medium, and data structure KR101169488B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JPJP-P-2004-00174548 2004-06-11
PCT/JP2005/009435 WO2005122570A1 (en) 2004-06-11 2005-05-24 Data processing device, data processing method, program, program recording medium, data recording medium, and data structure

Publications (2)

Publication Number Publication Date
KR20070032321A KR20070032321A (en) 2007-03-21
KR101169488B1 true KR101169488B1 (en) 2012-07-27

Family

ID=43656323

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020077000625A KR101169488B1 (en) 2004-06-11 2005-05-24 Data processing device, data processing method, program, program recording medium, data recording medium, and data structure

Country Status (1)

Country Link
KR (1) KR101169488B1 (en)

Also Published As

Publication number Publication date
KR20070032321A (en) 2007-03-21

Similar Documents

Publication Publication Date Title
KR101104507B1 (en) Data processing device, data processing method, program, program recording medium, data recording medium, and data structure
KR101118430B1 (en) Data processing apparatus, data processing method, program, program recording medium, and data recording medium
KR101217351B1 (en) Data processing device, data processing method, and program recording medium
EP1818933B1 (en) DVD Recording device for recording for each scene change a priority level as metadata for both subtitles streams and data stream.
CN100556116C (en) Data processing equipment, data processing method, program, program recorded medium, data carrier and data structure
KR101118823B1 (en) Data processing device, data processing method, and recording medium
EP1768403A1 (en) Data processing device, data processing method, program, program recording medium, data recording medium, and data structure
KR20070093970A (en) Data processing device, data processing method, program, program recording medium, data recording medium, and data structure
KR20070028410A (en) Data processing device, data processing method, program, program recording medium, data recording medium, and data structure
KR101154721B1 (en) Data processing device, data processing method and recording medium
KR101169488B1 (en) Data processing device, data processing method, program, program recording medium, data recording medium, and data structure
KR20070020503A (en) Data processing device, data processing method, program, program recording medium, data recording medium, and data structure

Legal Events

Date Code Title Description
A201 Request for examination
AMND Amendment
E902 Notification of reason for refusal
E601 Decision to refuse application
AMND Amendment
J201 Request for trial against refusal decision
B701 Decision to grant
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee