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

Similar documents
Understanding Compression Technologies for HD and Megapixel Surveillance

Chapter 10 Basic Video Compression Techniques

Principles of Video Compression

Understanding IP Video for

17 October About H.265/HEVC. Things you should know about the new encoding.

Digital Media. Daniel Fuller ITEC 2110

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

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

Implementation of an MPEG Codec on the Tilera TM 64 Processor

Salient Systems June, N Mopac Expy, Bldg 3, Ste 700 Austin, Texas FAX

HDTV compression for storage and transmission over Internet

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

PAL uncompressed. 768x576 pixels per frame. 31 MB per second 1.85 GB per minute. x 3 bytes per pixel (24 bit colour) x 25 frames per second

Salient Systems July, N. MoPac Expy. Building 3, Suite 700 Austin, TX FAX

OPEN STANDARD GIGABIT ETHERNET LOW LATENCY VIDEO DISTRIBUTION ARCHITECTURE

Video Coding IPR Issues

Computer and Machine Vision

HEVC: Future Video Encoding Landscape

What You ll Learn Today

New forms of video compression

Multimedia Communications. Video compression

Open Your World! Honeywell Systems Group. April 17, Kristopher Cuva-Scheible Scott Ferguson. Presented by: Marek Robinson

Multimedia Communications. Image and Video compression

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

Software Quick Manual

Digital Television Fundamentals

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

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

The H.263+ Video Coding Standard: Complexity and Performance

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

An Analysis of MPEG Encoding Techniques on Picture Quality

Content storage architectures

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

MULTIMEDIA TECHNOLOGIES

SVC Uncovered W H I T E P A P E R. A short primer on the basics of Scalable Video Coding and its benefits

Module 8 VIDEO CODING STANDARDS. Version 2 ECE IIT, Kharagpur

AUDIOVISUAL COMMUNICATION

Video Compression. Representations. Multimedia Systems and Applications. Analog Video Representations. Digitizing. Digital Video Block Structure

Link download full: Test Bank for Business Data Communications Infrastructure Networking and Security 7th Edition by William

Constant Bit Rate for Video Streaming Over Packet Switching Networks

Chapter 2 Introduction to

Compressed-Sensing-Enabled Video Streaming for Wireless Multimedia Sensor Networks Abstract:

How do you make a picture?

Motion Video Compression

COMP 249 Advanced Distributed Systems Multimedia Networking. Video Compression Standards

Chapt er 3 Data Representation

Video 1 Video October 16, 2001

Basler Components. Using Multistreaming on Basler IP Cameras to Maximize Bandwidth Conservation APPLICATION NOTES

Security and Surveillance Monitor Solutions

Data Storage and Manipulation

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

Colour Reproduction Performance of JPEG and JPEG2000 Codecs

Color Image Compression Using Colorization Based On Coding Technique

IP Video driving more Users & Uses

Format Conversion Design Challenges for Real-Time Software Implementations

SUMMIT LAW GROUP PLLC 315 FIFTH AVENUE SOUTH, SUITE 1000 SEATTLE, WASHINGTON Telephone: (206) Fax: (206)

Introduction to image compression

Video (Fundamentals, Compression Techniques & Standards) Hamid R. Rabiee Mostafa Salehi, Fatemeh Dabiran, Hoda Ayatollahi Spring 2011

AXIS M30 Network Camera Series. AXIS M3046-V Network Camera. AXIS M3045 V Network Camera. User Manual

Digital Video Telemetry System

Video coding standards

COMPRESSION OF DICOM IMAGES BASED ON WAVELETS AND SPIHT FOR TELEMEDICINE APPLICATIONS

Bit Rate Control for Video Transmission Over Wireless Networks

ATSC vs NTSC Spectrum. ATSC 8VSB Data Framing

Matrox PowerStream Plus

An Overview of Video Coding Algorithms

Coded Channel +M r9s i APE/SI '- -' Stream ' Regg'zver :l Decoder El : g I l I

MULTI-STATE VIDEO CODING WITH SIDE INFORMATION. Sila Ekmekci Flierl, Thomas Sikora

Case Study: Can Video Quality Testing be Scripted?

Avivo and the Video Pipeline. Delivering Video and Display Perfection

ELEC 691X/498X Broadcast Signal Transmission Fall 2015

Understanding IP Video for

