Global TMW:
Login  |  Register          Free Newsletter Subscription
Subscribe
Email
Print
Reprint
Learn RSS

IPTV: Video's latest test frontier

Ensuring a satisfying TV experience for consumers requires thorough testing of both the Ethernet network and the video transport streams.

Martin Rowe, Senior Technical Editor -- Test & Measurement World, 5/1/2006

READ OTHER MAY ARTICLES: 
Contents, May 2006


References
Additional IPTV Resources

Not long ago, Ethernet networks and Internet Protocol (IP) needed to deliver only packets of data that contained computer files or Web pages from a server to a client. Today, IP is delivering telephone service to millions of homes, and deployment of Internet Protocol TV (IPTV) has begun. Case in point: On March 7, 2006, the City of Anaheim became the first city in California to grant AT&T permission to install an IPTV network (Ref. 1). Just because IPTV will be available in Anaheim and other cities doesn't mean it will succeed. Delivering quality TV over IP networks is far more difficult than delivering data or even voice. And as the Multimedia Research Group points out, people who spend thousands of dollars on high-definition home-theater systems will not tolerate poor video quality. Consumers will replace their cable and satellite systems only if they believe that IPTV can provide as good or better quality, and they will switch back if IPTV fails to live up to expectations (Ref. 2).

Testing both the IP networks and the MPEG video transport streams of IPTV is crucial to delivering the quality images that consumers demand. Unfortunately, the industry has yet to standardize on a measurement methodology for video transmissions.

What's the problem?

While IP packets can carry MPEG packets over a network, there is no guarantee that the packets will arrive at their destination in a steady stream. When transferring data, IP networks send data in packets, and the network has the luxury of resending a lost packet. As long as all packets arrive intact, the receiving computer can reassemble the original file—the user never knows that a packet was resent. Transmissions get slightly muddier with voice because packets must arrive in the proper order, but users can still tolerate some lost packets. "You can have a 20-ms gap in audio without much noticeable loss," said Kaynam Hedayet, CTO of Brix Networks

The human eye, however, is more sensitive to gaps than the ear, and lost video packets have a greater impact on picture quality and viewer enjoyment. In IPTV, IP packets encapsulate segments of MPEG-encoded video frames. MPEG streams contain three types of frames: I-frames, P-frames, and B-frames. "A Guide to MPEG Fundamentals and Protocol Analysis (including DVB and ATSC)" explains the frames in detail (Ref. 3). For a quick overview, see "MPEG Background," (Ref. 4)


An I-frame, or intra-coded picture reference frame, sends information about every pixel in the frame. To reduce bandwidth, MPEG uses forward and reverse referencing to generate the forward-predicted P-frames and bidirectional-predicted B-frames from I-frames. That is, the P-frames and B-frames contain information about only those pixels that differ from previous or subsequent frames.

In TV scenes with a relatively static background, such as when two people are standing in a room and talking, the P-frames and B-frames change very little from one to the next. In a more dynamic scene, such as a horse race, nearly every pixel changes in every frame.

An audio/video server converts analog audio and video into an MPEG stream encapsulated into IP packets, ready for transport over Ethernet. Courtesy of Visionary Solutions.

 






  
If a transmission lacked I-frames, it would quickly become garbled, because the MPEG decoder would never receive a reference frame to restore the picture. Likewise, if a viewer turned on a channel in mid-program, the lack of a complete reference frame would leave the picture undecipherable until one arrived from the service provider. That's where the I-frames are essential. An I-frame containing complete image information must be inserted every few frames (about two or three times per second) to serve as a reference for the P-frames and B-frames.

If an IP packet containing part of an I-frame is lost, the MPEG decoder in the receiver (TV set or set-top box) loses crucial information that affects preceding and following frames. "A set-top box may crash if it misses an I-frame" noted Paul Robinson, MPEG segment manager at Tektronix. So, a network must deliver nearly lossless IPTV streams. Figure 1 shows the results of lost video information. (To see this scene in video format, you can download a video of these images.)

