Networking Applications

Similar documents
4 rd class Department of Network College of IT- University of Babylon

ITEC310 Computer Networks II

Ch 4: Multimedia. Fig.4.1 Internet Audio/Video

Chapter 28. Multimedia

Streaming (Multi)media

Chapter 7 Multimedia Networking

Multimedia Networking

Introduction to LAN/WAN. Application Layer 4

CS 457 Multimedia Applications. Fall 2014

Digital Asset Management 5. Streaming multimedia

Multimedia Networking

CS 218 F Nov 3 lecture: Streaming video/audio Adaptive encoding (eg, layered encoding) TCP friendliness. References:

CSCD 433/533 Advanced Networks Fall Lecture 14 RTSP and Transport Protocols/ RTP

Multimedia in the Internet

CS640: Introduction to Computer Networks. Application Classes. Application Classes (more) 11/20/2007

Chapter 9. Multimedia Networking. Computer Networking: A Top Down Approach

Outline. QoS routing in ad-hoc networks. Real-time traffic support. Classification of QoS approaches. QoS design choices

The Transport Layer: User Datagram Protocol

CSC 4900 Computer Networks: Multimedia Applications

Mohammad Hossein Manshaei 1393

Multimedia Networking

Computer Networks. Wenzhong Li. Nanjing University

Mul$media Streaming. Digital Audio and Video Data. Digital Audio Sampling the analog signal. Challenges for Media Streaming.

Mohammad Hossein Manshaei 1393

Week-12 (Multimedia Networking)

Multimedia Applications. Internet Technologies and Applications

Multimedia: video ... frame i+1

The Gullibility of Human Senses

MISB EG Motion Imagery Standards Board Engineering Guideline. 24 April Delivery of Low Bandwidth Motion Imagery. 1 Scope.

Transporting audio-video. over the Internet

in the Internet Andrea Bianco Telecommunication Network Group Application taxonomy

Audio and video compression

Multimedia Applications. Classification of Applications. Transport and Network Layer

Popular protocols for serving media

Chapter 7: Multimedia Networking

EDA095 Audio and Video Streaming

Advanced Networking Technologies

Application Layer Chapter 7

RTP: A Transport Protocol for Real-Time Applications

ETSF10 Internet Protocols Transport Layer Protocols

Multimedia Networking

Lecture 14: Multimedia Communications

Real-time Services BUPT/QMUL

Internet Streaming Media. Reji Mathew NICTA & CSE UNSW COMP9519 Multimedia Systems S2 2006

Internet Streaming Media. Reji Mathew NICTA & CSE UNSW COMP9519 Multimedia Systems S2 2007

Tema 0: Transmisión de Datos Multimedia

CS519: Computer Networks. Lecture 9: May 03, 2004 Media over Internet

Transport protocols Introduction

Page 1. Outline / Computer Networking : 1 st Generation Commercial PC/Packet Video Technologies

Multimedia Protocols. Foreleser: Carsten Griwodz Mai INF-3190: Multimedia Protocols

Provide a generic transport capabilities for real-time multimedia applications Supports both conversational and streaming applications

Multimedia Communications

MULTIMEDIA I CSC 249 APRIL 26, Multimedia Classes of Applications Services Evolution of protocols

Latency and Loss Requirements! Receiver-side Buffering! Dealing with Loss! Loss Recovery!

VoIP. ALLPPT.com _ Free PowerPoint Templates, Diagrams and Charts

Higher layer protocols

Image and video processing

Kommunikationssysteme [KS]

RTP/RTCP protocols. Introduction: What are RTP and RTCP?

EEC-682/782 Computer Networks I

Multimedia Applications: Streaming. Hamid R. Rabiee Mostafa Salehi, Fatemeh Dabiran, Hoda Ayatollahi Spring 2011

Transporting Voice by Using IP

Multimedia Applications over Packet Networks

ETSF10 Part 3 Lect 1

Chapter 7. The Application Layer. DNS The Domain Name System. DNS Resource Records. The DNS Name Space Resource Records Name Servers

A common issue that affects the QoS of packetized audio is jitter. Voice data requires a constant packet interarrival rate at receivers to convert

CS 528 Mobile and Ubiquitous Computing Lecture 4a: Playing Sound and Video Emmanuel Agu

EEC-484/584 Computer Networks

Video Streaming and Media Session Protocols

Service/company landscape include 1-1

File transfer. Internet Applications (FTP,WWW, ) Connections. Data connections

Multimedia Communications

Multimedia Networking and Quality of Service

Chapter 9. Multimedia Networking. Computer Networking: A Top Down Approach

RECOMMENDATION ITU-R BT.1720 *

Multimedia Networking

Lecture 9: Media over IP

