Joonwon Lee OS Support for Multimedia.

Slides:



Advertisements
Similar presentations
Multimedia: Digitised Sound Data Section 3. Sound in Multimedia Types: Voice Overs Special Effects Musical Backdrops Sound can make multimedia presentations.
Advertisements

CS 414 – Multimedia Systems Design Lecture 26 – Media Server (Part 2)
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.
Continuous Media 1 Differs significantly from textual and numeric data because of two fundamental characteristics: –Real-time storage and retrieval –High.
Multimedia Systems As Presented by: Craig Tomastik.
Chapter 20: Multimedia Systems Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 20: Multimedia Systems What is Multimedia.
Chapter 7 : Multimedia OS
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Chapter 20: Multimedia Systems.
Distributed 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
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 34 – Media Server (Part 3) Klara Nahrstedt Spring 2012.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 32 – Media Server (Part 2) Klara Nahrstedt Spring 2012.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 28 – Media Server (Part 4) Klara Nahrstedt Spring 2011.
Media File Formats Jon Ivins, DMU. Text Files n Two types n 1. Plain text (unformatted) u ASCII Character set is most common u 7 bits are used u This.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Application Layer Chapter 7.
Chapter 2, Exploring the Digital Domain
E0262 MIS - Multimedia Playback Systems Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India.
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,
Audio Compression Usha Sree CMSC 691M 10/12/04. Motivation Efficient Storage Streaming Interactive Multimedia Applications.
Page 15/25/2016 CSE 40373/60373: Multimedia Systems QoS Classes  Guaranteed Service Class  QoS guarantees are provided based on deterministic and statistical.
Computer Programming Basics Assistant Professor Jeon, Seokhee Assistant Professor Department of Computer Engineering, Kyung Hee University, Korea.
© 2011 The McGraw-Hill Companies, Inc. All rights reserved Chapter 6: Video.
XE33OSA Chapter 20: Multimedia Systems. 20.2XE33OSA Silberschatz, Galvin and Gagne ©2005 Chapter 20: Multimedia Systems What is Multimedia Compression.
Multimedia Operating Systems ●File System Paradigms ●File Replacement ●Caching ●Disk.
Dr. M. Munlin Real-Time and Multimedia Systems 1 NETE0516 Operating Systems Instructor: ผ. ศ. ดร. หมัดอามีน หมัน หลิน Faculty of Information Science and.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Multimedia Systems.
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,
MULTIMEDIA INPUT / OUTPUT TECHNOLOGIES INTRODUCTION 6/1/ A.Aruna, Assistant Professor, Faculty of Information Technology.
MULTIMEDIA INPUT / OUTPUT TECHNOLOGIES
Spring 2000CS 4611 Multimedia Outline Compression RTP Scheduling.
Day 4 Encoding Data. So… We have analog and digital data, and analog and digital signals. –We can use any combination of the above –Why? Shouldn’t we.
Carnegie Mellon. Carnegie Mellon Video I Carnegie Mellon Digital Video Size quality Broadcast quality is very different from www MPEG-2 is satellite.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 30 – Media Server (Part 5) Klara Nahrstedt Spring 2009.
Streaming and Content Delivery SECTIONS 7.4 AND 7.5.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 31 – Media Server (Part 1) Klara Nahrstedt Spring 2012.
Operating System concerns for Multimedia Multimedia File Systems -Jaydeep Punde.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 27 – Media Server (Part 2) Klara Nahrstedt Spring 2009.
Fundamentals of Data Representation Yusung Kim
Chapter 20: Multimedia Systems
Multimedia Systems Operating System Presentation On
Introduction to Multimedia
Chapter 20: Multimedia Systems
Multimedia Outline Compression RTP Scheduling Spring 2000 CS 461.
FileSystems.
SWE 423: Multimedia Systems
Multimedia: Digitised Sound Data
Chapter 20: Multimedia Systems
Chapter 7 Multimedia 7.1 Introduction to multimedia
Chapter 7 Multimedia 7.1 Introduction to multimedia
Chapter 7 Multimedia 7.1 Introduction to multimedia
Chapter 7 Multimedia 7.1 Introduction to multimedia
Streaming Audio and Video, Content Delivery
Chapter 20: Multimedia Systems
Chapter 7 Multimedia 7.1 Introduction to multimedia
Chapter 20: Multimedia Systems
Chapter 20: Multimedia Systems
Presentation transcript:

Joonwon Lee OS Support for Multimedia

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

3 Introduction to Multimedia (2)

4 Multimedia Files A movie may consist of several files

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

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

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

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

9 The MPEG Standard (3) Consecutive Video Frames

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

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

12 Earliest Deadline First Scheduling (1)

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

14 Multimedia File System Paradigms Pull and Push Servers

15 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 10 th frame

16 Near Video on Demand New stream starting at regular intervals

17 Near Video on Demand with VCR Functions Buffering for Rewind

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

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

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

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

22 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

23 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.

24 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

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

26 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

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

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