Figure 1.  Lost video information from a bad I-frame produces poor quality video in three of the four frames. A bad I-frame can result from lost packets. (a) A good video frame without errors. (b) This figure has five bad MPEG slices that result from the B-frame forward-referencing a bad I-frame. (c) Here, forward-referencing a bad I-frame results in poor motion-vector placement. (d) This poor image results from reverse-referencing a bad I-frame.
View the entire video
. Courtesy of Tektronix.
Congestion often causes packet loss. Each IPTV program requires its own video stream. If two or more TVs or computers share an access network, such as a fiber passive optical network (PON), or an electrical access network, such as DSL, then multiple video streams could overload buffers in a network server or cause the access network to drop packets if the load exceeds the link's bandwidth. The problem worsens if that access network must also carry voice and data at the same time it carries video. In fact, data can cause more of a problem than voice, because voice uses a steady stream of bandwidth but data usually occurs in bursts.


Other network problems such as packet jitter and delay can reveal the health of a network. Packet jitter refers to difference in arrival times from one packet to another. "Jitter doesn't necessarily affect video quality," said Marc Todd, CEO of IneoQuest, "but jitter is a good indicator of potential packet loss." Buffers in network components, particularly in set-top boxes, store incoming packets and usually deliver them smoothly. Cumulative packet jitter across an IP network can result in packet loss if a buffer overfills. A gap in delivery that's too long can cause a buffer to empty, resulting in no program delivery. Figure 2 shows the results of lost or delayed IP packets on an MPEG video stream.

The larger the buffer, the less likely it will overflow and cause packet loss, but there's a tradeoff. Each TV channel requires a unique MPEG stream. When you switch channels, your TV or set-top box must request the new channel from a server. If you have several TVs all on the same channel, they will share the same stream. But different channels require different streams, which taxes your access network.

Figure 2.  Jitter and long delays in delivery of Ethernet (IP) packets can cause an MPEG buffer to empty, resulting in picture loss. Courtesy of IneoQuest.

Another problem occurs when you change channels. "When you switch channels, the decoder must clear the buffer," said Ofir Michael, director of product management for VoIP and IPTV at Radcom. "In addition, the server must check that the subscriber should get a requested channel." IP packets from the new channel must flow into the buffer and an MPEG decoder must wait for an I-frame from the new channel before it can strip the MPEG video stream from the IP packets and decode the MPEG stream.

Some members of the industry claim that the problem has been solved. "Channel change time isn't an issue," said Patrick Pfeffer, chief network architect at Detecon, during a press conference on the status of IPTV at this year's OFC/NFOEC conference in Anaheim. "Picture quality is better than analog."

Testing the network

Using most protocol analyzers, you can measure the packet jitter and loss in IP networks. The measurements will tell you if the IP network is healthy, but they provide no indication of the final product—video quality. To measure video quality, you need to test the MPEG transport stream as well. An MPEG protocol analyzer can provide a detailed look at a video stream's headers and payloads. "How do you test MPEG-2 transport streams?" describes how MPEG testers analyze the 188-byte packets that carry encoded video and audio (Ref. 5).

The final leg in testing IPTV comes in testing the video quality. Some test companies offer video quality test equipment, but the industry has yet to settle on a standard measurement scale. Several makers of IPTV test equipment use a mean opinion score (MOS) algorithm to measure video quality. MOS is based on human perceptions of video quality, using a scale from 0 to 5. MOS is an subjective test based on people's opinions of video quality. ITU-T Recommendation P.800 defines the procedure for conducting MOS evaluations (Ref. 6). Some companies have developed their own algorithms to produce a consistent method of scoring perceived video quality. But ultimately, the consumer decides.

Brix networks, for example, uses the Brix Video Quality Index. The company's tester measures IP network parameters such as jitter and packet loss, but it also analyzes MPEG transport streams carried in IP packets. The Brix tester doesn't decode the MPEG streams of live video because of copyright issues, noted CTO Hedayet. It can, however, inject its own video streams into the network and compare decoded video against the original.

