InTech uses cookies to offer you the best online experience. By continuing to use our site, you agree to our Privacy Policy.

Computer and Information Science » Communications and Security » "Trends in Telecommunications Technologies", book edited by Christos J Bouras, ISBN 978-953-307-072-8, Published: March 1, 2010 under CC BY-NC-SA 3.0 license. © The Author(s).

Chapter 28

Video Streaming in Evolving Networks under Fuzzy Logic Control

By Martin Fleury, Emmanuel Jammeh, Rouzbeh Razavi, Sandro Moiron and Mohammed Ghanbari
DOI: 10.5772/8490

Article top

Overview

Example FMO slice groups and types (after (Lambert, 2006) a) Continuing row (type 0) b) geometrical selection (type 2) c) checkerboard selection (type 1).
Figure 1. Example FMO slice groups and types (after (Lambert, 2006) a) Continuing row (type 0) b) geometrical selection (type 2) c) checkerboard selection (type 1).
FLC delay-based congestion controller
Figure 2. FLC delay-based congestion controller
IT2 FLCC (a) Delay factor (Df) (b) Trend membership functions.
Figure 3. IT2 FLCC (a) Delay factor (Df) (b) Trend membership functions.
IT2 FL calculation of output FOU
Figure 4. IT2 FL calculation of output FOU
Video server for all-IP network.
Figure 5. Video server for all-IP network.
VoD IPTV video delivery architecture.
Figure 6. VoD IPTV video delivery architecture.
Packet loss rate for an increasing noise level.
Figure 7. Packet loss rate for an increasing noise level.
Mean received video quality for an increasing noise level.
Figure 8. Mean received video quality for an increasing noise level.
R-D curves for three well-known video sequences.
Figure 9. R-D curves for three well-known video sequences.
A statistical multiplexor architecture.
Figure 10. A statistical multiplexor architecture.
Number of non-zero motion vectors on a GOP basis.
Figure 11. Number of non-zero motion vectors on a GOP basis.
Scene Complexity Index (SCI) on a GOP basis.
Figure 12. Scene Complexity Index (SCI) on a GOP basis.
PSNR fluctuation of input test sequences.
Figure 13. PSNR fluctuation of input test sequences.
Bandwidth allocation share per GOP with FLC controller.
Figure 14. Bandwidth allocation share per GOP with FLC controller.
Normalized per-frame frequencies of video quality for which the three test clips kept within a desired quality range for FLC and equal (fixed) CBR allocation bandwidth.
Figure 15. Normalized per-frame frequencies of video quality for which the three test clips kept within a desired quality range for FLC and equal (fixed) CBR allocation bandwidth.
Comparative video quality over time achieved for Highway between FLC and equal CBR (fixed) schemes.
Figure 16. Comparative video quality over time achieved for Highway between FLC and equal CBR (fixed) schemes.
Video quality according to FLC and equal CBR (fixed) schemes for the ADSL REIN model.
Figure 17. Video quality according to FLC and equal CBR (fixed) schemes for the ADSL REIN model.

Video Streaming in Evolving Networks under Fuzzy Logic Control

Martin Fleury1, Emmanuel Jammeh1, Rouzbeh Razavi1, Sandro Moiron1 and Mohammed Ghanbari1

1. Introduction

Internet Protocol TV (IPTV) and other video streaming services are expected to dominate the bandwidth capacity of evolving telecommunications networks. In fact, managed, all-IP networks are under construction with video largely in mind. In these networks, a variety of broadband access networks will form the final link to the home across which video is streamed from proprietary servers. Co-existing with these networks or as an extension of them, the traditional, best-effort Internet will continue to support applications such as video-on-demand, Peer-to-Peer (P2P) streaming, and video clip selection.

This Chapter will begin by broadly surveying research and development of video streaming across evolving telecommunications networks under the categories of best-effort and managed networks. In particular, the Chapter will introduce the different forms of control that are necessary to ensure the quality of the delivered video, whether live or pre-encoded video, when for the latter bitrate transcoding may be required. The concentration will be on single-layer unicast distribution though simulcast, bandwidth reservation, multicast, and other forms of delivery will be touched upon.

With the growth in computational power, rate-distortion (R-D) control has emerged as an effective way to optimise the output encoded bitstream. In R-D control, the optimal choice of compression rate (and hence codec output bitstream rate) relative to improvement in video quality is sought. (The choice is generally found through the method of pre-set Lagrangian multipliers with trial codec settings repeatedly tested to find the best result.) Though attempts have been made to integrate R-D control and network congestion control (Chou & Miao, 2006), often congestion control has been considered separately as best-effort networks are prone to fluctuations in available bandwidth. In all-IP networks, though traffic in the core of the network will be switched, the variety of access network types poses a problem to servers that may be oblivious of the final hop technology. When broadband wireless (IEEE 802.16 d,e, WiMAX (Fleury et al., 2009)) access links are involved error control is especially important.

The Chapter will then specialise to consider in what ways fuzzy logic controllers (FLCs) have been applied to rate control and congestion control. A feature of this Chapter will be consideration given to the growing prominence of type-2 fuzzy logic in networked multimedia control, bringing greater robustness in the face of unforeseen network conditions. To illustrate the application of fuzzy logic control, the Chapter will include two case studies. One of these will show how type-2 logic can improve upon type-1 logic, both of which forms of congestion control improve upon traditional controllers respectively within managed networks and within the Internet. The design of the controllers is illustrated for non-specialists, showing how type-2 controllers extend type-1 FLCs. From the results of simulations, FLCs in a managed network are shown to be superior to traditional congestion controllers. Transcoding is presented as an effective way to apply fuzzy logic control.

With the advent of IPTV, statistical multiplexing has again become an important issue for managed networks. Unlike traditional broadcast channels, network distribution may involve changes in available bandwidth and streaming conditions because of the variety of possible access types and coexisting traffic. In the second case study, an FLC is used to integrate two video complexity measures to achieve an effective combination of video or TV channels. The intention is dynamically to reduce the bandwidth allocation to channels that are already of high enough quality and increase the quality of streams with potentially greater coding complexity. Simulation results are presented to show the value of the approach applying the state-of-the-art H.264 codec. This case study will also include a review of other forms of statistical multiplexing.

2. Video streaming

2.1. Streaming basics

In video streaming, the compressed video bitstream is transmitted across a network to the end user’s decoder (prior to display) without the need for storage other than in temporary buffering. Its advantage over progressive download from a network point-of-view is that the throughput is only that required to render the video at the user’s display. Download risks overloading the network by too high a throughput. If download is not progressive, then the user has to wait an intolerable time before (say) viewing a 2 hr movie. There are also issues of commercial confidentiality if the video is stored on the user’s machine.

Downloading video does permit Variable Bitrate (VBR) to be transported. In VBR, the codec quantization parameter (QP) is fixed leading to a constant quality. The alternative is to set a target bit rate for Constant Bitrate (CBR) video and allow fluctuating quality but with a gain in controllability. The main problem with VBR is that due to a strong variation in the number of bits allocated to each of the frame types (Lakshman et al., 1998) the rate is highly variable (Van der Auwera & Reisslein, 2009). Long video streams are also not statistically stationary in time, which causes a problem when attempting to model video input to a network. This variability is accentuated in the H.264/Advanced Video Codec (AVC) (Schwarz, 2007) and it is reported (Van der Auwera et al., 2008) that the variability is accentuated the more so in the Scalable Video (SVC) extension to H.264, with the result that prior smoothing of VBR streams is contemplated. (The reason for increased variability is attributable to the increased number of motion estimation modes in H.264/AVC and in H.264/SVC, the addition of hierarchical B-frames.)