Internet Video Delivery. Professor Hui Zhang

15 Data Compression 2014/9/21. Objectives After studying this chapter, the student should be able to: 15-1 LOSSLESS COMPRESSION

UNIVERSITY OF OSLO Department of informatics. Investigating the limitations of video stream scheduling in the Internet. Master thesis.

Distributed Multimedia Systems. Introduction

Multimedia! 23/03/18. Part 3: Lecture 3! Content and multimedia! Internet traffic!

Part 3: Lecture 3! Content and multimedia!

ELEC 691X/498X Broadcast Signal Transmission Winter 2018

Lossy compression. CSCI 470: Web Science Keith Vertanen

Provides port number addressing, so that the correct destination application can receive the packet

Internet Streaming Media

Data Communication Prof.A. Pal Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Lecture 36 Multimedia Networks

AUDIOVISUAL COMMUNICATION

13. Internet Applications 최양희서울대학교컴퓨터공학부

EDA095 Audio and Video Streaming

Lossy compression CSCI 470: Web Science Keith Vertanen Copyright 2013

Multimedia

Lecture 13: Transportation layer

Multimedia. Multimedia Networks and Applications

Streaming Technologies Delivering Multimedia into the Future. May 2014

Multimedia networked applications: standards, protocols and research trends

Transporting Voice by Using IP

Real-time Services BUPT/QMUL

EDA095 Audio and Video Streaming

Transcription:

Networking Dr. Ayman A. Abdel-Hamid College of Computing and Information Technology Arab Academy for Science & Technology and Maritime Transport Multimedia Multimedia 1

Outline Audio and Video Services Digitizing Audio and Video Audio and Video Compression Streaming Stored Audio/Video Streaming Live Audio/Video Real-Time Interactive Audio/Video Voice over IP (VoIP) SIP and H.323 Multimedia 2

Audio and Video Services Streaming stored audio/video Streaming implies a user can listen or watch the file after downloading has started On-demand Streaming live audio/video Interactive audio/video Teleconferencing Interactive communication with a group Multimedia 3

Digitizing Audio Analog signal needs to be digitized to produce a digital signal Sampling process signal sampled at some fixed rate (example 8,000 samples per second). Each sample is an arbitrary real number Quantization Each of the samples rounded to one of finite number of values Each of the quantization values represented by a fixed number of bits Voice sampled at 8000 samples per second with 8 bits per sample (digital signal of 64 Kbps) Music sampled at 44100 samples per second with 16 bits per sample (digital signal of 705.6 Kbps for mono and 1.41 Mbps for stereo) Multimedia 4

Digitizing Video 1/2 A video is a sequence of frames (if displayed fast enough, get impression of motion) In North America, TV sends 25 frames per second To avoid flickering, a frame needs to be refreshed TV industry repaints each frame twice 50 frames to be sent, or If memory at receiver, 25 frames with each frame repainted from memory Frame divided into pixels (picture elements) Black and White, each 8-bit pixel one of 256 different gray levels Color, pixel is 24-bits, 8 bits for each primary color (RGB) Multimedia 5

Digitizing Video 2/2 Number of bits per second for lowest resolution 1024 x 768 pixels 2 x 25 x 1024 x 768 x 24 = 944 Mbps Need for a technology supporting a very high data rate To use lower-rate technologies video compression Multimedia 6

Predictive Encoding Audio Compression Differences between samples are encoded instead of encoding all sample values GSM (13 Kbps), G.729 (8 Kbps), and G.723.3 (6.4 or 5.3 Kbps) Perceptual Encoding (CD-quality audio) MP3 (MPEG audio layer 3) Uses study of how people perceive sound (we have flaws in our auditory system! Some sounds mask other sounds) Frequency masking (can not hear speaker with loud sound in background) versus temporal masking (can not hear for a short time even after loud sound has stopped) Multimedia 7

Multimedia Video Compression Use MPEG (Motion Picture Experts Group) as an example Spatially compressing each frame (spatial combination of pixels) and temporally compressing a set of frames Spatial compression: each frame is simply a picture that can be independently compresses (e.g., divide into blocks, apply a transformation to reveal redundancies and remove them lossy vs lossless compression) Temporal compression: redundant frames are removed Divide frames into I-frames (Intra-coded), P-frames (Predicted, related to preceding I or P frame), and B-frames (Bidirectional) Example frame sequence: I-B-B-P-B-B-I MPEG1 (CD-ROM 1.5 Mbps), MPEG2 (high quality DVD 3-6 Mbps) 8

