Multimedia Systems As Presented by: Craig Tomastik.

Slides:



Advertisements
Similar presentations
Streaming Video over the Internet
Advertisements

Internet for multimedia content Yogendra Pal Chief Engineer, All India Radio.
2.02F Publishing Animated Videos 2.02 Develop Computer Animations.
T.Sharon-A.Frank 1 Multimedia Quality of Service (QoS)
Fundamentals of Multimedia Part III: Multimedia Communications and Networking Chapter 15 : Network Services and Protocols for Multimedia Communications.
Chapter 20: Multimedia Systems Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 20: Multimedia Systems What is Multimedia.
29.1 Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
The Real Time Streaming Protocol (RTSP)
29.1 Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 25 Multimedia.
1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Chapter 20: Multimedia Systems.
Distributed Multimedia Systems
User Control of Streaming Media: RTSP
Fan Zhang Hiranmayi Mechineni. OUTLINE  Multimedia  Compression  Requirements of Multimedia kernels  CPU Scheduling  Disk Scheduling  Network Management.
CS-3013 & CS-502, Summer 2006 Multimedia topics (continued)1 Multimedia Topics (continued) CS-3013 & CS-502 Operating Systems.
UNCW UNCW SIGGRAPH 2002 Topic #3: Continuous Media in Wired and Wireless Environments Ronald J. Vetter Department of Computer Science University of North.
CSc 461/561 CSc 461/561 Multimedia Systems 0. Introduction.
Multimedia Applications r Multimedia requirements r Streaming r Phone over IP r Recovering from Jitter and Loss r RTP r Diff-serv, Int-serv, RSVP.
TCP/IP Protocol Suite 1 Chapter 25 Upon completion you will be able to: Multimedia Know the characteristics of the 3 types of services Understand the methods.
Multimedia Systems (Part 2)
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 34 – Media Server (Part 3) Klara Nahrstedt Spring 2012.
Introduction to Streaming © Nanda Ganesan, Ph.D..
1 NETE4631 Communicating with the Cloud and Using Media and Streaming Lecture Notes #14.
CS640: Introduction to Computer Networks
Using Multimedia on the Web
CS 218 F 2003 Nov 3 lecture:  Streaming video/audio  Adaptive encoding (eg, layered encoding)  TCP friendliness References: r J. Padhye, V.Firoiu, D.
RTSP Real Time Streaming Protocol
1 CMSCD1011 Introduction to Computer Audio Lecture 10: Streaming audio for Internet transmission Dr David England School of Computing and Mathematical.
CIS679: RTP and RTCP r Review of Last Lecture r Streaming from Web Server r RTP and RTCP.
INF Web Design Using Multimedia on the Web Sound - Part 2.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 19/20: Real-time and Multimedia Systems Inclusions from Tanenbaum,
2.02G Publishing Animated Videos 2.02 Develop Computer Animations.
XE33OSA Chapter 20: Multimedia Systems. 20.2XE33OSA Silberschatz, Galvin and Gagne ©2005 Chapter 20: Multimedia Systems What is Multimedia Compression.
Dr. M. Munlin Real-Time and Multimedia Systems 1 NETE0516 Operating Systems Instructor: ผ. ศ. ดร. หมัดอามีน หมัน หลิน Faculty of Information Science and.
1 How Streaming Media Works Bilguun Ginjbaatar IT 665 Nov 14, 2006.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 17 This presentation © 2004, MacAvon Media Productions Multimedia and Networks.
Multimedia Over IP: RTP, RTCP, RTSP “Computer Science” Department of Informatics Athens University of Economics and Business Λουκάς Ελευθέριος.
TCP/IP Protocol Suite 1 Chapter 25 Upon completion you will be able to: Multimedia Know the characteristics of the 3 types of services Understand the methods.
1 Lecture 17 – March 21, 2002 Content-delivery services. Multimedia services Reminder  next week individual meetings and project status report are due.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Multimedia Systems.
Chapter 6 outline r 6.1 Multimedia Networking Applications r 6.2 Streaming stored audio and video m RTSP r 6.3 Real-time Multimedia: Internet Phone Case.
MP 2: Audio/ Video Streaming
Distribution of Multimedia Data Over a Wireless Network (DMDoWN): An Introduction Presented By: Rafidah Md Noor Faculty of Computer Science & Information.
03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing Streaming 1.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 28 Multimedia.
Chapter 28. Network Management Chapter 29. Multimedia
Multimedia streaming Application Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Querying.
Multimedia and Networks. Protocols (rules) Rules governing the exchange of data over networks Conceptually organized into stacked layers – Application-oriented.
Open System Interconnection Describe how information from a software application in one computer moves through a network medium to a software application.
Fs Streaming Media a presentation by Florian Seidel.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 17 This presentation © 2004, MacAvon Media Productions Multimedia and Networks.
Ch 6. Multimedia Networking Myungchul Kim
Multiplexing Team Members: Cesar Chavez Arne Solas Steven Fong Vi Duong David Nguyen.
TCP/IP Protocol Suite 1 Chapter 25 Upon completion you will be able to: Multimedia Know the characteristics of the 3 types of services Understand the methods.
Multimedia Streaming I. Fatimah Alzahrani. Introduction We can divide audio and video services into three broad categories: streaming stored audio/video,
California State University, LA Presented by Amanda Steven StevenAamirObaid.
Introduction to Quality of Service Klara Nahrstedt CS 538.
Chapter 20: Multimedia Systems
Multimedia Systems Operating System Presentation On
Chapter 20: Multimedia Systems
Networking Applications
Chapter 25 Multimedia TCP/IP Protocol Suite
Chapter 20: Multimedia Systems
Networking Applications
Chapter 20: Multimedia Systems
Chapter 20: Multimedia Systems
Chapter 20: Multimedia Systems
Presentation transcript:

Multimedia Systems As Presented by: Craig Tomastik

What is Multimedia? Multimedia consists of continuous-media, usually audio and video files. Examples of multimedia include: – MP3 audio files – DVD movies – Video clips, webcasts, and webcams sent over the internet Today, multimedia is not only sent to desktop computers, but also PDA’s and cell phones.

Delivery of the media To view the media correctly, the files must be accessed at a specific rate. For example, frames are a series of images displayed rapidly used to represent video. The faster the frames are displayed, the smoother the video appears. Video files must be accessed at a rate that matches the rate at which it is being displayed. This type of data is known as continuous-media data.

Delivery (Continued) Clients receive the multimedia data one of two ways: – Local file systems (Local Playback) – Remote servers (Streaming) Local playback includes watching DVD movies on the computer or listening to an MP3 player. These multimedia files are stored as a file on the local system and are played back from the system.

Delivery (Continued) Multimedia files stored on servers are delivered to clients via streaming. Two streaming techniques exist: – Progressive download – Real-time streaming (Which has two variations): Live Streaming On-demand streaming Random access is not always achievable with real-time streaming.

Characteristics of Multimedia Systems 1.Multimedia files can be quite large. 2.Continuous media may require high data rates. 3.Multimedia applications are sensitive to timing delays during playback.

Operating-System Issues Systems must guarantee specific rate and timing requirements, also known as Quality of Service (QoS) Requirements. These guarantees affect many components in the computer system and influence operating- system issues.

Operating System Issues (Continued) 1.Compression and decoding may require significant CPU processing. 2.Multimedia tasks must be scheduled with certain priorities to ensure meeting the deadline requirements of continuous media. 3.File systems must be efficient to meet the rate requirements of continuous media. 4.Network protocols must support bandwidth requirements while minimizing delay and jitter.

Compression Multimedia files are usually compressed from their original form to a smaller form. Because of the smaller size, less space is required for storage and the file can be delivered to the client more quickly. Compression Ratio- ratio of the original file size to the compressed file size.

Compression (Continued) Compressed (encoded) files must be decompressed (decoded) before they can be accessed. There are two types of compression algorithms: – Lossless- Compressed files can be restored to its original form. – Lossy- some of the original data is lost when the file is decoded.

Motion Picture Experts Group (MPEG) A set of file formats and compression standards for digital video. Each standard is divided into three layers – Layers 3 and 2 apply to the audio and video portions of the media file, respectively. – Layer 1 (Systems Layer) contains timing information that allows the media player to multiplex the audio and video portions for synchronized playback. Three major MPEG Standards: – MPEG-1 – MPEG-2 – MPEG-4

