Media compression and delivery provide an indispensable modality for multimedia communications. Various applications exist, including digital TV, video on demand, video e-mail, videophone, video conferencing, and rich media e-learning. These applications have been exemplified most prominently by the IP-based World Wide Web and wireless communications services. Faster development and wider deployment of rich media communications is foreseen for the near future, as higher access bandwidth through cable and digital subscriber loop modems become available, server and network load is reduced through large-scale deployment of IP multicast, and the backbone bandwidth increases.
Unfortunately, unlike more traditional networks such as ISDN, which may provide a guaranteed quality of service (“QoS”) for connections, both the IP-based Internet and wireless networks are relatively unreliable. Currently, they offer no QoS guarantees. QoS-guaranteed transmission for all rich media streams in their entirety is infeasible and may remain so for a long time owing to technical and economical constraints. Unavoidable packet loss, bit error, burst error, delay, and jitter make the effective transmission of rich media over such lossy networks a challenging task. These network characteristics influence the transmission of compressed bit streams, alter the nature of the end-to-end quality, and essentially call for renewed design of the rich media delivery system.
Thus, it is desirable that a media server be able to adapt the content to the current conditions. Adaptive media services are the focus of the present disclosure. For example, if a client requests the progressive delivery of a video sequence over a lossy wireless channel, the media server should adapt the streamed content to both varying packet loss ratios and available channel rates. This adaptation would yield a better user experience. It is especially desirable that such an adaptation should not require tremendous processing power at the media server, which is the case for typical online transcoding techniques.
According to an embodiment of the present disclosure, a method of streaming data over a communications network with varying streaming conditions, said method comprising conditioning a data steam to generate a plurality of conditional data representations of the data stream, wherein the conditioned data representations comprise different encoded representations of source data of the data stream each targeting a different set of running conditions, wherein conditioning comprises partitioning the data stream into a plurality of data units, and generating the different encoded representations of each of the data units of the data stream, packaging the plurality of conditioned data representations of the data stream together with metadata that specifies a target set of running conditions associated with the different encoded representations of the data stream, wherein the conditioned data representations are packaged by pre-computing one or more trajectories among the plurality of different encoded representations for each of the data units based on a given finite set of streaming conditions, observing a current run-time condition of a computing network, and dynamically selecting one of the packaged conditioned data representations for streaming over the computing network according to the running conditions specified in the metadata of the packaged conditioned data representations in view of the current run-time condition of the computing network.
The present disclosure teaches a system and method for Multiple Description Hinting and Switching for Adaptive Media Services in accordance with the following exemplary figures, in which:
A system and method for Multiple Description Hinting and Switching for Adaptive Media Services are provided. In the description that follows, the following terms are pre-defined:
Access Unit: An access unit is a media unit to which embodiments of the present disclosure apply, such as, for example, video pictures in a video sequence or audio frames in a sound track.
Description: A description is a compressed access unit that is ready to be delivered by a server.
Description Properties: A vector of properties relative to a particular description, the vector denoted by “p”. This vector describes a particular description in a way that is compliant with a specific implementation or embodiment of the present disclosure.
Running Conditions: A vector of actual conditions to which a server must adapt, the vector denoted by “xc”.
Embodiments of the present disclosure attach a piece of information or “metadata” to every single description. This metadata characterizes a description in terms of the description's properties in a way that is compatible with the implementation of a Description Selection algorithm. A media server analyzes the metadata of all the descriptions pertaining to the access unit under consideration, and decides which description(s) to send depending on the observed and/or calculated running conditions xc. That is, there are no predefined trajectories among the different descriptions. Instead, the media server picks at every time instant or access unit duration the most appropriate description(s) with property p such that |x(p)−xc| is minimum under pre-established constraints.
As shown in
Turning to
Control is passed to a loop initialization block 226 if the block 224 determines that the local loop counter has reached the limit. The loop initialization block 226, in turn, passes control to a function block 228 that retrieves two descriptions, checks whether a previously computed distortion is less than the distortion between the two retrieved descriptions, and computes a value alpha. The function block 228 passes control to a counter block 230, which increments an inner loop counter, and, in turn, passes control to a decision block 232. The decision block 232 checks whether the inner loop counter is less than a limit, and if so, passes control back to the function block 228. If the decision block 232 finds that the inner loop counter has reached the limit, control is passed to an outer counter block 234, which, in turn, passes control to a decision block 236. The block 236 checks whether the outer loop counter is less than a limit, and if so, it passes control back to the function block 228. If the decision block 236 determines that the outer loop counter has reached the limit, it passes control to a write block 238. The write block 238, in turn, writes the metadata alpha and passes control back to the counter block 212.
Thus, the Packaging tool 200 packages the various versions into a file, such as on disk, and attaches metadata such that a streaming server can effortlessly determine the most appropriate trajectory among these versions to target current observed running conditions (i.e., xc in
Turning now to
Thus, a Streaming Server 300 periodically measures the current running conditions xc from the System 400 over which the packaged data may flow. A customer comes in and requests the data previously conditioned and packaged. The Streaming Server thereby reads data from the packaged data, retrieves the various versions at time t along with the attached metadata, and computes the most appropriate subset of versions to send at time t given xc for all times t between time 0 and time T (i.e., the end of the packaged data).
As shown in
Turning to
The media server sends the descriptions when playback is requested. Since a description results from digitally compressing an access unit, the compression parameters (e.g., CODEC, bit rate) directly affect the descriptions' properties (e.g., size, distortion). Thus a sequential set of descriptions optimally targets one and only one set of running conditions xc. We denote by x the running conditions a set of sequential descriptions targets.
Turning out of sequence to
A first solution was to capture every unique description before it was actually sent over the network and to perform some processing on it (e.g., a transcoding algorithm). While this solution provided a fine-grained scalability property (one could make |x−xc| as small as possible), it also resulted in tremendous processing requirements, and thereby dramatically reduced the number of concurrent streams the media server was capable of handling. Another solution created multiple descriptions per access unit. The present disclosure builds on this paradigm.
Turning now to
Embodiments of the present disclosure combine advantages of both worlds. That is, the embodiments provide a generic framework by which fine-grained scalability may be achieved at a negligible impact on the required processing power.
As shown in
As shown in
As shown in
As shown in
Let Dij denote the jth description of access unit i, with 0<=j<Ni and 0<=i<A. For example, consider
The method of this preferred embodiment is composed of two parts: First we identify the description properties and suggest a method to compute their values. Next we suggest a method for a media server to efficiently use these properties given the current running constraints.
For the Description Properties, the vector of description properties is defined as p=[S, alpha], where S is the size in bytes of the description and alpha is a weighting factor taking possibly discrete values in the interval [−1 1], where the deviation is denoted in source distortion. We assume that the source distortion of a description at time i can be zero but cannot be more than twice as much as the distortion of a description at time i−1 in this example. The description properties vector may contain many more elements in alternate embodiments. In addition, the computation of alpha here and below is also merely exemplary.
The computation of the size S is straightforward. The computation of alpha (see
alphaij(k)=MSE(Dij)(k)/MSE(Di−1j)−1 (1)
with k such that 0<=k<Ni−1 and MSE(Di−1j)=maxk (MSE(Di−1j)(k)).
Therefore a description is fully described by 1+Ni×Ni
For the Media Server, streaming media over the standard protocol RTP/RTCP is considered. The media server periodically receives an RTCP Receiver Report message that contains an evaluation of both the packet loss ratio and the round-trip time the connection experiences. We denote by rho and RTT this packet loss ratio and round-trip time, respectively. We compute R(i) as:
R(i)=(1.3×MTU)/(RTT×sqrt(rho)) (2)
where MTU is the packet size being used on the connection. At every access unit time instant i, the media server knows the description that has been selected at time i−1. We denote by k the index of this description. It then computes Ni distortion values Dij by Dij=Di−1k(1+alphaik). Finally the media server selects description k* at time i with the minimum distortion and such that the size Sik* is lower than or equal to R(i)×Delta.
Accordingly, rate adaptation via access unit skipping is covered by the present disclosure, embodiments of which create an extra null description for all skippable access units. Preferred embodiment implementations of the present invention fully comply with the MPEG-4 family of standards, and may thereby be applied directly to MP4 client players such as Quicktime 6.0, the IBM JAVA player and Real One.
These and other features and advantages of the present disclosure may be readily ascertained by one of ordinary skill in the pertinent art based on the teachings herein. It is to be understood that the teachings of the present disclosure may be implemented in various forms of hardware, software, firmware, special purpose processors, or combinations thereof.
The teachings of the present disclosure may be implemented as a combination of hardware and software. Moreover, the software is preferably implemented in firmware tangibly embodied on a program storage unit. The software may be uploaded to, and executed by, a machine comprising any suitable architecture. Preferably, the machine is implemented on a computer platform having hardware such as one or more central processing units (“CPU”), a random access memory (“RAM”), and input/output (“I/O”) interfaces. The computer platform may also include an operating system and microinstruction code. The various processes and functions described herein may be either part of the microinstruction code or part of the software, or any combination thereof, which may be executed by the hardware. In addition, various other peripheral units may be connected to the computer platform such as an additional data storage unit.
It is to be further understood that, because some of the constituent system components and methods showed in the accompanying drawings are preferably implemented in software, the actual connections between the system components or the process function blocks may differ depending upon the manner in which the present disclosure is programmed. Given the teachings herein, one of ordinary skill in the pertinent art will be able to contemplate these and similar implementations or configurations of the present disclosure.
Although the illustrative embodiments have been described herein with reference to the accompanying drawings, it is to be understood that the present disclosure is not limited to those precise embodiments, and that various changes and modifications may be effected therein by one of ordinary skill in the pertinent art without departing from the scope or spirit of the present disclosure. All such changes and modifications are intended to be included within the scope of the present disclosure as set forth in the appended claims.
Number | Name | Date | Kind |
---|---|---|---|
5847760 | Elmaliach et al. | Dec 1998 | A |
5953506 | Kalra et al. | Sep 1999 | A |
6128649 | Smith et al. | Oct 2000 | A |
6151636 | Schuster et al. | Nov 2000 | A |
6397230 | Carmel et al. | May 2002 | B1 |
6490627 | Kalra et al. | Dec 2002 | B1 |
6574609 | Downs et al. | Jun 2003 | B1 |
6587837 | Spagna et al. | Jul 2003 | B1 |
6628300 | Amini et al. | Sep 2003 | B2 |
6754266 | Bahl et al. | Jun 2004 | B2 |
6775652 | Cox et al. | Aug 2004 | B1 |
6813270 | Oz et al. | Nov 2004 | B1 |
6816901 | Sitaraman et al. | Nov 2004 | B1 |
6886042 | Watahiki et al. | Apr 2005 | B1 |
6973475 | Kenyon et al. | Dec 2005 | B2 |
7031259 | Guttman et al. | Apr 2006 | B1 |
7039189 | Kienzle et al. | May 2006 | B1 |
7216288 | Westerink et al. | May 2007 | B2 |
7228535 | Frossard et al. | Jun 2007 | B2 |
7249264 | Belknap et al. | Jul 2007 | B2 |
7277956 | Horen et al. | Oct 2007 | B2 |
7280658 | Amini et al. | Oct 2007 | B2 |
7283966 | Zhang et al. | Oct 2007 | B2 |
7305486 | Ghose et al. | Dec 2007 | B2 |
7313236 | Amini et al. | Dec 2007 | B2 |
7395355 | Afergan et al. | Jul 2008 | B2 |
20020069218 | Sull et al. | Jun 2002 | A1 |
20030099298 | Rose et al. | May 2003 | A1 |
20040039836 | Wee et al. | Feb 2004 | A1 |
20040068652 | Carpentier et al. | Apr 2004 | A1 |
20040117828 | Parker et al. | Jun 2004 | A1 |
20040162910 | Kryeziu | Aug 2004 | A1 |
20060156201 | Zhang et al. | Jul 2006 | A1 |
Number | Date | Country |
---|---|---|
WO 9900984 | Jan 1999 | WO |
WO 0072601 | Nov 2000 | WO |
Number | Date | Country | |
---|---|---|---|
20040199653 A1 | Oct 2004 | US |