SlideShare ist ein Scribd-Unternehmen logo
1 von 32
1
1. Introduction to multimedia
2. Multimedia files
3. Video compression
4. Multimedia process scheduling
5. Multimedia file system paradigms
6. File placement
7. Caching
8. Disk scheduling for multimedia
Introduction to Multimedia (1)
Video On Demand: (a) ADSL vs. (b) cable
2
Introduction to Multimedia (2)
Some data rates
multimedia, high performance I/O devices
Note: 1 Mbps = 106
bits/sec but 1 GB = 230
bytes
3
Multimedia Files
A movie may consist of several files
4
Audio Encoding (1)
Audio Waves Converted to Digital
electrical voltage input
binary number as output
5
Audio Encoding (2)
Error induced by finite sampling
called quantization noise
Examples of sampled sound
telephone – pulse code modulation
audio compact disks
6
Video Encoding
Scanning Pattern for NTSC Video and Television
7
Video Compression
The JPEG Standard (1)
RGB input data and block preparation
8
The JPEG Standard (2)
One block of the Y matrix and the DCT coefficients
9
The JPEG Standard (3)
Computation of the quantized DCT coefficients
10
The MPEG Standard (1)
Order of quantized values when transmitted
11
The MPEG Standard (2)
MPEG-2 has three kinds of frame: I, P, B
1. Intracoded frames
- Self-contained JPEG-encoded pictures
1. Predictive frames
- Block-by-block difference with last frame
1. Bi-directional frames
- Differences with last and next frame
12
The MPEG Standard (3)
Consecutive Video Frames
13
Multimedia Process Scheduling
Periodic processes displaying a movie
Frame rates and processing requirements may be
different for each movie
14
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
15
Earliest Deadline First Scheduling (1)
Real Time Scheduling algorithms
RMS
EDF 16
Earliest Deadline First Scheduling (2)
17
Another example of real-time scheduling with RMS and EDF
Multimedia File System Paradigms
Pull and Push Servers
18
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
19
Near Video on Demand
New stream starting at regular intervals
20
Near Video on Demand with VCR Functions
Buffering for Rewind 21
File Placement
Placing a File on a Single Disk
Interleaving
Video, audio, text in single contiguous file per
movie
22
Frame 1 Frame 2 Frame 3
Audio
Frame
Text
Frame
Two Alternative File Organization Strategies (1)
Noncontiguous Movie Storage
(a) small disk blocks
(b) large disk blocks
23
Two Alternative File Organization Strategies (2)
Trade-offs between small, large blocks
1. 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)
- low RAM usage
- no disk wastage
- extra seeks
24
Placing Files for Near Video on Demand
Optimal frame placement for near video on demand
25
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
26
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.
27
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 28
Caching
Block Caching
(a) Two users, same movie 10 sec out of sync
(b) Merging two streams into one 29
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
30
Disk Scheduling for Multimedia
Static Disk Scheduling
In one round, each movie asks for one frame
31
Order in which disk requests are processed 
Stream
Dynamic Disk Scheduling
Scan-EDF algorithm
uses deadlines & cylinder numbers for scheduling
32

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Syslog
SyslogSyslog
Syslog
 
Chap 17 advfs
Chap 17 advfsChap 17 advfs
Chap 17 advfs
 
Embedded Systems Conference 2014 Presentation
Embedded Systems Conference 2014 PresentationEmbedded Systems Conference 2014 Presentation
Embedded Systems Conference 2014 Presentation
 
Linux Container Basics
Linux Container BasicsLinux Container Basics
Linux Container Basics
 
Shell Scripting
Shell ScriptingShell Scripting
Shell Scripting
 
Introduction to BeagleBoard-xM
Introduction to BeagleBoard-xMIntroduction to BeagleBoard-xM
Introduction to BeagleBoard-xM
 
Real Time Systems
Real Time SystemsReal Time Systems
Real Time Systems
 
Hpc4 linux advanced
Hpc4 linux advancedHpc4 linux advanced
Hpc4 linux advanced
 
BeagleBoard-xM Booting Process
BeagleBoard-xM Booting ProcessBeagleBoard-xM Booting Process
BeagleBoard-xM Booting Process
 
UM2019 Extended BPF: A New Type of Software
UM2019 Extended BPF: A New Type of SoftwareUM2019 Extended BPF: A New Type of Software
UM2019 Extended BPF: A New Type of Software
 
