shahab baqai lums - surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · multimedia communications...

48
CS 584 / CMPE 584 Multimedia Communications Spring 2006-07 Shahab Baqai LUMS

Upload: lekhuong

Post on 28-Feb-2018

219 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

CS 584 / CMPE 584

Multimedia CommunicationsSpring 2006-07

Shahab Baqai

LUMS

Page 2: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

2

Administrative

Website– http://suraj.lums.edu.pk/~cs584s06

Readingso Multimedia Communications Applications, Networks, Protocols &

Standards, Fred Halsall, 2001, Pearson Education LtdISBN 81-7808-532-1

o Multimedia Communication Systems, techniques, standards and networks, K.R. Roa, Zoran S. Bojkovic and Dragorard A. Milanvanovic, Pearson Education Inc. 2002

o Selected papers

Page 3: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

3

Grading Instruments

Quizzes & HWs: ~10%

Project: ~30%– Proposals 5%– Peer Project Reviews 6%– Interim Progress Report 8%– Final Report/ Demo 16%

Midterm: ~25%

Final Exam: ~35%

Page 4: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

4

Introduction

A brief history of (electronic) image communicationInvention of photography and cinema Invention of televisionIntroduction of television broadcasting

Recent advances in digital image communicationKey role of compressionWhat will be covered in this course? Organization

Page 5: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

5

Perspective Projection

Censored

Page 6: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

6

Perspective Projection

Page 7: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

7

Photography and Cinema

Page 8: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

8

Nipkow Disk I

Page 9: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

9

Nipkow Disk II

Page 10: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

10

Image Transmission by Line Scanning

Page 11: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

11

Cathode Ray Tube (Braun)

Page 12: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

12

History of Electronic Image Communication I

Page 13: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

13

History of Electronic Image Communication II

Page 14: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

14

Recent Developments: 1990s

Page 15: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

15

Motivating Image Compression

Page 16: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

16

Motivating Video Compression

Page 17: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

17

Distributed Multimedia Systems

Applications:– non-interactive: net radio and TV, video-on-demand, e-learning, ...– interactive: voice &video conference, interactive TV, tele-medicine,

multi-user games, live music, ...

Page 18: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

18

Characteristics of multimedia applications

Large quantities of continuous dataTimely and smooth delivery is critical– deadlines– throughput and response time guarantees

Interactive MM applications require low round-trip delaysNeed to co-exist with other applications– must not hog resources

Reconfiguration is a common occurrence– varying resource requirements

Resources required:– Processor cycles in workstations – and servers– Network bandwidth (+ latency)– Dedicated memory– Disk bandwidth (for stored media)

At the right timeand in the right quantities

Page 19: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

19

Application requirements

Network phone and audio conferencing– relatively low bandwidth (~ 64 Kbits/sec), but delay times must be short ( <

250 ms round-trip)

Video on demand services– High bandwidth (~ 10 Mbits/s), critical deadlines, latency not critical

Simple video conference– Many high-bandwidth streams to each node (~1.5 Mbits/s each), high

bandwidth, low latency ( < 100 ms round-trip), synchronised states.

Music rehearsal and performance facility– high bandwidth (~1.4 Mbits/s), very low latency (< 100 ms round trip), highly

synchronised media (sound and video < 50 ms).

Page 20: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

20

Networking: Historical PerspectiveLate 1960’s - Early 1970’s– Basic Concepts (Packet Switching etc.)– Resource Sharing --- ARPANET

Mid 1970’s - Mid 1980’s– LANs– Connectivity

Mid 1980’s - Mid 1990’s– Internetworking– Global Connectivity

Mid 1990’s ---– Meeting the needs of Applications

MultimediaIntegrated Services

– Taking advantages of advances in technology

Page 21: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

21

Traditional Applications

Resource sharing

Remote Login

Electronic mail

File transfer

and more recently

World-Wide-Web

Page 22: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

22

New Applications

News

Collaboration

Distance Learning

Tele Medicine

Telephony

Video Conferencing

Etc.

Page 23: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

23

Categories of Applications

Communication among people

News and Entertainment

Education and Training

Business Applications

Medical Applications

Page 24: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

24

Communication Among People

Voice Communication (VoIP, IP Telephony)– ubiquity of the Internet– alternative to Telcos– integration with other applications– new functionality

conferencing (made easier)storage (record, play-back, index, edit, integrate…)

Page 25: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

25

Communication Among People

Video Conferencing– A picture is worth a thousand word

facial expressions, gestures, reactions…– Same advantages as with voice communication– Insertion of video clips– Fly-on-the-wall– Quality

Page 26: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

26

Communication Among People

Collaboration– shared white board

more frequent meetings

Page 27: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

27

News and Entertainment

News in all its forms (paper, audio, video, web, combination; live and stored)– selectivity (on-line, by profile…)– accessibility without frontiers– urgent notification– linkage among various sources– archival

Page 28: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

28

News and Entertainment

Movies and TV programming– Movie-on-demand (pay-per-view)

large selectionfull VCR functionality

– Live broadcasts (sports, weddings, …)– Wider audience

Interactive Games

Page 29: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

29

Education and Training

Distance Learning– distance independence

Asynchronous Learning– time-independence

Flexible curriculum

Flexible pace

Monitoring

Page 30: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

30

Education and Training

Two concrete examples:– Stanford University

Stanford-on-line– Harvard Business School

on-line case studies

The Virtual classroom– the real-experience– many other benefits

Page 31: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

31

Education and Training

Desktop training– criticality– efficiency– productivity– convenience

Example– Professionals (lawyers, medical doctors)

Page 32: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

32

Business Applications

Information kiosks

Corporate communication

Factory floor reference

Banking

Home Shopping

E-Commerce

Publishing

etc.

Page 33: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