In temporal smoothing, multiple encoded frames are accumulated so that the compressed bitstream can be packetized and sent at a desired average bitrate. This form of traffic shaping has the disadvantage for video streaming that end-to-end latency is increased by the number of frames accumulated. For ‘conversational’ video services, which have an additional latency introduced by the need to encode each frame, the effect on the viewer can be disconcerting. Ideally end-to-end latency should be no longer than 200 ms. For this reason, in services such as teleconferencing and videophone, CBR is preferable. However, for pre-encoded video at a significant cost in computational complexity (Salehi et al., 1998) it is also possible through optimal smoothing to send video frames (or rather their compressed bitstream) in advance of their decode time, provided it is known that overflow (or underflow) at the playback buffer will not occur. In the best-effort Internet, jitter introduced by cross-traffic congestion will disrupt these calculations but in those network cores in which ATM or virtual ATM is still in place optimal smoothing has a role. Unfortunately, the presence of access networks of differing types prior to the consumer’s home, or reduced bandwidth links prior to campus and corporate networks introduces an ill-behaved section within the end-to-end path.

Video is known as a delay-sensitive service but in fact there are varying levels of intolerance, and a limit of 200 ms has been mentioned. However, for one-way streaming the delay requirements are less stringent. For example, channel swapping or VCR-like control is restricted to 500 ms intervals, because anchor or key frames at which switching can occur are placed at these intervals within a stream. Another form of delay is start-up delay, with Video-on-Demand (VoD) services hoping to make this imperceptible (< 20 ms), which is perhaps possible on the Internet if the Resource ReSerVation Protocol (RSVP) (Zhang et al., 1997) were to be widely deployed. Variation in delay (jitter) is also important in terms of media synchronization (between audio and video) (Blakowski & Steinmetz, 1996). However, there are also display deadlines to be met, implying that a jitter buffer should be dimensioned to absorb any variation in delivery (assuming Internet delivery). For reference frames (one used for predictive motion estimation), their data is still of value for decoding future frames even if they miss their display deadline. Too large a receiver buffer will lead to increased end-to-end latency and start-up delay, while too small a buffer may cause overflow. This is why adaptive buffers have been contemplated in the research literature (Kalman et al., 2002).

Video streaming is also known as a loss-tolerant service. However, this is misleading as the loss of more than 10% of packets will generally lead to a noticeable deterioration in the quality of the video unless: error-resilience measures have been taken; error control through some form of acknowledgements (ACKs) is used (as in the Windows Media system); Forward Error Correction (FEC) is in place; or error concealment can be applied. A combination of these methods is preferable as part of an error response strategy and unequal error protection (UEP) is possible. In UEP, protection is prioritized according to compressed video content or the structure of the video. Acknowledgments are possible but their impact on delay must always be judged. For example, in (Mao et al., 2003) layered streaming was attempted across an ad hoc network in which multi-hop routing and broken links can lead to high levels of delay. In layered streaming (Mao et al., 2003), a more important base layer allows a basic reconstruction of the video while one or more enhancement layers can improve the quality. However, because of the high risk of delay, in (Mao et al., 2003) it was only possible to send one ACK at most to secure the base layer.

Though FEC schemes with linear decoder complexity (Raptor codes, a variety of rateless erasure codes) have been developed (Shokrollahi, 2006), FEC generally leads to delay in encoding. Because of the additional delay involved in sending acknowledgments (or negative acknowledgments), when there is a long round-trip-time careful engineering needs to be applied if rateless erasure coding is to be used. In rateless or Fountain coding (MacKay, 2005), additional redundant data can always be generated, while in conventional forms of channel coding such as Reed-Solomon, there is a threshold effect whereby if the channel noise or packet erasures pass the level of protection originally provided then all data are lost.

Error resilience techniques, the range of which have been expanded in the H.264 codec (Wenger, 2003), are based on source coding. Error resilience results in lower-delay and as such is suitable for real-time, interactive video streaming, especially video-telephony and video conferencing. However, due to the growing importance of broadband wireless access networks, error resilience is also needed to protect video streaming to the home. This is because physical-layer FEC is already present and, therefore, application-layer FEC may duplicate its role. The exception is if application-layer FEC can be designed to act as an outer code after inner coding at the physical layer, in the manner of concatenated channel coding.

Compressed frame data is often split into a number of slices each consisting of a set of macroblocks. In the MPEG-2 codec, slices could only be constructed from a single row of macroblocks. Slice resynchronization markers ensure that if a slice is lost then the decoder is still able to continue with entropic decoding. Therefore, a slice is a unit of error resilience and it is normally assumed that one slice forms a packet, after packing into a Network Abstraction Layer unit (NALU) in H.264. Each NALU is encapsulated in a Real Time Protocol (RTP) packet. Consequently, for a given frame, the more slices the smaller the packet size and the less risk of packet loss through bit errors.

In H.264/AVC, by varying the way in which the macroblocks are assigned to a slice (or rather group of slices), Flexible Macroblock Ordering (FMO) gives a way of reconstructing a frame even if one or more slices are lost. Within a frame up to eight slice groups are possible. A simple FMO method is to continue a row of macroblocks to a second row, Figure 1a, but allow disjoint slice groups (Lambert et al., 2006). Regions of interest are supported, Figure 1b. Checkerboard slice group selection, Fig, 1c allows one slice group to aid in the reconstruction of the other slice group (if its packet is lost) by temporal (using motion vector averaging) or spatial interpolation. Assignment of macroblocks to a slice group can be general (type 6) but the other six types pre-define an assignment formula, thus reducing the coding overhead from providing a full assignment map.

Data partitioning in H.264/AVC separates the compressed bitstream into: A) configuration data and motion vectors; B) intra-coded transform coefficients; and C) inter-coded coefficients. This data form A, B, and C partitions which are packetized as separate NALUs. The arrangement allows a frame to be reconstructed even if the inter-coded macroblocks in partition C. are lost, provided the motion vectors in partition A survive. Partition A is normally strongly FEC-protected at the application layer or physical layer protection may be provided such as the hierarchical modulation scheme in (Barmada et al., 2005) for broadcast TV. Notice that in codecs prior to H.264, data partitioning was also applied but no separation into NALUs occurred. The advantage of integral partitioning is that additional resynchronization markers are available that reset entropic encoding. This mode of data partitioning is still available in H.264 and is applied to I-frames.

media/image1.jpg

Figure 1.

Example FMO slice groups and types (after (Lambert, 2006) a) Continuing row (type 0) b) geometrical selection (type 2) c) checkerboard selection (type 1).

The insertion of intra-coded macroblocks into frames normally encoded through motion-compensated prediction allows temporal error propagation to be arrested if matching macroblocks in a previous frame are lost. Intra-refresh through periodic insertion of I-frames with all macroblocks encoded through spatial reference (intra-coded) is the usual way of catching error propagation. However, I-frames cause periodic increases in the datarate when encoding at a variable bitrate. They are also unnecessary if channel switching points and VCR functions are not required.

This brief review by no means exhausts the error-resilience facilities in H.264, with redundant frames, switching frames, and flexible reference frames also considered in (Stockhammer & Zia, 2007). We have referred to H.264/AVC anchor frames as I-frames for consistency with previous codecs. In fact, H.264 uses Instantaneous Decoder Refresh (IDR)-frames for the same purpose, whereas H.264 I-frames allow motion estimation reference beyond the Group of Pictures boundary.

Error concealment (Wang & Zou, 1998) is the process of concealing errors at the decoder. However, the form of error concealment is implementation dependent because of the complexity of these algorithms. In fact, for reasons of speed, previous frame replacement is often preferred. If lost frames are replaced by the last frame to arrive successfully there is a danger of freeze frame effects. When there is rapid motion or scene cuts then partial replacement of macroblocks from the previous frame will result in obvious blocky effects. For error concealment in H.264/AVC (Vars & Hannuksela, 2001) the motion vectors of correctly received slices are computed if the average motion activity is sufficient (more than a quarter pixel). Research in (Vars & Hannuksela, 2001) gives details of which motion vector to select to give the smoothest block transition. It is also possible to select the intra-coded frame method of spatial interpolation, which provides smooth and consistent edges at an increased computational cost. Experience shows a motion-vector-based method performs best except when there is high motion activity or frequent scene changes (Kim & Kim, 2002).

2.2. Streaming systems

