WO2006115151A1 - 記録装置、再生装置、記録再生装置、記録プログラムとその記録媒体、再生プログラムとその記録媒体 - Google Patents

記録装置、再生装置、記録再生装置、記録プログラムとその記録媒体、再生プログラムとその記録媒体 Download PDF

Info

Publication number
WO2006115151A1
WO2006115151A1 PCT/JP2006/308240 JP2006308240W WO2006115151A1 WO 2006115151 A1 WO2006115151 A1 WO 2006115151A1 JP 2006308240 W JP2006308240 W JP 2006308240W WO 2006115151 A1 WO2006115151 A1 WO 2006115151A1
Authority
WO
WIPO (PCT)
Prior art keywords
random access
stream
access point
information
management information
Prior art date
Application number
PCT/JP2006/308240
Other languages
English (en)
French (fr)
Inventor
Norio Itoh
Masahiro Shioi
Shinya Hasegawa
Akemi Oohara
Satoru Inoue
Yoshiaki Ogisawa
Shuichi Watanabe
Original Assignee
Sharp Kabushiki Kaisha
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 Sharp Kabushiki Kaisha filed Critical Sharp Kabushiki Kaisha
Priority to BRPI0609951-3A priority Critical patent/BRPI0609951A2/pt
Priority to US11/912,387 priority patent/US8494342B2/en
Priority to JP2007514632A priority patent/JP4579290B2/ja
Priority to EP06745472.8A priority patent/EP1876818B1/en
Publication of WO2006115151A1 publication Critical patent/WO2006115151A1/ja

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/426Internal components of the client ; Characteristics thereof
    • H04N21/42646Internal components of the client ; Characteristics thereof for reading from or writing on a non-volatile solid state storage medium, e.g. DVD, CD-ROM
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/12Formatting, e.g. arrangement of data block or words on the record carriers
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/102Programmed access in sequence to addressed parts of tracks of operating record carriers
    • G11B27/105Programmed access in sequence to addressed parts of tracks of operating record carriers of operating discs
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/19Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier
    • G11B27/28Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording
    • G11B27/30Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording on the same track as the main recording
    • G11B27/3027Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording on the same track as the main recording used signal is digitally coded
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/19Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier
    • G11B27/28Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording
    • G11B27/32Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording on separate auxiliary tracks of the same or an auxiliary record carrier
    • G11B27/327Table of contents
    • G11B27/329Table of contents on a disc [VTOC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/432Content retrieval operation from a local storage medium, e.g. hard-disk
    • H04N21/4325Content retrieval operation from a local storage medium, e.g. hard-disk by playing back content from the storage medium
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8455Structuring of content, e.g. decomposing content into time segments involving pointers to the content, e.g. pointers to the I-frames of the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/78Television signal recording using magnetic recording
    • H04N5/782Television signal recording using magnetic recording on tape
    • H04N5/783Adaptations for reproducing at a rate different from the recording rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/84Television signal recording using optical recording
    • H04N5/85Television signal recording using optical recording on discs or drums
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/79Processing of colour television signals in connection with recording
    • H04N9/80Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
    • H04N9/804Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving pulse code modulation of the colour picture signal components
    • H04N9/8042Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving pulse code modulation of the colour picture signal components involving data reduction
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • G11B2020/1062Data buffering arrangements, e.g. recording or playback buffers
    • G11B2020/1075Data buffering arrangements, e.g. recording or playback buffers the usage of the buffer being restricted to a specific kind of data
    • G11B2020/10759Data buffering arrangements, e.g. recording or playback buffers the usage of the buffer being restricted to a specific kind of data content data
    • G11B2020/10768Data buffering arrangements, e.g. recording or playback buffers the usage of the buffer being restricted to a specific kind of data content data by pre-caching the initial portion of songs or other recorded or downloaded data for starting playback instantly

Definitions

  • the present invention relates to a recording apparatus that records stream data such as broadcast data on a recording medium, and a reproducing apparatus that reproduces and outputs video / audio data recorded on the recording medium.
  • ASF Advanced Systems Format
  • FIG. 11 is an explanatory diagram showing a schematic structure of an ASF file.
  • 1101 is the header 'object Common attributes are recorded throughout the file.
  • Reference numeral 1102 denotes a data object that stores compressed video and audio data and is composed of a plurality of packets.
  • 1103 is one of the packets included in the data object 1102. All packets are fixed length. In general, since one frame of compressed video is larger than one packet, one frame is often divided into a plurality of packets and stored. Similarly, when audio is stored at the same time as video, it is divided into packets and stored.
  • the header object 1101 describes HD information for identifying which packet contains the video frame and which packet contains the audio data.
  • Reference numeral 1104 denotes an index 'object, which will be described in detail later. Note that the position of the index 'object 1104 is recorded in the header' object 1101 so that the index 'object can be easily searched.
  • FIG. 12 is an explanatory diagram showing a schematic structure of an index object (the power described as a simple 'index object in Non-Patent Document 1 is simply referred to as an index' object in this description). It is. 1201 is an index 'entry time interval T, 1202 is an index' total number of entries ⁇ , 1203 is an array of index 'entries, and is repeated for the total number of index entries ⁇ . Since index entries are arranged at regular intervals on the time axis, it is easy to find an index entry corresponding to a certain time. 1204 represents one element in the array of the index 'entry, and is composed of a packet number indicated by 1205 and the number of packets indicated by 1206. The packet number 1205 stores the first packet number of the key frame that is closest to the time indicated by the index entry. The number of packets 1206 stores the number of packets necessary to reconstruct the corresponding key frame.
  • T an index 'entry time interval
  • 1202 is an index' total number of entries ⁇
  • 1203
  • FIG. 13 is an explanatory diagram showing the correspondence between index entries and video frames.
  • Each of the quadrilaterals in the upper part of Fig. 13 represents a video frame.
  • a quadrilateral that has been squared or touched represents a key frame, and a quadrilateral that has no square or no stitching represents any other frame.
  • the number line at the bottom is the time axis, and the time when the index 'entry exists is indicated by a black circle.
  • the index entry 1301 points to the key frame 1302 as soon as possible at the time TX k! More specifically, the packet number of the packet in which the head of the key frame 1302 is stored, the total number of packets necessary to reconstruct the key frame 1302, and the power index entry 1301 are described.
  • the packet number is also calculated by calculating the position in the recorded data, so that the packets necessary to reconstruct the key frame 1302 are extracted, so that the replay starts at or near the time TX k. can do.
  • video and audio are MPEG-2 TS (Transport Streanu method (see ISO 13818-1: 2000, Generic coding of moving pictures and a ssociated audio information: Systems).
  • TS Transport Streanu method
  • ISO 13818-1 2000, Generic coding of moving pictures and a ssociated audio information: Systems.
  • PID Packet ID
  • the TS method is a multiplex method for broadcasting, and there is no equivalent to the ASF header 'object in order to enable playback from the middle by channel switching or the like.
  • the TS method has a structure called PMT (Program Map Table) that is multiplexed in the stream at a fixed period instead of the ASF header 'object, and the video and audio PIDs are stored here.
  • PMT Program Map Table
  • the playback side first searches for and analyzes the PMT, obtains video and audio PIDs, extracts video and audio TS packets based on this, and starts playback.
  • PMT information may change during the broadcast, and it is necessary to always analyze the latest PMT.
  • the PMT is stored in the TS packet like other data.
  • TS broadcasting is recorded as TS, and the file format at that time is ASF. If something similar to is used, there will be inconvenience due to the nature of PMT. In other words, in ASF, what corresponds to the PID of video and audio is stored in the header 'object, and this value is unchanged throughout the file, whereas in TS, the contents of PMT change in the middle of the file. As a result, centralized management by header object becomes difficult.
  • the PMT Since the PMT is periodically inserted in the TS, playback itself is not impossible. However, if random access using the index 'object' is attempted, the packet pointed to by the index 'entry is a video content packet and not a PMT packet. As a result, playback from the key frame closest to the target time becomes impossible.
  • the present invention has been made in view of the above problems, and an object of the present invention is to quickly start playback when a stream in which a control signal is periodically inserted is played back by random access. There is in doing so.
  • the recording apparatus of the present invention is a recording apparatus that records on a recording medium a stream composed of a plurality of packets into which control information is periodically inserted, and decodes the control information.
  • a management information generating unit that generates management information for managing a plurality of random access points included in the stream, and the stream and the generated management information are stored in the recording medium. It is characterized by recording.
  • the management information generator generates management information for managing each random access point based on the control information included in the stream and the position of the random access point of the media. Generate. Then, the recording device records the management information and the stream generated in this way on a recording medium. As a result, the stream and management information can be managed uniformly and used for ⁇ IJ. Therefore, when a stream recorded in this way is played back by random access, it is a stream in which control signals are periodically inserted. Even if there is, playback can be started quickly.
  • a management information multiplexing unit that multiplexes the management information and the packet included in the stream is provided, and information obtained by multiplexing the management information and the packet is stored in the recording medium.
  • information obtained by multiplexing the management information and the packet is stored in the recording medium.
  • control information can be added to a stream and recorded, it is not necessary to distinguish between a random access point of control information and a random access point of media.
  • the management information and the information multiplexed with the packet are recorded in the area to be added. The area can be used effectively.
  • the management information may be composed of a plurality of entries, and each entry may include a random access point position and reproduction time information.
  • a desired random access point can be quickly analyzed based on information on the position of the random access point and the reproduction time of the random access point included in the management information. Also, the size of management information can be reduced as long as the management information includes entries for each random access point included in the stream.
  • the management information includes a first entry including information on a position of the random access point and a second entry including information corresponding to the reproduction time of the random access point on a one-to-one basis. Even the configuration.
  • the random access point corresponding to the desired playback time is analyzed using the second entry corresponding to the playback time of the random access point, Based on the analysis result, the position of the random access point at which playback is started can be determined. Therefore, this makes it possible to quickly find information on the position of the desired random access point.
  • the management information may include a PID indicating the type of each medium included in the stream.
  • the media is information other than the control information stored in each packet, and for example, video information and audio information correspond to this.
  • PID Packet ID
  • PID Packet ID
  • the step of decoding the control signal in the control information decoding unit can be omitted.
  • the management information may include information indicating the position of the random access point, and the size from the head of the stream may be used as information indicating the position of the random access point.
  • the management information includes information indicating the position of the random access point, and is attached to each packet included in the stream in the order of the head strength of the stream as information indicating the position of the random access point. It may be configured to use the assigned packet number.
  • the packet position corresponding to the random access point can be easily specified by the packet number.
  • the management information includes information indicating the position of the random access point. As information indicating the position of the random access point, the head power of the stream, the size to each random access point, and the head of the stream It is also possible to use a difference from the size up to the random access point adjacent to each random access point.
  • the head power of the stream is the size of each random access point, and from the head of the stream to the random access point adjacent to each random access point. The difference from the size is used. Thereby, the size of the entire management information can be reduced.
  • the management information includes information indicating the position of the random access point, and as the information indicating the position of the random access point, the leading force of the stream is sequentially added to each packet included in the stream.
  • the difference between the packet number of each random access point and the packet number of the random access point adjacent to each random access point may be used.
  • the playback device of the present invention is a playback device that reads a stream composed of a plurality of packets into which control information is periodically inserted from a recording medium and plays back the stream.
  • a management information analysis unit that analyzes the position of a random access point based on management information for managing a plurality of random access points included in the stream, recorded on the recording medium together with the stream, and the analysis
  • a stream reading unit that reads the stream recorded on the recording medium based on the position of the random access point, and each packet included in the read stream includes a packet and media including control information.
  • a data separation unit that separates the packet, and a media recovery unit that decrypts the packet including the media.
  • the position of the random access point is analyzed based on the management information recorded together with the stream on the recording medium, and the stream force control information is obtained based on the analysis result! You can get it quickly. For this reason, even a stream in which control signals are periodically inserted can be quickly started to be reproduced.
  • a configuration may be provided that includes a management information separation unit that separates the stream information from the management information multiplexed in the stream.
  • the management information analysis unit may be configured to analyze the position of the random access point based on the reproduction time information of the random access point included in the management information.
  • the information indicating the position of the random access point can be quickly analyzed based on the information on the playback time of the random access point included in the management information. Can be shortened.
  • the management information analysis unit has a one-to-one correspondence between the first entry including the location information of the random access point included in the management information and the reproduction time of the random access point. Based on the second entry containing the corresponding information, and the configuration of analyzing the position of the random access point to start playback based on. [0039] According to the above configuration, the random access point corresponding to the playback time at which playback is to be started is analyzed using the second entry, and the analysis result and the random access point included in the first entry are analyzed. Based on the position information, the position of the random access point at which playback is started can be specified. Therefore, there is no need to directly search for the first entry corresponding to the target playback time, and based on the second entry, the position of the random access point can be easily found and playback can be started quickly.
  • the management information analysis unit analyzes a PID included in the management information and indicating the type of each medium included in the stream, and the data separation unit includes the management information analysis unit. Based on the analysis result, each packet included in the stream may be separated for each medium.
  • the management information analysis unit analyzes the position of the random access point based on the size information from the head of the stream of each random access point included in the management information! / It is good as a configuration to do.
  • the management information analysis unit includes a packet number assigned to each packet included in the stream in order of the head strength of the stream, a size of each packet, and the like included in the management information. Based on the product of the above, the configuration of analyzing the position of the random access point may be used.
  • the management information analysis unit includes a size from the beginning of the stream to each random access point included in the management information, and a random access point adjacent to each random access point from the beginning of the stream. Based on the relative position information, which is the difference from the previous size, the configuration of the random access point position is also analyzed.
  • the management information analysis unit assigns the packet of each random access point when the packet number is assigned to each packet included in the stream in order of the head strength of the stream.
  • the random access point position may be analyzed based on the relative index value that is the difference between the packet number and the packet number of the random access point adjacent to each random access point, and the size of each packet. .
  • the control information decoding unit further includes a control information decoding unit that decodes the control information included in the stream and extracts a PID indicating the type of each medium included in the stream from the decoded control information.
  • Each packet included in the stream read by the stream reading unit may be separated for each medium based on the PID extracted by the control information decoding unit.
  • the media included in the stream can be appropriately separated.
  • a recording / reproducing apparatus of the present invention includes the recording apparatus and the reproducing apparatus.
  • the stream and its management information are recorded on the recording medium during recording, and the position of the random access point is analyzed based on the management information recorded together with the stream during playback. Based on the analysis result, control information can be quickly obtained from the stream force. Therefore, it is possible to quickly reproduce the stream recorded on the recording medium.
  • the recording method of the present invention is a recording method for recording, on a recording medium, a stream composed of a plurality of packets into which control information is periodically inserted.
  • a management information generating step for generating management information for managing a plurality of random access points included in the stream based on the position of the random access point; and the stream and the generated management information are stored in the recording medium.
  • a recording step of recording on the recording medium is a recording method for recording, on a recording medium, a stream composed of a plurality of packets into which control information is periodically inserted.
  • the control information included in the stream and the random Management information for managing each random access point is generated based on the location of the access point. Then, the management information and the stream generated in this way are recorded on a recording medium. As a result, the stream and management information can be managed and used in a unified manner. Therefore, when a stream recorded in this way is played back by random access, playback can be started quickly even for a stream in which a control signal is periodically inserted.
  • the playback method of the present invention is a playback method for reading a stream composed of a plurality of packets into which control information is periodically inserted from a recording medium and playing back the stream.
  • a management information analysis step for analyzing the position of the random access point based on management information for managing a plurality of random access points included in the stream, recorded on the recording medium together with the stream, and the analysis Based on the position of the random access point, a stream reading step for reading the stream recorded on the recording medium, and each packet included in the read stream into a packet including control information and a packet including media.
  • a data separation step for separating, and a medium for decoding a packet including the media. Are as comprising a A decoding process.
  • the position of the random access point is analyzed based on the management information recorded together with the stream on the recording medium, and the streamer is also determined based on the analysis result. Control information can be obtained quickly. For this reason, even a stream in which control signals are periodically inserted can be quickly started to be reproduced.
  • the recording program of the present invention is for causing a computer to execute the processing of each step in the recording method described above. By causing the computer to read this program, the processing of each of the above steps can be realized by the computer.
  • the recording program can be easily stored and distributed. Furthermore, by reading the recording medium, it is possible to perform processing of each step in the recording method of the present invention by a computer.
  • the playback program of the present invention performs processing of each step in the playback method described above. This is to cause the data to be executed. By causing the computer to read this program, the processing of each of the above steps can be realized by the computer.
  • the reproduction program can be easily stored and distributed. Further, by reading the recording medium, the computer can perform the processing of each step in the reproducing method of the present invention.
  • FIG. 1 is a block diagram showing a schematic configuration of a recording apparatus according to an embodiment of the present invention.
  • FIG. 2 (a) is an explanatory diagram showing the structure of a stream input to the recording apparatus according to an embodiment of the present invention.
  • FIG. 2 (b) is an explanatory diagram showing the configuration of each packet in the stream shown in FIG. 2 (a).
  • FIG. 3 is an explanatory diagram showing an example of control information decrypted by the recording apparatus according to the embodiment of the present invention.
  • FIG. 4 is an explanatory diagram showing an example of an entry included in the management information generated by the recording apparatus according to the embodiment of the present invention and a relationship between the entry and a random access point in the stream.
  • FIG. 5 is an explanatory diagram showing another example of management information generated by the recording apparatus according to an embodiment of the present invention and the relationship between the entry and a random access point in the stream.
  • FIG. 6 (a) is an explanatory diagram showing an example of a format of management information recorded on a recording medium by a recording apparatus according to an embodiment of the present invention.
  • FIG. 6 (b) is an explanatory diagram showing an example of a format of management information recorded on a recording medium by a recording apparatus according to an embodiment of the present invention.
  • FIG. 6 (c) is an explanatory diagram showing an example of a format of management information recorded on a recording medium by a recording apparatus according to an embodiment of the present invention.
  • FIG. 7 is an explanatory diagram showing an example of a packet recorded on a recording medium by a recording apparatus according to an embodiment of the present invention.
  • FIG. 8 is a block diagram showing a schematic configuration of a playback apparatus according to an embodiment of the present invention.
  • FIG. 9 is a block diagram showing another schematic example of a playback apparatus according to an embodiment of the present invention.
  • FIG. 10 When performing fast forward and fast reverse in the playback apparatus according to an embodiment of the present invention.
  • FIG. 12 is an explanatory diagram showing a schematic structure of an index object included in the ASF file shown in FIG. 11.
  • FIG. 13 is an explanatory diagram showing a correspondence relationship between an index entry and a frame in moving image content in the ASF file shown in FIG. 11.
  • FIG. 14 is a flowchart showing the flow of processing in the recording apparatus according to one embodiment of the present invention.
  • FIG. 15 is a flowchart showing the flow of processing in the reproducing apparatus according to one embodiment of the present invention.
  • FIG. 1 is a block diagram showing a configuration of a data recording apparatus 100 that is a recording apparatus according to the present embodiment.
  • the data recording apparatus 100 includes a random access information analysis unit 101, a control information decoding unit 102, a management information generation unit 103, a recording control unit 105, and a reception control unit 106.
  • the data recording apparatus 100 receives a stream input from the outside by the reception control unit 106, and stores the received stream and management information (details will be described later) generated based on the stream. Is to record
  • the reception control unit 106 receives a stream from the outside by controlling a reception unit (not shown).
  • the stream received by the data recording apparatus 100 is composed of, for example, compressed video data and is composed of a plurality of packets.
  • the reception control unit 106 inputs the received stream to the random access information analysis unit 101, the control information decoding unit 102, and the recording control unit 105, respectively.
  • Random access information analysis unit 101 receives a stream composed of a plurality of packets as input, and analyzes header information and the like of each packet using control information described later. The analysis result is output to the management information generating unit 103 as random access information indicating whether or not the packet includes data that can be randomly accessed, random access type, and packet identification information for identifying the packet. To do.
  • Control information decoding section 102 extracts only packets that contain the input stream power control information, and decodes the extracted packets to generate control information.
  • the generated control information is output to the random access information analysis unit 101 and the management information generation unit 103.
  • Management information generating section 103 generates management information from random access information, random access type, packet identification information, and control information. Then, the generated management information is output to the recording control unit 105.
  • the recording control unit 105 includes the management information generated by the management information generating unit 103 and the stream. Recorded on the recording medium 104.
  • the recording medium 104 may be a recording medium mounted on the data recording apparatus 100 or a recording medium configured to be separable from the data recording apparatus 100. Examples of the recording medium 104 include tape systems such as magnetic tapes and cassette tapes, magnetic disks such as flexible disks and hard disks, disk systems such as CD / MO / MD / DVD, IC cards (including memory cards), etc.
  • Recording media such as a card memory, or a semiconductor memory system such as mask ROM, EPROM (Erasable Programmable Read Only Memory), EEPROM (Electrically Erasable Programmable Read Only Memory), or flash ROM can be applied.
  • a transmission medium a medium that fluidly holds data
  • a communication network including the Internet connected to a wired line or a wireless line.
  • the recording control unit 105 outputs the management information and the stream to other devices connected via the communication line.
  • control information and video frame are mainly included as the types of information included in the stream.
  • the type of information included in the stream is not limited to this.
  • two or more types of media (information) such as an audio frame, a BML document, and a still image may be included in addition to the information.
  • FIG. 14 is a flowchart showing the flow of processing in the data recording apparatus 100.
  • the reception control unit 106 first inputs the received stream to the random access information analysis unit 101, the control information decoding unit 102, and the recording control unit 105 (Sl).
  • FIG. 2 (a) is an explanatory diagram showing the configuration of a stream (a stream received by the data recording device 100) input to the data recording device 100
  • FIG. 2 (b) is a diagram of FIG. 2 (a).
  • 4 is an explanatory diagram showing a configuration of each packet in the stream shown in FIG.
  • the stream input to the data recording apparatus 100 is a concatenation of a plurality of fixed-length packets, and various types of information such as video frames and control information are contained therein. included.
  • each packet consists of a header and a payload that stores compressed data.
  • the header contains PID (Packet ID)! /
  • a number corresponding to the type of compressed data included in the payload is assigned to the PID (PID value).
  • PID Packet ID
  • the header includes head identification information indicating whether the compressed data includes a position where it can be decoded midway, such as a key frame of a video, for example.
  • the packet indicated by the arrow is recognized as a randomly accessible packet (random access point) by this head identification information.
  • payload, unit, start, indie atom correspond to the head identification information.
  • the control information decoding unit 102 selects a packet having the PID determined for the control information of each packet included in the input stream (S2). That is, in the data recording device 100, when the compressed data included in the payload is control information, a storage means (not shown) that pre-stores PID (PID for control information) assigned to the packet is stored. ) Is provided, and the control information decoding unit 102 selects a packet having the same PID as the PID stored in the storage means as a control information packet (packet including control information in the payload).
  • control information decoding section 102 recognizes a randomly accessible packet by using the head identification information (S3). That is, referring to the head identification information included in the packet selected as the control information packet in S2, the middle power of the selected packet is recognized as a random accessible packet.
  • control information decoding unit 102 accesses the randomly accessible bucket (random access point) recognized in S3, and decodes the control information starting from the packet (S4).
  • FIG. 3 is an explanatory diagram showing an example of the control information decoded by the control information decoding unit 102.
  • the control information includes an identifier and video indicating the control information, It consists of the PID of each media such as voice and data (PID of the packet that contains each media).
  • An example of control information is PMT (Program Map Table) power in MPEG-2 TS, for example.
  • control information decoding section 102 outputs the control information obtained by decoding to random access information analyzing section 101 and management information generating section 103 (S5).
  • the random access information analysis unit 101 generates a random access type (random access type information) by using the PID of each medium included in the stream (S6). In other words, based on the PID of each medium included in the control information decoded by the control information decoding unit 102, the medium of each packet (or packet corresponding to the random access point) in the input stream is specified. Then, a random access type indicating the type of the media is generated.
  • a random access type random access type information
  • the random access information analysis unit 101 generates random access information that is information indicating a result of determining whether or not the packet includes data that can be randomly accessed (S7).
  • the head identification information may be used as it is as the random access information.
  • the packet that becomes the random access point may be specified by an appropriate method according to the data compression method of the stream. For example, when H.264 is used in digital broadcasting, the head identification information indicates that the head of the frame is included instead of information indicating a random access point.
  • the random access information analysis unit 101 receives the random access type generated in S6, the random access information generated in S7, and the packet identification information for identifying each packet.
  • the data is output to 103 (S8).
  • the packet identification information includes, for example, the reproduction time of each packet, an index value uniquely assigned to each packet, and a stream. The number of bytes from the beginning of the message, the number of bytes from the previous packet or the previous random access point, the index value, etc. can be used.
  • the management information generation unit 103 performs management based on the control information input from the control information decoding unit 102 and the random access type, random access information, and packet identification information input from the random access information analysis unit 101. Information is generated and output to the recording control unit 105 (S9). Note that the management information generated by the management information generating unit 103 includes information for managing random access points included in the stream. In a playback device that plays back a stream recorded by the data recording device 100, by using information (hereinafter referred to as an entry) for managing the random access information included in the management information, It is also possible to regenerate midway force.
  • information hereinafter referred to as an entry
  • FIG. 4 is an explanatory diagram showing an example of an entry included in the management information and a relationship between the entry and a random access point in the stream.
  • each entry included in the management information includes information on “type”, “time”, and “entry position”.
  • Each entry has a one-to-one correspondence with a random access point in the stream.
  • entry 1 corresponds to the random access point of the control information in the stream
  • entry position of entry 2 corresponds to the random access point of the video frame in the stream.
  • Type is information indicating the type of random access point corresponding to the entry.
  • entry 1 corresponds to control information
  • entry 2 corresponds to a video frame.
  • “Time” is information indicating the playback time of the media corresponding to the entry.
  • playback time t2 is stored in entry 2 corresponding to the video frame at display time t2.
  • control information does not include information corresponding to the playback time, but the size of one entry can be fixed by setting an appropriate value.
  • entry 1 in FIG. 4 uses playback times tO and t2 of frames before and after the control information corresponding to the entry, and uses time tl that satisfies tO and tl ⁇ t2.
  • the time setting method in the entry of the control frame is not limited to this.
  • Entry position is information indicating the position in the stream of the corresponding packet.
  • the “entry position” is, for example, an index value in which the recorded stream head force is also uniquely assigned to each packet (packet number assigned to each packet included in the stream in order from the head of the stream) It is also possible to use the number (size) of the stream head force.
  • the number of bytes corresponding to the difference from the previous entry (the size from the beginning of the stream to each random access point, and the adjacent random access point from the beginning of the stream) (The difference from the size up to the random access point) may be used.
  • the index value corresponding to the difference between the previous entry strengths (the packet number (index value) in which the leading force of the stream is also assigned to each packet included in the stream in order) and the packet number of each random access point Or the packet number of a random access point adjacent to each random access point).
  • the size of the entire management information can be reduced by using the difference in the number of bytes (relative position information) or the difference in the index value (relative index value) from the adjacent random access point.
  • control information instead of storing the position of the control information, the PID described in the control information may be directly described. In this case, it is possible to omit the process of finding the beginning of the control information and decoding it to obtain the PID.
  • the entry included in the management information is not limited to the example of FIG. Figure 5 shows another configuration example of entries included in the management information!
  • the management information shown in this figure includes an internal, the number of entries, each entry 1, 2,.
  • Each entry includes information on entry frame position and control information position.
  • one entry is provided for each time at which the head force of a stream recorded as in the ASF format described above is also engraved at a constant time interval.
  • the head force of a stream recorded as in the ASF format described above is also engraved at a constant time interval.
  • tO, tl,... Equally spaced as shown in the upper right time axis of FIG.
  • information indicating random access points on the stream corresponding to each time is stored.
  • Interval is information indicating the time interval between times tO, tl,...
  • the “entry frame position” in each entry is information indicating the packet position where the video frame corresponding to the entry is included.
  • the “control information position” is information indicating a packet position including control information corresponding to the entry. For example, as in the case of FIG. 4, the information indicating the entry frame position and control information position includes the number of bytes at the head of the stream, the index value of the bucket, and the number of bytes corresponding to the difference between the entries and the index value. You can use the difference!
  • the entry position at the desired time can be easily found without looking for the target entry by looking at the display time inside the entry. For this reason, the target random access point can be obtained earlier than in the case of using the entry described in FIG.
  • control information may directly describe a PID or the like described in the control information instead of the control information position. This eliminates the process of finding and decoding the beginning of the control information to obtain the PID.
  • the entry shown in FIG. 5 and the entry corresponding to the random access point explained in FIG. instead of the control information described inside and the position of the random access point, the identification information (first entry) of the entry corresponding to one-to-one may be stored in the random access point.
  • the index of the corresponding entry and the number of bytes from the beginning of the entry can be used as the identification information of the entry corresponding to the random access point on a one-to-one basis.
  • a random access corresponding to the desired playback time is used by using an “interval” (second entry including a pointer to the first entry) corresponding to the playback time of the random access point.
  • the point can be analyzed, and the position of the random access point from which playback can be started can be determined based on the analysis result and the first entry. Therefore, this makes it possible to quickly find information on the location of the desired random access point.
  • Recording control unit 105 to which management information is input from management information generating unit 103, records the input management information and the stream input from reception control unit 106 on recording medium 104 (S10). .
  • FIG. 6 (a) to FIG. 6 As the format of the management information recorded on the recording medium 104, for example, FIG. 6 (a) to FIG.
  • Fig. 6 (a) has a format in which the number of entries is stored first, and then all the entries are stored side by side.
  • entries to be stored those already described with reference to FIGS. 4 and 5 can be considered.
  • Fig. 6 (b) shows that one entry (for example, the first entry) and another entry (for example, the second entry)
  • Fig. 6 (b) shows that one entry (for example, the first entry) and another entry (for example, the second entry)
  • the number of control information is stored first, followed by storing all control information (entries related to control information) side by side, and then storing the number of entries other than the control information. Subsequently, all entries other than the control information are stored side by side. That is, in the example of FIG. 6 (c), all the control information related to the stream is arranged at the head, and then entries other than the control information (for example, the entries of FIG. 4) are arranged.
  • FIG. 6 (c) can also be regarded as a derived format of FIG. 6 (a).
  • invalid data may be added to each packet in order to take an attribute for reasons such as the sector size.
  • control information such as PID may be written in the added area as shown in FIG.
  • a management information multiplexing unit (not shown) is provided before the recording control unit 105 for recording the stream and management information on the recording medium 104, and this management information multiplexing is performed.
  • the stream and the management information may be multiplexed by the unit.
  • the control information decoding unit 102 decodes the control information included in the stream, and the random access information analysis unit 101 is included in the stream.
  • the control is performed by analyzing the position of the random access point of the recorded media using the control information and decoded by the control information decoding unit 102 by the management information generating unit 103.
  • management information for managing a plurality of random access points included in the stream is generated.
  • the management information generated in this way is recorded on the recording medium 104 together with the stream.
  • the stream and the management information can be managed in a unified manner, and can be used for IJ. Therefore, when a stream recorded in this way is played back by random access, even if the control signal is inserted periodically, playback can be started quickly.
  • FIG. 8 is a block diagram showing a configuration of a data reproducing device 800 that is a reproducing device according to the present embodiment.
  • the data reproducing apparatus 800 reproduces the recording medium 104 on which the stream and the management information are recorded by the data recording apparatus 100 described in the first embodiment.
  • the data reproduction device 800 includes a management information analysis unit 802, a stream reading unit 803, a data separation unit 804, a video decoding unit (first media decoding unit) 806, and an audio decoding unit. Section (second media decryption section) 807 and instruction input section 808.
  • the management information analysis unit 802 reads the management information recorded on the recording medium 104, and analyzes the read management information power for random access information and the like. Further, the analysis result is output to the stream reading unit 803.
  • the stream reading unit 803 reads the stream recorded on the recording medium 104 in response to an instruction from the management information analysis unit 802 (analysis result of the management information analysis unit 8002). In addition, the read stream is output to the data separation unit 804.
  • the data separation unit 804 separates the packets included in the stream read by the stream reading unit 803 using the PI information that is input from the control information decoding unit 805 (described later). Packets containing compressed data and control information are separated.)
  • the control information decoding unit 805 decodes the packet including the control information, and performs video or audio PI. Get information such as D. Also, as described above, the acquired PI information is output to the data separation unit 804.
  • the video decoding unit 806 decodes the compressed video data separated by the data separation unit 804, and displays it on video output means such as a display (not shown).
  • the audio decoding unit 807 decodes the compressed audio data separated by the data separation unit 804 and outputs the decoded data to an audio output unit such as a spinning force (not shown).
  • video and audio are decoded has been described here, the present invention is not limited to this, and either video or audio may be used. Further, for example, it may be configured to include a decoding unit for other media such as still images and data.
  • the instruction input unit 808 receives an instruction relating to a position to start reproduction and user input relating to the reproduction start instruction and transmits a signal corresponding to the instruction input to the management information analyzing unit 802 It is.
  • the configuration of the instruction input unit 808 is not particularly limited, and may be, for example, a touch panel or a keyboard, a mouse pointer, a pen input device, a jog dial, or the like. Further, a configuration in which the user designates the reproduction start position based on information displayed on a display unit (not shown) may be used. For example, the configuration may be such that the seek start position is specified by operating the seek bar displayed on the display means with a mouse pointer or the like.
  • reproduction is started based on an instruction regarding the reproduction start position input by the user via the instruction input unit 808.
  • the user can set playback to start (restart) from the position where playback was previously stopped (playback interruption position), or select a point to play using a seek bar, etc., and instruct the player to play that position.
  • “replay a file with any position force” means, for example, storing information on the point where the previous playback was stopped and playing from that position, or when the user played on the seek bar, For example, select and play a point. Also, when playing back the file at the beginning, it is one special case of “When playing a file from an arbitrary position”. It is possible to realize.
  • FIG. 15 is a flowchart showing the flow of processing at the start of playback in the data playback device 800.
  • a description will be given of a case where the above-described entry having the constituent power shown in FIG. 4 is stored in the recording medium 104 in the format shown in FIG. 6 (a).
  • the present invention is not limited to this.
  • the configuration shown in FIG. 5 may be used, and the formats shown in FIGS. 6B, 6C, and 7 may be used.
  • the management information analysis unit 802 reads the management information recorded on the recording medium 104 when an instruction regarding the reproduction start position and a reproduction start instruction are input to the instruction input unit 808 (S21). (S22).
  • the management information analysis unit 802 extracts an entry whose entry type is video from the read management information (S23), and further, the content of the extracted entry corresponds to the time when playback is desired to start.
  • the entry is searched (S24), and the playback start position of the video frame is determined (S25).
  • the unit of information and the content of the information may differ between the information on the time at which playback is to be started and the information on the time stored in the entry.
  • the time at which playback is to be started is expressed as the relative time of the beginning force of the file in ms (millisecond) units, and the time force stored in the entry is stored as the absolute time in 90 kHz units called PTS described above
  • PTS 90 kHz units
  • entries of video frames generally exist at intervals of several seconds. For this reason, there are many cases where there is no video frame entry at the same time as the time at which playback is to be started. If there is no video frame entry at the same time, for example, the video frame entry before and after the time at which playback is to be started may be selected. , The entry just before the time you want to start playback (playback started V, the nearest entry of the entry ahead of time, or the entry) may be selected! The former has the merit that playback is started even when the position force is close in time, and the latter has the merit that video of the time at which playback is to be started is always played.
  • the management information includes an entry (first entry) including information on the position of the random access point, and an entry (second entry) including information corresponding to the reproduction time of the random access point on a one-to-one basis. ;
  • An entry including a pointer to the first entry) the second entry is used to analyze the random access point corresponding to the playback time at which playback is to be started.
  • the position of the random access point at which playback starts can be specified. In this case, there is no need to directly search for the first entry corresponding to the target playback time, the position of the random access point can be easily found based on the second entry, and playback can be started quickly.
  • the management information includes information on the number of bytes (size) from the beginning of the stream of each random access point, the information may be used to analyze the position of the random access point. .
  • the position of the random access point may be analyzed based on the index value and the size of each packet. . For example, by multiplying the random access point index value corresponding to the time you want to start playback and the size of each packet, you can specify the position of the random access point where playback started!
  • the management information includes the difference between the head strength of the stream and the size of each random access point and the size from the head of the stream to the random access point adjacent to each random access point). If it is included, the position of the random access point may be analyzed based on this relative position information. For example, by starting the playback of the stream, by adding the relative position information of each random access point up to the random access vote corresponding to the time, the location of the random access point that started playback is specified. What should I do?
  • the index value (packet number) of each random access point When the difference (relative index value) with the index value of the random access point adjacent to each random access point is included, the position of the random access point may be analyzed based on the relative index value. For example, when the start power of the stream is also played, the relative index value of each random access point up to the random access vote corresponding to the time is added, and the result is multiplied by the size of each packet. Once started, the location of the random access point can be specified.
  • the management information analysis unit 802 enters the control information entry corresponding to the determined video frame entry. (S26), and notifies the stream reading unit 803 of the entry of the determined control information. Here, select the control information entry that is closest in time to the video frame entry.
  • the stream reading unit 803 refers to the entry position of the control information determined by the management information analysis unit 802, reads the position of the stream (S27), and outputs the read stream to the data separation unit 804.
  • the data separation unit 804 separates the control signal included in the stream input from the stream reading unit 803 and outputs the control signal to the control information decoding unit 805 (S28).
  • the control information decoding unit 805 decodes the control signal input from the data separation unit 804 (S29). As a result, the PID of the packet containing each media such as video, audio, and data can be known (see Fig. 3).
  • control information decoding section 805 outputs Pro information included in the decoded control signal to data separating section 804 (S30). As a result, the data separation unit 804 can correctly separate the media.
  • the data separation unit 804 separates the stream input from the stream reading unit 803 for each medium based on the Pro information input from the control information decoding unit 805 (S31). Then, the packet of each separated media is output to the decoding unit that decodes each media (S32). That is, the data separation unit 804 outputs the compressed video data to the video decoding unit 806, and outputs the compressed audio data to the audio decoding unit 807. [0135] Then, each decoding unit decodes each medium, and outputs the decoded result to the output unit of each medium (S33). That is, the video decoding unit 806 decodes the compressed data of the video separated by the data separation unit 804 and displays it on video output means such as a display (not shown). Also, the audio decoding unit 807 decodes the compressed audio data separated by the data separation unit 804 and outputs it to audio output means such as a speaker (not shown).
  • the management information analysis unit 802 refers to the entry position of the video frame, reads the stream by the stream reading unit 803 from the position, and the data separation unit 804 separates the data for each medium and separates it. The process of outputting the data to the decryption unit of each medium may be continued. As a result, video and audio can be reproduced.
  • reading may be continued as it is after reading the control information. In this case, it is preferable to perform control so that the video decoding unit 806 does not start decoding until the next key frame.
  • the management information analysis unit 802 may search for the control information entry in which a value indicating that the broadcast suspension has been canceled is set, and the entry position power reproduction may be performed. This avoidance of the broadcast pause state portion may be performed in the same manner even when the broadcast pause state is recognized during playback immediately after the start of playback. In other words, when the broadcast pause state is recognized during playback, the management information analysis unit 802 searches for the control information entry in which a value indicating that the broadcast pause has been canceled is set, and plays back from that point. The process of resuming the process may be performed.
  • the data recording apparatus 100 instead of storing the position of the control information in the entry, it may be possible to directly describe the PID described in the control information.
  • all the PIDs may be acquired by the management information analysis unit 802, and the PHD information may be notified from the management information analysis unit 802 to the data separation unit 804.
  • the search of the control information in the data separation unit 804 and the control information in the control information decoding unit 805 are performed.
  • the process of decoding can be omitted. Therefore, as shown in FIG. 9, the control information decoding unit 805 can be omitted.
  • the present invention is not limited to this.
  • the same PI and blue information are separated from both the management information analysis unit 802 and the control information decoding unit 805. Let's notify part 804.
  • the PID directly described in the entry is only a part of the PID such as video and audio.
  • the PID obtained by the management information analysis unit 802 is notified from the management information analysis unit 802 to the data separation unit 804, and other PIDs are obtained by the control information decoding unit 805 and sent to the data separation unit 804. It may be configured to notify.
  • the management information analysis unit 802 and the control information decoding unit 805 both notify the data separation unit of the same PI information. It is good.
  • N-times playback is realized by thinning out video frames and transferring them to the video decoding unit 806.
  • the video decoding unit 806 in fast forward, Fl, F 2, F3, F4, F5, F6, F7, F8, F9 jl concealment [this video decoding 806 [this transfer and fast reverse] F7, F8, F9, F4, F5, F6, Fl, F2, F3 jl concealment.
  • two non-key frames are transferred following the key frame, but this is not restrictive.
  • the number of non-key frames transferred to the video decoding unit 806 may be calculated every time according to the magnification (value of N), the time interval of the key frames, or the non-key frames transferred uniformly from the magnification. The number may be determined. Also, it is not always necessary to transfer all key frames. For example, after Fl and F2, control may be performed such that F7 and F8 are transferred without transferring the F4 key frame.
  • the video decoding unit 806 which does not simply thin out the video frames, ignores the time information and performs display at a predetermined frame rate, or displays the video display time information at an appropriate time. By rewriting it and transferring it to the video decoding unit 806, it is possible to realize fast forward Z fast reverse reproduction at a desired magnification.
  • the management information analysis unit 802 determines the position of the random access point based on the management information recorded together with the stream on the recording medium 104.
  • the stream reading unit 804 reads the stream recorded on the recording medium 104 based on the position of the random access point analyzed by the management information analyzing unit 8002. Then, the data separation unit 804 separates the packet including the control information from the packet including the media, and the video decoding unit (first media decoding unit) 806 and the audio decoding unit (second media decoding unit) 807 are the media. Packets containing (video, audio) are decoded.
  • the position of the random access point is analyzed based on the management information recorded together with the stream on the recording medium, and the stream is read based on the analysis result! Information can be obtained quickly. For this reason, even a stream in which control signals are periodically inserted can be quickly started to be reproduced.
  • a management information separation unit (not shown) for separating the management information multiplexed in the stream is provided in the preceding stage of the management information analysis unit 802. It may be provided.
  • the management information and the stream can be separated and the position of the random access point can be quickly analyzed based on the separated management information.
  • the data recording device 100 and the data reproducing device 800 are described as independent configurations. However, the present invention is not limited to this, and the data recording device 100 and the data reproducing device are not limited thereto.
  • a configuration (recording / reproducing device) including both the device 800 is also possible.
  • the stream and its management information are recorded on the recording medium 104 during recording, and the random access point position is analyzed based on the management information recorded together with the stream on the recording medium 104 during playback. Control information based on the analysis result can be obtained quickly. For this reason, the stream recorded on the recording medium can be quickly reproduced.
  • each member is a function block realized by executing a program code stored in a recording medium such as a ROM or a RAM such as a CPU. Therefore, an object of the present invention is to provide a recording medium on which a program code (execution format program, intermediate code program, source program) of a program that is software that realizes the function of each member described above is recorded so as to be readable by a computer. This can be achieved by supplying the system or apparatus and reading and executing the program code recorded on the recording medium by the computer (or CPU) provided in the system or apparatus.
  • a program code execution format program, intermediate code program, source program
  • each of these members may be realized as hardware that performs the same processing as the software described above.
  • an object of the present invention is to provide each member (random access information analysis unit 101, control information decoding unit 102, management information generation unit 103, recording control unit 105, reception control unit) which is hardware included in the data recording device 100. 106), and each member (management information analysis unit 802, stream reading unit 803, data separation unit 804, video decoding unit 806, audio decoding unit 807) that are hardware included in the data reproduction device 800, etc.
  • These members are also realized as a combination of hardware that performs part of the processing and arithmetic means that executes program code that performs processing other than control of the hardware and processing performed by the hardware. it can.
  • the calculation means may have a single configuration, or a configuration in which a plurality of calculation means connected via a bus or various communication paths in the apparatus cooperate to execute a program code. It may be.
  • the random access information analysis unit 101, the control information decoding unit 102, the management information generation unit 103, the recording control unit 105, and the reception control unit 106 described above are provided in any place in the data recording device 100. be able to. Further, the management information analysis unit 802, the stream reading unit 803, the data separation unit 804, the video decoding unit 806, and the audio decoding unit 807 can be provided in any place in the data reproduction device 800.
  • the program code itself that can be directly executed by the arithmetic means, or a program as data that can generate a program code by a process such as decompression described later, is the program (the program or the data). It is stored in a recording medium and distributed, or the program is distributed by being transmitted by a communication means for transmission via a wired or wireless communication path, and is executed by the arithmetic means. Shall be executed.
  • the above-mentioned program is transmitted via the communication path when various transmission media constituting the communication path propagate a signal sequence indicating a program.
  • the transmission device may superimpose the signal sequence on the carrier by modulating the carrier with a signal sequence indicating a program. In this case, the signal sequence is restored by the receiving device demodulating the carrier wave.
  • the transmission device may divide the signal sequence as a digital data sequence into packets. In this case, the receiving apparatus concatenates the received packet groups and restores the signal sequence.
  • the transmission device may multiplex and transmit the signal sequence with another signal sequence by a method such as time division Z frequency division Z code division.
  • the receiving apparatus extracts and restores this signal sequence from the multiplexed signal sequence. In either case, the same effect can be obtained if the program can be transmitted through the communication path.
  • the recording medium for distributing the program is removable, but it does not matter whether the recording medium after distributing the program is removable.
  • the recording medium can be any medium that records the program. It does not matter whether it can be rewritten (written) or not volatile, and the recording method and shape are not questioned. Examples of such recording media include tapes such as magnetic tape and cassette tape, magnetic disks such as floppy (registered trademark) disks and hard disks, CD-ROMs, magneto-optical disks (MO), mini-discs (MD), A disc such as a digital video disc (DVD).
  • the recording medium may be a card such as an IC card or an optical card, or a semiconductor memory such as a mask ROM, EPROM, EEPROM, or flash ROM. Alternatively, it may be a memory formed in a calculation means such as a CPU.
  • the program code may be a code for instructing the arithmetic means of all the processes of the respective members, or may be a part of the processes of the respective members by calling in a predetermined procedure. If a basic program (for example, operating system or library) that can execute all of the program already exists, the basic program can be called by a code or pointer that instructs the arithmetic unit. Or you can replace everything.
  • a basic program for example, operating system or library
  • the format for storing the program in the recording medium may be a storage format that can be accessed and executed by the computing means, for example, in a state where the program is stored in the real memory. From the storage format after installation on a local recording medium (for example, real memory or a node disk) that is always accessible by the computing means before being placed in the memory, or from a network or transportable recording medium, It may be in the storage format before installing on the local recording medium.
  • a local recording medium for example, real memory or a node disk
  • the program may be stored in the recording medium as source code that is not limited to the compiled object code, or as intermediate code generated during the interpretation or compilation. In any case, by decompressing the compressed information, decompressing the encoded information, interpreting, compiling, linking, or placing in real memory, or a combination of these, If the intermediate code can be converted into a format that can be executed by the arithmetic means, the same effect can be obtained regardless of the format in which the program is stored in the recording medium.
  • the recording apparatus of the present invention receives a powerful stream such as compressed video data.
  • the stream composed of a plurality of packets is input, the control information decoding unit for decoding the control information in the stream, and the position of the random access point of the media included in the stream
  • a random access information analysis unit that analyzes using the control information and information included in the stream, the control information, a management information generation unit that generates position management information of the random access point, and the stream
  • a recording medium capable of holding the management information, and the management information includes a plurality of types of random access point information in the stream.
  • control information included in the stream and the location and type of each random access point of the media are stored as management information, so that both information can be managed and used in a unified manner. .
  • management information information indicating a plurality of types of random access points included in the stream can be recorded in the management file.
  • the recording apparatus of the present invention receives a powerful stream such as compressed video data, and the recording apparatus for recording the stream receives the stream composed of a plurality of packets as input, and controls information in the stream.
  • a control information decoding unit that decodes the position of a random access point of media included in the stream using the control information and information included in the stream, and the control information
  • a management information generation unit that generates positional management information of the random access point, a management information multiplexing unit that multiplexes the management information and the packet, and a recording medium that can hold the multiplexed stream.
  • the management information includes information on a plurality of types of random access points in the stream. It can also be expressed as a device.
  • control information can be added to a stream and recorded, so there is no need to distinguish between control information and a random access point of media.
  • the recording apparatus of the present invention is configured such that, in the above configuration, the management information includes a plurality of entries, and each entry includes information such as the type, position, and playback time of a random access point. You can also
  • the random access points of each medium included in the stream If the entry is included in the management information the size of the management information can be reduced.
  • the management information includes a first entry including information such as a type and a position of a random access point, and a pointer to the first entry. It can also be configured with a second entry.
  • the recording apparatus of the present invention may be configured such that, in the above configuration, the management information includes a PID necessary for reproducing the media included in the stream.
  • the step of decoding the control information can be omitted.
  • the recording apparatus of the present invention may be configured such that, in the above configuration, the size of the stream head force is used as information indicating the position of the random access point.
  • the recording apparatus of the present invention may be configured such that, in the above configuration, the packet number of the stream head force is used as information indicating the position of the random access point.
  • the packet position corresponding to the random access point can be easily found.
  • the recording apparatus of the present invention has a configuration in which, in the above configuration, a difference in size from an adjacent entry included in the management information is used as information indicating the position of the random access point. Monkey.
  • the recording apparatus of the present invention may be configured to use a difference in packet number with an adjacent entry included in management information as information indicating the position of the random access point. it can.
  • the playback device of the present invention reads the stream recorded on the recording medium and its management information, and plays back the media such as video and audio in the management information.
  • Reporting power A management information analysis unit that analyzes information on a random access point, a stream reading unit that reads out a stream that also has a stream force in a recording medium based on the information on the random access point, and a read stream
  • a data separation unit that separates control information, video information, and audio information
  • a control information decoding unit that extracts control information necessary for the data separation process from the control information
  • the separated video information and audio information
  • the management information includes a video decoding unit and an audio decoding unit
  • the management information includes information on a plurality of types of random access points in the stream.
  • the start position of the key frame and the corresponding control information can be quickly obtained by analyzing the management file, and the stream force can also be obtained quickly so that the control information can be obtained quickly.
  • the start of content playback can be accelerated.
  • the position of control information such as PID and key frame information necessary for starting playback can be obtained quickly, and the start of playback can be accelerated.
  • the playback apparatus of the present invention reads a stream recorded on a recording medium and management information thereof, and plays back media such as video and audio in a management information separation unit that separates management information from the stream And a management information analysis unit that analyzes information on the management information power random access point, and information on the random access point
  • a stream reading unit that reads a stream that is a target of stream force in the recording medium, a data separation unit that separates the read stream into control information, video information, and audio information, and the control information force
  • a control information decoding unit that extracts control information necessary for processing; a video decoding unit that decodes the separated video information and audio information; and an audio decoding unit. It can also be expressed as a playback device characterized by including information on random access points.
  • the control information necessary for detecting the key frame can be quickly obtained when the stream power is read out, and therefore the key frame analysis process is accelerated and the reproduction start of the recording content is accelerated. be able to.
  • the management information analysis unit includes a plurality of entry forces, and each entry includes a type, a position, and a playback time of a random access point.
  • the management information including such information can also be configured to be analyzed.
  • the management information analysis unit includes a first entry including information such as a type and a position of a random access point, and a pointer to the first entry.
  • the management information having the second entry is analyzed, the second entry such as time information is analyzed, and then the first entry is analyzed to obtain information on the random access point. Monkey.
  • the management information analysis unit analyzes control information directly described in management information
  • the data separation unit is configured to manage the management information analysis unit. It is also possible to adopt a configuration in which data separation processing is performed using the control information obtained in (1).
  • the playback device of the present invention is configured such that the stream reading unit reads the target stream from the random access point described in the management information using the size information from the top. You can also
  • the stream reading unit sets the position of the packet including the random access point described in the management information for the target stream to the packet number from the head.
  • a configuration obtained by multiplying the size can also be adopted.
  • the stream reading unit describes, in each entry included in the management information, a random access point in which the target stream is described in the management information.
  • the relative position information is obtained by adding the leading force. Say it with a word.
  • the stream reading unit includes, in each entry included in the management information, a position of a packet including a random access point described in the management information of the target stream It is also possible to add the relative index values described in (1) from the beginning and multiply this by the packet size.
  • the recording / reproducing apparatus of the present invention receives a powerful stream such as compressed video data, and the recording / reproducing apparatus for recording the stream receives the stream composed of a plurality of packets as an input.
  • a control information decoding unit that decodes control information
  • a random access information analysis unit that analyzes a position of a random access point of media included in the stream using the control information and information included in the stream, and the control Information
  • a management information generating unit that generates positional management information of the random access point
  • a recording medium capable of holding the stream and the management information, and information on the recorded management information random access point.
  • the recorded A stream reading unit that reads a stream that is also a target of stream power, a data separation unit that separates the read stream into control information, video information, and audio information, and control information that is necessary for the data separation process from the control information Control information decoding unit, a video decoding unit that decodes the separated video information and audio information, and an audio decoding unit, and the management information is information on a plurality of types of random access points in the stream. It can also be expressed as a recording / reproducing device characterized by including
  • the management information includes the control information included in the stream and the location and type of each random access point of the media, so the information of both is managed and used in a unified manner.
  • the start position of the key frame and the corresponding control information can be quickly obtained by analyzing the management file, and stream force control information can be obtained quickly. You can speed up the playback of content.
  • the present invention is not limited to the above-described embodiments, and various modifications are possible within the scope shown in the claims, and can be obtained by appropriately combining technical means disclosed in different embodiments. Such embodiments are also included in the technical scope of the present invention. Industrial applicability
  • the present invention can be applied to a recording apparatus that records a stream composed of a plurality of packets, a reproducing apparatus that reproduces the stream, a recording apparatus that includes the recording apparatus, and the reproducing apparatus.
  • the recording media used in these recording devices, playback devices, and recording / playback devices are not particularly limited, for example, tape systems such as magnetic tapes and cassette tapes, magnetic disks such as flexible disks and hard disks, CDZMOZMDZDVD, etc.
  • Disk systems such as disk, IC cards (including memory cards), etc., or semiconductors such as mask ROM, EPRO M (Erasable Programmable Read Only Memory), EEPROM (Electrically Erasable Programmable Read Only Memory), flash ROM, etc. It may be a memory system.
  • the stream is recorded on a transmission medium (medium that holds data fluidly) such as a communication network including the Internet (connected to a wired line or a wireless line), or a stream to which these transmission medium powers are also input. It may be regenerated.
  • a transmission medium medium that holds data fluidly
  • a communication network including the Internet (connected to a wired line or a wireless line), or a stream to which these transmission medium powers are also input. It may be regenerated.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Television Signal Processing For Recording (AREA)
  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

 制御情報復号部(102)によって、ストリームに含まれる制御情報を復号する。また、ランダムアクセス情報解析部(101)によって、ストリーム中に含まれるメディアのランダムアクセスポイントの位置を、制御情報を用いて解析する。さらに、管理情報生成部(103)によって、制御情報復号部(102)が復号した制御情報とランダムアクセス情報解析部(101)が解析したランダムアクセスポイントの位置とに基づいて、ストリームに含まれる複数のランダムアクセスポイントを管理するための管理情報を生成する。そして、このように生成した管理情報をストリームとともに記録媒体(104)に記録する。これにより、制御信号が周期的に挿入されたストリームを、ランダムアクセスによって再生するときに、再生開始を素早く行える。

