EEC-484/584 Computer Networks

Size: px
Start display at page:

Download "EEC-484/584 Computer Networks"

Transcription

1 EEC-484/584 Computer Networks Lecture 21 (Lecture nodes are based on materials supplied by Dr. Louise Moser at UCSB and Prentice-Hall) Outline 2 Review of last lecture WWW Today s topics Multimedia 1

2 The World Wide Web 3 Architectural Overview Static Web Documents Dynamic Web Documents HTTP The HyperText Transfer Protocol Performance Enhancements The Wireless Web (not required) Architectural Overview 4 WWW consists of a vast collection of documents or Web pages Each page may contain links to other pages. Users can follow a link by clicking on it, which then takes them to the page pointed to The idea of having one page point to another is called hypertext Invented by Vannevar Bush, a MIT EE professor, in 1945 Browser program used to view Web pages Hyperlinks strings of text that are links to other pages 2

3 URLs Uniform Resource Locaters 5 URL Uniform Resource Locator URL encodes three types of information What is the page called local name uniquely indicating the specific page Where is the page located DNS name of the server on which the page is located How can the page be accessed protocol, e.g., http, ftp Statelessness and Cookies 6 HTTP is basically stateless Sometimes, it is necessary to have stateful Web client/server communications Cookies: name derives from ancient programmer slang in which a program calls a procedure and gets something back that it may need to present later to get some work done Some examples of cookies 3

4 HTML HyperText Markup Language 7 (b) XML and XSL 8 Drawback of HTML Mixes content with formatting Does not provide structure to Web pages XML: extensible Markup Language Describes Web content in a structured way XSL: extensible Style Language Describes the formatting independently of the content 4

5 A Simple Web Page in XML 9 A Style Sheet in XSL 10 5

6 Dynamic Web Documents 11 Server-side dynamic Web page generation CGI Common Gateway Interface Standard interface to allow Web servers to talk to backend programs and scripts that can accept input and generate HTML pages in response PHP PHP: Hypertext Preprocessor PHP scripts embeded inside HTML pages and have them be executed by the server itself to generate response page JSP - Java Server Pages ASP Active Server Pages Server-Side Dynamic Web Page Generation 12 Steps in processing the information from an HTML form 6

7 Server-Side Dynamic Web Page Generation A Web page containing a form A PHP script for handling the output of the form Output from the PHP script when the inputs are "Barbara" and 24 respectively Client-Side Dynamic Web Page Generation Use of JavaScript for processing a form. 7

8 Client-Side Dynamic Web Page Generation 15 Server-side scripting with PHP Client-side scripting with JavaScript Client-Side Dynamic Web Page Generation 16 The various ways to generate and display content 8

9 HyperText Transfer Protocol 17 HTTP HyperText Transfer Protocol It specifies what messages clients may send to servers and what responses they get back in return Each interaction consists of one ASCII request, followed by one RFC 822 MIME-like response Defined in RFC 2616 HTTP Connection In HTTP 1.0: make connection, sends a request, gets a response, tears down connection In HTTP 2.0: connection can be reused Methods: had some provision for object-oriented programming Message header HTTP Methods 18 The built-in HTTP request methods Method names are case sensitive! 9

10 HTTP Methods 19 The status code response groups HTTP Message Headers Redirection 10

11 Example HTTP Usage >telnet 80 >log >GET /rfc.html HTTP/1.1 >Host: > >close Content of the log file Performance Enhancement 22 Caching Save pages that have been requested in case they are used again Client-side technique Server replication Replicate server s contents at multiple locations Sometimes called mirroring Content delivery networks Deliver contents for their providers to end users efficiently for a fee Whole process starts with URL replacement so all contents point to a CDN server On receiving client s request, the request is redirected to the closest proxy server 11

12 Caching 23 Hierarchical caching with three proxies Content Delivery Networks Original Web page Same page after transformation 12

13 Content Delivery Networks 25 Steps in looking up a URL when a CDN is used Multimedia Introduction to Audio Audio Compression Streaming Audio Internet Radio Voice over IP Introduction to Video Video Compression Video on Demand The MBone The Multicast Backbone 26 13

14 Introduction to Audio 27 The frequency range: 20Hz 20,000Hz The ear hears logarithmically. Ratio of two sounds with power A and B is expressed in db (decibels): db = 10 log 10 (A/B) Low limit of audibility for a 1-kHz sine wave as 0 db Ordinary conversion is about 50 db Pain threshold is about 120 db => a dynamic range of a factor of 1 million Introduction to Audio 28 Audio waves can be converted to digital form by an ADC (Analog Digital Converter) Quantization noise: the error introduced by the finite number of bits per sample On a telephone line, 8000 samples/sec, frequencies above 4kHz are lost (recall Nyquist theorem) Audio CDs: digitized with a sampling rate of 44,100 samples/sec (enough to capture freq. up to 22,050Hz) The samples are 16 bits each and are linear over the range of amplitudes Allow only 65,536 distinct values Needs a bandwidth of Mbps for stereo 14

15 Introduction to Audio 29 A sine wave Sampling the sine wave Quantizing the samples to 4 bits Audio Compression 30 Waveform coding: the signal is transformed mathematically by a Fourier transform into its frequency components The amplitude of each component is then encoded in a minimal way The goal is to reproduce the waveform accurately at the other end in as few bits as possible 15

16 Audio Compression 31 Perceptual coding: based on the science of psychoacoustics how people perceive sound Some sounds can mask other sounds Frequency masking: a loud sound in one frequency band can hide a softer sound in another frequency band Temporal masking: it takes the human ear a brief period of time to hear the masked signal even after the masking signal goes away MP3 (MPEG audio layer 3) is based on perceptual coding Audio Compression 32 The threshold of audibility as a function of frequency The masking effect 16

