SlideShare una empresa de Scribd logo
1 de 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

Más contenido relacionado

La actualidad más candente

La actualidad más candente (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
 

Destacado

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
 

Destacado (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
 

Similar a 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
 

Similar a 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
 

Más de J.T.A.JONES

Más de 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
 

Último

Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptxDhatriParmar
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSMae Pangan
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxkarenfajardo43
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operationalssuser3e220a
 
Multi Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleMulti Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleCeline George
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
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
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Association for Project Management
 
week 1 cookery 8 fourth - quarter .pptx
week 1 cookery 8  fourth  -  quarter .pptxweek 1 cookery 8  fourth  -  quarter .pptx
week 1 cookery 8 fourth - quarter .pptxJonalynLegaspi2
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17Celine George
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfPrerana Jadhav
 
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
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1GloryAnnCastre1
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...DhatriParmar
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptxmary850239
 
4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptxmary850239
 

Último (20)

Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHS
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operational
 
Multi Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleMulti Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP Module
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
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 ...
 
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
 
week 1 cookery 8 fourth - quarter .pptx
week 1 cookery 8  fourth  -  quarter .pptxweek 1 cookery 8  fourth  -  quarter .pptx
week 1 cookery 8 fourth - quarter .pptx
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdf
 
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)
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx
 
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 
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
 
4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx
 

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