Comparison between grub-legacy ,lilo and grub -2
Comparison between grub-legacy ,lilo and grub -2Comparison between grub-legacy ,lilo and grub -2
Comparison between grub-legacy ,lilo and grub -2
 
BeagleBone Black Booting Process
BeagleBone Black Booting ProcessBeagleBone Black Booting Process
BeagleBone Black Booting Process
 
Kernel Debugging & Profiling
Kernel Debugging & ProfilingKernel Debugging & Profiling
Kernel Debugging & Profiling
 
(120513) #fitalk an introduction to linux memory forensics
(120513) #fitalk   an introduction to linux memory forensics(120513) #fitalk   an introduction to linux memory forensics
(120513) #fitalk an introduction to linux memory forensics
 
Description and basics of lilo
Description and basics of liloDescription and basics of lilo
Description and basics of lilo
 
System Calls
System CallsSystem Calls
System Calls
 
Understanding eBPF in a Hurry!
Understanding eBPF in a Hurry!Understanding eBPF in a Hurry!
Understanding eBPF in a Hurry!
 
Refining Linux
Refining LinuxRefining Linux
Refining Linux
 
Modern Linux Desktop Stack
Modern Linux Desktop StackModern Linux Desktop Stack
Modern Linux Desktop Stack
 
BeagleBone Black Bootloaders
BeagleBone Black BootloadersBeagleBone Black Bootloaders
BeagleBone Black Bootloaders
 

Andere mochten auch

RTAI - Earliest Deadline First
RTAI - Earliest Deadline FirstRTAI - Earliest Deadline First
RTAI - Earliest Deadline FirstStefano Bragaglia
 
Communication Device
Communication DeviceCommunication Device
Communication Devicecarolineyes
 
Lec6 compression
Lec6 compressionLec6 compression
Lec6 compressionDom Mike
 
Story boarding Portfilo
Story boarding Portfilo Story boarding Portfilo
Story boarding Portfilo Chromonaut
 
Story Boarding
Story BoardingStory Boarding
Story BoardingBrad White
 
multimedia chapter1
multimedia chapter1multimedia chapter1
multimedia chapter1nes
 
Lesson 1 introduction to animation
Lesson 1   introduction to animationLesson 1   introduction to animation
Lesson 1 introduction to animationjoelfisher755
 
Analogue and digital
Analogue and digitalAnalogue and digital
Analogue and digitalrohimab
 
Analogue & Digital
Analogue & DigitalAnalogue & Digital
Analogue & Digitalk13086
 
Real time Operating System
Real time Operating SystemReal time Operating System
Real time Operating SystemTech_MX
 
Analog and digital signals
Analog and digital signalsAnalog and digital signals
Analog and digital signalsteja reddy
 
Multimedia authoring tools
Multimedia authoring toolsMultimedia authoring tools
Multimedia authoring toolsOnline
 
multimedia element
multimedia elementmultimedia element
multimedia elementAZMAN KADIR
 

Andere mochten auch (19)

RTAI - Earliest Deadline First
RTAI - Earliest Deadline FirstRTAI - Earliest Deadline First
RTAI - Earliest Deadline First
 
Communication Device
Communication DeviceCommunication Device
Communication Device
 
Lec6 compression
Lec6 compressionLec6 compression
Lec6 compression
 
Story boarding Portfilo
Story boarding Portfilo Story boarding Portfilo
Story boarding Portfilo
 
Story boarding
Story boardingStory boarding
Story boarding
 
Mutimedia
MutimediaMutimedia
Mutimedia
 
Story Boarding
Story BoardingStory Boarding
Story Boarding
 
Compression
CompressionCompression
Compression
 
Cel Animation
Cel AnimationCel Animation
Cel Animation
 
multimedia chapter1
multimedia chapter1multimedia chapter1
multimedia chapter1
 
Seismic
SeismicSeismic
Seismic
 
Lesson 1 introduction to animation
Lesson 1   introduction to animationLesson 1   introduction to animation
Lesson 1 introduction to animation
 
Analogue and digital
Analogue and digitalAnalogue and digital
Analogue and digital
 
Analogue & Digital
Analogue & DigitalAnalogue & Digital
Analogue & Digital
 
Real time Operating System
Real time Operating SystemReal time Operating System
Real time Operating System
 
