SlideShare ist ein Scribd-Unternehmen logo
1 von 165
Image & Video Compression   Conferencing & Internet Video Portland State University Sharif University of Technology
Objectives ,[object Object],[object Object],[object Object],[object Object],[object Object]
Outline Section 1: Conferencing Video Section 2: Internet Review Section 3: Internet Video
Section 1: Conferencing Video ,[object Object],[object Object],[object Object],[object Object],[object Object]
Video Compression Review
Garden Variety Video Coder Motion Estimation & Compensation Transform, Quantization, Zig- Zag Scan & Run- Length Encoding Symbol Encoder Frames of Digital Video Bit Stream Video codecs have three main functional blocks Video Compression Review
Symbol Encoding Motion Estimation & Compensation Transform, Quantization, Zig- Zag Scan & Run- Length Encoding Symbol Encoder Frames of Digital Video Bit Stream The symbol encoder exploits the statistical properties of its input by using shorter code words for more common symbols. Examples: Huffman & Arithmetic Coding Video Compression Review
Symbol Encoding Motion Estimation & Compensation Transform, Quantization, Zig- Zag Scan & Run- Length Encoding Symbol Encoder Frames of Digital Video Bit Stream This block is the basis for most lossless image coders (in conjunction with DPCM, etc.) Video Compression Review
Transform & Quantization Motion Estimation & Compensation Transform, Quantization, Zig- Zag Scan & Run- Length Encoding Symbol Encoder Frames of Digital Video Bit Stream A transform (usually DCT) is applied to the input data for better energy compaction which decreases the entropy and improves the performance of the symbol encoder. Video Compression Review
Transform & Quantization Motion Estimation & Compensation Transform, Quantization, Zig- Zag Scan & Run- Length Encoding Symbol Encoder Frames of Digital Video Bit Stream The DCT also decomposes the input into its frequency components so that perceptual properties can be exploited. For example, we can throw away high frequency content first. Video Compression Review
Transform & Quantization Motion Estimation & Compensation Transform, Quantization, Zig- Zag Scan & Run- Length Encoding Symbol Encoder Frames of Digital Video Bit Stream Quantization lets us reduce the representation size of each symbol, improving compression but at the expense of added errors. It’s the main tuning knob for controlling data rate. Video Compression Review
Transform & Quantization Motion Estimation & Compensation Transform, Quantization, Zig- Zag Scan & Run- Length Encoding Symbol Encoder Frames of Digital Video Bit Stream Zig-zag scanning and run-length encoding orders the data into 1-D arrays and replaces long runs of zeros with run-length symbols. Video Compression Review
Still Image Compression Motion Estimation & Compensation Transform, Quantization, Zig- Zag Scan & Run- Length Encoding Symbol Encoder Frames of Digital Video Bit Stream These two components form the basis for many still image compression algorithms such as JPEG, PhotoCD, M-JPEG and DV. Video Compression Review
Motion Estimation/Compensation Motion Estimation & Compensation Transform, Quantization, Zig- Zag Scan & Run- Length Encoding Symbol Encoder Frames of Digital Video Bit Stream Finally, because video is a sequence of pictures with high temporal correlation, we add motion estimation/compensation to try to predict as much of the current frame as possible from the previous frame. Video Compression Review
Motion Estimation/Compensation Motion Estimation & Compensation Transform, Quantization, Zig- Zag Scan & Run- Length Encoding Symbol Encoder Frames of Digital Video Bit Stream Most common method is to predict each block in the current frame by a (possibly translated) block of the previous frame. Video Compression Review
Garden Variety Video Coder Motion Estimation & Compensation Transform, Quantization, Zig- Zag Scan & Run- Length Encoding Symbol Encoder Frames of Digital Video Bit Stream These three components form the basis for most of the standard video compression algorithms: MPEG-1, -2, & -4, H.261, H.263, H.263+. Video Compression Review
Section 1: Conferencing Video ,[object Object],[object Object],[object Object],[object Object],Chronology of Video Standards
Chronology of Video Standards 1990 1996 2002 1992 1994 1998 2000 H.263L H.263++ H.263+ H.263 H.261 MPEG 7 MPEG 4 MPEG 2 MPEG 1 ISO ITU-T
Chronology of Video Standards ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Chronology continued ,[object Object],[object Object],[object Object],[object Object]
Chronology continued ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Chronology continued ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Chronology continued ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Section 1: Conferencing Video ,[object Object],[object Object],[object Object],[object Object],The Input Video Format
Video Format for Conferencing ,[object Object],[object Object],[object Object],Input Format Cb Cr Y =
YCbCr (YUV) Color Space 0.299  0.587  0.114 -0.169  -0.331  0.500 0.500  -0.419  -0.081 R G B Y Cb Cr = Y represents the luminance of a pixel. Cr, Cb represents the color difference or chrominance of a pixel. Input Format ,[object Object],[object Object]
Subsampled Chrominance Input Format ,[object Object],[object Object]
Spatial relation between luma and chroma pels for CIF 4:2:0 Different than MPEG-2 4:2:0 Input Format
Common Intermediate Format Input Format ,[object Object],[object Object],[object Object],[object Object]
Picture & Pixel Aspect Ratios Picture 4:3 352 288 Pixel 12:11 Pixels are not square in CIF. Input Format
Picture & Pixel Aspect Ratios Hence on a square pixel display such as a computer screen, the video will look slightly compressed horizontally. The solution is to spatially resample the video frames to be 384 x 288 or 352 x 264 This corresponds to a 4:3 aspect ratio for the picture area on a square pixel display. Input Format
Blocks and Macroblocks The luma and chroma planes are divided into 8x8 pixel blocks. Every four luma blocks are associated with a corresponding Cb and Cr block to create a  macroblock . 8x8 pixel blocks macroblock Y Cb Cr Input Format
Section 1: Conferencing Video ,[object Object],[object Object],[object Object],[object Object],H.263 Overview
ITU-T Recommendation H.263
ITU-T Recommendation H.263 ,[object Object],[object Object],[object Object]
ITU-T Recommendation H.263 Composed of a baseline plus four negotiable options Baseline Codec  Unrestricted/Extended Motion Vector Mode Advanced Prediction Mode PB Frames Mode  Syntax-based Arithmetic Coding Mode
Frame Formats Always 12:11 pixel aspect ratio. H.263 Baseline
Picture & Macroblock Types ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],H.263 Baseline
Motion Vectors H.263 Baseline ,[object Object],[object Object],[object Object],X C B A
Motion Vector Delta (MVD) Symbol Lengths H.263 Baseline
Transform Coefficient Coding H.263 Baseline ,[object Object],[object Object],[object Object],[object Object],[object Object]
Quantization H.263 Baseline ,[object Object],[object Object],[object Object],Q -Q 2Q -2Q in out
Bit Stream Syntax  Hierarchy of three layers. Picture Layer GOB* Layer MB Layer *A GOB is usually a row of macroblocks, except for frame sizes greater than CIF. Picture Hdr GOB Hdr MB MB ... GOB Hdr ... H.263 Baseline
Picture Layer Concepts Picture Start Code Temporal Reference Picture Type Picture Quant H.263 Baseline ,[object Object],[object Object],[object Object],[object Object]
GOB Layer Concepts GOB Headers are Optional GOB Start Code GOB Number GOB Quant H.263 Baseline ,[object Object],[object Object],[object Object],GOB can be decoded independently from the  rest of the frame.
Macroblock Layer Concepts Coded Flag MB Type Code Block Pattern MV Deltas Transform Coefficients DQuant H.263 Baseline ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Unrestricted/Extended Motion Vector Mode ,[object Object],[object Object],[object Object],[object Object],H.263 Options
Motion Vectors Over Picture Boundaries Target Frame N Reference Frame N-1 Edge pixels are repeated. H.263 Options
Extended MV Range Base motion vector range. Extended motion vector range, [-16,15.5] around MV predictor. H.263 Options 15.5 15.5 -16 -16 -16 -16 15.5 15.5 (31.5,31.5)
Advanced Prediction Mode H.263 Options ,[object Object],[object Object],[object Object]
Overlapped Motion Compensation ,[object Object],[object Object],[object Object],[object Object],H.263 Options
Overlapped Motion Compensation ,[object Object],[object Object],[object Object],[object Object],H.263 Options
Overlapped Motion Comp. ,[object Object],[object Object],[object Object],H.263 Options MV 0 MV 1 MV 1 MV 2 MV 2
Overlapped Motion Comp. ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],H.263 Options
Overlapped Motion Comp. H 0 (i, j) = H.263 Options
Overlapped Motion Comp. H 1 (i, j) = H.263 Options H 2 (i, j) = ( H 1 (i, j) ) T
PB Frames Mode H.263 Options ,[object Object],[object Object],[object Object],[object Object]
PB Frames Picture 1 P or I Frame Picture 2 B Frame Picture 3 P or I Frame V 1/2 -V 1/2 2X frame rate for only 30% more bits. H.263 Options PB
Syntax based Arithmetic Coding Mode H.263 Options ,[object Object],[object Object],[object Object]
H.263 Improvements over H.261 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Demo: QCIF, 8 fps @ 28 Kb/s H.261 H.263
Video Conferencing Demonstration
Section 1: Conferencing Video ,[object Object],[object Object],[object Object],[object Object],H.263 Options H.263+ Overview
ITU-T Recommendation H.263 Version 2 (H.263+)
H.263 Ver. 2 (H.263+) ,[object Object],[object Object],[object Object],H.263+
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],H.263: Overview H.263 “plus” more negotiable options H.263+
H.263: Overview   H.263 “plus” more negotiable options ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Arbitrary Frame Size, Pixel Aspect Ratio, Clock Frequency H.263+ ,[object Object],[object Object],[object Object]
Advanced INTRA Coding Mode H.263+ ,[object Object],[object Object],[object Object],[object Object]
Advanced INTRA Mode DCT Blocks Row Prediction Column Prediction H.263+
Deblocking Filter Mode H.263+ ,[object Object],[object Object],[object Object]
Deblocking Filter Mode Block Boundary Block Boundary H.263+
Deblocking Filter Mode ,[object Object],[object Object],H.263+
Deblocking Filter Mode ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],H.263+
Post-Filter ,[object Object],[object Object],[object Object],H.263+
Deblocking Filter Demo H.263+ No Filter Deblocking Loop Filter
Deblocking Filter Demo H.263+ No Filter Loop  & Post Filter
Filter Demo Videos No Filter Loop Filter Loop & Post Filter
Slice Structured Mode H.263+ ,[object Object],[object Object],[object Object],[object Object]
Slice Structured Mode Slice Boundaries No INTRA or MV Prediction across slice boundaries. H.263+ Slices start and end on macroblock  boundaries.
Slice Structured Mode Independent Segments Slice Boundaries No INTRA or MV Prediction across slice boundaries. H.263+ Slice sizes remain fixed between INTRA frames.
Supplemental Enhancement Information H.263+ ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Reference Picture Resampling H.263+ ,[object Object],[object Object],[object Object]
Reference Picture Resampling with Warping Specify arbitrary warping parameters via displacement vectors from corners.  H.263+
Reference Picture Resampling Factor of 4 Size Change P P P P P No INTRA Frame Required when changing video frame sizes H.263+
Scalability Mode H.263+ ,[object Object],[object Object],[object Object],[object Object],Base Layer Enhancement Layer 1 Enhancement Layer 2
Layered Video Bitstreams Enh. Layer 1 Enhancement Layer 3 Enhancement Layer 4 Base Layer Enhancement Layer 2 H.263+ Encoder 40 kb/s 20 kb/s 90 kb/s 200 kb/s 320 kb/s H.263+
Scalability Mode H.263+ ,[object Object],[object Object]
Layered Video Bit Streams in multipoint conferencing 384 kb/s 384 kb/s 128 kb/s 28.8 kb/s H.263+
Temporal Enhancement Higher Frame Rate! Base Layer + B Frames H.263+
Temporal Scalability Temporal scalability means that two or more frame rates can be supported by the same bit stream. In other words, frames can be discarded (to lower the frame rate) and the bit stream remains usable.  H.263+ I or P B B P ... ...
Temporal Scalability H.263+ ,[object Object],[object Object],[object Object]
B Frames Picture 1 P or I Frame Picture 2 B Frame Picture 3 P or I Frame V 1/2 -V 1/2 2X frame rate for only 30% more bits H.263+
Temporal Scalability Demonstration ,[object Object],[object Object],H.263+
SNR Enhancement Better Spatial Quality! Base Layer + SNR Layer H.263+
SNR Scalability H.263+ ,[object Object],[object Object],[object Object],[object Object]
SNR Scalability Base Layer (15 kbit/s) Enhancement Layer (40 kbit/s) H.263+ EI EP EP P P I Legend: I  - Intracoded or Key Frame P  - Predicted Frame EI  - Enhancement layer key frame EP  - Enhancement layer predicted frame
SNR Scalability Demonstration ,[object Object],[object Object],H.263+
Spatial Enhancement More Spatial Resolution!! Base Layer + Spatial Layer H.263+
Spatial Scalability H.263+ ,[object Object],[object Object],[object Object]
Spatial Scalability H.263+ EP EP EI I P P Enhancement Layer Base Layer
Spatial Scalability Demonstration ,[object Object],[object Object],H.263+
Hybrid Scalability It is possible to combine temporal, SNR and spatial scalability into a flexible layered framework with many levels of quality. H.263+
Hybrid Scalability H.263+ EI EP P B EP P Base Layer Enhancement Layer 1 Enhancement Layer 2 EP EP P EI EI I
Scalability Demonstration ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],H.263+
Other Miscellaneous Features ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],H.263+
Other Miscellaneous Features ,[object Object],[object Object],[object Object],[object Object],H.263+
Other Miscellaneous Features ,[object Object],[object Object],[object Object],[object Object],H.263+
Outline Section 1: Conferencing Video Section 2: Internet Review Section 3: Internet Video 
The Internet
Internet Basics Phone lines are “circuit-switched”. A (virtual) circuit is established at call initiation and remains for the duration of the call. Source Dest. switch switch switch Internet Review
Internet Basics Computer networks are “packet-switched”. Data is fragmented into packets, and each packet finds its way to the destination using different routes. Lots of implications... Source Dest. switch switch switch X Internet Review
The Internet is heterogeneous [V. Cerf] Corporate LAN INTERNET  (Global Public) HyperStream FR, SMDS, ATM TYMNET  Host Dial-up  IP “ SLIP”, “PPP” IP IP IP “ SMTP” E-mail FR FR FR “ SLIP” “ PPP” X.25 “ SMTP” IP Dial-up E-mail R R R AOL LAN LAN MCI Mail LAN Mail GW
Layers in the Internet Protocol Architecture Network Access Layer consists of routines for accessing physical networks 1 Internet Layer defines the datagram and handles the  routing of data. 2 Host-to-Host Transport Layer provides end-to-end data delivery services. 3 Application Layer consists of applications and processes that use the network. 4 Internet Review
Data Encapsulation Header Header Data Encapsulation Header Data Application Layer Transport Layer Internet Layer Network Access Layer Data Header Data Header Header Data Internet Review
Internet Protocol Architecture FDDI Ethernet Token Ring HDLC SMDS X.25 ATM FR TCP UDP SNMP DNS TELNET FTP SMTP MIME . . . . . . Network Access Layer Internet Host-Host Transport Utility/ Application RTP Internet Review MBone VIC/VAT I P
Specific Protocols for Multimedia IP UDP RTP Specific Protocols for Multimedia IP TCP UDP RTP Physical Network payload RTP payload UDP RTP payload Data Internet Review Payload header
[object Object],[object Object],[object Object],[object Object],[object Object],The Internet Protocol (IP) Internet Review
The Internet Protocol (IP) ,[object Object],[object Object],[object Object],[object Object],Internet Review
Transmission Control Protocol (TCP) ,[object Object],[object Object],[object Object],[object Object],[object Object],Transmission Control Protocol (TCP) Internet Review
Universal Datagram Protocol (UDP) ,[object Object],[object Object],[object Object],[object Object],Internet Review
Real time Transport Protocol (RTP) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Internet Review
Real-time Transport Protocol (RTP) ,[object Object],[object Object],Internet Review
Real-time Transport Control Protocol (RTCP) ,[object Object],[object Object],Internet Review
Real-time Transport Control Protocol (RTCP) ,[object Object],[object Object],[object Object],[object Object],Internet Review
Multicast Backbone (Mbone) ,[object Object],[object Object],Internet Review
Unicast Example Streaming media to multi-participants S1 D1 S2 D1 D2 S1 sends duplicate packets because there’s  two participants: D1, D2.. D2 sees excess traffic on this subnet. Internet Review 1 1 1 1 2 2 2 1 1 1 1
Multicast Example Streaming media to multi-participants S1 D1 S2 D1 D2 S1 sends single set of packets to a multicast group. D2 doesn’t see  any excess traffic on this subnet. Both D1 receivers subscribe to the same multicast group. Internet Review 1 1 1 2 2 2 1 1
Multicast Backbone (MBone) ,[object Object],[object Object],[object Object],[object Object],Internet Review
ReSerVation Protocol (RSVP) Internet Draft ,[object Object],[object Object],[object Object],[object Object],[object Object],Internet Review
Real-time Streaming Protocol (RTSP)  Internet Draft ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Internet Review
Hyper-Text Transport Protocol (HTTP) ,[object Object],[object Object],[object Object],[object Object],Internet Review
Outline Section 1: Conferencing Video Section 2: Internet Review Section 3: Internet Video  
Internet Video
How do we stream video over the Internet? ,[object Object],[object Object],We’ll look at some solutions... Internet Video
HTTP Streaming ,[object Object],[object Object],[object Object],Internet Video
HTTP Streaming ,[object Object],[object Object],[object Object],Internet Video
RTP Streaming ,[object Object],[object Object],[object Object],[object Object],Internet Video
RTP Streaming ,[object Object],[object Object],[object Object],[object Object],Internet Video
H.263 Payload for RTP ,[object Object],[object Object],[object Object],[object Object],Internet Video RTP Header H.263 Payload Header H.263 Payload (bit stream)
H.263 Payload for RTP ,[object Object],[object Object],[object Object],Internet Video
Error Resiliency: Redundancy & Concealment Techniques Internet Video
Internet Packet Loss ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Internet Video
Packet Loss Burst Lengths Internet Video
Internet Video
First Order Loss Model 2-Stage Gilbert Model No Loss Loss 1 - p 1 - q p q Internet Video p = 0.083  q = 0.823
[object Object],[object Object],[object Object],Error Resiliency Internet Video + - REDUNDANCY compression resiliency
Error Resiliency Errors tend to propagate in video compression because of its predictive nature. I or P frame P frame One block is lost. Error propagates to two blocks in the next frame. Internet Video
[object Object],[object Object],[object Object],[object Object],Error Resiliency Internet Video
[object Object],[object Object],[object Object],Simple INTRA Coding & Skipped Blocks Internet Video
Intra Coding Resiliency Internet Video
Reference Picture Selection Mode of H.263+ I or P frame P frame P frame Last acknowledged error-free frame. In RPS Mode, a frame is not used for prediction in the encoder until it’s been acknowledged to be error free. No acknowledgment received yet - not used for prediction. Internet Video
[object Object],[object Object],Reference Picture Selection Internet Video
[object Object],[object Object],[object Object],[object Object],Multi-threaded Video 1 3 2 5 7 9 4 6 8 10 I P P P P P P P P I Internet Video
[object Object],[object Object],Conditional Replenishment ME/MC DCT, etc. decoder decoder Encoder Internet Video
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Conditional Replenishment Internet Video
[object Object],[object Object],[object Object],[object Object],[object Object],Error Tracking Appendix II, H.263 Internet Video
[object Object],[object Object],Prioritized Encoding AC Coefficients DC Coefficients MB Information Motion Vectors Picture Header Increasing Error Protection Internet Video
Prioritized Encoding Demo Internet Video Unprotected Encoding Prioritized Encoding (23% Overhead) Videos used with permission of ICSI, UC Berkeley
Error Concealment by Interpolation Lost block Take the weighted average of 4 neighboring pixels. Internet Video d 1 d 2
[object Object],[object Object],[object Object],[object Object],[object Object],Other Error Concealment Techniques Internet Video See references for more information...
Example: MRNF Filtering Internet Video
[object Object],[object Object],[object Object],[object Object],Network Congestion Internet Video
[object Object],[object Object],[object Object],[object Object],Receiver-driven Layered Multicast Internet Video
Receiver-driven Layered Multicast S D3 D2 D1 R R Internet Video Multicast groups are not transmitted on networks that have no subscribers. 1 2 3 1 2 3 1 2 1 2 1