MPEG-1 Resolution quality (352x240, 30 frames per second, bit rate of Mbps) slightly lower than a VCR. MP3 files use Layer 3 of MPEG-1. Can achieve a compression ratio of 200:1 with video files. Typically used to download short video clips from the internet.

MPEG-2 Better quality than MPEG-1. Used to compress DVD movies & digital television, including high-definition television. Idenifies levels (resolution of the video) & profiles (video quality). The higher level of resolution & better the quality, the higher the required data rate. Typical bit rates range from 1.5 to 15 Mbps. Generally used for local playback.

MPEG-4 Most recent standard. Used to transmit audio, video, & graphics (including 2-D & 3-D animation layers). Provides scalable level of quality. MPEG-4 audio & video files can be delivered to wireless devices (including handheld computers, PDAs, and cell phones).

Requirements of Multimedia Kernels Periodic Processes- tasks that request data at constant intervals (periods). If a part of the data file is not delivered within a specified deadline, this part of data is omitted from the stream. (Possible example).

Quality of Service Levels 1.Best-effort service- system makes best effort to meet requirements, but no guarantees are made. 2.Soft QoS- Traffic streams are treated differently, with some streams given higher priority, but no guarantees are made. 3.Hard QoS- Quality-of-service requirements are guaranteed.

Parameters of QoS Throughput- total amount of work done during a certain interval (for multimedia applications, throughput is the required data rate). Delay- elapsed time from when a request is first submitted to when the desired result is produced. Jitter- Delays that occur during playback of the stream. Reliability- refers to error handling during transmission & processing of continuous media.

QoS (Continued) QoS may be negotiated between client and server. Admission control admits a request for service only if there are enough resources to satisfy the request. Simple admission control accomplished by implementing Semaphores and Resource reservations. Each resource, when implementing resource reservations, is assigned a Resource manager.

CPU Scheduling Continuous media requires that data be delivered to a client by a certain deadline. Data that doesn’t arrive by the deadline is unusable. Hard real-time scheduling guarantees a critical task will be serviced in a guaranteed period of time. Static priority- priority remains unchanged. Dynamic priority- priorities can change over time.

Disk Scheduling Disk scheduling must be optimized to satisfy the two main constraints of continuous-media files: 1.Timing deadlines 2.Rate requirements

Earliest-Deadline-First Scheduling Orders requests in a queue based on their deadlines. Requests with the closest deadlines are serviced first. A consequence of this approach is that higher seek times are incurred.

SCAN-EDF Scheduling A combination of SCAN & EDF scheduling. Uses EDF ordering, but services requests using SCAN order. Batching may allow requests with relatively close deadlines to be serviced together. Reordering requests in a batch must not prevent the request from being serviced by its deadline.

Network Management Currently, computer networks do not provide network protocols that ensure data delivery with timing requirements. Network traffic can affect the transmission of data across the network. Any timing issues must be synchronized between the server and client. Real-time transport protocol (RTP)- an Internet standard for delivering audio & video. RTP does not provide QoS guarantees, but provides features that remove jitter caused by delays and network traffic.

Deliveries from a Server to the Client Unicasting- Server delivers content to a single client. If multiple clients are present, a separate unicast is established for each client. Broadcasting- Servers delivers content to all clients. Only used in Local Area Networks and is not possible over the public Internet. Multicasting- Server delivers content to a group of clients who indicate they wish to receive the content.

Real-time Streaming Protocol Two approaches to delivering media from a server: 1.HTTP Protocol (Stateless) The web browser requests a metafile which is then opened in a media player. The media player will then request the media stream from the server. HTTP Protocol delivers the stream back to the media player. 2.RTSP Protocol Same as above, but is not stateless, which allows the client to pause and seek to random positions in the stream during playback.

RTSP Protocol Commands Setup- Server allocates resources for a client session. Play- Server delivers a stream to a client session established from a SETUP command. Pause- Server suspends delivery of a stream but maintains the resources for the session. Teardown- Server breaks down the connection & frees up resources allocated for the session. The server can switch between the Init, Ready, & Playing states when these commands are sent by the client.