FTB 200
FTB 200
EXFO’s Commerce And Government Entities (CAGE) code under the North Atlantic Treaty
Organization (NATO) is 0L8C3.
Trademarks
EXFO’s trademarks have been identified as such. However, the presence or absence of such
identification does not affect the legal status of any trademark.
Units of Measurement
2
License Agreement and Warranty
IMPORTANT: CAREFULLY READ THE FOLLOWING LICENSE AGREEMENT BEFORE OPENING THIS
INSTALLATION PACKAGE. BY OPENING THIS PACKAGE AND USING THE SOFTWARE WHETHER
INCORPORATED OR NOT IN AN EXFO INC. ("EXFO") PRODUCT, YOU INDICATE YOUR
ACCEPTANCE TO BE BOUND BY THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU
DO NOT ACCEPT THE TERMS AND CONDITIONS OF THIS LICENSE AGREEMENT, DO NOT OPEN
THIS PACKAGE AND PROMPTLY RETURN THE PRODUCT OR SOFTWARE WITH YOUR PROOF OF
PAYMENT, WHEREUPON YOUR MONEY WILL BE REFUNDED.
THE PRODUCT OR SOFTWARE YOU ORDERED MIGHT INCLUDE SOURCE CODE AND/OR
SOFTWARE COMPONENTS, IT IS PROVIDED FOR YOUR CONVENIENCE IN MODIFYING THE
PRODUCT OR SOFTWARE TO SUIT YOUR SPECIFIC NEEDS, OR TO CREATE DERIVATIVE WORKS
INCLUDING SOURCE AND LIBRARY FILES IF APPLICABLE.
THE PRODUCT AND THE SOFTWARE MUST BE USED ONLY FOR YOUR INTERNAL BUSINESS
OPERATION AND ITS INTENDED APPLICATION. YOU MAY NOT COPY OR USE THE SOURCE
CODE OR THE SOFTWARE COMPONENTS TO PRODUCE OTHER SOFTWARE DEVELOPMENT
TOOLS FOR DISTRIBUTION AND RESALE WITHOUT EXPRESS WRITTEN PERMISSION FROM
EXFO. EXFO RETAINS ALL RIGHTS TO THE SOURCE CODE, THE SOFTWARE COMPONENTS AND
ALL MODIFICATIONS THEREOF. YOU SHALL RESPECT AND COMPLY WITH ANY OF THE
PROVISIONS LISTED BELOW WHICH MAY ALSO BENEFIT ANY GIVEN THIRD PARTY BENEFICIARY
AS DEFINED HEREIN.
"Documentation" means the user’s manual and other printed materials accompanying the
Software.
"Product" means the EXFO instrument designed for use with the Software, as the case may
be.
"Software" means the computer programs, source code and software components contained
therein and all updates and upgrades thereto. The term also includes all copies of any part of
the computer program, source code or software components.
3
2. GRANT OF LICENSE: EXFO grants to you, the purchaser of the enclosed Software, a limited,
restricted, non‐exclusive license. You shall use the Software only in conjunction with its
purpose or in conjunction with the Product, subject to the limitations on use and disclosure
contained herein and in the Documentation. You may:
Use the Software on a network, file service or virtual disk; provided that access is
limited to one user at a time and that you have the original copy of the
Documentation and Software media.
Make one (1) copy of the Software for backup or modification purposes in support of
the use of the Software on a single computer.
Merge the Software or incorporate the same into another program provided that such
a program will, for so long as the Software is included therein, be subject to all of the
terms and conditions of this Agreement.
You may not:
Make copies of the Documentation.
Assign, give or transfer the Software, any services or interests in the Software, to another
individual or entity. Sublicense, lease, time‐share, service bureau, lend, use for subscription
service or rental use any portion of the Product, the Software, or your rights under this
Agreement.
3. SOFTWARE OWNERSHIP: The Software is licensed, not sold. Title to the Software shall not
be passed to you or to any other party. All applicable rights to patents, copyrights, trademarks
and trade secrets in the Software, or any modifications made at your request, are and shall
remain the property of EXFO.
4. AUDITS: EXFO reserves its right to audit, at its convenience, your use of the Software.
4
5. TERMS OF TERMINATION: This Agreement shall remain in full force and effect until you
discontinue use of the Software or the Product, until the end of the life of the Product or
Software or until this Agreement is terminated, whichever occurs earlier. Without prejudice to
its other rights, EXFO may terminate this Agreement if you fail to comply with the terms
thereof. In such event, you must destroy or return all copies of the Software and
Documentation as requested in writing by EXFO. You shall be liable for all damages to EXFO as
a result of the breach whether or not you were notify of the likelihood of such damages.
EXFO retains all rights to the Software not expressly granted hereunder. Nothing in this
Agreement constitutes a waiver of the rights of EXFO or any Third Party Beneficiary.
6. LIMITED WARRANTY: EXFO warrants the media on which the Software is distributed to be
free from defects in material and workmanship and that the Software will perform
substantially in accordance with the Documentation. EXFO will replace defective media or
Documentation at no charge, provided you return the item with dated proof of payment to
EXFO within (60) days of the date of delivery. THESE ARE YOUR SOLE REMEDIES FOR BREACH
OF WARRANTY. EXCEPT AS SPECIFICALLY PROVIDED ABOVE, EXFO MAKES NO WARRANTY OR
REPRESENTATION, EITHER EXPRESS OR IMPLIED WITH RESPECT TO THE SOFTWARE OR
DOCUMENTATION INCLUDING THEIR QUALITY, PERFORMANCE, MERCHANTABILITY, OR
FITNESS FOR A PARTICULAR PURPOSE.
5
8. U.S. GOVERNMENT RESTRICTED RIGHTS: The Software and Documentation are provided
with RESTRICTED RIGHTS. Use, duplication, or disclosure by the Government is subject to
restrictions as set forth in subparagraph (c) (1) (ii) of The Rights in Technical Data and
Computer Software clause at 52.227‐7013. EXFO headquarters are located at 400 Godin
Avenue, Quebec, Quebec, G1M 2K2, Canada.
9. EXPORT AND IMPORT LAWS: You must comply fully with all applicable export and import
laws including, but not limited to, export laws and regulations of the United States of
America. No Programs, Products or Software shall be exported, directly or indirectly, in
violation of laws.
10. THIRD PARTY BENEFICIARY: EXFO may designate, from time to time, any Third Party
Beneficiary, with respect to any Product or Software, which has duly executed a prior writing
agreement with EXFO. Third Party Beneficiaries may include, but are not limited to, namely
ORACLE, Business Objects, Advance Fiber Optics, and MapInfo. The terms of this Agreement
also governs any source code that may be provided in some programs by Third Party
Beneficiary, such as the one mentioned above. This Agreement is not intended to be for the
benefit of and shall not be enforceable by any given Third Party Beneficiary without a prior
written agreement duly executed with EXFO.
11. GENERAL: This Agreement constitutes the entire agreement between you and EXFO as
concerns the subject matter hereof and supersedes any prior agreement as to such subject
matter. If any provision of this Agreement shall be deemed to be invalid, illegal or
unenforceable, the validity, legality and enforceability of the remaining portions of this
Agreement shall not be affected or impaired thereby. This Agreement shall be governed by
and construed in accordance with the laws applicable in the province of Quebec, Canada
without regards to its conflict of laws provisions.
BY USING THE SOFTWARE, YOU ACKNOWLEDGE THAT YOU HAVE READ THIS AGREEMENT,
THAT YOU UNDERSTAND IT, AND YOU AGREE TO BE BOUND BY ITS TERMS AND CONDITIONS.
If you have any questions regarding this Agreement, you may contact the Legal Department at
EXFO at (418) 683‐0211.
6
Table of Contents
EXFO ........................................................................................................................................ 1
EXPERT IPTV TEST TOOLS ............................................................................................................ 1
MAIN WINDOW......................................................................................................................... 17
7
7.1 SIMULTANEOUS TESTING OF MULTIPLE CHANNELS ................................................................. 22
7.2 PASSIVE TEST .................................................................................................................. 22
7.3 SET TOP BOX EMULATION TEST .......................................................................................... 24
7.4 ETHERNET INTERFACE STATUS .............................................................................................. 25
APPENDIX A ......................................................................................................................... 47
8
A.2.1.6 Perceptual Quality Model ....................................................................................... 59
A.2.1.7 VQmon Markov Model (VMM) ............................................................................... 59
A.2.2 AUDIO STREAM ANALYSIS................................................................................................ 61
A.2.3 TELCHEMY VIDEO QUALITY METRICS .................................................................................. 62
A.2.3.1 Mean Opinion Scores (MOS) ................................................................................... 63
A.2.3.2 VQmon/HD Video Service Transmission Quality Metric ‐ VSTQ ............................... 64
A.2.3.3 Degradation Factors ............................................................................................... 65
A.3 IPTV PROTOCOLS .............................................................................................................. 66
A.4 PCR JITTER ...................................................................................................................... 70
A.5 IGMP LATENCY VS. ZAP TIME .............................................................................................. 71
TROUBLESHOOTING ............................................................................................................... 77
GLOSSARY ......................................................................................................................... 78
9
Chapter 1 Introducing the EXpert IPTV Test Tools
The EXpert IPTV Test Tools is a software FTB‐200 based IPTV quality analyzer. It consists
of several components:
Test Logger with multistream detection and synchronizer via the FTB‐200
10/100/1000 Ethernet interface
Set Top Box(STB) emulator for multicast and unicast streams
Video Previewer
Video Metrics
Packet statistics
TR 101290 Metrics
Audio Metrics
Video Frame Metrics
Video Bandwidth Metrics
Charts
When used as a STB emulator The EXpert IPTV Test Tools is terminating the customer
modem or GPON adapter.
10
When used as a passive monitoring device The EXpert IPTV Test Tools is connected via a
manageable switch or aggregating tap to monitor bidirectionally the IGMP, RTSP and
other protocols, and IPTV streams from the video server.
In both connection modes video and audio quality assessment is provided by VQMON
algorithm.
Test results are continuously accumulated and saved on the FTB‐200 hard drive. Live test
results can be watched on the screen. Saved test results can be viewed in the report
format, pdf format or be exported to a file.
11
The example below shows The EXperrt IPTV Test Tools during analysiss of four IPTV streeams
with
h individual previiew screens.
12
Conventions
Before using the product described in this guide, you should understand the following
conventions:
WARNING
Indicates a potentially hazardous situation which, if not avoided, could
result in death or serious injury. Do not proceed unless you
understand and meet the required conditions.
CAUTION
Indicates a potentially hazardous situation which, if not avoided, may
result in minor or moderate injury. Do not proceed unless you
understand and meet the required conditions.
CAUTION
Indicates a potentially hazardous situation which, if not avoided, may
result in component damage. Do not proceed unless you understand
and meet the required conditions.
IMPORTANT
Refers to information about this product you should not overlook.
13
Chapter 2 Safety Information
Safety Information
Laser Safety Warnings
WARNING
Do not install or terminate fibers while a laser source is active. Never
look directly into a live fiber, and ensure that your eyes are protected
at all times.
14
Chapter 3 Getting Started
The EXpert IPTV Test Tools application is preinstalled on the FTB‐200. If The EXpert
IPTV Test Tools is not installed, refer to the FTB‐200 User Guide for more information
on how to install the application.
Starting Application
To start an application:
15
Chapter 4 Physical Interface
The EXpert IPTV Test Tools uses the GigE port of the FTB‐200.
Connect the 10/100/1000 electrical signal with the IPTV to the port with
the RJ‐45 connector.
Note: Refer to the FTB‐200 Compact Modular Platform User Guide for more information.
16
Chapter 5 Using the Graphical User Interface
This chapter describes the graphical user interface of your Expert IPTV Test Tools
application.
The EXpert IPTV Test Tools allows you to start a test, connect and disconnect to IPTV streams,
program and use Set Top Box, view information about the stream, view IPTV metrics and
statistics, view or print test results, and more.
Main Window
Start the EXpert Test Tools IPTV application. The application allows to view the first
level tabs and buttons for test setup and results:
17
Chapter 6 S
Setting the
e IPTV Test
6.1 Setup
S Interfface
MAC C address
Statiic IP address
or DHCP client‐Vendo or Class ID
Channges in the Thressholds settings
Local
L Area Conne
ection Realtek
PCIe
P GBE Family Controller‐packe
et
Scheduler Minip
port
No
N MAC address
IGMPv2
I
DHCP
D Client
6.2 Setup
S Thressholds
Failed,
F Warned and
a Passed thresh
hold
parameters
p are preset
p for:
Average
A Audio/Video MOS, Max PCRP Jitter,
Video
V Packet Losss Ratio, IGMP Lattency and
TR101290.
T The TRR101290 allows configuration
c
or
o Priority 1 and 2 parameters from a separate
menu
m as shown to the right.
18
These
T color coded
thresholds
t will th
hen
trigger
t the
corresponding
c flaags
in the Summary
pan.
p Unchecking
any
a parameters
removes
r it from thet
active
a metrics.
Unchecking
U all
parameters
p will
result
r in flagg
for
f the TR101290 0
Errors
E of Summarry.
6.3 Manage
M Cha
annel List
Clickk on
Chan nnel Setup
and click again
on Manage
M
chan nnel list.
19
Enter
E New Groupp
name
n as a channel
list.
l
Select
S either
Multicast
M channe
els
or
o VoD streams.
For Multicast
M channeels:
Enter
E New Chann nel
Number,
N Name,
Multicast
M addresss
and
a Port.
Press
P OK.
Enter Neww
Channel
Number, NName
and rtsp urri and
press OK.
Repeat thee
above step p for
each additional
channel (or rtsp
uri) to be aadded
to the multicast
(or VoD) grroup.
20
When Grroups are exportted a file with
on “.ExfoChannels” are created.
extensio
Groups can
c be imported only from files
with thiss “.ExfoChannels”” extension.
To
T import a Grou up click on
“Import
“ all Group
ps” then select
t file form the desired folder
the
and
a open it.
To
T export a Grou
up click on “Exporrt all Groups” theen type a file nam
me and Save it.
21
Chapter 7 Running IPTV Tests
The Passive Test allows monitoring of any IPTV streams present at the interface, for quality of
service and video preview. The Passive test can be performed via a 3‐ way Tap ( or a
manageable switch) as shown below:
22
The Passive Test starts automatically after
depressing the and upon detection
of a valid IPTV stream(s). All detected valid
streams will be displayed in the Test Log box and
marked as Passive.
23
7.3 Set Top Box Emulation Test
The Set Top Box Emulation Test allows IGMP or RTSP join& leave requests to one or multiple
IPTV streams.
Once the stream(s) become detected and synchronized to the test metrics start and live video
preview is available on non‐encrypted streams.
Number of channels that can be tested simultaneously is limited to 10. Exceeding this number
will generate an ERROR message.
Live Preview is limited to one stream.
From the STB channels pulldown menu select Multicast , VoD or Run auto test:
24
For VoD streams (uri’s):
Choose the RTSP uri to be tested from the
Channel List in the STB
To stop the test of the specific stream press button, or press either
or disconnect the Ethernet cable.
The Downstream Rate give the aggregate kbits/s for the all the streams present in the link.
25
Chapter 8 Getting IPTV Metrics
The channel whose metrics are currently displayed is underlined in the Test Log.
Active Terminated # of
streams streams passed # of tests
count count tests with
warnings
# of failed
tests
Video Description
Information provides
reference information
extracted from the stream
MPEG frames headers such
as:
• IP Address
• Encapsulation
Protocols
• Code Type
• GOP Details
• Frame Details
• Frame Details
• Reference Clock Summary pan displays the most
• Bandwidth and important metrics along with their
Packet Size Pass, Warning or Fail flags.
26
Check Summary metrics for a quick signal quality. Summary provides a list of industry
most used parameters for quick evaluation of IPTV service quality such as MOS Score,
PCR Jitter, Video Packet Loss, TR 101290 and IGMP Latency( zap time).
Definitions:
27
8.2 Live Stream Preview
Video and Audio preview of the channel whose metrics are currently displayed can be
enabled at anytime in the main test window. The preview can be toggled to full screen
size or stopped all together and audio can be turned on or muted.
28
8.3 Advanced IPTV Metrics Test
8.3.1 Video Perceptual Quality Metrics
As described in the technical reference section Appendix A.1, the Perceptual Quality
Metrics are calculated on the selected video stream to provide Mean Opinion Score (MOS)
and related parameters.
Degradation Factors
provide insight into the
nature of MOS score Video Scene
degradation by listing Analysis Metrics
10 contributing factors provide
with their weight proportions of
score. the stream with
Detail, Panning,
Motion and Static
Image.
These factors
weight on the
overall Video
MOS score.
29
Definitions:
30
8.3.2 Transport Packet Metrics
31
Definitions:
32
8.3.3. MPEG‐TS TR 101290 Priority
33
Definitions: MPEG_2 Transport Stream TR 101290 Priority 1 Metrics
34
8.3.4 Audio Description and Perceptual Metrics Information
Audio Description
Information is
similar to Video
Description
Information Audio
providing essential Perceptual
reference Quality Metrics
information about are MOS scores
the stream. with subjective
test content
calculated with
a specialized
VQMON audio
algorithm.
Degradation
Factors provide
severity of
degradation
due to Packet
Loss, Packet
Discard, Codec,
a Recency of
Audio Bandwidth Metrics provides bandwidth burst packet
average and peak rate with and without loss
headers.
35
Definitions:
36
8.3.5 Video Frame Metrics
Video Frames
(MPEG‐TS) statistics
provide the total
number of Received
and Impaired
frames I, P, B and
optional SI and SP.
This breakdown
allows better
diagnostics of the
distorted video.
Packet statistics
such as Packet Lost,
Packets Discarded
and Packets
Impaired
correspond to the
MPTEG‐TS frame
statistics and they
allow more detail
breakdown of the
diagnostics.
37
Definitions:
38
8.3.6. Video Bandwidth
Video Bandwidth of I, P,
B, SI and SP frames
provides a useful
information for traffic
engineering. Looking
and MOS and other
metrics one can
determine how much
less or more bandwidth
to add or reduce to
maintain the quality
goal and bandwidth
utilizations at the same
time.
Definitions:
39
8.3.7 Metrics in Graphical Form‐ Histograms
Any two metrcis can be displayed as histograms allowing correlation of events for diagnostics.
40
Chapter 9 Generating and Viewing Test Results
OR
2. Button on the right top side of the
screen
41
Test Results generated
by Resuults button or
button
b produce
the follo
owing log:
Double‐clicking
D on
n the
seelected test reco
ord
produces
p the mettrics
sccreen where all ttest
metrics
m are accesssible
frrom the tabs:
42
Here iss an example of tthe
Charts screen produced d for
the single test record.
• To
T generate a pd df
report
r click on
button
b and wait for
the
t Summary PD DF
report
r to be
generated.
g
43
ort start with the
The repo e summary page followed
f with teest metrics four pages long as sho
own
below:
44
45
46
Appendix A
The IPTV Video Stream is subjected to multilevel analysis as shown here:
47
cause obvious distortion or may not even be noticed by the end user, depending on which
video frame types are impaired.
Each of these objective and subjective factors must be taken into consideration in order to
accurately estimate IPTV video perceptual quality.
Figure2‐1. Packet
vs. Frame Loss
Rates for MPEG
48
As a frame often spans multiple packets, and a typical video stream includes interpolated
frames (P‐frames and B‐frames), a given packet loss rate can result in a frame loss rate six
times higher [9]. See Figure 2‐1 above.
In order to accommodate IPTV transmission network delay and low levels of delay variation,
a playout buffer is used to temporarily store incoming frames. For streaming video, such as
DVB or IPTV, it is permissible to apply arbitrary delays, and hence the playout buffer can be
quite large. Interactive videoconferencing requires a relatively low delay, since a participant
needs to respond immediately to questions or opinions of the other participants. Packets
arriving too late may be discarded and will appear as lost packets.
Traditionally, video quality is measured by comparing the video sequence that has been
processed by a video system to the original reference video sequence. It is not feasible to
implement a mid‐stream real‐time monitoring system using this approach. This is because it
needs to directly access the video source and decode video content, and has high
computational complexity.
Common video codecs, such as MPEG and H.263 implementations, use a combination
of intra‐ and inter‐frame coding methods. For intra‐frame encoding (I frame) the image frame
is divided into blocks, a Discrete Cosine Transform is used to convert each block to a set of
coefficients and then variable length coding is applied. A group of blocks are combined into a
single entity (slice), which can be carried within a single packet. If a transmission error occurs
then the whole group may be lost, creating a “stripe” within the decoded image. For example,
because the DC coefficients within each block are predicatively encoded from the first block in
the slice, an error makes this information unusable for the remainder of the slice. Some errors
may damage the frame structure and render the whole frame unusable.
49
For inter‐frame or motion‐based coding (P and B frames), motion vectors are determined for
each block and encoded. As for intra‐frame coding, errors can render a whole slice or frame
unusable. In simple inter‐frame coding systems, the loss of one I or P frame can make all
subsequent frames unusable until the next I frame is received—resulting in a significant
period of degraded, frozen, or blank video.
Figure 2‐2 shows the impact of encoding errors on various frame types (I, B, and P) in a typical
Group of Pictures (GOP).
In most cases, the standards for video coding provide considerable flexibility to both the
encoder and decoder, allowing a range of cost/performance tradeoffs to be made. This can
make it difficult to precisely assess the impact of network impairments without knowledge of
the exact implementation.
50
A.1.1.2 Impact of Packet Loss on Specific Video Codecs
As shown in Figure 2‐3, a simple non‐robust video stream can be severely degraded
with even low levels of packet loss due to the error propagation effects described above.
Peak Signal‐to‐Noise Ratio (PSNR) is an objective measurement of video service quality
comparing the maximum power of the video signal to the power of corrupting noise affecting
the signal. Generally, a PSNR of under 20dB is regarded as unwatchable, and this level is
reached for MPEG video with a loss rate under 1 percent.
Figure 2‐3.
Estimated PSNR
for Three
Common Codecs
Error mitigation algorithms are being increasingly applied to help to compensate for packet
loss [11][12]. Methods include:
Forward Error Correction (FEC) ‐ redundancy is applied to the data stream to allow some
proportion of lost or errored packets to be replaced
51
Interleaving ‐ in which the video stream is split into alternate frames and each encoded
separately
Macro‐block error concealment ‐ spatially corresponding macro‐blocks are copied from the
previous frame
While transmission impairments such as packet loss are a common source of video
quality degradation, quality can also be affected by the encoding/decoding process itself; i.e.,
some distortion can be introduced by the bitrate and codec used.
For a typical MPEG‐2 encoded video stream with standard resolution 720x486, GOP
sequence IBBPBBPBBPBBPBB, at 30 frames per second, the mean square error (MSE) due to
bitrate can be approximated by:
Where B is the bitrate in kilobits per second. The corresponding peak signal‐to‐noise ratio
52
(PSNR) value for the frame can be computed by
Figure 2‐4 shows the estimated PSNR value on coding bitrate for MPEG‐2 encoded video.
Figure 2‐4
Estimated
PSNR on
Coding Bitrate
for Standard
Definition
MPEG‐2 Video
at 30 Frames
per Second
The following examples illustrate the impact of the coding bitrate on video quality. Both
images show the same frame from a video sequence encoded with MPEG‐2 at a resolution of
720x480, at 30 frames per second. In Figure 2‐5 the sequence was encoded at a bitrate of
5000 Kbps (610KB/s).
53
Figure 2 ‐5
Figure 2‐6.
In Figure 2‐6, the sequence was encoded at a bitrate of 1127Kbps (138KB/s). The use of
coarser quantization conserves bandwidth, but creates distortion that impairs overall image
quality throughout the entire video sequence.
54
A.1.2.2 Performance of Video Coders
There are many standardized video coding algorithms, such as ITU‐T H.261, H.263,
H.264, ISO/IEC MPEG‐1, MPEG‐2 and MPEG‐4, AVS, VC‐1, etc. These standards do not explicitly
define codecs; they only define the syntax of an encoded video bitstream together with the
methods of decoding the bitstream. The consequence is that there might be significant quality
differences between codecs conforming to the same standard [16]. The Windows Media 9
(VC‐1) of Microsoft and RealVideo of RealNetworks are widely used proprietary video coding
algorithms for video streaming applications.
As a rule of thumb, ITU‐T H.263 reduces the coding bitrate by about 50% against H.261 for
comparable video quality. ITU‐T H.264/AVC significantly outperforms all other listed
standards. Average bit‐savings of more than 60% relative to MPEG‐2 are reported. H.264/AVC
Main Profile provides more than 1/3 bitrate saving relative to its competitors, MPEG‐4
Advanced Simple Profile (ASP) and H.263 Conversational High Compression (CHC) Profiles [25].
Reports show that WMV 9 (VC‐1) achieved similar quality to MPEG‐2 and MPEG‐4 with only
1/3
and 1/2 of the bitrate, respectively [21]. A paper by Bennet and Bock [13] concludes that
comparing H.264/AVC and VC‐1, there is very little performance difference between them.
The bitrate used in estimating the mean squared error as referenced in the beginning
of section 2.2.1 can be adjusted to an effective bitrate based on performance of a video codec
described above. The effective bitrate also needs to be adjusted based on the frame
resolution and frame rate of the video signal. Videoconferencing applications generally
support low to medium bitrates and frame resolution. The most commonly used resolutions
are QCIF (176x144) and CIF (352x288) at 10 to 30 frames per second. Entertainment‐quality
IPTV applications generally support video encoded with SD resolutions of 720x486 (30 Hz) or
720x576 (25 Hz), or HD resolutions of 1280x720 (720p) or 1920x1080 (1080i) at an average
bitrate of 3 Mbits/sec or higher.
Typically, the number of bits spent on coding a P‐frame is about 20% of the number required
for an I‐frame, whereas a B‐frame takes about 5% of the bitrate consumption of the I‐frame.
This implies that group of pictures (GOP) structure has a big impact on quality of encoded
55
video at a given bitrate under no loss condition, as well as under loss conditions as described
below. VQmon/HD automatically adjusts the video stream effective bitrate based on the GOP
structure of the encoded video stream.
The degree to which viewers find video impairments annoying—or notice them at
all— depends in part on the severity and duration of the impairment events, but also on
certain inherent characteristics of human perception. The same type of impairment may be
extremely irritating or barely noticed, depending on factors such as the scene content when
the error takes place, and whether it occurs alone or simultaneously with other impairments.
The visibility of video problems depends partially on the scene content; for example,
frame freezes tend to be much more noticeable in sequences containing high levels of motion
than in relatively static scenes, such as footage of a television news anchor. VQmon/HD
performs content and scene analysis, detecting levels of detail, motion, and panning, and can
detect and provide alerts for content problems such as noise/snow and frame freezes. Scene
analysis data is leveraged to increase the accuracy of VQmon/HD’s estimated perceptual
quality scores.
56
A.2 VQmon/HD Quality Analysis Algorithm *
This section describes VQmon/HD’s video and audio quality analysis algorithms and
lists some of the key metrics reported by VQmon/HD as part of the Telchemy Video Quality
Metrics (TVQM) data set.
Motion JPEG
MPEG‐1
MPEG‐2
H.261
H.263/263+
H.264
MPEG‐4
VC‐1
Figure 2‐7 depicts the various components of the VQmon/HD video quality analysis algorithm
and the metrics produced by each component.
57
Figure 2‐7.
VQmon/H
D video
stream
quality
analysis
algorithm
58
A.2.1.4 Frame Type Detection
VQmon/HD identifies individual I, P, and B frames in the GoP and measures the packet
loss rate and loss distribution occurring in each frame type. For unencrypted video streams,
VQmon/HD performs picture header decoding to identify individual frames, GoP size, and
frame rate. For encrypted/scrambled streams, heuristic algorithms are applied in order to
detect frame boundaries and measure frame size.
As mentioned in Section 2.1.1.1, the GoP structure has impact on both the efficiency of video
encoding and the robustness of encoded video. VQmon/HD takes the different I, P, and B
frame packet loss/discard rates into account when calculating perceptual video quality
metrics.
59
VQmon/HD calculates quality metrics in these burst and gap states, and then combines them
to generate the overall quality score on user experience. These calculations are based on the
results of numerous subjective voice/video quality analysis tests that indicate there is not an
instantaneous change in perceived quality when a transition between the gap and burst states
occurs, but rather that the perceived quality exponentially “decays” from one level to
another. For example, a 100‐millisecond burst of “noise” is much less annoying than a 10
second burst of “noise”.
Figure 2‐8 illustrates the VQmon 4‐state Markov model. The VQmon 4‐state Markov model is
defined as having the following states and associated transitions:
60
Figure 2‐8.
VQmon/HD calculates overall multimedia quality (MOS‐AV) by measuring both audio and
video perceptual quality and the accuracy of the audio‐video synchronization.
61
A.2.3 Telchemy Video Quality Metrics
a) Perceptual Quality Metrics – including Mean Opinion Scores (MOS) for picture
quality (MOS‐V), audio quality (MOS‐A), and combined audio‐video quality (MOSAV),
expressed in a range of 1 to 5, with 5 being best. For picture quality, both “Relative”
MOS (which does not consider the resolution of the display, frame rate, or progressive
vs. interlaced scanning) and “Absolute” MOS (which includes consideration of these
factors) are reported.
TVQM perceptual quality metrics also include an Estimated Peak Signal‐to‐Noise Ratio
(ESPR) in dB, and a set of metrics indicating the severity level (on scale of 010) of
several degradation factors including packet loss, jitter, codec type, etc.
b) Video Stream Metrics – including video stream description (image size, codec type,
frame rate, etc.); content and scene analysis (detail and motion level) metrics; frame
statistics indicating the number and proportion of each frame type (I, B, P, SI, and SP)
received/impaired/lost/discarded; average and maximum bandwidth for each frame
type and for the stream overall; video stream jitter and delay metrics; and interval
metrics.
62
Table below lists some of the perceptual quality metrics reported by VQmon/HD,
including acceptable ranges for each. (A complete list and description of the TVQM
Video Quality Metrics reported by VQmon/HD is provided in Appendix C.)
VQmon/HD reports estimated Mean Opinion Scores (MOS) for picture quality
(MOS‐V), audio quality (MOS‐A), and multimedia quality (MOS‐AV) for each
monitored video stream. MOS scores range from 1 to 5, with 1 considered
“Unacceptable” and 5 “Excellent.” MOS scores are reported as instantaneous (per‐
frame), minimum, maximum, and average values. Interval MOS scores are also
reported as instantaneous and average values.
For picture quality, VQmon/HD reports both Relative MOS‐V and Absolute MOS‐V
scores:
63
Relative MOS‐V is an estimated perceptual quality score that considers the
effects of codec/quantization level, the impact of IPTV impairments (e.g., packet loss)
on the GoP structure and video content, and the effectiveness of loss concealment
methods—but does not consider the image size/resolution, frame rate, or scanning
method (interlaced vs. progressive).
Absolute MOS‐V is an estimated perceptual quality score that considers all the
above mentioned factors as well as image resolution, frame rate, and the use of
progressive vs. interlaced scanning.
Some video formats offer inherently higher perceptual quality than others—for
example, in unimpaired conditions, the quality of an HD broadcast will be higher than
that of SD; 1080p better than 1080i or 720p; 60 frames per second better than 30 fps,
etc. VQmon/HD’s Absolute MOS‐V score takes these factors into consideration, and
thus provides an accurate estimate of “overall” perceptual quality.
Example: An IPTV service provider offers 480i SD, 720p HD, and 1080p HD broadcasts.
Assuming unimpaired conditions, the services might receive the following scores
(values provided for example only):
Absolute MOS‐V: 480i = 4.0 720p = 4.3 1080p = 4.7
Relative MOS‐V: 480i = 4.5 720p = 4.5 1080p = 4.5
Relative MOS‐V can be used to simplify alert thresholding in cases where multiple
video formats are in use.
64
bearer channel to support reliable video. This video service quality metric is expressed
in the range of 0.0 to 50.0, as defined in [14].
VSTQ can be calculated by a mapping function from Peak Signal‐to‐Noise Ratio PSNR
values as follows:
Note: The VSTQ score that VQmon/HD’s API function produces actually ranges from 0
to 100. This value is scaled by 2 to get half‐point accuracy for the score.
A.2.3.3 Degradation Factors
To facilitate troubleshooting, VQmon/HD has the ability to obtain a breakdown of
factors contributing to quality degradation. VQmon/HD reports the severity of quality
degradation (on a scale of 0‐10, with 0 indicating no degradation and 10 indicating the
most severe level of degradation) attributable to each of the following factors:
Packet loss
Audio‐video sync
Codec quantization
GOP length
Codec bandwidth restriction
Frame resolution
Packet discards due to jitter
Frame rate
(One‐way) delay
Recency
65
A.3 IPTV Protocols
66
MPEG frame is fixed at 188 byte, with 184 Data Payload and 4 Byte Header. The 13‐bit PID
indentifies Packet Elementary Stream (PES).
The PES is much longer than the MPEG frame so it is divided into segments over multiple
MPEG frames.
67
The Packetized Elementary Stream is converted into the Video Elementary Stream ( MPEG‐2
transport stream)
68
PES header contain information about the contents of the PES packet.
Variable length packets typically up to 64 Kbyte but may be longer
PTS and DTS allow a decoder to reconstruct the video from I, Band P frames sent by
encoder.
If header information is corrupted, entire PES packet will be lost.
Fixed Length packets, multiplexes many PES packets.
Program Identifier (PID) contains information to find, identify and reconstruct
program contents
Continuity Counter (CC) – 4 bit counter to detect loss or out of sequence packets
Program Clock Reference (PCR) – clock reference to time sync the video and audio
Sync byte set the start of a TS packet and allows synchronization
Transport Error Indicator indicates a TS packet error
PAT lists all programs available in the transport stream with their program ID (PID).
Each program has a PMT that lists the elementary streams for that program.
69
Errors in PMT, PAT, PID/PSI(Packet Identifier/ Program Specific Information) Errors
will cause the set top box lose contact with the stream. These errors may originate at
any of the MPEG transport multiplexers when new streams are inserted.
70
A.5 IGMP Latency vs. Zap time
The zap time is the total duration from the time viewer presses the channel change
button, to the point the picture of the new channel is displayed, along with corresponding
audio. These kind of delays exist in all television systems, but they are greater in digital
television and systems that use the Internet like IPTV. Human interaction with the system is
completely ignored in these measurements, so zap time is not the same as channel surfing.
Encoding
Network
Set top Box (leave and joins)
71
Examples:
In this section some typical values of zap time are shown. Actually, in IPTV television these
delays are greater than in other technologies:
Analog (Cable) ~ 1s
Analog (off‐air) ~ 1 – 3s
MPEG2 over QAM ~ 1.2 – 3s
MPEG2 over QPSK ~ 2 – 4s
MPEG2 over IPTV Multicast ~ 1.5 – 3.5s
H.264 over IPTV Multicast ~ 1.7 – 4s
IGMP is the signaling protocol used to access broadcast video services that use a multicast
network design to efficiently manage network bandwidth. In this implementation, a join
message is sent from the STB to the network.
72
The join message asks the network to send the requested program or channel to the STB by
joining a multicast group carrying the desired broadcast channel.
IGMP latency, then, is the time between when the join message is sent and the first video
packet is received by the STB.
This parameter measures network performance, but not the end user's experience with
regard to channel changing time.
The IGMP latency plus the time it takes to fill the decode buffer and to decode and display the
content is the total user experience time. However, the buffer fill time and the decode time
are functions of the network architecture and are not variables. This total time is called Zap
Time.
73
Appendix B Technical Specification
Physical Layers Supported ‐ Average GOP length
10/100/1000 Ethernet, Wi‐Fi 802.11 b/g/n. Max GOP length
Average gap of I frame
Recognized Video Compression Standards Codecs ‐ Frame width
unknown video Frame height
motion JPEG video Frame rate
MPEG‐1 video interlaced
MPEG‐2 video Average number of slices in I frame
ITU‐T H.261 video Reference clock rate
ITU‐T 1996 version of H.263 video Average video bandwidth
ITU‐T 1998 version of H.263+ video Average packet size
ITU‐T H.264 video
MPEG‐4 video Summary Metrics
Microsoft VC1 video Measurement time
MPEG2, MPEG4 part 2&10 (H.264). Average audio/video MOS
Max PCR Jitter
Recognized Audio Compression Standards Codecs – Video packet loss rate
unknown audio TR 101290 errors priority 1 and 2
MPEG‐1 Layer 1 audio IGMP Latency
MPEG‐1 Layer 2 audio
MPEG‐1 Layer 3 audio Video ‐
MPEG‐2 Advanced Audio Coding Video Perceptual Quality Metrics
AC‐3 audio Instantaneous absolute MOS
MPEG‐4 Advanced Audio Coding Minimal absolute MOS
MPEG‐4 Low Delay Advanced Audio Coding Average absolute MOS
MPEG‐4 High Efficiency Advanced Audio Coding Maximum absolute MOS
Instantaneous relative MOS
Signaling Protocols ‐ Minimal relative MOS
Average relative MOS
IGMP versions 2 & 3, RTSP
Maximum relative MOS
Instantaneous audio/video MOS
STB Emulatiom ‐
Minimal audio/video MOS
IGMP Join and Leave request
Average audio/video MOS
IGMP latency
Maximum audio/video MOS
VoD RTSP Play and Stop
Transmission quality:
Connects up to 10 channels(streams)
EPSNR
Monitors up to 10 channels
EPSNR(ATIS)
Video preview ( live full frame SD and HD)
Degradation Factors:
Lost
Summary –
Discarded
Video Description Information
Codec quantization level
IP source address
Codec bandwidth restrictions
IP destination address
Frame resolution
Source port
Frame rate
Destination port
GOP length
Protocols
Available network bandwidth
Codec type
Audio/video synchronization
Group of picture type
Recency
Current GOP length
74
Video Jitter MPEG2‐TS TR101290 ‐
Frame inter arrival jitter Priority 1 last errors
I frame inter arrival jitter TS sync loss count
Average frame arrival delay Sync byte error count
Peak frame arrival delay PAT error count
PAT2 error count
Video Scene Analysis Metrics Continuity error count
Instantaneous detail level PMT error count
Instantaneous motion level PMT2 error count
Instantaneous panning level PID error count
Static image proportion
High detail proportion MPEG2‐TS TR101290 –
Low detail proportion Priority 2 last errors
High panning proportion Transport error count
Low panning proportion CRC error count
High motion proportion PCR error count
Low motion proportion PCR repetition error count
PCR discontinuity error count
Packets – PCR accuracy error count
Transport Packets Metrics ‐
Packets received Audio –
Lost Audio Description Information
Discarded IP source address
Corrected IP destination address
Out of sequence Source port
Duplicated Destination port
Lost % Type
Corrected % Transport protocol
Discarded % Codec Type
Out of sequence % Number of channels
Duplicated % Reference clock
Burst count Audio Perceptual Quality Metrics
Burst loss rate Minimal MOS
Average burst length [pkts} Average MOS
Gap count Maximum MOS
Gaps loss rate Instantaneous MOS
Average gap length [pkts] Degradation factors
Lost
Jitter Metrics (RFC3550) ‐ Discarded
Packet to packet delay variation Codec
Max packet to packet delay variation Recency
Audio bandwidth metrics
RTP Packets Metrics (Carrying MPEG2‐TS)‐ Avg audio bandwidth
Packets Received Peak audio bandwidth
Corrected Avg audio bandwidth( incl headers)
Lost Peak audio bandwidth( incl headers)
Discarded
Out of sequence
Duplicated
With timestamp errors
75
Video Frames I,P,B,SI,SP – Video bandwidth of I,P,B, SI and SP frames –
Frames received Average video bandwidth
Frames impaired Max video bandwidth
% frames impaired
Packets received Histograms (charts)
Packet lost Up to two charts from any metrics
Packet discarded
% packets impaired LAN Port ‐
%packets impaired by error propagation IP address
Except for I and SI Downstream rate
Upstream rate
76
Troubleshooting
Contacting the Technical Support GroupTo obtain after‐sales service or technical
support for this product, contact EXFO at one of the following numbers. The Technical Support
Group is available to take your calls from Monday to Friday, 8:00 a.m. to 7:00 p.m. (Eastern
Time in North America).
For detailed information about technical support, visit the EXFO Web site at www.exfo.com.
77
Glossary
78
Video Stream Metrics
The Video Stream Description provides information on the type of codec being used, Group of
Pictures structure and length, image size and other key factors.
Image size Image size in pixels (X x Y) (autodetected *) and number of frames per
second
Video Stream Metrics provide insight into the proportion of different type of video frame that
are impacted by packet loss and discard, and to the overall video bandwidth.
79
Transport Metrics
Packet Loss Metrics provide essential data on IPTV packet loss before and after the effects of
error correction (such as FEC or Reliable UDP). Burst and gap statistics provide valuable
insight into the time distribution of lost and discarded packets.
80
TR101 290 metrics provide green LED ON/OFF information on certain key error types that
occur with MPEG Transport protocols, and are useful in identifying and resulting these error
conditions.
PCR_repetition_error Time interval between two successive PCR values more than 40ms
PCR_discontinuity_indicator_error Difference between two consecutive PCR values is over 100ms
without discontinuity bit set
PTS_error Interval between presentation time stamps more than 700ms
81
PN: 1062992
www.EXFO.com · [email protected]
CORPORATE HEADQUARTERS 400 Godin Avenue Quebec (Quebec) G1M 2K2 CANADA
Tel.: 1 418 683-0211 · Fax: 1 418 683-2170
EXFO AMERICA 3400 Waterview Parkway Suite 100 Richardson, TX 75080 USA
Tel.: 1 972-761-927 · Fax: 1 972-761-9067
EXFO EUROPE Omega Enterprise Park, Chandlers Ford, Hampshire S053 4SE ENGLAND
Electron Way Tel.: +44 2380 246810 · Fax: +44 2380 246801
EXFO CHINA Beijing Global Trade Center, Tower C, Beijing 100013 P. R. CHINA
Room 1207, 36 North Third Ring Road Tel.: +86 (10) 5825 7755 · Fax: +86 (10) 5825 7722
East, Dongcheng District
EXFO SERVICE ASSURANCE 270 Billerica Road Chelmsford MA, 01824 USA
Tel.: 1 978 367-5600 · Fax: 1 978 367-5700