Advanced Computer Networks

Similar documents
Video coding standards

COMP 249 Advanced Distributed Systems Multimedia Networking. Video Compression Standards

Multimedia Communications. Video compression

Multimedia Communications. Image and Video compression

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

A video signal consists of a time sequence of images. Typical frame rates are 24, 25, 30, 50 and 60 images per seconds.

Digital Image Processing

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

Principles of Video Compression

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

Overview: Video Coding Standards

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

Chapter 10 Basic Video Compression Techniques

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

Video 1 Video October 16, 2001

An Overview of Video Coding Algorithms

Motion Video Compression

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

H.261: A Standard for VideoConferencing Applications. Nimrod Peleg Update: Nov. 2003

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

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

Chapter 2 Introduction to

MPEG-2. ISO/IEC (or ITU-T H.262)

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

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

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

Welcome Back to Fundamentals of Multimedia (MR412) Fall, ZHU Yongxin, Winson

5.1 Types of Video Signals. Chapter 5 Fundamental Concepts in Video. Component video

Chapter 2 Video Coding Standards and Video Formats

yintroduction to video compression ytypes of frames ysome video compression standards yinvolves sending:

ITU-T Video Coding Standards

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

Midterm Review. Yao Wang Polytechnic University, Brooklyn, NY11201

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

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

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

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

Computer and Machine Vision

Module 1: Digital Video Signal Processing Lecture 5: Color coordinates and chromonance subsampling. The Lecture Contains:

Chapter 6 & Chapter 7 Digital Video CS3570

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

1. Broadcast television

ATSC vs NTSC Spectrum. ATSC 8VSB Data Framing

Lecture 2 Video Formation and Representation

ITU-T Video Coding Standards H.261 and H.263

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

Video Compression Basics. Nimrod Peleg Update: Dec. 2003

The H.26L Video Coding Project

ELEC 691X/498X Broadcast Signal Transmission Fall 2015

Lecture 2 Video Formation and Representation

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

10 Digital TV Introduction Subsampling

Analog and Digital Video Basics

Multimedia Communication Systems 1 MULTIMEDIA SIGNAL CODING AND TRANSMISSION DR. AFSHIN EBRAHIMI

Analog and Digital Video Basics. Nimrod Peleg Update: May. 2006

MULTIMEDIA TECHNOLOGIES

Lecture 2 Video Formation and Representation

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

Multimedia Systems. Part 13. Mahdi Vasighi

Image and video encoding: A big picture. Predictive. Predictive Coding. Post- Processing (Post-filtering) Lossy. Pre-

Video signals are separated into several channels for recording and transmission.

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

Part II Video. General Concepts MPEG1 encoding MPEG2 encoding MPEG4 encoding

Error concealment techniques in H.264 video transmission over wireless networks

Implementation of an MPEG Codec on the Tilera TM 64 Processor

Lecture 1: Introduction & Image and Video Coding Techniques (I)

Video Over Mobile Networks

OVE EDFORS ELECTRICAL AND INFORMATION TECHNOLOGY

4 H.264 Compression: Understanding Profiles and Levels

The Multistandard Full Hd Video-Codec Engine On Low Power Devices

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

Part1 박찬솔. Audio overview Video overview Video encoding 2/47

Information Transmission Chapter 3, image and video

Introduction to image compression

HDTV compression for storage and transmission over Internet

Video Demystified. A Handbook for the Digital Engineer. Fifth Edition. by Keith Jack

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

RECOMMENDATION ITU-R BT * Video coding for digital terrestrial television broadcasting

HEVC: Future Video Encoding Landscape

RECOMMENDATION ITU-R BT.1203 *

MPEG-2 Video Compression

Comparative Study of JPEG2000 and H.264/AVC FRExt I Frame Coding on High-Definition Video Sequences

Inputs and Outputs. Review. Outline. May 4, Image and video coding: A big picture

A Study on AVS-M video standard

Digital Media. Daniel Fuller ITEC 2110

Basics on Video Communications and Other Video Coding Approaches/Standards

AUDIOVISUAL COMMUNICATION

Television History. Date / Place E. Nemer - 1

EECS150 - Digital Design Lecture 12 Project Description, Part 2

Content storage architectures

Improvement of MPEG-2 Compression by Position-Dependent Encoding

Essence of Image and Video

Video Coding IPR Issues

Distributed Multimedia Systems. 2.Coding. László Böszörményi Distributed Multimedia Systems Coding - 1

Tutorial on the Grand Alliance HDTV System

MPEG-2. Lecture Special Topics in Signal Processing. Multimedia Communications: Coding, Systems, and Networking

Visual Communication at Limited Colour Display Capability

VIDEO 101: INTRODUCTION:

