The present invention relates to a data processor and processing method for storing moving picture stream data on a storage medium such as an optical disc.
Recently, in an analog telecast, data is sometimes multiplexed in a vertical blanking interval (which will be abbreviated herein as “VBI”) of a broadcast signal. For example, in a closed-captioned broadcast, closed-caption data is multiplexed in a VBI. In a TV signal (or video signal) compliant with the National Television System Committee (NTSC) standard, one frame (i.e., two fields) consists of 525 horizontal scan lines. Among those horizontal scan lines corresponding to VBIs, data can be multiplexed in an interval corresponding to the 10th through 21st lines and in an interval corresponding to the 273rd through 284th lines. It should be noted that the technique of multiplexing VBI data with a TV signal is as defined by Proceedings of the National Television Academy Vol. 49, No. 9 (1995) and an European broadcasting standard ETS300 294, “Television Systems 625-Line Television Wide Screen Signaling (WSS)”. The data to be multiplexed in a VBI will be referred to herein as “VBI data”.
The VBI data includes not only closed caption data but also aspect information and copy control information as well. The aspect information represents the aspect ratio (i.e., the ratio of the lateral width to the vertical height) of a picture being presented on a display and may be 4 to 3 or 16 to 9, for example. Meanwhile, the “copy control information” indicates whether or not a videocassette recorder (VCR) may record given video. A VCR that can record video by the S-VHS (Super-Video Home System) standard can write a TV signal, on which VBI data is superposed, on a videotape. When a TV signal that has been written in that manner is read, the VBI data can be extracted.
A TV signal used to be recorded with a VCR in the past but is recently recorded digitally more and more often with a PC, for example. As used herein, “digital recording” means converting a TV signal into digital data with a PC, for example, and writing it as moving picture stream data on a storage medium such as an optical disc or a hard disk.
The MP4 file format as defined by the MPEG-4 system standard (ISO/IEC 14496-1) is widely known as a file format that can deal with such stream data and that is highly compatible with a PC. The MP4 file format is defined based on the QuickTime™ file format of Apple Corporation, and is a promising format because it is currently supported by various PC applications. The QuickTime file format, which forms the basis of the MP4 file format, is now used extensively as a file format for handling moving pictures and audio in the fields of PC applications.
Hereinafter, a more specific format for the MP4 file 1 will be described with the MP4 file 1 shown in
In the management information, information about the video samples and information about the audio samples are managed on a track basis. An audio track 6 and a video track 7 are shown in
In writing a moving picture signal such as a TV signal in the MP4 file format, not only time series stream data such as video but also aspect information, copy control information and other types of information accompanying the moving picture signal need to be stored in the MP4 file. And in reading and outputting the stream data, those various types of information stored need to be added to the stream data with high fidelity.
However, the conventional MP4 file format has no areas to store the aspect information, copy control information and other types of information, which is a problem.
A format compliant with the DVD Video Recording standard (see “DVD Standard Part III for Rewritable/rerecordable Disks: Video Recording Standard Version 1.1” issued by DVD Forum) is known as a format that can handle a moving picture stream. In a format compliant with this standard, control information, indicating whether or not the moving picture stream may be copied, is inserted into the stream at regular time intervals, thereby performing a copy control on the moving picture stream (see Japanese Patent Application Laid-Open Publication No. 2001-86463).
As described above, some conventional formats require that the aspect information, copy control information or any other type of information be stored in the stream. However, according to such a data structure, the player has to handle a heavy processing load while reading a stream. This is because while carrying out the playback processing, the player needs to analyze the moving picture stream, detect and extract the aspect information, copy control information and other types of information, and perform the aspect processing and so on. Furthermore, a very limited amount of time is allowed the player to perform the aspect processing and so on, and there are quite modest resources that can be allocated to non-playback processing during the playback. As a result, the processing resources run too short in some cases to present the aspect information on the screen.
In addition, the only type of stream adopted in the conventional formats is an MPEG-2 stream, which is much less universal than the MP4 file format.
An object of the present invention is to provide a data structure that can manage the aspect information, copy control information and other types of information as well as the time series data such as moving pictures while maintaining the universality of the QuickTime file or MP4 file and compliance with the MPEG-4 system standard (ISO/IEC 14496-1). Another object of the present invention is to provide a recorder that can store data based on such a data structure. Still another object of the present invention is to provide a player that can retrieve data with such a data structure.
A data storage apparatus according to the present invention includes: a video signal receiving section for receiving a video signal representing video and aspect information to control aspect ratio of the video; an audio signal receiving section for receiving an audio signal representing audio; a detecting section for detecting the aspect information from the video signal; a stream generating section for generating encoded data by encoding the video and audio signals by a predetermined encoding technique and also generating an encoded stream as a set of the encoded data; management information generating section for generating management information which is used to manage process of the encoded stream, the management information including the aspect information for each set of the encoded data; and a writing section for storing the management information and the encoded stream as at least one file on a storage medium.
When the set of the encoded data is treated as one sample, the management information generating section may generate common aspect information for the video in each sample.
When a plurality of samples are treated as one chunk, the management information generating section may generate common aspect information for the video in each chunk.
The management information generating section may generate and store the aspect information in a field of the management information for describing an attribute of each said sample.
If the at least one file is compliant with the QuickTime standard, then the field may be a Sample Table Atom (stbl) field. On the other hand, if the at least one file is compliant with the MP4 standard, then the field may be a Sample Table Box (stbl) field.
The management information generating section may generate and store the aspect information in a field of the management information for describing user data with respect to the encoded stream.
If the at least one file is compliant with the QuickTime standard, then the field may be a User Data Atom field. On the other hand, if the at least one file is compliant with the MP4 standard, then the field may be a User Data Box field.
The management information generating section may further store access information, which is needed in accessing each said sample to which the aspect information is applied, in the field. The access information may include at least one of the number of samples included in the chunk and the playback duration, data storage location and data size of each said sample.
The video signal may include copy information indicating whether the video signal may or may not be copied. The detecting section may detect the copy information from the video signal. And the management information generating section may further generate copy control information as another piece of the management information. The copy control information may include copy protection information, showing a method of protecting the encoded stream from being copied in accordance with the copy information, and status information indicating whether the copy protection information is valid or not.
If the copy information indicates that copy of the video signal may be allowed at least once, then the management information generating section may generate the copy control information.
The management information generating section may generate common copy control information for the video in each said sample.
Alternatively, the management information generating section may generate common copy control information for the video in each said chunk.
If the at least one file is compliant with the QuickTime standard, then the management information generating section may describe the copy control information in one of a Sample Table Atom (stbl) field and a User Data Atom (udta) field. On the other hand, if the at least one file is compliant with the MP4 standard, then the management information generating section may describe the copy control information in one of a Sample Table Box (stbl) field and a User Data Box field.
A data storage method according to the present invention includes the steps of: receiving a video signal representing video and aspect information to control aspect ratio of the video; receiving an audio signal representing audio; detecting the aspect information from the video signal; generating encoded data by encoding the video and audio signals by a predetermined encoding technique and also generating an encoded stream as a set of the encoded data; generating management information which is used to manage process of the encoded stream, the management information including the aspect information for each set of the encoded data; and storing the management information and the encoded stream as at least one file on a storage medium.
When the set of the encoded data is treated as one sample, the step of generating the management information may include generating common aspect information for the video in each sample.
When a plurality of samples are treated as one chunk, the step of generating the management information may include generating common aspect information for the video in each chunk.
The step of generating the management information may include generating and storing the aspect information in a field of the management information for describing an attribute of each said sample.
If the at least one file is compliant with the QuickTime standard, then the field may be a Sample Table Atom (stbl) field. On the other hand, if the at least one file is compliant with the MP4 standard, then the field may be a Sample Table Box (stbl) field.
The step of generating the management information may include generating and storing the aspect information in a field of the management information for describing user data with respect to the encoded stream.
If the at least one file is compliant with the QuickTime standard, then the field may be a User Data Atom field. On the other hand, if the at least one file is compliant with the MP4 standard, then the field may be a User Data Box field.
The step of generating the management information may further include storing access information, which is needed in accessing each said sample to which the aspect information is applied, in the field. The access information may include at least one of the number of samples included in the chunk and the playback duration, data storage location and data size of each said sample.
The video signal may include copy information indicating whether the video signal may or may not be copied. The step of detecting may include detecting the copy information from the video signal. And the step of generating the management information may further include generating copy control information as another piece of the management information. The copy control information may include copy protection information, showing a method of protecting the encoded stream from being copied in accordance with the copy information, and status information indicating whether the copy protection information is valid or not.
If the copy information indicates that copy of the video signal may be allowed at least once, then the step of generating the management information may include generating the copy control information.
The step of generating the management information may include generating common copy control information for the video in each said sample.
Alternatively, the step of generating the management information may include generating common copy control information for the video in each said chunk.
If the at least one file is compliant with the QuickTime standard, then the step of generating the management information may include describing the copy control information in one of a Sample Table Atom (stbl) field and a User Data Atom (udta) field. On the other hand, if the at least one file is compliant with the MP4 standard, then the step of generating the management information may include describing the copy control information in one of a Sample Table Box (stbl) field and a User Data Box field.
A data playback apparatus according to the present invention includes: a reading section for reading an encoded stream as a set of encoded data and management information to manage the encoded stream being processed from a storage medium, the encoded data including a video signal representing video and an audio signal representing audio that have been encoded by a predetermined encoding technique; a decoding section for decoding the encoded stream into the video signal and the audio signal; an extracting section for extracting aspect information, which is defined for each said set of the encoded data to control the aspect ratio of the video, from the management information; and a superposing section for outputting the aspect information after having superposed the aspect information on the video signal.
A data playback method according to the present invention includes the steps of: reading an encoded stream as a set of encoded data and management information to manage the encoded stream being processed from a storage medium, the encoded data including a video signal representing video and an audio signal representing audio that have been encoded by a predetermined encoding technique; decoding the encoded stream into the video signal and the audio signal; extracting aspect information, which is defined for each said set of the encoded data to control the aspect ratio of the video, from the management information; and outputting the aspect information that has been superposed on the video signal.
Another data storage apparatus according to the present invention includes: a video signal receiving section for receiving a video signal representing video and copy information indicating whether the video may or may not be recorded; an audio signal receiving section for receiving an audio signal representing audio; a detecting section for detecting the copy information from the video signal; a stream generating section for generating encoded data by encoding the video and audio signals by a predetermined encoding technique and also generating an encoded stream as a set of the encoded data; management information generating section for generating management information to manage the encoded stream being processed, the management information including copy control information that includes copy protection information, showing a method of protecting the encoded stream from being copied, and status information indicating whether the copy protection information is valid or not; and a writing section for storing the management information and the encoded stream as at least one file on a storage medium if the copy information indicates that the video may be copied.
A storage medium according to the present invention stores thereon data that can be read by a data playback apparatus. The data has a data structure consisting of moving picture data, in which an encoded stream is included as a set of encoded data, and management information to manage the encoded stream being processed in the moving picture data. The encoded data is obtained by encoding a video signal, representing video and aspect information to control the aspect ratio of the video, and an audio signal representing audio by a predetermined encoding technique. The management information includes the aspect information to control the aspect ratio of the video for each said set of encoded data.
FIGS. 19(a) through 19(d) show a correlation between the data structures of video frames, video samples and video chunks for generating a moving picture stream according to a second preferred embodiment and that of a moving picture file generated.
FIGS. 21(a) through 21(e) show a correlation between the data structures of an audio stream, audio chunks, a video stream and video chunks for generating a moving picture stream according to the second preferred embodiment and that of a moving picture file generated.
FIGS. 24(a) and 24(b) show the data structures of the management information for managing the aspect ratio change point.
Hereinafter, preferred embodiments of a data processor according to the present invention will be described with reference to the accompanying drawings.
The storage medium 131 is supposed herein to be an optical disc. The optical disc is not an essential component for the data processor 10 but is shown in
Hereinafter, respective components of the data processor 10 and then the operation thereof will be described.
First, the respective components of the data processor 10, contributing to the recording function thereof, will be described. The data processor 10 includes a video signal receiving section 100, a moving picture stream generating section 101, an audio signal receiving section 102, a first information generating section 103, a VBI signal detecting section 104, a second information generating section 105, a management information generating section 106, an S terminal voltage sensing section 107, a writing section 120, a writing control section 115, a continuous data area detecting section 116 and a logical block management section 117.
The video signal receiving section 100 receives a video signal on a broadcasting wave, for example. In the video signal, a VBI signal which carries aspect information, copy control information, closed caption data and so aon, is multiplexed on a signal representing video itself. The audio signal receiving section 102 receives an audio signal representing audio.
The moving picture stream generating section 101 encodes and multiplexes the video signal and audio signal by predetermined encoding techniques (e.g., in accordance with the MPEG2-Video and AC-3 standards, respectively), thereby generating a moving picture stream. The moving picture stream includes at least a video signal.
The first information generating section 103 generates access information for use to control reading of the moving picture stream as first control information. As used herein, the “access information” means information about storage locations for accessing samples at random (e.g., address values of a time series data file).
The VBI signal detecting section 104 detects a VBI signal from the video signal and passes the VBI signal detected to the second information generating section 105. Alternatively, the VBI signal detecting section 104 may detect the aspect information, copy control information and other types of information from the VBI signal in the video signal, and provide only the signal about that information to the second information generating section 105. Based on the aspect information, copy control information and other types of information included in the VBI signal, the second information generating section 105 generates second control information. The copy control information includes copy protection information and status information indicating whether the copy protection information is valid or not. The S terminal voltage sensing section 107 senses a voltage applied to the S terminal (not shown) of the data processor 10. The second information generating section 105 may determine the aspect ratio on receiving a sensing signal from the S terminal voltage sensing section 107.
The management information generating section 106 generates management information for managing the processing of the encoded stream based on the first and second control information. As will be described later, the management information includes aspect information and/or copy control information for each set of encoded data, which is defined by the video playback duration and the amount of data (or data size). As used herein, the “set of encoded data” refers to a video object unit in a DVD, corresponding to a video playback duration of about 0.4 to 1 second, a sample defined on the basis of a frame of 1/30 second, or a chunk as a set of multiple samples. A more detailed function of the management information generating section 106 will be described later.
The writing control section 115 controls the operation of the writing section 120. In accordance with the instruction from the writing control section 115, the continuous data area detecting section 116 checks the availability of sectors being managed by the logical block management section 117, thereby detecting a physically continuous unused area. Then, the writing section 120 gets the management information and moving picture stream written on the optical disc 131 by a pickup 130.
Next, components and operation of the data processor 10, contributing to the playback function thereof, will be described. The data processor 10 includes a video signal output section 110, a moving picture stream decoding section 111, an audio signal output section 112, a reading section 113, a reading control section 114, a management information storage memory 118, a D-IF section 119, a second information extracting section 121 and a VBI signal superposing section 122.
A plurality of management files, which were stored in, and have been read in advance from, the management information area 132 of the optical disc 131, are stored in the management information storage memory 118. During a playback operation, the reading control section 114 reads a management file (management information), associated with a user's designated times series data file (moving picture stream file), from the management information storage memory 118 and plays back the moving picture stream of the time series data file by using the access data of the management file in question. As to the moving picture stream, the data thereof is read by the pickup 130 and retrieved as an encoded data signal by the reading section 113. The moving picture stream decoding section 111 decodes the encoded data signal, thereby outputting a video signal and an audio signal to the video signal output section 110 and the audio signal output section 111, respectively. Furthermore, the second information extracting section continuously reads aspect control information, copy control information and other types of information associated with the retrieved portion. Then, while the video is being played back, the VBI signal superposing section 122 either adjusts the aspect ratio of the output video or superposes and outputs the copy control information in accordance with those types of information.
The data processor 10 may output an MP4 file or QuickTime file that has been read out from the optical disc 131 (which will be referred to herein as a “moving picture file”) to an external device by way of the D-IF section 119. In that case, the reading section outputs the moving picture file, while the second information extracting section 121 extracts the second control information from the management information of the moving picture file and checks by the copy control information, which is a portion of the management information, whether or not the moving picture file can be copied. If the answer is YES, then the moving picture file, as well as the copy control information, is converted by the D-IF section 119 into a format compliant with an interface standard, and then output. For example, if the D-IF section 119 is an interface compliant with the IEEE 1394 standard, then the D-IF section 119 converts the copy control information extracted into a format compliant with the IEEE 1394 standard and then outputs it. In this manner, the copy control information as defined by the management information is extracted from the management file stored on the optical disc 131, incorporated into a data stream, and then output through the digital interface. As a result, a data stream, guaranteeing copyright protection, can be output.
Optionally, play list information may be stored on the optical disc such as a DVD-RAM. The “play list information” is information about the order in which part or all of multiple moving picture streams are played back. A play list playback function of playing back moving picture streams in accordance with the play list information is a characteristic function when a randomly accessible optical disc is used. In playing back a number of moving picture streams continuously one after another, required files are preferably selected in advance from a group of management information files stored in the management information storage memory 118. Then, a play list for playing a plurality of moving picture streams continuously can be compiled.
Next, it will be described how the data processor 10 performs its recording operation.
As described above, the data processor 10 stores the management information and a moving picture stream on the optical disc 131, thereby generating a moving picture file. Thus, the data structure of the moving picture file, obtained as a result of the recording operation of the data processor 10, will be described first.
The moving picture stream 11 may be a system stream as defined by the MPEG-2 system standard (ISO/IEC 13818-1), for example. Three types of system streams, namely, a program stream (PS), a transport stream (TS) and a PES stream, are defined. However, the MPEG-2 system standard defines no data structure to store the management information (including access information, special playback information and recording date/time information) for these system streams.
The moving picture stream 11 includes a plurality of samples (P2Samples) 15. Each of these samples 15 is composed as a mixture of video data and audio data and may be defined by the video playback duration, the amount of data (or data size) or any other parameter. For example, each sample 15 may include video data in an amount corresponding to a video playback duration of about 0.4 to 1 second as in a video object unit (VOBU) in a DVD. A set of one or more samples 15 will be referred to herein as a “chunk 16”.
Referring back to
Next, it will be described by what reference the samples 15 and chunk 16 are defined for the management information 13. For example, suppose video data and audio data, corresponding to a video playback duration of about 0.4 to 1 second, is a single sample (P2Sample) 15. The access information of each sample is described in the management information 13. And when an aspect ratio that is commonly applicable to a series of pictures is determined, an interval corresponding to those pictures is treated as a single chunk 16 and aspect control information 19, commonly applied to all samples within each chunk, is defined. The “series of pictures” may be continuous video taken with a camcorder in a single session that starts at a recording start point and ends at a recording end point. In the management information 13, the access information may be defined for each chunk. In this example, an interval corresponding to a series of pictures with the same aspect ratio is supposed to be the reference by which the chunk is defined. According to the present invention, however, the chunk may be defined by another reference that has no particular correlation with this.
Based on the data structure and reference described above, the moving picture stream generating section 101 and management information generating section 106 generate the moving picture stream 11 and the management information 13, respectively.
Hereinafter, the management information generating processing will be described in further detail.
The processing step S2 of generating the second control information shown in
In the next step S12, the second information generating section 105 gets the voltage at the S terminal sensed by the S terminal voltage sensing section 107 because the S terminal voltage can be used to specify the aspect ratio. More specifically, (1) if the S terminal voltage falls within the range of GND of 0 V to 2.4 V, then the video aspect ratio of the component signal will be 4 to 3. On the other hand, (2) if the S terminal voltage falls within the range of 2.4 V to 4.25 V, then the video aspect ratio of the component signal will be 16 to 9 (which is a so-called “wide” screen ratio). However, if the S terminal voltage is in the range of 4.25 V to VDD of 5 V, then it is determined that no voltage has been applied to the S terminal yet or that there is no S terminal in this device. And no particular aspect ratio will be defined in that case. Thus, it is necessary to judge which of the two situations (1) and (2) is true.
In Step S13, the second information generating section 105 determines whether or not the S terminal voltage falls within the range of 0 V to 2.4 V. If the answer is YES, then the process advances to Step S14, in which the second information generating section 105 sets the aspect ratio to 4 to 3. On the other hand, if the answer is NO, then the second information generating section 105 further determines, in Step S15, whether or not the S terminal voltage falls within the range of 2.4 V to 4.25 V. If the answer is YES, then the process advances to Step S16, in which the second information generating section 105 sets the aspect ratio to 16 to 9. If the answer is YES, then the process advances to Step S16, in which the second information generating section 105 sets the aspect ratio to 16 to 9.
Thereafter, in Step S17, the management information generating section 106 generates aspect control information based on either the aspect information extracted from the VBI signal or the aspect ratio specified, and describes that information in the management information 13.
The aspect control information, generated as a result of the processing described above, is stored, along with other types of information, in the management information 13 as shown in
Next, a specific data structure of the management information 13 generated by the management information generating section 106 will be described. The data structure of the management information 13 is a layered one. The respective fields making up the data structure are called “Atoms” according to the QuickTime™ file format standard defined by Apple Corporation but called “Boxes” according to the ISO Base Media file format of the MP4 standard. Most of the specifications of the MP4 standard are defined based on the QuickTime™ file format of Apple Corporation. Although some fields have different definitions or names, the contents of the specifications are mostly the same between the two formats. In the following example, the atom structure compliant with the QuickTime standard will be described. Generally speaking, however, any field may be adapted to the MP4 standard by replacing the field's name “Atom” with “Box”.
The management information generating section 106 generates the management information 13 in accordance with the atom structure to be described below.
Sample Table Atom 18 further includes a plurality of atom fields. Among those atom fields, Sample Description Atom 311, Sample Size Atom 312, Decoding Time To Sample Atom 313, Sample To Chunk Atom 314 and Chunk Offset Atom 315 will be herein paid attention to.
In Sample Description Atom 311, the aspect control information source_aspect_ratio applied to the video in the sample is defined. In Sample Size Atom 312, the data size of that sample is defined. In Decoding Time To Sample Atom 313, the video playback duration of that sample is defined. In Sample To Chunk Atom 314, the number of samples included in one chunk is defined. In Chunk Offset Atom 315, the top location (offset) of each chunk as counted from the top of the time series data file is defined. It should be noted that “#0” added to each of the atoms 312 to 315 indicates that the data is associated with the 0th sample or chunk. Thus, the data associated with the first, second ones and so on will follow them although not shown in
A data structure for defining the aspect control information 19 has been described. Based on this data structure, the data processor 10 generates the management file 14 and stores the file 14, along with the times series data file 12, on the optical disc 131. Also, the data processor 10 reads and analyzes the management file 14 stored, thereby playing back the video and audio from the moving picture stream 11 within the time series data file 12 at the aspect ratio specified by the aspect control information 19.
It should be noted that the data structures described above are just examples. Thus, any other data structure may be adopted and the aspect control information and so on may be described in different atoms as well.
For example, in the example described with reference to
By defining the aspect control information in the management information, which is provided separately from a moving picture stream, the processing load on the player, which is playing back the stream, can be reduced. The player may extract the aspect control information from the management information before playing back the moving picture stream, for example. Thus, the player can know the aspect ratio of the video in advance. Consequently, the player does not have to perform the aspect control in parallel with the moving picture stream processing. That is to say, the processing load thereof can be lightened and the processing resources of the player can be assigned to other types of processing effectively.
It should be noted that the data processor 10 can also store MP4 file management information, compliant with the MPEG-4 system standard (ISO/IEC 14496-1), in addition to the management information described above. Thus, even if an MP4 file were output through the D-IF section 308 to a PC or any other external device, a playback application program for a PC, which accepts only a normal MP4 file, or a player, compatible with just a normal MP4 file, could also play the MP4 file, too.
Hereinafter, a data processor according to a second preferred embodiment of the present invention will be described. The data processor of this second preferred embodiment has the same configuration as the data processor 10 of the first preferred embodiment shown in
The data processor 10 of this preferred embodiment is supposed to process a moving picture stream having a different data structure from that of the moving picture stream 11 shown in
FIGS. 19(a) through 19(d) show a correlation between the data structures of video frames, video samples and video chunks for generating a moving picture stream according to this preferred embodiment and that of a moving picture file generated (e.g., an MPEG-4 file or a QuickTime file). Specifically,
Only the video-related data is shown in FIGS. 19(a) through 19(c), but audio-related frames, samples and chunks are separately generated as indicated by “Audio Chunks” in
Movie Atom 37 that defines the management information 33 includes an atom 38 defining the aspect control information and Sample Table Atom 39 defining the access information and so on. In this example, the atom 38 defining the aspect control information is provided outside of Sample Table Atom 39. Alternatively, the atom 38 defining the aspect control information may be provided inside of Sample Table Atom 39. The access information in Sample Table Atom 39 is provided for each video sample and each audio sample in the moving picture stream 31. On the other hand, the aspect control information is defined for each video chunk, which is a set of a plurality of video samples. In
FIGS. 21(a) through 21(e) show a correlation between the data structures of an audio stream, audio chunks, a video stream and video chunks for generating a moving picture stream according to this preferred embodiment and that of a moving picture file generated. As shown in
FIGS. 24(a) and 24(b) show the data structures of the management information for managing the aspect ratio change point. The management information defines the same number of pieces of aspect control information for a chunk as the number of times the aspect ratio has changed. More specifically, the number of times the aspect ratio has changed in a moving picture stream is stored in “num of aspect info”, an ID for identifying the chunk in which the change has occurred is stored in “chunk id”, and the aspect control information applied to the chunk is stored in “aspect info”.
The first and second preferred embodiments of the data processor 10 of the present invention have been described on the supposition that an MP4 file or a QuickTime file is generated as a combination of a management file and a time series data file. Alternatively, only the management file may be generated as either an MP4 file or a QuickTime file and link information to the moving picture stream may be stored and managed in the management information of the management file.
As described above, aspect control information according to the present invention may be stored at any location, and encoded video data to be controlled by the aspect control information can be located, without being limited by the data structure of the management information or the file format. The data processor 10 of this preferred embodiment is supposed to handle either an MP4 file or a QuickTime file as a data file. In any case, however, the data processor 10 can perform the processing with the same configuration and can achieve the same effects. Also, extensions such as “MP4” have been used with reference to the drawings. However, the extensions are not limited to those adopted. For example, an extension such as “MOV” or any other extension may be used for a QuickTime file.
A data processor according to a third preferred embodiment defines copy control information, indicating whether the given video may be recorded or not, as a piece of management information instead of the aspect control information. The copy control information may be defined in place of the “aspect control information” in the data structures shown in
In the following description, the “copy control information” to replace the “aspect control information” will be pointed out by reference to the same drawings as those used in the foregoing description for convenience sake. However, even the aspect control information that is not particularly mentioned may also be replaced with the copy control information in the same way.
Hereinafter, a data processor according to the third preferred embodiment of the present invention will be described. The data processor of this preferred embodiment has the same configuration as, but performs different processing from, the data processor 10 of the first preferred embodiment (shown in
Just like the aspect control information described above, the copy control information to be handled by the data processor 10 of this preferred embodiment is also included in the second control information. Accordingly, following the procedure of generating the management information shown in
Hereinafter, the processing step S2 of generating the second control information shown in
The copy information will be described in detail. Specifically, the copy information includes copy generation managing system (CGMS) information and analog protection system (APS) information.
The CGMS information is 2-bit data for managing generation-by-generation copying and is defined as follows according to its data values:
00b: copy permitted (unlimited);
01b: undefined;
10b: copy permitted once; and
11b: copy prohibited
where “b” represents a binary value.
On the other hand, the APS information is 2-bit data showing a type of copy protection applied to the input video signal and is defined as follows according to its data values:
00b: no copy protection;
01b: Type 1;
10b: Type 2; and
11b: Type 3
“Type 1” instructs the recorder such as a VCR to perform an operation of stirring the AGC circuit thereof. “Type 2” instructs the recorder to perform the AGC stirring operation and an operation of inverting color stripe 2 lines. And “Type 3” instructs the recorder to perform the AGC stirring operation and an operation of inverting color stripe 4 lines. The APS information relates to a copy protection method for an analog video signal as developed by Microvision Inc. and is simply called “Microvision”.
In the next step S22, the second information generating section 105 determines whether the CGMS information included in the copy information extracted requires “copy prohibited” or not. This decision is made by seeing if the data value of the CGMS information is “11” or not. If the answer is YES, then copy is prohibited and the process advances to Step S23. Otherwise, copy is not prohibited and the process advances to Step S24. In Step S23, the data processor 10 stops the video recording operation, thereby ending the processing.
In Step S24, the second information generating section 105 determines whether the CGMS information is undefined or not. This decision is made by seeing if the data value of the CGMS information is “01” or not. If the answer is YES, then the process advances to Step S23, in which the video recording operation is stopped to end the processing. Otherwise, the process advances to Step S25.
In Step S25, the second information generating section 105 determines whether the CGMS information may be copied once or not. This decision is made by seeing if the data value of the CGMS information is “10” or not. If the answer is YES, then the process advances to Step S26. Otherwise, the process advances to Step S27. In Step S26, the second information generating section 105 sets the data value of the CGMS information equal to either “01” or “11”. As mentioned above, when the data value is “01”, the data processor 10 does not perform the video recording operation. In Step S27 on the other hand, the second information generating section 105 sets the data value of the CGMS information equal to “00”, indicating that copy is allowed, thereby recording the video and advancing the process to Step S28.
In Step S28, the second information generating section 105 defines the APS data in accordance with the APS information included in the copy information extracted. The APS data may be defined as 2-bit data corresponding to each data value of the APS information, for example, and is sometimes called “APS trigger bits (APSTB)”. By performing these processing steps, the second information generating section 105 generates copy control information based the CGMS information and APS data generated. The copy control information includes copy protection information, showing a method for protecting the encoded stream from being copied, and status information indicating whether the copy protection information is valid or not.
The management information generating section 106 describes the copy control information, which has been generated in this manner, in the management information 13. For example, the management information generating section 106 may describe the copy control information in the area for the “aspect control information” shown in
In
Alternatively, the management information generating section 106 may describe the copy control information in a different atom, not in Sample Table Atom.
By defining the copy control information as described above, the management information can be defined so as to protect the copyright of a content. Optionally, to consolidate the copyright protection of a content, the data processor 10 may encrypt the time series data of a content, which can be copied only a limited number of times, and then store the encrypted data on the DVD-RAM 131, for example. Even if the management information includes the copy control information, the link information L may be provided for the management information so as to identify the file, in which the moving picture stream is stored, by the link information L as shown in
The management information of this preferred embodiment has been described as including the copy control information instead of the aspect control information. However, since the aspect control information and the copy control information are different pieces of information, not only one of these two types of information but also the other type of information may be provided as well. For example, both of these two types of information may be provided either in Sample Description Atom 311 within Sample Table Atom 18 (see
In the first through third preferred embodiments of the data processor of the present invention described above, the data written by the data processor 10 on the storage medium has a data structure including moving picture data and management information. Such data can be read out from the storage medium either by the data processor 10 or any other device having a playback function. In any case, the device can acquire the management information appropriately depending on the data structure of the stored data and can reproduce the video from the moving picture data in accordance with the management information. The data structure of the management information is clearly different from the conventional one in terms of the storage locations and modes of the aspect control information and/or the copy control information.
The data processor 10 (see
In the foregoing description, an MPEG-2 video stream is adopted. However, the present invention is also applicable for use with any other video stream such as an MPEG-4 video stream.
According to the present invention, when management information and a moving picture stream, of which the processing is managed in accordance with the management information, are written as at least one file on a storage medium, aspect control information and/or copy control information are/is included in the management information. Thus, the moving picture stream can be played back, duplicated and transferred with the intention of the broadcaster or copyright owner of a content respected.
Among other things, if the file to store the management information is an MP4 file compliant with the MPEG-4 system standard (ISO/IEC 14496-1), then a higher degree of compatibility with PCs is guaranteed.
Number | Date | Country | Kind |
---|---|---|---|
2002-302925 | Oct 2002 | JP | national |
2003-118253 | Apr 2003 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP03/13215 | 10/15/2003 | WO | 8/29/2005 |