33

Medical Applications

Medical Imaging

Tele-surgery!

Health education

Page 34: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

34

Multimedia Applications Characteristics

Applications involving many types of media

Data/Text

Audio

Video

Images

Graphics

Page 35: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

35

Data Applications Requirements

Bursty sources

Relatively low average data rate per source

Full end-to-end reliability is required

No latency requirements

Mostly point-to-point

Traffic pattern is bursty

All applications exhibit similar behavior and have

similar requirements– no service differentiation requirement

Page 36: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

36

Voice Communication

Voice traffic is Stream-Oriented– continuous flow of data– duration of a call is on the order of minute to an hour

Relatively low data rate per stream (2 to 64 Kbps)

Some data loss may be tolerated (1 to 2 %)– clipped segments below 50 ms cause degradation in the form of background

noise– larger segments cause intelligibility to be affected

Strict end-to-end latency requirement– below 150 ms for interactive voice communication

Very low degree of burstiness (silence suppression)

Page 37: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

37

Video Based Applications

Video traffic is stream-oriented

Wide range of data rates– 10’s of Kb/sec to 10’s of Mb/sec– data rate depends on content and quality requirement

Latency requirements depending on application:– interactive communication: 100 ms– one-way broadcast: 1 sec– Video-on-Demand: 1 sec

Burstiness depends on a number of factors– content and quality requirement– compression scheme

Page 38: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

38

Shared White Board

Relatively low data rate

full reliability requirement

low latency requirement

Page 39: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

39

Multimedia Applications Requirements

Digital Video Data Rates

Low quality or talking heads (video conferencing)– 64 kb/s to 784 kb/s

Business quality (training, video mail)– 1 Mb/s to 2 Mb/s

Broadcasting quality (NTSC, PAL)– 4 Mb/s to 8 Mb/s

High-Definition TV– 20 Mb/s

Studio quality– 10 Mb/s to 45 Mb/s

Page 40: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

40

High Bandwidth Requirement

Page 41: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

41

Multicasting Requirement

Many multimedia applications involve multiple participants

Size of multicast depends on applications– Videoconferencing (3-4 participants, many-to-many)– group meeting (10’s of participants, one-to-many)– video broadcasting (100’s of participants, one-to-many)

Two models– fixed (closed) predefined set of participants– open set of participants

Page 42: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

42

Integrated services Requirement

Coexistence of different media within same application

Coexistence of different applications within the same network

Must deal with:– high and low data rates– bursty and stream traffic– real-time and non-real-time traffic– point-to-point and multi-point modes of communications

Page 43: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

43

Networking Requirements

Network Infrastructure– network technologies– network protocols:

routing

Multicasting,

resource reservations

Higher Layer Protocols– end-to-end data transport protocols– session layer protocols

Media Servers

Page 44: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

44

Multimedia Application Requirements

1. Bandwidth Requirement– High bandwidth– Guaranteed bandwidth

2. Latency Requirement– Guaranteed maximum end-to-end latency– maximum jitter

3. Multicasting Requirement

4. Integrated Services Requirement

Page 45: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

45

Data Traffic MM TrafficData Rate Low High

Traffic Pattern Brusty Stream OrientedHighly Brusty

Reliability Req. No Loss Some Loss

Latency Req. None May be Small

Communication Mode

Point-to-Point Multipoint

Temporal Relationships

None Synchronized Transmission

Type of Service Single Traffic Type Multiple Types

Applications Characteristics

Page 46: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

46

Networking Requirements

Network Infrastructure– network technologies– network protocols:

RoutingMulticasting,resource reservations

Higher Layer Protocols– end-to-end data transport protocols– session layer protocols

Media Servers

Page 47: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

47

System support issues and requirements

Scheduling and resource allocation in most current OS’s divides the resources equally amongst all comers (processes)– no limit on load– ∴ can’t guarantee throughput or response time

MM and other time-critical applications require resource allocation and scheduling to meet deadlines– Quality of Service (QoS) management

Admission control: controls demandQoS negotiation: enables applications to negotiate admission and

reconfigurationsResource management: guarantees availability of resources for

admitted applications– real-time processor and other resource scheduling

Page 48: Shahab Baqai LUMS - Surajsuraj.lums.edu.pk/~cs584s06/slides/intro.pdf · Multimedia Communications Spring 2006-07 Shahab Baqai LUMS . 2 Administrative ... Standards, Fred Halsall,

48

Typical infrastructure components for multimedia applications

Microphones

Camera

Screen

Window system

CodecD

BMixer

PC/workstation PC/workstation

C Videostore

Networkconnections

K

L

M

CodecA G

CodecH

Windowsystem

Video file system

: multimedia stream

White boxes represent media processing components, many of which are implemented in software, including:

codec: coding/decoding filtermixer: sound-mixing component

Component Bandwidth Latency Loss rate Resources required

Camera Out: 10 frames/sec, raw video640x480x16 bits

Zero

A Codec In:Out:

10 frames/sec, raw videoMPEG-1 stream

Interactive Low 10 ms CPU each 100 ms;10 Mbytes RAM

B Mixer In:Out:

2 44 kbps audio1 44 kbps audio

Interactive Very low 1 ms CPU each 100 ms;1 Mbytes RAM

H Windowsystem

In:Out:

various50 frame/sec framebuffer

Interactive Low 5 ms CPU each 100 ms;5 Mbytes RAM

K Networkconnection

In/Out: MPEG-1 stream, approx.1.5 Mbps

Interactive Low 1.5 Mbps, low-lossstream protocol

L Networkconnection

In/Out: Audio 44 kbps Interactive Very low 44 kbps, very low-lossstream protocol

This application involves multiple concurrent processes in the PCs

Other applications may also be running concurrently on the same computers

They all share processing and network resources