Digital Media Dr. Jim Rowan ITEC 2110 Video Part 2.

Slides:



Advertisements
Similar presentations
Multimedia System Video
Advertisements

Digital Media Dr. Jim Rowan ITEC 2110 Video. Works because of persistence of vision Fusion frequency –~ 40 frames.
Basics of MPEG Picture sizes: up to 4095 x 4095 Most algorithms are for the CCIR 601 format for video frames Y-Cb-Cr color space NTSC: 525 lines per frame.
A Brief Overview of the MPEG2 Standard Dr. David Corrigan.
Source Coding for Video Application
SWE 423: Multimedia Systems
The eyes have three different kinds of color receptors; One kind is most sensitive to short wavelengths, one to middle wavelengths, and one to long wavelengths.
MPEG: A Video Compression Standard for Multimedia Applications Didier Le Gall Communications of the ACM Volume 34, Number 4 Pages 46-58, 1991.
© De Montfort University, Digital Video Howell Istance School of Computing Technology De Montfort University.
Department of Computer Engineering University of California at Santa Cruz Video Compression Hai Tao.
MPEG: A Video Compression Standard for Multimedia Applications Didier Le Gall Communications of the ACM Volume 34, Number 4 Pages 46-58, 1991.
Lecture06 Video Compression. Spatial Vs. Temporal Redundancy Image compression techniques exploit spatial redundancy, the phenomenon that picture contents.
CSE679: MPEG r MPEG-1 r MPEG-2. MPEG r MPEG: Motion Pictures Experts Group r Standard for encoding videos/movies/motion pictures r Evolving set of standards.
Image and Video Compression
1 Video Processing CSC361/ Digital Media Spring 2004 Burg/Wong.
1 Digital Video. 2  Until the arrival of the Pentium processor, in 1993, even the most powerful PCs were limited to capturing images no more than 160.
Digital Video and Multimedia If images can portray a powerful message then video (as a series of related images) is a serious consideration for any multimedia.
Digital Media Lecture 9: Video, TV & Film Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
Digital Media Dr. Jim Rowan ITEC 2110 Video.
MPEG MPEG-VideoThis deals with the compression of video signals to about 1.5 Mbits/s; MPEG-AudioThis deals with the compression of digital audio signals.
Video Coding. Introduction Video Coding The objective of video coding is to compress moving images. The MPEG (Moving Picture Experts Group) and H.26X.
Multimedia Data Video Compression The MPEG-1 Standard
MPEG-1 and MPEG-2 Digital Video Coding Standards Author: Thomas Sikora Presenter: Chaojun Liang.
MPEG: (Moving Pictures Expert Group) A Video Compression Standard for Multimedia Applications Seo Yeong Geon Dept. of Computer Science in GNU.
Picture typestMyn1 Picture types There are three types of coded pictures. I (intra) pictures are fields or frames coded as a stand-alone still image. These.
Video Compression Techniques By David Ridgway.
Video Processing Dinesh Ganotra. Terminologies Frames = Images frame size : WxH Color depth : Pixel represented by fixed amount of bits Duration: T FPS:
D ATA C OMMUNICATIONS Compression Techniques. D ATA C OMPRESSION Whether data, fax, video, audio, etc., compression can work wonders Compression can be.
Digital Media Lecture 10: Video & Compression Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
Digital Media Dr. Jim Rowan ITEC 2110 Video Part 2.
Digital Media Dr. Jim Rowan ITEC 2110 Video Part 2.
Videos Mei-Chen Yeh. Outline Video representation Basic video compression concepts – Motion estimation and compensation Some slides are modified from.
Data Compression. Compression? Compression refers to the ways in which the amount of data needed to store an image or other file can be reduced. This.
In this lecture, you will learn: 1 Basic ideas of video compression General types of compression methods.
MPEG MPEG : Motion Pictures Experts Group MPEG : ISO Committee Widely Used Video Compression Standard.
June, 1999 An Introduction to MPEG School of Computer Science, University of Central Florida, VLSI and M-5 Research Group Tao.
Digital Media Dr. Jim Rowan ITEC 2110 Video Part 2.
Compression video overview 演講者:林崇元. Outline Introduction Fundamentals of video compression Picture type Signal quality measure Video encoder and decoder.
Product Distribution Mediums, Strategies and Compression.
Digital Media Dr. Jim Rowan ITEC 2110 Video Part 2.
Chapter 10 Basic Video Compression Techniques
Digital Media Dr. Jim Rowan ITEC So far… We have compared bitmapped graphics and vector graphics We have discussed bitmapped images, some file formats.
Advances in digital image compression techniques Guojun Lu, Computer Communications, Vol. 16, No. 4, Apr, 1993, pp
Image/Video Coding Techniques for IPTV Applications Wen-Jyi Hwang ( 黃文吉 ) Department of Computer Science and Information Engineering, National Taiwan Normal.
Digital Media Dr. Jim Rowan ITEC 2110 Video Part 2.
Moving Image Compression and File Formats. Acknowledgement Most of this lecture note has been taken from the lecture note on Multimedia and HCI course.
MPEG.
Digital Media Dr. Jim Rowan ITEC 2110 Video.
Video Compression and Standards
Information Systems Design and Development Media Types Computing Science.
6/9/20161 Video Compression Techniques Image, Video and Audio Compression standards have been specified and released by two main groups since 1985: International.
Video Concepts and Techniques 1 SAMARTH COLLEGE OF ENGINEERING &TECHNOLOLOGY DEPARTMENT OF ELECTRONIC & COMMUNICATION ENGINEERING 5th semester (E&C) Subject.
Compression System Optimization. Introduction Compression The reasons behind video compression. Common types of video compressions. The detail of I,P-frame.
CMPT365 Multimedia Systems 1 Media Compression - Video Spring 2015 CMPT 365 Multimedia Systems.
1 Introduction to Video Compression תשס"ט – 2009 דחיסת מולטימדיה – הנדסת מערכות תקשורת Part A Introduction to Video Compression תשס"ט – 2009 דחיסת מולטימדיה.
MPEG Video Coding I: MPEG-1 1. Overview  MPEG: Moving Pictures Experts Group, established in 1988 for the development of digital video.  It is appropriately.
Or, how to make it all fit! DIGITAL VIDEO FILES AND COMPRESSION STANDARDS.
H. 261 Video Compression Techniques 1. H.261  H.261: An earlier digital video compression standard, its principle of MC-based compression is retained.
JPEG Image Coding Standard
Dr. Jim Rowan ITEC 2110 Video Part 2
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Video Compression - MPEG
Dr. Jim Rowan ITEC 2110 Video Part 2
Dr. Jim Rowan ITEC 2110 Video Part 2
Representing Images 2.6 – Data Representation.
CIS679: MPEG MPEG.
Digital Media Dr. Jim Rowan ITEC 2110.
Judith Molka-Danielsen, Oct. 02, 2000
Presentation transcript:

Digital Media Dr. Jim Rowan ITEC 2110 Video Part 2

Coping with Video Size Consider human vision limitations 1) Chrominance sub-sampling Compression - two versions 2) Spatial 3) Temporal differencing vectoring

Coping with Video Size Consider human vision limitations 1) Chrominance sub-sampling Compression - two versions 3) spatial 4) Temporal differencing vectoring

Chrominance sub-sampling Humans can’t distinguish changes in color as well as they can distinguish luminance changes – In our cameras… –Of every 4 frames –store the luminance for each frame –only store a proportion of the color info –4:2:0

Chrominance sub-sampling Luminance, Cr, Cb

Aside from screen size and frame rate... Consider human vision limitations 1) Chrominance sub-sampling Compression - two versions 2) spatial 3) Temporal differencing vectoring Coping with Video Size

Spatial compression Individual images can be compressed using the techniques discussed in the bitmapped section Doesn’t result in very much compression for video Doesn’t take into consideration the other frames that come before or after it Our video cameras do this, compressing each frame to jpeg

Aside from screen size and frame rate... Consider human vision limitations 1) Chrominance sub-sampling Compression - two versions 2) spatial 3) Temporal differencing vectoring Coping with Video Size

Temporal Compression differencing Use the Difference in two frames –A naive approach can result in good compression –Works well for a small amount of movement Security cameras spend most of their time “seeing” the same thing all night long –A Tarantino film? not so much… Most pixels change with nearly every frame Captured Frame 1 Captured Frame 2 Saved Frame 1 Saved Frame 2

Image Differencing To subtract one image from the next Do it one pixel at a time –red minus red –green minus green –blue minus blue Store the difference To play it back –Play frame one 1 –Add frame 2 to frame 1 Next, an example in black & white

Example 1, the difference of two identical images

The result ===>

Example 2, the difference of two similar images

The result ===>

Temporal Compression vectoring When an OBJECT moves –compute its trajectory –fill in the resulting exposed background –BUT there’s a problem... –why isn’t this an easy thing to do? Captured Frame 1 Captured Frame 2 Stored Object Movement Vector Stored Background

More on differencing The differencing can happen in a forward manner and a backward manner It might be more economical (in data size) to create a frame from a frame that follows it...

MPEG-2 iFrame pFrame bFrame GOP frames#Intra_coded_frames_.28or_sli ces_or_I-frames_or_Key_frames.29

iFrame: -a keyframe -spatially compressed (a fully specified image) pFrame -predicted frame -contains only the difference between the current frame and the previous frame (smaller in size than iFrame) bFrame -bi-predicted frame -contains difference between current and both the preceding and following frames -even smaller in size than iFrame

3 mpeg 2 video streams All spatially (intra-frame) compressed Spatially compressed and predictive (difference) Spatially compressed forward and backward predictive (difference) The largest Smaller… but more computation Smallest… but more computation and it is transported out of order! Play sequence: Transmit sequence: Group(s) Of Pictures (GOPs)

So… How does this ===> happen?

Macroblocks It’s COMPLICATED… Images are broken up and transmitted as macroblocks They can be a variety of sizes –Typically 8X8 or 16X16 When missing (or there are video errors) –May use a lower resolution block (that was previously received) –May just use a solid color block instead

Video Compression What does this? Coder/Decoder - Codec –encodes and decodes video Can be symmetric it takes as long to compress as decompress Can be asymmetric it takes longer to compress or decompress than it does to decompress to compress

Video Compression Can be very complex Each image is just jpeg compressed Each image is jpeg compressed; the p-frames are the result of frames being subtracted from the i-frames Each image is jpeg compressed; the p-frames are the result of frames being subtracted from the i-frames; b-frames are the result of frames being subtracted from i-frames and future p-frames

A final worry... Codecs compress video to make it smaller There are a variety of codecs to do this Which to choose? –It is a tradeoff between compression technique, its computational complexity and its artifacts

So... How do codecs vary? compression and decompression complexity –affects the artifacts that are created –affects the time required to carry them out –affects the volume of the data stream created –affects the type and expense of the equipment used –affects whether or not it can be implemented in hardware of software WMV, DivX, Cinepak, Intel Indeo & Sorenson

Which is the original? Notice the aritfacts?

That’s It!