Weitere ähnliche Inhalte

Was ist angesagt?

Chapter 5 - Data Compression
Chapter 5 - Data CompressionChapter 5 - Data Compression
Chapter 5 - Data CompressionPratik Pradhan
 
Data Compression (Lossy and Lossless)
Data Compression (Lossy and Lossless)Data Compression (Lossy and Lossless)
Data Compression (Lossy and Lossless)Project Student
 
A short history of video coding
A short history of video codingA short history of video coding
A short history of video codingIain Richardson
 
Video Compression Standards - History & Introduction
Video Compression Standards - History & IntroductionVideo Compression Standards - History & Introduction
Video Compression Standards - History & IntroductionChamp Yen
 
Audio compression
Audio compressionAudio compression
Audio compressionSahil Garg
 
Audio encoding principles
Audio encoding principlesAudio encoding principles
Audio encoding principlesPhillip Doyle
 
An Introduction to Versatile Video Coding (VVC) for UHD, HDR and 360 Video
An Introduction to  Versatile Video Coding (VVC) for UHD, HDR and 360 VideoAn Introduction to  Versatile Video Coding (VVC) for UHD, HDR and 360 Video
An Introduction to Versatile Video Coding (VVC) for UHD, HDR and 360 VideoDr. Mohieddin Moradi
 
