版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、1,Multimedia,Chapter 7,7.1 Introduction to multimedia 7.2 Multimedia files 7.3 Video compression 7.4 Multimedia process scheduling 7.5 Multimedia file system paradigms 7.6 File placement 7.7 Caching 7.8 Disk scheduling for multimedia,2,Introduction to Multimedia (1),Video On Demand: (a) ADSL vs. (b)
2、 cable,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,4,Multimedia Files,A movie may consist of several files,5,Audio Encoding (1),Audio Waves Converted to Digital electrical voltage input binary number as ou
3、tput,6,Audio Encoding (2),Error induced by finite sampling called quantization noise Examples of sampled sound telephone pulse code modulation audio compact disks,7,Video Encoding,Scanning Pattern for NTSC Video and Television,8,Video CompressionThe JPEG Standard (1),RGB input data and block prepara
4、tion,9,The JPEG Standard (2),One block of the Y matrix and the DCT coefficients,10,The JPEG Standard (3),Computation of the quantized DCT coefficients,11,The MPEG Standard (1),Order of quantized values when transmitted,12,The MPEG Standard (2),MPEG-2 has three kinds of frame: I, P, B Intracoded fram
5、es Self-contained JPEG-encoded pictures Predictive frames Block-by-block difference with last frame Bi-directional frames Differences with last and next frame,13,The MPEG Standard (3),Consecutive Video Frames,14,Multimedia Process Scheduling,Periodic processes displaying a movie Frame rates and proc
6、essing requirements may be different for each movie,15,Rate Monotonic Scheduling,Used for processes which meet these conditions Each periodic process must complete within its period No process dependent on any other process Each process needs same CPU time each burst Any nonperiodic processes have n
7、o deadlines Process preemption occurs instantaneously, no overhead,16,Earliest Deadline First Scheduling (1),Real Time Scheduling algorithms RMS EDF,17,Earliest Deadline First Scheduling (2),Another example of real-time scheduling with RMS and EDF,18,Multimedia File System Paradigms,Pull and Push Se
8、rvers,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,20,Near Video on Demand,New stream starting at regular intervals,21,Near Video on Demand with VCR Functions
9、,Buffering for Rewind,22,File Placement,Placing a File on a Single Disk Interleaving Video, audio, text in single contiguous file per movie,Frame 1,Frame 2,Frame 3,AudioFrame,TextFrame,23,Two Alternative File Organization Strategies (1),Noncontiguous Movie Storage (a) small disk blocks (b) large dis
10、k blocks,24,Two Alternative File Organization Strategies (2),Trade-offs between small, large blocks 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) lo
11、w RAM usage no disk wastage extra seeks,25,Placing Files for Near Video on Demand,Optimal frame placement for near video on demand,26,Placing Multiple files on a Single Disk (1),Zipfs law for N=20 Squares for 20 largest cities in US sorted on rank order,27,Placing Multiple files on a Single Disk (2)
12、,Organ-pipe distribution of files on server most popular movie in middle of disk next most popular either on either side, etc.,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 stri
13、ping,29,Caching,Block Caching (a) Two users, same movie 10 sec out of sync (b) Merging two streams into one,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,31,Disk Scheduling for Multimedia,Stat
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026上半年四川内江职业技术学院考核招聘教师及专职辅导员10人备考题库含答案详解(轻巧夺冠)
- 2026安徽蚌埠市固镇县濠城镇选聘村级后备干部16人备考题库附答案详解(精练)
- 2026湖南长沙市雨花区招聘教师100人备考题库及一套参考答案详解
- 2026陕西西安灞桥席王社区卫生服务中心招聘1人备考题库含答案详解(基础题)
- 2026陕西西安浐灞国际港新合社区卫生服务中心招聘3人备考题库及答案详解(考点梳理)
- 2026湖北武汉市华中农业大学附属学校小学语文教师招聘2人备考题库(第二轮)及答案详解(易错题)
- 2026北京化工大学材料科学与工程学院科研助理招聘1人备考题库附答案详解(突破训练)
- 2026江苏航运职业技术学院招聘14人备考题库附答案详解(b卷)
- 2026广东茂名高岭科技有限公司工作人员5人备考题库含答案详解(巩固)
- 豫信电子科技集团有限公司2026届校园招聘备考题库含答案详解(考试直接用)
- 2026年行政执法人员考试真题专项训练
- TSG08-2026《特种设备使用管理规则》新旧对比解读
- 2026云南红河州绿春县腾达国有资本投资运营集团有限公司招聘8人笔试备考试题及答案解析
- 2026河北保定交通发展集团有限公司招聘27人备考题库及答案详解一套
- 2025湖北武汉市汉江集团公司面向集团内部招聘2人笔试历年难易错考点试卷带答案解析
- 框架结构住宅楼施工计划
- 2026江苏事业单位统考泰州市靖江市招聘42人考试参考题库及答案解析
- (一模)太原市2026年高三年级模拟考试(一)历史试卷(含官方答案)
- 浙江黄龙体育发展有限公司招聘笔试题库2026
- 2026年文化旅游演艺综合体项目文化旅游资源开发可行性研究报告
- 江苏南京紫金投资集团有限责任公司招聘笔试题库2026
评论
0/150
提交评论