Preservation-Worthy Digital Video, or How to Drive Your Library into Chapter 11. Jerome P. McDonough Elmer Bobst Library, New York University

Reduced complexity MPEG2 video post-processing for HD display

DVR or NVR? Video Recording For Multi-Site Systems Explained DVR OR NVR? 1

EMBEDDED ZEROTREE WAVELET CODING WITH JOINT HUFFMAN AND ARITHMETIC CODING

VVD: VCR operations for Video on Demand

Modeling and Evaluating Feedback-Based Error Control for Video Transfer

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

Overview: Video Coding Standards

Barnas International Pvt Ltd Converting an Analog CCTV System to IP-Surveillance

ECE3296 Digital Image and Video Processing Lab experiment 2 Digital Video Processing using MATLAB

Motion Re-estimation for MPEG-2 to MPEG-4 Simple Profile Transcoding. Abstract. I. Introduction

Lecture 2 Video Formation and Representation

Frame Interpolation and Motion Blur for Film Production and Presentation GTC Conference, San Jose

Joint Optimization of Source-Channel Video Coding Using the H.264/AVC encoder and FEC Codes. Digital Signal and Image Processing Lab

Chapter 2 Video Coding Standards and Video Formats

DIRAC. The video compression family using open technology

NEW APPROACHES IN TRAFFIC SURVEILLANCE USING VIDEO DETECTION

AXIS M30 Series AXIS M3015 AXIS M3016. User Manual

"Digital Media Primer" Yue- Ling Wong, Copyright (c)2011 by Pearson EducaDon, Inc. All rights reserved.

1. INTRODUCTION. Index Terms Video Transcoding, Video Streaming, Frame skipping, Interpolation frame, Decoder, Encoder.

A Novel Approach towards Video Compression for Mobile Internet using Transform Domain Technique

Video coding. Summary. Visual perception. Hints on video coding. Pag. 1

Using the VideoEdge IP Encoder with Intellex IP

SWITCHED INFINITY: SUPPORTING AN INFINITE HD LINEUP WITH SDV

Presented at the IPS 2004 Fulldome Standards Summit, Valencia, Spain, 7/8 July 2004 R.S.A. COSMOS

Technology Cycles in AV. An Industry Insight Paper

OPTIMIZING VIDEO CLIPS IN EDUCATIONAL MATERIALS

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

Transcription:

SALIENT SYSTEMS WHITE PAPER How Does H.264 Work? Understanding video compression with a focus on H.264 Salient Systems Corp. 10801 N. MoPac Exp. Building 3, Suite 700 Austin, TX 78759 Phone: (512) 617-4800

Compression Techniques and Basics Data compression is the process of encoding information to reduce the number of bits as compared to the uncompressed version of the information. A compression process will reduce the disk space required to store the information, and bandwidth required to transmit information. Compression can be lossless or lossy. Video Compression used in security applications is lossy compression, meaning once the original video information is compressed it can never be decompressed to restore all of the original information. In lossy compression, if information is compressed then decompressed then recompressed and so on, more and more information will be lost with each successive compression. Video information lends itself well to lossy compression techniques. The reason being, there is a significant amount of data the human eye does not perceive in the uncompressed version of the video or image. Image and video compression takes advantage of this fact. Specifically the human visual system perceives brightness more readily than color. If you have ever compared LCD televisions, you may have noticed displays with higher contrast ratios look better. The contrast ratio is the difference from the brightest white to the darkest black that can be displayed on the set. Since our visual system perceives differences in brightness more than color the effect is a more appealing display, which is the same effect JPEG compression takes advantage of. Salient Systems Page 2

Still Image Compression At the time of this writing, Motion JEPG (MJPEG) compression is the most widely used compression technique used in Digital Video Management Systems. Motion JPEG is a series of JPEG images with a small amount of header data between them. A MJPEG stream is analogous to a film real, or flip book, containing a series of still images played back at high speed to create the effect of video. Figure 1: The Motion JPEG stream transmits a full image for each frame. The goal of JPEG compression is to reduce Spatial Redundancies, or areas of similar color in the image. The effectiveness of JPEG compression is partly dependent on the complexity of the scene. A scene with small areas of highly contrasting colors is more difficult to compress then large areas of similar colors (see below). Flower Garden, 14KB In JPEG compression the image is broken up into squares, called macro blocks, typically 8x8 pixels or 16x16 pixels. The macro blocks go through several processes, the effect of which is to reduce color information, but maintain a level of detail for brightness information. The greater the level of compression on the JPEG image or MJPEG stream, the more pronounced the borders of the macro blocks become. This effect is called pixelization and can be seen in Figure 2. White Wall, 2KB Figure 2, Pixelization due to high JPEG compression Salient Systems Page 3