Analog and digital signals
Analog and digital signalsAnalog and digital signals
Analog and digital signals
 
Multimedia authoring tools
Multimedia authoring toolsMultimedia authoring tools
Multimedia authoring tools
 
multimedia element
multimedia elementmultimedia element
multimedia element
 
Multimedia
MultimediaMultimedia
Multimedia
 

Ähnlich wie Multi Media

Kbk436 Sistem Operasi Lanjut Lecture01
Kbk436 Sistem Operasi Lanjut Lecture01Kbk436 Sistem Operasi Lanjut Lecture01
Kbk436 Sistem Operasi Lanjut Lecture01Cahyo Darujati
 
Multimedia
MultimediaMultimedia
MultimediaBUDNET
 
vdocument.in_modern-operating-systems-third-edition-andrew-s-tanenbaum-chapte...
vdocument.in_modern-operating-systems-third-edition-andrew-s-tanenbaum-chapte...vdocument.in_modern-operating-systems-third-edition-andrew-s-tanenbaum-chapte...
vdocument.in_modern-operating-systems-third-edition-andrew-s-tanenbaum-chapte...DuongMinhTanK16HCM
 
vdocument.in_modern-operating-systems-third-edition-andrew-s-tanenbaum-chapte...
vdocument.in_modern-operating-systems-third-edition-andrew-s-tanenbaum-chapte...vdocument.in_modern-operating-systems-third-edition-andrew-s-tanenbaum-chapte...
vdocument.in_modern-operating-systems-third-edition-andrew-s-tanenbaum-chapte...DuongMinhTanK16HCM
 
Kbk436 Sistem Operasi Lanjut Lecture02
Kbk436 Sistem Operasi Lanjut Lecture02Kbk436 Sistem Operasi Lanjut Lecture02
Kbk436 Sistem Operasi Lanjut Lecture02Cahyo Darujati
 
New Media Video Overview
New Media Video OverviewNew Media Video Overview
New Media Video Overviewtoddatmtsu
 
Video Compression Technology
Video Compression TechnologyVideo Compression Technology
Video Compression TechnologyTong Teerayuth
 
02.m3 cms sys-req4mediastreaming
02.m3 cms sys-req4mediastreaming02.m3 cms sys-req4mediastreaming
02.m3 cms sys-req4mediastreamingtarensi
 
Chapter 15 distributed mm systems
Chapter 15 distributed mm systemsChapter 15 distributed mm systems
Chapter 15 distributed mm systemsAbDul ThaYyal
 
Feb. 22, 2005 EuroIMSA 2005
Feb. 22, 2005 EuroIMSA 2005 Feb. 22, 2005 EuroIMSA 2005
Feb. 22, 2005 EuroIMSA 2005 Videoguy
 
Backups-khtn document 2023 tai lieu hay.pdf
Backups-khtn document 2023 tai lieu hay.pdfBackups-khtn document 2023 tai lieu hay.pdf
Backups-khtn document 2023 tai lieu hay.pdftrihang02122018
 
MPEG video compression standard
MPEG video compression standardMPEG video compression standard
MPEG video compression standardanuragjagetiya
 
Video Compression Basics - MPEG2
Video Compression Basics - MPEG2Video Compression Basics - MPEG2
Video Compression Basics - MPEG2VijayKumarArya
 

Ähnlich wie Multi Media (20)

Kbk436 Sistem Operasi Lanjut Lecture01
Kbk436 Sistem Operasi Lanjut Lecture01Kbk436 Sistem Operasi Lanjut Lecture01
Kbk436 Sistem Operasi Lanjut Lecture01
 
3 multimedia systems
3   multimedia systems3   multimedia systems
3 multimedia systems
 
Multimedia
MultimediaMultimedia
Multimedia
 
vdocument.in_modern-operating-systems-third-edition-andrew-s-tanenbaum-chapte...
vdocument.in_modern-operating-systems-third-edition-andrew-s-tanenbaum-chapte...vdocument.in_modern-operating-systems-third-edition-andrew-s-tanenbaum-chapte...
vdocument.in_modern-operating-systems-third-edition-andrew-s-tanenbaum-chapte...
 
vdocument.in_modern-operating-systems-third-edition-andrew-s-tanenbaum-chapte...
vdocument.in_modern-operating-systems-third-edition-andrew-s-tanenbaum-chapte...vdocument.in_modern-operating-systems-third-edition-andrew-s-tanenbaum-chapte...
vdocument.in_modern-operating-systems-third-edition-andrew-s-tanenbaum-chapte...
 