Video Compression Basics - MPEG2
Video Compression Basics - MPEG2Video Compression Basics - MPEG2
Video Compression Basics - MPEG2VijayKumarArya
 
MPEG-1 Part 2 Video Encoding
MPEG-1 Part 2 Video EncodingMPEG-1 Part 2 Video Encoding
MPEG-1 Part 2 Video EncodingChristian Kehl
 
H.264 video standard
H.264 video standardH.264 video standard
H.264 video standardSajan Sahu
 
An Overview of High Efficiency Video Codec HEVC (H.265)
An Overview of High Efficiency Video Codec HEVC (H.265)An Overview of High Efficiency Video Codec HEVC (H.265)
An Overview of High Efficiency Video Codec HEVC (H.265)Varun Ravi
 
Video Compression Basics
Video Compression BasicsVideo Compression Basics
Video Compression BasicsSanjiv Malik
 

Was ist angesagt? (20)

Chapter 5 - Data Compression
Chapter 5 - Data CompressionChapter 5 - Data Compression
Chapter 5 - Data Compression
 
Data Compression (Lossy and Lossless)
Data Compression (Lossy and Lossless)Data Compression (Lossy and Lossless)
Data Compression (Lossy and Lossless)
 
A short history of video coding
A short history of video codingA short history of video coding
A short history of video coding
 