Description

明 細 書
記録装置、再生装置、記録再生装置、記録プログラムとその記録媒体、 再生プログラムとその記録媒体
技術分野
[0001] 本発明は、例えば放送データなどのストリームデータを記録媒体に記録する記録装 置、および、記録媒体に記録されている映像音声データを再生出力する再生装置に 関するものである。
背景技術
[0002] デジタルィヒされた映像コンテンツを記録する場合、非圧縮の状態ではデータ量が 巨大になるため、例えば、 MPEG— 2ビデオ方式("ISO 13818-2:2000、 Generic codi ng of moving pictures and associated audio information: ideo 参照)や、 H. 264方 式 ("ITU— T Recommendation H.264 (03/05), Advanced video coding for generic aud iovisual services"参照)などで圧縮して力 記録することが多!、。
[0003] ところが、これらの圧縮方式では、圧縮率向上のためにフレーム間予測を行ってい るため、コンテンツ中間の任意の時刻から再生を開始することができない。なお、再 生開始可能なフレームはキーフレーム(ランダムアクセスポイント)と呼ばれ、 MPEG —2ビデオ方式では Iピクチャ、 H. 264方式では IDRピクチャがこれにあたる。
[0004] コンテンツ中間からの再生や、早送り'早戻しなどの特殊再生、すなわちファイルの ランダムアクセスを行うためには、記録データ内のどこにどの時刻のキーフレームが あるかを管理することが重要になる。
[0005] キーフレームの管理情報を備えたファイルフォーマットとしては、例えば非特許文献 1に示される ASF (Advanced Systems Format)がある。 ASFではインデックス 'ォブジ ェタトと呼ばれる構造をファイル内に持っており、ここにキーフレームの位置と時刻を 記録することで特殊再生時の利便性を向上させている。
[0006] ここで、 ASFのインデックス.オブジェクトとその使用方法について、図 11、図 12、 図 13を用いて説明する。
[0007] 図 11は ASFファイルの概略構造を示した説明図である。 1101はヘッダ 'オブジェ タトで、ファイル全体に共通な属性が記録されている。 1102はデータ'オブジェクトで 、映像や音声の圧縮データが格納されており、複数のパケットから構成される。 1103 はデータ'オブジェクト 1102に含まれるパケットの 1つである。パケットは全て固定長 である。一般に、圧縮された映像の 1フレームは 1パケットより大きいため、 1フレーム が複数のパケットに分割されて格納されることが多い。映像と同時に音声が格納され る場合も、同様にパケットに分割されて格納される。ヘッダ'オブジェクト 1101にはど のパケットに映像フレームが格納され、どのパケットに音声データが格納されているか を識別するための HD情報が記されている。 1104はインデックス 'オブジェクトであり、 詳細は後述する。なお、ヘッダ'オブジェクト 1101にはインデックス 'オブジェクト 110 4の位置が記録されており、インデックス 'オブジェクトを容易に探索することができる ようになっている。
[0008] 図 12はインデックス ·オブジェクト(非特許文献 1内ではシンプル 'インデックス ·ォブ ジェタトとして記載されている力 本説明では単にインデックス 'オブジェクトと呼称す る。)の概略構造を示した説明図である。 1201はインデックス 'エントリの時間間隔 T、 1202はインデックス 'エントリの総数 Ν、 1203はインデックス 'エントリの配列で、イン デッタス ·エントリの総数 Νだけ繰り返される。インデックス ·エントリは時間軸上で等間 隔 Τに配置されて ヽるため、ある時刻に対応するインデックス ·エントリを探すのは容 易である。 1204はインデックス 'エントリの配列中の一要素をあらわしており、 1205で 示されるパケット番号と、 1206で示されるパケット数とで構成されている。パケット番 号 1205には、インデックス ·エントリが表す時刻に最も近 、位置にあるキーフレーム の先頭パケット番号が格納されている。パケット数 1206には、該当するキーフレーム を再構成するのに必要なパケットの数が格納されている。
[0009] 図 13はインデックス ·エントリと映像フレームとの対応関係を示した説明図である。
図 13上部の四辺形は、それぞれが映像フレームをあらわしており、ノ、ツチングした四 辺形はキーフレーム、ノ、ツチングのない四辺形はそれ以外のフレームを示す。下部 の数直線は時間軸で、インデックス 'エントリが存在する時刻が黒丸で示されている。 一例として、動画コンテンツの先頭より Τ X k秒後から再生を開始したい場合を考える 。インデックス 'エントリは時間間隔 Tで存在しているので、 TX k秒後に対応するイン デッタス.エントリは先頭力も k+ 1個目のインデックス 'エントリ 1301である。しかし、 時刻 T X kに対応する時刻にはキーフレームが存在しな!、ため、インデックス ·エントリ 1301は時刻 T X kにもつとも近 、キーフレーム 1302を指して!/、る。より具体的には、 キーフレーム 1302の先頭が格納されたパケットのパケット番号と、キーフレーム 130 2を再構成するのに必要なパケットの総数と力 インデックス ·エントリ 1301に記され ている。再生する際には、パケット番号力も記録データ中の位置を計算することでキ 一フレーム 1302を再構成するのに必要なパケットを抽出し、よって時刻 T X kにもつ とも近 、時刻から再生を開始することができる。
特干文献 1 : Advanced Systems Format (ASr Specincation, Revision 01.20.03'、 [online]、 2004年 12月、 Microsoft Corporation, [2005年 4月 15日検索]、インターネッ トく URL: http://www.microsoft.com/windows/windowsmedia/format/ asfspec.aspx) 発明の開示
[0010] 〔発明が解決しょうとする課題〕
ところで、現在実施されているデジタル放送では、映像や音声は MPEG— 2TS (Tr ansport Streanu方式 ( iSO 13818—1:2000、 Generic coding of moving pictures and a ssociated audio information: Systems"参照。以下、単に TS方式と呼称する。)で多重 されて伝送されている。 TS方式のストリームでは、映像や音声は固定長力もなる TS パケットに分割される。 TSパケットには PID (Packet ID)がついており、これによつて その TSパケットに格納されているデータの種別が判別できる。
[0011] TS方式は放送用の多重方式であり、チャンネル切り換えなどによる途中からの再 生を可能にするため、 ASFのヘッダ'オブジェクトに相当するものが無い。つまり、 TS 方式では、 ASFのヘッダ'オブジェクトの代わりに、ストリーム内に一定周期で多重さ れている PMT (Program Map Table)と呼ばれる構造があり、映像や音声の PIDがこ こに格納されている。再生側ではまず PMTを探して解析し、映像や音声の PIDを取 得し、これに基づいて映像や音声の TSパケットを抽出して再生を開始する。なお、 P MTの情報は放送の途中で変更される可能性があり、常に最新の PMTを解析する 必要がある。 PMTもその他のデータと同様、 TSパケットに格納されている。
[0012] ところが、 TS方式の放送を TSのまま記録し、その際のファイルフォーマットに ASF に類するものを採用すると、 PMTの性質ゆえの不都合が生ずる。すなわち、 ASFで は映像や音声の PIDにあたるものがヘッダ'オブジェクトに格納されていて、この値が ファイル内を通じて不変であつたのに対し、 TSでは PMTの内容がファイル途中で変 化して 、る可能性があるため、ヘッダ ·オブジェクトによる一元管理が困難となる。
[0013] PMTは TS内に周期的に挿入されているから、再生自体が不可能になるわけでは ない。しかし、インデックス 'オブジェクトを利用したランダムアクセスを実施しょうとした 場合、インデックス 'エントリが指しているパケットは動画コンテンツのパケットであって PMTのパケットではないため、最初の PMTが現れるまでの間は映像や音声の PID がわ力もず、結果として目標とした時刻に最も近いキーフレームからの再生ができな くなる。
[0014] 本発明は、上記の問題点に鑑みてなされたものであり、その目的は、制御信号が周 期的に挿入されたストリームを、ランダムアクセスによって再生するときに、再生開始 を素早く行えるようにすることにある。
[0015] 〔課題を解決するための手段〕
本発明の記録装置は、上記の課題を解決するために、制御情報が周期的に挿入 された、複数のパケットからなるストリームを記録媒体に記録する記録装置であって、 上記制御情報を復号する制御情報復号部と、上記ストリーム中に含まれるメディアの ランダムアクセスポイントの位置を、上記制御情報を用いて解析するランダムアクセス 情報解析部と、上記復号した制御情報と上記解析したランダムアクセスポイントの位 置とに基づいて、上記ストリームに含まれる複数のランダムアクセスポイントを管理す るための管理情報を生成する管理情報生成部とを備え、上記ストリームと上記生成し た管理情報とを上記記録媒体に記録することを特徴としている。
[0016] 上記の構成によれば、管理情報生成部が、ストリームに含まれる制御情報とメディ ァのランダムアクセスポイントの位置とに基づ 、て、各ランダムアクセスポイントを管理 するための管理情報を生成する。そして、上記記録装置は、このように生成した管理 情報とストリームとを記録媒体に記録する。これにより、ストリームと管理情報とを統一 的に管理し、禾 IJ用することができる。したがって、このように記録されたストリームをラン ダムアクセスによって再生するときには、制御信号が周期的に挿入されたストリームで あっても、再生開始を素早く行える。
[0017] また、上記の構成にカ卩えて、上記管理情報と上記ストリームに含まれるパケットとを 多重する管理情報多重部を備え、上記管理情報と上記パケットとを多重した情報を 上記記録媒体に記録する構成としてもょ ヽ。
[0018] この場合、制御情報をストリームに付加して記録できるため、制御情報のランダムァ クセスポイントとメディアのランダムアクセスポイントとを区別しなくてすむ。また、例え ば、セクタサイズとパケットサイズとのァライメントを取るために各パケットに無効データ を付加する場合などに、その追加する領域に管理情報とパケットとを多重した情報を 記録することで、記録領域を有効に利用することができる。
[0019] また、上記管理情報は、複数のエントリからなり、当該各エントリは、ランダムァクセ スポイントの位置、および、再生時刻の情報を含む構成であってもよい。
[0020] 上記の構成によれば、管理情報に含まれる、ランダムアクセスポイントの位置、およ び、ランダムアクセスポイントの再生時刻の情報に基づいて、所望するランダムァクセ スポイントを素早く解析できる。また、管理情報には、ストリームに含まれる各ランダム アクセスポイント分のエントリが含まれていれさえすればよぐ管理情報のサイズを小 さくでさる。
[0021] また、上記管理情報は、ランダムアクセスポイントの位置の情報を含む第 1のエントリ と、上記ランダムアクセスポイントの再生時刻に 1対 1に対応する情報を含む第 2のェ ントリとを含む構成であってもよ 、。
[0022] 上記の構成によれば、再生時に、ランダムアクセスポイントの再生時刻と 1対 1に対 応する第 2のエントリを用いて、所望する再生時刻に対応するランダムアクセスポイン トを解析し、その解析結果に基づ 、て再生を開始するランダムアクセスポインの位置 を決定できる。したがって、これにより、所望するランダムアクセスポインの位置の情報 を素早く見つけることができる。
[0023] また、上記管理情報は、上記ストリームに含まれる各メディアの種別を示す PIDを含 む構成であってもよい。ここで、メディアとは、各パケットに格納されている制御情報以 外の情報であり、例えば映像情報や音声情報などがこれに該当する。また、 PID (Pa cket ID)とは、ストリームに含まれる各メディアの種別を示す情報である。 [0024] 上記の構成によれば、 PIDを得るために制御情報を復号する必要がないので、上 記制御情報復号部において制御信号を復号する工程を省略できる。
[0025] また、上記管理情報は、ランダムアクセスポイントの位置を表す情報を含み、上記ラ ンダムアクセスポイントの位置を表す情報として、上記ストリームの先頭からのサイズ を用いる構成であってもよ 、。
[0026] また、上記管理情報は、ランダムアクセスポイントの位置を表す情報を含み、上記ラ ンダムアクセスポイントの位置を表す情報として、上記ストリームに含まれる各パケット に対して当該ストリームの先頭力 順に付されたパケット番号を用いる構成であっても よい。
[0027] 上記の構成によれば、ランダムアクセスポイントに対応するパケット位置を、上記パ ケット番号によって簡単に特定できる。
[0028] また、上記管理情報は、ランダムアクセスポイントの位置を表す情報を含み、上記ラ ンダムアクセスポイントの位置を表す情報として、ストリームの先頭力 各ランダムァク セスポイントまでのサイズと、ストリームの先頭から当該各ランダムアクセスポイントに 隣接するランダムアクセスポイントまでのサイズとの差分を用いる構成としてもよ 、。
[0029] 上記の構成によれば、ランダムアクセスポイントの位置を表す情報として、ストリーム の先頭力 各ランダムアクセスポイントまでのサイズと、ストリームの先頭から当該各ラ ンダムアクセスポイントに隣接するランダムアクセスポイントまでのサイズとの差分を用 いる。これにより、管理情報全体のサイズを小さくすることができる。
[0030] また、上記管理情報は、ランダムアクセスポイントの位置を表す情報を含み、上記ラ ンダムアクセスポイントの位置を表す情報として、上記ストリームに含まれる各パケット に対して当該ストリームの先頭力も順に付されたパケット番号のうち、各ランダムァク セスポイントのパケット番号と、当該各ランダムアクセスポイントに隣接するランダムァ クセスポイントのパケット番号との差分を用いる構成としてもよ 、。
[0031] 上記の構成によれば、ランダムアクセスポイントの位置を表す情報として、各ランダ ムアクセスポイントのパケット番号と、当該各ランダムアクセスポイントに隣接するラン ダムアクセスポイントのパケット番号との差分を用いる。これにより、管理情報全体の サイズを小さくすることができる。 [0032] 本発明の再生装置は、上記の課題を解決するために、制御情報が周期的に挿入 された、複数のパケットからなるストリームを、記録媒体から読み出して再生する再生 装置であって、上記記録媒体に上記ストリームとともに記録されている、上記ストリー ムに含まれる複数のランダムアクセスポイントを管理するための管理情報に基づいて 、ランダムアクセスポイントの位置を解析する管理情報解析部と、上記解析したランダ ムアクセスポイントの位置に基づいて、上記記録媒体に記録されているストリームを読 み出すストリーム読み出し部と、上記読み出したストリームに含まれる各パケットを、制 御情報を含むパケットとメディアを含むパケットとに分離するデータ分離部と、上記メ ディアを含むパケットを復号するメディア復号部とを備えて 、ることを特徴として 、る。
[0033] 上記の構成によれば、記録媒体にストリームとともに記録されている管理情報に基 づ 、てランダムアクセスポイントの位置を解析し、その解析結果に基づ!/、てストリーム 力 制御情報を素早く得ることができる。このため、制御信号が周期的に挿入された ストリームであっても、素早く再生開始することができる。
[0034] また、上記の構成にカ卩えて、上記ストリームに多重された上記管理情報を、上記スト リーム力 分離する管理情報分離部を備えている構成としてもよい。
[0035] 上記の構成によれば、上記管理情報が上記ストリームに多重されて記録されている 場合であっても、管理情報とストリームとを分離し、分離した管理情報に基づいてラン ダムアクセスポイントの位置を素早く解析することができる。
[0036] また上記管理情報解析部は、上記管理情報に含まれているランダムアクセスポイン トの再生時刻の情報に基づ 、て、ランダムアクセスポイントの位置を解析する構成と してちよい。
[0037] 上記の構成によれば、管理情報に含まれているランダムアクセスポイントの再生時 刻の情報に基づ 、て、ランダムアクセスポイントの位置を表わす情報を素早く解析で きるので、再生開始までに要する時間を短縮できる。
[0038] また、上記管理情報解析部は、上記管理情報に含まれて 、る、ランダムアクセスポ イントの位置の情報を含む第 1のエントリと、上記ランダムアクセスポイントの再生時刻 に 1対 1に対応する情報を含む第 2のエントリと、に基づいて再生開始するランダムァ クセスポイントの位置を解析する構成としてもよ 、。 [0039] 上記の構成によれば、第 2のエントリを用いて、再生を開始したい再生時刻に対応 するランダムアクセスポイントを解析し、その解析結果と第 1のエントリに含まれるラン ダムアクセスポイントの位置の情報とに基づ 、て、再生開始するランダムアクセスボイ ントの位置を特定できる。したがって、 目的の再生時刻に対応する第 1のエントリを直 接検索する必要が無く、第 2のエントリに基づ 、て容易にランダムアクセスポイントの 位置を見つけることができ、素早く再生開始できる。
[0040] また、上記管理情報解析部は、上記管理情報に含まれている、上記ストリームに含 まれる各メディアの種別を示す PIDを解析し、上記データ分離部は、上記管理情報 解析部の解析結果に基づいて、上記ストリームに含まれる各パケットをメディアごとに 分離する構成としてもよい。
[0041] 上記の構成によれば、 PIDを得るために制御情報を復号する必要がないので、再 生開始までに要する時間を短縮できる。
[0042] また、上記管理情報解析部は、上記管理情報に含まれて!/、る、各ランダムアクセス ポイントの、上記ストリームの先頭からのサイズの情報に基づいて、ランダムアクセス ポイントの位置を解析する構成としてもよ 、。
[0043] また、上記管理情報解析部は、上記管理情報に含まれている、上記ストリームに含 まれる各パケットに対して当該ストリームの先頭力 順に付されたパケット番号と、各 パケットのサイズとの積に基づ 、て、ランダムアクセスポイントの位置を解析する構成 としてちよい。
[0044] 上記の構成によれば、上記管理情報に含まれている、上記ストリームに含まれる各 パケットに対して当該ストリームの先頭力 順に付されたパケット番号と、各パケットの サイズとに基づ 、て、ランダムアクセスポイントの位置を素早く解析できる。
[0045] また、上記管理情報解析部は、上記管理情報に含まれている、ストリームの先頭か ら各ランダムアクセスポイントまでのサイズと、ストリームの先頭から当該各ランダムァ クセスポイントに隣接するランダムアクセスポイントまでのサイズとの差分カゝらなる相対 位置情報に基づ 、て、ランダムアクセスポイントの位置を解析する構成としてもょ 、。
[0046] また、上記管理情報解析部は、上記ストリームに含まれる各パケットに対して当該ス トリームの先頭力 順にパケット番号を付したときの、各ランダムアクセスポイントのパ ケット番号と、当該各ランダムアクセスポイントに隣接するランダムアクセスポイントの パケット番号との差分力 なる相対インデックス値と、各パケットのサイズとに基づいて 、ランダムアクセスポイントの位置を解析する構成としてもよ 、。
[0047] 上記の構成によれば、所望するランダムアクセスポイントを素早く見つけることがで きる。
[0048] また、上記ストリームに含まれる制御情報を復号し、復号した制御情報から上記スト リームに含まれる各メディアの種別を示す PIDを抽出する制御情報復号部を備え、 上記データ分離部は、上記ストリーム読み出し部によって読み出したストリームに含ま れる各パケットを、上記制御情報復号部によって抽出した PIDに基づいてメディア毎 に分離する構成としてもよい。
[0049] 上記の構成によれば、上記ストリームに複数のメディアが含まれる場合であっても、 そのストリームに含まれる各メディアを適切に分離することができる。
[0050] 本発明の記録再生装置は、上記記録装置と上記再生装置とを備えてなる構成であ る。
[0051] 上記の構成によれば、記録時には記録媒体にストリームとその管理情報とを記録し ておき、再生時には上記ストリームとともに記録されている上記管理情報に基づいて ランダムアクセスポイントの位置を解析し、その解析結果に基づ ヽてストリーム力ゝら制 御情報を素早く得ることができる。このため、記録媒体に記録されたストリームを素早 く再生することがでさる。
[0052] 本発明の記録方法は、上記の課題を解決するために、制御情報が周期的に挿入 された、複数のパケットからなるストリームを記録媒体に記録する記録方法であって、 上記制御情報を復号する制御情報復号工程と、上記ストリーム中に含まれるメディア のランダムアクセスポイントの位置を、上記制御情報を用いて解析するランダムァクセ ス情報解析工程と、上記復号した制御情報と上記解析したランダムアクセスポイント の位置とに基づいて、上記ストリームに含まれる複数のランダムアクセスポイントを管 理するための管理情報を生成する管理情報生成工程と、上記ストリームと上記生成 した管理情報とを上記記録媒体に記録する記録工程とを含むことを特徴としている。
[0053] 上記の記録方法によれば、ストリームに含まれる制御情報とメディアのランダムァク セスポイントの位置とに基づいて、各ランダムアクセスポイントを管理するための管理 情報を生成する。そして、このように生成した管理情報とストリームとを記録媒体に記 録する。これにより、ストリームと管理情報とを統一的に管理し、利用することができる 。したがって、このように記録されたストリームをランダムアクセスによって再生するとき には、制御信号が周期的に挿入されたストリームであっても、再生開始を素早く行え る。
[0054] 本発明の再生方法は、上記の課題を解決するために、制御情報が周期的に挿入 された、複数のパケットからなるストリームを、記録媒体から読み出して再生する再生 方法であって、上記記録媒体に上記ストリームとともに記録されている、上記ストリー ムに含まれる複数のランダムアクセスポイントを管理するための管理情報に基づいて 、ランダムアクセスポイントの位置を解析する管理情報解析工程と、上記解析したラン ダムアクセスポイントの位置に基づいて、上記記録媒体に記録されているストリームを 読み出すストリーム読み出し工程と、上記読み出したストリームに含まれる各パケット を、制御情報を含むパケットとメディアを含むパケットとに分離するデータ分離工程と 、上記メディアを含むパケットを復号するメディア復号工程とを含むことを特徴として いる。
[0055] 上記の再生方法によれば、記録媒体にストリームとともに記録されている管理情報 に基づ!/、てランダムアクセスポイントの位置を解析し、その解析結果に基づ ヽてストリ 一ムカも制御情報を素早く得ることができる。このため、制御信号が周期的に挿入さ れたストリームであっても、素早く再生開始することができる。
[0056] 本発明の記録プログラムは、上記した記録方法における各工程の処理を、コンビュ ータに実行させるためのものである。コンピュータにこのプログラムを読み取らせること で、上記各工程の処理を、そのコンピュータによって実現することが可能となる。
[0057] また、上記記録プログラムをコンピュータによって読み取り可能な記録媒体に記録 させておくことで、そのプログラムの保存 ·流通を容易に行えるようになる。さらに、そ の記録媒体を読み込ませることで、コンピュータによって、本発明の記録方法におけ る各工程の処理を実施できる。
[0058] 本発明の再生プログラムは、上記した再生方法における各工程の処理を、コンビュ ータに実行させるためのものである。コンピュータにこのプログラムを読み取らせること で、上記各工程の処理を、そのコンピュータによって実現することが可能となる。
[0059] また、上記再生プログラムをコンピュータによって読み取り可能な記録媒体に記録 させておくことで、そのプログラムの保存 ·流通を容易に行えるようになる。さらに、そ の記録媒体を読み込ませることで、コンピュータによって、本発明の再生方法におけ る各工程の処理を実施できる。
図面の簡単な説明
[0060] [図 1]本発明の一実施形態に係る記録装置の概略構成を示すブロック図である。
[図 2(a)]本発明の一実施形態に係る記録装置に入力されるストリームの構成を示す 説明図である。
[図 2(b)]図 2 (a)に示したストリームにおける各パケットの構成を示す説明図である。
[図 3]本発明の一実施形態に係る記録装置によって復号化された制御情報の一例を 示す説明図である。
[図 4]本発明の一実施形態に係る記録装置によって生成される管理情報に含まれる エントリの一例、および、そのエントリとストリーム中のランダムアクセスポイントとの関 係を示す説明図である。
[図 5]本発明の一実施形態に係る記録装置によって生成される管理情報の他の例、 および、そのエントリとストリーム中のランダムアクセスポイントとの関係を示す説明図 である。
[図 6(a)]本発明の一実施形態に係る記録装置によって記録媒体に記録される管理情 報のフォーマットの一例を示す説明図である。
[図 6(b)]本発明の一実施形態に係る記録装置によって記録媒体に記録される管理情 報のフォーマットの一例を示す説明図である。
[図 6(c)]本発明の一実施形態に係る記録装置によって記録媒体に記録される管理情 報のフォーマットの一例を示す説明図である。
[図 7]本発明の一実施形態に係る記録装置によって記録媒体に記録されるパケットの 一例を示す説明図である。
[図 8]本発明の一実施形態に係る再生装置の概略構成を示すブロック図である。 圆 9]本発明の一実施形態に係る再生装置の他の概略例を示すブロック図である。
[図 10]本発明の一実施形態に係る再生装置において、早送りおよび早戻しを行う際
の映像フレームの転送順を示す説明図である。
圆 11]一般的な ASFファイルの概略構造を示した説明図である。
[図 12]図 11に示した ASFファイルに含まれるインデックス 'オブジェクトの概略構造を 示した説明図である。
[図 13]図 11に示した ASFファイルにおける、インデックス.エントリと動画コンテンツ内 のフレームとの対応関係を示した説明図である。
[図 14]本発明の一実施形態に力かる記録装置における処理の流れを示すフロー図 である。
[図 15]本発明の一実施形態に力かる再生装置における処理の流れを示すフロー図 である。
符号の説明
データ記録装置 (記録装置)
101 ランダムアクセス情報解析部
102 制御情報復号部
103 管理情報生成部
104 記録媒体
105 記録制御部
106 受信制御部
800, 800b データ再生装置 (再生装置)
802 管理情報解析部
803 ストリーム読み出し部
804 データ分離部
805 制御情報復号部
806 映像復号部
807 音声復号部
808 指示入力部 発明を実施するための最良の形態
[0062] 〔実施形態 1〕
本発明の一実施形態に力かる記録装置について説明する。
[0063] (データ記録装置 100の構成)
図 1は、本実施形態にかかる記録装置であるデータ記録装置 100の構成を示すブ ロック図である。この図に示すように、データ記録装置 100は、ランダムアクセス情報 解析部 101、制御情報復号部 102、管理情報生成部 103、記録制御部 105、受信 制御部 106を備えている。なお、データ記録装置 100は、受信制御部 106によって 外部から入力されるストリームを受信し、受信したストリームと、そのストリームに基づ いて生成する管理情報 (詳細は後述する)とを、記録媒体 104に記録するものである
[0064] 受信制御部 106は、図示しない受信手段を制御して外部からストリームを受信する ものである。データ記録装置 100が受信するストリームは、例えば圧縮された映像デ ータなどからなり、複数のパケットから構成される。また、受信制御部 106は、受信し たストリームを、ランダムアクセス情報解析部 101、制御情報復号部 102、記録制御 部 105にそれぞれ入力する。
[0065] ランダムアクセス情報解析部 101は、複数のパケットから構成されるストリームを入 力とし、後述する制御情報を用いて各パケットのヘッダ情報等を解析する。そして、 解析した結果力もそのパケットにランダムアクセス可能なデータが含まれるかどうかを 示すランダムアクセス情報、およびランダムアクセス種別、そのパケットを識別するた めのパケット識別情報を、管理情報生成部 103に出力する。
[0066] 制御情報復号部 102は、入力されたストリーム力 制御情報が含まれるパケットの みを抽出し、抽出したパケットを復号して制御情報を生成する。また、生成した制御 情報を、ランダムアクセス情報解析部 101および管理情報生成部 103に出力する。
[0067] 管理情報生成部 103は、ランダムアクセス情報、ランダムアクセス種別、パケット識 別情報、および制御情報から管理情報を生成する。そして、生成した管理情報を記 録制御部 105に出力する。
[0068] 記録制御部 105は、前記管理情報生成部 103が生成した管理情報、および、ストリ ームを記録媒体 104に記録する。なお、記録媒体 104は、データ記録装置 100に装 着されているものであってもよぐあるいは、データ記録装置 100と分離可能に構成さ れる記録媒体であってもよい。記録媒体 104としては、例えば、磁気テープやカセット テープ等のテープ系、フレキシブルディスクやハードディスク等の磁気ディスクや CD /MO/MD/DVD等のディスクのディスク系、 ICカード (メモリカードを含む)等の カード系、あるいはマスク ROM、 EPROM (Erasable Programmable Read Only Mem ory)、 EEPROM (Electrically Erasable Programmable Read Only Memory)、フフッシ ュ ROM等の半導体メモリ系、などの記録媒体を適用できる。また、インターネットを含 む通信ネットワーク (有線回線あるいは無線回線に接続されたもの)等の伝送媒体( 流動的にデータを保持する媒体)を介して他の装置などに出力(伝送)するようにして もよい。つまり、データ記録装置 100において、管理情報およびストリームの記録媒 体 104への記録は必須ではなぐ例えば、これらの情報それぞれを、通信回線など によって伝送するようにしてもよい。この場合、記録制御部 105が、管理情報およびス トリームを、通信回線を介して接続される他の装置などに出力することになる。
[0069] (データ記録装置 100の動作)
次に、データ記録装置 100における各部の動作について詳しく記載する。なお、こ こでは主に、ストリームに含まれる情報の種別として、制御情報および映像フレーム の 2種類が含まれる場合について説明する。ただし、ストリームに含まれる情報の種 別はこれに限るものではない。例えば、これらの情報にカ卩えて、音声フレームや、 BM L文書、静止画等、 2種類以上のメディア (情報)が含まれていても構わない。
[0070] 図 14は、データ記録装置 100における処理の流れを示すフロー図である。この図 に示すように、まず、受信制御部 106が、受信したストリームをランダムアクセス情報 解析部 101、制御情報復号部 102、記録制御部 105にそれぞれ入力する(Sl)。
[0071] 図 2 (a)は、データ記録装置 100に入力されるストリーム(データ記録装置 100が受 信するストリーム)の構成を示す説明図であり、図 2 (b)は、図 2 (a)に示したストリーム における各パケットの構成を示す説明図である。
[0072] 図 2 (a)に示すように、データ記録装置 100に入力されるストリームは、固定長パケ ットが複数連結されたものであり、内部に映像フレームや制御情報など各種の情報が 含まれる。また、図 2 (b)に示すように、各パケットは、ヘッダと圧縮データが格納され るペイロードから構成される。ヘッダには PID (Packet ID)が含まれて!/、る。 PID (PI Dの値)には、ペイロードに含まれる圧縮データの種別に対応した番号が割り当てら れる。つまり、同一種類の圧縮データを含むパケットは同一 PIDを持つ。このため、デ ータ記録装置 100ある 、はこのストリームを再生する再生装置は、 PIDの値を頼りに パケットの選別を行うことで、同一種類の圧縮データを取り出すことが出来る。
[0073] また、ヘッダには、例えば映像のキーフレームなど、圧縮データの途中力 復号で きる位置を含むカゝ否かを示す先頭識別情報などが含まれる。図 2 (a)において、矢印 で示したパケットは、この先頭識別情報によりランダムアクセス可能なパケット (ランダ ムアクセスポイント)と認識される。このようなパケットの例としては、 MPEG— 2 TS ( Transport Stream)ノヽケット あり、その場合、 payload一 unit一 start一 indie ato rが先頭識別情報に該当する。
[0074] 制御情報復号部 102は、入力されたストリームに含まれる各パケットの中力 あらか じめ制御情報用に決められた PIDを持つパケットを選別する(S2)。つまり、データ記 録装置 100には、ペイロードに含まれる圧縮データが制御情報である場合にそのパ ケットに割り当てられる PID (制御情報用の PID)をあら力じめ記憶した記憶手段(図 示せず)が設けられており、制御情報復号部 102が、この記憶手段に記憶された PID と同じ PIDを持つパケットを、制御情報のパケット(ペイロードに制御情報が含まれる パケット)として選別する。
[0075] 次に、制御情報復号部 102は、先頭識別情報を利用することでランダムアクセス可 能なパケットを認識する(S3)。つまり、 S2において制御情報のパケットとして選別し たパケットに含まれる先頭識別情報を参照し、上記選別したパケットの中力もランダム アクセス可能なパケットを認識する。
[0076] 次に、制御情報復号部 102は、 S3において認識したランダムアクセス可能なバケツ ト(ランダムアクセスポイント)にアクセスし、そのパケットを起点として制御情報を復号 する(S4)。
[0077] 図 3は、制御情報復号部 102によって復号化された制御情報の一例を示す説明図 である。この図に示すように、制御情報は、その制御情報を示す識別子および映像、 音声、データなどの各メディアの PID (各メディアが含まれるパケットの PID)などから 構成されている。なお、制御情報の例としては、例えば MPEG— 2 TSにおける PM T (Program Map Table)力ある。
[0078] 次に、制御情報復号部 102は、復号して得た制御情報を、ランダムアクセス情報解 析部 101および管理情報生成部 103に出力する(S5)。
[0079] ランダムアクセス情報解析部 101は、ストリームに含まれる各メディアの PIDを利用 することで、ランダムアクセス種別(ランダムアクセス種別情報)を生成する(S6)。つま り、制御情報復号部 102によって復号ィ匕された制御情報に含まれる各メディアの PID に基づいて、入力されたストリームにおける各パケット(あるいはランダムアクセスボイ ントに対応するパケット)のメディアを特定し、そのメディアの種別を示すランダムァク セス種別を生成する。
[0080] 次に、ランダムアクセス情報解析部 101は、そのパケットにランダムアクセス可能な データが含まれるかどうかを判定した結果を示す情報である、ランダムアクセス情報 を生成する(S7)。なお、先頭識別情報によって、ランダムアクセスポイントとなるパケ ットを特定できる場合には、その先頭識別情報をランダムアクセス情報としてそのまま 使用しても良い。また、先頭識別情報だけでは、ランダムアクセスポイントとなるバケツ トを特定できない場合には、ストリームのデータ圧縮方式等に応じた適切な方法で、 ランダムアクセスポイントとなるパケットを特定すればよい。例えば、デジタル放送で H . 264が用いられる場合、先頭識別情報はランダムアクセスポイントを表す情報では なくフレームの先頭が含まれることを表す。この場合には、 H. 264ストリームの各フレ ーム先頭にある AUD (Access Unit Delimiter) NAL (Network Adapation Layer)ユニットに含まれる Primary— Pic— Typeの値を参照し、この値が 0でかつ 先頭識別情報が 1である力否かによって、そのフレームがキーフレームかどうか、すな わちランダムアクセスポイントが含まれるかを判定するようにすればょ 、。
[0081] 次に、ランダムアクセス情報解析部 101は、 S6で生成したランダムアクセス種別、 S 7で生成したランダムアクセス情報、および、各パケットを識別するためのパケット識 別情報を、管理情報生成部 103に出力する(S8)。なお、パケット識別情報としては、 例えば、各パケットの再生時刻、各パケットに一意に割り当てたインデックス値、ストリ ームの先頭からのバイト数、前のパケットあるいは前のランダムアクセスポイントからの バイト数やインデックス値、などを用いることができる。
[0082] 管理情報生成部 103は、制御情報復号部 102から入力された制御情報、および、 ランダムアクセス情報解析部 101から入力されたランダムアクセス種別,ランダムァク セス情報,パケット識別情報に基づいて、管理情報を生成し、記録制御部 105に出 力する(S9)。なお、管理情報生成部 103で生成する管理情報には、ストリームに含 まれるランダムアクセスポイントを管理するための情報が含まれる。データ記録装置 1 00によって記録されるストリームを再生する再生装置では、管理情報に含まれるこれ らランダムアクセス情報を管理するための情報(以後の説明では、エントリと呼ぶ)を 用いることで、ストリームの途中力も再生することが可能となる。
[0083] 図 4は、管理情報に含まれるエントリの一例、および、そのエントリとストリーム中のラ ンダムアクセスポイントとの関係を示す説明図である。
[0084] この図に示す例では、管理情報に含まれる各エントリは、「種別」、「時刻」、「エントリ 位置」の各情報を含む。なお、各エントリは、ストリーム中のランダムアクセスポイントと 1対 1に対応している。図 4の例では、エントリ 1はストリーム中の制御情報のランダム アクセスポイントに、エントリ 2のエントリ位置はストリーム中の映像フレームのランダム アクセスポイントにそれぞれ対応して 、る。
[0085] 「種別」は、そのエントリに対応するランダムアクセスポイントの種類を表す情報であ る。図 4の例では、エントリ 1が制御情報に対応しており、エントリ 2は映像フレームに 対応している。
[0086] 「時刻」は、そのエントリに対応するメディアの再生時刻を表す情報である。図 4の例 では、表示時刻 t2の映像フレームに対応するエントリ 2には、再生時刻 t2が格納され る。
[0087] なお、制御情報には、再生時刻に相当する情報が含まれないが、適切な値を設定 することで、 1つのエントリのサイズを固定長にできる。例えば、図 4のエントリ 1では、 そのエントリに対応する制御情報の前後にあるフレームの再生時刻 tO、 t2を用い、 tO く tl <t2を満たすような時刻 tlを用いている。ただし、制御フレームのエントリにおけ る時刻設定方法はこれに限定されるものではない。また、管理情報全体のサイズを小 さくするため、種別 =制御情報の場合には、このフィールド(「時刻」)を記録しないよ うにしても良い。
[0088] また、再生時刻 tO、 t2の例としては、 MPEG— 2TSの場合だと、 PTS (Presentati on Time Stamp)をそのまま用いる方法が考えられる。また、記録されるストリーム の先頭位置の PTSを利用して、その時点からの相対時間としても良い。
[0089] 「エントリ位置」は、対応するパケットのストリーム中の位置を表す情報である。「ェン トリ位置」としては、例えば、記録されたストリーム先頭力も各パケットに一意に割り当 てたインデックス値 (ストリームに含まれる各パケットに対してそのストリームの先頭から 順に付されたパケット番号)や、ストリーム先頭力 のノイト数 (サイズ)などを用いるこ とがでさる。
[0090] また、先頭からの位置ではなぐ例えば、前のエントリからの差に相当するバイト数( ストリームの先頭から各ランダムアクセスポイントまでのサイズと、ストリームの先頭から 当該各ランダムアクセスポイントに隣接するランダムアクセスポイントまでのサイズとの 差分)を用いてもよい。あるいは、前のエントリ力もの差に相当するインデックス値 (スト リームに含まれる各パケットに対して当該ストリームの先頭力も順に付されたパケット 番号 (インデックス値)のうち、各ランダムアクセスポイントのパケット番号と、当該各ラ ンダムアクセスポイントに隣接するランダムアクセスポイントのパケット番号との差分) を用いても良い。このように、隣接するランダムアクセスポイントとのバイト数の差分( 相対位置情報)、あるいはインデックス値の差分 (相対インデックス値)を用いることに より、管理情報全体のサイズを小さくすることができる。
[0091] また、「種別」 =「制御情報」の場合、制御情報の位置を格納する代わりに、制御情 報に記載されている PIDを直接記載しても良い。この場合には、 PIDを得るために制 御情報の先頭を見つけて復号する、 t 、うプロセスを省略できる。
[0092] このようなエントリを構成することで、指定された時刻に対応する制御情報、および 映像フレームのストリーム中における先頭位置を高速に得ることができ、また管理情 報のサイズを小さくすることができる。
[0093] なお、管理情報に含まれるエントリは図 4の例に限るものではない。図 5は、管理情 報に含まれるエントリの他の構成例を示して!/、る。 [0094] この図に示す管理情報には、インターノ レ、エントリ数、各エントリ 1, 2、 · · ·が含ま れている。また、各エントリには、エントリフレーム位置、制御情報位置の各情報が含 まれている。
[0095] 図 5に示す例では、上記した ASFフォーマットのように記録されたストリームの先頭 力も一定時間間隔で刻まれた各時刻に対して 1つのエントリが設けられている。すな わち、図 5の右上の時間軸に示すような等間隔の時刻列 tO、 tl、…に対して、図 5の 右下に示すようなストリームがある場合、エントリ内部にはこのストリームに矢印で示し たように、それぞれの時刻に対応するストリーム上のランダムアクセスポイントを示す 情報が格納される。
[0096] 「インターバル」は時刻 tO、 tl、…の時間間隔を表す情報である。各エントリ中の「ェ ントリフレーム位置」は、そのエントリに対応する映像フレームが含まれるパケット位置 を表す情報である。また、「制御情報位置」は、そのエントリに対応する制御情報が含 まれるパケット位置を表す情報である。エントリフレーム位置や制御情報位置を表す 情報としては、例えば、図 4の場合と同様、ストリームの先頭力ものバイト数や、バケツ トのインデックス値および、エントリ間の差に相当するバイト数やインデックス値の差を 用!/、ることができる。
[0097] このようなエントリを構成することで、エントリ内部の表示時刻を見て対象のエントリを 検索しなくとも、求める時刻のエントリ位置が容易にわかる。このため、図 4で説明した エントリを用いる場合に比べ、目的のランダムアクセスポイントを早期に得ることができ る。
[0098] なお、制御情報にっ 、ては、図 4と同様、制御情報位置の代わりに制御情報に記 載されている PIDなどを直接記載しても良い。これにより、 PIDを得るために制御情 報の先頭を見つけて復号する、というプロセスが省略できる。
[0099] また、「インターバル」の値がランダムアクセスポイントの間隔に比べて小さくなる場 合には、異なる時刻に対して同一のランダムアクセスポイントが対応する確率が増え る。言い換えると、管理情報内部に同一のエントリが複数回現れる確率が増える。こ の場合、管理情報のサイズが増加してしまう。そこで、図 5に示したエントリと、図 4で 説明したランダムアクセスポイントに 1対 1に対応するエントリとを組み合わせ、エントリ 内部に記載される制御情報およびランダムアクセスポイントの位置の代わりに、ランダ ムアクセスポイントに 1対 1に対応するエントリの識別情報 (第 1のエントリ)を格納して も良い。ランダムアクセスポイントに 1対 1に対応するエントリの識別情報としては、例 えば、該当するエントリのインデックスや、エントリ先頭からのバイト数を用いることがで きる。これにより、インターバルの値がランダムアクセスポイントの間隔に比べて小さく なっても、管理情報の増加を比較的抑えることが可能になる。また、再生時に、ランダ ムアクセスポイントの再生時刻と 1対 1に対応する「インターバル」(第 1のエントリへの ポインタを含む第 2のエントリ)を用いて、所望する再生時刻に対応するランダムァク セスポイントを解析し、その解析結果と上記第 1のエントリとに基づいて再生を開始す るランダムアクセスポインの位置を決定できる。したがって、これにより、所望するラン ダムアクセスポインの位置の情報を素早く見つけることができる。
[0100] また、デジタル放送の場合、放送休止時など制御情報に相当する PMTがストリー ム中に存在しない場合がある。この場合、制御情報の参照先として、直前に現れた P MTの先頭位置にすると、放送休止状態を表現できない。このため、対応する制御情 報が含まれな!/、場合には、通常現れな!/ヽ NULL ( = 0)などの所定の値を管理情報 に記録し、このような場合は放送休止状態とみなして処理するようにすれば良 、。
[0101] 管理情報生成部 103から管理情報を入力された記録制御部 105は、その入力され た管理情報と、受信制御部 106から入力されたストリームとを、記録媒体 104に記録 する(S10)。
[0102] 記録媒体 104に記録する管理情報のフォーマットとしては、例えば、図 6 (a)〜図 6
(c)に示す各方法が考えられる。
[0103] 図 6 (a)に示す例は、最初にエントリ数を格納し、続 、て全てのエントリを並べて格 納するフォーマットになっている。格納するエントリとしては、図 4、図 5を用いて既に 説明したものが考えられる。
[0104] 図 6 (b)に示す例は、最初に第 1のエントリのエントリ数を格納し、続いて第 1のェン トリに関する全てのエントリを並べて格納し、その後、第 2のエントリのエントリ数を格納 し、続 、て第 2のエントリに関する全てのエントリを並べて格納するようになって!/、る。 つまり、図 6 (b)は、 1つのエントリ(例えば第 1のエントリ)から別のエントリ(例えば第 2 のエントリ)を参照するなど、ランダムアクセスポイントを 2種類のエントリを用いて得る 場合における管理情報のフォーマット例である。例えば、図 6 (b)の第 1のエントリとし て、図 5を用いて説明したエントリを用い、図 6 (b)の第 2のエントリとして、図 4を用い て説明したエントリを用いる方法が考えられる。
[0105] 図 6 (c)に示す例では、最初に制御情報数を格納し、続、て全ての制御情報 (制御 情報に関するエントリ)を並べて格納し、その後、制御情報以外のエントリ数を格納し 、続いて制御情報以外の全エントリを並べて格納している。つまり、図 6 (c)の例では 、そのストリームに関する全ての制御情報を先頭に配置し、次いで制御情報以外の エントリ(例えば図 4のエントリ)を配置している。つまり、各エントリの「制御情報の位置 」に相当する情報として管理情報の先頭に制御情報のインデックスを記録することで 、再生時に制御情報の先頭を見つけ、復号するというプロセスを省略でき、かつ同一 の制御情報を格納する必要がないので、管理情報のサイズを小さくすることが出来る 。なお、図 6 (c)のフォーマットは、図 6 (a)の派生フォーマットとみなすこともできる。
[0106] また、パケットを記録媒体 104に記録する際、セクタサイズ等の理由により、ァラィメ ントを取るために、各パケットに無効データを付加する場合がある。このような場合に は、図 7に示すように、追加された領域に PIDなどの制御情報を書き込むようにしても よい。この場合、例えば、図 1に示した構成において、記録媒体 104にストリームと管 理情報とを記録する記録制御部 105の前段に、管理情報多重部(図示せず)を設け 、この管理情報多重部によってストリームと管理情報とを多重するようにすればよい。 このような構成にすることで、無効領域 (従来、ァライメントのために付加する領域)を 有効に利用することができ、かつ映像や音声の PIDを素早く得ることができるため、 再生開始が早くなる。また、制御情報をストリームに付加して記録できるため、制御情 報のランダムアクセスポイントとメディアのランダムアクセスポイントとを区別しなくてす む。
[0107] 以上のように、本実施形態にかかるデータ記録装置 100では、制御情報復号部 10 2が、ストリームに含まれる制御情報を復号し、ランダムアクセス情報解析部 101が、 上記ストリーム中に含まれるメディアのランダムアクセスポイントの位置を、制御情報を 用いて解析し、管理情報生成部 103が制御情報復号部 102によって復号した制御 情報とランダムアクセス情報解析部 101によって解析したランダムアクセスポイントの 位置とに基づいて、ストリームに含まれる複数のランダムアクセスポイントを管理する ための管理情報を生成する。そして、このように生成した管理情報をストリームととも に記録媒体 104に記録する。
[0108] これにより、ストリームと管理情報とを統一的に管理し、禾 IJ用することができる。した がって、このように記録されたストリームをランダムアクセスによって再生するときには、 制御信号が周期的に挿入されたストリームであっても、再生開始を素早く行える。
[0109] 〔実施形態 2〕
本発明の一実施形態に力かる再生装置について説明する。
[0110] (データ再生装置の構成)
図 8は、本実施形態にかかる再生装置であるデータ再生装置 800の構成を示すブ ロック図である。なお、データ再生装置 800は、実施形態 1に記載したデータ記録装 置 100によってストリームと管理情報とが記録された記録媒体 104を再生するもので ある。
[0111] この図に示すように、データ再生装置 800は、管理情報解析部 802、ストリーム読 み出し部 803、データ分離部 804、映像復号部 (第 1のメディア復号部) 806、音声復 号部 (第 2のメディア復号部) 807、指示入力部 808を備えて 、る。
[0112] 管理情報解析部 802は、記録媒体 104に記録された管理情報を読み出し、読み出 した管理情報力もランダムアクセス情報等を解析する。また、その解析結果をストリー ム読み出し部 803に出力する。
[0113] ストリーム読み出し部 803は、管理情報解析部 802からの指示 (管理情報解析部 8 02の解析結果)に応じて、記録媒体 104に記録されたストリームを読み出す。また、 読み出したストリームをデータ分離部 804に出力する。
[0114] データ分離部 804は、後述の制御情報復号部 805から入力される PIひ f青報を用い て、ストリーム読み出し部 803によって読み出したストリームに含まれるパケットを分離 する (ストリーム力も映像や音声の圧縮データや制御情報が含まれたパケットを分離 する。)。
[0115] 制御情報復号部 805は、制御情報が含まれたパケットを復号し、映像や音声の PI Dなどの情報を取得する。また、上記したように、取得した PIひ f青報をデータ分離部 8 04に出力する。
[0116] 映像復号部 806は、データ分離部 804によって分離された映像の圧縮データを復 号し、図示しないディスプレイなどの映像出力手段に表示する。音声復号部 807は、 データ分離部 804によって分離された音声の圧縮データを復号し、図示しないスピ 一力などの音声出力手段に出力する。なお、ここでは、映像と音声を復号する場合に ついて説明したが、これに限定されず、映像と音声のどちらか一方であっても良い。 また、例えば静止画やデータなどの他のメディアの復号部を含む構成であってもよ ヽ
[0117] 指示入力部 808は、再生を開始する位置に関する指示、および、再生開始指示な どに関するユーザ力 の入力を受け付け、その指示入力に応じた信号を管理情報解 析部 802に伝達するものである。指示入力部 808の構成は特に限定されるものでは なぐ例えばタツチパネルであってもよぐキーボードやマウスポインタ、ペン入力装置 、ジョグダイヤルなどであってもよい。また、図示しない表示手段に表示された情報に 基づいて、ユーザが再生開始位置を指定する構成であってもよい。例えば、表示手 段に表示されるシークバーをマウスポインタなどによって操作し、再生開始位置を指 定する構成であってもよい。
[0118] データ再生装置 800では、指示入力部 808を介してユーザ力 入力される再生開 始位置に関する指示に基づいて、再生を開始するようになっている。ユーザは、例え ば、前回再生を中止した位置 (再生中断位置)から再生を開始 (再開)するように設定 したり、シークバーなどで再生したい地点を選び、その位置力 の再生するように指 示したりできる。また、ファイル (ストリーム)の先頭力も再生開始するように指示するこ ともできる。つまり、データ再生装置 800では、ユーザの指示に応じて任意の位置か らファイル (ストリーム)の再生を行えるようになつている。ここで、「任意の位置力もファ ィルを再生する」とは、例えば、前回再生を中止した地点の情報を格納しておき、そ の位置から再生することや、ユーザがシークバーで再生した 、地点を選んで再生す ることなどである。また、ファイルの先頭力も再生を行う場合も、この「任意の位置から ファイルを再生する場合」の 1つの特殊ケースであり、上記した各ケースと同じ動作で 実現することが可能である。
[0119] (データ再生装置 800の再生開始動作)
次に、データ再生装置 800における各部の動作の詳細について図 15に基づ 、て 説明する。図 15は、データ再生装置 800における再生開始時の処理の流れを示す フロー図である。なお、ここでは、記録媒体 104に、上記した図 4の構成力もなるェン トリが、上記した図 6 (a)のフォーマットで格納されている場合について説明する。ただ し、これに限定されるものではなぐ例えば図 5のエントリの構成であってもよぐまた、 図 6 (b)や図 6 (c)、図 7のフォーマットであっても構わない。また、ここでは映像を再生 する場合にっ 、て説明するが、これに限るものではな 、。
[0120] まず、管理情報解析部 802は、指示入力部 808にユーザ力もの再生開始位置に 関する指示および再生開始指示が入力されると(S21)、記録媒体 104に記録された 管理情報を読み出す (S22)。
[0121] そして、管理情報解析部 802は、読み出した管理情報の中からエントリ種別が映像 であるエントリを抽出し (S23)、さらに、抽出したエントリの中力も再生を開始したい時 間に対応するエントリを検索し (S24)、映像フレームの再生開始位置を決定する(S2 5)。
[0122] この際、再生を開始したい時間の情報とエントリに格納された時間の情報とでは、 単位や情報の内容が異なる場合がある。例えば、再生を開始したい時間が ms (ミリ秒 )単位のファイルの先頭力もの相対時間として表現され、エントリに格納されている時 間力 前述の PTSと呼ばれる 90kHz単位の絶対時間として格納されてある場合があ り得る。その場合には、時間情報の変換を行って対応するエントリを検索する必要が ある。なお、時間単位は ms単位や 90kHz単位に限らない。また、再生を開始したい 時間の情報とエントリに格納された時間の情報とを同一の時間情報であってもよい。
[0123] また、映像フレームのエントリは、一般に、数秒間隔で存在する。このため、再生を 開始したい時間と同じ時間の映像フレームのエントリが存在しない場合が多い。そこ で、同じ時間の映像フレームのエントリが存在しない場合には、例えば、再生を開始 したい時間の前後の映像フレームのエントリのうち、時間的に近い方を選択するよう にしてもよいし、あるいは、再生を開始したい時間の直前のエントリ(再生を開始した V、時間の前方のエントリの内の最も近 、エントリ)を選択するようにしてもよ!、。前者に は、時間的に近い位置力も再生が開始されるとのメリットがあり、後者には、再生を開 始したい時間の映像が必ず再生されるとのメリットがある。
[0124] また、管理情報に、ランダムアクセスポイントの位置の情報を含むエントリ(第 1のェ ントリ)と、ランダムアクセスポイントの再生時刻に 1対 1に対応する情報を含むエントリ (第 2のエントリ;第 1のエントリへのポインタを含むエントリ)とを含む場合には、第 2の エントリを用いて、再生を開始したい再生時刻に対応するランダムアクセスポイントを 解析し、その解析結果と第 1のエントリに含まれるランダムアクセスポイントの位置の 情報とに基づ 、て、再生開始するランダムアクセスポイントの位置を特定すればょ ヽ 。この場合、 目的の再生時刻に対応する第 1のエントリを直接検索する必要が無ぐ 第 2のエントリに基づいて容易にランダムアクセスポイントの位置を見つけることができ 、素早く再生開始できる。
[0125] また、管理情報に、各ランダムアクセスポイントのストリームの先頭からのバイト数 (サ ィズ)の情報が含まれる場合には、その情報を用いてランダムアクセスポイントの位置 を解析すればよい。
[0126] また、管理情報に、各ランダムアクセスポイントのインデックス値が含まれて 、る場合 には、そのインデックス値と各パケットのサイズとに基づいて、ランダムアクセスポイン トの位置を解析すればよい。例えば、再生を開始したい時刻に対応するランダムァク セスポイトのインデックス値と各パケットのサイズとを掛け合わせることで、再生を開始 した 、ランダムアクセスポイントの位置を特定すればよ!、。
[0127] また、管理情報に、ストリームの先頭力も各ランダムアクセスポイントまでのサイズと、 ストリームの先頭から当該各ランダムアクセスポイントに隣接するランダムアクセスボイ ントまでのサイズとの差分湘対位置情報)が含まれている場合には、この相対位置 情報に基づいて、ランダムアクセスポイントの位置を解析すればよい。例えば、ストリ ームの先頭力 再生を開始した 、時刻に対応するランダムアクセスボイトまでの各ラ ンダムアクセスポイントの相対位置情報を足し合わせることで、再生を開始した 、ラン ダムアクセスポイントの位置を特定すればよ 、。
[0128] また、管理情報に、各ランダムアクセスポイントのインデックス値 (パケット番号)と、 当該各ランダムアクセスポイントに隣接するランダムアクセスポイントのインデックス値 との差分 (相対インデックス値)が含まれている場合には、この相対インデックス値に 基づいて、ランダムアクセスポイントの位置を解析すればよい。例えば、ストリームの 先頭力も再生を開始した 、時刻に対応するランダムアクセスボイトまでの各ランダム アクセスポイントの相対インデックス値を足し合わせ、その足し合わせた結果に各パ ケットのサイズを掛けることで、再生を開始した 、ランダムアクセスポイントの位置を特 定すればよい。
[0129] S25において再生を開始する映像フレームのエントリが確定すると(映像フレーム の再生開始位置が決定すると)、管理情報解析部 802は、その確定した映像フレー ムのエントリに対応する制御情報のエントリを決定し (S26)、決定した制御情報のェ ントリをストリーム読み出し部 803に通知する。ここでは、映像フレームのエントリより時 間的に前で最も近 、制御情報のエントリを選択すればょ 、。
[0130] ストリーム読み出し部 803は、管理情報解析部 802によって決定された制御情報の エントリ位置を参照し、その位置力もストリームを読み出し (S27)、読み出したストリー ムをデータ分離部 804に出力する。
[0131] データ分離部 804は、まず、ストリーム読み出し部 803から入力されたストリームに 含まれる制御信号を分離して制御情報復号部 805に出力する(S28)。
[0132] 制御情報復号部 805は、データ分離部 804から入力された制御信号を復号する( S29)。これにより、映像、音声、データなどの各メディアが含まれるパケットの PIDが わかる(図 3参照)。
[0133] 次に、制御情報復号部 805は、復号した制御信号に含まれる Pro情報をデータ分 離部 804に出力する(S30)。これにより、データ分離部 804において正しくメディアを 分離できるようになる。
[0134] つまり、データ分離部 804は、制御情報復号部 805から入力された Pro情報に基 づいて、ストリーム読み出し部 803から入力されたストリームを、メディアごとに分離す る(S31)。そして、分離した各メディアのパケットを、それぞれのメディアを復号する復 号部に出力する(S32)。すなわち、データ分離部 804は、映像の圧縮データを映像 復号部 806に出力し、音声の圧縮データを音声復号部 807に出力する。 [0135] そして、各復号部は、それぞれのメディアを復号し、復号した結果をそれぞれのメデ ィァの出力手段に出力する(S33)。すなわち、映像復号部 806は、データ分離部 80 4によって分離された映像の圧縮データを復号し、図示しな 、ディスプレイなどの映 像出力手段に表示する。また、音声復号部 807は、データ分離部 804によって分離 された音声の圧縮データを復号し、図示しないスピーカなどの音声出力手段に出力 する。
[0136] これにより、ユーザの所望する再生開始位置力もの再生を開始することができる。そ の後は、管理情報解析部 802によって映像フレームのエントリ位置を参照し、その位 置からストリーム読み出し部 803によるストリームを読み出し、データ分離部 804でデ ータをメディア毎に分離し、分離したデータを各々のメディアの復号部に出力する処 理を継続して行えばよい。これにより、映像音声等の再生を行える。なお、管理情報 解析部 802において映像フレームのエントリ位置を参照する代わりに、制御情報を読 み出した後そのまま読み出しを継続するようにしても良い。この場合、映像復号部 80 6で次のキーフレームまで復号を開始しな 、ように、制御を行うことが好ま 、。
[0137] なお、制御情報のエントリに放送休止状態を示す値が設定されて!、る場合には、そ の部分のデータは再生できない。そこで、そのような場合には、管理情報解析部 802 によって放送休止が解除された事を示す値が設定された制御情報のエントリを探索 し、そのエントリ位置力 再生を行うようにすればよい。この放送休止状態部分の回避 については、再生開始時だけでなぐ再生途中に放送休止状態を認識した場合も同 様に行えばよい。つまり、再生途中に放送休止状態を認識した場合には、管理情報 解析部 802によって放送休止が解除された事を示す値が設定された制御情報のェ ントリを探索し、その地点カゝら再生を再開する処理を行えばよい。
[0138] また、前述の通り、データ記録装置 100において、エントリに制御情報の位置を格 納する代わりに制御情報に記載されて 、る PIDを直接記載して 、る場合が考えられ る。その場合、例えば、管理情報解析部 802で全ての PIDを取得し、管理情報解析 部 802から PHD情報をデータ分離部 804に通知するようにしてもよい。この場合、 PI Dの情報は管理情報解析部 802からデータ分離部 804に通知されるため、データ分 離部 804における制御情報の探索および制御情報復号部 805における制御情報の 復号というプロセスを省略できる。したがって、図 9に示すように、制御情報復号部 80 5を省略することちでさる。
[0139] ただし、これに限らず、例えば、図 8に示した構成のデータ再生装置 800において、 管理情報解析部 802と制御情報復号部 805との両方から同じ PIひ f青報をデータ分 離部 804に通知するようにしてもょ 、。
[0140] また、データ記録装置 100において、エントリに直接記載する PIDが映像や音声な どの一部の PIDのみである場合が考えられる。この場合、管理情報解析部 802で取 得した PIDは管理情報解析部 802からデータ分離部 804に通知するようにし、その 他の PIDについては制御情報復号部 805で取得してデータ分離部 804に通知する 構成としても良い。あるいは、エントリに直接記載されている映像や音声などの一部 の PIDについては、管理情報解析部 802と制御情報復号部 805との両方から同じ PI ひ f青報をデータ分離部に通知する構成としてもよい。
[0141] (データ再生装置 800の早送り Z早戻し再生動作)
次に、ファイルの再生を N倍速 (Nは任意の数)で順方向に再生する早送り再生、 および、 N倍速で逆方向に再生する早戻し再生を行う場合のデータ再生装置 800の 動作について説明する。
[0142] 一般的に、 N倍速の再生は、映像フレームを間引いて映像復号部 806に転送する ことにより実現する。例えば、図 10のような映像データ列の場合、早送りでは、 Fl, F 2, F3, F4, F5, F6, F7, F8, F9の jl匿【こ映像復号咅 806【こ転送し、早戻しで ίま、 F 7, F8, F9, F4, F5, F6, Fl, F2, F3の jl匿【こ映像復号咅 806【こ転送する。なお、 図 10の例では、キーフレームに続いて 2フレームの非キーフレームを転送しているが 、これに限るものではない。また、映像復号部 806に転送する非キーフレームの枚数 は、倍率 (Nの値)やキーフレームの時間間隔などに応じて毎回算出してもよいし、倍 率から一律に転送する非キーフレーム数を決定してもよい。また、必ずしも全キーフ レームを転送しなくてもよい。例えば、 Fl, F2の次に、 F4のキーフレームを転送せず に F7, F8を転送するような制御をしても良い。
[0143] また、単に映像フレームを間引くだけではなぐ映像復号部 806で時刻情報を無視 して所定のフレームレートで表示を行うようにしたり、映像表示時間情報を適切な時 間に書き換えて映像復号部 806に転送したりすることにより、所望の倍率の早送り Z 早戻し再生を実現することもできる。
[0144] このような早送り Z早戻し再生動作においては、キーフレームを映像復号部 806に 転送する前に、そのキーフレームに対応する制御情報を解析して映像の PIDを取得 し、キーフレームの転送を行うといった動作を繰り返すこととなる。
[0145] また、このような動作を簡略ィ匕するために、記録媒体 104に記録する時に、制御情 報を受信する毎に毎回エントリを更新するのではなぐ制御情報の内容が変わった場 合にのみ、エントリを更新するようにしてもよい。この場合、再生装置における早送り Z早戻し再生動作に、映像復号部 806に転送するキーフレームに対応する制御情 報が、すでに解釈済みの制御情報と同じである力否かが自明となるため、解釈済み の制御情報については、その情報の解析処理を省略することが可能となる。
[0146] 以上のように、本実施形態に力かるデータ再生装置 800では、管理情報解析部 80 2が、記録媒体 104にストリームとともに記録されている管理情報に基づいて、ランダ ムアクセスポイントの位置を解析し、ストリーム読み出し部 804が、管理情報解析部 8 02の解析したランダムアクセスポイントの位置に基づ!/、て、記録媒体 104に記録され ているストリームを読み出す。そして、データ分離部 804が、制御情報を含むパケット とメディアを含むパケットとを分離し、映像復号部(第 1のメディア復号部) 806および 音声復号部 (第 2のメディア復号部) 807がメディア(映像,音声)を含むパケットを復 号する。
[0147] このように、記録媒体にストリームとともに記録されている管理情報に基づいてラン ダムアクセスポイントの位置を解析し、その解析結果に基づ!/、てストリームを読み出 すことで、制御情報を素早く得ることができる。このため、制御信号が周期的に挿入さ れたストリームであっても、素早く再生開始することができる。
[0148] なお、管理情報力ストリームに多重されて記録されている場合には、管理情報解析 部 802の前段に、ストリームに多重された管理情報を分離する管理情報分離部(図 示せず)を設けてもよい。これにより、管理情報力 Sストリームに多重されて記録されて いる場合であっても、管理情報とストリームとを分離し、分離した管理情報に基づいて ランダムアクセスポイントの位置を素早く解析することができる。 [0149] また、上記各実施形態では、データ記録装置 100とデータ再生装置 800とを、それ ぞれ単独の構成として説明しているが、これに限らず、データ記録装置 100およびデ ータ再生装置 800の両方を備えてなる構成 (記録再生装置)としてもよ 、。この場合、 記録時には記録媒体 104にストリームとその管理情報とを記録しておき、再生時には 記録媒体 104にストリームとともに記録されている管理情報に基づいてランダムァクセ スポイントの位置を解析し、その解析結果に基づ!/、てストリームカゝら制御情報を素早 く得ることができる。このため、記録媒体に記録されたストリームを素早く再生すること ができる。
[0150] また、上記各実施形態において、各部材は、 CPUなどの演算手段力 ROMや RA Mなどの記録媒体に格納されたプログラムコードを実行することで実現される機能ブ ロックである。したがって、本発明の目的は、上述した各部材の機能を実現するソフト ウェアであるプログラムのプログラムコード(実行形式プログラム、中間コードプロダラ ム、ソースプログラム)をコンピュータで読み取り可能に記録した記録媒体を、システ ムあるいは装置に供給し、そのシステムあるいは装置に備えられるコンピュータ (また は CPU)が記録媒体に記録されているプログラムコードを読み出し実行することによ つて、達成することができる。
[0151] 一方で、これらの各部材は、上記ソフトウェアと同様の処理を行うハードウェアとして 実現してもよい。この場合、本発明の目的は、データ記録装置 100が備えるハードウ アである各部材 (ランダムアクセス情報解析部 101、制御情報復号部 102、管理情 報生成部 103、記録制御部 105、受信制御部 106)、および、データ再生装置 800 が備えるハードウェアである各部材 (管理情報解析部 802、ストリーム読み出し部 80 3、データ分離部 804、映像復号部 806、音声復号部 807)などによって達成される ことになる。また、これらの部材は、処理の一部を行うハードウェアと、当該ハードゥエ ァの制御や当該ハードウェアが行う処理以外の処理を行うプログラムコードを実行す る演算手段とを組み合わせた構成としても実現できる。さらに、上記各部材のうち、ハ 一ドウエアとして説明した部材であっても、処理の一部を行うハードウェアと、当該ハ 一ドウ アの制御や当該ハードウェアが行う処理以外の処理を行うプログラムコードを 実行する演算手段とを組み合わせた構成としても実現できる。 [0152] なお、上記演算手段は、単体構成であっても良いし、装置内部のバスや各種の通 信路を介して接続された複数の演算手段が協同してプログラムコードを実行する構 成であっても良い。
[0153] したがって、上記したランダムアクセス情報解析部 101、制御情報復号部 102、管 理情報生成部 103、記録制御部 105、受信制御部 106は、データ記録装置 100内 の任意の場所に備えられることができる。また、管理情報解析部 802、ストリーム読み 出し部 803、データ分離部 804、映像復号部 806、音声復号部 807は、データ再生 装置 800内の任意の場所に備えられることができる。
[0154] また、上記演算手段によって直接的に実行可能なプログラムコード自体、または、 後述する解凍などの処理によってプログラムコードを生成可能なデータとしてのプロ グラムは、当該プログラム (プログラムまたは上記データ)を記録媒体に格納し、当該 記録媒体を配布したり、あるいは、上記プログラムを、有線または無線の通信路を介 して伝送するための通信手段によって送信したりして配布され、上記演算手段で実 行されるものとする。
[0155] なお、通信路を介して伝送する場合、通信路を構成する各種の伝送媒体が、プロ グラムを示す信号列を伝搬し合うことによって、当該通信路を介して、上記プログラム が伝送される。また、上記信号列を伝送する際、送信装置が、プログラムを示す信号 列により搬送波を変調することによって、上記信号列を搬送波に重畳してもよい。こ の場合、受信装置が搬送波を復調することによって、信号列が復元される。一方、上 記信号列を伝送する際、送信装置が、デジタルデータ列としての信号列をパケット分 割してもよい。この場合、受信装置は、受信したパケット群を連結して、上記信号列を 復元する。また、送信装置が、信号列を送信する際、時分割 Z周波数分割 Z符号分 割などの方法で、信号列を他の信号列と多重化して伝送しても良い。この場合、受信 装置は、多重化された信号列から、この信号列を抽出して復元する。いずれの場合 であっても、通信路を介してプログラムを伝送できれば、同様の効果を得られる。
[0156] ここで、上記プログラムを配布する際の記録媒体は、取り外し可能であることが好ま しいが、プログラムを配布した後の記録媒体は、取り外し可能である力否かを問わな い。また、上記記録媒体は、上記プログラムが記録されている媒体であれば良ぐ書 き換え (書き込み)可能力否か、あるいは揮発性か否かは問われず、また、記録方法 および形状も問われない。このような記録媒体を例示すると、磁気テープやカセットテ ープなどのテープ、フロッピー(登録商標)ディスクやハードディスクなどの磁気デイス ク、 CD— ROMや光磁気ディスク(MO)、ミニディスク(MD)、デジタルビデオデイス ク(DVD)などのディスクなどである。また、上記記録媒体は、 ICカードや光カードの ようなカード、あるいは、マスク ROMや EPROM、 EEPROMまたはフラッシュ ROM などの半導体メモリであってもよい。あるいは、 CPUなどの演算手段内に形成される メモリであってもよい。
[0157] なお、上記プログラムコードは、上記各部材の全処理を上記演算手段へ指示する コードであってもよいし、所定の手順で呼び出すことで、上記各部材の処理の一部ま たは全部を実行可能な基本プログラム (例えば、オペレーティングシステムやライブラ リなど)がすでに存在していれば、当該基本プログラムの呼び出しを、上記演算装置 へ指示するコードやポインタなどで、上記全処理の一部または全部を置き換えてもよ い。
[0158] また、上記記録媒体にプログラムを格納する際の形式は、例えば、実メモリに配置 した状態のように、演算手段がアクセスして実行可能な格納形式であってもよ 、し、 実メモリに配置する前で、演算手段が常時アクセス可能なローカルな記録媒体 (例え ば、実メモリゃノヽードディスクなど)にインストールした後の格納形式、あるいは、ネット ワークや搬送可能な記録媒体などから、上記ローカルな記録媒体にインストールする 前の格納形式であってもよ 、。
[0159] また、プログラムは、コンパイルされた後のオブジェクトコードに限る物ではなぐソー スコードや、インタプリトまたはコンパイルの途中で生成される中間コードとして、上記 記録媒体に格納されていてもよい。いずれの場合であっても、圧縮された情報の解 凍、符号化された情報の復元、インタプリト、コンパイル、リンク、または、実メモリーへ の配置などの処理、あるいは、これらの処理の組み合わせによって、上記中間コード を上記演算手段が実行可能な形式に変換可能であれば、プログラムを記録媒体に 格納する際の形式にかかわらず、同様の効果を得ることができる。
[0160] また、本発明の記録装置は、圧縮された映像データなど力もなるストリームを受信し 、これを記録する記録装置において、複数のパケットからなる前記ストリームを入力と し、ストリーム中の制御情報を復号する制御情報復号部と、前記ストリーム中に含まれ るメディアのランダムアクセスポイントの位置を前記制御情報とストリーム中に含まれる 情報とを用いて解析するランダムアクセス情報解析部と、前記制御情報と、前記ラン ダムアクセスポイントの位置力 管理情報を生成する管理情報生成部と、前記ストリ ームと前記管理情報とを保持可能な記録媒体とを備え、前記管理情報は、ストリーム 中の複数種類のランダムアクセスポイントの情報を含むことを特徴とする記録装置、と 表現することちでさる。
[0161] 上記の構成では、管理情報として、ストリームに含まれる制御情報とメディアのラン ダムアクセスポイントそれぞれの位置と種別を格納する構成として ヽるため、両者の 情報を統一的に管理、利用できる。つまり、ストリーム含まれる複数種類のランダムァ クセスポイントを示す情報を管理ファイルに記録することが出来るという効果を奏する
[0162] また、本発明の記録装置は、圧縮された映像データなど力もなるストリームを受信し 、これを記録する記録装置において、複数のパケットからなる前記ストリームを入力と し、ストリーム中の制御情報を復号する制御情報復号部と、前記ストリーム中に含まれ るメディアのランダムアクセスポイントの位置を前記制御情報とストリーム中に含まれる 情報とを用いて解析するランダムアクセス情報解析部と、前記制御情報と、前記ラン ダムアクセスポイントの位置力 管理情報を生成する管理情報生成部と、前記管理 情報と前記パケットを多重する管理情報多重部と、前記多重されたストリームを保持 可能な記録媒体とを備え、前記管理情報は、ストリーム中の複数種類のランダムァク セスポイントの情報を含むことを特徴とする記録装置、と表現することもできる。
[0163] 上記の構成では、制御情報をストリームに付加して記録できるため、制御情報とメ ディアのランダムアクセスポイントを区別しなくてすむ。
[0164] また、本発明の記録装置は、上記の構成において、前記管理情報は複数のェント リカ 成り、各エントリにはランダムアクセスポイントの種別、位置、再生時刻などの情 報を含む構成とすることもできる。
[0165] 上記の構成によれば、ストリームに含まれる各メディアのランダムアクセスポイント分 のエントリを管理情報に含めれば良ぐ管理情報のサイズを小さく出来る。
[0166] また、本発明の記録装置は、上記の構成において、前記管理情報は、ランダムァク セスポイントの種別、位置などの情報を含む第 1のエントリと、第 1のエントリへのボイ ンタを含む第 2のエントリを持つ構成とすることもできる。
[0167] 上記の構成によれば、再生時刻と 1対 1の第 2のエントリを用い、対応する第 1のェ ントリを、第 1のエントリを検索せずに素早く見つけることができる。
[0168] また、本発明の記録装置は、上記の構成において、前記管理情報は、ストリームに 含まれるメディアを再生するのに必要な PIDを含む構成とすることもできる。
[0169] 上記の構成によれば、制御情報を復号するステップを省略できる。
[0170] また、本発明の記録装置は、上記の構成において、前記ランダムアクセスポイントの 位置を表す情報として、前記ストリーム先頭力 のサイズを用いる構成とすることもで きる。
[0171] また、本発明の記録装置は、上記の構成において、前記ランダムアクセスポイントの 位置を表す情報として、前記ストリーム先頭力 のパケット番号を用いる構成とするこ とちでさる。
[0172] 上記の構成によれば、ランダムアクセスポイントに対応するパケット位置を、簡単に 見つけることができる。
[0173] また、本発明の記録装置は、上記の構成において、前記ランダムアクセスポイントの 位置を表す情報として、管理情報内に含まれる隣接するエントリとのサイズの差分を 用いる構成とすることちでさる。
[0174] また、本発明の記録装置は、上記の構成において、前記ランダムアクセスポイントの 位置を表す情報として、管理情報内に含まれる隣接するエントリとのパケット番号の 差分を用いる構成とすることもできる。
[0175] 上記の構成によれば、ランダムアクセスポイントに対応するパケット位置を、管理情 報に含まれるエントリ前後の差分としているため、管理情報全体のサイズを小さくする ことができる。
[0176] また、本発明の再生装置は、記録媒体に記録されたストリームおよびその管理情報 を読み出し、映像、音声などのメディアを再生する再生装置において、前記管理情 報力 ランダムアクセスポイントの情報を解析する管理情報解析部と、前記ランダムァ クセスポイントの情報に基づき、記録媒体中のストリーム力も対象となるストリームを読 み出すストリーム読み出し部と、読み出されたストリームから、制御情報、映像情報、 音声情報に分離するデータ分離部と、前記制御情報から前記データ分離の処理に 必要な制御情報を抽出する制御情報復号部と、前記分離された映像情報および音 声情報を復号する映像復号部と、音声復号部とを備え、前記管理情報は、ストリーム 中の複数種類のランダムアクセスポイントの情報を含むことを特徴とする再生装置、と 表現することちでさる。
[0177] 上記の構成によれば、キーフレームや対応する制御情報の先頭位置を管理フアイ ルを解析することで素早く得ることができ、かつ、ストリーム力も制御情報を素早く得る ことができるため、記録コンテンツの再生開始を早めることができる。また、例えば、再 生開始に必要な PIDなどの制御情報およびキーフレーム情報の位置をすばやく得て 、再生開始が早くなるという効果を奏する。
[0178] また、本発明の再生装置は、記録媒体に記録されたストリームおよびその管理情報 を読み出し、映像、音声などのメディアを再生する再生装置において、ストリームから 管理情報を分離する管理情報分離部と、前記管理情報力 ランダムアクセスポイント の情報を解析する管理情報解析部と、前記ランダムアクセスポイントの情報に基づき
、記録媒体中のストリーム力 対象となるストリームを読み出すストリーム読み出し部と 、読み出されたストリームから、制御情報、映像情報、音声情報に分離するデータ分 離部と、前記制御情報力 前記データ分離の処理に必要な制御情報を抽出する制 御情報復号部と、前記分離された映像情報および音声情報を復号する映像復号部 と、音声復号部とを備え、前記管理情報は、ストリーム中の複数種類のランダムァクセ スポイントの情報を含むことを特徴とする再生装置、と表現することもできる。
[0179] 上記の構成によれば、キーフレームの検出に必要な、制御情報をストリーム力 読 み出す時点で素早く得ることができ、ゆえにキーフレーム解析処理が早まり、記録コ ンテンッの再生開始を早めることができる。
[0180] また、本発明の再生装置は、上記の構成において、前記管理情報解析部は複数 のエントリ力 成り、各エントリにはランダムアクセスポイントの種別、位置、再生時刻 などの情報を含む管理情報を解析する構成とすることもできる。
[0181] 上記の構成によれば、ランダムアクセスポイントの種別を元に、キーフレームの検出 に必要な制御情報およびキーフレームをストリームから素早く発見できるため、再生 開始を早めることができる。
[0182] また、本発明の再生装置は、上記の構成において、前記管理情報解析部はランダ ムアクセスポイントの種別、位置などの情報を含む第 1のエントリと、第 1のエントリへ のポインタを含む第 2のエントリを持つ管理情報を解析し、時刻情報力ゝら第 2のェント リを解析し、次いで第 1のエントリを解析してランダムアクセスポイントの情報を得る構 成とすることちでさる。
[0183] 上記の構成によれば、目的の再生時刻に対応するエントリを検索する必要が無ぐ 容易にそのエントリを見つけることが出来る。
[0184] また、本発明の再生装置は、上記の構成において、前記管理情報解析部は、管理 情報に直接記載されている制御情報を解析し、前記データ分離部は、前記管理情 報解析部で得た制御情報を用いてデータ分離処理を行う構成とすることもできる。
[0185] 上記の構成によれば、制御情報復号部での制御情報の復号を行わずにデータ分 離処理を開始できるため、再生開始を早めることができる。
[0186] また、本発明の再生装置は、上記の構成において、前記ストリーム読み出し部は、 対象のストリームを管理情報に記載されたランダムアクセスポイントを先頭からのサイ ズ情報を用いて読み出す構成とすることもできる。
[0187] また、本発明の再生装置は、上記の構成において、前記ストリーム読み出し部は、 対象のストリームを管理情報に記載されたランダムアクセスポイントを含むパケットの 位置を先頭からのパケット番号にパケットのサイズを掛けて得る構成とすることもでき る。
[0188] 上記の構成によれば、記録されたストリームにおける、キーフレームもしくは制御情 報の先頭からの位置を素早く得ることが出来る。
[0189] また、本発明の再生装置は、上記の構成において、前記ストリーム読み出し部は、 対象のストリームを管理情報に記載されたランダムアクセスポイントを、管理情報に含 まれる各エントリに記載される相対位置情報を先頭力 足し合わせて得る構成とする ことちでさる。
[0190] また、本発明の再生装置は、上記の構成において、前記ストリーム読み出し部は、 対象のストリームを管理情報に記載されたランダムアクセスポイントを含むパケットの 位置を、管理情報に含まれる各エントリに記載される相対インデックス値を先頭から 足し合わせ、これにパケットのサイズを掛けて得る構成とすることもできる。
[0191] 上記の構成によれば、制御情報位置に近く格納される、キーフレームの情報を早 期に見つけることができる。
[0192] また、本発明の記録再生装置は、圧縮された映像データなど力もなるストリームを受 信し、これを記録する記録再生装置において、複数のパケットからなる前記ストリーム を入力とし、ストリーム中の制御情報を復号する制御情報復号部と、前記ストリーム中 に含まれるメディアのランダムアクセスポイントの位置を前記制御情報とストリーム中 に含まれる情報とを用いて解析するランダムアクセス情報解析部と、前記制御情報と 、前記ランダムアクセスポイントの位置力 管理情報を生成する管理情報生成部と、 前記ストリームと前記管理情報とを保持可能な記録媒体と、前記記録された管理情 報力 ランダムアクセスポイントの情報を解析する管理情報解析部と、前記ランダムァ クセスポイントの情報に基づき、前記記録されたストリーム力も対象となるストリームを 読み出すストリーム読み出し部と、読み出されたストリームから、制御情報、映像情報 、音声情報に分離するデータ分離部と、前記制御情報から前記データ分離の処理に 必要な制御情報を抽出する制御情報復号部と、前記分離された映像情報および音 声情報を復号する映像復号部と、音声復号部とを備え、前記管理情報は、ストリーム 中の複数種類のランダムアクセスポイントの情報を含むことを特徴とする記録再生装 置、と表現することもできる。
[0193] 上記の構成によれば、管理情報として、ストリームに含まれる制御情報とメディアの ランダムアクセスポイントそれぞれの位置と種別を格納する構成として ヽるため、両者 の情報を統一的に管理、利用でき、また、再生時においては、キーフレームや対応 する制御情報の先頭位置を、管理ファイルを解析することで素早く得ることができ、か つ、ストリーム力 制御情報を素早く得ることができるため、記録コンテンツの再生開 始を早めることができる。 [0194] 本発明は上述した各実施形態に限定されるものではなぐ請求項に示した範囲で 種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適 宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。 産業上の利用の可能性
[0195] 本発明には、複数のパケットからなるストリームを記録する記録装置、それを再生す る再生装置、上記記録装置および再生装置を備えた記録再生装置に適用できる。こ れらの記録装置、再生装置、記録再生装置で用いられる記録媒体は特に限定される ものではなぐ例えば、磁気テープやカセットテープ等のテープ系、フレキシブルディ スクゃハードディスク等の磁気ディスクや CDZMOZMDZDVD等のディスクのデ イスク系、 ICカード(メモリカードを含む)等のカード系、あるいはマスク ROM、 EPRO M (Erasable Programmable Read Only Memory)、 EEPROM (Electrically Erasable P rogrammable Read Only Memory)、フラッシュ ROM等の半導体メモリ系、などであつ てもよい。また、インターネットを含む通信ネットワーク(有線回線あるいは無線回線に 接続されたもの)等の伝送媒体 (流動的にデータを保持する媒体)にストリームを記録 する、あるいはこれらの伝送媒体力も入力されるストリームを再生するものであっても よい。

Claims

請求の範囲
[1] 制御情報が周期的に挿入された、複数のパケットからなるストリームを記録媒体に 記録する記録装置であって、
上記制御情報を復号する制御情報復号部と、
上記ストリーム中に含まれるメディアのランダムアクセスポイントの位置を、上記制御 情報を用いて解析するランダムアクセス情報解析部と、
上記復号した制御情報と上記解析したランダムアクセスポイントの位置とに基づい て、上記ストリームに含まれる複数のランダムアクセスポイントを管理するための管理 情報を生成する管理情報生成部とを備え、
上記ストリームと上記生成した管理情報とを上記記録媒体に記録することを特徴と する記録装置。
[2] 上記管理情報と上記ストリームに含まれるパケットとを多重する管理情報多重部を 備え、
上記管理情報と上記パケットとを多重した情報を上記記録媒体に記録することを特 徴とする請求項 1に記載の記録装置。
[3] 上記管理情報は、複数のエントリからなり、当該各エントリは、ランダムアクセスボイ ントの位置、および、ランダムアクセスポイントの再生時刻の情報を含むことを特徴と する請求項 1または 2に記載の記録装置。
[4] 上記管理情報は、
ランダムアクセスポイントの位置の情報を含む第 1のエントリと、
上記ランダムアクセスポイントの再生時刻に 1対 1に対応する情報を含む第 2のェン トリとを含むことを特徴とする請求項 1または 2に記載の記録装置。
[5] 上記管理情報は、上記ストリームに含まれる各メディアの種別を示す PIDを含むこと を特徴とする請求項 1または 2に記載の記録装置。
[6] 上記管理情報は、
ランダムアクセスポイントの位置を表す情報を含み、
上記ランダムアクセスポイントの位置を表す情報として、上記ストリームの先頭力 の サイズを用いることを特徴とする請求項 1〜5のいずれか 1項に記載の記録装置。
[7] 上記管理情報は、
ランダムアクセスポイントの位置を表す情報を含み、
上記ランダムアクセスポイントの位置を表す情報として、上記ストリームに含まれる各 パケットに対して当該ストリームの先頭力 順に付されたパケット番号を用いることを 特徴とする請求項 1〜5のいずれか 1項に記載の記録装置。
[8] 上記管理情報は、
ランダムアクセスポイントの位置を表す情報を含み、
上記ランダムアクセスポイントの位置を表す情報として、ストリームの先頭力 各ラン ダムアクセスポイントまでのサイズと、ストリームの先頭から当該各ランダムアクセスポ イントに隣接するランダムアクセスポイントまでのサイズとの差分を用いることを特徴と する請求項 1〜5のいずれか 1項に記載の記録装置。
[9] 上記管理情報は、
ランダムアクセスポイントの位置を表す情報を含み、
上記ランダムアクセスポイントの位置を表す情報として、上記ストリームに含まれる各 パケットに対して当該ストリームの先頭力も順に付されたパケット番号のうち、各ランダ ムアクセスポイントのパケット番号と、当該各ランダムアクセスポイントに隣接するラン ダムアクセスポイントのパケット番号との差分を用いることを特徴とする請求項 1〜5の いずれか 1項に記載の記録装置。
[10] 制御情報が周期的に挿入された、複数のパケットからなるストリームを、記録媒体か ら読み出して再生する再生装置であって、
上記記録媒体に上記ストリームとともに記録されている、上記ストリームに含まれる 複数のランダムアクセスポイントを管理するための管理情報に基づいて、ランダムァク セスポイントの位置を解析する管理情報解析部と、
上記解析したランダムアクセスポイントの位置に基づ 、て、上記記録媒体に記録さ れて 、るストリームを読み出すストリーム読み出し部と、
上記読み出したストリームに含まれる各パケットを、制御情報を含むパケットとメディ ァを含むパケットとに分離するデータ分離部と、
上記メディアを含むパケットを復号するメディア復号部とを備えていることを特徴とす る再生装置。
[11] 上記ストリームに多重された上記管理情報を、上記ストリーム力 分離する管理情 報分離部を備えていることを特徴とする請求項 10に記載の再生装置。
[12] 上記管理情報解析部は、
上記管理情報に含まれて 、るランダムアクセスポイントの再生時刻の情報に基づ ヽ て、ランダムアクセスポイントの位置を解析することを特徴とする請求項 10または 11 に記載の再生装置。
[13] 上記管理情報解析部は、
上記管理情報に含まれている、ランダムアクセスポイントの位置の情報を含む第 1 のエントリと、上記ランダムアクセスポイントの再生時刻に 1対 1に対応する情報を含 む第 2のエントリと、に基づ 、て再生開始するランダムアクセスポイントの位置を解析 することを特徴とする請求項 10または 11に記載の再生装置。
[14] 上記管理情報解析部は、
上記管理情報に含まれている、上記ストリームに含まれる各メディアの種別を示す P IDを解析し、
上記データ分離部は、上記管理情報解析部の解析結果に基づいて、上記ストリー ムに含まれる各パケットをメディアごとに分離することを特徴とする請求項 10または 1 1に記載の再生装置。
[15] 上記管理情報解析部は、
上記管理情報に含まれている、各ランダムアクセスポイントの、上記ストリームの先 頭からのサイズの情報に基づ 、て、ランダムアクセスポイントの位置を解析することを 特徴とする請求項 10〜 14のいずれか 1項に記載の再生装置。
[16] 上記管理情報解析部は、
上記管理情報に含まれて 、る、上記ストリームに含まれる各バケツトに対して当該ス トリームの先頭力 順に付されたパケット番号と、各パケットのサイズとの積に基づ ヽ て、ランダムアクセスポイントの位置を解析することを特徴とする請求項 10〜 14のい ずれか 1項に記載の再生装置。
[17] 上記管理情報解析部は、 上記管理情報に含まれて 、る、ストリームの先頭力 各ランダムアクセスポイントま でのサイズと、ストリームの先頭から当該各ランダムアクセスポイントに隣接するランダ ムアクセスポイントまでのサイズとの差分力 なる相対位置情報に基づ 、て、ランダム アクセスポイントの位置を解析することを特徴とする請求項 10〜14のいずれか 1項に 記載の再生装置。
[18] 上記管理情報解析部は、
上記管理情報に含まれて 、る、上記ストリームに含まれる各バケツトに対して当該ス トリームの先頭力 順にパケット番号を付したときの、各ランダムアクセスポイントのパ ケット番号と、当該各ランダムアクセスポイントに隣接するランダムアクセスポイントの パケット番号との差分力 なる相対インデックス値と、各パケットのサイズとに基づいて 、ランダムアクセスポイントの位置を解析することを特徴とする請求項 10〜 14のいず れか 1項に記載の再生装置。
[19] 上記ストリームに含まれる制御情報を復号し、復号した制御情報から上記ストリーム に含まれる各メディアの種別を示す PIDを抽出する制御情報復号部を備え、 上記データ分離部は、上記ストリーム読み出し部によって読み出したストリームに含 まれる各パケットを、上記制御情報復号部によって抽出した PIDに基づ 、てメディア 毎に分離することを特徴とする請求項 10〜18のいずれ力 1項に記載の再生装置。
[20] 請求項 1に記載の記録装置と、請求項 10に記載の再生装置とを備えてなる記録再 生装置。
[21] 制御情報が周期的に挿入された、複数のパケットからなるストリームを記録媒体に 記録する記録方法であって、
上記制御情報を復号する制御情報復号工程と、
上記ストリーム中に含まれるメディアのランダムアクセスポイントの位置を、上記制御 情報を用いて解析するランダムアクセス情報解析工程と、
上記復号した制御情報と上記解析したランダムアクセスポイントの位置とに基づい て、上記ストリームに含まれる複数のランダムアクセスポイントを管理するための管理 情報を生成する管理情報生成工程と、
上記ストリームと上記生成した管理情報とを上記記録媒体に記録する記録工程とを 含むことを特徴とする記録方法。
[22] 制御情報が周期的に挿入された、複数のパケットからなるストリームを、記録媒体か ら読み出して再生する再生方法であって、
上記記録媒体に上記ストリームとともに記録されている、上記ストリームに含まれる 複数のランダムアクセスポイントを管理するための管理情報に基づいて、ランダムァク セスポイントの位置を解析する管理情報解析工程と、
上記解析したランダムアクセスポイントの位置に基づ 、て、上記記録媒体に記録さ れて 、るストリームを読み出すストリーム読み出し工程と、
上記読み出したストリームに含まれる各パケットを、制御情報を含むパケットとメディ ァを含むパケットとに分離するデータ分離工程と、
上記メディアを含むパケットを復号するメディア復号工程とを含むことを特徴とする 再生方法。
[23] 請求項 21に記載した記録方法における各工程の処理を、コンピュータに実行させ るための記録プログラム。
[24] 請求項 23に記載した記録プログラムを記録した、コンピュータ読み取り可能な記録 プログラム記録媒体。
[25] 請求項 22の再生方法における各工程の処理を、コンピュータに実行させるための 再生プログラム。
[26] 請求項 25に記載した再生プログラムを記録した、コンピュータ読み取り可能な再生 プログラム記録媒体。
PCT/JP2006/308240 2005-04-25 2006-04-19 記録装置、再生装置、記録再生装置、記録プログラムとその記録媒体、再生プログラムとその記録媒体 WO2006115151A1 (ja)

Priority Applications (4)

Application Number Priority Date Filing Date Title
BRPI0609951-3A BRPI0609951A2 (pt) 2005-04-25 2006-04-19 aparelho de gravação, aparelho de reprodução, aparelho de gravação/reprodução, programa de gravação e meio de armazenamento dos mesmos e programa de reprodução e meio de armazenamento dos mesmos
US11/912,387 US8494342B2 (en) 2005-04-25 2006-04-19 Recording apparatus, reproducing apparatus, recording/reproducing apparatus, recording program and storage medium thereof, and reproduction program and storage medium thereof
JP2007514632A JP4579290B2 (ja) 2005-04-25 2006-04-19 記録装置、記録媒体の製造方法、管理情報の製造方法、再生装置、再生方法、およびプログラム
EP06745472.8A EP1876818B1 (en) 2005-04-25 2006-04-19 Playback apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2005127133 2005-04-25
JP2005-127133 2005-04-25

Publications (1)

Publication Number Publication Date
WO2006115151A1 true WO2006115151A1 (ja) 2006-11-02

Family

ID=37214770

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2006/308240 WO2006115151A1 (ja) 2005-04-25 2006-04-19 記録装置、再生装置、記録再生装置、記録プログラムとその記録媒体、再生プログラムとその記録媒体

Country Status (7)

Country Link
US (1) US8494342B2 (ja)
EP (1) EP1876818B1 (ja)
JP (1) JP4579290B2 (ja)
KR (2) KR100952547B1 (ja)
CN (2) CN102780931B (ja)
BR (1) BRPI0609951A2 (ja)
WO (1) WO2006115151A1 (ja)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008205521A (ja) * 2007-01-24 2008-09-04 Sanyo Electric Co Ltd 記録装置及び方法、および再生装置及び方法
JP2013034226A (ja) * 2012-09-26 2013-02-14 Canon Inc 情報送信装置、その制御方法及びプログラム
WO2015166817A1 (ja) * 2014-04-30 2015-11-05 ソニー株式会社 情報処理装置、情報記録媒体、および情報処理方法、並びにプログラム
CN105553611A (zh) * 2015-12-09 2016-05-04 豪威科技(上海)有限公司 数据包解码系统及方法

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101438592B (zh) * 2006-05-03 2013-05-29 艾利森电话股份有限公司 根据媒体表示重建媒体的方法和装置
US8126048B2 (en) * 2008-03-18 2012-02-28 Seiko Epson Corporation Recording streaming delta-encoded data
JP4679609B2 (ja) * 2008-06-05 2011-04-27 株式会社東芝 映像収録再生装置、映像収録方法及び映像再生方法
JP4686587B2 (ja) * 2008-10-16 2011-05-25 株式会社東芝 映像記録再生装置およびファイル管理方法
KR20100134868A (ko) * 2009-06-16 2010-12-24 삼성전자주식회사 비디오 파일 제공 시스템 및 방법
DE112011103642T5 (de) * 2010-11-02 2013-09-19 Lg Electronics Inc. Verfahren zum Senden/Empfangen von Medieninhalt und Vorrichtung zum Senden/Empfangen, die dieses verwendet
JP5699812B2 (ja) * 2011-05-31 2015-04-15 船井電機株式会社 再生装置
US8989280B2 (en) * 2011-06-30 2015-03-24 Cable Television Laboratories, Inc. Frame identification
US8995460B1 (en) * 2012-05-14 2015-03-31 Arris Enterprises, Inc. Embedded control data in communications systems
US10104406B2 (en) * 2013-06-21 2018-10-16 Saturn Licensing Llc Transmission apparatus, transmission method, reproduction apparatus, reproduction method and reception apparatus
JP6498882B2 (ja) * 2013-07-22 2019-04-10 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America 蓄積方法、再生方法、蓄積装置、および再生装置
JP6426901B2 (ja) * 2014-03-14 2018-11-21 富士通クライアントコンピューティング株式会社 配信方法、再生装置、配信装置、転送制御プログラムおよび配信制御プログラム
JP6102825B2 (ja) * 2014-05-30 2017-03-29 カシオ計算機株式会社 動画データ再生装置、動画データ再生方法及びプログラム
CN109660549A (zh) * 2018-12-29 2019-04-19 贵阳朗玛信息技术股份有限公司 一种视频帧数据包发送、接收方法及装置

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000341640A (ja) * 1999-03-19 2000-12-08 Sony Corp 記録装置および方法、再生装置および方法、並びに記録媒体
JP2002083486A (ja) * 2000-05-23 2002-03-22 Lg Electronics Inc 高密度光記録媒体におけるマルチ経路データを収容する方法

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999014754A1 (en) * 1997-09-17 1999-03-25 Matsushita Electric Industrial Co., Ltd. Optical disc, recording apparatus, and computer-readable recording medium
MY130203A (en) * 1999-05-06 2007-06-29 Sony Corp Methods and apparatus for data processing, methods and apparatus for data reproducing and recording media
JP2003228921A (ja) * 2002-01-31 2003-08-15 Toshiba Corp 情報記録媒体、情報記録装置及び情報再生装置
JP2004206774A (ja) 2002-12-25 2004-07-22 Hitachi Ltd 記録再生装置
JP4095914B2 (ja) 2003-02-26 2008-06-04 株式会社リコー 情報記録装置、情報記録方法、情報記録媒体及び情報再生装置並びに情報再生方法

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000341640A (ja) * 1999-03-19 2000-12-08 Sony Corp 記録装置および方法、再生装置および方法、並びに記録媒体
JP2002083486A (ja) * 2000-05-23 2002-03-22 Lg Electronics Inc 高密度光記録媒体におけるマルチ経路データを収容する方法

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008205521A (ja) * 2007-01-24 2008-09-04 Sanyo Electric Co Ltd 記録装置及び方法、および再生装置及び方法
JP2008206176A (ja) * 2007-01-24 2008-09-04 Sanyo Electric Co Ltd 記録媒体
JP2013034226A (ja) * 2012-09-26 2013-02-14 Canon Inc 情報送信装置、その制御方法及びプログラム
WO2015166817A1 (ja) * 2014-04-30 2015-11-05 ソニー株式会社 情報処理装置、情報記録媒体、および情報処理方法、並びにプログラム
CN105553611A (zh) * 2015-12-09 2016-05-04 豪威科技(上海)有限公司 数据包解码系统及方法

Also Published As

Publication number Publication date
US8494342B2 (en) 2013-07-23
KR20090127197A (ko) 2009-12-09
EP1876818A1 (en) 2008-01-09
CN102780931A (zh) 2012-11-14
BRPI0609951A2 (pt) 2010-05-11
EP1876818B1 (en) 2019-03-13
KR20070120169A (ko) 2007-12-21
CN101164337A (zh) 2008-04-16
EP1876818A4 (en) 2013-07-31
KR100941248B1 (ko) 2010-02-10
JPWO2006115151A1 (ja) 2008-12-18
CN102780931B (zh) 2015-02-11
JP4579290B2 (ja) 2010-11-10
KR100952547B1 (ko) 2010-04-12
US20090074382A1 (en) 2009-03-19

Similar Documents

Publication Publication Date Title
JP4579290B2 (ja) 記録装置、記録媒体の製造方法、管理情報の製造方法、再生装置、再生方法、およびプログラム
KR100618473B1 (ko) Mpeg 스트림 네비게이션을 제공하기 위한 방법, 머신 판독 가능 매체, 장치 및 시스템
JP4270379B2 (ja) デジタル情報の効率的な伝送および再生
JP4421156B2 (ja) 画像再生装置および画像記録再生装置
JP2005312071A (ja) 映像データの記録された情報貯蔵媒体、その記録方法、記録装置、再生方法及び再生装置
JPWO2009130862A1 (ja) 情報記録装置および情報記録方法
US8346059B2 (en) Data processing device, data processing method, program, program recording medium, data recording medium, and data structure
JP4866719B2 (ja) 放送局装置および記録再生装置
JP2006333330A (ja) データ処理方法、その装置およびプログラム
JP4423551B2 (ja) 放送記録再生装置および放送記録再生処理プログラム
JP4852453B2 (ja) 記録装置、映像再生装置、および、その特殊再生方法
JP7014157B2 (ja) 情報処理装置、情報記録媒体、および情報処理方法、並びにプログラム
KR20020095797A (ko) 디지털 데이터 스트림 기록장치 및 방법과, 그에 따른기록매체
JP4763589B2 (ja) 再生装置、および、その再生方法
KR100376578B1 (ko) 디지털 데이터 스트림 기록방법 및 그에 따른 표현제어정보 제공방법
JP2005197839A (ja) トランスポートストリームの特殊再生方法及びトランスポートストリームの記録再生装置
JP3781288B2 (ja) データ記録装置、データ記録再生装置及びデータ記録方法
JP2001197029A (ja) オーディオチャネルid付加方法、これを用いたオーディオチャネル選択方法及びこれに適した光記録再生装置
JP2004515022A (ja) 情報記録媒体のプログラム仕様情報提供方法
JP4742326B2 (ja) 放送記録再生装置および放送記録再生処理プログラム
KR20020072108A (ko) 디지털 엠펙 데이터를 저장 매체에 저장하고 재생하는시스템 및 그 방법
JP2008205831A (ja) ディジタルコンテンツ再生記録装置、ディジタルコンテンツ再生記録方法、ディジタルコンテンツ記録装置、およびディジタルコンテンツ再生記録プログラムを記録した媒体
KR20080032630A (ko) 영상 데이터 기록 방법
JP2019149790A (ja) 記録装置、再生装置、変換装置、送信装置、記録方法、再生方法、変換方法、及び、ストリームデータのデータ構造
JP2002063779A (ja) オーディオチャネルid付加方法、これを用いたオーディオチャネル選択方法及びこれに適した光記録再生装置

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200680013876.3

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application
DPE1 Request for preliminary examination filed after expiration of 19th month from priority date (pct application filed from 20040101)
WWE Wipo information: entry into national phase

Ref document number: 2007514632

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 2006745472

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 11912387

Country of ref document: US

Ref document number: 1020077024356

Country of ref document: KR

NENP Non-entry into the national phase

Ref country code: DE

NENP Non-entry into the national phase

Ref country code: RU

WWP Wipo information: published in national office

Ref document number: 2006745472

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 1020097024648

Country of ref document: KR

ENP Entry into the national phase

Ref document number: PI0609951

Country of ref document: BR

Kind code of ref document: A2