The present invention relates to an apparatus for recording compressed video and audio signals on a medium such as an optical disk or the like and reproducing such signals from such a medium.
A compression of video and audio signals has been described in detail in Jun Yonemitsu (editorial supervisor), “MPEG Technique,” pp. 19-21, published in Japan by Trikeps on Dec. 21, 1993. An example of an optical disk has been described in detail in Kenji Hayashi (editor and author), “CD-From Audio to Personal Computer,” pp. 84-89, published in Tokyo, Japan, by Corona Publishing Co., Ltd., on Jul. 25, 1990.
A compression method of the video and audio signals and a corresponding decompression method have been described in the first reference listed above. A signal recording format of a compact disc (CD) has been described in the second reference listed above. However, a method of easily realizing a retrieving method when the compressed video and audio signals are recorded on a medium and are reproduced therefrom is not described.
In the case of reproducing the medium such as a CD or the like on which the compressed video and audio signals have been recorded in a data stream format as described in the “MPEG Technique” reference listed above, a picture or a boundary of a group of pictures can be judged by reproducing the data stream and judging header information of a pack and a packet. In the case of recording a signal on the medium, however, in order to improve an error resistance, an interleave process and an error correction encoding process which are peculiar to the medium and a frame forming process involving addition of a sync signal and sub information are ordinarily executed. When the picture or boundary of the picture group is judged by reproducing the data stream and judging the header information of the pack and the packet, therefore, a position of a pickup or the like which is reproducing data from the medium has already been deviated. Therefore, in the case of performing a retrieval, an editing operation, and the like on a picture or picture group unit basis, a complicated control is needed to find a position of the picture or boundary of the picture group on the medium, so that there is a problem such that it takes a long time to find the position.
It is an object of the invention to provide a transmitting and recording method, a reproducing method, and a reproducing apparatus of information which are suitable for retrieving and editing on a picture or picture group unit basis.
The above object is accomplished by a method whereby, when time sequential data of a pack is divided into a minimum unit of a data structure which is peculiar to a medium and is transmitted or recorded on the medium, information indicating whether or not a picture or a boundary of a picture group exists in the minimum unit of the data structure peculiar to the medium is described in a sub information portion in a frame signal to be transmitted or recorded when a frame forming process that is peculiar to the medium is executed.
In the case of performing a retrieval, an editing operation, or the like on a picture or a picture group unit basis, by reading the information which was reproduced from the medium and was written in the sub information portion in the frame signal peculiar to the medium and indicates whether or not the picture or the boundary of the picture group exists in the minimum unit of the data structure peculiar to the medium and by judging the information, a reproducing position on the medium at which to reproduce the picture or the boundary of the picture group can be accurately and easily detected. Thus, a complicated control to find the position of the picture or the boundary of the picture group is unnecessary, so that the picture or the boundary of the picture group can be retrieved at a high speed.
Embodiments of the invention will now be described with reference to the drawings.
A method of transmitting information or forming a recording signal according to the invention will now be explained herein below with reference to
In the pack forming process 1 of compression data, a packet header indicative of a head of the packet is added to each of the compressed video data, compressed audio data, and independent data, thereby forming packets. Each packet is time divided, one or more packets are collected, and a pack header indicative of the head of the pack and information indicative of a reference time are further added, thereby constructing a pack. In the signal process 2 peculiar to the medium, the time sequential data of the pack is first divided to the data structure peculiar to the medium.
When dividing, an extracting process of information indicating in which component element of the data structure the boundary of the picture group is included is performed. The divided time sequential data of the pack is subjected to signal processes such as addition of an error correction code, interleave, and the like in order to enhance an error resistance in accordance with a signal processing format peculiar to the medium. In order to transmit or record the signal processed data, a frame forming process peculiar to the medium according to a frame format is performed. In the frame forming process, sub information and a sync signal indicative of the head of the frame are added to the data which was subjected to the signal processes peculiar to the medium, thereby forming a frame signal.
According to the invention, information indicating in which component element of the data structure peculiar to the medium the boundary of the picture group is included is inserted in the sub information of the frame signal at the time of the frame forming process. If there is a channel code modulation rule which is suitable for recording or transmitting data for the frame signal and which has been decided in the medium and which is peculiar to the medium, the channel code modulation according to the modulation rule is executed for the data. If there is no channel code modulation rule, data is transmitted or recorded as it is by the medium.
According to the invention, the information indicating whether or not the head of data (for example, a group of pictures) of a certain unit of the compressed video data is included in the minimum unit of the data structure peculiar to the medium can be transmitted or recorded by using an area to transmit or record the sub information which is different from an area to transmit or record main information in the frame signal peculiar to the medium.
Another embodiment of the invention will now be described with reference to
In
Reference numeral 22 denotes a frame signal peculiar to the medium; SY a frame sync signal; SUB a subcode as sub information; and 23 a main information portion in the frame signal. In the embodiment, the main information portion 23 has a total of 32 bytes including 24 bytes of data and eight bytes of an error correction code (ECC). It is assumed that one frame is constructed by such a frame sync signal, subcode as sub information, and main information. Reference numeral 24 denotes a data structure of the subcode. The subcode is formed by eight kinds of codes such as P, Q, R, S, T, U, V, and W each having a code length of 98 bits. Data of eight bits obtained by collecting one bit from each code is inserted in the SUB portion in the frame signal.
A recording method of the embodiment will now be explained. The time sequential data of the pack is divided every number of bytes corresponding to the number of bytes of the data portion of the block as a minimum unit of the data structure peculiar to the medium, thereby allocating data to the data portion of each block. Upon allocation, it is detected that the boundary between the picture groups B and C exists in the block. A code indicative of the presence of the boundary is written, for example, in the Q code in the subcode. At the same time, the block formed data is subjected to the signal processes such as addition of an error correction code, interleave, and the like peculiar to the medium. When the signal processed data is frame formed, such data is allocated to the main information portion of the frame signal.
At the same time, the subcode is allocated to the SUB portion by the foregoing method. As mentioned above, the information indicative of the boundary of the picture group can be written in the subcode portion of the frame signal. The frame signal constructed as mentioned above is subjected to, for example, an 8-14 modulation (EFM) such that eight bits are allocated to 14 bits and, after that, the signal is recorded on a medium such as a CD or the like. According to the invention, information indicating whether or not the head of the picture group of the compressed video data is included in the block as a minimum unit of the data structure peculiar to the medium can be recorded on a CD, a CD-ROM, or a system having a data structure and a frame format which are similar to those of the CD-ROM by using an area to record the sub information in the frame signal peculiar to the medium.
The embodiment has been explained with respect to the case where the information indicative of the presence of the boundary is described in the subcode Q. However, even if such information is described in any one of the codes P, Q, R, S, T, U, V, and W without limiting it to the Q code, a similar effect is obtained. For example, a data start flag is described in the P code in the present CD. Information indicative of the presence of the boundary can be described in place of such a flag or in a portion of such a flag. By describing the serial number or an address of the head of the picture group of the compressed video data instead of the information indicative of the boundary, an even more accurate retrieval can be performed upon reproduction.
By not only describing the information indicative of the boundary and the serial number or address of the head of the picture group of the compressed video data but also simultaneously adding and describing a CRC code to detect reproduction errors of those data, a degree of accuracy of those data which are reproduced at the time of the retrieval can be improved. In the case where the information indicative of the boundary or the serial number or address of the head of the picture group of the compressed video data is recorded in the Q code, by describing them in place of the portion in which PMIN, PSEC, and PFRAME indicative of the minute, second, and frame of the reproducing time have been written in the present CD, the reproduction errors can be detected by the CRC code of the Q code in this state. Although graphic information has been described in the codes R, S, T, U, V, and W in the present CD, the information can be also described in such portions by a method similar to that of the P code described above.
Another embodiment of the invention will now be described with reference to
According to the invention, in such a data reading interval, information which has been written in the sub information in the frame signal peculiar to the medium and which indicates whether or not the head of the data (for example, a picture group) of a certain unit of the compressed video data is included in the minimum unit of the data structure peculiar to the medium is judged and, on the basis of such information, the boundary of data of a certain unit of the compressed video data can be retrieved from the medium at a high speed. According to the embodiment, there is an effect such that the boundary of the data of the certain unit of the compression video data can be retrieved from the medium at a high speed.
Another embodiment of the invention will now be described with reference to
In a manner similar to the embodiment shown in
As for the subcode, the subcodes each comprising eight bits written in each frame for 98 frames are collected, thereby reproducing eight subcodes of P, Q, R, S, T, U, V, and W in which one code consists of 98 bits. Information which has been described in any one of those subcodes and indicates whether or not the head of the picture group of the compressed video data is included in the block as a minimum unit of the data structure peculiar to the medium is reproduced and a boundary of the picture group is judged, so that the boundary of the picture group can be retrieved at a high speed. According to the embodiment, there is an effect such that the boundary of data of a certain unit of the compressed video data can be retrieved from the medium at a high speed.
Another embodiment of the invention will now be described with reference to
The operation at the time of a high speed retrieval will be first described. Upon high speed retrieval, a frame signal reproduced from the optical disk 51 in the data reading interval is inputted to the signal processing section 52 peculiar to the medium, thereby separating a subcode and main information on the basis of a sync signal in the frame signal. The subcode is inputted to the subcode judging section 53, thereby judging whether or not the subcode indicates a boundary of a picture group. When the subcode does not indicate the boundary of the picture group, the pickup 55 is moved at a high speed by the pickup control section 54 and the judgment of the subcode is repeated. In the case where the subcode does indicate the boundary of the picture group, reproduction is performed. As mentioned above, the retrieval can be performed on a picture group unit basis.
The operation upon reproduction after completion of the retrieval will now be described. The reproduced frame signal is inputted to the signal processing section 52 peculiar to the medium and the subcode and the main information are separated on the basis of the sync signal in the frame signal. After that, the main information is subjected to processes such as error correction, deinterleave, and the like, thereby reproducing data of a block structure as a data structure peculiar to the medium. The data of the block structure is stored into the memory 56 in accordance with a write address which is generated by the write address generating section 57 on the basis of the clock 62 peculiar to the medium and the reference clock 61. The data stored in the memory 56 is read out in accordance with a read address which is generated by the read address generating section 58 on the basis of the reference clock 61 and is inputted to the output time adjusting section 60 of the time sequential data of the pack.
The write address and read address of the memory are always compared by the address comparator 59. When the write address differs from the read address by a predetermined amount or more, the pickup 55 is controlled by the pickup control section 54 to temporarily stop the reproduction. A speed to read the data from the optical disk 51 is always set to be equal to or larger than the maximum data transfer rate of the time sequential data of the pack and the reproduction control described above is executed, so that an excessive data or a lack of data between the reproducing apparatus and a decoding apparatus of the time sequential data of the pack to which an output of the reproducing apparatus is connected can be absorbed.
The data read out from the memory 56 is subjected to time base correction by the output time adjusting section 60 of the time sequential data of the pack. Reference numeral 63 shows a time base correction of the time sequential data of the pack. In the output time adjusting section 60 of the time sequential data of the pack, a time interval between the heads of adjacent packs is corrected with respect to the time base so as to be almost equal to a difference between the reference times in accordance with the reference time described in every pack of the data read out from the memory 56. Since an amount of data of one pack may be different for every pack, the data is outputted at the maximum data transfer rate in the time sequential data of the pack. In the case of a pack having a small amount of data, invalid data is outputted in the portion between the end of the pack to the head of the next pack or the data is outputted so as to indicate that such a portion contains invalid data. For instance, such a process can be realized by a method such that a signal indicative of valid or invalid data and synchronized with the data is generated together with the data, an identification signal is added to the invalid data portion, or the like. According to the embodiment as mentioned above, the reproducing apparatus which can retrieve the boundary of the picture group at a high speed and can perform a normal reproduction can be constructed.
Explanations will now be made with reference to
A Group of Pictures (GOP) is constructed as a picture group by using several video frames as a unit. A compression ratio is changed on a GOP unit basis, thereby compressing the video signal. The compressed video signal is subsequently divided into several packs. A reference time signal is added to the head of the pack and the pack is recorded. On the optical disk 51, the recording is executed at a constant recording density irrespective of the packs of the GOP of different compression ratios.
Upon reproduction, an output time of the time sequential data of the pack is adjusted so that a time interval between the heads of the packs is equal to a time difference between the reference time signals added to the heads of the packs.
By executing the reproduction as mentioned above, the data encoded so that the compression ratio of the data is changed on a GOP unit basis can be also accurately reproduced.
Although the embodiment relates to an example of the case where one GOP is set to one pack, in the case of recording data of one GOP by dividing it to several packs, the data can be also reproduced in a similar manner.
According to the invention, the information indicating whether or not the head of data (for example, the picture group) of a certain unit of the compressed video data is included in a minimum unit of the data structure peculiar to the medium can be transmitted or recorded by using an area to transmit or record the sub information which is different from an area to transmit or record the main information in the frame signal peculiar to the medium. According to the invention, the boundary of the data of a certain unit of the compressed video data can be retrieved at a high speed from the medium. Further, the reproducing apparatus which can retrieve the boundary of the picture group at a high speed and perform a normal reproduction can be constructed.
While example embodiments may be described herein, it is understood that such is presented by way of illustration only, and are not to be taken as limiting or exhaustive in any way. Many modifications, adaptations, variations and equivalents are apparent as being well within the scope of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
06-136962 | Jun 1994 | JP | national |
This application is a continuation of application Ser. No. 10/733,319, which is a continuation of application Ser. No. 10/252,581 filed Sep. 24, 2002 (now U.S. Pat. No. 6,693,966), which is a continuation of Ser. No. 10/051,066, filed Jan. 22, 2002 (now U.S. Pat. No. 6,549,579), which is a continuation of application Ser. No. 08/463,827, filed Jun. 5, 1995 (now U.S. Pat. No. 6,438,172), and which relates to application Ser. No. 12/058,905, filed Mar. 31, 2008 and Ser. No. 12/058,911, filed Mar. 31, 2008. This application relates to and claims priority from Japanese Patent Application No. 06-136962, filed on Jun. 20, 1994. The entirety of the contents and subject matter of all of the above is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | 10733319 | Dec 2003 | US |
Child | 12182492 | US | |
Parent | 10252581 | Sep 2002 | US |
Child | 10733319 | US | |
Parent | 10051066 | Jan 2002 | US |
Child | 10252581 | US | |
Parent | 08463827 | Jun 1995 | US |
Child | 10051066 | US |