Video Compression
Video CompressionVideo Compression
Video Compression
 
MPEG/Audio Compression
MPEG/Audio CompressionMPEG/Audio Compression
MPEG/Audio Compression
 
Video Compression Standards - History & Introduction
Video Compression Standards - History & IntroductionVideo Compression Standards - History & Introduction
Video Compression Standards - History & Introduction
 
H261
H261H261
H261
 
Audio compression
Audio compressionAudio compression
Audio compression
 
Audio encoding principles
Audio encoding principlesAudio encoding principles
Audio encoding principles
 
An Introduction to Versatile Video Coding (VVC) for UHD, HDR and 360 Video
An Introduction to  Versatile Video Coding (VVC) for UHD, HDR and 360 VideoAn Introduction to  Versatile Video Coding (VVC) for UHD, HDR and 360 Video
An Introduction to Versatile Video Coding (VVC) for UHD, HDR and 360 Video
 
Video Compression Basics - MPEG2
Video Compression Basics - MPEG2Video Compression Basics - MPEG2
Video Compression Basics - MPEG2
 
HDR and WCG Principles-Part 6
HDR and WCG Principles-Part 6HDR and WCG Principles-Part 6
HDR and WCG Principles-Part 6
 
Audio compression
Audio compressionAudio compression
Audio compression
 
Jpeg compression
Jpeg compressionJpeg compression
Jpeg compression
 
Data compression
Data compression Data compression
Data compression
 
MPEG-1 Part 2 Video Encoding
MPEG-1 Part 2 Video EncodingMPEG-1 Part 2 Video Encoding
MPEG-1 Part 2 Video Encoding
 
H.264 video standard
H.264 video standardH.264 video standard
H.264 video standard
 
An Overview of High Efficiency Video Codec HEVC (H.265)
An Overview of High Efficiency Video Codec HEVC (H.265)An Overview of High Efficiency Video Codec HEVC (H.265)
An Overview of High Efficiency Video Codec HEVC (H.265)
 
Analog Video
Analog Video Analog Video
Analog Video
 
Video Compression Basics
Video Compression BasicsVideo Compression Basics
Video Compression Basics
 

Andere mochten auch

Eindpresentatie New Media Managment voorjaar 2012, HU
Eindpresentatie New Media Managment voorjaar 2012, HUEindpresentatie New Media Managment voorjaar 2012, HU
Eindpresentatie New Media Managment voorjaar 2012, HUrenatavankatwijk
 
Input based dynamic reconfiguration of
Input based dynamic reconfiguration ofInput based dynamic reconfiguration of
Input based dynamic reconfiguration ofLogicMindtech Nologies
 
DIC_video_coding_standards_07
DIC_video_coding_standards_07DIC_video_coding_standards_07
DIC_video_coding_standards_07aniruddh Tyagi
 
MPEG video compression standard
MPEG video compression standardMPEG video compression standard
MPEG video compression standardanuragjagetiya
 

Andere mochten auch (6)

Flv for H.264
Flv for H.264Flv for H.264
Flv for H.264
 
Eindpresentatie New Media Managment voorjaar 2012, HU
Eindpresentatie New Media Managment voorjaar 2012, HUEindpresentatie New Media Managment voorjaar 2012, HU
Eindpresentatie New Media Managment voorjaar 2012, HU
 