17 Streaming Audio 33 A straightforward way to implement clickable music on a Web page Streaming Audio 34 The media player has four major jobs to do Manage the user interface Handle transmission errors Decompress the music Eliminate jitter 17

18 Streaming Audio 35 When packets carry alternate samples, the loss of a packet reduces the temporal resolution rather than creating a gap in time. Streaming Audio The media player buffers input from the media server and plays from the buffer rather than directly from the network 36 18

19 Streaming Audio 37 RTSP (Real Time Streaming Protocol) provides the mechanism for the player to control the server It does not provide for the data stream, which is usually RTP RTSP commands from the player to the server Internet Radio 38 An example radio station 19

20 Voice over IP 39 ITU recommendation for Voice over IP H.323 Visual Telephone Systems and Equipment for Local Area Networks Which Provide a Non-Guaranteed Quality of Service The H323 architectural model for Internet telephony The H323 Protocol Stack 40 20

21 The H323 Protocol Stack 41 G.711 PCM system. It encodes a single voice channel by sampling 8000 times per second with an 8-bit sample to give uncompressed speech at 64 kbps All H.323 systems must support G.711 Other speech compression protocols are permitted, e.g., G H.245 protocol needed to allow terminals to negotiate which compression algorithm they are going to use It also negotiates other aspects of the connection such as the bit rate RTP needed for actual data transmission The H323 Protocol Stack 42 RTCP is needed for the control of the RTP channels Q.931 protocol for establishing and releasing connections, providing dial tones, making ringing sounds, and the rest of standard telephony H.225 protocol for terminals to talk to the gatekeeper RAS (Registration/Admission/Status) channel: PC-togatekeeper channel This channel allows terminals to join and leave the zone, request and return bandwidth, and provide status updates 21

22 The H323 Protocol Stack 43 Logical channels between the caller and callee during a call SIP The Session Initiation Protocol A simpler and more modular way to do voice over IP, by IETF The SIP methods defined in the core specification 44 22

23 SIP 45 Use a proxy and redirection servers with SIP Comparison of H.323 and SIP 23

24 Video Analog Systems 47 Frame: the scan of a two-dimensional image as a onedimensional voltage as a function of time The camera scans an electron beam rapidly across the image and slowly down it, recording the light intensity as it goes Field: half frame with odd or even scan lines Interlacing: the technique to eliminate the flicking by displaying odd and even scan lines with increased rate Noninterlaced television or video is called progressive Video Analog Systems 48 The scanning pattern used for NTSC video and television 24

25 Video Analog Systems 49 Television system standards National Television Standards Committee (NTSC) Phase Alternating Line (PAL) Sequential Couleur Avec Memoire (SECAM) High Definition TeleVision (HDTV) Video Analog Systems 50 To allow color transmissions to be viewed on black-and-white receivers, RGB signals into a luminance (brightness) signal and two chrominance (color) signals The eye is much more sensitive to the luminance signal than to the chrominance signals Luminance signal can be broadcast at the same frequency as old black-and-white signal Two chrominance signals are broadcast in narrow bands at higher frequencies 25

26 Video Compression 51 Requirements on encoding and decoding Decoding happens a lot and it must be fast For most of video documents, it is OK if the encoding algorithm is complex and time consuming For real-time multimedia, encoding must also be fast and efficient Encode/decode process need not be invertible A video is just a sequence of images plus sound A good algorithm for encoding a single image is a good starting point. When the decoded output is not exactly the same as original input, the system is said to be lossy JPEG Joint Photographic Experts Group The JPEG Standard 52 The operation of JPEG in lossy sequential mode 26

27 The JPEG Standard 53 RGB input data After block preparation The JPEG Standard 54 (a) One block of the Y matrix (b) The DTC coefficients 27

28 The JPEG Standard 55 Computation of the quantized DTC coefficients The JPEG Standard 56 The order in which the quantized values are transmitted 28

29 The MPEG Standard 57 MPEG Motion Picture Experts Group MPEG-1: to produce video-recorder-quality output 352x240 for NTSC, bit rate of 1.2 Mbps 352x240 image with 24 bits/pixel and 25 frames/sec requires 50.7 Mbps. We need a factor of 40 compression MPEG-2: designed for compressing broadcast-quality video into 4 to 6 Mbps. Later, MPEG-2 was expanded to support higher resolution, including HDTV It forms the basis for DVD and digital satellite television The MPEG Standard 58 Synchronization of the audio and video streams in MPEG-1 90-kHz 29

30 The MPEG Standard 59 MPEG-1 output consists of four kinds of frames I (Intracoded) frames: self-contained JPEG-encoded still pictures P (Predictive) frames: block-by-block difference with the last frame B (Bidirectional) frames: differences between the last and next frame D (DC-coded) frames: block averages used for fast forward The MPEG Standard 60 I-frames: still pictures coded using a variant of JPEG, also using full-resolution luminance and half-resolution chrominance along each axis It is necessary to have I-frames appear in the output stream periodically for three reasons MPEG-1 can be used for a multicast transmission, with viewers tuning it at will. Without periodical I-frames, anyone who missed first frame could never decode any subsequent frames If any frame were received in error, no further ecoding would be possible Without I-frames, while doing a fast forward or rewind, the decoder would have to calculate every frame passed over so it would know the full value of the one it stopped on 30

31 The MPEG Standard 61 Macroblocks 16x16 pixels in luminance space and 8x8 pixels in chrominance space. A macroblock is encoded by searching the previous frame for it or something only slightly different from it P-frames: code interframe differences. They are based on the idea of macroblocks Three consecutive frames The MPEG Standard 62 B-frames: similar to P-frames, except that they allow the reference macroblock to be in either a previous frame or in a succeeding frame This additional freedom allows improved motion compensation and is also useful when objects pass in front of, or behind, other objects To do B-frame encoding, the encoder needs to hold three decoded frames in memory at once: the past one, the current one, and the future one 31

