Chapter 7 Multimedia Operating Systems

Similar documents
OVERVIEW OF MULTIMEDIA OPERATING SYSTEMS

Multimedia Storage Servers

Networking Applications

Department of Computer Engineering University of California at Santa Cruz. File Systems. Hai Tao

Lecture 18 File Systems and their Management and Optimization

Introduction to LAN/WAN. Application Layer 4

Distributed Video Systems Chapter 3 Storage Technologies

Audio and video compression

Efficient support for interactive operations in multi-resolution video servers

Chapter 20: Multimedia Systems

Chapter 20: Multimedia Systems. Operating System Concepts 8 th Edition,

Optical Storage Technology. MPEG Data Compression

Fundamentals of Video Compression. Video Compression

MPEG-2. ISO/IEC (or ITU-T H.262)

Audio Compression. Audio Compression. Absolute Threshold. CD quality audio:

Interframe coding A video scene captured as a sequence of frames can be efficiently coded by estimating and compensating for motion between frames pri

EEC-484/584 Computer Networks

Operating Systems, Fall

Index. 1. Motivation 2. Background 3. JPEG Compression The Discrete Cosine Transformation Quantization Coding 4. MPEG 5.

INF5063: Programming heterogeneous multi-core processors. September 17, 2010

DigiPoints Volume 1. Student Workbook. Module 8 Digital Compression

5: Music Compression. Music Coding. Mark Handley

Video Compression An Introduction

ITEC310 Computer Networks II

CS 457 Multimedia Applications. Fall 2014

Multimedia Communications. Transform Coding

JPEG decoding using end of block markers to concurrently partition channels on a GPU. Patrick Chieppe (u ) Supervisor: Dr.

Lossy compression. CSCI 470: Web Science Keith Vertanen

Compression Part 2 Lossy Image Compression (JPEG) Norm Zeck

Multimedia Systems Image III (Image Compression, JPEG) Mahdi Amiri April 2011 Sharif University of Technology

Module 10 MULTIMEDIA SYNCHRONIZATION

Outline Introduction MPEG-2 MPEG-4. Video Compression. Introduction to MPEG. Prof. Pratikgiri Goswami

ECE 417 Guest Lecture Video Compression in MPEG-1/2/4. Min-Hsuan Tsai Apr 02, 2013

Review and Implementation of DWT based Scalable Video Coding with Scalable Motion Coding.

Desktop Crawls. Document Feeds. Document Feeds. Information Retrieval

Multimedia Communications. Audio coding

Week 14. Video Compression. Ref: Fundamentals of Multimedia

What is multimedia? Multimedia. Continuous media. Most common media types. Continuous media processing. Interactivity. What is multimedia?

Introduction ti to JPEG

Multimedia Networking

Lossy compression CSCI 470: Web Science Keith Vertanen Copyright 2013

Introduction to Computer Science (I1100) Data Storage

Multimedia. What is multimedia? Media types. Interchange formats. + Text +Graphics +Audio +Image +Video. Petri Vuorimaa 1

CSCD 443/533 Advanced Networks Fall 2017

Robert Matthew Buckley. Nova Southeastern University. Dr. Laszlo. MCIS625 On Line. Module 2 Graphics File Format Essay

Compression; Error detection & correction

Tema 0: Transmisión de Datos Multimedia

About MPEG Compression. More About Long-GOP Video

Chapter 7. The Application Layer. DNS The Domain Name System. DNS Resource Records. The DNS Name Space Resource Records Name Servers

Digital Image Representation Image Compression

15 Data Compression 2014/9/21. Objectives After studying this chapter, the student should be able to: 15-1 LOSSLESS COMPRESSION

Perceptual coding. A psychoacoustic model is used to identify those signals that are influenced by both these effects.

Symphony: An Integrated Multimedia File System

Data Storage and Query Answering. Data Storage and Disk Structure (2)

Chapter 28. Multimedia

Data encoding. Lauri Võsandi

Distributed Video Systems Chapter 5 Issues in Video Storage and Retrieval Part I - The Single-Disk Case

15: OS Scheduling and Buffering