Input based dynamic reconfiguration of
Input based dynamic reconfiguration ofInput based dynamic reconfiguration of
Input based dynamic reconfiguration of
 
DIC_video_coding_standards_07
DIC_video_coding_standards_07DIC_video_coding_standards_07
DIC_video_coding_standards_07
 
MPEG video compression standard
MPEG video compression standardMPEG video compression standard
MPEG video compression standard
 
E voting
E voting E voting
E voting
 

Ähnlich wie H263.ppt

Spatial Scalable Video Compression Using H.264
Spatial Scalable Video Compression Using H.264Spatial Scalable Video Compression Using H.264
Spatial Scalable Video Compression Using H.264IOSR Journals
 
H.264 video compression standard.
H.264 video compression standard.H.264 video compression standard.
H.264 video compression standard.Axis Communications
 
h.264 video compression standard.
h.264 video compression standard.h.264 video compression standard.
h.264 video compression standard.Videoguy
 
H264 video compression explained
H264 video compression explainedH264 video compression explained
H264 video compression explainedcnssources
 
Video Conferencing : Fundamentals and Application
Video Conferencing : Fundamentals and ApplicationVideo Conferencing : Fundamentals and Application
Video Conferencing : Fundamentals and ApplicationVideoguy
 
Video Coding Standard
Video Coding StandardVideo Coding Standard
Video Coding StandardVideoguy
 
IBM VideoCharger and Digital Library MediaBase.doc
IBM VideoCharger and Digital Library MediaBase.docIBM VideoCharger and Digital Library MediaBase.doc
IBM VideoCharger and Digital Library MediaBase.docVideoguy
 
Video Compression Technology
Video Compression TechnologyVideo Compression Technology
Video Compression TechnologyTong Teerayuth
 
/conferences/spr2004/presentations/eubanks/eubanks_mpeg4.ppt
/conferences/spr2004/presentations/eubanks/eubanks_mpeg4.ppt/conferences/spr2004/presentations/eubanks/eubanks_mpeg4.ppt
/conferences/spr2004/presentations/eubanks/eubanks_mpeg4.pptVideoguy
 
Video Streaming - 4.ppt
Video Streaming - 4.pptVideo Streaming - 4.ppt
Video Streaming - 4.pptVideoguy
 
mpeg4copy-120428133000-phpapp01.ppt
mpeg4copy-120428133000-phpapp01.pptmpeg4copy-120428133000-phpapp01.ppt
mpeg4copy-120428133000-phpapp01.pptPawachMetharattanara
 
Mpeg4copy 120428133000-phpapp01
Mpeg4copy 120428133000-phpapp01Mpeg4copy 120428133000-phpapp01
Mpeg4copy 120428133000-phpapp01netzwelt12345
 

Ähnlich wie H263.ppt (20)

E010132529
E010132529E010132529
E010132529
 
Spatial Scalable Video Compression Using H.264
Spatial Scalable Video Compression Using H.264Spatial Scalable Video Compression Using H.264
Spatial Scalable Video Compression Using H.264
 
video compression2
video compression2video compression2
video compression2
 
video compression2
video compression2video compression2
video compression2
 
video compression2
video compression2video compression2
video compression2
 
H.264 video compression standard.
H.264 video compression standard.H.264 video compression standard.
H.264 video compression standard.
 
h.264 video compression standard.
h.264 video compression standard.h.264 video compression standard.
h.264 video compression standard.
 
H264 video compression explained
H264 video compression explainedH264 video compression explained
H264 video compression explained
 
Video Conferencing : Fundamentals and Application
Video Conferencing : Fundamentals and ApplicationVideo Conferencing : Fundamentals and Application
Video Conferencing : Fundamentals and Application
 
Video Coding Standard
Video Coding StandardVideo Coding Standard
Video Coding Standard
 
IBM VideoCharger and Digital Library MediaBase.doc
IBM VideoCharger and Digital Library MediaBase.docIBM VideoCharger and Digital Library MediaBase.doc
IBM VideoCharger and Digital Library MediaBase.doc
 
Video Compression Technology
Video Compression TechnologyVideo Compression Technology
Video Compression Technology
 
Barcelona keynote web
Barcelona keynote webBarcelona keynote web
Barcelona keynote web
 
/conferences/spr2004/presentations/eubanks/eubanks_mpeg4.ppt
/conferences/spr2004/presentations/eubanks/eubanks_mpeg4.ppt/conferences/spr2004/presentations/eubanks/eubanks_mpeg4.ppt
/conferences/spr2004/presentations/eubanks/eubanks_mpeg4.ppt
 
Video QoS
Video QoSVideo QoS
Video QoS
 
Video Streaming - 4.ppt
Video Streaming - 4.pptVideo Streaming - 4.ppt
Video Streaming - 4.ppt
 
H264 final
H264 finalH264 final
H264 final
 
proposal
proposalproposal
proposal
 
mpeg4copy-120428133000-phpapp01.ppt
mpeg4copy-120428133000-phpapp01.pptmpeg4copy-120428133000-phpapp01.ppt
mpeg4copy-120428133000-phpapp01.ppt
 
Mpeg4copy 120428133000-phpapp01
Mpeg4copy 120428133000-phpapp01Mpeg4copy 120428133000-phpapp01
Mpeg4copy 120428133000-phpapp01
 

Mehr von Videoguy

Energy-Aware Wireless Video Streaming
Energy-Aware Wireless Video StreamingEnergy-Aware Wireless Video Streaming
Energy-Aware Wireless Video StreamingVideoguy
 
Microsoft PowerPoint - WirelessCluster_Pres
Microsoft PowerPoint - WirelessCluster_PresMicrosoft PowerPoint - WirelessCluster_Pres
Microsoft PowerPoint - WirelessCluster_PresVideoguy
 
Proxy Cache Management for Fine-Grained Scalable Video Streaming
Proxy Cache Management for Fine-Grained Scalable Video StreamingProxy Cache Management for Fine-Grained Scalable Video Streaming
Proxy Cache Management for Fine-Grained Scalable Video StreamingVideoguy
 
Free-riding Resilient Video Streaming in Peer-to-Peer Networks
Free-riding Resilient Video Streaming in Peer-to-Peer NetworksFree-riding Resilient Video Streaming in Peer-to-Peer Networks
Free-riding Resilient Video Streaming in Peer-to-Peer NetworksVideoguy
 
Instant video streaming
Instant video streamingInstant video streaming
Instant video streamingVideoguy
 
Video Streaming over Bluetooth: A Survey
Video Streaming over Bluetooth: A SurveyVideo Streaming over Bluetooth: A Survey
Video Streaming over Bluetooth: A SurveyVideoguy
 
Video Streaming
Video StreamingVideo Streaming
Video StreamingVideoguy
 
