Video 1 Video October 16, 2001

Similar documents
COMP 249 Advanced Distributed Systems Multimedia Networking. Video Compression Standards

Motion Video Compression

An Overview of Video Coding Algorithms

Video coding standards

Advanced Computer Networks

ATSC vs NTSC Spectrum. ATSC 8VSB Data Framing

Multimedia Communications. Image and Video compression

Multimedia Communications. Video compression

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

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

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

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

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

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

Overview: Video Coding Standards

AUDIOVISUAL COMMUNICATION

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

Chapter 10 Basic Video Compression Techniques

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

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

ITU-T Video Coding Standards

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

Principles of Video Compression

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

COMP 9519: Tutorial 1

Midterm Review. Yao Wang Polytechnic University, Brooklyn, NY11201

Digital Media. Daniel Fuller ITEC 2110

MPEGTool: An X Window Based MPEG Encoder and Statistics Tool 1

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

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

ELEC 691X/498X Broadcast Signal Transmission Fall 2015

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

Tutorial on the Grand Alliance HDTV System

Implementation of an MPEG Codec on the Tilera TM 64 Processor

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

10 Digital TV Introduction Subsampling

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

The H.26L Video Coding Project

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

EECS150 - Digital Design Lecture 12 Project Description, Part 2

Digital Image Processing

Improvement of MPEG-2 Compression by Position-Dependent Encoding

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

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

MULTIMEDIA TECHNOLOGIES

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

In MPEG, two-dimensional spatial frequency analysis is performed using the Discrete Cosine Transform

Chapter 2 Introduction to

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

Digital Video Telemetry System

A look at the MPEG video coding standard for variable bit rate video transmission 1

MPEG-1 and MPEG-2 Digital Video Coding Standards

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

CS A490 Digital Media and Interactive Systems

Information Transmission Chapter 3, image and video

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

Transitioning from NTSC (analog) to HD Digital Video

Video Transmission. Thomas Wiegand: Digital Image Communication Video Transmission 1. Transmission of Hybrid Coded Video. Channel Encoder.

INTERNATIONAL TELECOMMUNICATION UNION. SERIES H: AUDIOVISUAL AND MULTIMEDIA SYSTEMS Coding of moving video

HDTV compression for storage and transmission over Internet

Video Processing Applications Image and Video Processing Dr. Anil Kokaram

OVE EDFORS ELECTRICAL AND INFORMATION TECHNOLOGY

Video Over Mobile Networks

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

Introduction to image compression

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

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

Lecture 2 Video Formation and Representation

Hopkins: Digital Terrestrial HDTV for North America: The Grand Alliance HDTV System 185

1. Broadcast television

Digital Television Fundamentals

Communication Theory and Engineering

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

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

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

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

ABSTRACT ERROR CONCEALMENT TECHNIQUES IN H.264/AVC, FOR VIDEO TRANSMISSION OVER WIRELESS NETWORK. Vineeth Shetty Kolkeri, M.S.

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

Television History. Date / Place E. Nemer - 1

Digital terrestrial HDTV for North America The Grand Alliance HDTV system

Video Compression Basics. Nimrod Peleg Update: Dec. 2003

INTERNATIONAL TELECOMMUNICATION UNION

Section 14 Parallel Peripheral Interface (PPI)

Joint source-channel video coding for H.264 using FEC

Understanding IP Video for

Content storage architectures

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

Multimedia Networking

Chapter 2 Video Coding Standards and Video Formats

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

Analog and Digital Video Basics

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

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

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

The World Leader in High Performance Signal Processing Solutions. Section 15. Parallel Peripheral Interface (PPI)

FRACTAL AND MULTIFRACTAL ANALYSES OF COMPRESSED VIDEO SEQUENCES

Chapter 2. Advanced Telecommunications and Signal Processing Program. E. Galarza, Raynard O. Hinds, Eric C. Reed, Lon E. Sun-

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

ATSC Video and Audio Coding

Modeling and Evaluating Feedback-Based Error Control for Video Transfer

Transcription:

Video Video October 6,

Video Event-based programs read() is blocking server only works with single socket audio, network input need I/O multiplexing event-based programming also need to handle time-outs, connection requests all events (mouse clicks, windows, etc.) handled by event loop do wait for event(s) handle event (hopefully short) forever harder to maintain state, recursion alternative : interrupts (signals) called at any time alternaitve : threads (separate scheduling, same address space) October 6,

Video 3 Multiplexing with select() int select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout) block until >= file descriptors have something to be read, written, or an exception, or timeout set bit mask for descriptors to watch using FD SET returns with bits for ready descriptors set check with FD ISSET cannot specify amount of data ready October 6,

Video Audio timing Need to write block of audio to speaker every t ms (t =... ms). timer OS overhead may not be accurate error accumulation (time between timers) clock may differ from audio sampling clock. use audio input: for every block read, write one audio block stay in sync 3. but: doesn t work for half-duplex audio cards October 6,

Video 5 Analog video black & white (RS7) + color burst subcarrier 5,75 Hz horizontal scanning system where lines (disp.) size f/s bw NTSC US, Japan 55 (83) :3 3 6 MHz PAL Europe 65 (576) :3 5 8 MHz Scan line 3 5 7 9 The next field start here Scan line painted on the screen 3 Time 5 83 Horizontal retrace... Vertical retrace reduce flicker interlace scanning: fields/frame October 6,