In networked video delivery, systems are classically divided (Chou, 2007) into streaming and broadcast systems. In the former, video is pre-encoded before storage and access by a server, while in the latter there is no storage before server access and multicast over a network. A further distinction in this model is that in streaming a control path exists, whereas the presence of many receivers in a broadcast system means that feedback would be impossible to manage. Feedback can be used for congestion control but it can also return VCR commands, typically through the Real Time Streaming Protocol (RTSP) (Schulzrinne et al., 1998). Nevertheless, it is possible to stream both pre-encoded and online or live video because, after feedback notification of congestion, the streaming rate can be changed through bitrate transcoding (Assunção & Ghanbari, 1997) (Sun et al., 2005). One problem that fast transcoding may face in the H.264 codec is error drift when transcoding I-frames (Lefol et al., 2006).

Scalable video also allows rate control as a response to network conditions or target device capability but a full discussion of the variety of multi-layer or scalable options such as Fine Grain Scalability (Radha et al., 2001), Multiple Description Coding (Wang, 2005), signal-to-noise ratio (SNR) scalability (Pesquet-Popescu et al., 2006) would require another chapter. Rich though the scalable options are commercial Internet operators seem to prefer simple schemes such as simulcast as used by RealVideo. In simulcast, multiple streams are stored (or encoded online) at different rates and selected according to network conditions. In H264/AVC, stream switching frames allow a smoother transition between low and higher quality stream at lower cost in bandwidth than through switching at I-frames.

At the target device, video is first buffered in a playout buffer, decoder or client buffer (there are various alternative names) prior to access by the decoder. This buffer will vary in size depending on the capabilities of the device. Large buffers are not advisable for battery-powered devices because of both active and passive energy consumption. Nevertheless some buffering is required to absorb variation of delay (jitter) over the network.

Because of motion-compensated prediction coding it is always necessary to store packets prior to decode, especially if VBR is in use. An additional render buffer, able to store a few frames prior to display, is also generally present. Apart from buffer overflow in the intermediate buffers of routers through congestion, buffer overflow at the playout buffer is also possible. Packets arriving too late for their display or decode deadlines may also be dropped. It is also possible, because of jitter, for buffer underflow to occur. In fact, in the Windows Media system (Chou, 2007) the receiver monitors the buffer level to detect network congestion. Again like RealVideo, Windows Media uses simulcast, with the receiver signaling the server to swap to a lower rate stream when it detects congestion. However, the Windows Media receiver or client is not only reliant on buffer monitoring, because packet loss at the receiver is also taken into account.

3. Congestion control

In this Section, the focus is on congestion control of single stream unicast for IPTV and other multimedia services. Because the main thrust in congestion control research is to provide an enhanced service through VBR delivery, this Section concentrates on that whereas in Section 4 on statistical multiplexing, multi-channel delivery of CBR streams is considered. The latter is likely to be a broadcast service.

3.1. IPTV and unicast streaming

Real-time video applications, such as IPTV, video-on-demand (VoD), and network-based video recorder interest telecommunication companies, because of their high bitrates, though they also risk overwhelming existing networks if it is not possible to control their flows. The unicast variety of IPTV is very attractive because it allows streaming of individual TV programs at a time chosen by the end user. Broadly speaking, two types of heterogeneous delivery network exist: 1) the familiar Internet, with best-effort Internet Protocol (IP) routing, i.e. an unmanaged IP network; and 2) All-IP networks, which retain IP packet framing but, particularly in the network core, switch packets (across Clos switches) rather than employ packet routers, i.e. a managed IP network. These IP networks are generally referred to as converged networks, as they combine a traditional telephone service (through Voice-over-IP) with data delivery (normally high speed Internet access) and TV (through IPTV). The marketing term for such a combined service is ‘triple-play’ and if mobility is added then this term becomes ‘quadruple-play’.

IPTV services are in active commercial development for converged telephony networks, such as British Telecom's 21st Century Network (21CN) (Geer, 2004) or the all-IP network of KPN in the Netherlands.. Within the 21CN, video streaming is sourced either from proprietary servers or from an external Internet connection, with best-effort routing. Before distribution from the server to individual users, multiple videos streams will share a multimedia channel, an example being MPEG-2 Transport Stream which serves for H.264/AVC pre-encoded streams. These video streams could represent different TV channels that can be selected by the IPTV user. However, when the multimedia channel leaves the core network it is commonly delivered across an access network such as Asymmetric Digital Subscriber Line (ADSL) (Zheng & Liu, 2000), when different delivery conditions apply.

On the Internet, video streams must coexist with other data traffic, while in emerging All-IP networks multimedia traffic may predominate. In an All-IP network, as in the Internet, a capacity restriction may still exist at the connection between the network core and the access network, of which the technology can be cable (Vasudevan et al., 2008), broadband wireless (IEEE, 2004), or connections to the Video Serving Office (Han et al., 2008) from which video is typically distributed over Asymmetric Digital Subscriber Line (ADSL) connections. Note also that Internet traffic may be directed through an All-IP network by means of the common agency of IP framing.

In the Internet, a tight link (or more loosely a bottleneck), which commonly exists at the network edge before a corporate or campus network (Cisco, 2000), is the link of minimum available bandwidth on a network path. Strictly the term ‘bottleneck’ defines the bandwidth capacity of a network path, which while the path exists is a constant, though the term may also be loosely applied to a tight link. A tight link is a dynamic concept, as its location will vary firstly over time according to background traffic patterns and secondly according to the network path’s route, which is not fixed because of dynamic routing on the Internet. These two factors can create uncertainty in any video streaming response. Available bandwidth is restricted by coexisting cross-traffic, which is most likely carried by the Transmission Control Protocol (TCP) and predominantly originates from web-servers or P2P file transfer (Xie et al., 2007). Transport-layer protocols like TCP, sitting above IP, are responsible for end-to-end negotiation of delivery between applications. On All-IP networks, coexisting traffic across a network sub-channel or pipe is more likely to arise from other proprietary video servers and be carried by the minimal User Datagram Protocol (UDP) as directed by congestion controllers. A pipe is a virtual bandwidth restriction imposed by quality-of-service requirements that must balance the requirements of other types of traffic and the capacity of the access network. As in the Internet, All-IP congestion controllers should be end-to-end over the network path, allowing a general solution in the sense that the nature of the access network bottleneck may not be known in advance. In an All-IP network, statistical multiplexing of VBR video sources within a video pipe may increase its efficiency but there is no spare capacity for greedy acquisition of bandwidth by independently controlled video servers. We return to the subject of statistical multiplexing within the IPTV pipe in Section 4.

Congestion control is vital to avoid undue packet loss from the fragile compressed video stream. At the sub-frame level, because variable-length coding (VLC) prior to outputting the bitstream introduces a dependency between each encoded symbol, there is fragility that error resilience techniques such as decoder synchronization markers and reversible VLC only partially address. Because successive video frames are broadly similar (except at scene cuts and changes of camera shots), only the difference between successive frames is encoded in order to increase coding efficiency. Consequently, at the frame-level, removing temporal redundancy introduces a dependency on previously transmitted data that implies lost packets from reference frames will have an impact on future frames.

Unicast video streaming, which brings increased flexibility and choice to the viewer over multicast delivery, is achieved by determining the available bandwidth and adapting the video rate at a live video encoder or an intermediate transcoder. Fuzzy Logic Control (FLC) is suited to congestion control (Jammeh et al., 2007), because of the inherent looseness in the definition of congestion and the uncertainty in the network measurements available, together with the need for a real-time solution. Within video coding it has previously found an application (Grant et al., 1997) in maintaining a constant video rate by varying the encoder quantization parameter according to the output buffer state. This is a complex control problem without an analytical solution. Fuzzy logic is gaining acceptance in the video community, witness (Rezaei et al., 2008), but it turns out that further improvements are possible with interval type-2 (IT2) fuzzy logic.

3.2. Fuzzy logic control for congestion

In our application, FLC of congestion is a sender-based system for unicast flows. The receiver returns a feedback message indicating changes to the delay experienced by video stream packets crossing the Internet. This allows the sender to compute the network congestion level and from that the FLC estimates the response. The same controller also should be able to cope with a range of path delays and with video streams with differing characteristics in terms of scene complexity, motion, and scene cuts.

