Chapter 7 Multimedia 7.1 Introduction to multimedia

Slides:



Advertisements
Similar presentations
CS 414 – Multimedia Systems Design Lecture 26 – Media Server (Part 2)
Advertisements

T.Sharon-A.Frank 1 Multimedia Compression Basics.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 28 – Media Server (Part 3) Klara Nahrstedt Spring 2009.
Chapter 7 : Multimedia OS
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Chapter 20: Multimedia Systems.
1 Multimedia Chapter Introduction to multimedia 7.2 Multimedia files 7.3 Video compression 7.4 Multimedia process scheduling 7.5 Multimedia file.
Chapter 7 End-to-End Data
Chapter 5 Making Connections Efficient: Multiplexing and Compression
Spring 2003CS 4611 Multimedia Outline Compression RTP Scheduling.
CS-3013 & CS-502, Summer 2006 Multimedia topics (continued)1 Multimedia Topics (continued) CS-3013 & CS-502 Operating Systems.
Multimedia Systems 1 CS502 Spring 2006 Multimedia Systems CS-502 Operating Systems.
Chapter 7 : Multimedia OS
Chapter 7 Multimedia Operating Systems File System Paradigms File Replacement Caching Disk Scheduling.
Chapter 7 Multimedia Operating Systems
Multimedia Systems (Part 2)
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 32 – Media Server (Part 2) Klara Nahrstedt Spring 2012.
Chapter 2, Exploring the Digital Domain
The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers.
Joonwon Lee OS Support for Multimedia.
Computers and Scientific Thinking David Reed, Creighton University Data Representation 1.
MPEG Motion Picture Expert Group Moving Picture Encoded Group Prateek raj gautam(725/09)
MODERN OPERATING SYSTEMS Third Edition ANDREW S
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 19/20: Real-time and Multimedia Systems Inclusions from Tanenbaum,
HARDWARE: CPU & STORAGE How to Buy a Multimedia Computer System.
© 2011 The McGraw-Hill Companies, Inc. All rights reserved Chapter 6: Video.
Chapter 11 Fluency with Information Technology 4 th edition by Lawrence Snyder (slides by Deborah Woodall : 1.
Multimedia Operating Systems ●File System Paradigms ●File Replacement ●Caching ●Disk.
Chapter 1: Data Storage.
CIS679: Multimedia Basics r Multimedia data type r Basic compression techniques.
MULTIMEDIA TECHNOLOGY SMM 3001 MEDIA - VIDEO. In this chapter How digital video differs from conventional analog video How digital video differs from.
The Application Layer Chapter Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall,
CMPE 150 – Winter 2009 Lecture 19 March 12, 2009 P.E. Mantey.
MULTIMEDIA INPUT / OUTPUT TECHNOLOGIES
Spring 2000CS 4611 Multimedia Outline Compression RTP Scheduling.
Chapter 1 Data Storage © 2007 Pearson Addison-Wesley. All rights reserved.
Advances in digital image compression techniques Guojun Lu, Computer Communications, Vol. 16, No. 4, Apr, 1993, pp
IT2002 ATI Naiwala 1 By ATI Naiwala. IT2002 ATI Naiwala Combination of time Variant Image and Sound – Most realistic media Dynamic Huge data size(Very.
Chapter 1 Data Storage © 2007 Pearson Addison-Wesley. All rights reserved.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 27 – Media Server (Part 2) Klara Nahrstedt Spring 2009.
Fundamentals of Data Representation Yusung Kim
Introductions What Is Data Compression ? Data compression is the process of reduction in the amount of signal space that must be allocated to a given.
Chapter 1: Data Storage.
Chapter 20: Multimedia Systems
Computer Science: An Overview Eleventh Edition
Multimedia Systems Operating System Presentation On
Introduction to Multimedia
Chapter 20: Multimedia Systems
Chapter Five Making Connections Efficient: Multiplexing and Compression Data Communications and Computer Networks: A Business User’s Approach Eighth Edition.
Multimedia Outline Compression RTP Scheduling Spring 2000 CS 461.
Background Perception Display Considerations Video Technology.
VIDEO.
SWE 423: Multimedia Systems
Video Compression - MPEG
Chapter 7.2: Layer 5: Compression
Chapter 6: Video.
Chapter 20: Multimedia Systems
CIS679: MPEG MPEG.
Chapter 7 Multimedia 7.1 Introduction to multimedia
Chapter 7 Multimedia 7.1 Introduction to multimedia
Judith Molka-Danielsen, Oct. 02, 2000
Chapter 7 Multimedia 7.1 Introduction to multimedia
Chapter 7 Multimedia 7.1 Introduction to multimedia
Chapter 20: Multimedia Systems
Chapter 8 – Compression Aims: Outline the objectives of compression.
Chapter 20: Multimedia Systems
Chapter 20: Multimedia Systems
Presentation transcript:

Chapter 7 Multimedia 7.1 Introduction to multimedia 7.2 Multimedia files 7.3 Video compression 7.4 Multimedia process scheduling 7.5 Multimedia file system paradigms 7.6 File placement 7.7 Caching 7.8 Disk scheduling for multimedia

Introduction to Multimedia (1) Video On Demand: (a) ADSL vs. (b) cable

Introduction to Multimedia (2) Some data rates multimedia, high performance I/O devices Note: 1 Mbps = 106 bits/sec but 1 GB = 230 bytes

A movie may consist of several files Multimedia Files A movie may consist of several files

Audio Encoding (1) Audio Waves Converted to Digital electrical voltage input binary number as output

Audio Encoding (2) Error induced by finite sampling called quantization noise Examples of sampled sound telephone – pulse code modulation audio compact disks

Scanning Pattern for NTSC Video and Television Video Encoding Scanning Pattern for NTSC Video and Television

Video Compression The JPEG Standard (1) RGB input data and block preparation

One block of the Y matrix and the DCT coefficients The JPEG Standard (2) One block of the Y matrix and the DCT coefficients

Computation of the quantized DCT coefficients The JPEG Standard (3) Computation of the quantized DCT coefficients

Order of quantized values when transmitted The MPEG Standard (1) Order of quantized values when transmitted

The MPEG Standard (2) Intracoded frames Predictive frames MPEG-2 has three kinds of frame: I, P, B Intracoded frames Self-contained JPEG-encoded pictures Predictive frames Block-by-block difference with last frame Bi-directional frames Differences with last and next frame

Consecutive Video Frames The MPEG Standard (3) Consecutive Video Frames

Multimedia Process Scheduling Periodic processes displaying a movie Frame rates and processing requirements may be different for each movie

Rate Monotonic Scheduling Used for processes which meet these conditions Each periodic process must complete within its period No process dependent on any other process Each process needs same CPU time each burst Any nonperiodic processes have no deadlines Process preemption occurs instantaneously, no overhead

Earliest Deadline First Scheduling (1) Real Time Scheduling algorithms RMS EDF

Earliest Deadline First Scheduling (2) Another example of real-time scheduling with RMS and EDF

Multimedia File System Paradigms Pull and Push Servers

VCR Control Functions Rewind is simple set next frame to zero Fast forward/backward are trickier compression makes rapid motion complicated special file containg e.g. every 10th frame

New stream starting at regular intervals Near Video on Demand New stream starting at regular intervals

Near Video on Demand with VCR Functions Buffering for Rewind

File Placement Placing a File on a Single Disk Interleaving Frame 1 Frame 2 Frame 3 Audio Frame Text Frame Placing a File on a Single Disk Interleaving Video, audio, text in single contiguous file per movie

Two Alternative File Organization Strategies (1) Noncontiguous Movie Storage (a) small disk blocks (b) large disk blocks

Two Alternative File Organization Strategies (2) Trade-offs between small, large blocks Frame index heavier RAM usage during movie play little disk wastage Block index (no splitting frames over blocks) low RAM usage major disk wastage Block index (splitting frames over blocks allowed) no disk wastage extra seeks

Placing Files for Near Video on Demand Optimal frame placement for near video on demand

Placing Multiple files on a Single Disk (1) Zipf's law for N=20 Squares for 20 largest cities in US sorted on rank order

Placing Multiple files on a Single Disk (2) Organ-pipe distribution of files on server most popular movie in middle of disk next most popular either on either side, etc.

Placing Files on Multiple Disks Organize multimedia files on multiple disks (a) No striping (b) Same striping pattern for all files (c) Staggered striping (d) Random striping

Caching Block Caching (a) Two users, same movie 10 sec out of sync (b) Merging two streams into one

File Caching Most movies stored on DVD or tape copy to disk when needed results in large startup time keep most popular movies on disk Can keep first few min. of all movies on disk start movie from this while remainder is fetched

Disk Scheduling for Multimedia Stream Order in which disk requests are processed  Static Disk Scheduling In one round, each movie asks for one frame

Dynamic Disk Scheduling Scan-EDF algorithm uses deadlines & cylinder numbers for scheduling