Streaming Audio and Video
Problems with Delivering Audio, Video and Animations over the WEB <ul><li>File sizes large, perhaps infinite for live webc...
Current Solutions <ul><li>Real Networks </li></ul><ul><ul><li>RTSP - Real Time Streaming Protocol </li></ul></ul><ul><ul><...
Other Solutions <ul><li>Microsoft ASF - Advanced Streaming Format </li></ul><ul><ul><li>Only supports one stream, need 3rd...
Publishing Streaming Media with Real Networks <ul><li>Need 3 components </li></ul><ul><ul><li>WEB Server </li></ul></ul><u...
Example .. <ul><li>First, need to capture and encode Video/audio in G2 Format </li></ul><ul><li>Run Encoder software </li>...
Video file TEST.RM <ul><li>Create link to .ram file on WEB server </li></ul><ul><ul><li><a href=“TEST.ram”> Click here to ...
What Happens <ul><li>User clicks on link </li></ul><ul><ul><li>Link is a .ram file, so helper app is invoked to process th...
Synchronized Media  <ul><li>What happens if I want to synchronize several different streams. Need to use SMIL </li></ul><u...
SMIL  Example <ul><li><smil> </li></ul><ul><li><root>  </root> </li></ul><ul><li><body> </li></ul><ul><li><seq> </li></ul>...
More Advanced SMIL <ul><li>Smil can also play material in parallel in different windows </li></ul><ul><li>Example would be...
Upcoming SlideShare
Loading in...5
×

streaming.ppt

802

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
802
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
15
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

streaming.ppt

  1. 1. Streaming Audio and Video
  2. 2. Problems with Delivering Audio, Video and Animations over the WEB <ul><li>File sizes large, perhaps infinite for live webcasts </li></ul><ul><ul><li>Can’t wait for file to completely download </li></ul></ul><ul><li>WEB bandwidth unreliable - high variance </li></ul><ul><li>Bandwidth varies from minute to minute </li></ul><ul><li>Need to have complex compression and streaming protocols to compensate </li></ul><ul><ul><li>Not supported by HTTP protocol </li></ul></ul>
  3. 3. Current Solutions <ul><li>Real Networks </li></ul><ul><ul><li>RTSP - Real Time Streaming Protocol </li></ul></ul><ul><ul><li>Needs a separate server </li></ul></ul><ul><ul><li>Protocol supports multiple, simultaneous streams (audio, video, animation, text) </li></ul></ul><ul><ul><li>Helper App to play the streams (REAL PLAYER G2) </li></ul></ul><ul><ul><li>SMIL language to describe relationship between streams </li></ul></ul><ul><ul><li>Automatic, dynamic bandwidth negotiation </li></ul></ul>
  4. 4. Other Solutions <ul><li>Microsoft ASF - Advanced Streaming Format </li></ul><ul><ul><li>Only supports one stream, need 3rd party tools to combine multiple streams into ASF format </li></ul></ul><ul><ul><li>Works with Microsoft NETSHOW </li></ul></ul><ul><ul><li>Supports multiple bitrates in one stream </li></ul></ul><ul><ul><li>includes high bandwidth intranet option </li></ul></ul>
  5. 5. Publishing Streaming Media with Real Networks <ul><li>Need 3 components </li></ul><ul><ul><li>WEB Server </li></ul></ul><ul><ul><ul><li>Create links to .RAM, or .SMI files </li></ul></ul></ul><ul><ul><ul><li>RAM files point to REAL Networks server </li></ul></ul></ul><ul><ul><li>Real Networks Server </li></ul></ul><ul><ul><ul><li>Files are housed here </li></ul></ul></ul><ul><ul><ul><li>Special “Streaming” support </li></ul></ul></ul><ul><ul><ul><li>Multicast support </li></ul></ul></ul><ul><ul><ul><li>Handles Live Streams </li></ul></ul></ul><ul><ul><li>Browser Helper APP </li></ul></ul><ul><ul><ul><li>Real Player G2 - can run standalone </li></ul></ul></ul>
  6. 6. Example .. <ul><li>First, need to capture and encode Video/audio in G2 Format </li></ul><ul><li>Run Encoder software </li></ul><ul><ul><li>Specify audio and video “codecs” to use </li></ul></ul><ul><ul><ul><li>Each bitrate has a different codec </li></ul></ul></ul><ul><ul><ul><li>Can use multiple bitrates </li></ul></ul></ul><ul><ul><li>Move Encoded file to Real Networks Server </li></ul></ul><ul><ul><li>Create Links on WEB server to point to file </li></ul></ul>
  7. 7. Video file TEST.RM <ul><li>Create link to .ram file on WEB server </li></ul><ul><ul><li><a href=“TEST.ram”> Click here to see video</a> </li></ul></ul><ul><li>Create TEST.ram file </li></ul><ul><ul><li>rtsp://videos.stern.nyu.edu:554/TEST.rm </li></ul></ul>
  8. 8. What Happens <ul><li>User clicks on link </li></ul><ul><ul><li>Link is a .ram file, so helper app is invoked to process the file </li></ul></ul><ul><ul><li>Helper App (REAL PLAYER G2) starts and is passed the 1 line file by the web server </li></ul></ul><ul><ul><li>REAL PLAYER G2 reads filename and then connects to the video server </li></ul></ul><ul><li>Video Server and G2 now have a separate TCP/IP connection (port 554) to communicate over </li></ul>
  9. 9. Synchronized Media <ul><li>What happens if I want to synchronize several different streams. Need to use SMIL </li></ul><ul><li>The link needs to point to a .SMI file instead of a RAM file. </li></ul><ul><li>Simple example, put an intro in front of the video </li></ul><ul><li>I.e. play intro file followed by TEST.rm </li></ul>
  10. 10. SMIL Example <ul><li><smil> </li></ul><ul><li><root> </root> </li></ul><ul><li><body> </li></ul><ul><li><seq> </li></ul><ul><li><rtsp://videos.stern.nyu.edu:554/file1.rm ….> first file to play </li></ul><ul><li><rtsp://videos.stern.nyu.edu:554/file2.rm …> second file to play </li></ul><ul><li></seq> </li></ul><ul><li></body> </li></ul><ul><li></smil> </li></ul>
  11. 11. More Advanced SMIL <ul><li>Smil can also play material in parallel in different windows </li></ul><ul><li>Example would be a REAL TEXT presentation in one window, with synchronized Real pics in another window, and synchronized audio playing as the slides (and text) changes. </li></ul><ul><li>Real Presenter – Real Networks add-on ($29.95) to Powerpoint to allow streaming powerpoint narration. </li></ul>
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×