Study of AVS China Part 7 for Mobile Applications. By Jay Mehta EE 5359 Multimedia Processing Spring 2010

A Big Umbrella. Content Creation: produce the media, compress it to a format that is portable/ deliverable

Transcription:

Advanced Computer Networks Video Basics Jianping Pan Spring 2017 3/10/17 csc466/579 1

Video is a sequence of images Recorded/displayed at a certain rate Types of video signals component video separate RGB signals; e.g., VGA CRT composite video luminance and chrominance in one signal carrier S-video 1 luminance and 1 composite chrominance signal VGA, DVI, HDMI, etc 3/10/17 csc466/579 2

Video Image picture resolution: e.g., 640x480 pixel depth: e.g., 8-bit Video frame rate > flicker-free rate movie: 24 frames/second TV: 25 or 30 frames/second VGA CRT: e.g., 50Hz newer: 120fps 3/10/17 csc466/579 3

We see most video on Television PAL (Phase Alternating Line) 625 lines interlaced (576 visible) 25 frames/second aspect ratio 4:3 YUV NTSC (National TV Standards Committee) 525 lines interlaced (480 visible) 30 frames/second (29.97 to be exact), 4:3, YIQ 3/10/17 csc466/579 4

Interlaced vs progressive Interlaced odd line: P => Q Q => R (H retrace) R => S T => U (V retrace) even line: dash-dot Progressive 3/10/17 csc466/579 5

TV broadcasting NTSC (6MHz channel) lower band: guard; upper band: audio (FM) Y: 4.2MHz I: 1.6MHz; Q: 0.6MHz video carrier Luminance color carrier Chrominance audio carrier 0.5 1.25 3.25 4.83 5.45 5.75 6 MHz 3/10/17 csc466/579 6 now go digital white space?

Digital video 3/10/17 csc466/579 7

Chroma subsampling 4:4:4: no subsampling 4:2:2, 4:1:1: chroma as 1/2 or 1/4 luma 4:2:0: vertical subsampling as well 4:2:2 4:1:1 4:2:0 3/10/17 csc466/579 8

Chroma subsampling examples Common Intermediate Format (CIF) 4:2:0 Y: 352 x 288; U and V: 176 x 144 Quarter CIF (QCIF): 176x144; 4:2:0 Y: 176 x 144 U: 88 x 72 V: 88 x 72 3/10/17 csc466/579 9

HDTV High Definition TV: better video/audio 3/10/17 csc466/579 10

TV resolution evolution LDTV: low definition 240i60, 288i50 SDTV: standard definition 480i60, 480p30, 576i50, 576p25 EDTV: enhanced definition 480p60, 576p50, 720i50/60, 720p24/25/30 HDTV: high definition 720p50/60, 1080p24/25/30, 1080i50, 1080i60 3/10/17 csc466/579 11 4KTV, 8KTV?

Temporal redundancy Video is a sequence of images e.g., motion JPEG: M-JPEG Correlation between consecutive images difference due to object or camera motion Frame i Frame i+1 Direct Difference 3/10/17 csc466/579 12

Motion estimation Macro-block: 16x16 pixels find a similar macro-block in the reference frame record the motion vector : (dx,dy)=(x1-x0,y1-y0) encode the difference between two macro-blocks reference frame (x1, y1) (x0, y0) current 3/10/17 csc466/579 frame 13

Motion vector example 3/10/17 csc466/579 14

Macro-block similarity Similarity measures mean square error (MSE) mean absolute distance (MAD) 3/10/17 csc466/579 15 slower encoder?

Search window Rectangle: x: [x0-p, x0+p]; y: [y0-p,y0+p] (2p+1) 2 all possible reference macro-blocks need better search algorithms! 3/10/17 csc466/579 16

2-D Log motion search 3/10/17 csc466/579 17

Hierarchical motion search 3/10/17 csc466/579 18

Group of pictures B: bidirectionally interpolated frame P: predicted frame I: intra-coded frame I P P P P P P 1 2 3 4 5 6 7 I B B P B B P 3/10/17 csc466/579 19

Video encoder Input frame Intra DCT Inter Pred. error Q Q -1 Entropy Coding Intra Inter Prediction Prediction MC ME I DCT Recon Pred error Memory Reconstructed Previous frame Recon. Motion vectors 3/10/17 csc466/579 20

Video decoder Decoder is simpler than encoder usually only the decoder is standardized allow innovations at encoders Entropy Decoding Q -1 I DCT Recon Pred error Motion vectors Intra Inter Prediction 3/10/17 csc466/579 21 M C Reconstructed frame Memory Reconstructed Previous frame