Storage
StorageStorage
Storage
 
Kbk436 Sistem Operasi Lanjut Lecture02
Kbk436 Sistem Operasi Lanjut Lecture02Kbk436 Sistem Operasi Lanjut Lecture02
Kbk436 Sistem Operasi Lanjut Lecture02
 
Lecture 8 Video
Lecture 8 VideoLecture 8 Video
Lecture 8 Video
 
CHAPTER – 6 Video
CHAPTER – 6    VideoCHAPTER – 6    Video
CHAPTER – 6 Video
 
New Media Video Overview
New Media Video OverviewNew Media Video Overview
New Media Video Overview
 
20 Years of Streaming in 20 Minutes
20 Years of Streaming in 20 Minutes20 Years of Streaming in 20 Minutes
20 Years of Streaming in 20 Minutes
 
Video Compression Technology
Video Compression TechnologyVideo Compression Technology
Video Compression Technology
 
02.m3 cms sys-req4mediastreaming
02.m3 cms sys-req4mediastreaming02.m3 cms sys-req4mediastreaming
02.m3 cms sys-req4mediastreaming
 
Chapter 15 distributed mm systems
Chapter 15 distributed mm systemsChapter 15 distributed mm systems
Chapter 15 distributed mm systems
 
Feb. 22, 2005 EuroIMSA 2005
Feb. 22, 2005 EuroIMSA 2005 Feb. 22, 2005 EuroIMSA 2005
Feb. 22, 2005 EuroIMSA 2005
 
Backups-khtn document 2023 tai lieu hay.pdf
Backups-khtn document 2023 tai lieu hay.pdfBackups-khtn document 2023 tai lieu hay.pdf
Backups-khtn document 2023 tai lieu hay.pdf
 
MPEG video compression standard
MPEG video compression standardMPEG video compression standard
MPEG video compression standard
 
Video Compression Basics - MPEG2
Video Compression Basics - MPEG2Video Compression Basics - MPEG2
Video Compression Basics - MPEG2
 
Multimedia
Multimedia Multimedia
Multimedia
 
Video Compression
Video CompressionVideo Compression
Video Compression
 

Mehr von J.T.A.JONES

Mehr von J.T.A.JONES (20)

Fire Detection and Alarm Systems
Fire Detection and Alarm SystemsFire Detection and Alarm Systems
Fire Detection and Alarm Systems
 
Productivity
ProductivityProductivity
Productivity
 
Public Switched Telephone Network (PSTN)
Public Switched Telephone Network (PSTN)Public Switched Telephone Network (PSTN)
Public Switched Telephone Network (PSTN)
 
Video phone
Video phoneVideo phone
Video phone
 
navigation
navigationnavigation
navigation
 
Radar
RadarRadar
Radar
 
safety belts
safety beltssafety belts
safety belts
 
Safety
SafetySafety
Safety
 
Powder Metallurgy
Powder Metallurgy Powder Metallurgy
Powder Metallurgy
 
Die Casting
Die Casting Die Casting
Die Casting
 
Casting
CastingCasting
Casting
 
Fuel Systems
Fuel SystemsFuel Systems
Fuel Systems
 
Carburetor Theory
Carburetor TheoryCarburetor Theory
Carburetor Theory
 
Software Development Life Cycle Model
Software Development Life Cycle ModelSoftware Development Life Cycle Model
Software Development Life Cycle Model
 
Types of os
Types of osTypes of os
Types of os
 
IO Management
IO ManagementIO Management
IO Management
 
Disk scheduling
Disk schedulingDisk scheduling
Disk scheduling
 
Sorting & Linked Lists
Sorting & Linked ListsSorting & Linked Lists
Sorting & Linked Lists
 
php
phpphp
php
 
Transformer
TransformerTransformer
Transformer
 

Kürzlich hochgeladen

Presentation Activity 2. Unit 3 transv.pptx
Presentation Activity 2. Unit 3 transv.pptxPresentation Activity 2. Unit 3 transv.pptx
Presentation Activity 2. Unit 3 transv.pptxRosabel UA
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Millenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxMillenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxJanEmmanBrigoli
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...JojoEDelaCruz
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
EmpTech Lesson 18 - ICT Project for Website Traffic Statistics and Performanc...
EmpTech Lesson 18 - ICT Project for Website Traffic Statistics and Performanc...EmpTech Lesson 18 - ICT Project for Website Traffic Statistics and Performanc...
EmpTech Lesson 18 - ICT Project for Website Traffic Statistics and Performanc...liera silvan
 

