Case Study: Can Video Quality Testing be Scripted?

Similar documents
Case Study Monitoring for Reliability

Understanding PQR, DMOS, and PSNR Measurements

Set-Top Box Video Quality Test Solution

MULTIMEDIA TECHNOLOGIES

Chapter 3 Fundamental Concepts in Video. 3.1 Types of Video Signals 3.2 Analog Video 3.3 Digital Video

Understanding Compression Technologies for HD and Megapixel Surveillance

Motion Video Compression

TIME-COMPENSATED REMOTE PRODUCTION OVER IP

New forms of video compression

Lip Sync of Audio/Video Distribution and Display

Keep your broadcast clear.

Contents. xv xxi xxiii xxiv. 1 Introduction 1 References 4

Common assumptions in color characterization of projectors

By David Acker, Broadcast Pix Hardware Engineering Vice President, and SMPTE Fellow Bob Lamm, Broadcast Pix Product Specialist

VIDEO 101: INTRODUCTION:

An Overview of Video Coding Algorithms

Ch. 1: Audio/Image/Video Fundamentals Multimedia Systems. School of Electrical Engineering and Computer Science Oregon State University

Chapter 10 Basic Video Compression Techniques

OPEN STANDARD GIGABIT ETHERNET LOW LATENCY VIDEO DISTRIBUTION ARCHITECTURE

h t t p : / / w w w. v i d e o e s s e n t i a l s. c o m E - M a i l : j o e k a n a t t. n e t DVE D-Theater Q & A

. ImagePRO. ImagePRO-SDI. ImagePRO-HD. ImagePRO TM. Multi-format image processor line

The Extron MGP 464 is a powerful, highly effective tool for advanced A/V communications and presentations. It has the

Synchronization Issues During Encoder / Decoder Tests

ClearView AV Analyzers System Guide

Audio and Video II. Video signal +Color systems Motion estimation Video compression standards +H.261 +MPEG-1, MPEG-2, MPEG-4, MPEG- 7, and MPEG-21

Format Conversion Design Challenges for Real-Time Software Implementations

Colour Reproduction Performance of JPEG and JPEG2000 Codecs

So far. Chapter 4 Color spaces Chapter 3 image representations. Bitmap grayscale. 1/21/09 CSE 40373/60373: Multimedia Systems

Digital Media. Daniel Fuller ITEC 2110

White Paper. Video-over-IP: Network Performance Analysis

Project No. LLIV-343 Use of multimedia and interactive television to improve effectiveness of education and training (Interactive TV)

KEY INDICATORS FOR MONITORING AUDIOVISUAL QUALITY

Advanced Computer Networks

Multiprojection and Capture

Digital Television Fundamentals

Video compression principles. Color Space Conversion. Sub-sampling of Chrominance Information. Video: moving pictures and the terms frame and

Multimedia Systems Video I (Basics of Analog and Digital Video) Mahdi Amiri April 2011 Sharif University of Technology

Implementation of an MPEG Codec on the Tilera TM 64 Processor

EBU Digital AV Sync and Operational Test Pattern

The Development of a Synthetic Colour Test Image for Subjective and Objective Quality Assessment of Digital Codecs

ELEC 691X/498X Broadcast Signal Transmission Fall 2015

AN MPEG-4 BASED HIGH DEFINITION VTR

An Analysis of MPEG Encoding Techniques on Picture Quality

Rounding Considerations SDTV-HDTV YCbCr Transforms 4:4:4 to 4:2:2 YCbCr Conversion

hdtv (high Definition television) and video surveillance

Will Widescreen (16:9) Work Over Cable? Ralph W. Brown

HDMI Demystified April 2011

Traditionally video signals have been transmitted along cables in the form of lower energy electrical impulses. As new technologies emerge we are

Multimedia. Course Code (Fall 2017) Fundamental Concepts in Video

New Technologies for Premium Events Contribution over High-capacity IP Networks. By Gunnar Nessa, Appear TV December 13, 2017

Interlace and De-interlace Application on Video

Digital Video Telemetry System

ABSTRACT 1. INTRODUCTION

DVI CAT-5 MS EXTREME EXT-DVI-CAT5-MS USER MANUAL.

ATSC vs NTSC Spectrum. ATSC 8VSB Data Framing

Supervision of Analogue Signal Paths in Legacy Media Migration Processes using Digital Signal Processing

Content storage architectures

