SlideShare uma empresa 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

Mais conteúdo relacionado

Mais procurados

Mais procurados (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
 

Destaque

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
 

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

Semelhante 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
 

Semelhante 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
 

Mais de J.T.A.JONES

Mais 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

Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxUmeshTimilsina1
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationNeilDeclaro1
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 

Último (20)

Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health Education
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 

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