32 The MPEG Standard 63 D-frames: only used to make it possible to display a low-resolution image when doing a rewind or fast forward. Each D-frame entry is just the average value of one block, with no further encoding The MPEG Standard 64 MPEG-2: targeted at broadcast television as well as DVD It supports both progressive and interlaced images (MPEG-1 supports only progressive images) Supports four resolution level Low (352x240) Main (720x480) High-1440 (1440x1152) High (1920x1080) 32

33 Video on Demand 65 Video Servers 66 Zipf s law: experimentally, when N movies are available, the fraction of all requests being for the k th most popular one is approximately C/k. Here C is computed to normalize the sum to 1, namely, C = 1/(1+1/2+1/3+ +1/N) A video server storage hierarchy 33

34 Video Servers 67 The hardware architecture of a typical video server Video on Demand 68 Distribution network ADSL Bandwidth not quite big enough FTTC Fiber To The Curb Telephone company runs optical fiber from the end office into each residential neighborhood, terminating in a device called an ONU (Optical Network Unit) FTTH Fiber To The Home Everyone can have an OC-1, OC-3, or even higher carrier if that is required. FTTH is very expensive and will not happen for years HFC Hybrid Fiber Coax Currently being installed by cable TV providers. Uses 750-MHz coax cables 34

35 MBone The Multicast Backbone 69 MBone is used for broadcasting live video in digital form all over the world via the Internet It can be thought of as Internet television It has been operational since early 1992 Many scientific conferences, especially IETF meetings, have been broadcast Unlike video on demand, where the emphasis is on calling up and viewing precompressed movies stored on a server MBone The Multicast Backbone 70 MBone is a virtual overlay network on top of the Internet. It consists of multicast-capable islands connected by tunnels 35

EEC-682/782 Computer Networks I

EEC-682/782 Computer Networks I EEC-682/782 Computer Networks I Lecture 20 Wenbing Zhao w.zhao1@csuohio.edu http://academic.csuohio.edu/zhao_w/teaching/eec682.htm (Lecture nodes are based on materials supplied by Dr. Louise Moser at

More information