Reaching a Broader Audience
Reaching a Broader AudienceReaching a Broader Audience
Reaching a Broader AudienceVideoguy
 
Considerations for Creating Streamed Video Content over 3G ...
Considerations for Creating Streamed Video Content over 3G ...Considerations for Creating Streamed Video Content over 3G ...
Considerations for Creating Streamed Video Content over 3G ...Videoguy
 
ADVANCES IN CHANNEL-ADAPTIVE VIDEO STREAMING
ADVANCES IN CHANNEL-ADAPTIVE VIDEO STREAMINGADVANCES IN CHANNEL-ADAPTIVE VIDEO STREAMING
ADVANCES IN CHANNEL-ADAPTIVE VIDEO STREAMINGVideoguy
 
Impact of FEC Overhead on Scalable Video Streaming
Impact of FEC Overhead on Scalable Video StreamingImpact of FEC Overhead on Scalable Video Streaming
Impact of FEC Overhead on Scalable Video StreamingVideoguy
 
Application Brief
Application BriefApplication Brief
Application BriefVideoguy
 
Video Streaming Services – Stage 1
Video Streaming Services – Stage 1Video Streaming Services – Stage 1
Video Streaming Services – Stage 1Videoguy
 
Streaming Video into Second Life
Streaming Video into Second LifeStreaming Video into Second Life
Streaming Video into Second LifeVideoguy
 
Flash Live Video Streaming Software
Flash Live Video Streaming SoftwareFlash Live Video Streaming Software
Flash Live Video Streaming SoftwareVideoguy
 
Videoconference Streaming Solutions Cookbook
Videoconference Streaming Solutions CookbookVideoconference Streaming Solutions Cookbook
Videoconference Streaming Solutions CookbookVideoguy
 
Streaming Video Formaten
Streaming Video FormatenStreaming Video Formaten
Streaming Video FormatenVideoguy
 
iPhone Live Video Streaming Software
iPhone Live Video Streaming SoftwareiPhone Live Video Streaming Software
iPhone Live Video Streaming SoftwareVideoguy
 
Glow: Video streaming training guide - Firefox
Glow: Video streaming training guide - FirefoxGlow: Video streaming training guide - Firefox
Glow: Video streaming training guide - FirefoxVideoguy
 

Mehr von Videoguy (20)

Energy-Aware Wireless Video Streaming
Energy-Aware Wireless Video StreamingEnergy-Aware Wireless Video Streaming
Energy-Aware Wireless Video Streaming
 
Microsoft PowerPoint - WirelessCluster_Pres
Microsoft PowerPoint - WirelessCluster_PresMicrosoft PowerPoint - WirelessCluster_Pres
Microsoft PowerPoint - WirelessCluster_Pres
 
Proxy Cache Management for Fine-Grained Scalable Video Streaming
Proxy Cache Management for Fine-Grained Scalable Video StreamingProxy Cache Management for Fine-Grained Scalable Video Streaming
Proxy Cache Management for Fine-Grained Scalable Video Streaming
 
Adobe
AdobeAdobe
Adobe
 
Free-riding Resilient Video Streaming in Peer-to-Peer Networks
Free-riding Resilient Video Streaming in Peer-to-Peer NetworksFree-riding Resilient Video Streaming in Peer-to-Peer Networks
Free-riding Resilient Video Streaming in Peer-to-Peer Networks
 
Instant video streaming
Instant video streamingInstant video streaming
Instant video streaming
 
Video Streaming over Bluetooth: A Survey
Video Streaming over Bluetooth: A SurveyVideo Streaming over Bluetooth: A Survey
Video Streaming over Bluetooth: A Survey
 
Video Streaming
Video StreamingVideo Streaming
Video Streaming
 
Reaching a Broader Audience
Reaching a Broader AudienceReaching a Broader Audience
Reaching a Broader Audience
 
Considerations for Creating Streamed Video Content over 3G ...
Considerations for Creating Streamed Video Content over 3G ...Considerations for Creating Streamed Video Content over 3G ...
Considerations for Creating Streamed Video Content over 3G ...
 
ADVANCES IN CHANNEL-ADAPTIVE VIDEO STREAMING
ADVANCES IN CHANNEL-ADAPTIVE VIDEO STREAMINGADVANCES IN CHANNEL-ADAPTIVE VIDEO STREAMING
ADVANCES IN CHANNEL-ADAPTIVE VIDEO STREAMING
 
Impact of FEC Overhead on Scalable Video Streaming
Impact of FEC Overhead on Scalable Video StreamingImpact of FEC Overhead on Scalable Video Streaming
Impact of FEC Overhead on Scalable Video Streaming
 
Application Brief
Application BriefApplication Brief
Application Brief
 
Video Streaming Services – Stage 1
Video Streaming Services – Stage 1Video Streaming Services – Stage 1
Video Streaming Services – Stage 1
 
Streaming Video into Second Life
Streaming Video into Second LifeStreaming Video into Second Life
Streaming Video into Second Life
 
Flash Live Video Streaming Software
Flash Live Video Streaming SoftwareFlash Live Video Streaming Software
Flash Live Video Streaming Software
 
Videoconference Streaming Solutions Cookbook
Videoconference Streaming Solutions CookbookVideoconference Streaming Solutions Cookbook
Videoconference Streaming Solutions Cookbook
 
Streaming Video Formaten
Streaming Video FormatenStreaming Video Formaten
Streaming Video Formaten
 
iPhone Live Video Streaming Software
iPhone Live Video Streaming SoftwareiPhone Live Video Streaming Software
iPhone Live Video Streaming Software
 
Glow: Video streaming training guide - Firefox
Glow: Video streaming training guide - FirefoxGlow: Video streaming training guide - Firefox
Glow: Video streaming training guide - Firefox
 

