Daniel Johnson. Playing a media file stored on a remote server on a local client.

Slides:



Advertisements
Similar presentations
Streaming Video over the Internet
Advertisements

Internet for multimedia content Yogendra Pal Chief Engineer, All India Radio.
Click to continue Network Protocols. Click to continue Networking Protocols A protocol defines the rules of procedures, which computers must obey when.
Adobe’s Real Time Messaging Protocol
Chapter 7 Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Explain the need for the transport layer.  Identify.
Multimedia Systems As Presented by: Craig Tomastik.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet.
29.1 Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
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.
Ethan Kim. o Websites o Youtube, Hulu, Fox, NBC, etc. o Media Players o Windows Media Player, Real Player o Video Conferencing o Skype, MSN Messenger,
Network Services Networking for Home & Small Business.
User Control of Streaming Media: RTSP
Application Layer 2-1 Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Application Layer – Lecture.
Application layer (continued) Week 4 – Lecture 2.
1 Application Layer. 2 Writing Networked Applications TCP UDP IP LL PL TCP UDP IP LL PL TCP UDP IP LL PL Web Browser Web Server Ftp Server Ftp Client.
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.
1 Computer Networks Transport Layer Protocols. 2 Application-layer Protocols Application-layer protocols –one “piece” of an app –define messages exchanged.
1 Video and Audio Over The Net Mahdi ZandakbariVesal Hajiabbas.
Video Streaming © Nanda Ganesan, Ph.D..
CS640: Introduction to Computer Networks
Process-to-Process Delivery:
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.
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.
Application Layer 2-1 Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012.
Presentation on Osi & TCP/IP MODEL
Media Server Streaming Elizabeth Canela David Vera Bernard James Lilian Ohanian.
What makes a network good? Ch 2.1: Principles of Network Apps 2: Application Layer1.
Network Services Networking for Home & Small Business.
1 How Streaming Media Works Bilguun Ginjbaatar IT 665 Nov 14, 2006.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
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.

TCP/IP Transport and Application (Topic 6)
Transport Layer: UDP, TCP
1 Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Real Time Messaging Protocol RTMP. Flash Streaming Server Flash Streaming Server communicates with its clients using the Adobe patented RTMP over TCP,
Fall 2005 By: H. Veisi Computer networks course Olum-fonoon Babol Chapter 6 The Transport Layer.
1 End-user Protocols, Services and QoS. 2 Layering: logical communication application transport network link physical application transport network link.
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
Application Layer 2-1 Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 20 – Multimedia Session Protocols Klara Nahrstedt Spring 2012.
Internet multimedia: simplest approach audio, video not streamed: r no, “pipelining,” long delays until playout! r audio or video stored in file r files.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
Reading TCP/IP Protocol. Training target: Read the following reading materials and use the reading skills mentioned in the passages above. You may also.
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.
Ch 6. Multimedia Networking Myungchul Kim
Multimedia Streaming I. Fatimah Alzahrani. Introduction We can divide audio and video services into three broad categories: streaming stored audio/video,
UDP: User Datagram Protocol. What Can IP Do? Deliver datagrams to hosts – The IP address in a datagram header identify a host – treats a computer as an.
11 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
VoIP ALLPPT.com _ Free PowerPoint Templates, Diagrams and Charts.
Introduction to Networks
Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Chapter 5 Network and Transport Layers
Introduction to Networks
Chapter 25 Multimedia TCP/IP Protocol Suite
Congestion Control, Internet transport protocols: udp
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Process-to-Process Delivery:
Digital television systems - (DTS)
Process-to-Process Delivery: UDP, TCP
Presentation transcript:

Daniel Johnson

Playing a media file stored on a remote server on a local client

 iTunes “Shared Libraries”  Google Video, youTube, etc.

 True Streaming  Progressive Streaming or Pseudo-streaming

 Benefits  Counter piracy  Files stay on the server  No need for DRM  You can start playing anywhere in the file

 Costs  Expensive  Requires a “streaming server”  Poor quality  Delay  Jitter  Low resolution

 Protocols  RTP – Real-time Transport Protocol  RTCP - Real-time Transport Control Protocol  RTSP – Real-Time Streaming Protocol (All of the above come in a Secure variety)  RDT – Real Data Transport (proprietary – Real Networks)  DAAP – Digital Audio Access Protocol (proprietary – Apple Inc.)  SCTP – Stream Control Transport Protocol

“Control” is a bit of a misnomer:  Doesn’t actually control the stream  Used to gather data about the RTP stream  bytes sent  packets sent  lost packets  Jitter  Feedback  Round trip delay  Data can be used by apps to control flow and achieve a better, more consistent stream

 Similar to HTTP, but with modified/additional commands to facilitate streaming media  Built to be Transport layer independent:  TCP  UDP  SCTP  RTP (most common)  Header is similar to HTTP/1.1

Bits LIF1SIDIRSeq. #BBPSDASM Rule 32Timestamp 64Reliable Seq. #Data

 Most widely used true streaming protocol because of the popularity of iTunes  Created by Apple as a proprietary protocol – introduced with iTunes 4  Reverse engineered and became open source  Apple reasserts ownership with v. 7  Poorly documented

 Referred to as “multi-streaming”  Based on the PSTN message delivery concept  Allows multiple source and destination hosts  Keeps much of the reliability of TCP, without the restrictions because it’s basic unit is a full message instead of a byte

Bits0 – 78 – 1516 – 2324 – 31 0Source portDestination port 32Verification tag 64Checksum 96Chunk 1 typeChunk 1 flagsChunk 1 length 128Chunk 1 data …… …Chunk N typeChunk N flagsChunk N length …Chunk N data

 Benefits  Cheap  Built on existing internet technology  Uses standard web server  No new protocol implementations required  Much better quality (potentially)

 Costs  File must be downloaded to client HDD (easy to pirate)  Can’t (technically) navigate file

 Uses HTTP (sometimes FTP) to send file to client HDD  Most clients begin playing the file before the get all of it  Speeds up playback  If there’s a problem, playback stops completely  Speed is determined by total size of file  Better quality requires waiting longer, and visa versa

True StreamingProgressive Streaming  Expensive – requires a special server  Fast  Controllable  Protected  Cheap – don’t need anything new  Slow(er)  Must start from the beginning  Open

 iTunes “Shared Libraries”  Google Video, youTube, etc.

 The right compression (codecs)  The right resolution

 Not all codecs work for streaming  Streaming codecs should allow  high compression  playback of incomplete files Example: MPEG-1

 Originally video decoding was done with special hardware based on TV decoding  Rectangular pixels  Cropped the sides  Result was an optimal resolution of 352x240  Software decoders didn’t bother with this

The Result

 The other predominant influence on internet video was video conferencing Goals:  conserve bandwidth  Still look good  The result was settling on 176x144  Most software decoders don’t worry about this either

The Result

 Most software decoders ignore the “format” flag in the encoding  A lot of encoders had either the TV format or the video conferencing format as their default resolution (this has mostly been corrected)  Lots of videos made early on were stretched or squished

I do not like it on ABC, I do not like it on MTV. I would not, could not on CNN, I would not, could not on ESPN. It can't be 176x144, Bill G. Because then it isn't 4:3!* Use a 4:3 Aspect ratio for you web videos!