The present invention relates to a method of and apparatus for recording video data onto a dual-layer recording disk, and a computer program.
There are three types of structures for the recording layer of a DVD-ROM (DVD Read Only Memory), which is a read-only DVD. That is, a single sided single layer type, a single sided dual layer type, and a double sided single layer each type. On the other hand, there are two types of structures for the recording layer of a DVD-R (DVD Recordable), which is a write-once type DVD. That is, a single sided single layer type and a double sided single layer each type. Now, a DVD-R of a single sided double layer type (hereinafter referred to as a “dual-layer DVD-R”) is under development.
In general, a compression method according to the MPEG standard (hereinafter referred to a “MPEG method”) is used when video images are recorded in a DVD video format. Under the MPEG method, video images are recorded as image data in each frame or field. The MPEG method employs a method in which certain image data is expressed by using a difference between the image data and past or future image data, i.e. predictive coding. Under the predictive coding, each image data is converted to any data of an I-picture (Intra-picture), a P-picture (Predictive-picture), and a B-picture (Bidirectionally predictive-picture), and it is then recorded.
MPEG video data is a video data string obtained by appending control information or management information to a plurality of image data, which are converted to any one of the I-picture, the P-picture, and the B-picture. The video data string can be divided into data groups, each of which is referred to as a GOP (Group Of Pictures). In other words, it can be said that the MPEG video data is a video data string in which a plurality of GOPs are arranged. Normally, one GOP includes 15 frames of image data.
The GOP includes an open GOP and a closed GOP. The open GOP includes the image data in which images cannot be reproduced completely without reference to the image data included in another GOP. The closed GOP does not include the image data in which images cannot be reproduced completely without reference to the image data included in another GOP. In other words, two B-pictures which are located at the head of the open GOP cannot be decoded without reference to the P-picture which is located in the tail of the previous GOP (or GOP located one before) of the GOP including the B-pictures. Therefore, it is necessary to refer to the previous GOP whenever the open GOP is decoded. In contrast, all the B-pictures and P-pictures included in the closed GOP can be decoded with reference to the I-picture or P-picture included in the GOP including the aforementioned B-pictures and P-pictures. Therefore, normally, it is unnecessary to refer to another GOP when the closed GOP is decoded.
When video images are recorded onto a DVD-R of a single sided single layer type in the DVD video format and the MPEG method, normally, only the GOP located at the head of the MPEG video data is set as the closed GOP, and all the subsequent GOPs are set as the open GOPs.
Currently, a DVD recorder with a built-in hard disk drive is widespread. The DVD recorder can receive video data transmitted by television broadcast or the like and record the received video data (hereinafter referred to “received video data”) onto a hard disk by using the built-in hard disk drive. Moreover, such a DVD recorder has a function of reading the video data recorded on the hard disk and recording it onto a DVD-R or other write-once type or rewritable type DVDs. That is, a dubbing (or copy) function.
When the dual-layer DVD-R is provided in the market, it is desired to provide the functions of reading the video data recorded on the hard disk and continuously recording it onto the dual-layer-DVD-R for the DVD recorder with a built-in hard disk drive. The single sided single layer DVD-R has a recording capacity of 4.7 GB. In contrast, the dual-layer DVD-R has a recording capacity of 8.5 GB. Therefore, the provision of the function of continuously recording the video data onto the dual-layer DVD-R allows prolonged video contents to be stored on one recording disk.
There is, however, the following problem in order to realize the function of continuously recording the video data onto the dual-layer DVD-R. That is, on the DVD recorder with a built-in hard disk drive, the received video data is encoded to the MPEG video data by an encoder apparatus disposed in the DVD recorder. Then, the MPEG video data is recorded onto the hard disk by the built-in hard disk drive. At this time, in the MPEG video data encoded by the encoder apparatus, only the GOP located at the head of the MPEG video data is the closed GOP, and all the subsequent GOPs are the open GOPs. When the video data which is recorded on the hard disk in the MPEG method and whose data size is greater than the recording capacity of a first layer (layer 0) of the dual-layer DVD-R is read from the hard disk and is continuously recorded onto an unused dual-layer DVD-R, a change in the recording layer (hereinafter referred to as a “layer-change/layer-jump”) is made in the middle of the recording process. As a result, the video data of the open GOP is recorded into the head of a recording area of a second layer (layer 1). As described above, the two B-pictures which are located at the head of the open GOP cannot be decoded without reference to the P-picture which is located in the tail of the previous GOP of the GOP including the B-pictures. Therefore, in order to decode the GOP recorded at the head of the recording area in the second layer, it is necessary to make the layer-change and refer to the GOP located in the tail of the video data recorded in the first layer. However, making the layer-change again reduces swiftness and continuity of the decoding process. As a result, there possibly arises a problem that reproduced video images are temporarily stopped (or frozen) upon the layer-change.
On the other hand, in order to maintain the swiftness and continuity of the decoding process, it is also considered that the decoding process is forced to be continued with disregard to the undecodability of the two B-pictures located at the head of the recording area in the second layer. Performing such a process, however, causes a lack of video images immediately after the layer-change, resulting in a disturbance of the reproduced video images.
In order to solve the above-exemplified problems, it is therefore a first object of the present invention to provide a method of and an apparatus for recording video data onto a dual-layer recording disk and a computer program, which can realize quick and complete decoding of video data, which is continuously recorded on a write-once or rewritable type recording disk with two or more recording layers on a single side, such as a dual-layer DVD-R.
It is a second object of the present invention to provide a method of and an apparatus for recording video data onto a dual-layer recording disk and a computer program, which can prevent, upon the layer-change, a lack of the partial reproduced video images of video data, which is continuously recorded on a write-once or rewritable type recording disk with two or more recording layers on a single side.
It is a third object of the present invention to provide a method of and an apparatus for recording video data onto a dual-layer recording disk and a computer program, which can prevent, upon the layer-change, a disturbance of the reproduced video images of video data, which is continuously recorded on a write-once or rewritable type recording disk with two or more recording layers on a single side.
The above object of the present invention can be achieved by a first recording method of recording a video data string onto a dual-layer recording disk, the video data string including a plurality of independent data groups and a plurality of dependent data groups which are arranged in a predetermined order, each of the independent data groups having a plurality of image data which do not include image data in which images cannot be reproduced completely without reference to image data included in another data group, each of the dependent data groups having a plurality of image data which include image data in which images cannot be reproduced completely without reference to image data included in another data group, the recording method provided with: a selecting process of comparing a data size of a data string arrayed from a head of the video data row to immediately before each of the independent data groups with a size of a space recording area in a first layer of the dual-layer recording disk and of selecting a data string with a data size which is less than and minimally different from the size of the space recording area; a calculating process of calculating a difference between the data size of the data string selected in the selecting process and the size of the space recording area in the first layer of the dual-layer recording disk; a first recording process of recording dummy data with a data size corresponding to the difference, from the head of the space recording area in the first layer of the dual-layer recording disk; a second recording process of recording the data string selected in the selecting process, out of the video data string, into a recording area following the recording area in which the dummy data is recorded in the first layer of the dual-layer recording disk; and a third recording process of recording the data string arrayed from the independent data group disposed immediately after the data string selected in the selecting process to the tail of the video data string, out of the video data string, into a recording area in a second layer of the dual-layer recording disk.
The above object of the present invention can be also achieved by a first recording apparatus for recording a video data string onto a dual-layer recording disk, the video data string including a plurality of independent data groups and a plurality of dependent data groups which are arranged in a predetermined order, each of the independent data groups having a plurality of image data which do not include image data in which images cannot be reproduced completely without reference to image data included in another data group, each of the dependent data groups having a plurality of image data which include image data in which images cannot be reproduced completely without reference to image data included in another data group, the recording apparatus provided with: a selecting device for comparing a data size of a data string arrayed from a head of the video data row to immediately before each of the independent data groups with a size of a space recording area in a first layer of the dual-layer recording disk and of selecting a data string with a data size which is less than and minimally different from the size of the space recording area; a calculating device for calculating a difference between the data size of the data string selected in the selecting device and the size of the space recording area in the first layer of the dual-layer recording disk; a first recording device for recording dummy data with a data size corresponding to the difference, from the head of the space recording area in the first layer of the dual-layer recording disk; a second recording device for recording the data string selected in the selecting device, out of the video data string, into a recording area following the recording area in which the dummy data is recorded in the first layer of the dual-layer recording disk; and a third recording device for recording the data string arrayed from the independent data group disposed immediately after the data string selected in the selecting device to the tail of the video data string, out of the video data string, into a recording area in a second layer of the dual-layer recording disk.
The above object of the present invention can be also achieved by a first computer program for making a computer function as the first recording apparatus of the present invention.
The above object of the present invention can be also achieved by a second recording method of recording a video data string onto a dual-layer recording disk, the video data string including a plurality of closed GOPs (Group Of Pictures) and a plurality of open GOPs which are arranged in a predetermined order, the recording method provided with: a selecting process of comparing a data size of a data string arrayed from a head of the video data row to immediately before each of the independent data groups with a size of a space recording area in a first layer of the dual-layer recording disk and of selecting a data string with a data size which is less than and minimally different from the size of the space recording area; a calculating process of calculating a difference between the data size of the data string selected in the selecting process and the size of the space recording area in the first layer of the dual-layer recording disk; a first recording process of recording dummy data with a data size corresponding to the difference, from the head of the space recording area in the first layer of the dual-layer recording disk; a second recording process of recording the data string selected in the selecting process, out of the video data string, into a recording area following the recording area in which the dummy data is recorded in the first layer of the dual-layer recording disk; and a third recording process of recording the data string arrayed from the closed GOP disposed immediately after the data string selected in the selecting process to the tail of the video data string, out of the video data string, into a recording area in a second layer of the dual-layer recording disk.
The above object of the present invention can be also achieved by a second recording apparatus for recording a video data string onto a dual-layer recording disk, the video data string including a plurality of closed GOPs (Group Of Pictures) and a plurality of open GOPs which are arranged in a predetermined order, the recording apparatus provided with: a selecting device for comparing a data size of a data string arrayed from a head of the video data row to immediately before each of the independent data groups with a size of a space recording area in a first layer of the dual-layer recording disk and of selecting a data string with a data size which is less than and minimally different from the size of the space recording area; a calculating device for calculating a difference between the data size of the data string selected in the selecting device and the size of the space recording area in the first layer of the dual-layer recording disk; a first recording device for recording dummy data with a data size corresponding to the difference, from the head of the space recording area in the first layer of the dual-layer recording disk; a second recording device for recording the data string selected in the selecting device, out of the video data string, into a recording area following the recording area in which the dummy data is recorded in the first layer of the dual-layer recording disk; and a third recording device for recording the data string arrayed from the closed GOP disposed immediately after the data string selected in the selecting device to the tail of the video data string, out of the video data string, into a recording area in a second layer of the dual-layer recording disk.
The above object of the present invention can be also achieved by a second computer program for making a computer function as the second recording apparatus of the present invention.
The above object of the present invention can be also achieved by a first computer program product in a computer-readable medium for tangibly embodying a program of instructions executable by a computer, to make the computer function as the first recording apparatus of the preset invention. The above object of the present invention can be also achieved by a second computer program product in a computer-readable medium for tangibly embodying a program of instructions executable by a computer, to make the computer function as the second recording apparatus of the preset invention.
According to each of the computer program products of the present invention, the aforementioned first or second recording apparatus of the present invention can be embodied relatively readily, by loading the computer program product from a recording medium for storing the computer program product, such as a ROM (Read Only Memory), a CD-ROM (Compact Disc-Read Only Memory), a DVD-ROM (DVD Read Only Memory), a hard disk or the like, into the computer, or by downloading the computer program product, which may be a carrier wave, into the computer via a communication device. More specifically, the computer program product may include computer readable codes to cause the computer (or may comprise computer readable instructions for causing the computer) to function as the aforementioned first or second recording apparatus of the present invention.
11 video data string
12 closed GOP (independent data unit)
13 open GOP (dependent data unit)
21 dual-layer recording disk
31 dummy data
104 controller
110 DVD recorder
114 dual-layer DVD-R
Hereinafter, the embodiments of the present invention will be explained in each embodiment with reference to the drawings.
(Recording Method)
An embodiment of the recording method of the present invention applies the recording method of the present invention if a video data string encoded in the MPEG method is recorded onto a dual-layer recording disk. In other words, the embodiment of the recording method of the present invention is a method of recording a video data string in which a plurality of closed GOPs and a plurality of open GOPs are arranged in a predetermined order, onto a dual-layer recording disk.
As shown in
In the selecting process S11, as shown in
Then, in the calculating process S12, as shown in
Then, in the first recording process S13, as shown in
In the second recording process S14, as shown in
Then, in the third recording process S15, the recording layer of the dual-layer recording disk 21 is changed from the first layer to a second layer (layer 1). Then, out of the video data string 11, the data string arrayed from the closed GOP 12 disposed immediately after the data string selected in the selecting process S11 to the tail of the video data string 11 is recorded into a recording area in the second layer of the dual-layer recording disk 21.
According to such a recording method, as shown in
Moreover, according to the recording method, as shown in
Furthermore, according to the recording method, as shown in
Incidentally, in the examples of the respective processes shown in
(Recording Apparatus)
An embodiment of the recording apparatus of the present invention will be explained. The recording apparatus in the embodiment of the present invention applies the recording apparatus of the present invention if a video data string encoded in the MPEG method is recorded onto a dual-layer recording disk. In other words, the embodiment of the recording apparatus of the present invention is an apparatus for recording a video data string in which a plurality of closed GOPs and a plurality of open GOPs are arranged in a predetermined order, onto a dual-layer recording disk.
The recording apparatus is provided with: a selecting device; a calculating device; a first recording p device; a second recording device; and a third recording device. The selecting device compares a data size of a data string arrayed from a head of the video data row to immediately before each closed GOP with a size of a space recording area in a first layer of the dual-layer recording disk and of selecting a data string with a data size which is less than and minimally different from the size of the space recording area. The calculating device calculates a difference between the data size of the data string selected in the selecting device and the size of the space recording area in the first layer of the dual-layer recording disk. The first recording device records dummy data with a data size corresponding to the difference, from the head of the space recording area in the first layer of the dual-layer recording disk. The second recording device records the data string selected in the selecting device, out of the video data string, into a recording area following the recording area in which the dummy data is recorded in the first layer of the dual-layer recording disk. The third recording device changes the recording layer of the dual-layer recording disk from the first layer to a second layer and then records the data string arrayed from the closed GOP disposed immediately after the data string selected in the selecting device to the tail of the video data string, out of the video data string, into a recording area in the second layer of the dual-layer recording disk.
Each of the devices of the recording apparatus can be realized by a ROM (Read Only Memory) in which a control program which describes each process in the recording method of the present invention is stored, an arithmetic processing circuit for reading the control process from the ROM and executing it, a RAM (Random Access Memory), and a disk drive apparatus for a dual-layer recording disk.
Incidentally, by describing the control program which describes each process in the recording method of the present invention as a computer program and by making a computer read the computer program, it is possible to make the computer function as the recording apparatus of the present invention.
Hereinafter, an example of the present invention will be explained with reference to the drawings. In the following example, the encoding apparatus and the recording apparatus of the present invention are applied to a DVD recorder with a built-in hard disk drive. This is one preferable example to carry out the present invention.
The DVD recorder 100 has a function of recording video data transmitted from a television broadcast station or the like onto a hard disk built in the DVD recorder 100, i.e. a recording function. The recording operation is as follows. The video data transmitted from a television broadcast station or the like is inputted to the input terminal 101. The interface circuit 102 receives the video data and outputs it to the encoder 103. The encoder 103 generates a video data string on the basis of the received video data, wherein the video data string includes a plurality of closed GOPs and a plurality of open GOPs which are arranged in a predetermined order. At this time, the encoder 103 generates the video data string to dispose one closed GOP at intervals of one or more open GOPs (refer to
Moreover, the DVD recorder 100 has a function of reading the video data row recorded on the hard disk and recording it onto a dual-layer DVD-R 114, i.e. a dubbing (or copy) function.
When a user inserts the dual-layer DVD-R 114 into the DVD drive 110 and operates the operation device 108 to input an instruction to start the dubbing or copy, the controller 104 of the DVD recorder 100, as shown in
If the layer-change is necessary (the step S22: YES), the controller 104 sets a counter value i to 1 (step S23). Then, the controller 104 refers to the management information recorded on the hard disk (refer to
If the data size is greater than the size of the space recording area in the first layer (the step S25: YES), the controller 104 recognizes the position of the previous GOP (or GOP located one before) of the i-th GOP at the current time point, i.e. the (i−1)-th GOP, on the basis of the management information. Then, the controller 104 obtains the size of data arrayed from the head of the VOB to immediately before this closed GOP (step S27). Incidentally, the data string arrayed from the VOB to immediately before this closed GOP is a data string with a data size which is less than and minimally different from the size of the space recording area in the first layer of the dual-layer DVD-R 114.
Then, the controller 104 calculates a difference between the data size obtained in the step S27 and that of the space recording area in the first layer (step S28). Then, the controller 104 records dummy data with a data size corresponding to the difference, calculated in the step S28, from the head of the space recording area in the first layer (step S29).
Then, the controller 104 records the data string arrayed from the head of the VOB to immediately before the (i−1)-th closed GOP, out of the VOB, into a recording area following the recording area in which the dummy data is recorded in the first layer (step S30). This allows the data string to be recorded to the tail of the recording area in the first layer.
Then, the controller 104 issues a layer-change command to the DVD drive 110 (step S31). In response to this, the DVD drive 110 performs a layer-change process. Then, the controller 104 records the data string arrayed from the (i−1)-th GOP to the tail of the VOB, out of the VOB, into a recording area in the second layer of the dual-layer DVD-R (step S32). This allows the (i−1)-th GOP to be recorded at the head of the recording area in the second layer.
On the other hand, in the step S22, if the layer-change is not necessary (the step S22: NO), the controller 104 records the VOB into the space recording area in the first layer of the dual-layer DVD-R 114 (step S33). Incidentally, the VOB is recorded from the space area in the first layer in the example, but if the VOB is recorded onto a disk on which information is already recorded in the first layer, the VOB is recorded into a space area in the second layer. In other words, in the step S22, if it is judged that the layer-change is not necessary, the VOB is recorded into the space area in the first layer or the second layer.
According to the dubbing or copy operation, the closed GOP is recorded at the head of the recording area in the second layer. Therefore, even if the layer-change is made when the VOB recorded on the dual-layer DVD-R 114 is decoded (or reproduced), it is possible to achieve quick and complete decoding and it is possible to prevent a lack of one portion of the reproduced video images upon the layer-change. As a result, it is possible to prevent a disturbance of the reproduced video images immediately after the layer-change. Moreover, according to the dubbing or copy operation, the data string is recorded to the tail of the recording area in the first layer. Therefore, when the video data string recorded on the dual-layer DVD-R 114 is decoded (or reproduced), it is possible to prevent a lack of the reproduced video images upon the layer-change. Moreover, according to the dubbing or copy operation, the layer-change is made in the boundary position of the GOP. Thus, the ECC block does not cross between the first layer and the second layer. Therefore, the error correction can be surely performed.
Incidentally, in the present invention, various changes may be made without departing from the essence or spirit of the invention which can be read from the claims and the entire specification. A recording method, a recording apparatus, and a computer program which can realize these functions, which involve such changes, are also intended to be within the technical scope of the present invention.
The method of recording video data onto a dual-layer recording disk and the recording apparatus for a dual-layer recording disk according to the present invention can be applied to a recording apparatus, such as a DVD recorder, for recording video data onto a dual-layer DVD-R or the like. Moreover, they can be also applied to a recording apparatus or the like which is mounted on various computer equipment for consumer use or for commercial use, or which can be connected to various computer equipment.
Number | Date | Country | Kind |
---|---|---|---|
2005-040353 | Feb 2005 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP2006/302730 | 2/16/2006 | WO | 00 | 10/10/2007 |