The present invention relates to a digital video recorder and, more particularly, to a method and apparatus for storing a compressed MPEG-2 transport data stream with a conventional digital video recorder.
A conventional digital video (DV) recorder records a digitized version of an analog television signal. The analog signal may be the signal of the NTSC (National Television Systems Committee) color television system of the United States and Japan, the PAL (Phase Alteration Line Rate) television system of parts of Europe, or the SECAM (Se'quentiel Couleur 'a Memoire) television system of France, Russia and eastern Europe. For example, to digitallytecord the analog television signal of the NTSC system, the separate luminance and chrominance signals of the video signal are first sampled and quantized. Intraframe compression is applied to the digital data representing the video signal using techniques such as adaptive quantization (AQ), discrete cosine transformation (DCT), and variable length coding (VLC). Following compression, error correction is added to the data. The audio portion of the signal is processed in a similar manner. The digital audio and video data are copied to data elements of a digital video (DV) frame data structure and the audio and video data elements of the DV frame structure are stored as separate segments of recording tracks on a magnetic tape.
The input and output of most DV recorders are by means of isochronous data transport as defined by the IEEE 1394-1995, STANDARD FOR A HIGH PERFORMANCE SERIAL BUS, incorporated herein by reference. The IEEE 1394 standard defines a basic mechanism for real time data transport including an isochronous data packet 10, as illustrated in
The IEEE 1394 bus sequences through three general phases: a cycle initiation phase, an isochronous phase, and an asynchronous phase. At the completion of the cycle initiation phase, transfer of isochronous data packets 10 is enabled. Devices connected to the bus having an allocated isochronous channel arbitrate for the bus. When a device gains access to the bus, it locates the start of the DV video frame and buffers the next 250 valid data packets to collect a complete DV frame. The CIP headers are discarded and the remaining 120,000 bytes defines an NTSC DV frame.
A 525 lines, NTSC DV video frame 50 comprises odd and even video fields and is encoded into ten digital interface format (DIF) sequences 52, as illustrated in
Digital recording of analog television signals provides a number of advantages over analog recording of those signals. However, television is in transition from an analog system to a digital system based on the MPEG-2 video compression standard. In the digital television (DTV) system, signals for each of the elements of a television program are digitized. The digital elementary data streams are compressed and then multiplexed into a single MPEG-2 transport data stream for transmission to a receiver. At the receiver, the transport stream is separated into the constituent elementary data streams which are decompressed and presented to the viewer. MPEG-2 transport data streams can be recorded with a dedicated MPEG video recorder. However, purchasing a dedicated video recorder to record MPEG video, particularly during the transition to DTV, is an undesirable additional expense.
What is desired, therefore, is a method of storing an MPEG transport data stream on a conventional DV format video recorder for playback on a DTV receiver. SUMMARY OF THE INVENTION
The present invention overcomes the aforementioned drawbacks of the prior art by providing a method of processing data comprising the steps of copying the data to a data block formatted for digital video, and storing the data block on a storage medium in a digital video storage format. For example, packetized MPEG-2 transport stream data can be stored on a conventional digital video (DV) recorder by copying the transport stream data to one or more digital interface format (DIF) data blocks that are part of a digital video (DV) frame data structure. The DV frames containing the transport stream data are then recorded on video tape. The DV frames can be input to the video recorder by insertion into isochronous data transfer packets for transfer over an IEEE 1394 bus. On the other hand, if the data is formatted according to MPEG or another data formatting standard supported by IEEE 1394, the data may be transferred to the recorder before being inserted into a DV frame for storage. To present the stored data, the data is extracted from the DV frames and then decoded and presented using the customary applicable methods.
An apparatus for storing data with a digital video recorder is also disclosed comprising an accumulation buffer to accumulate a predetermined quantity of the data and a frame packetizer to copy the data to a data block of a digital video frame.
The foregoing and other objectives, features and advantages of the invention will be more readily understood upon consideration of the following detailed description of the invention, taken in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
Referring to
The receiver 104 may be connected to a digital video (DV) format video recorder or camcorder 146 by a bus 148 conforming to the IEEE 1394-1995, STANDARD FOR A HIGH PERFORMANCE SERIAL BUS. In the present invention, the packetized MPEG-2 transport stream data 122 is inserted into a DV data packet by a frame packetizer 150. The DV frame is, in turn, inserted into an IEEE 1394 isochronous transfer data packet by an IEEE 1394 isochronous data encoder 152 for transmission over the IEEE 1394 bus 148 to the video recorder 146. In the video recorder 146, the DV data packets are recovered from the transfer data packets by a depacketizer 153 and the DV formatted frames are stored on a storage medium 154, usually a DV formatted magnetic videotape. At play time, the DV formatted data are inserted into an IEEE 1394 isochronous packet by an encoder 155 and transmitted over the bus 148 to the transmission channel 102 and to the receiver 104 where the MPEG data is extracted. The MPEG transport stream data are decoded by the application decoders 132, 134, and 136 for display by the presentation system 144.
The IEEE 1394 standard also provides a mechanism for transferring data in an MPEG format over the serial bus 148. As an alternative embodiment, the transport stream data 122 could be encoded in the IEEE 1394 encoder as MPEG formatted data encapsulated in an IEEE 1394 packet. At the recorder 146, the MPEG data would be extracted from the IEEE 1394 data packet in the depacketizer 153. In this embodiment, the MPEG data would be inserted into the DV data format by a DV frame packetizer 157 in the recorder 146. The DV formatted data would then be stored on the storage medium 154. At play time, the DV formatted data would be copied from the storage medium 154 by the encoder 155. In the encoder 155, the MPEG data is extracted from the DV formatted data packets and then the MPEG data is inserted into an IEEE 1394 data packet for transmission over the serial bus 148. In this alternative embodiment, the MPEG data would be recovered from the IEEE 1394 packet in the reconstruction depacketizer 159.
The IEEE 1394 high speed serial bus 148 provides for both asynchronous and isochronous data transfer. Isochronous operation guarantees a bandwidth for devices, such as audio/video devices, that require constant data transfer rates. Isochronous transactions use a single isochronous data packet format to perform multicast or broadcast transfers to one or more nodes (attached devices) on the bus 148. The format of an IEEE 1394 isochronous data packet is illustrated in
The structure of the DV data packet 30 is defined by ISO/IEC 61833-1 and 61833-2, DIGITAL INTERFACE FOR CONSUMER ELECTRONIC AUDIONIDEO EQUIPMENT, and is illustrated in
The data of a DV frame 50 for NTSC television is divided into ten digital interface format (DIF) sequences 52 as illustrated in
In the present invention, MPEG-2 transport data stream packets are inserted into the last 76 bytes (the target data block) of the 77 byte data fields 58 of a plurality of video section DIF blocks 78 of one or more DV frames 50. Data is not stored in the first byte of the data field 58 because the DV recorder may alter the value of this byte as an error indicator. When writing to the recorder this byte is usually set to zero indicating no error, although other values are possible. DV frame packets 30, containing the DV formatted frames, are inserted into the payload of IEEE 1394 isochronous data transfer packets 10 for transfer over the IEEE 1394 bus. At the video recorder, the DV frames are extracted from the bus data stream and stored as DV formatted data on the videotape 154. Referring to
The redundancy field 92 of the DIF block contains an incrementing number indicating when new data is being stored in the DIF block. The DV format utilizes intraframe compression. The MPEG-2 compression process utilizes both intraframe and interframe data compression. The inventors realized that the 22.68 Mbps data capacity of the DV tape may substantially exceed the data rate of the MPEG transport stream 122. For example, standard definition MPEG-2 video has a maximum data rate of six Mbps. When the data rate capacity of the tape exceeds the data rate of the MPEG transport stream, the MPEG data can be stored redundantly on the tape. At 30 frames per second, approximately 200,000 bits of MPEG data must be stored in each DV frame structure 50. However, each DV frame 50 has a data capacity of 756,000 bits and the extra capacity can be used to redundantly store the MPEG data in multiple DIF blocks. If a DIF block is lost in transmission or storage, the data can be recovered from an identical DIF block in another DIF sequence. Further, when operating in a trick play mode the IEEE 1394 data stream may contain only fragments of each DV frame. Depending on trick play speed and data redundancy, it may be possible to reconstruct the original MPEG-2 transport stream from fragments of the DV frames. The redundancy value is a function of the DV frame structure capacity (756,000 bits) and the MPEG-2 data rate and can be expressed as:
Referring to
When the stored video is played, the data in the DV frames stored on the tape is sent from the recorder 154 to the receiver 104. The MPEG ID field 88 of MPEG header 80 (see
The transport stream is reconstructed by extracting the MPEG data from the IEEE 1394 packets in a reconstruction depacketizer 159 and then placing the MPEG-2 data from each of the DIF blocks 54 into a reconstruction buffer 156, illustrated in
The method and apparatus of the present invention may be used to store data other than MPEG-2 transport stream data on DV tape. For example, files from a PC hard disk or other data that may or may not be related to stored MPEG transport stream data (such as web page uniform resource locators (URLs), recording time, or system information) could be stored on DV tape utilizing the method. Further, if the data rate capacity of the DV tape exceeds the data rate of the MPEG transport stream, ancillary data can be stored by the DV recorder utilizing the method. Such ancillary data could include trick play frames to aid in trick play operation (such as, fast forward or reverse operation) of the video recorder. The trick play mode data may include MPEG frames stored redundantly on the tape to ensure that data is can be retrieved during fast play modes.
All the references cited herein are incorporated by reference.
The terms and expressions that have been employed in the foregoing specification are used as terms of description and not of limitation, and there is no intention, in the use of such terms and expressions, of excluding equivalents of the features shown and described or portions thereof, it being recognized that the scope of the invention is defined and limited only by the claims that follow.
This application is a division of U.S. application Ser. No. 09/465,415, filed Dec. 16, 1999.
Number | Name | Date | Kind |
---|---|---|---|
5510899 | Kim | Apr 1996 | A |
5526131 | Strolle et al. | Jun 1996 | A |
5535208 | Kawakami et al. | Jul 1996 | A |
5543932 | Chang et al. | Aug 1996 | A |
5563714 | Inoue et al. | Oct 1996 | A |
5579183 | Van Gestel et al. | Nov 1996 | A |
5587789 | Lee et al. | Dec 1996 | A |
5589993 | Naimpally | Dec 1996 | A |
5596581 | Saeijs et al. | Jan 1997 | A |
5619337 | Naimpally | Apr 1997 | A |
5623344 | Lane et al. | Apr 1997 | A |
5648960 | Sakazaki et al. | Jul 1997 | A |
5666461 | Igarashi et al. | Sep 1997 | A |
5668810 | Cannella, Jr. | Sep 1997 | A |
5668916 | Fujinmami | Sep 1997 | A |
5684917 | Yanagihara et al. | Nov 1997 | A |
5687275 | Lane et al. | Nov 1997 | A |
5717641 | Ando et al. | Feb 1998 | A |
5717816 | Boyce et al. | Feb 1998 | A |
5727113 | Shimoda | Mar 1998 | A |
5729648 | Boyce et al. | Mar 1998 | A |
5729649 | Lane et al. | Mar 1998 | A |
5739862 | Cen | Apr 1998 | A |
5754651 | Blatter et al. | May 1998 | A |
5757421 | Kato et al. | May 1998 | A |
5768466 | Kawamura et al. | Jun 1998 | A |
5771335 | Lee | Jun 1998 | A |
5774441 | Nakagawa | Jun 1998 | A |
5778143 | Boyce | Jul 1998 | A |
5784527 | Ort | Jul 1998 | A |
5790177 | Kassatly | Aug 1998 | A |
5793927 | Lane | Aug 1998 | A |
5802240 | Asai | Sep 1998 | A |
5802242 | Kawamura et al. | Sep 1998 | A |
5812734 | Shimoda et al. | Sep 1998 | A |
5832085 | Inoue et al. | Nov 1998 | A |
5832172 | Jeon | Nov 1998 | A |
5854840 | Cannella, Jr. | Dec 1998 | A |
5867625 | McLaren | Feb 1999 | A |
5872933 | Kanai et al. | Feb 1999 | A |
5909257 | Ohishi et al. | Jun 1999 | A |
5970392 | Hatae | Oct 1999 | A |
5987126 | Okuyama et al. | Nov 1999 | A |
6101215 | Takeda et al. | Aug 2000 | A |
6233282 | Guerrera | May 2001 | B1 |
6253019 | Yanagihara et al. | Jun 2001 | B1 |
6333950 | Karasawa | Dec 2001 | B1 |
6366731 | Na et al. | Apr 2002 | B1 |
6430356 | Hara et al. | Aug 2002 | B1 |
6442630 | Takayama et al. | Aug 2002 | B1 |
6507673 | Wang et al. | Jan 2003 | B1 |
6532232 | Goodwin, III | Mar 2003 | B1 |
6791947 | Oskouy et al. | Sep 2004 | B2 |
6826181 | Higashida et al. | Nov 2004 | B1 |
7298959 | Hallberg et al. | Nov 2007 | B1 |
20040042767 | Defrance et al. | Mar 2004 | A1 |
20040105658 | Hallberg et al. | Jun 2004 | A1 |
Number | Date | Country |
---|---|---|
2001094552 | Apr 2001 | JP |
WO 9713371 | Apr 1997 | WO |
Number | Date | Country | |
---|---|---|---|
20040105658 A1 | Jun 2004 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 09465415 | Dec 1999 | US |
Child | 10722854 | US |