Kürzlich hochgeladen (20)

YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Presentation Activity 2. Unit 3 transv.pptx
Presentation Activity 2. Unit 3 transv.pptxPresentation Activity 2. Unit 3 transv.pptx
Presentation Activity 2. Unit 3 transv.pptx
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Millenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxMillenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptx
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
EmpTech Lesson 18 - ICT Project for Website Traffic Statistics and Performanc...
EmpTech Lesson 18 - ICT Project for Website Traffic Statistics and Performanc...EmpTech Lesson 18 - ICT Project for Website Traffic Statistics and Performanc...
EmpTech Lesson 18 - ICT Project for Website Traffic Statistics and Performanc...
 

Multi Media

  • 1. 1 1. Introduction to multimedia 2. Multimedia files 3. Video compression 4. Multimedia process scheduling 5. Multimedia file system paradigms 6. File placement 7. Caching 8. Disk scheduling for multimedia
  • 2. Introduction to Multimedia (1) Video On Demand: (a) ADSL vs. (b) cable 2
  • 3. Introduction to Multimedia (2) Some data rates multimedia, high performance I/O devices Note: 1 Mbps = 106 bits/sec but 1 GB = 230 bytes 3
  • 4. Multimedia Files A movie may consist of several files 4
  • 5. Audio Encoding (1) Audio Waves Converted to Digital electrical voltage input binary number as output 5
  • 6. Audio Encoding (2) Error induced by finite sampling called quantization noise Examples of sampled sound telephone – pulse code modulation audio compact disks 6
  • 7. Video Encoding Scanning Pattern for NTSC Video and Television 7
  • 8. Video Compression The JPEG Standard (1) RGB input data and block preparation 8
  • 9. The JPEG Standard (2) One block of the Y matrix and the DCT coefficients 9
  • 10. The JPEG Standard (3) Computation of the quantized DCT coefficients 10
  • 11. The MPEG Standard (1) Order of quantized values when transmitted 11
  • 12. The MPEG Standard (2) MPEG-2 has three kinds of frame: I, P, B 1. Intracoded frames - Self-contained JPEG-encoded pictures 1. Predictive frames - Block-by-block difference with last frame 1. Bi-directional frames - Differences with last and next frame 12
  • 13. The MPEG Standard (3) Consecutive Video Frames 13
  • 14. Multimedia Process Scheduling Periodic processes displaying a movie Frame rates and processing requirements may be different for each movie 14
  • 15. 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 15
  • 16. Earliest Deadline First Scheduling (1) Real Time Scheduling algorithms RMS EDF 16
  • 17. Earliest Deadline First Scheduling (2) 17 Another example of real-time scheduling with RMS and EDF
  • 18. Multimedia File System Paradigms Pull and Push Servers 18
  • 19. 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 19
  • 20. Near Video on Demand New stream starting at regular intervals 20
  • 21. Near Video on Demand with VCR Functions Buffering for Rewind 21
  • 22. File Placement Placing a File on a Single Disk Interleaving Video, audio, text in single contiguous file per movie 22 Frame 1 Frame 2 Frame 3 Audio Frame Text Frame
  • 23. Two Alternative File Organization Strategies (1) Noncontiguous Movie Storage (a) small disk blocks (b) large disk blocks 23
  • 24. Two Alternative File Organization Strategies (2) Trade-offs between small, large blocks 1. 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) - low RAM usage - no disk wastage - extra seeks 24
  • 25. Placing Files for Near Video on Demand Optimal frame placement for near video on demand 25
  • 26. 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 26
  • 27. 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. 27
  • 28. 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 28
  • 29. Caching Block Caching (a) Two users, same movie 10 sec out of sync (b) Merging two streams into one 29
  • 30. 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 30
  • 31. Disk Scheduling for Multimedia Static Disk Scheduling In one round, each movie asks for one frame 31 Order in which disk requests are processed  Stream
  • 32. Dynamic Disk Scheduling Scan-EDF algorithm uses deadlines & cylinder numbers for scheduling 32