H263.ppt

  • 1. Image & Video Compression Conferencing & Internet Video Portland State University Sharif University of Technology
  • 2.
  • 3. Outline Section 1: Conferencing Video Section 2: Internet Review Section 3: Internet Video
  • 4.
  • 6. Garden Variety Video Coder Motion Estimation & Compensation Transform, Quantization, Zig- Zag Scan & Run- Length Encoding Symbol Encoder Frames of Digital Video Bit Stream Video codecs have three main functional blocks Video Compression Review
  • 7. Symbol Encoding Motion Estimation & Compensation Transform, Quantization, Zig- Zag Scan & Run- Length Encoding Symbol Encoder Frames of Digital Video Bit Stream The symbol encoder exploits the statistical properties of its input by using shorter code words for more common symbols. Examples: Huffman & Arithmetic Coding Video Compression Review
  • 8. Symbol Encoding Motion Estimation & Compensation Transform, Quantization, Zig- Zag Scan & Run- Length Encoding Symbol Encoder Frames of Digital Video Bit Stream This block is the basis for most lossless image coders (in conjunction with DPCM, etc.) Video Compression Review
  • 9. Transform & Quantization Motion Estimation & Compensation Transform, Quantization, Zig- Zag Scan & Run- Length Encoding Symbol Encoder Frames of Digital Video Bit Stream A transform (usually DCT) is applied to the input data for better energy compaction which decreases the entropy and improves the performance of the symbol encoder. Video Compression Review
  • 10. Transform & Quantization Motion Estimation & Compensation Transform, Quantization, Zig- Zag Scan & Run- Length Encoding Symbol Encoder Frames of Digital Video Bit Stream The DCT also decomposes the input into its frequency components so that perceptual properties can be exploited. For example, we can throw away high frequency content first. Video Compression Review
  • 11. Transform & Quantization Motion Estimation & Compensation Transform, Quantization, Zig- Zag Scan & Run- Length Encoding Symbol Encoder Frames of Digital Video Bit Stream Quantization lets us reduce the representation size of each symbol, improving compression but at the expense of added errors. It’s the main tuning knob for controlling data rate. Video Compression Review
  • 12. Transform & Quantization Motion Estimation & Compensation Transform, Quantization, Zig- Zag Scan & Run- Length Encoding Symbol Encoder Frames of Digital Video Bit Stream Zig-zag scanning and run-length encoding orders the data into 1-D arrays and replaces long runs of zeros with run-length symbols. Video Compression Review
  • 13. Still Image Compression Motion Estimation & Compensation Transform, Quantization, Zig- Zag Scan & Run- Length Encoding Symbol Encoder Frames of Digital Video Bit Stream These two components form the basis for many still image compression algorithms such as JPEG, PhotoCD, M-JPEG and DV. Video Compression Review
  • 14. Motion Estimation/Compensation Motion Estimation & Compensation Transform, Quantization, Zig- Zag Scan & Run- Length Encoding Symbol Encoder Frames of Digital Video Bit Stream Finally, because video is a sequence of pictures with high temporal correlation, we add motion estimation/compensation to try to predict as much of the current frame as possible from the previous frame. Video Compression Review
  • 15. Motion Estimation/Compensation Motion Estimation & Compensation Transform, Quantization, Zig- Zag Scan & Run- Length Encoding Symbol Encoder Frames of Digital Video Bit Stream Most common method is to predict each block in the current frame by a (possibly translated) block of the previous frame. Video Compression Review
  • 16. Garden Variety Video Coder Motion Estimation & Compensation Transform, Quantization, Zig- Zag Scan & Run- Length Encoding Symbol Encoder Frames of Digital Video Bit Stream These three components form the basis for most of the standard video compression algorithms: MPEG-1, -2, & -4, H.261, H.263, H.263+. Video Compression Review
  • 17.
  • 18. Chronology of Video Standards 1990 1996 2002 1992 1994 1998 2000 H.263L H.263++ H.263+ H.263 H.261 MPEG 7 MPEG 4 MPEG 2 MPEG 1 ISO ITU-T
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28. Spatial relation between luma and chroma pels for CIF 4:2:0 Different than MPEG-2 4:2:0 Input Format
  • 29.
  • 30. Picture & Pixel Aspect Ratios Picture 4:3 352 288 Pixel 12:11 Pixels are not square in CIF. Input Format
  • 31. Picture & Pixel Aspect Ratios Hence on a square pixel display such as a computer screen, the video will look slightly compressed horizontally. The solution is to spatially resample the video frames to be 384 x 288 or 352 x 264 This corresponds to a 4:3 aspect ratio for the picture area on a square pixel display. Input Format
  • 32. Blocks and Macroblocks The luma and chroma planes are divided into 8x8 pixel blocks. Every four luma blocks are associated with a corresponding Cb and Cr block to create a macroblock . 8x8 pixel blocks macroblock Y Cb Cr Input Format
  • 33.
  • 35.
  • 36. ITU-T Recommendation H.263 Composed of a baseline plus four negotiable options Baseline Codec Unrestricted/Extended Motion Vector Mode Advanced Prediction Mode PB Frames Mode Syntax-based Arithmetic Coding Mode
  • 37. Frame Formats Always 12:11 pixel aspect ratio. H.263 Baseline
  • 38.
  • 39.
  • 40. Motion Vector Delta (MVD) Symbol Lengths H.263 Baseline
  • 41.
  • 42.
  • 43. Bit Stream Syntax Hierarchy of three layers. Picture Layer GOB* Layer MB Layer *A GOB is usually a row of macroblocks, except for frame sizes greater than CIF. Picture Hdr GOB Hdr MB MB ... GOB Hdr ... H.263 Baseline
  • 44.
  • 45.
  • 46.
  • 47.
  • 48. Motion Vectors Over Picture Boundaries Target Frame N Reference Frame N-1 Edge pixels are repeated. H.263 Options
  • 49. Extended MV Range Base motion vector range. Extended motion vector range, [-16,15.5] around MV predictor. H.263 Options 15.5 15.5 -16 -16 -16 -16 15.5 15.5 (31.5,31.5)
  • 50.
  • 51.
  • 52.
  • 53.
  • 54.
  • 55. Overlapped Motion Comp. H 0 (i, j) = H.263 Options
  • 56. Overlapped Motion Comp. H 1 (i, j) = H.263 Options H 2 (i, j) = ( H 1 (i, j) ) T
  • 57.
  • 58. PB Frames Picture 1 P or I Frame Picture 2 B Frame Picture 3 P or I Frame V 1/2 -V 1/2 2X frame rate for only 30% more bits. H.263 Options PB
  • 59.
  • 60.
  • 61. Demo: QCIF, 8 fps @ 28 Kb/s H.261 H.263
  • 63.
  • 64. ITU-T Recommendation H.263 Version 2 (H.263+)
  • 65.
  • 66.
  • 67.
  • 68.
  • 69.
  • 70. Advanced INTRA Mode DCT Blocks Row Prediction Column Prediction H.263+
  • 71.
  • 72. Deblocking Filter Mode Block Boundary Block Boundary H.263+
  • 73.
  • 74.
  • 75.
  • 76. Deblocking Filter Demo H.263+ No Filter Deblocking Loop Filter
  • 77. Deblocking Filter Demo H.263+ No Filter Loop & Post Filter
  • 78. Filter Demo Videos No Filter Loop Filter Loop & Post Filter
  • 79.
  • 80. Slice Structured Mode Slice Boundaries No INTRA or MV Prediction across slice boundaries. H.263+ Slices start and end on macroblock boundaries.
  • 81. Slice Structured Mode Independent Segments Slice Boundaries No INTRA or MV Prediction across slice boundaries. H.263+ Slice sizes remain fixed between INTRA frames.
  • 82.
  • 83.
  • 84. Reference Picture Resampling with Warping Specify arbitrary warping parameters via displacement vectors from corners. H.263+
  • 85. Reference Picture Resampling Factor of 4 Size Change P P P P P No INTRA Frame Required when changing video frame sizes H.263+
  • 86.
  • 87. Layered Video Bitstreams Enh. Layer 1 Enhancement Layer 3 Enhancement Layer 4 Base Layer Enhancement Layer 2 H.263+ Encoder 40 kb/s 20 kb/s 90 kb/s 200 kb/s 320 kb/s H.263+
  • 88.
  • 89. Layered Video Bit Streams in multipoint conferencing 384 kb/s 384 kb/s 128 kb/s 28.8 kb/s H.263+
  • 90. Temporal Enhancement Higher Frame Rate! Base Layer + B Frames H.263+
  • 91. Temporal Scalability Temporal scalability means that two or more frame rates can be supported by the same bit stream. In other words, frames can be discarded (to lower the frame rate) and the bit stream remains usable. H.263+ I or P B B P ... ...
  • 92.
  • 93. B Frames Picture 1 P or I Frame Picture 2 B Frame Picture 3 P or I Frame V 1/2 -V 1/2 2X frame rate for only 30% more bits H.263+
  • 94.
  • 95. SNR Enhancement Better Spatial Quality! Base Layer + SNR Layer H.263+
  • 96.
  • 97. SNR Scalability Base Layer (15 kbit/s) Enhancement Layer (40 kbit/s) H.263+ EI EP EP P P I Legend: I - Intracoded or Key Frame P - Predicted Frame EI - Enhancement layer key frame EP - Enhancement layer predicted frame
  • 98.
  • 99. Spatial Enhancement More Spatial Resolution!! Base Layer + Spatial Layer H.263+
  • 100.
  • 101. Spatial Scalability H.263+ EP EP EI I P P Enhancement Layer Base Layer
  • 102.
  • 103. Hybrid Scalability It is possible to combine temporal, SNR and spatial scalability into a flexible layered framework with many levels of quality. H.263+
  • 104. Hybrid Scalability H.263+ EI EP P B EP P Base Layer Enhancement Layer 1 Enhancement Layer 2 EP EP P EI EI I
  • 105.
  • 106.
  • 107.
  • 108.
  • 109. Outline Section 1: Conferencing Video Section 2: Internet Review Section 3: Internet Video 
  • 111. Internet Basics Phone lines are “circuit-switched”. A (virtual) circuit is established at call initiation and remains for the duration of the call. Source Dest. switch switch switch Internet Review
  • 112. Internet Basics Computer networks are “packet-switched”. Data is fragmented into packets, and each packet finds its way to the destination using different routes. Lots of implications... Source Dest. switch switch switch X Internet Review
  • 113. The Internet is heterogeneous [V. Cerf] Corporate LAN INTERNET (Global Public) HyperStream FR, SMDS, ATM TYMNET Host Dial-up IP “ SLIP”, “PPP” IP IP IP “ SMTP” E-mail FR FR FR “ SLIP” “ PPP” X.25 “ SMTP” IP Dial-up E-mail R R R AOL LAN LAN MCI Mail LAN Mail GW
  • 114. Layers in the Internet Protocol Architecture Network Access Layer consists of routines for accessing physical networks 1 Internet Layer defines the datagram and handles the routing of data. 2 Host-to-Host Transport Layer provides end-to-end data delivery services. 3 Application Layer consists of applications and processes that use the network. 4 Internet Review
  • 115. Data Encapsulation Header Header Data Encapsulation Header Data Application Layer Transport Layer Internet Layer Network Access Layer Data Header Data Header Header Data Internet Review
  • 116. Internet Protocol Architecture FDDI Ethernet Token Ring HDLC SMDS X.25 ATM FR TCP UDP SNMP DNS TELNET FTP SMTP MIME . . . . . . Network Access Layer Internet Host-Host Transport Utility/ Application RTP Internet Review MBone VIC/VAT I P
  • 117. Specific Protocols for Multimedia IP UDP RTP Specific Protocols for Multimedia IP TCP UDP RTP Physical Network payload RTP payload UDP RTP payload Data Internet Review Payload header
  • 118.
  • 119.
  • 120.
  • 121.
  • 122.
  • 123.
  • 124.
  • 125.
  • 126.
  • 127. Unicast Example Streaming media to multi-participants S1 D1 S2 D1 D2 S1 sends duplicate packets because there’s two participants: D1, D2.. D2 sees excess traffic on this subnet. Internet Review 1 1 1 1 2 2 2 1 1 1 1
  • 128. Multicast Example Streaming media to multi-participants S1 D1 S2 D1 D2 S1 sends single set of packets to a multicast group. D2 doesn’t see any excess traffic on this subnet. Both D1 receivers subscribe to the same multicast group. Internet Review 1 1 1 2 2 2 1 1
  • 129.
  • 130.
  • 131.
  • 132.
  • 133. Outline Section 1: Conferencing Video Section 2: Internet Review Section 3: Internet Video  
  • 135.
  • 136.
  • 137.
  • 138.
  • 139.
  • 140.
  • 141.
  • 142. Error Resiliency: Redundancy & Concealment Techniques Internet Video
  • 143.
  • 144. Packet Loss Burst Lengths Internet Video
  • 146. First Order Loss Model 2-Stage Gilbert Model No Loss Loss 1 - p 1 - q p q Internet Video p = 0.083 q = 0.823
  • 147.
  • 148. Error Resiliency Errors tend to propagate in video compression because of its predictive nature. I or P frame P frame One block is lost. Error propagates to two blocks in the next frame. Internet Video
  • 149.
  • 150.
  • 151. Intra Coding Resiliency Internet Video
  • 152. Reference Picture Selection Mode of H.263+ I or P frame P frame P frame Last acknowledged error-free frame. In RPS Mode, a frame is not used for prediction in the encoder until it’s been acknowledged to be error free. No acknowledgment received yet - not used for prediction. Internet Video
  • 153.
  • 154.
  • 155.
  • 156.
  • 157.
  • 158.
  • 159. Prioritized Encoding Demo Internet Video Unprotected Encoding Prioritized Encoding (23% Overhead) Videos used with permission of ICSI, UC Berkeley
  • 160. Error Concealment by Interpolation Lost block Take the weighted average of 4 neighboring pixels. Internet Video d 1 d 2
  • 161.
  • 162. Example: MRNF Filtering Internet Video
  • 163.
  • 164.
  • 165. Receiver-driven Layered Multicast S D3 D2 D1 R R Internet Video Multicast groups are not transmitted on networks that have no subscribers. 1 2 3 1 2 3 1 2 1 2 1