|Title of Invention||
"A VIDEO ON DEMAND SYSTEM FOR TRANSMITTING A PLURALITY OF PRE-CODED PROGRAMS"
|Abstract||A Video-on-Demand Server architecture (100, 200, 300) transmits a plurality of pre-coded programs having different bit rates across a fixed bandwidth channel (11). For each program, a generator (120-12P-1, 110, 210) generates a plurality of different bit rate representations for each program. Each generator also provides control information at each of a plurality of successive time windows T for each bit rate representation. The control information provides a bit rate and a quality measure during each time window T. The control information enables a statistical multiplexer (16, 160, 260) to select a bit rate representation for each program during each time window T to maximize the quality of the selected representations while not exceeding the total available channel capacity.|
|Full Text||TECHNICAL FIELD
This invention relates to a technique for efficiently providing video on demand while maintaining bandwidth constraints of a fixed channel.
Present day Video-on-Demand (VoD) systems typically transmit Constant Bit Rate (CBR) video. Transmitting CBR video does not achieve the same efficiency as transmitting variable bit rate (VBR) video for equivalent long-term average bit rates. Transmitting multiple pre-recorded VBR-encoded video programs over a constant bandwidth channel has problems since the sum of the instantaneous bitrates required by each program can sometimes exceed the total available bitrate. On the other hand, broadcast applications employing real-time encoders use statistical multiplexing to exploit the instantaneous bitrate variations between multiple programs being carried on the same carrier or transponder. The encoders operate in real time to enable the system to constrain the total combined bit rate for all programs so as not to exceed the channel capacity over a given time window. Each video program has an associated complexity measure. A central controller dynamically adjusts the bit rate allocated to each video program based upon the relative complexities.
There now exist devices known as "video transraters" that operate to reduce the bit rate of video streams within a common compression standard, such as MPEG 2 for example. Present day transraters often experience difficulties when converting between constant and variable bit rates. Such transraters also can experience difficulties when trying to alter the bit rate for bit streams that have many scene changes, or a large number of I-Pictures.
Scalable video encoding, which permits dividing a video signal into a base layer and one or more enhancement layers, can also address bit rate issues. Several methods of scalable video encoding exist, including spatial, SNR, temporal, data partitioning, fine grain scalability (FGS), frequency scalability. The MPEG-2 and MPEG-4 video compression standards include several scalability methods. Using scalable encoding requires both the transmitter and receiver have the same ability to implement different coding algorithms, thus introducing additional complexity.
Thus, there exists a need for a technique for managing variable bit rate video on demand that obviates the disadvantages of the prior art.
BRIEF SUMMARY OF THE INVENTION
Briefly, in accordance with present principles, there is provided a method for transmitting a plurality of pre-coded programs having different bit rates across a fixed bandwidth channel. For each program, at least two, and preferably, a plurality of different bit rate representations are generated. Control information is provided at each of a plurality of successive time windows for each bit rate representation. The control information provides a bit rate and a quality measure during each time window. The control information enables selection during each time window of a bit rate representation for each program to maximize the quality of the selected representations while not exceeding the total available channel capacity in that time window.
BRIEF SUMMARY OF THE DRAWING
FIGURE 1 depicts a block schematic of first preferred embodiment of a Video-on-Demand server architecture in accordance with the present principles;
FIGURE 2 depicts a block schematic of second preferred embodiment of a Video-on-Demand server architecture in accordance with the present principles; and
FIGURE 3 depicts a block schematic of third preferred embodiment of a Video-on-Demand server architecture in accordance with the present principles.
Before proceeding to describe the technique of the present principles, the following terminology will prove helpful:
T is the time interval over which the system optimization is being contemplated
C is the total channel capacity available in time frame T
P is the total number of programs
p e (0, P-l), is the index of a particular program
Nfp] is the total number of representations of program p
n[p] (0, Nfp] -1) is the index of a particular representation of program p r[p, x] is the bit rate of representation x of program p during T q[p, x] is the quality of representation x of program p during T
FIGURE 1 depicts a first preferred embodiment of a Video-on-Demand server architecture 10 in accordance with the present principles for transmitting pre-encoded CBR and/or VBR audio/video programs over a fixed bandwidth channel 11 having a total channel capacity, C. The server architecture 10 includes a plurality of multirate stream generators 120, 121 ... 12p-1, where P is an integer greater than zero corresponding to the number of separate input streams. The stream rate generators 12o-12p1 each pre-code a corresponding one of the programs Program 0, Program 1 ...Program P-l at a plurality of different bit rates. Stated another way, each multirate stream generator pre-codes the corresponding program to yield at least two or more different bit rate representations. A representation can include a particular stored encoded bit stream, or a combination of various portions of different encoded bit streams. A storage device 14, typically in the form of a single disc drive, a Redundant Array of Inexpensive Discs (RAID), or a plurality of RAIDs, serves to store the pre-coded representations generated by the multirate stream generators 12o-12p.].
Each of the multirate stream generators 120-12P-1 generates control information for each time window T of for the corresponding one of Programs 0 to P-l, respectively. The control information for each time window T for each representation of each program includes an indication of the bit rate of that representation and a quality measure, such as the peak signal-to-noise ratio (PSNR) of the representation. A central statistical multiplexer ("stat mux") 16 receives the control information for each representation. At each successive time window T, the stat mux 16 selects a representation for each program to maximize the quality of the transmitted programs while maintaining the total bit rate at or below the total capacity C of the channel 11.
The lowest bit rate representation for each program should not exceed a prescribed value such that the sum of the lowest bit rates for all programs will not exceed the channel capacity for each interval T. In this way, at least one representation of each program can undergo transmission over the channel 11. Requiring the lowest bit rate representation for each program to have a peak bit rate of C/P or less can achieve this constraint. Other methods exist that meet
p-1 the constraint Σ r[p,0] ≤ C for all time windows T of all programs. Typically, advance
knowledge does not exist as to when playback of particular programs will commence. Therefore,
enforcing capacity restraints becomes easiest by requiring that the bit rate limit of the lowest bit rate representation be the same for all time windows T of a particular program.
The process for the maximization of the overall combined quality can occur in several
p-1 different ways. In all cases, the constraint Σ r[p,n[p]] ≤ C must remain met for all time
windows T of all programs. A minimax approach can satisfy the constraint by choosing n[p] for each p e (0, P-l) to maximize the quality of the minimum quaJity program (i.e., minimizing the maximum distortion.)
The minimax approach can be implemented by sorting the control information for each representation of each program so that the quality and bit rate index increases monotonically increasing with the index. The change in bit rate for each step (referred to as the "delta (A)"bit rate) is then stored. The stat mux 16 begins with the lowest index for each program representation and computes the total capacity S. The stat mux 16 the selects the program representation at the lowest quality and checks if adding its delta bit rate to S exceeds C. If the addition of the representation does not exceed C, the index for that representation is incremented, and process is repeated. Once C is exceeded, the representation with the next to lowest quality is checked to see if adding its delta bit rate to S exceeds C. The process is repeated until no increment in any representation can be made without exceeding the channel capacity C. Alternatively, the total quality of all programs could be optimized by maximizing the sum of the individual program qualities which involves solving the following constrained optimization problem:
max y,q[p,n[p]]; subject to Y r[p,n[p]}
It is also possible to optimize the product of the individual program qualities in the following
p-\ P-max π
The multirate stream generators 120-I2p.j can use severed different methods, or a combination of methods to form multiple representations of each program. In all cases, a random iccess point, such as an intra-coded (I) frame should occur at the beginning of each time window r, for each representation, so that for each time window T a different representation can be
chosen without causing drift. Each representation can use either CBR or VBR coding as long as the capacity of the lowest bit rate representation meets the total channel capacity constraint.
In a first method, a multirate video encoder encodes each program at several different bit rates into several independent bit streams. Each different bit rate bit stream serves as a different representation. FIGURE 2 depicts an architecture 100 for carrying out this method. As seen in FIG. 2, a multirate video encoder 110 serves to encode a corresponding program to yield a plurality of different rate representations. A separate one of transport packetizers 112o, 1122... 112p-1 each packetizes a corresponding representation. The multirate encoding performed by the multirate encoder 110, and the packetization performed by the packetizers 112o-l 12p-1 occurs once, not necessarily in real time, prior to storage in a storage device 140 similar in construction to the storage device 14 of FIG. 1.
Selection of the representations stored in storage device 140 for output in real time occurs in response to a signal received from a selector block 150. The selector block 150 identifies the stored representation for output in response to a request from the stat mux 160 for a particular representation. Upon receipt of the signal from the selector block 150, the storage device 140 supplies the selected packetized representations to the stat mux 160 for output.
In a second method, portions of the several different bit streams are combined to yield additional representations of a program. The presence of random access points at the same location in all bit streams of a program (as would naturally occur at scene changes) or the use of fixed group-of-pictures structures, permits the combination of compressed data from different bit rate streams at random access boundaries to form new representations. No need exists to store each representation independently, as long as the ability exists to generate each representation from the data that is stored. Consider the following example where T is one second, the data is coded at 30 fps, and I frames are inserted every 15 frames, yielding three different bit rate bit streams, designated as Bit stream 0, Bit stream 1, and Bit Stream 2, respectively. Each bit stream constitutes a separate representation. An additional representation can be formed which uses Bitstream 0 for the first 15 frames and Bitstream 1 for the second 15 frames, and so on.
Assuming alignment of the random access points with the transport packets, the server architecture 100 of FIG. 2 works well when the transport packetization occurs in advance. FIGURE 3 depicts a VoD server architecture 200 better suited when the random access points do not necessarily align with the transport packets. Referring to FIG. 3, VoD server architecture 200 includes multirate video encoder 210 for generating a plurality of different bit rate
representations for storage in a storage device 240 similar to the storage devices 14 and 140. The representations stored in the storage device 140 exist as un-packetized bit streams.
Selection of the representations stored in storage device 240 for output in real time occurs in response to a signal received from a selector block 250. The selector block 250, similar in nature to the selector block 150 of FIG. 2, identifies the stored representation for output in response to a request from a static mixer/multiplexer 260 for a particular representation. Upon receipt of the signal from the selector block 250, the storage device 240 supplies the selected packetized representations to the static mixer/multiplexer. A packetizer 212 packetizes the output stream of the static mixer/multiplexer 260 for output on the channel (not shown).
Representations also can be formed by switching between stored bit streams for non-reference pictures, such as for video codecs (not shown) that include pictures that are not used as reference pictures for predicting other pictures, such as MPEG-2 B frames or JVT non-stored pictures. Each non-reference picture can be selected from a different stored bitstream without affecting the quality of subsequently coded pictures, as the non-stored pictures are not used for prediction. Complete elimination of a non-reference picture in a representation can also occur. Each non-reference picture could be switched individually, or groups of non-reference pictures could be switched together, allowing for many possible total bit rate representations. The multirate stream signal generators 12o-12p-1 of FIG. 1 can choose to limit the number of possible representations to send to the stat mux 16 of FIG. 1 to choose those with significant differences in quality and bit rate. It is not necessary for each representation to be independently stored in storage, but a table listing the location and length of each coded frame can be stored to simplify generation of the representation when needed. It is also possible to store multiple bit rate bit streams only for the non-stored pictures and only store a single version of the reference (I and P) pictures, which can significantly reduce storage requirements.
With the VoD server architectures 100 and 200 of FIGS. 2 and 3, respectively, the stat mux 160 and the static mixer/multiplexer 260 generate a bit stream corresponding to the selected representation. If individual pictures are not transport packet aligned, the architecture 200 of FIG. accomplishes transport packetization after the generation of the bit stream for a particular representation. Otherwise, the VoD server architecture 100 of FIG. 2 FIG. 2 will work well.
In accordance with another aspect of the present principles, scalable video coding can occur by the use of a scalable video encoder (not shown) to form a base layer and one or more enhancement layers. Any type of scalability that which employs the base layer for motion compensated reference picture prediction in order to avoid drift can be used, such as frequency
scalability, FGS, SNR scalability or temporal scalability. The lowest bit rate representation corresponds to the base layer. The peak bit rate of the base layer must be such that when the bit rates of all programs' base layers are summed, the channel capacity C is not exceeded for each time window T. Other higher bit rate representations will correspond to the base layer plus some portion of the enhancement layer. This approach requires that the video decoder support the type of scalability used. The VoD server architecture 100 of FIG. 2 is used upon inclusion of an entire enhancement layer in a particular representation. The VoD server architecture 200 of FIG. 3 is used if portions of an enhancement layer are used in a representation.
For systems which use encryption for contents right management, the VoD server architecture 100 of FIG. 2 does not require any decryption or encryption in real time, as encryption is added to the transport packetization process done in non-real time and entire encrypted transport packets are stored and transmitted. The VoD server architecture 200 of FIG. 3 requires that encryption be performed along with transport packetization in real-time.
VoD programs generally include both audio and video. As audio bit rates are generally significantly lower than video bit rates and are also generally at a fixed bit rate, there is less advantage to be gained by selecting from different pre-encoded audio bit streams by the stat mux 16 and 160 of FIGS 1 and 2, and the static mixer/multiplexer 260 of FIG. 3. A user likely will find the switching of audio quality during the viewing of a single program disturbing. The total channel capacity C can be considered to be totally consumed by the video channel; assuming that a single bit rate audio stream is also sent for each program. Alternatively, the above-described methods can also be applied to audio, where multiple representations of audio programs with different bit rates and qualities can be generated.
A video player (not shown) that works with the VoD server architectures of the present principles will contain a video decoder (not shown) and some storage for buffering. For the particular program being received, the data can arrive at a non-uniform data rate, but with the requirement that the data corresponding to time unit T will arrive any time within the T time window. The video player must have the capability of buffering and delaying for T. An upper limit on the maximum bit rate that can be transmitted for a given representation of a program for a time window T can be pre-determined to limit the decoder complexity and decoder buffer size. The decoding buffer is generally a requirement of a video decoder, e.g. MPEG-2 levels sets buffer size particular requirements, and the combination of T and the bitrate may be chosen to meet it.
Fast forward and fast reverse tracks for each program can also be stored at the VoD server. They can be stored at a single bit rate, or at several different bit rates, and allowed to adapt as is done for the normal play program.
Determination of the time window T length is based on several factors. T should be as large as possible to get the most statistical multiplexing gain, but small enough to constrain the delay at the video player for start-up and switching between normal play and trick play streams. T should be small enough to meet decoder requirements.
The foregoing describes a system and method for efficiently providing video on demand while maintaining bandwidth constraints of a fixed channel.
1. A system for transmitting a plurality of pre-coded programs having different bit
rates across a fixed bandwidth channel, comprising :
means (12o- 12 p-1, 110) for generating at least two different bit rate representations of each program;
means (120- 12 p-1, 110) for providing control information at each of a plurality of successive time windows T for each representation of each program, the control information for each successive window indicating a bit rate and quality measure for a representation of a corresponding program; and
means (16, 160) for selecting during each time window T a representation for each program such to maximize the quality of the selected representations while not exceeding a total available capacity for the channel.
2. The system as claimed in claim 1, wherein the generating means and control
information providing means collectively comprise:
a plurality of multirate stream generators (120- 12 p-1), each associated with a corresponding one of the plurality of pre-coded programs.
3. The system as claimed in claim 1, wherein the generating means and control
information providing means collectively comprise:
a multirate video encoder (110)for encoding at least two bit rate representations of each pre-coded program.
4. The system as claimed in claim 1, wherein the generating means and control
information providing means collectively comprise:
a multirate video encoder (110) for encoding at least two bit rate representations of each pre-coded program; and
a plurality of transport packetizers (1120-l 12p-1), each serving to packetize the bit rate presentations for each pre-coded program
5. The system as claimed in claim I, wherein the selecting means includes a
static multiplexer (16,160).
6. The system as claimed in claim 3 , wherein the selecting means comprises: a static multiplexer (260); and a transport packetizer (212) for packetizing the selecting representation.
7. The system as claimed in claim 1, wherein the selecting means generates for each program a lowest bit rate representation having a peak bit rate not greater than C/P where C is the total channel capacity in time T and P is the total number of programs.
8. The system as claimed in claim 1, wherein control information providing means establishes quality measure in accordance with a peak signal-to-noise ratio (PSNR).
9. The system as claimed in claim 1, wherein the selecting means selects a representation program whereby the bit rate of total number of representations of the pre-coded program for each time window T does not exceed the available capacity of the channel.
10. The system as claimed in claim 9, wherein the selecting means chooses each
program's representation to maximize the quality of the program p that had the minimum
11. The system as claimed in claim 1, wherein the selecting means selects the representation for each program whereby the total quality of all the programs is optimized by maximizing the sum of the individual program qualities, wherein the bit rate of total number of representations of the pre-coded program for each time window T is less than or equal to the available capacity of the channel.
12. The system as claimed in claim 1, wherein the selecting means selects the representation for each program whereby the total quality of all programs is optimized by maximizing the product of the individual program qualities, wherein the bit rate of total number of representations of the pre-coded program for each time window T is less than or equal to the available capacity of the channel.
|Indian Patent Application Number||848/DELNP/2005|
|PG Journal Number||28/2010|
|Date of Filing||04-Mar-2005|
|Name of Patentee||THOMSON LICENSING S.A., a body corporate incorporated under the laws of the country of France, having registered office at 46, Quai A. Le Gallo, 92648 Boulogne, Cedex, France|
|Applicant Address||46, QUAI A.LE GALLO, F-92648 BOULOGNE, FRANCE|
|PCT International Classification Number||G06F|
|PCT International Application Number||PCT/US2003/028275|
|PCT International Filing date||2003-09-10|