Video 6 Digital video format lines pixels SCIF 8 7 CIF 88 35 QCIF 76 motion video: 5 to 3 f/s camera Red, Green, Blue chrominance, luminance YUV: Y = luminance, UV: color difference (red, blue Y) October 6,

Video 7 Digital video eye more sensitive to luminance subsample chrominance: ::, ::, :: RGB Y I 3 8 8 Block 8-Bit pixel treat chrominance and luminance differently (a) -Bit pixel Block 799 (b) Q October 6,

Video 8 Video coding lossless (entropy): (X ray images!) run-length, statistical encoding (Huffman coding,...) lossy: exploit spatial redundancy transform: frequency domain, higher quantization steps for higher frequencies vector quantization: map NxN block into N -dimensional space and find closest in codebook model-based: geometric description very low bit-rate October 6,

Video 9 Images X-ray digitization: pixels x lines, at bits/pixel slide: -5 dpi for 6.75 x.5 7 mm movie: lines 35 mm film: 753 lines slide film: lines/mm (5 lines/inch) HDTV: 5 lines fax: lines/inch October 6,

Video Video coding: JPEG (Joint Photographic Experts Group) individual (still) pictures lossless or lossy typically about Mb/s for video stream discrete cosine transform (DCT): samples blocks (6x6 Y, 8x8 UV) frequency domain D matrix, (,) = DC ( ) ( ) (i +)uπ (j +)vπ B u,v (i, j) = cos cos 6 6 with the transformed image F (u, v) = N C(u)C(v) 7 i= 7 f(i, j)b u,v (i, j) j= October 6,

Video Video coding: JPEG code frequency sampled with different resolution Q y DCT Fy x Fx October 6,

Video Video coding: JPEG (Joint Photographic Experts Group) DC or average (,) value: difference to previous block DCT Coefficients Quantized coefficients 5 9 5 8 75 38 8 3 36 6 6 8 6 7 5 9 6 3 8 75 9 8 3 3 Quantization table 8 6 3 8 6 3 8 6 3 8 6 3 8 8 8 8 8 6 3 6 6 6 6 6 6 3 3 3 3 3 3 3 3 October 6,

Video 3 JPEG zig-zag scan: 5 8 9 75 8 3 6 9 3 3 run-length coding: group all zeros Huffmann coding See also http://www.cs.columbia.edu/ hgs/video October 6,

Video JPEG bandwidth Size [Bytes] 3 5 5 Noise Face Face White Picture Black Picture 5 5 5 5 3 Q-Factor October 6,

Video 5 MPEG (Motion Picture Experts Group) Audio and video: Audio signal Audio encoder Clock System multiplexer MPEG output Video signal Video encoder JPEG + motion compensation H.6, MPEG video MPEG-:. Mb/s fixed rate (CD ROM) MPEG-: higher resolutions (HDTV), scaling image prediction: intra (I), forward (P), bidirectional (B) IBBPBBPBBPBBIBBPBBPB need I frames for error resiliency, joining movie in the middle October 6,

Video 6 MPEG I, P, B I B P P 3 frames B frames need to wait for next frame. October 6,

Video 7 MPEG: motion compensation transmit motion vectors to account for panning and zooming hard to find (must try lots), easy to decode October 6,

Video 8 H.6 video codec ISDN (n kb/s) conferencing lower delay conditional replenishment: only transmit blocks that are different motion vectors for each 6x6 macroblock: ±5 integer pixels GOB: macroblocks H, 3 macroblocks V, marked by start code October 6,

Video 9 H.63 video codec sub-qcif (8 96), CIF (7x576), 6CIF (8x5) motion prediction outside frame advanced prediction mode: vectors for each 8x8 block advanced intra prediction within picture slice-structured mode: non-overlapping rectangles scalability: temporal (B frames), SNR, spatial October 6,

Video HDTV subset of MPEG- video compression, Dolby AC-3 audio compression vestigial sideband modulation (8-VSB) of 9 Mb/s or 6-VSB for two channels in CATV formats: 8 x 7, 3, 6 Hz progressive scan 9 x 8, 3 progressive, 6 Hz interlaced MPEG- transport stream: fixed-length 88-byte packets (x7 ATM cells) one channel = one or more programs October 6,

Video Multiplexing Pack multiple streams into a single lower layer IETF: MIME, RTP (later) ITU: H. (synchronous, 8x8) MPEG: elementary, transport, program file formats: AVI, QuickTime October 6,

Video Characteristics of digital audio and video audio video rate 5.3...... 5 kb/s...5...9mb/s loss tolerance 5% 5...% packet size small large traffic constant + silences variable bit rate October 6,

Video 3 Audio traffic models talkspurt: constant bit rate: one packet every... ms mean:.67 s silence period: usually none (maybe transmit background noise value).3 s for telephone conversation, both roughly exponentially distributed double talk for hand-off may vary between conversations... only in aggregate October 6,

Video Video traffic models easy case: fit into constant bit rate quality, f/s, size buffer occupancy video codec network smoothing buffer alternative: variable rate mux gain of...6 short time scales: packets within slice or frame medium time scales: I, B, P packet pattern longer time scales: scene changes (every few seconds) higher rate looks similar at all time scales, long-term correlation, heavy-tailed distribution self-similar but: for short queues, long-term correlations don t matter October 6,