IneoQuest calls its measure Media Deliver Index (MDI). As the name implies, MDI looks at how well a network delivers MPEG video over an IP network. It measures delay factor and media loss rate. Delay factor is a computed arrival time of each packet. Media loss rate measures the difference between packets received and expected per second. IneoQuest also measures video-stream characteristics such as flow rate in megabits per second.

Video-quality measures attempt to eliminate human subjectivity and provide consistent test results. The industry will eventually need to standardize on one video-quality measure. Regardless of that measure, the success of IPTV depends on the viewing public's perception and its tolerance for errors and delays.


References
  1. Tully, Sarah, and Tamara Chuang, "Anahiem allows AT&T to install Internet TV," Orange County Register, March 8, 2006. p. 1. www.ocregister.com.
  2. Larribeau, Bob, "IP TV Home Networking Strategies," Multimedia Research Group, Sunnyvale, CA, 2006. www.mrgco.com/TOC_IPTV_HN06.html.
  3. "A Guide to MPEG Fundamentals and Protocol Analysis (including DVB and ATSC)," Tektronix, Beaverton, OR, 2002. www.tek.com/Measurement/applications/video/mpeg2.html.
  4. "MPEG Background," Berkeley Multimedia Research Center, Berkeley, CA. bmrc.berkeley.edu/frame/research/mpeg/mpeg_overview.html
  5. Rowe, Martin, "How do you test MPEG-2 transport streams?" Test & Measurement World, January 1997. p. 20. www.reed-electronics.com/tmworld/article/CA187542.html.
  6. ITU-T P.800, Methods for subjective determination of transmission quality. International Telecommunications Union, Telecommunications Sector, Geneva, Switzerland. www.itu.int/ITU-T/.
Additional IPTV Resources
  1. Application note: "Testing and Qualifying IPTV Networks for Streaming Media Applications," IneoQuest, Mansfield, MA, 2005. (Other papers also available.) www.ineoquest.com/page240.html.
  2. Application Note: "Troubleshooting Both Network IP and MPEG for Video on Demand," Tektronix, Beaverton, OR, 2003. Links to this and other papers are at www.tek.com/Measurement/applications/video/mpeg2.html
  3. White paper: "The Telco Triple-Play: Scoring a Successful Deployment with Comprehensive Lab Testing and Service Management." Spirent Communications, Calabasas, CA, May 2005. www.spirentcom.com/documents/3771.pdf.
  4. White paper: "Video Quality Measurement Algorithms: Scaling IP Video Services for the Real World," Brix Networks, Chelmsford, MA, 2006. (Other papers also available.) www.brixnet.com/library/library_register.aspx.
Email
Print
Reprint
Learn RSS

Talkback

We would love your feedback!

Post a comment

» VIEW ALL TALKBACK THREADS

Related Content

Related Content

 

By This Author

Sponsored Links



 
Advertisement
SPONSORED LINKS

More Content

  • Blogs
  • Podcasts

Blogs

  • Martin Rowe
    Rowe's and Columns

    November 5, 2008
    Technical articles retain value
    I'm always amazed, and pleased, when I hear from readers who still find value in old T&MW articl...
    More
  • Martin Rowe
    Rowe's and Columns

    October 31, 2008
    Measurement proverbs
    The other day, I received some measurement proverbs that I'd like to share. The proverbs come from K...
    More
  • » VIEW ALL BLOGS RSS

Podcasts

Advertisements





NEWSLETTERS
Click on a title below to learn more.

Test Industry News (3 Times Per Month)
Machine-Vision & Inspection (Monthly)
Communications Test (Monthly)
Design, Test & Yield (Monthly)
Automotive, Aerospace & Defense (Monthly)
Instrumentation (Monthly)
Resource Center E-Alert (Monthly)
©2008 Reed Business Information, a division of Reed Elsevier Inc. All rights reserved.
Use of this Web site is subject to its Terms of Use | Privacy Policy
Please visit these other Reed Business sites