Traditional, type-1 FLC is not completely fuzzy, as the boundaries of its membership functions are fixed. This implies that there may be unforeseen traffic scenarios for which the existing membership functions do not suffice to model the uncertainties in the video stream congestion control task. IT2 FLC can address this problem by extending a Footprint-of-Uncertainty (FOU) on either side of an existing type-1 membership function. In IT2 fuzzy logic, the variation is assumed to be constant across the FOU, hence the designation `interval'. Though the possibility of type-2 fuzzy systems has been known for some time (Zaddeh, 1975), only recently (Mendel, 2007) have algorithms become available to calculate an IT2 output control value at video rate. The first IT2 controllers (Hagras, 2007) are now emerging, in which conversion or retyping from fuzzy IT2 to fuzzy type-1 takes place before output. For video streaming there are important practical advantages. Not only does such a controller bring confidence that re-tuning will not be needed when arriving traffic displays unanticipated or un-modeled behavior but the off-line training period required to form the membership functions can be reduced.

We now compare type-1 FLC for congestion control of video streaming to an IT2 FLC and compare the performance in the presence of measurement noise that is artificially injected to test the relative robustness. The delivered video quality in terms of Peak Signal-to-Noise Ratio (PSNR) is equivalent to the successful type-1 FLC when the measurement noise is limited and under test results in a considerable improvement when the perturbations are large. We go on to compare the IT2 FLC to a non-adaptive approach and to congestion control by two well-known controllers, TCP-friendly Rate Control (TFRC) (Handley et al., 2003) and TCP Emulation at Receivers (TEAR) (Rhee et al., 2000), one sender-based and the other receiver based. These are tested by their ability to support multiple broadband connections over an all-IP network. However, firstly we introduce fuzzy logic control.

3.3. Fuzzy logic control

Figure 2 is a block diagram of FLC of congestion, with two inputs, the packet delay factor, df, and delay samples to form a trend (whether packet delay is increasing or decreasing). The formation of these inputs is described in Section 3.4. These inputs are converted to fuzzy form, whereby their membership of a fuzzy subset is determined by predetermined membership functions. This conversion takes place in the fuzzifier and trend test units of Figure 1. The fuzzy outputs are then combined in the inference engine through fuzzy logic. Fuzzy logic is expressed as a set of rules which take the form of linguistic expressions. These rules express experience of tuning the controller and, in the methodology, are captured in a knowledge database. The inference engine block is the intelligence of the controller, with the capability of emulating the human decision making process, based on fuzzy-logic, by means of the knowledge database and embedded rules for making those decisions. Lastly, the defuzzification block converts inferred fuzzy control decisions from the inference engine to a crisp or precise value, which is converted to a control signal. The control signal causes the quantization parameter of the video stream to be changed, thus adjusting the output bitstream.

media/image2.jpg

Figure 2.

FLC delay-based congestion controller

In a fuzzy subset, each member is an ordered pair, with the first element of the pair being a member of a set S and the second element being the possibility, in the interval [0, 1], that the member is in the fuzzy subset. This should be compared with a Boolean subset in which every member of a set S is a member of the subset with probability taken from the set {0, 1}, in which a probability of 1 represents certain membership and 0 represents non-membership.

The FLC determines incipient congestion from one way packet queuing delay in intermediate router buffers. The queuing delay is a measure of network congestion, and the ratio of the average queuing delay to the maximum queuing delay is a measure of bottleneck link buffer fullness. For each received packet indexed by i

OWDi = Tr  Ts
(1)

where Tr is the receive time of the current packet and Ts is the time the packet was sent. When it is appropriate, the computed OWDi updates the minimum and maximum one-way delays (OWDs), OWDmin and OWDmax, on a packet-by-packet basis. Subsequently, the maximum queuing delay is found as maxQD = OWDmax − OWDmin.

The queuing delay over the network path, QDi is computed from the measured delay and the minimum delay:

QDi = OWDi  OWDmin
(2)

and an exponentially-weighted average of the queuing delay for the ith received packet is formed by,

avgQDi = (1  α) × avgQDi1 + α × QDi
(3)

where α1 is a forgetting constant. In tests, α was set to 0.1. A delay factor, Df, is computed from the average queuing delay and the maximum queuing delay,

Df = avgQDi /maxQD
(4)

where Df ranges between [0,1] with 0 indicating no incipient congestion, 1 indicating full-blown congestion, with shades of incipient congestion between 0 and 1. Df is an early notification of congestion and is the first input to the FLC.

A trend analysis method is used to determine the general trend of the average delay. In each measurement epoch, a number k of queue delay samples are grouped into τ groups where τ=k . We use the pairwise comparison test (PCT) to determine the overall trend of the queueing delay as shown in (5).

TPCT=i=2τI(MiMi1)τ1
(5)

where Mi is the median of group i and I(X) is 1 if X holds and 0 otherwise. The value of TPCT is sent back to the sender where a fuzzifier determines whether the level was increasing or not according to a membership function.

IT2 input membership functions for Df and trend are constructed, Figure 3, as an extension of the type-1 FLC through an FOU at the boundaries of the formerly crisp (fixed) membership functions. Assuming the usual singleton input of Df (or TPCT ), an interval set requires just an upper and lower value to be resolved to form the resulting FOU in the corresponding output set. For example, Figure 4 shows two IT2 membership functions for input sets A and B, each with an FOU. Singleton input X is a member of each with different degrees of membership. Strictly, an infinite number of membership functions (not all necessarily triangular) can exist within the FOUs of sets A and B, but IT2 sets allow the upper and outer firing levels to be taken, as shown in Figure 4. The minimum operator (min) acts as a t-norm on the upper and lower firing levels to produce a firing interval.

The firing interval serves to bind the FOU in the output triangular membership function shown to the right in Figure 4. The lower trapezium outlines the FOU, which itself consists of an inner trapezoidal region that is fixed in extent. The minimum operator, also used by us as a t-norm, has the advantage that its implementation cost is less than a product t-norm. (A t-norm or triangular norm is a generalization of the intersection operation in classical logic.) Once the FOU firing interval is established, Center-of-Sets type reduction was applied by means of the Karnik-Mendel algorithm, which is summarized in (Mendel, 2007). Type reduction involves mapping the IT2 output set to a type-1 set. In practice, defuzzification of this type-1 output fuzzy set simply consists of averaging maximum and minimum values. The result of defuzzification is a crisp value that determines the change in the video rate.

media/image10.png

Figure 3.

IT2 FLCC (a) Delay factor (Df) (b) Trend membership functions.

media/image11.jpg

Figure 4.

IT2 FL calculation of output FOU

Figure 5 shows the streaming architecture in which fuzzy logic controls the sending bit rate. The congestion level determination (CLD) unit finds the congestion state of the network from measured delay and delay variation made by the timer module. The congestion state data are relayed to the sender. FLC employs this delay information to compute a new sending rate that is a reflection of the current sending rate and the level of network congestion. The video rate adaptation unit (either a bitrate transcoder adapting pre-encoded video or an encoder adapted through its quantization parameter) changes the sending rate to that computed by the fuzzy controller. The current implementation changes the quantization level of a frequency-domain transcoder (Assunção & Ghanbari, 2000) for VBR video. Full decode and re-encode is prohibitively time consuming. Prior approaches relied on estimation of the error introduced by re-quantization without taking account of the impact on motion estimation by reconstructing the picture and reusing information in the bitstream (Vetro et al., 2005), which still introduces delay, whereas partially (entropic) decoding and motion estimation in the transform domain is faster.

media/image12.jpg

Figure 5.

Video server for all-IP network.

Figure 6 shows one instance of server and client. VoD mode, IPTV or video clip services there are multiple video streams and multiple clients. Figure 6 assumes a bank of such servers delivered over an access network such as ADSL or ADSL2+, with downstream rates to 24 Mbps and beyond, one of the passive optical network types (PON) terminating in 100 Mbps Ethernet or coaxial cable, or broadband wireless such as IEEE 802.16 (WiMAX).

media/image13.jpg

Figure 6.

VoD IPTV video delivery architecture.

3.4. Evaluation

FLC congestion controller employs delay and its variation to gauge the state of the network. There is, however, inherent noise in the measurement of delay, including packet timestamps with limited resolution and unresolved clock drift between sender and receiver. These uncertainties in the input to an FLC will potentially impact its performance.

The well-known ns-2 network simulator (v. 2.32) was used, with the type-1 and IT2 FLC implemented as new protocols within ns-2. A normal distribution generated a random noise value with zero mean and a specified standard deviation, determined by the level of noise required and dynamically adjusted relative to the measured (simulated) value. For each simulation the level of additional noise was incrementally increased. At each incremental step, the performance of the two controllers was compared in terms of rate adaptation accuracy, packet loss rate, and delivered video quality (PSNR). Input was a 40 s MPEG-2 encoded video clip, showing a newsreader with a changing backdrop, with moderate movement. The VBR 25 frame/s Standard Interchange Format (SIF)-size clip had a Group of Pictures (GOP) structure of N=12, M=3 where N is the number of pictures (frames) between each Intra-coded picture and M is the number of pictures between each prediction-coded picture within the GOP (Ghanbari, 2003). For error resilience purposes, there was one slice per packet, resulting in 18 packets per frame. The FLC controllers adjusted their rate every frame. In this set of tests the encoded video was stored at a mean rate of 1 Mbps. The video streams were passed across a bottleneck link restricted to 400 kbps in capacity.

The results are gathered in Table 1, and Figs. 78. Below 30% additional noise, the two controllers do not significantly deviate. However, beyond 30% of additional noise, the IT2 FLC congestion controller showed significant improvement over the type-1 FLC in terms of reduced fluctuation in the sending rate and a reduced packet loss rate, both of which will be reflected in better average delivered video quality. The smoothness of the transmission rate (measured by a reduction in the standard deviation of the delay on a per-packet basis) is important in video transport as a fluctuating compressed bit-rate implies a fluctuation in video quality, which is more disconcerting to a viewer than a stream of consistent quality, even if that average quality was lower than that of a fluctuating stream. Figure 8 confirms that delivered average video quality is improved, though, for very high levels of measurement noise, the encoded video stream is so corrupt it matters little which FLC is in control, the quality is very poor. Detailed statistical examination of these results has confirmed their significance within 90% confidence intervals.

Noise level (%) 0 10 20 30 40 50 60 70 80 90 100Type-1 77.527 78.192 78.986 80.281 109.927 193.612 227.173 230.016 230.651 230.924 231.082Type-2 76.722 76.607 77.098 77.677 77.747 78.244 80.238 84.294 93.822 113.355 124.652

Table 1.

Standard deviation of FLC type-1 and type-2 sending rates (kbps).

media/image14.jpg

Figure 7.

Packet loss rate for an increasing noise level.

media/image15.jpg

Figure 8.

Mean received video quality for an increasing noise level.

Comparison was also made with the TFRC protocol, the subject of an RFC (Handley et al., 2003) and a prominent method of congestion control. The intention is that the average rate of TFRC should be equivalent to the dominant protocol in the Internet, TCP. However, the short term TFRC rate is intended to be less aggressive than TCP as sharp fluctuations in coding rate will result in variable quality at the receiver. In that way, it is hoped that TFRC will avoid causing congestion collapse by greedy acquisition of bandwidth. In TFRC, the sending rate is made a function of the measured packet loss rate during a single round-trip time (RTT) duration measured at the receiver. Unfortunately, if the TFRC feedback frequency is reduced TFRC tends to dominate co-existing flows (Rhee et al., 2000). The sender then calculates the sending rate according to the TCP throughput equation given in (Handley et al., 2003). As with IT2 FLC and TEAR, the UDP transport protocol is employed to avoid unbounded delays, which are possible with TCP transport.

No control
No. of Sources 25 30 35 40 45 50Loss rate (%) 0.0 16.66 28.56 37.49 44.44 49.99Link use (%) 100.0 120.0 140.0 160.0 180.0 200.0PSNR (dB) ? ? ? ? ? ?
TFRC
No. of Sources 25 30 35 40 45 50Loss rate (%) 1.50 1.81 2.11 2.39 2.65 2.91Link use (%) 101.48 101.80 102.80 102.44 102.78 102.96PSNR (dB) 36.08 35.11 33.78 33.07 31.34 30.18
TEAR
No. of Sources 25 30 35 40 45 50Loss rate (%) 2.50 3.51 4.61 5.75 6.86 7.91Link use (%) 102.52 103.60 104.80 106.08 107.36 108.56PSNR (dB) 33.27 32.34 31.56 30.70 29.61 28.78
IT2 FLC
No. of Sources 25 30 35 40 45 50Loss rate (%) 0.0 0.0016 0.0026 0.0029 0.0038 0.0048Link use (%) 89.82 99.96 99.96 99.96 99.84 99.82PSNR (dB) 39.61 37.90 36.89 35.44 33.19 31.40

Table 2.

Performance comparison of congestion controllers.

Unlike TFRC, TEAR is based on the Arithmetic Increase Multiplicative Decrease (AIMD) algorithm of TCP. Unlike TCP, TEAR avoids the oscillatory behavior of TCP by averaging its sending rate over a round, based on the time to send a congestion window’s packets. TEAR’s sending rate approximates that of an equivalent TCP source. Both TFRC and TEAR rely on measurements of the RTT, while TFRC is also adversely affected by inaccurate loss rate estimates (Rhee et al., 2007). Without a transcoder TFRC and TEAR require playout buffers to smooth out network delay. Therefore, PSNR is affected by loss rate only, assuming a large enough buffer to avoid overflow. FLC also reduces the video quality through transcoding if there is insufficient bandwidth, but this avoids the need for long start-up delays and allows smaller buffers on mobile devices. In further comparison tests, the standard ‘dumbbell’ network topology was assumed with a bottleneck of 25 Mbps. The one-way delay, modeling the latency across the complete network path, was set to 40 ms, which is the same as the maximum delay across a country such as the U.K or France. Side link delay was set to 1 ms and the side link capacity was set to easily cope with the input video rate. The mean encoded video rate was again 1 Mbps. The buffer size on the intermediate routers was set to RTT × bandwidth, to avoid overflow through too small a buffer. The router queuing discipline was drop-tail. The intention of these tests was to see how many video streams could be accommodated across the bottleneck link. In Table 2, the number of controlled video sources was incrementally increased.

The starting times of streaming the ‘news clip’ to each client was staggered, and then each clip was repeatedly sent over 200 ms. The first 40 s of results, was discarded as representing transient results. This method was chosen, rather than select from different video clips, because the side effects of the video clip type do not intrude.

As can be seen from Table 2, when there is no control, there is no packet loss until the capacity of the link is reached. Thereafter, the link utilization grows and, as might be expected, the packet loss rate rapidly climbs. Failure to estimate the available bandwidth causes both TFRC’s and TEAR’s mean link use to exceed the capacity of the bottleneck link. As the number of flows increases, it becomes increasingly difficult to control the flows and there is a steady upward trend in the overshoot. In respect to TEAR, this leads to considerable packet loss. The packet loss patterns are reflected in the resulting PSNRs, though there is no direct relationship because of the effect of motion estimation in the codec.

It is surprising in that TEAR was developed after TFRC and in part as a reaction to it (Rhee et al., 2007). However, subsequent to the development of TEAR, TFRC has undergone some refinements such as TCP’s self-clocking. However, from Table 2 it is apparent IT2 FLC congestion control does not suffer from the difficulties that TFRC and TEAR encounter. There is a very small loss rate due to moments when the time varying nature of VBR video results in the FLC overestimating the available bandwidth but this is significantly below the loss rates of the traditional controllers.

4. Statistical multiplexing

4.1. IPTV and statistical multiplexing

Fortunately, compressed video streams forming the TV channels making up the IPTV service will not necessarily have the same bandwidth requirements, as their content complexity will vary over time with changes in their spatial and temporal complexity. In the long term, for entertainment applications this variation is determined by the video genre, such as sport, cartoon, ‘soap’ and so on but there are also changes over a shorter time period caused by such factors as the type of video frame and whether there is a shot change or a scene cut. Consequently, multiple video streams as part of an IPTV service can each be adaptively allocated a proportion of the bandwidth capacity according to their content complexity.

As IPTV bandwidth may be constrained by a particular access network technology a practical solution, which has already been developed in the UK and Japan (Kasai et al., 2002), is to employ a transcoder bank to change the rates of video streams within the multimedia channel. Transcoders can dynamically and selectively change the compression ratio of individual pre-encoded video streams within a multimedia channel. However it is accomplished, the process of adjusting the rates of individual video streams is called statistical multiplexing.

Transcoding is a normal procedure in statistical multiplexing (Eleftheriadis & Batra, 2006) whereby the input streams can be adapted to fit the video display terminal. The coding complexity measures are computed based respectively on the transform coefficient and motion vector information embedded in each input bitstream, representing the compressed video. This information can be easily obtained just after the first decoding stage of the transcoder, i.e. after entropic decompression.

Though research (He & Wu, 2008) has experimented with statistical multiplexing of VBR streams, the practical reality is that broadcasters may often employ a CBR multiplex of streams (Bőrőczy et al., 1999) previously stored at a high quality. This is because CBR encoding allows planning of storage capacity and in video-on-demand schemes, it allows the bandwidth from a server to be tightly controlled. If the CBR video is not pre-encoded at a high rate (prior to transcoding) then dissolves, fast ‘action’ and scenes with camera motion (pans, zooms, tilts,...) suffer. However, scenes with limited motion such as head-and-shoulder news sequences are not much affected by CBR encoding.

4.2. Statistical multiplexing gain

The revenue that can be potentially generated from combining video streams within a multimedia channel (Seeling & Reisslein, 2005) is related to the quality of the video delivered to the end users. In (Kuhn & Antkowiak, 2000) tests of a statistical multiplexor for Digital Video Broadcasting (DVB-T) (MPEG-2 encoded bitstreams) showed that multiplexing did not necessarily increase the number of TV channels that could be accommodated within a fixed bandwidth but did serve to avoid deep quality fades.

Allocating bandwidth to video streams simply on the basis of efficient usage and fair distribution of bandwidth (Jain et al., 2000) is not to be recommended, because the delivered video quality of some video streams will be more affected by a reduction in bandwidth than by others. Both unwarranted degradation of quality and unnecessarily high video quality may arise. This is also the reason why allocating bandwidth based on the past statistics of data rates may be ill-advised, as it fails to account for the impact of such allocations on the delivered video quality. R-D curves of video sequences significantly differ in their video quality at a particular CBR target bit-rate. Statistical multiplexing requires dynamic adjustment of the bandwidth share between several concurrent streams based upon the content complexity in order to equalize their delivered video quality. Ideally, the quality of all video streams will then fall within an acceptable range, being neither too high nor too low in quality.

From an R-D plot of three video sequences, Figure 9, it is apparent that there is a significant difference between the quality ratings of the videos. Therefore, the goal of statistical multiplexing is to adjust the quality between the streams relative to their content complexity rates over time. Good quality video normally falls within the range of 30-38 dB. At an initial target input rate of 1 Mbps, the quality of Mobile in Figure 9 is on the boundary of that range, while the quality of both Highway and Bridge-closed exceeds the range.

Statistical multiplexing techniques vary according to their complexity. In the research reported in (Wang & Vincent, 1996) a relatively simple form of statistical multiplexing was applied in which the same quantization parameter was applied to all video frames within a multiplexed group to achieve a target bit rate. A binary chop search across the range of available quantization parameters was conducted. This procedure appeared to achieve its objective even though no direct account was taken of content complexity. The work in (Bőrőczy et al., 1999) was based on coding complexity statistics was applied to a set of R-D controlled MPEG-2 video encoders. Only spatial coding complexity was considered and, therefore, no control was needed to include temporal complexity, at a cost in accuracy. Because encoders were employed, a look-ahead scheme was needed. This suffers from the problem of video scene changes occurring within a GOP inspection window, as the complexity may change significantly within a GOP. Some allowance for this problem was made by a sliding window GOP prediction method. The alternative is to partially decode future frames, as occurs in (He & Wu, 2008) for VBR video. Unfortunately, in (He & Wu, 2008), only the temporal complexity measure is found by partial decode, while the spatial complexity is predicted from a previous frame.

media/image17.jpg

Figure 9.

R-D curves for three well-known video sequences.

In the statistical multiplexing system considered in this Chapter, R-D analysis is turned on in the H.264 encoder so that all rate decisions are optimized according to their effect on video quality. Moreover the problem of look ahead is resolved by directly transcoding each video stream GOP according to the joint estimation without the need for complex forward inspections of complexity (two-pass encoding) or potentially erroneous predictions.

4.3. Statistical multiplexing system

A top-level system diagram is presented in Figure 10. This is a suggested application of the scheme to illustrate a statistical multiplexing system. In this Figure, the statistical multiplexor receives n compressed bitstreams that pass through a bank of bit-rate transcoders to adjust the combined bitrate according to the output channel constraints. The bandwidth share is defined by the statistical bandwidth manager which receives content complexity measure parameters from each transcoder and returns the appropriate bandwidth share α.

media/image18.jpg

Figure 10.

A statistical multiplexor architecture.

To reduce decision latency and to create a more direct way of judging the content complexity, metrics can be derived from the encoded bit-stream. Entropy decoding is required but this is a small overhead compared to a full decode. For example in the H.264/Advanced Video Codec (AVC), the Context Adaptive Variable Length (CAVLC) decode and bit-stream parsing on average take only 13% of the computational complexity of a full decode (Malvar et al., 2003).

Two metrics can be employed: temporal complexity index (TI) is indicated by a count of per frame non-zero motion vectors summed across a GOP, whereas spatial complexity can be found (Rosdiana & Ghanbari, 2000) by averaging a Scene Complexity Index (SCI) across the GOP. It is also possible to make decisions at scene change boundaries or through a GOP-sized sliding window at a cost in complexity but with a gain in reaction time. Because a large proportion of the bit-stream’s length at higher video qualities is contributed to by quantized Discrete Cosine Transform (DCT) coefficients, the weighting given to the SCI metric is increased through the decision rules of an FLC. For a low bitrate service across a wireless channel then the impact of the motion vector coding would compete (Van der Auwera et al., 2007) with the quantized motion vectors, and it would become necessary to adjust the weighting between TI and SCI.

From the input video streams (coded in CBR mode) the average quantization parameter (QP) per frame is defined by the target bit rate. Consequently, multiple video streams sharing the channel can each be allocated a proportion of the bandwidth capacity according to their instantaneous spatial and temporal complexity. The target output rate of the video streams can be changed accordingly at a transcoder after each decision point (every GOP).

A FLC solves the problem of combining the two complexity indexes employed into a single bandwidth allocation ratio. Additionally, the FLC also receives notice of the bandwidth capacity. In the example illustrated in this Section, the final access link is assumed to be ADSL. However, ADSL is subject to burst errors following the Repetitive Electrical Impulse Noise (REIN) model (Luby et al., 2008). Once the FLC has determined the ratio allocated to each video stream sharing the IPTV multimedia sub-channel, the video bitstream rates are jointly adjusted by bitrate transcoders.

4.4. Experimental evaluation

For tests, 900 frames from the three well-known sequences of Figure 9 were selected with content complexity category estimated as difficult, medium, and easy. The JM v. 14.2 software implementation of the H.264/AVc codec was used with Common Intermediate Format (CIF)-30 Hz (frame/s )@ 5 Mbps, 4:2:0 sampling, and GOP size of 15. An IPPP... GOP structure was set with Instantaneous Decoder Refresh (IDR) frames configured. R-D control was set for the CBR output with initial quantization parameter (QP) at 28 and only 4×4 DCTs.

Figure 11 is a plot of the per GOP number of non-zero motion vectors over time. For ease of representation, an average of the first 20 GOPs is plotted, though naturally the entire 60 GOP sequences were examined. The TI measure for ’Mobile’ fluctuates over time within this short excerpt, though recall that the TI emphasis is reduced in the FLC compared to the SCI. Figure 4 is a matching plot for the SCI over time. In general, the SCI is found as:

SCI=11+p+b[IQI+j=1pPjQPj+i=1bBjQBi]
(6)

where p, b are the number of P and B pictures per GOP respectively and QI, QP and QB are the respective average (over the picture’s macroblocks) quantizer step sizes for the I, P, and B pictures. I, P and B are the corresponding per picture type target bit-rates. Again, in Figure 12 it is the Mobile sequence that shows the most fluctuation. Alternative metrics are: 1) employing QP values into (6) to take account of the changing dynamic range of the allocations and 2) using the numbers of non-zero coefficients

Figure 13 shows the input PSNRs for the three sequences, showing fluctuations in behavior. As PSNR is best-suited to quality comparisons for the same video sequence coded at different rates, PSNR comparisons are made between equal allocation and statistical multiplexing and should not involve direct comparison of the quality between different video streams. Statistical multiplexing decisions are made on the basis of content complexity and do not involve PSNR.

media/image20.jpg

Figure 11.

Number of non-zero motion vectors on a GOP basis.

media/image21.jpg

Figure 12.

Scene Complexity Index (SCI) on a GOP basis.

media/image22.jpg

Figure 13.

PSNR fluctuation of input test sequences.

In tests, packetisation was on the basis of one H.264 NALU per packet, with each row forming a slice to be encapsulated in a NALU. Error-free, fixed bandwidth (3 Mbps) allocation is firstly considered. (If the access link is cable or even a passive optical network (PON), the physical channel will be virtually error free and the bandwidth capacity will effectively be fixed.) Figure 14 shows the time-wise allocation of bandwidths after application of the FLC based on the SCI and TI metrics. The allocation follows approximately the content complexity of the test clips, in the sense that a more complex sequence receives a larger proportion of bandwidth. Figure 15 is a histogram of the per-frame frequencies for which the video sequences fell within the desired quality range (30-38 dB), compared to the same allocation if no adjustment to the initial CBR rates was made.

The allocation over time is illustrated for Highway in Figure 16. Table 3 summarizes the average video qualities resulting from the FLC and equal CBR allocations. It is apparent that for Mobile much of the time the FLC allocation results in a higher video quality than a CBR scheme would do, whereas for Highway and Bridge-closed, the video quality (which is already high) is somewhat reduced.

In (Luby et al., 2008), the REIN model for ADSL was applied to IPTV. This is a simple model of fixed-length error bursts, the duration of which was set to 8 ms. The bursts were randomly placed to achieve a loss rate in the range 5 × 10−2 to 5 × 10−3. In (Luby et al., 2008), a larger error range was simulated but at the lower ends of that range the error rate was effectively close to being error free.

media/image25.jpg

Figure 14.

Bandwidth allocation share per GOP with FLC controller.

media/image26.jpg

Figure 15.

Normalized per-frame frequencies of video quality for which the three test clips kept within a desired quality range for FLC and equal (fixed) CBR allocation bandwidth.

media/image27.jpg

Figure 16.

Comparative video quality over time achieved for Highway between FLC and equal CBR (fixed) schemes.

FLCCBR
Bitrate (kbps)PSNR (dB)Bitrate (kbps)PSNR (dB)
Bridge338.5136.03100040.60
Highway857.0136.62100036.96
Mobile1802.9032.53100029.61

Table 3.

Summary results of comparative bandwidth allocation between FLC and equal CBR schemes with fixed available.

The effect of physical channel degradation on video according to the REIN model for ADSL was ascertained for a fixed available bandwidth (of 3 Mbps), after subsequent distribution of the video streams to individual users. Figure 17 reports the relative video quality between equal CBR share and FLC allocation. In Figure 17, each data point is the result is the result of forty runs in order to achieve convergence. In particular, the video quality of Mobile is improved by the FLC allocation. This Figure shows that the quality of difficult sequences like Mobile is improved at the expense of degradation on the easier sequences like Highway resulting in a balance between the quality of the quality of multiplexed video. At higher Bit Error Rates (BERs), Mobile’s quality becomes poor in both schemes, though the CBR allocation can result in unwatchable TV. Perhaps, a weakness of the FLC allocation is that Highway also drops out of the desired quality range, though at high BERs.

media/image28.jpg

Figure 17.

Video quality according to FLC and equal CBR (fixed) schemes for the ADSL REIN model.

Statistical multiplexing aims to equalize the quality of a set of video streams sharing a common multimedia channel. The quality should also, as far as possible, fall within an acceptable range. The danger of statistical control of data rates is that it does not take account of the varying content complexity of video streams. However, dynamic adjustments can be jointly made to the target video data rates in response to prior input of spatial and temporal compression metrics. These can be extracted from the encoded bitstream just after entropic decode and simple parse operations. Fuzzy logic control subsequently serves to tune the impact of each of the metrics.

5. Concluding remarks

This Chapter has been an introduction to video streaming, from a particular perspective in which intelligent control methods increasingly handle congestion and allocation of bandwidth through statistical multiplexing. Though download undoubtedly has a role in activities such as multimedia podcasting and BitTorrent film downloads, there are always streaming alternatives, which in time may take over from the era of the download, with its inefficient bandwidth consumption. These alternatives range from: enhanced-quality IPTV; user-generated YouTube content; and P2P streaming systems such as PPLive and Coolstreaming, which have a strong following in China; and varieties of mobile TV, such as DVB-H. The demand for bandwidth is increasing as this year (2009) has seen the first High Definition mobile devices. This development is logical as a closer viewing distance strictly requires greater resolution. However, the move to higher resolution reduces the ability of the user to store locally compressed video. In fact, the desire to own a DVD film just as books are owned and kept in a library may also decline.

References

1 - P. A. A. Assunção, M. Ghanbari, 1997 Congestion Control of Video Traffic with Transcoder. , Int. Conf. on Image Processing, 523 527
2 - P. A. A. Assunção, M. Ghanbari, 2000 Buffer analysis and control in CBR video transcoding., IEEE Trans. on Circuits and Systems for Video Technology, 10 1 83 92
3 - B. Barmada, M. M. Ghandi, E. Jones, M. . Ghanbari, Aug, 2005 Prioritized transmission of data partitioned H.264 video with hierarchical QAM., IEEE Signal Proc. Lett., 12 8 577 580
4 - L. Bőrőczy, A. Y. Ngai, E. F. Westermann, 1999 Statistical multiplexing using MPEG-2 video encoders., IBM J. of Research and Development, 43 4 511 520
5 - G. Blakowski, R. . Steinmetz, Jan, 1996 A media synchronization survey: Reference model, specification, and case studies., IEEE J. on Selected Areas in Comms., 14 1 9 33
6 - P. A. Chou, Z. . Miao, April2006Rate-distortion optimized streaming of packetized media., IEEE Trans. on Multimedia, 82390404
7 - P. A. Chou, 2007 Streaming media on demand and live broadcast, in P. A. Chou and M. van der Schaar (Eds.) Multimedia in IP and Wireless Networks, Academic Press, Burlington, MA, 453 501
8 - CiscoSystems.Inc 2000 LAN design guide for the midmarket, San Jose, CA
9 - A. Eleftheriadis, P. . Batra, April 2006 Dynamic rate shaping of compressed digital video., IEEE Trans. on Multimedia, 8 9 297 314
10 - M. Fleury, R. Razavi, S. Saleh, L. Al-Jobouri, M. Ghanbari, 2009 Enabling WiMAX video streaming, In WiMAX, New Developments, In-Tech Education and Publishing, Vienna, Austria
11 - M. Ghanbari, 2003 Standard Codecs: Image Compression to Advanced Video Coding, IET Press, London, UK
12 - D. . Geer, Nov, 2005 Building converged networks with IMS technology. , IEEE Computer, 38 11 14 16
13 - P. M. Grant, Y. S. Saw, J. M. Hannah, June 1997 Fuzzy rule-based MPEG rate prediction and control, EURASIP ECAS Conf., 211 214
14 - H. . Hagras, Feb2007 Type-2 FLCs: A new generation of fuzzy controllers., IEEE Computational Intelligence, 30 43
15 - S. Han, S. Lisle, G. . Nehib, Feb2008 IPTV transport architecture alternatives and economic considerations., IEEE Comms. Mag., 46 2 70 77
16 - M. Handley, S. Floyd, J. Padyhe, J. Widmer, 2003 TCP friendly rate control (TFRC): Protocol specification, IETF RFC 3448
17 - Z. He, D. O. . Wu, Nov 2008 Linear rate control and optimum statistical multiplexing for H.264 video broadcast., IEEE Trans. Multimedia, 10 7 1237 1249
18 - IEEE 802.16-2004 Oct. 2004 IEEE Standard for local and metropolitan area networks part 16: Air interface for fixed broadband wireless access systems
19 - R. Jain, S. Kalyanaraman, R. Goyal, S. Fahmy, R. . Viswanathan, Aug2000 ATM forum document number: ATM forum/96 1172 title: Erica switch algorithm: A complete description
20 - E. A. Jammeh, M. Fleury, M. . Ghanbari, April2007 Delay-based congestion avoidance for video communication with fuzzy logic control., 17th Int. Workshop on Packet Video
21 - M. Kalman, E. Steinbach, B. . Girod, Sept2002 Adaptive media playout for low delay video streaming over error-prone channels. , Int. Conf. on Image Processing, 841 851 .
22 - H. Kasai, al. . et, Oct2002 The development of a multimedia transcoding system for mobile access to video conferencing., IEICE Trans. on Communications, 10 2 2171 2181
23 - I. M. Kim, H. M. Kim, 2002 A new resource allocation scheme based on a PSNR criterion for wireless video transmission to stationary receivers over Gaussian channels.., IEEE Trans. on Wireless Commun., 2 3 1320 1324
24 - M. Kuhn, J. . Antkowiak, Apr2000 Statistical multiplex what does it mean for DVB-T?, FKT Fachzeitschrift f¨ur Fernsehen, Film und elektronische Medien
25 - T. Lakshman, A. Ortega, A. . Reibman, May1998 VBR video: tradeoffs and potentials., Proc. of the IEEE, 86 5 952 973
26 - P. Lambert, W. de Neve, Y. Dhondt, R. van de Walle, 2006 Flexible macroblock ordering in H.264/AVC., J. of Visual Communication, 17 358 375
27 - D. Lefol, D. Bull, N. Canagarajah, 2006 Performance evaluation of transcoding algorithms for H.264, IEEE Trans. on Consumer Electronics, 52 1 215 222
28 - M. Luby, T. Stockhammer, M. . Watson, May2008 Application FEC in IPTV systems, IEEE Commun. Mag., 46 5 94 102
29 - H. Malvar, A. Hallapuro, M. Karczewicz, L. . Kerofsky, July2003 Low complexity transform and quantization in H.264/AVC., IEEE Trans. on Circuits Syst. Video Technol., 13 7 598 603
30 - D. J. C. Mackay, 2005 Fountain codes., IEE Proc. on Communications, 152 6 1062 1068
31 - S. Mao, S. Lin, S. S. Panwar, Y. Wang, E. Celebi, 2003 Video transport over ad hoc networks: multistream coding with multipath transport., IEEE J. on Selected Areas in Comms., 21 4 1721 1737
32 - J. M. . Mendel, Feb2007 Type-2 fuzzy sets and systems: An overview., IEEE Computational Intelligence, 20 29
33 - B. Pesquet-Popescu, S. Li, M. van der Schaar, 2007 Scalable video coding for adaptive streaming applications, in P. A. Chou and M. van der Schaar (Eds.) Multimedia in IP and Wireless Networks, Academic Press, Burlington, MA, 117 158
34 - H. Radha, M. van der Schaar, Y. . Chen, Mar, 2001 The MPEG-4 Fine_Grained Scalable video coding method for multimedia streaming over IP., IEEE Trans. on Multimedia, 3 1 53 68
35 - M. Rezaei, M. M. Hanukse, M. Gabbouj, 2008 Semi-fuzzy rate controller for variable bit rate video., IEEE Trans. on Circuits and Systems for Video Technology, 18 5 633 645
36 - I. Rhee, V. Ozdemir, Y. . Yi, April, 2000 TEAR: TCP emulation at receivers- flow control for multimedia streaming., NCSU Technical Report
37 - I. Rhee, L. Xu, 2007 Limitations of equation-based congestion control., IEEE/ACM Trans. on Networking, 15 4 852 865
38 - R. Rosdiana, M. . Ghanbari, Mar 2000 Picture complexity based rate allocation algorithm for transcoded video over ABR networks., Electronics Letters, 36 6 521 522
39 - J. Salehi, Z. Zhang, L. , J. Kurose, D. . Towsley, Aug, 1998 Supporting stored video: Reducing rate variability and end-to-end resource requirements through optimal smoothing., IEEE/ACM Trans. on Networking, 6 4 397 410
40 - H. Schulzrinne, A. Rao, R. . Lampeter, April1998 Real time streaming protocol (RTSP), proposed standard RFC 2326
41 - P. Seeling, M. . Reisslein, Dec, 2005 The rate variability-distortion (VD) curve of encoded video and its impact on statistical multiplexing., IEEE Trans. Broadcast., 51 4 473 492
42 - A. Shokrollahi, 2006 Raptor codes., IEEE Trans. on Information Theory, 53 1 2551 2567
43 - T. Stockhammer, W. Zia, 2007 Error-resilient coding and decoding strategies for video communication, in P. A. Chou and M. van der Schaar (Eds.) Multimedia in IP and Wireless Networks, Academic Press, Burlington, MA, 13 58
44 - H. Sun, X. Chen, T. Chiang, 2005 Digital Video Transcoding for Transmission and Storage, CRC Press, New York
45 - G. Van der Auwera, M. Reisslein, L. J. . Karam, Sept, 2007 Video texture and motion based modelling of rate variability-distortion (VD) curves., IEEE Trans. on Multimedia, 53 3 637 648
46 - G. Van der Auwera, P. D. David, M. . Reisslein, Sept2008 Traffic and quality characterisation of single layer video streams with the H.264/MPEG-4 Advanced Video Coding Standard and Scalable Video Coding extension, IEEE Trans. on Broadcasting, 54 3 698 718
47 - G. Van der Auwera, M. Reisslein, appear. (to, Sept, 2009 Implications of smoothing on statistical multiplexing of H.264/AVC and SVC video streams. , IEEE Trans. on Broadcasting.
48 - S. Vasudevan, X. Liu, K. . Kollmansberger, May 2008 IPTV Architectures for Cable Systems: An evolutionary approach., IEEE Comms. Mag., 46 5 102 109
49 - V. Vars, M. N. Hannuksela, 2001 Non-normative error concealment algorithms, ITU-T SGI6 Doc., VCEG-N62
50 - A. Vetro, C. Christopoulos, H. Sun, 2005 Video transcoding architectures and techniques: An overview" IEEE Signal Processing Mag., 20 18 29
51 - Y. Wang, Q. F. Zou, 1998 Error control and concealment for video communication: A review.. Proceedings of the IEEE, 86 5 974 997 .
52 - Y. Wang, A. R. Reibman, S. Lee, 2005 Multiple description coding for video delivery, Proceedings of the IEEE, 93 1 57 70
53 - L. Wang, A. . Vincent, Sept, 1996 Joint rate control for multi-program video coding., IEEE Trans. Consumer Electron., 42 3 300 305
54 - S. . Wenger, July2003 H264/AVC over IP, IEEE Trans. on Circ. and Syst. for Video Technol., 13 7 645 656
55 - G. Xie, G. Zhang, J. Yang, Y. Min, V. Issarny, A. . Conte, June 2007 Survey on traffic of metro area network with measurement on-line., Int. Teletraffic Congress, 666 677
56 - L. A. Zaddeh, 1975 The concept of linguistic variable and its application to approximate reasoning, Information Sciences, 8 199 249
57 - L. Zhang, al. . et, Sept1997 Resource ReSerVation Protocol (RSVP), Request for Comment (RFC) 2205
58 - H. Zheng, K. . Liu, July2000 Multimedia services over digital subscriber lines., IEEE Trans. Signal Processing, 17 4 44 60