Video Compression The main difference with video compression vs. still image compression is the reduction of Temporal Redundancies. Temporal Redundancies are the similarities between images. A significant amount of storage and bandwidth, or bitrate, can be saved by not retransmitting the macro blocks which don t change from frame to frame. In a security application this can refer to the Figure 3: Only macro blocks which change are transmitted background of the image. Many cameras in a video security deployment are fixed cameras. The only thing changing in the camera s field of view are vehicles passing, people walking etc. The majority of the scene from image to image is the same information (the background). True video compression techniques, like MPEG4 part 2 & H.264, take advantage of this fact and only transmit the background periodically. The result is a video stream composed of a reference frame, called an I Frame, and then changing areas of the image are transmitted and overlaid on the original reference frame to create the current image of the scene (Figure 3). The frames with changes are referred to as P or B frames. An I Frame followed by a series of P and B frames is referred to as a Group of Pictures or GOP (Figure 4). The number of frames from one I frame to the next I frame in the stream is referred to as the GOV Length. This is usually a parameter which can be modified for the video stream. The longer the GOP Length, the fewer I frames will be present in the stream, which lowers the bitrate. Figure 4: MPEG4 or H.264 transmits an I Frame, containing the full scene. After the I Frame only changes are sent until the next I Frame. Salient Systems Page 4

Advanced Features, H.264 H.264 supports advanced feature sets of video compression, such as Motion Compensation. Additionally H.264 can enhance the quality of highly compressed video using a deblocking filter. In a P or B frame, only moved or changed macro blocks are transmitted. Motion Compensations allows the encoder to transmit motion vector information about the macro blocks that move but which have the same pixel level information Figure 5: Macro blocks already transmitted are moved using motion vector information. (Figure 5). The decoder will move the macro blocks, which have already been transmitted, to their new location using the motion vector data. This saves a significant amount of bitrate as compared to retransmitting the pixel information which makes up the macro block. Some implementations of MPEG4 also have this feature. The deblocking filter is a default feature of H.264. It removes artifacts associated with very high compression (as seen in Figure 2). Smoothing the edges between macro blocks makes a considerable difference in the perception of video quality. The deblocking feature can obviously improve image quality, but also it can allow the user to configure the video stream for a higher compression that would otherwise be considered unacceptable for the user s purposes. This feature can be considered a way to further decrease the bitrate of the stream as compared to equivalent quality Motion JPEG or MPEG4. As compression increases, the colors of each macro block become more averaged, making the pixels within macro blocks closer to the same color. As this effect increases, the borders of the macro blocks become more obvious. This effect causes pixelization, or the clear display of squares in the compressed image. The deblocking filter samples pixels on each side of two bordering macro blocks. Based on the sample pixels, the filter decides the best average color and recolor s the borders on each side of the macro block. This creates a smoother transition between macro blocks which can be seen in Figure 6. Salient Systems Page 5

Figure 6: The image on the right is the result of the highly compressed image on the left after the deblocking filter has been applied. Salient Systems Page 6

ABOUT SALIENT SYSTEMS Salient Systems offers network friendly, comprehensive IP and analog video surveillance management systems (VMS) built on open architecture. As the recognized transition leader from analog to digital video, Salient Systems VMS, CompleteView, is scalable and provides everything needed to manage a multi-server enterprise from a single desktop. Salient delivers simple and scalable security today and tomorrow. For more information about Salient Systems and CompleteView, visit www.salientsys.com. ABOUT THE AUTHOR Brian Carle is the Director of Product Strategy for Salient Systems Corporation. Prior to Salient he worked as the ADP Program Manager for Axis Communications. For information about this white paper or CompleteView, email info@salientsys.com. Salient Systems 10801 N. MoPac Expy. Building 3, Suite 700 Austin, TX 78759 512.617.4800 512.617.4801 Fax 2012 Salient Systems Corporation. Company and product names mentioned are registered trademarks of their respective owners. Salient Systems Page 7