H.261 H.261: p*64kbps (p: 1~30) ITU-T recommendation (1990) real-time video telephony over ISDN (2B+D) end-to-end delay less than 150ms QCIF (required): 176x144, 4:2:0, ~30fps,3 GOB CIF (optional): 352x288, 4:2:0, ~30fps, 12GOB GOB: group of 3x11 macro-blocks 1 macro-block: 4 Y block, 1 Cr block, 1 Cb block 1 block: 8x8 pixel (e.g., in luminance) 3/10/17 csc466/579 22

H.261: more I-frame (JPEG-like) RGB=>YUV, 8x8 blocks DCT Scalar quantization ZigZag scanning, DC/AC encoding, entropy encoding P-frame search window p=15 pixel precision I P P P P P P 3/10/17 csc466/579 23

H.263 H.263: initially < 64Kbps; later higher bps ITU-T Rec (1995); v2(1998); v3 (2000) More video formats sub-qcif, QCIF, CIF, 4CIF, 16CIF More motion estimation techniques half-pixel precision modes: unrestricted motion vector, arithmetic coding, advanced prediction, PB-frames, etc 3/10/17 csc466/579 24

MPEG Motion Picture Experts Group MPEG-1: VCD (VCR-quality) MPEG-2: DVD & HDTV MPEG-3: aborted due to MPEG-2 MPEG-4: content-based (future compression standards) MPEG-7: meta-data MPEG-21: DRM (21st century) 3/10/17 csc466/579 25

MPEG-1 MPEG-1 (1991): VCD (VCR+CD quality) 352x240, 1.2Mbps video CBR, 256Kbps audio progressive scan only (1x CD-ROM) MPEG-1 video compression similar to H.261, with a few differences more formats, flexible slices, quantization table I-frame: JPEG-like compression P-frame: prediction-based; B-frame 3/10/17 csc466/579 26

MPEG-1: more Bi-directional search search both previous and next frames for similar macro-blocks MPEG-1 GOP I-frame, P-frame, B-frame 1 2 3 4 5 6 7 8 9 I B B P B B P B B display order: IBBPBBPBBPBBPBBI (M=3, N=15) coding order: IPBBPBBPBBPBBIBB; timestamps D-frame: for search through the video, DC only 3/10/17 csc466/579 27

MPEG-2 MPEG-2 (1994): DVD, HDTV, etc also adopted as ITU-T H.262 many video formats and data rates; better audio profiles: simple (4:2:0, I/P), main (+B), SNR (+variable quality), spatial (+variable resolution), high (+4:2:2) levels: low (352x288), main (720x576), high 1440 (1440x1152), high (1920x1152) support interlaced video (broadcasting!) 3/10/17 csc466/579 28

MPEG-2 profiles and levels 3/10/17 csc466/579 29

MPEG-2 scalability Layered encoding base layer: independent for basic quality enhancement layer: dependent on the base layer E.g., SNR scalability base: low SQNR (coarse quantization) enhance: high SQNR (fine Q on actual-base) E.g., spatial scalability base: low resolution; enhance: high resolution 3/10/17 csc466/579 30

MPEG-4 MPEG-4 (1999): content-based, object-oriented based on H.263, initially for low bit-rate apps video sequence: a collection of media objects objects: still image, moving object, audio, etc how to decompose is NOT specified (encoder) VOP: video object plane GOV: I-VOP, P-VOP, B-VOP VOP is divided into many macro-blocks motion estimation: bounding box; padding 3/10/17 csc466/579 31

MPEG-4: object oriented 3/10/17 csc466/579 32

Object coding Texture coding DCT-based SA-DCT: shape adaptive Shape coding binary shape; grayscale (transparency) shape Static texture coding wavelet-based (good for scaling) 2-D and 3-D mesh coding 3/10/17 csc466/579 33

Sprite coding 3/10/17 csc466/579 34

MPEG-4: more Fine gain scalability spatial scalability temporal scalability quality scalability MPEG-4 audio general audio (2~64Kbps) speech (2~4Kbps: HVXC; 4~24Kbps: CELP) synthesized (e.g., MIDI, TTS) 3/10/17 csc466/579 35

H.264 H.264 (2003) also as MPEG-4 AVC (advance video coding) initially: low data rate for high picture quality now a wide variety of bit-rates, applications, systems enhanced motion estimation and compensation multi-picture, variable block-size, quarter-pixel precision, weighted prediction, etc profiles: baseline, main, extended; 15 levels fidelity range extension: high, 10, 4:2:2, 4:4:4 3/10/17 csc466/579 36 * H.265 (HEVC)? SVC,MVC, etc

This lecture Video representation Video compression motion vector how to find a similar macro-block generic video encoder/decoder Video standards H.263v2 (H.263+) and H.263v3 (H.263++) MPEG/AVC, H.264, H.265 3/10/17 csc466/579 37