VIDEO 101 LCD MONITOR OVERVIEW

Video Coding IPR Issues

iii Table of Contents

Frame Compatible Formats for 3D Video Distribution

The Mitsubishi DX-TL5000 DVR

decodes it along with the normal intensity signal, to determine how to modulate the three colour beams.

Research Topic. Error Concealment Techniques in H.264/AVC for Wireless Video Transmission in Mobile Networks

Video Basics. Video Resolution

Monitor and Display Adapters UNIT 4

Automatic Projector Tilt Compensation System

Lecture 23: Digital Video. The Digital World of Multimedia Guest lecture: Jayson Bowen

Bring out the Best in Pixels Video Pipe in Intel Processor Graphics

Understanding Multimedia - Basics

OmniTek

To discuss. Types of video signals Analog Video Digital Video. Multimedia Computing (CSIT 410) 2

The Avivo Display Engine. Delivering Video and Display Excellence

Perceptual Video Metrics, a new vocabulary for QoE. Jeremy Bennington Cheetah Technologies

Avivo and the Video Pipeline. Delivering Video and Display Perfection

Using Triggered Video Capture to Improve Picture Quality

How Does H.264 Work? SALIENT SYSTEMS WHITE PAPER. Understanding video compression with a focus on H.264

White Paper. Uniform Luminance Technology. What s inside? What is non-uniformity and noise in LCDs? Why is it a problem? How is it solved?

SCTE Home Electronics 102

Essentials of the AV Industry Welcome Introduction How to Take This Course Quizzes, Section Tests, and Course Completion A Digital and Analog World

Achieve Accurate Critical Display Performance With Professional and Consumer Level Displays

Using the VideoEdge IP Encoder with Intellex IP

PixelNet. Jupiter. The Distributed Display Wall System. by InFocus. infocus.com

Intra-frame JPEG-2000 vs. Inter-frame Compression Comparison: The benefits and trade-offs for very high quality, high resolution sequences

Stream Labs, JSC. Stream Logo SDI 2.0. User Manual

Digital Signage Content Overview

Real-Time Monitor (RTM) System Guide

(I) SD Encoder - QAM. (II) AV Encoder - QAM

Vocoder Reference Test TELECOMMUNICATIONS INDUSTRY ASSOCIATION

Analyzing 8b/10b Encoded Signals with a Real-time Oscilloscope Real-time triggering up to 6.25 Gb/s on 8b/10b encoded data streams

Understanding and Managing Conversion Delays in Live Production Systems

The Art House & Digital Cinema

Analog Dual-Standard Waveform Monitor

06 Video. Multimedia Systems. Video Standards, Compression, Post Production

Lecture 2 Video Formation and Representation

Video 1 Video October 16, 2001

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Introductory Digital Systems Laboratory

Mahdi Amiri. April Sharif University of Technology

Introduction to Video Compression Techniques. Slides courtesy of Tay Vaughan Making Multimedia Work

EAN-Performance and Latency

Transcription:

1566 La Pradera Dr Campbell, CA 95008 www.videoclarity.com 408-379-6952 Case Study: Can Video Quality Testing be Scripted? Bill Reckwerdt, CTO Video Clarity, Inc. Version 1.0 A Video Clarity Case Study page 1 of 6