Chapter 7 (Week 14) The Application Layer (CONTINUATION ANDREW S. TANENBAUM COMPUTER NETWORKS FOURTH EDITION PP

Chapter 7 (Week 14) The Application Layer (CONTINUATION ANDREW S. TANENBAUM COMPUTER NETWORKS FOURTH EDITION PP Chapter 7 (Week 14) The Application Layer (CONTINUATION ANDREW S. TANENBAUM COMPUTER NETWORKS FOURTH EDITION PP. 611-720 1 The Application Layer s topics 7.1. DNS The Domain Name System 7.2. Electronic

More information

Introduction to LAN/WAN. Application Layer 4

Introduction to LAN/WAN. Application Layer 4 Introduction to LAN/WAN Application Layer 4 Multimedia Multimedia: Audio + video Human ear: 20Hz 20kHz, Dogs hear higher freqs DAC converts audio waves to digital E.g PCM uses 8-bit samples 8000 times

More information

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

Chapter 7. The Application Layer. DNS The Domain Name System. DNS Resource Records. The DNS Name Space Resource Records Name Servers DNS The Domain Name System Chapter 7 The Application Layer The DNS Name Space Resource Records Name Servers The DNS Name Space DNS Resource Records A portion of the Internet domain name space. (1) MX:

More information

ITEC310 Computer Networks II

ITEC310 Computer Networks II ITEC310 Computer Networks II Chapter 29 Multimedia Department of Information Technology Eastern Mediterranean University 2/75 Objectives After completing this chapter you should be able to do the following:

More information

Networking Applications

Networking Applications 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

More information

Audio and video compression

Audio and video compression Audio and video compression 4.1 introduction Unlike text and images, both audio and most video signals are continuously varying analog signals. Compression algorithms associated with digitized audio and

More information

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

Ch 4: Multimedia. Fig.4.1 Internet Audio/Video Ch 4: Multimedia Recent advances in technology have changed our use of audio and video. In the past, we listened to an audio broadcast through a radio and watched a video program broadcast through a TV.

More information

Perceptual coding. A psychoacoustic model is used to identify those signals that are influenced by both these effects.

Perceptual coding. A psychoacoustic model is used to identify those signals that are influenced by both these effects. Perceptual coding Both LPC and CELP are used primarily for telephony applications and hence the compression of a speech signal. Perceptual encoders, however, have been designed for the compression of general

More information

Application Layer Chapter 7

Application Layer Chapter 7 Application Layer Chapter 7 DNS Domain Name System Electronic Mail The Web Streaming Audio and Video Content Delivery Revised: August 2011 and February 2018 The Application Layer Uses transport services

More information

Both LPC and CELP are used primarily for telephony applications and hence the compression of a speech signal.

Both LPC and CELP are used primarily for telephony applications and hence the compression of a speech signal. Perceptual coding Both LPC and CELP are used primarily for telephony applications and hence the compression of a speech signal. Perceptual encoders, however, have been designed for the compression of general

More information

What is multimedia? Multimedia. Continuous media. Most common media types. Continuous media processing. Interactivity. What is multimedia?

What is multimedia? Multimedia. Continuous media. Most common media types. Continuous media processing. Interactivity. What is multimedia? Multimedia What is multimedia? Media types +Text + Graphics + Audio +Image +Video Interchange formats What is multimedia? Multimedia = many media User interaction = interactivity Script = time 1 2 Most

More information

Digital video coding systems MPEG-1/2 Video

Digital video coding systems MPEG-1/2 Video Digital video coding systems MPEG-1/2 Video Introduction What is MPEG? Moving Picture Experts Group Standard body for delivery of video and audio. Part of ISO/IEC/JTC1/SC29/WG11 150 companies & research

More information

Multimedia. What is multimedia? Media types. Interchange formats. + Text +Graphics +Audio +Image +Video. Petri Vuorimaa 1

Multimedia. What is multimedia? Media types. Interchange formats. + Text +Graphics +Audio +Image +Video. Petri Vuorimaa 1 Multimedia What is multimedia? Media types + Text +Graphics +Audio +Image +Video Interchange formats Petri Vuorimaa 1 What is multimedia? Multimedia = many media User interaction = interactivity Script

More information

DigiPoints Volume 1. Student Workbook. Module 8 Digital Compression

DigiPoints Volume 1. Student Workbook. Module 8 Digital Compression Digital Compression Page 8.1 DigiPoints Volume 1 Module 8 Digital Compression Summary This module describes the techniques by which digital signals are compressed in order to make it possible to carry

More information

Audio Compression. Audio Compression. Absolute Threshold. CD quality audio:

Audio Compression. Audio Compression. Absolute Threshold. CD quality audio: Audio Compression Audio Compression CD quality audio: Sampling rate = 44 KHz, Quantization = 16 bits/sample Bit-rate = ~700 Kb/s (1.41 Mb/s if 2 channel stereo) Telephone-quality speech Sampling rate =

More information

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

15 Data Compression 2014/9/21. Objectives After studying this chapter, the student should be able to: 15-1 LOSSLESS COMPRESSION 15 Data Compression Data compression implies sending or storing a smaller number of bits. Although many methods are used for this purpose, in general these methods can be divided into two broad categories:

More information

Transporting audio-video. over the Internet

Transporting audio-video. over the Internet Transporting audio-video over the Internet Key requirements Bit rate requirements Audio requirements Video requirements Delay requirements Jitter Inter-media synchronization On compression... TCP, UDP

More information

Lossy compression. CSCI 470: Web Science Keith Vertanen

Lossy compression. CSCI 470: Web Science Keith Vertanen Lossy compression CSCI 470: Web Science Keith Vertanen Digital audio Overview Sampling rate Quan5za5on MPEG audio layer 3 (MP3) JPEG s5ll images Color space conversion, downsampling Discrete Cosine Transform

More information

Compression; Error detection & correction

Compression; Error detection & correction Compression; Error detection & correction compression: squeeze out redundancy to use less memory or use less network bandwidth encode the same information in fewer bits some bits carry no information some

More information

Compression; Error detection & correction

Compression; Error detection & correction Compression; Error detection & correction compression: squeeze out redundancy to use less memory or use less network bandwidth encode the same information in fewer bits some bits carry no information some

More information

Principles of Audio Coding

Principles of Audio Coding Principles of Audio Coding Topics today Introduction VOCODERS Psychoacoustics Equal-Loudness Curve Frequency Masking Temporal Masking (CSIT 410) 2 Introduction Speech compression algorithm focuses on exploiting

More information

Chapter 28. Multimedia

Chapter 28. Multimedia Chapter 28. Multimedia 28-1 Internet Audio/Video Streaming stored audio/video refers to on-demand requests for compressed audio/video files Streaming live audio/video refers to the broadcasting of radio

More information

Mpeg 1 layer 3 (mp3) general overview

Mpeg 1 layer 3 (mp3) general overview Mpeg 1 layer 3 (mp3) general overview 1 Digital Audio! CD Audio:! 16 bit encoding! 2 Channels (Stereo)! 44.1 khz sampling rate 2 * 44.1 khz * 16 bits = 1.41 Mb/s + Overhead (synchronization, error correction,

More information

The Gullibility of Human Senses

The Gullibility of Human Senses The Gullibility of Human Senses Three simple tricks for producing LBSC 690: Week 9 Multimedia Jimmy Lin College of Information Studies University of Maryland Monday, April 2, 2007 Images Video Audio But

More information

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

Data Communication Prof.A. Pal Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Lecture 36 Multimedia Networks Data Communication Prof.A. Pal Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Lecture 36 Multimedia Networks Hello and welcome to today s lecture on multimedia networks.

More information

2.4 Audio Compression

2.4 Audio Compression 2.4 Audio Compression 2.4.1 Pulse Code Modulation Audio signals are analog waves. The acoustic perception is determined by the frequency (pitch) and the amplitude (loudness). For storage, processing and

More information

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

Chapter 9. Multimedia Networking. Computer Networking: A Top Down Approach Chapter 9 Multimedia Networking A note on the use of these Powerpoint slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you see the animations;

More information

Streaming (Multi)media

Streaming (Multi)media Streaming (Multi)media Overview POTS, IN SIP, H.323 Circuit Switched Networks Packet Switched Networks 1 POTS, IN SIP, H.323 Circuit Switched Networks Packet Switched Networks Circuit Switching Connection-oriented

More information

Chapter 7 Multimedia Networking

Chapter 7 Multimedia Networking Chapter 7 Multimedia Networking Principles Classify multimedia applications Identify the network services and the requirements the apps need Making the best of best effort service Mechanisms for providing

More information

CISC 7610 Lecture 3 Multimedia data and data formats

CISC 7610 Lecture 3 Multimedia data and data formats CISC 7610 Lecture 3 Multimedia data and data formats Topics: Perceptual limits of multimedia data JPEG encoding of images MPEG encoding of audio MPEG and H.264 encoding of video Multimedia data: Perceptual

More information

ITNP80: Multimedia! Sound-II!

ITNP80: Multimedia! Sound-II! Sound compression (I) Compression of sound data requires different techniques from those for graphical data Requirements are less stringent than for video data rate for CD-quality audio is much less than

More information

Compression Part 2 Lossy Image Compression (JPEG) Norm Zeck

Compression Part 2 Lossy Image Compression (JPEG) Norm Zeck Compression Part 2 Lossy Image Compression (JPEG) General Compression Design Elements 2 Application Application Model Encoder Model Decoder Compression Decompression Models observe that the sensors (image

More information

Audio-coding standards

Audio-coding standards Audio-coding standards The goal is to provide CD-quality audio over telecommunications networks. Almost all CD audio coders are based on the so-called psychoacoustic model of the human auditory system.

More information

Data Representation. Reminders. Sound What is sound? Interpreting bits to give them meaning. Part 4: Media - Sound, Video, Compression

Data Representation. Reminders. Sound What is sound? Interpreting bits to give them meaning. Part 4: Media - Sound, Video, Compression Data Representation Interpreting bits to give them meaning Part 4: Media -, Video, Compression Notes for CSC 100 - The Beauty and Joy of Computing The University of North Carolina at Greensboro Reminders

More information

Chapter 7 Multimedia Operating Systems

Chapter 7 Multimedia Operating Systems MODERN OPERATING SYSTEMS Third Edition ANDREW S. TANENBAUM Chapter 7 Multimedia Operating Systems Introduction To Multimedia (1) Figure 7-1. Video on demand using different local distribution technologies.

More information

EDA095 Audio and Video Streaming

EDA095 Audio and Video Streaming EDA095 Audio and Video Streaming Pierre Nugues Lund University http://cs.lth.se/pierre_nugues/ May 15, 2013 Pierre Nugues EDA095 Audio and Video Streaming May 15, 2013 1 / 33 What is Streaming Streaming

More information

Fundamentals of Perceptual Audio Encoding. Craig Lewiston HST.723 Lab II 3/23/06

Fundamentals of Perceptual Audio Encoding. Craig Lewiston HST.723 Lab II 3/23/06 Fundamentals of Perceptual Audio Encoding Craig Lewiston HST.723 Lab II 3/23/06 Goals of Lab Introduction to fundamental principles of digital audio & perceptual audio encoding Learn the basics of psychoacoustic

More information

Perceptual Coding. Lossless vs. lossy compression Perceptual models Selecting info to eliminate Quantization and entropy encoding

Perceptual Coding. Lossless vs. lossy compression Perceptual models Selecting info to eliminate Quantization and entropy encoding Perceptual Coding Lossless vs. lossy compression Perceptual models Selecting info to eliminate Quantization and entropy encoding Part II wrap up 6.082 Fall 2006 Perceptual Coding, Slide 1 Lossless vs.

More information

Lossy compression CSCI 470: Web Science Keith Vertanen Copyright 2013

Lossy compression CSCI 470: Web Science Keith Vertanen Copyright 2013 Lossy compression CSCI 470: Web Science Keith Vertanen Copyright 2013 Digital audio Overview Sampling rate Quan5za5on MPEG audio layer 3 (MP3) JPEG s5ll images Color space conversion, downsampling Discrete

More information

Optical Storage Technology. MPEG Data Compression

Optical Storage Technology. MPEG Data Compression Optical Storage Technology MPEG Data Compression MPEG-1 1 Audio Standard Moving Pictures Expert Group (MPEG) was formed in 1988 to devise compression techniques for audio and video. It first devised the

More information

CSCD 443/533 Advanced Networks Fall 2017

CSCD 443/533 Advanced Networks Fall 2017 CSCD 443/533 Advanced Networks Fall 2017 Lecture 18 Compression of Video and Audio 1 Topics Compression technology Motivation Human attributes make it possible Audio Compression Video Compression Performance

More information

Mohammad Hossein Manshaei 1393

Mohammad Hossein Manshaei 1393 Mohammad Hossein Manshaei manshaei@gmail.com 1393 Voice and Video over IP Slides derived from those available on the Web site of the book Computer Networking, by Kurose and Ross, PEARSON 2 multimedia applications:

More information

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

CS519: Computer Networks. Lecture 9: May 03, 2004 Media over Internet : Computer Networks Lecture 9: May 03, 2004 Media over Internet Media over the Internet Media = Voice and Video Key characteristic of media: Realtime Which we ve chosen to define in terms of playback,

More information

Audio-coding standards

Audio-coding standards Audio-coding standards The goal is to provide CD-quality audio over telecommunications networks. Almost all CD audio coders are based on the so-called psychoacoustic model of the human auditory system.

More information

AUDIOVISUAL COMMUNICATION

AUDIOVISUAL COMMUNICATION AUDIOVISUAL COMMUNICATION Laboratory Session: Audio Processing and Coding The objective of this lab session is to get the students familiar with audio processing and coding, notably psychoacoustic analysis

More information

Mohammad Hossein Manshaei 1393

Mohammad Hossein Manshaei 1393 Mohammad Hossein Manshaei manshaei@gmail.com 1393 Voice and Video over IP Slides derived from those available on the Web site of the book Computer Networking, by Kurose and Ross, PEARSON 2 Multimedia networking:

More information

Image and video processing

Image and video processing Image and video processing Digital video Dr. Pengwei Hao Agenda Digital video Video compression Video formats and codecs MPEG Other codecs Web video - 2 - Digital Video Until the arrival of the Pentium

More information

Video Compression An Introduction

Video Compression An Introduction Video Compression An Introduction The increasing demand to incorporate video data into telecommunications services, the corporate environment, the entertainment industry, and even at home has made digital

More information

Video coding. Concepts and notations.

Video coding. Concepts and notations. TSBK06 video coding p.1/47 Video coding Concepts and notations. A video signal consists of a time sequence of images. Typical frame rates are 24, 25, 30, 50 and 60 images per seconds. Each image is either

More information

Tech Note - 05 Surveillance Systems that Work! Calculating Recorded Volume Disk Space

Tech Note - 05 Surveillance Systems that Work! Calculating Recorded Volume Disk Space Tech Note - 05 Surveillance Systems that Work! Surveillance Systems Calculating required storage drive (disk space) capacity is sometimes be a rather tricky business. This Tech Note is written to inform

More information

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

4 rd class Department of Network College of IT- University of Babylon 1. INTRODUCTION We can divide audio and video services into three broad categories: streaming stored audio/video, streaming live audio/video, and interactive audio/video. Streaming means a user can listen

More information

ABSTRACT. that it avoids the tolls charged by ordinary telephone service

ABSTRACT. that it avoids the tolls charged by ordinary telephone service ABSTRACT VoIP (voice over IP - that is, voice delivered using the Internet Protocol) is a term used in IP telephony for a set of facilities for managing the delivery of voice information using the Internet

More information

VALLIAMMAI ENGINEERING COLLEGE

VALLIAMMAI ENGINEERING COLLEGE VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur 603 203 DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING QUESTION BANK VIII SEMESTER EC6018 - MULTIMEDIA COMPRESSION AND COMMUNICATION Regulation

More information

Computer and Machine Vision

Computer and Machine Vision Computer and Machine Vision Deeper Dive into MPEG Digital Video Encoding January 22, 2014 Sam Siewert Reminders CV and MV Use UNCOMPRESSED FRAMES Remote Cameras (E.g. Security) May Need to Transport Frames

More information

Image, video and audio coding concepts. Roadmap. Rationale. Stefan Alfredsson. (based on material by Johan Garcia)

Image, video and audio coding concepts. Roadmap. Rationale. Stefan Alfredsson. (based on material by Johan Garcia) Image, video and audio coding concepts Stefan Alfredsson (based on material by Johan Garcia) Roadmap XML Data structuring Loss-less compression (huffman, LZ77,...) Lossy compression Rationale Compression

More information

Audio Fundamentals, Compression Techniques & Standards. Hamid R. Rabiee Mostafa Salehi, Fatemeh Dabiran, Hoda Ayatollahi Spring 2011

Audio Fundamentals, Compression Techniques & Standards. Hamid R. Rabiee Mostafa Salehi, Fatemeh Dabiran, Hoda Ayatollahi Spring 2011 Audio Fundamentals, Compression Techniques & Standards Hamid R. Rabiee Mostafa Salehi, Fatemeh Dabiran, Hoda Ayatollahi Spring 2011 Outlines Audio Fundamentals Sampling, digitization, quantization μ-law

More information

Chapter 14 MPEG Audio Compression

Chapter 14 MPEG Audio Compression Chapter 14 MPEG Audio Compression 14.1 Psychoacoustics 14.2 MPEG Audio 14.3 Other Commercial Audio Codecs 14.4 The Future: MPEG-7 and MPEG-21 14.5 Further Exploration 1 Li & Drew c Prentice Hall 2003 14.1

More information

Introduction to Computer Science (I1100) Data Storage

Introduction to Computer Science (I1100) Data Storage Data Storage 145 Data types Data comes in different forms Data Numbers Text Audio Images Video 146 Data inside the computer All data types are transformed into a uniform representation when they are stored

More information

Robert Matthew Buckley. Nova Southeastern University. Dr. Laszlo. MCIS625 On Line. Module 2 Graphics File Format Essay

Robert Matthew Buckley. Nova Southeastern University. Dr. Laszlo. MCIS625 On Line. Module 2 Graphics File Format Essay 1 Robert Matthew Buckley Nova Southeastern University Dr. Laszlo MCIS625 On Line Module 2 Graphics File Format Essay 2 JPEG COMPRESSION METHOD Joint Photographic Experts Group (JPEG) is the most commonly

More information

ECE 417 Guest Lecture Video Compression in MPEG-1/2/4. Min-Hsuan Tsai Apr 02, 2013

ECE 417 Guest Lecture Video Compression in MPEG-1/2/4. Min-Hsuan Tsai Apr 02, 2013 ECE 417 Guest Lecture Video Compression in MPEG-1/2/4 Min-Hsuan Tsai Apr 2, 213 What is MPEG and its standards MPEG stands for Moving Picture Expert Group Develop standards for video/audio compression

More information

Multimedia Applications. Internet Technologies and Applications

Multimedia Applications. Internet Technologies and Applications Multimedia Applications Internet Technologies and Applications Aims and Contents Aims Define multimedia applications Introduce technologies for delivering multimedia applications in the Internet Raise

More information

Multimedia Applications. Classification of Applications. Transport and Network Layer

Multimedia Applications. Classification of Applications. Transport and Network Layer Chapter 2: Representation of Multimedia Data Chapter 3: Multimedia Systems Communication Aspects and Services Multimedia Applications and Communication Protocols Quality of Service and Resource Management

More information

Multimedia networks. Additional references. Jargon. Analog to Digital (S5 4.3) KR: Kurose and Ross chapter 7 (KR3: 3 rd ed)

Multimedia networks. Additional references. Jargon. Analog to Digital (S5 4.3) KR: Kurose and Ross chapter 7 (KR3: 3 rd ed) Additional references Multimedia networks KR: Kurose and Ross chapter 7 (KR3: 3 rd ed) C4: Douglas Comer, Internetworking with TCP/IP Vol 1: Principles, Protocols and Architecture 4 th ed, Prentice-Hall

More information

Multimedia Networking

Multimedia Networking Multimedia Networking 1 Multimedia, Quality of Service (QoS): What is it? Multimedia applications: Network audio and video ( continuous media ) QoS Network provides application with level of performance

More information

Lecture 16 Perceptual Audio Coding

Lecture 16 Perceptual Audio Coding EECS 225D Audio Signal Processing in Humans and Machines Lecture 16 Perceptual Audio Coding 2012-3-14 Professor Nelson Morgan today s lecture by John Lazzaro www.icsi.berkeley.edu/eecs225d/spr12/ Hero

More information

5: Music Compression. Music Coding. Mark Handley

5: Music Compression. Music Coding. Mark Handley 5: Music Compression Mark Handley Music Coding LPC-based codecs model the sound source to achieve good compression. Works well for voice. Terrible for music. What if you can t model the source? Model the

More information

Introducing Audio Signal Processing & Audio Coding. Dr Michael Mason Senior Manager, CE Technology Dolby Australia Pty Ltd

Introducing Audio Signal Processing & Audio Coding. Dr Michael Mason Senior Manager, CE Technology Dolby Australia Pty Ltd Introducing Audio Signal Processing & Audio Coding Dr Michael Mason Senior Manager, CE Technology Dolby Australia Pty Ltd Overview Audio Signal Processing Applications @ Dolby Audio Signal Processing Basics

More information

Application Layer Chapter 7

Application Layer Chapter 7 Application Layer Chapter 7 DNS Domain Name System Electronic Mail The Web Streaming Audio and Video Content Delivery Revised: August 2011 The Application Layer Uses transport services to build distributed

More information

Overview of the Session Initiation Protocol

Overview of the Session Initiation Protocol CHAPTER 1 This chapter provides an overview of SIP. It includes the following sections: Introduction to SIP, page 1-1 Components of SIP, page 1-2 How SIP Works, page 1-3 SIP Versus H.323, page 1-8 Introduction

More information

Fundamentals of Video Compression. Video Compression

Fundamentals of Video Compression. Video Compression Fundamentals of Video Compression Introduction to Digital Video Basic Compression Techniques Still Image Compression Techniques - JPEG Video Compression Introduction to Digital Video Video is a stream

More information

Lecture 8 JPEG Compression (Part 3)

Lecture 8 JPEG Compression (Part 3) CS 414 Multimedia Systems Design Lecture 8 JPEG Compression (Part 3) Klara Nahrstedt Spring 2012 Administrative MP1 is posted Today Covered Topics Hybrid Coding: JPEG Coding Reading: Section 7.5 out of

More information

EE 122: Network Applications

EE 122: Network Applications Network EE 122: Network Applications Kevin Lai Aug 28, 2002 Network functionality is only useful if it benefits users - also applies to any computer system, but easier to forget in networking - e.g., Is

More information

AUDIOVISUAL COMMUNICATION

AUDIOVISUAL COMMUNICATION AUDIOVISUAL COMMUNICATION Laboratory Session: Audio Processing and Coding The objective of this lab session is to get the students familiar with audio processing and coding, notably psychoacoustic analysis

More information

Evolving Telecommunications to Triple Play:

Evolving Telecommunications to Triple Play: Hands-On Evolving Telecommunications to Triple Play: IPTV, VoIP and TV Delivery Systems for System Engineers-DataCom Course Description With the introduction of Next Generation Networks to telecommunications

More information

Interframe coding A video scene captured as a sequence of frames can be efficiently coded by estimating and compensating for motion between frames pri

Interframe coding A video scene captured as a sequence of frames can be efficiently coded by estimating and compensating for motion between frames pri MPEG MPEG video is broken up into a hierarchy of layer From the top level, the first layer is known as the video sequence layer, and is any self contained bitstream, for example a coded movie. The second

More information

Digital Asset Management 5. Streaming multimedia

Digital Asset Management 5. Streaming multimedia Digital Asset Management 5. Streaming multimedia 2015-10-29 Keys of Streaming Media Algorithms (**) Standards (*****) Complete End-to-End systems (***) Research Frontiers(*) Streaming... Progressive streaming

More information

EDA095 Audio and Video Streaming

EDA095 Audio and Video Streaming EDA095 Audio and Video Streaming Pierre Nugues Lund University http://cs.lth.se/pierre_nugues/ February 7, 2018 Pierre Nugues EDA095 Audio and Video Streaming February 7, 2018 1 / 35 What is Streaming

More information

Streaming Technologies Glossary

Streaming Technologies Glossary Streaming Technologies Glossary A ACELP.net ADSL AIFF Artifact Asf Asx Avi B Bitrate C C Capture card Codec CIF (QCIF) Client Industry standard audio compression technology developed by VoiceAge Corporation.

More information

Course Syllabus. Website Multimedia Systems, Overview

Course Syllabus. Website   Multimedia Systems, Overview Course Syllabus Website http://ce.sharif.edu/courses/93-94/2/ce342-1/ Page 1 Course Syllabus Textbook Z-N. Li, M.S. Drew, Fundamentals of Multimedia, Pearson Prentice Hall Upper Saddle River, NJ, 2004.*

More information

VIDEO AND IMAGE PROCESSING USING DSP AND PFGA. Chapter 3: Video Processing

VIDEO AND IMAGE PROCESSING USING DSP AND PFGA. Chapter 3: Video Processing ĐẠI HỌC QUỐC GIA TP.HỒ CHÍ MINH TRƯỜNG ĐẠI HỌC BÁCH KHOA KHOA ĐIỆN-ĐIỆN TỬ BỘ MÔN KỸ THUẬT ĐIỆN TỬ VIDEO AND IMAGE PROCESSING USING DSP AND PFGA Chapter 3: Video Processing 3.1 Video Formats 3.2 Video

More information

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

MISB EG Motion Imagery Standards Board Engineering Guideline. 24 April Delivery of Low Bandwidth Motion Imagery. 1 Scope. Motion Imagery Standards Board Engineering Guideline Delivery of Low Bandwidth Motion Imagery MISB EG 0803 24 April 2008 1 Scope This Motion Imagery Standards Board (MISB) Engineering Guideline (EG) provides

More information

Lecture 14: Multimedia Communications

Lecture 14: Multimedia Communications Lecture 14: Multimedia Communications Prof. Shervin Shirmohammadi SITE, University of Ottawa Fall 2005 CEG 4183 14-1 Multimedia Characteristics Bandwidth Media has natural bitrate, not very flexible. Packet

More information

Digital Video Processing

Digital Video Processing Video signal is basically any sequence of time varying images. In a digital video, the picture information is digitized both spatially and temporally and the resultant pixel intensities are quantized.

More information

Internet Video Delivery. Professor Hui Zhang

Internet Video Delivery. Professor Hui Zhang 18-345 Internet Video Delivery Professor Hui Zhang 1 1990 2004: 1 st Generation Commercial PC/Packet Video Technologies Simple video playback, no support for rich app Not well integrated with Web browser

More information

CSC 4900 Computer Networks: Multimedia Applications

CSC 4900 Computer Networks: Multimedia Applications CSC 4900 Computer Networks: Multimedia Applications Professor Henry Carter Fall 2017 Last Time What is a VPN? What technology/protocol suite is generally used to implement them? How much protection does

More information

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

Provide a generic transport capabilities for real-time multimedia applications Supports both conversational and streaming applications Contents: Real-time Transport Protocol (RTP) Purpose Protocol Stack RTP Header Real-time Transport Control Protocol (RTCP) Voice over IP (VoIP) Motivation H.323 SIP VoIP Performance Tests Build-out Delay

More information

Wireless Communication

Wireless Communication Wireless Communication Systems @CS.NCTU Lecture 6: Image Instructor: Kate Ching-Ju Lin ( 林靖茹 ) Chap. 9 of Fundamentals of Multimedia Some reference from http://media.ee.ntu.edu.tw/courses/dvt/15f/ 1 Outline

More information

INTRODUCTORY COMPUTER NETWORKS PHYSICAL LAYER, DIGITAL TRANSMISSION FUNDAMENTALS. Faramarz Hendessi

INTRODUCTORY COMPUTER NETWORKS PHYSICAL LAYER, DIGITAL TRANSMISSION FUNDAMENTALS. Faramarz Hendessi INTRODUCTORY COMPUTER NETWORKS PHYSICAL LAYER, DIGITAL TRANSMISSION FUNDAMENTALS Faramarz Hendessi Introductory Computer Networks Lecture 5 Fall 2010 Isfahan University of technology Dr. Faramarz Hendessi

More information

Lecture 9 and 10. Source coding for packet networks

Lecture 9 and 10. Source coding for packet networks Lecture 9 and 10 Source coding for packet networks Outline Motivation/situation Source coding (representing the same information with less bits) (extremely short intro) Packet losses: - Packet loss measurements

More information

Synopsis of Basic VoIP Concepts

Synopsis of Basic VoIP Concepts APPENDIX B The Catalyst 4224 Access Gateway Switch (Catalyst 4224) provides Voice over IP (VoIP) gateway applications for a micro branch office. This chapter introduces some basic VoIP concepts. This chapter

More information

Lecture 3 Image and Video (MPEG) Coding

Lecture 3 Image and Video (MPEG) Coding CS 598KN Advanced Multimedia Systems Design Lecture 3 Image and Video (MPEG) Coding Klara Nahrstedt Fall 2017 Overview JPEG Compression MPEG Basics MPEG-4 MPEG-7 JPEG COMPRESSION JPEG Compression 8x8 blocks

More information

Data Communication & Computer Networks MCQ S

Data Communication & Computer Networks MCQ S Data Communication & Computer Networks MCQ S 1. The translates internet domain and host names to IP address. a) domain name system b) routing information protocol c) network time protocol d) internet relay

More information

ET4254 Communications and Networking 1

ET4254 Communications and Networking 1 Topic 2 Aims:- Communications System Model and Concepts Protocols and Architecture Analog and Digital Signal Concepts Frequency Spectrum and Bandwidth 1 A Communications Model 2 Communications Tasks Transmission

More information

Transporting Voice by Using IP

Transporting Voice by Using IP Transporting Voice by Using IP National Chi Nan University Quincy Wu Email: solomon@ipv6.club.tw 1 Outline Introduction Voice over IP RTP & SIP Conclusion 2 Digital Circuit Technology Developed by telephone

More information

Multimedia Communications. Audio coding

Multimedia Communications. Audio coding Multimedia Communications Audio coding Introduction Lossy compression schemes can be based on source model (e.g., speech compression) or user model (audio coding) Unlike speech, audio signals can be generated

More information

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

Outline. QoS routing in ad-hoc networks. Real-time traffic support. Classification of QoS approaches. QoS design choices Outline QoS routing in ad-hoc networks QoS in ad-hoc networks Classifiction of QoS approaches Instantiation in IEEE 802.11 The MAC protocol (recap) DCF, PCF and QoS support IEEE 802.11e: EDCF, HCF Streaming

More information

VoIP Basics. 2005, NETSETRA Corporation Ltd. All rights reserved.

VoIP Basics. 2005, NETSETRA Corporation Ltd. All rights reserved. VoIP Basics Phone Network Typical SS7 Network Architecture What is VoIP? (or IP Telephony) Voice over IP (VoIP) is the transmission of digitized telephone calls over a packet switched data network (like

More information

EDA095 Audio and Video Streaming

EDA095 Audio and Video Streaming EDA095 Audio and Video Streaming Pierre Nugues Lund University http://cs.lth.se/pierre_nugues/ April 27, 2017 Pierre Nugues EDA095 Audio and Video Streaming April 27, 2017 1 / 35 What is Streaming Streaming

More information

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

13. Internet Applications 최양희서울대학교컴퓨터공학부 13. Internet Applications 최양희서울대학교컴퓨터공학부 Internet Applications Telnet File Transfer (FTP) E-mail (SMTP) Web (HTTP) Internet Telephony (SIP/SDP) Presence Multimedia (Audio/Video Broadcasting, AoD/VoD) Network

More information