Data Storage. Slides derived from those available on the web site of the book: Computer Science: An Overview, 11 th Edition, by J.

Digital Video Processing

Both LPC and CELP are used primarily for telephony applications and hence the compression of a speech signal.

Chapter 4 File Systems. Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc. All rights reserved

Video Compression MPEG-4. Market s requirements for Video compression standard

CISC 7610 Lecture 3 Multimedia data and data formats

Variable Bitrate Stream in Set top Box device

Application Layer Chapter 7

MULTIMEDIA SYSTEMS

Implementing Interactive Operations of MPEG-2 Compressed Video

Bits and Bit Patterns

COMP 249 Advanced Distributed Systems Multimedia Networking. The Video Data Type Coding & Compression Basics

Transporting audio-video. over the Internet

Disks and I/O Hakan Uraz - File Organization 1

Configure Video and Audio Settings

Lecture Information Multimedia Video Coding & Architectures

Proxy Prefix Caching for Multimedia Streams

Advanced Computer Architecture

Compressed-Domain Video Processing and Transcoding

Chapter 7 (Week 14) The Application Layer (CONTINUATION ANDREW S. TANENBAUM COMPUTER NETWORKS FOURTH EDITION PP

In the first part of our project report, published

Chapter 1. Data Storage Pearson Addison-Wesley. All rights reserved

Media server and QoS (so far)

CS 335 Graphics and Multimedia. Image Compression

UNIVERSITY OF DUBLIN TRINITY COLLEGE

Compression; Error detection & correction

Multimedia Storage Servers: A Tutorial

Interactive Progressive Encoding System For Transmission of Complex Images

I/O Buffering and Streaming

Features. Sequential encoding. Progressive encoding. Hierarchical encoding. Lossless encoding using a different strategy

MPEG: It s Need, Evolution and Processing Methods

Multimedia on the Web

Application DBMS. Media Server

Digital video coding systems MPEG-1/2 Video

JPEG. Wikipedia: Felis_silvestris_silvestris.jpg, Michael Gäbler CC BY 3.0

Computer and Machine Vision

OBJECTIVES After reading this chapter, the student should be able to:

Figure 1. Generic Encoder. Window. Spectral Analysis. Psychoacoustic Model. Quantize. Pack Data into Frames. Additional Coding.

Lecture Information. Mod 01 Part 1: The Need for Compression. Why Digital Signal Coding? (1)

Linked Structures Songs, Games, Movies Part IV. Fall 2013 Carola Wenk

Chapter 11.3 MPEG-2. MPEG-2: For higher quality video at a bit-rate of more than 4 Mbps Defined seven profiles aimed at different applications:

Part 1 of 4. MARCH

Transcription:

MODERN OPERATING SYSTEMS Third Edition ANDREW S. TANENBAUM Chapter 7 Multimedia Operating Systems

Introduction To Multimedia (1) Figure 7-1. Video on demand using different local distribution technologies. (a) ADSL.

Introduction To Multimedia (2) Figure 7-1. Video on demand using different local distribution technologies. (b) Cable TV.

Introduction To Multimedia (3) Key characteristics of multimedia: 1. Multimedia uses extremely high data rates. 2. Multimedia requires real-time playback.

Introduction To Multimedia (4) Figure 7-2. Some data rates for multimedia and high-performance I/O devices. Note that 1 Mbps is 10 6 bits/sec but 1 GB is 2 30 bytes.

Multimedia Files Figure 7-3. A movie may consist of several files.

Video Encoding Figure 7-4. The scanning pattern used for NTSC video and television.

Audio Encoding Figure 7-5. (a) A sine wave. (b) Sampling the sine wave. (c) Quantizing the samples to 4 bits.

The JPEG Standard (1) Figure 7-6. (a) RGB input data. (b) After block preparation.

The JPEG Standard (2) Figure 7-7. (a) One block of the Y matrix. (b) The DCT coefficients.

The JPEG Standard (3) Figure 7-8. Computation of the quantized DCT coefficients.

The JPEG Standard (4) Figure 7-9. The order in which the quantized values are transmitted.

The MPEG Standard (1) Three types of MPEG-2 frames processed by the viewing program: 1. I (Intracoded) frames: Self-contained JPEG-encoded still pictures. 2. P (Predictive) frames: Block-by-block difference with the last frame. 3. B (Bidirectional) frames: Differences with the last and next frame.

The MPEG Standard (2) Figure 7-10. Three consecutive video frames.

Audio Compression (1) Figure 7-11. (a) A binary signal and its root-mean-square Fourier amplitudes.

Audio Compression (2) Figure 7-11. (b) (e) Successive approximations to the original signal.

Audio Compression (3) Figure 7-11. (b) (e) Successive approximations to the original signal.

Audio Compression (4) Figure 7-12. (a) The threshold of audibility as a function of frequency. (b) The masking effect.

Audio Compression (5) Possible sampling configurations: 1. Monophonic (a single input stream). 2. Dual monophonic (e.g., an English and a Japanese soundtrack). 3. Disjoint stereo (each channel compressed separately). 4. Joint stereo (interchannel redundancy fully exploited).

General Real-Time Scheduling Figure 7-13. Three periodic processes, each displaying a movie. The frame rates and processing requirements per frame are different for each movie.

Rate Monotonic Scheduling (1) Required conditions for RMS: 1. Each periodic process must complete within its period. 2. No process is dependent on any other process. 3. Each process needs same amount of CPU time on each burst. 4. Nonperiodic processes have no deadlines. 5. Process preemption occurs instantaneously and with no overhead.

Rate Monotonic Scheduling (2) Figure 7-14. An example of RMS and EDF real-time scheduling.

Earliest Deadline First Scheduling Figure 7-15. Another example of real-time scheduling with RMS and EDF.

Multimedia File System Paradigms Figure 7-16. (a) A pull server. (b) A push server.

Near Video on Demand Figure 7-17. Near video on demand has a new stream starting at regular intervals, in this example every 5 minutes (9000 frames).

Near Video on Demand with VCR Functions (1) Figure 7-18. (a) Initial situation. (b) After a rewind to 12 min

Near Video on Demand with VCR Functions (2) Figure 7-18. (c) After waiting 3 min. (d) After starting to refill the buffer. (e) Buffer full.

Placing a File on a Single Disk Figure 7-19. Interleaving video, audio, and text in a single contiguous file per movie.

Two Alternative File Organization Strategies (1) Figure 7-20. Noncontiguous movie storage. (a) Small disk blocks.

Two Alternative File Organization Strategies (2) Figure 7-20. Noncontiguous movie storage (b) Large disk blocks.

Two Alternative File Organization Strategies (3) Trade-offs involved in these alternatives: 1. Frame index: Heavier RAM usage while movie is playing; little disk wastage. 2. Block index (no splitting frames over blocks): Low RAM usage; major disk wastage. 3. Block index (splitting frames over blocks is allowed): Low RAM usage; no disk wastage; extra seeks.

Placing Files for Near Video on Demand Figure 7-21. Optimal frame placement for near video on demand.

Placing Multiple Files on a Single Disk (1) Figure 7-22. The curve gives Zipf s law for N = 20. The squares represent the populations of the 20 largest cities in the U.S., sorted on rank order (New York is 1, Los Angeles is 2, Chicago is 3, etc.).

Placing Multiple Files on a Single Disk (2) Figure 7-23. The organ-pipe distribution of files on a video server.

Placing Files on Multiple Disks (1) Figure 7-24. Four ways of organizing multimedia files over multiple disks. (a) No striping. (b) Same striping all files.

Placing Files on Multiple Disks (2) Figure 7-24. Four ways of organizing multimedia files over multiple disks. (c) Staggered striping. (d) Random striping.

Block Caching (1) Figure 7-25. (a) Two users watching the same movie 10 sec out of sync.

Block Caching (2) Figure 7-25. (b) Merging the two streams into one.

Static Disk Scheduling Figure 7-26. In one round, each movie asks for one frame.

Dynamic Disk Scheduling Figure 7-27. The scan-edf algorithm uses deadlines and cylinder numbers for scheduling.