CS 414 - Spring 2011 CS 414 – Multimedia Systems Design Lecture 28 – Media Server (Part 4) Klara Nahrstedt Spring 2011.

Slides:



Advertisements
Similar presentations
CS 414 – Multimedia Systems Design Lecture 26 – Media Server (Part 2)
Advertisements

CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 28 – Media Server (Part 3) Klara Nahrstedt Spring 2009.
File Systems.
Continuous Media 1 Differs significantly from textual and numeric data because of two fundamental characteristics: –Real-time storage and retrieval –High.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 14 – Introduction to Multimedia Resource Management Klara Nahrstedt Spring 2012.
Chapter 20: Multimedia Systems Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 20: Multimedia Systems What is Multimedia.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Chapter 20: Multimedia Systems.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 35 – Media Server (Part 4) Klara Nahrstedt Spring 2012.
1 Multimedia Chapter Introduction to multimedia 7.2 Multimedia files 7.3 Video compression 7.4 Multimedia process scheduling 7.5 Multimedia file.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 27 – Media Server (Part 3) Klara Nahrstedt Spring 2011.
CS-3013 & CS-502, Summer 2006 Multimedia topics (continued)1 Multimedia Topics (continued) CS-3013 & CS-502 Operating Systems.
Chapter 7 Multimedia Operating Systems File System Paradigms File Replacement Caching Disk Scheduling.
Caching Techniques for Streaming Multimedia over the Internet Markus Hofmann, T.S. Eugene Ng, Katherine Guo, Sanjoy Paul, Hui Zhang SOCCER 2000 DRAFT.
Multimedia Systems (Part 2)
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 34 – Media Server (Part 3) Klara Nahrstedt Spring 2012.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 40 – P2P Streaming (Part 4) Klara Nahrstedt.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 32 – Media Server (Part 2) Klara Nahrstedt Spring 2012.
Using Multimedia on the Web
Joonwon Lee OS Support for Multimedia.
MODERN OPERATING SYSTEMS Third Edition ANDREW S
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 19/20: Real-time and Multimedia Systems Inclusions from Tanenbaum,
Klara Nahrstedt Spring 2011
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 28 – Final Comments on DASH and Client-Server Buffer Management Klara Nahrstedt Spring.
XE33OSA Chapter 20: Multimedia Systems. 20.2XE33OSA Silberschatz, Galvin and Gagne ©2005 Chapter 20: Multimedia Systems What is Multimedia Compression.
Multimedia Operating Systems ●File System Paradigms ●File Replacement ●Caching ●Disk.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 29 – Buffer Management (Part 2) Klara Nahrstedt Spring 2012.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 37 – P2P Streaming and P2P Applications/PPLive Klara Nahrstedt Spring 2011.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 30 – Media Server (Part 6) Klara Nahrstedt Spring 2011.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 25 – Media Server (Part 1) Klara Nahrstedt Spring 2011.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 41 – Final Exam Review Session Klara Nahrstedt Spring 2012.
Serverless Network File Systems Overview by Joseph Thompson.
CS 153 Design of Operating Systems Spring 2015 Lecture 21: File Systems.
CS Spring 2010 CS 414 – Multimedia Systems Design Lecture 40 – Final Exam Review Session Klara Nahrstedt Spring 2010.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 40 – Final Exam Review Session Klara Nahrstedt Spring 2011.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 18 – Multimedia Transport (Part 1) Klara Nahrstedt Spring 2014.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 30 – Media Server (Part 5) Klara Nahrstedt Spring 2009.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 31 – Media Server (Part 1) Klara Nahrstedt Spring 2012.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 30 – Final Comments on DASH and Client-Server Buffer Management Klara Nahrstedt Spring.
MP3: Multi-Source Streaming System Instructor: Klara Nahrstedt April 18, 2014 CS414.
Review CS File Systems - Partitions What is a hard disk partition?
B. Prabhakaran1 Multimedia Systems Reference Text “Multimedia Database Management Systems” by B. Prabhakaran, Kluwer Academic Publishers. – Kluwer bought.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 35 – Media Server (Part 4) Klara Nahrstedt Spring 2014.
Multimedia Retrieval Architecture Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia Retrieval Architecture.
Introduction to Quality of Service Klara Nahrstedt CS 538.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 24 – Client-Server Buffer Management Klara Nahrstedt Spring 2011.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 27 – Media Server (Part 2) Klara Nahrstedt Spring 2009.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 34 – Synchronization (Part 2) Klara Nahrstedt Spring 2009.
MP4 help session Hoang Nguyen. Outline Scenarios Media Synchronization requirement FF/RWND vs. Seek Media synchronization GUI Demo steps (posted next.
Chapter 20: Multimedia Systems
Multimedia Systems Operating System Presentation On
CS 414 – Multimedia Systems Design Lecture 31 – Media Server (Part 5)
Klara Nahrstedt Spring 2009
Klara Nahrstedt Spring 2009
Klara Nahrstedt Spring 2012
Klara Nahrstedt Spring 2010
File Systems Kanwar Gill July 7, 2015.
UNIVERSITY of WISCONSIN-MADISON Computer Sciences Department
Data Orgnization Frequently accessed data on the same storage device?
Chapter 7 Multimedia 7.1 Introduction to multimedia
Chapter 7 Multimedia 7.1 Introduction to multimedia
Chapter 7 Multimedia 7.1 Introduction to multimedia
CSE 60641: Operating Systems
Chapter 7 Multimedia 7.1 Introduction to multimedia
Performance and Scalability Issues of Multimedia Digital Library
Chapter 20: Multimedia Systems
Chapter 7 Multimedia 7.1 Introduction to multimedia
SE350: Operating Systems Lecture 12: File Systems.
Chapter 20: Multimedia Systems
The File Manager Implementation issues
Presentation transcript:

CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 28 – Media Server (Part 4) Klara Nahrstedt Spring 2011

Administrative MP3 has  Two options of MP3 Option 1 – 2-way video chat: Linux – Android (eligible for competition) Option 2 – 3-way video conference: Linux-Linux You should decide on one option (either option 1 or option 2)!!!  April 29, 5-7pm, Google Competition for Option 1 solutions Competition with judges via demos in SC 216 Finalists will demonstration to judges between 5-7pm, April 29 Finalists will prepare 5 minutes power point presentation  April 27, 7-9pm, Preview of the MP3 status Wednesday, April 27, 7-9pm via demos in SC 216 in front of Prof. Nahrstedt and TA Shu All groups show their status Decision on which groups with option 1 will go towards Google competition CS Spring 2011

Administrative MP3 has  April 29, Demonstration of projects (except of finalists) Demos for grade between 2-4:30pm in SC 216 to Prof. Nahrstedt and TA Shu Shi  Sign-up sheet for demonstrations Provided in class during week of April 22.  April 29, midnight, code submission via compass More details about competition, and others will be posted one week prior to competition CS Spring 2011

Some Facts Flickr – image and video hosting website In September 2010,  Fickr hosted more than 5 billion images  Developed by Ludicorp, Vancouver, 2004, now owned by Yahoo! In August 2009,  Flickr hosted 62 databases across 124 servers CS Spring 2011

Outline Multimedia File System  File allocation tables/Index tables  Additional File System Operations  Block sizes Efficient Video-on-Demand Service Techniques  Caching  Patching  Batching CS Spring 2011

Multimedia File Systems Real-time Characteristics  Read operation must be executed before well-defined deadline with small jitter Additional buffers smooth data File Size  Can be very large even those compressed  Files larger than 2 32 bytes Multiple Correlated Data Streams  Retrieval of a movie requires processing and synch of audio and video streams CS Spring 2011

Placement of Mapping Tables Fundamental Issue: keep track of which disk blocks belong to each file (I-nodes in UNIX) For continuous files/contiguous placement  don’t need maps For scattered files  Need maps Linked lists (inefficient for multimedia files) File allocation tables (FAT) CS Spring 2011

Indexing and FAT CS Spring 2011 I Frame Higher Level Index Table Per File P Frame B Frame P Frame Block I1 Location PTR Block I2 Location PTR Block I3 Location PTR Block P11 Location PTR Block P12 Location PTR Block B1 Location PTR Block P21 Location PTR Block P22 Location PTR File Allocation Table ……….. …………..

Constant and Real-time Retrieval of MM Data Retrieve index in real-time Retrieve block information from FAT Retrieve data from disk in real-time Real-time playback  Implement linked list Random seek (Fast Forward, Rewind)  Implement indexing MM File Maps  include metadata about MM objects: creator of video, sync info CS Spring 2011

Fast Forward and Rewind (Implementation) Play back media at higher rate  Not practical solution Continue playback at normal rate, but skip frames  Define skip steps, e.g. skip every 3 rd, or 5 th frame  Be careful about interdependencies within MPEG frames Approaches for FF:  Create a separate and highly compressed file  Categorize each frame as relevant or irrelevant  Intelligent arrangement of blocks for FF CS Spring 2011

Block Size Issues in File Organization Small Block Sizes  Use smaller block sizes, smaller than average frame size Organization Strategy: Constant Time Length Need Metadata structure, called Frame Index  Frame means a time frame within a movie  Under the time frame read all blocks (audio, video, text) belonging to this time frame CS Spring 2011 AV VT Frame index Movie Time line AV VT ……… V A V

Block Size Issues Large Block Size  Use large blocks (e.g., 256 KB) which include multiple audio/video/text frames Organization Strategy: Constant Data Length Need Metadata structure, called Block Index  Each block contains multiple movie frames CS Spring 2011 AV V V AAA V VV Block Index

Tradeoffs Frame index : needs large RAM usage while movie is playing, however little disk wastage Block index (if frames are not split across blocks): need low RAM usage, but major disk wastage – internal disk fragmentation Block index(if frames are split across blocks): need low Ram usage, no disk wastage, extra seek times CS Spring 2011

Efficient VOD Service Techniques Problem: VOD service offers a large selection of videos from which customers can choose – want to offer low access latency for customers Main Challenge: How to handle large number of customers, maintain low cost of operation and at the same time provide acceptable access latency Caching Source: Caching Techniques for Streaming Multimedia over the Internet, Markus Hofmann, Eugene Ng, Katherine Guo, Sanjoy Paul, Hui Zhang Batching Source: Selecting among Replicated Batching VOD Servers, Meng Guo, Mustafa Ammar, E. Zegura Patching Source: Hierarchical Video Patching with Optimal Server Bandwidth, H. Hlavacs, S. Buchinger CS Spring 2011

Conclusion Designers of VOD systems strive to achieve low access latency for customers Challenges:  Handle large amount of customers (clients)  Maintain low cost of operation  Provide acceptable access latency CS Spring 2011