1. Field of the Invention
The present invention is in the field of data compression and storage. In particular, the invention provides a method and apparatus for coding and transforming video signals for compressed storage for use with personal video recorders in an interactive television environment.
2. Description of the Related Art
New forms of television communication include the possibility of interactive television wherein a broadcaster cannot only send its programs to the viewer, but the viewer can send information back to the broadcaster. Content from the broadcaster typically includes network programs and commercials, as well as web pages, interactive televised programs, graphics and text, and other items. At the same time, a viewer may communicate with a broadcaster or other entity (e.g., a third party website) via a television set-top box or similar device. Users/viewers may interact with the systems by ordering advertised products or services, requesting specialized information regarding particular programs, or navigating through pages of information.
At the center of this communications stream is a set-top box (STB) which receives the broadcast content. Generally speaking, the STB includes “middleware” and related software configured to control the flow of received broadcast programs, internet traffic, and data conveyed from the viewer. Also included in a viewer's STB (or coupled to the viewer's STB) may be the ability to record broadcast data for later use.
There are several methods currently in use by which viewers may record television broadcasts. One such method includes the use of a Video Cassette Recorder (VCR) which records received broadcasts onto video cassette tapes. Newer recording devices include Personal Video Recorders (PVR) which are typically coupled to a viewer's set-top box. PVRs typically include features that extend beyond the capabilities of conventional VCRs. One such feature is the ability to pause and rewind during the recording of a live broadcast. The recorded portion may then be viewed later or skipped to catch up to the real-time broadcast. Another possible use of the PVR is to record one television show while playing back another, previously recorded show. Typically, the PVR achieves these feats by recording compressed video signals on hard-disk drives so that they can be played back on command. However, PVRs have limited storage space (current typical values are about 40 Gigabytes). Moreover, a set top box (STB) which is configured to record may have even less storage when equipped with an integrated disk storage device.
One of the issues involved in recording programs concerns the quality of playback. Given a finite amount of recording space, there is a trade-off between the quantity of the signal one can record and its quality. To achieve higher quality, it is generally necessary to record more components of the signal being recorded and, in turn, use more space on the recording medium. Consequently, fewer high-quality images can be recorded on a medium than low-quality images.
In order to increase the amount of data which can be recorded onto a given medium, data compression techniques are frequently used. In the case of analog devices, varying levels of compression, and corresponding quality, may be chosen by a user. For example, VCR technology includes the possibility of recording at several levels of quality. VCR devices can currently be set to record at either lower or higher qualities. Creating a high quality recording generally requires more recording tape than does a low quality recording. Consequently, a viewer can record more programs at low quality settings that at high quality settings.
Other compression methods have been used with video file servers which may serve MPEGs requested by clients. Generally, the bit streams which are stored in these server libraries are typically coded at high quality levels and clients may request these video programs at different levels of video quality. However, the number of users and the quality of video delivered to the users is constrained by the outgoing channel capacity. To simultaneously accommodate the plurality of users who are demanding different levels of video quality, the video file server may scale the stored bit streams to a reduced bit rate. The video signals can then arrive as compressed data at the set-top box. In this instance, only the broadcaster needs to be equipped with the scaling hardware.
Newer television devices, including the set-top box and the PVR, have expanded the abilities of recording methods. New possibilities, such as playing back one recorded program while simultaneously recording another, are beyond the capabilities of the VCR. In order to support expanded abilities, the ability to record a greater amount of video within the STB storage or a digital PVR may be needed. There is also a desire for greater viewer control over the quality of the video stored in the viewer's PVR and to offer the consumer the opportunity for recording a greater number of hours with a smaller and less expensive storage device. Finally, in view of the above, there is a desire to make efficient use of the limited amount of disk space that is available in a PVR or similar device.
Described herein are methods and apparatus for compressing incoming video streams on an STB. In one embodiment, a client-server distributed computing system is configured to enable the storage of more data within the client. In one embodiment, the client-server distributed computing system comprises an interactive television system wherein broadcast data is stored on a viewer's STB or PVR. One contemplated embodiment provides for real time compression or data reduction by removing bits from the incoming data stream in order to reduce the amount of storage required to store associated content. Also contemplated is a background data reduction technique wherein the incoming data stream is first stored and then compressed (perhaps further compressed if already compressed) at a later time to reduce storage requirements. Also contemplated is the ability for a viewer to control the quality of stored video or data in the viewer's PVR. Consequently, it may be possible to offer consumers the ability to record content associated with more data without requiring more storage space.
For a detailed understanding of the present invention, reference should be made to the following detailed description and accompanying drawings, in which like elements have been given like numerals, wherein:
The present invention relates to a PVR or similar storage device for use in a television system. While the following discussion describes additional compression of MPEG encoded signals, the methods and mechanisms are equally applicable to signals that have been encoded or compressed using other methods of encoding and/or compression. It is also noted that the present invention is also applicable to distributed computing systems other than interactive television systems.
Turning now to
In one embodiment as described herein, it is possible to re-adjust the compression level of a received data stream in order to adapt to a viewer's need, or desire, for minimizing the use of storage space in the viewer's PVR. In this manner, the set-top box may be configured to respond to the viewer's wish to balance storage space versus quality of the recording. This compression may be performed in real-time before the stream is stored on the PVR's mass storage device. Alternatively, this compression may be performed after the data has been stored.
One reason compressing the data at a later time, after it has already been stored, might be useful is that STBs typically have limited processing capability and may not be able to process and store data in real-time. Therefore, processing and compression may be performed at a later time, such as when the viewer is not using the PVR. As a second example, a viewer may specifically request such a recording to occur in the background, either as an implicit process or as explicitly requested. For example, a viewer may wish to expressly request compression of an old video stream rather than deleting it to free up space. In various embodiments, the age of a video and/or its type may be used as factors in deciding whether a stored or received video stream is a candidate for compression or reduction.
Processor 15 may comprise an MPEG compressor in an STB which is capable of performing MPEG compression in real-time. Processor 15 may also operate to process the data in the background or at a later time, that is, after the MPEG video data is stored in the buffer or on the STB disk or PVR. In typical STBs which have limited processing capability and storage space, a less compute intensive methodology for data storage reduction may be utilized in Processor 15. For example, U.S. Pat. No. 5,889,561 (hereinafter '561), which is hereby incorporated by reference in its entirety, describes data reduction techniques wherein data is reduced in an MPEG encoded stream by removing high frequency block characteristics. These data reduction techniques of the '561 patent may be utilized in the STB in order to reduce the data storage requirements for an MPEG video stream without the requirement of decompressing and recompressing the MPEG video stream. There are a number of known variable data reduction schemes which are suitable for implementation in processor 15 for the PVR or STB disk, which are now available and suitable for meeting file size reduction and data reduction requirements.
In one embodiment, the user can select a level of data reduction based on the age of a program, or the type of program, and the amount of available storage. For instance, an STB user can selectively elect to capture incoming MPEG video streams in full resolution and store the incoming MPEG stream as a reduced storage program after playing back or viewing the incoming video stream. Of course, removing bits from the bit stream in order to perform the data reduction of the present invention may have some effect on the resolution and quality of the stored video. The STB or PVR user may also elect to periodically compress the video data stored on the STB disk or PVR in the background to reduce data storage requirements. For example, a program that has already been viewed may be selected for data reduction, a program that is older than a specified time may be further compressed or otherwise reduced to make room for more video storage space on the PVR or STB disk.
In one embodiment, STB or PVR storage space is allocated and an appropriate variable data reduction rate is automatically selected to reduce the data storage requirements to fit within the available storage space. For example, a program may be indicated to have a duration D, and incoming data rate Ri, from electronic program guide information. Such information may be included, for example, in an electronic information table (EIT) periodically transmitted to the user in the broadcast stream. Alternatively, the incoming data rate, Ri, may be calculated by the STB. The duration D may then be multiplied by the incoming data rate Ri to calculate an incoming data storage requirement Si. The available storage, Sa, or the target storage St (i.e., the amount of storage which the viewer desires to use for a particular data stream) in the STB disk or PVR is divided by incoming data storage requirement, Si, to calculate the variable data reduction factor, DRF, corresponding to a data reduction level that should be applied to the incoming data to reduce the data storage requirement to fit the data into the available storage Sa or target storage St. Thus, the data reduction factor, DRF is inversely proportional to the ratio of the target storage, St or the available storage, Sa divided by the incoming data storage requirement, Si. A user may also select different data storage reduction levels, 1−N, corresponding to discrete DRFs depending on program type or title.
For example, an STB or PVR user may utilize a larger DRF, eliminating relatively more data to reduce the data storage requirements and associated resolution for less critical viewing, such as for older programs, reruns or comedy programming in which the user may have less interest in visual detail or special visual effects only available at higher resolution data densities. The user may select a different DRF, for minimal reduction of data storage and resolution for sports programming in order to be able to track the movement of players and balls during golf, baseball, tennis or football. In one embodiment, the viewer may select a primary DRF which is generally applicable to all programming, and a second DRF to be applied for exceptions to the primary DRF. For example, sporting events may use the secondary DRF wherein the secondary DRF overrides the primary DRF. In addition to changing the DRF for different types of programs, the DRF may also be changed during a given program according to content. For example, commercials or advertisements can be detected and stored at a high DRF, stored in a separate portion of memory, or eliminated from storage altogether.
In one embodiment, an adaptive DRF is calculated and applied to the incoming video stream, and stored video streams, to achieve a balance between a desired level of data reduction, viewing resolution for the incoming video, and the existing level of data storage. For example, incoming video streams may initially be allocated a quantity of memory corresponding to a quantity of target storage, St. If the target storage, St is too small to accommodate an incoming video signal at a particular data rate, then additional storage may be requested from a storage manager. If additional storage is available, the storage manager will increase the storage allocated to the incoming video stream. If additional storage is not available, then an already stored video program may be selected for reduction based on the stored program type, age of the program in storage, assigned priority, a user assigned data resolution minimum, or some other suitable basis. In one embodiment, a user profile of previous data reductions selected by the user may be utilized by data manager to make decisions regarding data reduction of the present incoming video stream. For example, if in the past the user has generally selected comedy programs for reduction, the data manager may locate and compress any stored comedy programs.
In one embodiment, a “look-ahead” data reduction scheme is employed whereby programs that have been selected for viewing are assessed for data storage requirements. Prior to the program actually arriving at the STB or PVR, the STB disk or PVR is assessed for available storage. If the available storage is insufficient to store the incoming video stream or program, a DRF is selected to further reduce the data comprising the stored video programs and the incoming video stream. In a preferred embodiment, an STB or PVR controller either performs local data reduction or compression or optionally sends a message to the head-end or other originator of an incoming video stream and requests that data compression or data reduction be performed at the head-end or originator so that the incoming video stream is broadcast or transmitted to the STB or PVR in a reduced data or compressed format, thereby reducing the bandwidth required for transmission and the storage required at the local STB disk or PVR.
Turning now to
In one embodiment, the recording indication may correspond to a program which is to air at a much later date. For example, the STB may be configured to continuously monitor received electronic program guide data (e.g., EIT data) for program or other data which have been requested by the viewer or match some profile corresponding to the viewer. Such EIT or other data may further include an indication as to the total amount of data in the broadcast program. For example, as described above there may be included a duration D and data rate Ri from which the incoming data storage requirements Si may be determined. Other methods for indicating a programs total data are possible and are contemplated.
Subsequent to determining the storage requirements (block 604), a determination may be made (decision block 606) as to a particular data reduction factor DRF (i.e., level of compression) desired. Such an indication may be made explicitly by the viewer (e.g., quality level highest, compression level greatest, etc.) or could by automatically determined based on factors such as the amount of storage space available, the type of program indicated, or otherwise. Alternatively, a default compression level may be utilized if no DRF indication is detected (decision block 606). Subsequent to determining the desired level of compression and corresponding storage space required, a determination is made (decision block 608) as to whether there is sufficient storage space available for the proposed recording. If there is sufficient space (decision block 608), then the program may be subsequently compressed (block 612) using the desired DRF and stored (block 614). It is noted that the desired compression which is indicated may be no compression, in which case compression processing at block 612 is simply bypassed.
In the event there is insufficient space to accommodate the proposed recording (decision block 608), previously stored data may be identified (block 610) for compression or removal. Data or programs identified for removal may correspond to those which are older, those which are of a particular type, those which have already been viewed at least once, or otherwise. Numerous such identification techniques are possible. Upon identifying a particular program (block 610) for compression, the amount of compression required for the already stored program is determined. Generally speaking, the amount of compression required may be the minimum amount necessary to enable storage of the proposed program. In some cases it may be necessary to compress more than one stored program to make room for the proposed recording.
In one embodiment, the stored data has already been compressed (e.g., using MPEG compression) and further compression of the already stored program is accomplished by removing high frequency block characteristics as described in the '561 patent. In this manner it may not be necessary to decompress the stored data in order to accomplish the size reduction and corresponding processing demands placed upon the STB may be reduced. Alternative embodiments may include techniques which decompress then recompress the stored data, or compress stored data which has not yet been compressed.
In addition to the above, programs and data may have explicitly, or implicitly, determined priorities. For example, sporting events may be given a higher priority by a viewer than dramas. Priorities may also be implicitly determined, for example, based on the viewing habits of a particular viewer. Other factors discussed above, such as the age and/or type of a stored program may also imply a particular priority. In the event multiple recordings are indicated as being desired, the STB may be configured to compare priorities in order to determine which of the proposed recordings takes precedence. Comparisons may also be made between desired recordings and already stored recordings. For example, if it is not possible to store a proposed recording without deleting a currently stored program, and the proposed recording has a lower priority than all of the currently stored data, then the proposed recording may be rejected by the STB and not recorded.
Decision block 706 indicates a state wherein a background compression has been detected. A “background” compression may correspond to a background process in a multi-tasking environment, or may simply be a process occurring during off hours (e.g., late at night). For example, such an indication (decision block 706) may be in response to a prescheduled event. It is noted that
If a background compression is indicated or otherwise detected (decision block 706), data which has already been stored is identified for compression (decision block 708). Such a process may be similar to that described in block 610 of
While the present invention has been described in the context of an interactive television system, it may also be embodied in a distributed computer system comprising a server and a client device. In another embodiment, the present invention is implemented as a set of instructions on a computer readable medium, comprising ROM, RAM, CD ROM, Flash or any other computer readable medium, now known or unknown that when executed cause a computer to implement the method of the present invention.
While the foregoing disclosure is directed to particular embodiments of the invention, various modifications will be apparent to those skilled in the art. It is intended that all variations within the scope and spirit of the appended claims be embraced by the foregoing disclosure. Examples of the more important features of the invention have been summarized rather broadly in order that the detailed description thereof that follows may be better understood, and in order that the contributions to the art may be appreciated.
This application claims benefit of priority to Provisional Application Ser. No. 60/407,839 filed Sep. 3, 2002.
Number | Date | Country | |
---|---|---|---|
20100250774 A1 | Sep 2010 | US |
Number | Date | Country | |
---|---|---|---|
60406997 | Aug 2002 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 10652096 | Aug 2003 | US |
Child | 12795425 | US |