Abstract to Video Quality Analysis As high-tech, video equipment becomes more complex and release cycles shorten, quality assurance (QA) & quality control (QC) testers have less time to test more features. Testers scramble to perform basic feature testing. So what happens to video quality testing? How do you know if you system is introducing artifacts and distortions? Video Quality Testing is Important With the advent of Digital Television (DTV), video processing has changed significantly. Almost all videos are compressed, scaled, broadcasted or IP delivered, and decompressed. This has created an opportunity for video technology manufacturers. Moreover, the average time to market from concept to delivery for high-tech equipment has shrunk from five or six years in the 90s to one or two years today. The first manufacturer to introduce a high quality product gains a sustainable competitive edge. As companies race to introduce more features in less time, the controlling factor for product introduction has shifted from the speed of development to the speed of validating that the system works. To answer this demand, some testing organizations have adopted scripting in hopes of saving time. While running test scripts is faster than manual testing, how do you automate video quality analysis? Unfortunately, video quality testing has not kept up. Most companies employ testers with golden eyes to verify that the quality is acceptable. In addition, many talented testers prefer manual testing so that they can spend their time devising creative test cases rather than becoming proficient with complex scripting languages. Video Clarity created a breakthrough approach to video quality testing that empowers equipment manufacturers to increase coverage and spend more time on creative testing. This technology, termed ClearView, is a scriptable, automated video quality testing system. ClearView combines an uncompressed video server, a video recorder, a video player, and a quantitative video quality scorer. By providing all of these in one unit, ClearView becomes a complete, testing system for advanced video quality scoring and comparisons. What is ClearView? Video Clarity's ClearView system offers a set of video quality analysis tools for software developers, hardware designers, QA/QC engineers, video researchers, and production/distribution facilities. ClearView plays, records, displays, and analyzes video sequences. The device can capture video content from virtually any source-file or digital or analog source such as SDI, HD-SDI, DVI, VGA, HDMI, component, composite, or S-video. Regardless of the input, ClearView can ingest and convert it to fully uncompressed 4:2:2 Y'CbCr, 4:4:4 RGB, ARGB, or RGBA. This allows CODECs to be compared and scored relative to each other. ClearView provides many mathematical models that approximate results of subjective quality assessment. Objective mathematical methods are classified based on the availability of the original video signal, which is considered to be of high quality: 1. Full Reference Methods (FR), 2. Reduced Reference Methods (RR) and 3. No-Reference Methods (NR). Have you ever wanted to compare your H.264/VC-1 & MPEG-2 algorithms relative to each other? Now you can? You can even measure video delay and audio/video lip-sync. Version 1.0 A Video Clarity Case Study page 2 of 6

Figure 1: ClearView GUI with Pass/Fail Results Digital Compression Basic Issues Video compression, like data compression, is a tradeoff between disk space, video quality and the cost of hardware required to decompress the video in a reasonable time. However, if the video is overly compressed visible artifacts can appear. It is video quality test & measurements mission to accurately model the video quality. Before we can do any video quality measurement, we must align the video data. A few alignment issues may occur: 1. The processed video is not temporally aligned with the original 2. The processed video moves horizontally 3. The processed video moves vertically 4. The processed video loses color fidelity 5. The processed video has lost Audio/Video synchronization Temporal Alignment The objective metrics are measuring the video quality on a frame-by-frame basis, so the video sequences must be aligned in time. Since color bars/calibration stripes are not normally present, ClearView starts with a video frame and locates the frame in the other video sequence with the smallest sum-of-differences. ClearView then trims to temporally align the video sequences. Spatial Alignment Horizontally Interlaced video was created in 1932 to reduce flicker caused by CRTs not being able to paint an entire screen size in the refresh time. Interlaced video is still used in digital TV specifications as it reduces the signal bandwidth by a factor of two, for a given line count and refresh rate. However, only CRTs can display interlaced video. Thus, deinterlacing must occur to display an interlaced video on a DLP, LCD or Plasma TV. Depending on the deinterlacing algorithm, the processing unit may cause a Version 1.0 A Video Clarity Case Study page 3 of 6