Streaming Stored Audio/Video 1/6 Using a Web Server Download file as a simple text file using Get and Response mechanisms Browser uses a helper application (media player) to play file Does not involve streaming (file downloaded completely before played) Using a Web Server with a Metafile Media player directly connected to Web server Server stores two files: actual audio/video file and a metafile holding information about audio/video file Media player uses URL in metafile to access audio/video file, using HTTP services (over TCP problem with retransmissions) Multimedia 9

Streaming Stored Audio/Video 2/6 Multimedia 10

Streaming Stored Audio/Video 3/6 Using a Media Server Get metafile from Web server using HTTP mechanisms Metafile passed to media player Media player uses URL in metafile to access media server and download file Multimedia 11

Streaming Stored Audio/Video 4/6 Using a Media Server Multimedia 12

Streaming Stored Audio/Video 5/6 Using a Media Server and RTSP (Real-Time Streaming Protocol) http://www.cs.columbia.edu/~hgs/rtsp/ RTSP is a control protocol to add more functionalities to the streaming process (provide user interactivity) After getting metafile, media player sends a SETUP message to create a connection with the media server (Media server responds) Media player sends a PLAY message to start playing (downloading) Audio/video file downloaded using a protocol that runs over UDP Connection broken using TEARDOWN message Media server responds Media player can use a PAUSE message, and later resume with a PLAY message Multimedia 13

Streaming Stored Audio/Video 6/6 Using a Media Server and RTSP Multimedia 14

Streaming Live Audio/Video Similar to broadcasting audio and video by radio and TV stations Sensitive to delay Does not accept retransmissions Stored live audio/video: unicast and on-demand (pull) Live audio/video: multicast and live (push) Multimedia 15

Real-Time Interactive Audio/Video 1/6 Internet phone or Voice over IP Time Relationship (Example: 3 video packets, each worth 10s of video information) Case 1: equal delay for each packet to reach destination (e.g., 1 s) Case 2: different delays? (1s followed by 5s followed by 7s) Might cause gaps between packet playback Causes jitter due to variable delay between packets To deal with jitter use Timestamps (shows time it was produced relative to first (or previous) packet Receiver can add this time to the time at which it starts the playback (receiver knows when packet is to be played) This way we separate arrival time from playback time Multimedia 16

Real-Time Interactive Audio/Video 2/6 Case 1: equal delay for each packet to reach destination (e.g., 1 s) Multimedia 17

Real-Time Interactive Audio/Video 3/6 Case 2: different delays? (1s followed by 5s followed by 7s) Multimedia 18

Real-Time Interactive Audio/Video 4/6 Use timestamps: separate arrival time from play time Assume playback started at 00.00.08s Multimedia 19

Real-Time Interactive Audio/Video 5/6 To separate arrival time from playback time, need a buffer to store data until it is played back (playback buffer) Receiver delays playing data until a threshold is reached Data stored in buffer at a variable rate, but extracted and played back at a fixed rate Data arriving after playback deadline is ignored Need for multicasting support Ordering: need a sequence number for ordering purposes Transcoding: change the format of high-bandwidth video to a low-quality video (e.g., from MPEG to H263) Mixing: combine streams from multiple sources into one stream Multimedia 20

Real-Time Interactive Audio/Video 6/6 Support from transport layer protocol Previous procedures can be implemented in application layer Common in real-time applications implement in transport layer TCP not suitable because of error control mechanisms UDP suitable for interactive multimedia traffic (multimedia, no retransmission, however does not support timestamping, sequencing, or mixing Use Real-Time Transport Protocol (RTP) Multimedia 21

Multimedia Real-Time Transport Protocol 1/2 See http://www.cs.columbia.edu/~hgs/rtp/ Handle real-time traffic on the Internet Does not have a delivery mechanism must be used with UDP and application program Offers timestamping, sequencing, and mixing services RTP packet encapsulated in a UDP datagram No well-known port assigned to RTP Uses an ephemeral even port, with next port used by companion protocol (RTCP) RTCP offers flow control and data quality, and allows recipient to send feedback to source 22

Real-Time Transport Protocol 2/2 RTCP Messages Sender Report Sent periodically by active senders to report transmission and reception statistics (includes an absolute timestamp for synchronization) Receiver Report For passive participants that do not send RTP packets to inform senders and other receivers about the quality of service Source Description Message Periodically sent by sender (name, email address, Tel. No) Bye Message Shutdown a stream Application-Specific Message Multimedia 23

Voice over IP Extra References Voice over IP and IP Telephony: References http://www.cse.wustl.edu/~jain/refs/hot_refs.htm Voice Over IP Reference Page from protocols.com http://www.protocols.com/pbook/voip.htm IEEE Spectrum Feature Article in March 2005 http://ieeexplore.ieee.org/xpl/articledetails.jsp?arnumber=140271 9 Multimedia 24