CS/ECPE5516 1
Chapter 7.2: Layer 6: Compression
CS/ECPE 5516: Comm. Network
- Prof. Abrams, Spring 2000
Chapter 7.2: Layer 6: Compression CS/ECPE 5516: Comm. Network - - PowerPoint PPT Presentation
Chapter 7.2: Layer 6: Compression CS/ECPE 5516: Comm. Network Prof. Abrams, Spring 2000 Based in part on material from Scott F. Midkiff CS/ECPE5516 1 Multimedia Systems Interactive versus non-interactive server client Video Archive
CS/ECPE5516 1
CS/ECPE5516 2
CS/ECPE5516 3
Video-on-demand Audio-on-demand
Meetings Collaboration News
CS/ECPE5516 4
Demanding with respect to storage and/or data rate Highly redundant -- duplicated information
Compression ratios of 200:1 or even 2000:1 are possible
Storage Transmission
CS/ECPE5516 5
CS/ECPE5516 6
Lossy compression -- information is lost Lossless compression -- no loss
Images: changes in high frequency brightness
Audio: low frequency sounds in woman’s voice
CS/ECPE5516 7
CS/ECPE5516 8
Build table of variable length strings
Cost: must send dictionary before file Examples: Lempel-Ziv (Unix compress)
CS/ECPE5516 9
Given 24-bit pixels, pick the 256 most used colors.
Achieves 3x compression. Then run Lempel-Ziv, maybe achieving 10x
CS/ECPE5516 10
high DC
CS/ECPE5516 11
CS/ECPE5516 12
Intraframe -- eliminate or reduce redundancy within a
Interframe -- eliminate or reduce redundancy between
Prediction, interpolation –
Sample to take advantage of human perception
CS/ECPE5516 13
Can achieve compression ratios of 200:1
Would reduce data rate to around 1.2 Mbps for a 640x480
MPEG-1 compresses 320x240 images and requires at
Also includes audio compression with compression
CS/ECPE5516 14
Uses DCT for intraframe compression Uses interframe compression by storing differences between
Intraframes (I frames) are encoded using intraframe
Predicted frames (P frames) are predicted from previous I
Bidirectional frames (B frames) are interpolated from previous
CS/ECPE5516 15
1 2 3 4 5 6 7 8 9
Example: IBBBPBBB
CS/ECPE5516 15
1 2 3 4 5 6 7 8 9
Example: IBBBPBBB
CS/ECPE5516 15
1 2 3 4 5 6 7 8 9
Example: IBBBPBBB
CS/ECPE5516 16
CS/ECPE5516 17
MPEG: Motion Pictures Expert Group ITU-T: International Telecommunication Union -- Telecommunication JPEG: Joint Photographic Experts Group
H.320 (H.261) — ISDN (64 Kbps increments) H.323 — LAN H.324 — POTS