horizontal shift of a few pixels. ClearView includes an algorithm to locate the frame shift and adjusts the metric window size appropriately. Spatial Alignment Vertically DCT-based compression algorithms - MPEG, JPEG, and VC-1 - require that the video must be divisible by 16 pixels. Due to this block size limitation; NTSC video is shrunk from 486 lines to 480 and HD 1080 video is actually compressed as 1088 lines. The mismatch between the compressed video size and the displayed video window may cause a vertical shift. ClearView includes an algorithm to locate the frame shift and adjusts the metric window size appropriately. Loss of Color Fidelity If the video is output via an analog source (component, composite, S-Video), then the colors may be shifted slightly due to the conversion from analog-to-digital. ClearView applies a linear normalization offset to compensate for this effect. Audio/Video Synchronization In the television field, audio video sync problems are commonly caused when significant amounts of processing are performed on the video part of the television program. This is usually caused by video compression encoders and decoders. ClearView measures the temporal shift between the source and processed A/V sequences so that an offset can be presented to the compression decoder to compensate for the processing delay. Scoring Video Quality Today, video equipment manufacturers verify the video quality subjectively. Subjective testing allows creativity but does not scale well. How can you test thousands of units? How do you provide for regression testing? How do you calibrate the test equipment and add features based on subjective feedback? Results from our previous case study (http://www.videoclarity.com/csreplaceeyes.html) stated that subjective video analysis is the only accurate assessment of video quality (aka, showing the video sequence to a group of experts). However, subjective video analysis is only applicable for development and evaluation purposes; it does not lend itself to operational monitoring, production line testing, trouble shooting, or equipment specific repeatable measurements. The demand for objective video quality testing arose from the need for quantitative, repeatable video analysis. ClearView objectively scores the video quality using the Human Visual System (HVS) tool known as Just Noticeable Differences (JND). JND algorithmically predicts the video quality based on modeling hundreds of expert viewers, and ranking their score based on viewing distance, perceived artifacts, viewing angle, and TV display size. To start, two video sequences are recorded: 1. The original source 2. The processed video The Videos are temporally and spatially aligned and analog noise is normalized before starting the JND. Our JND implementation generates a Mean Opinion Score (MOS) on a scale from 0-100 where less than 5 is excellent video quality. For more information on JND, read Sarnoff Laboratories White Paper (http://www.videoclarity.com/pdf/sarnoff%20jnd-1.pdf). The main goal of calculating a JND is to automatically estimate the average viewer s opinion score. But the best way to find out users' opinion is just to ask them! The simplest use of ClearView is to compare two video sequences on the same display under identical conditions, and decide subjectively Version 1.0 A Video Clarity Case Study page 4 of 6

which one looks better. The videos can be displayed in split-screen, seamless-split, split-mirror (butterfly), or A-B (source minus result) modes where the split is either horizontal or vertical. Playback supports zoom, jog, shuttle, and pause for in-depth analysis. Regression Testing After the video is scored using JND or your own golden eyes, this score can be compared for regression testing against any number of units. This video will be termed Gold hereto after. In this case, ClearView aligns the two video sequences and compares their video quality. Any video sequence, which scores below a user specified threshold, will generate a failure. ClearView controls the test setup as follows: 1. ClearView serves the original video sequence to the Device Under Test (DUT) 2. The DUT processes the video data 3. ClearView records the output of the DUT 4. ClearView aligns and normalizes the DUT with respect to the Gold sequence 5. ClearView calculates A/V delay and drift (drift = lip-sync errors) 6. ClearView compares the DUT sequence to the Gold sequence 7. ClearView records pass/fail per frame and generates an overall pass/fail score 8. ClearView creates a log file with the results. All of the metric data is archived into small log files. These log files can be replayed on any ClearView machine with access to the original video sequences, which ensures a repeatable test environment when anomalies are resolved. Further, these log files can be added to the regression testing to ensure that the anomalies stay fixed. For additional convenience, our analysis and graphing tool kit imports these log files into Microsoft Excel for off-line viewing. Figure 2: Encoder/Decoder (DUT) Pass/Fail Video Testing Example GUI Testing versus Automated Scripting ClearView can be controlled via its GUI or from its command line interface. The simplest way to use ClearView is through its interactive GUI. The results are logged & graphed; while the videos are previewed and outputted to an external display. This works well when ClearView, the Device Under Test (DUT), and the engineer/tester are in the same location. Version 1.0 A Video Clarity Case Study page 5 of 6

When the development and system verification teams work in different countries and speak different languages, problems arise in detailing anomalies. ClearView includes a scriptable, command line interface, which offers the same features as the GUI with two added benefits: 1. Commands can be entered from anywhere that has network access to the ClearView system, 2. Commands can be batched with return codes dated and logged for reusability. Using the command line interface, a tester in the United States can find an anomaly and send a report to the development team in India or China. Another team member can access the ClearView logs; thus replicating the issue, and fix it. Language issues are minimized and system verification can work around the clock. Figure 3: Basic Principle behind Scriptable Pass/Fail Scoring Conclusion Video quality testing is a hard problem. Performance of a digital video processing system can vary significantly and depends on dynamic characteristics of input video signal (e.g. amount of motion or spatial details). Combining a video server, video recorder, video player, and video quality analyzer into one system with both an interactive GUI and an automated, scriptable interface, Video Clarity (http://www.videoclarity.com) has made objective video quality analysis and regression testing a reality. The Author Bill Reckwerdt has been involved in digital video since the early 90 s from digital compression video on demand, to streaming servers. He received his MS specializing in Behavioral Modeling and Design Automation from the University of Illinois Urbana-Champaign. He is the VP of Marketing and the CTO for Video Clarity, which makes quantitative, repeatable video quality testing tools - http://www.videoclarity.com. Version 1.0 A Video Clarity Case Study page 6 of 6