advertisement
Premier Club Log In/Registration
  Include Code  Search Tips
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   SKILLBUILDING  |   TIP BANK  |   SOURCEBANK  |   FORUMS  |   NEWSLETTERS
Browse DevX
Additional Resources
Partners & Affiliates
advertisement
advertisement
Average Rating: 3/5 | Rate this item | 1 user has rated this item.
 Print Print
 
Video on a Budget: Two Ways to Deliver Flash
Weigh the pros and cons of streaming vs. progressive downloads for FLV content, and learn how to deliver video on demand without breaking the bank. 

advertisement
treaming video is a very fashionable buzz phrase these days thanks to the pervasiveness of Internet video (which is, in turn, thanks, largely, to Flash). However, it's also a widely misused phrase (including when discussing Flash) because the video in question often isn't streaming at all. There are, in fact, two ways of delivering Flash video—each with its pros and cons. In this article I'll help you prepare for video delivery by giving you a quick primer on the two most common delivery options.

To reap the full benefit of this article, it's important to fully parse the difference between actual streaming and a technique called progressive download—an economical advancement over older media downloading options (but which still isn't streaming).

Progressive Download
Any time you play a Flash video (an FLV) from a local source—perhaps a CD-ROM or kiosk—you are almost certainly using a progressive download approach. In fact, the majority of video used in Flash features progressive download FLVs.

In at least one respect a progressive download is no different from a standard download: The asset is downloaded to your computer (typically to your browser's cache) for playback. The major difference between the two download types is that a progressive download starts displaying the file during the download process, rather than waiting for the download to complete.

You may be familiar, for example, with progressive JPEGs. This format displays the image almost immediately upon the start of the download, and displays an increasing degree of clarity until the process is finished—usually in three to five stages. The large version of Figure 1 (click the thumbnail to view) shows a progressive JPEG almost completely downloaded. Approximately two-thirds of the way down the image, you can see the remnants of the previous display pass at medium clarity. Only a small portion of the download remains as the last third of the final display pass appears.

Figure 1. Click to view a simulation of a progressive JPEG.
Progressive download FLV files function much the same way. After a buffer period (which is usually a few seconds for shorter videos, and can be user-defined), the video begins to play. During playback, the file continues to download in the background. Aided by the short buffer period, as long as the download pace stays ahead of the playback pace the video will play uninterrupted.

It's easy, and economical, to use video this way because no special software is needed. A standard web server can make the video available in the same way it does for HTML pages or graphics like the JPEG above. On the downside, the user experience depends largely on the speed of the connection. With slow or faltering connections the playback will recover the buffer and catch up to the download position, which stops playback temporarily. Additionally, since the FLV is downloaded entirely to the user's machine, content remains in the hands of the user for better or worse.

Streaming
By contrast, true streaming video is delivered by a dedicated server, such as Adobe's Flash Media Server 2, or LightTPD—both of which I'll discuss briefly in this article. The server sends the video instantly, and in real time, to the client. As a result, the user need not wait for a buffer to pre-fetch a portion of the video. Furthermore, rather than wait for the video to fully download before navigating through it, a user can immediately jump to any part of a streaming video—including portions that haven't yet been seen.

Because streaming video is only delivered to users as needed, in small increments, the format is ideal for large numbers of users. Because it doesn't necessarily transfer the entire file, streaming video reduces the load on the server, whereas progressive download videos are delivered, in their entirety, to every user that can successfully request the file.

Streaming through a dedicated server such as Flash Media Server is an alternative way of delivering FLV video—one in which the FLV files are not cached on the user's machine. As such, streaming video is preferred for controlled viewing situations such as rights management (pay per view, subscription), version control, etc. It's also superior for long videos and, where the server supports the feature, live content.

Table 1. Feature Matrix: Progressive Downloads vs. Streaming
Progressive Download Streaming
Dedicated server required   *
Local content easier to deliver *  
Easy to create without additional setup *  
Fast start   *
Delay user-defined, typically relative to length of clip *  
Long clips easier to deliver   *
Immediate scrubbing of video possible   *
Video remains on server (more secure)   *
Video downloaded to user's machine *  
Optimal for server load from many users   *

  Next Page: Client-Side Connection
Page 1: IntroductionPage 3: Metadata
Page 2: Client-Side Connection 
advertisement
Advertising Info  |   Member Services  |   Permissions  |   Contact Us  |   Help  |   Feedback  |   Site Map  |   Network Map  |   About


JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
IBM eBook: Planning a Service Oriented Architecture
IBM eBook: Choosing the Right Architecture--What It Means for You and Your Business
Microsoft Article: Will Hyper-V Make VMware This Decade's Netscape?
Avaya Article: Using Intelligent Presence to Create Smarter Business Applications
Intel Go Parallel Article: Getting Started with TBB on Windows
Microsoft Article: 7.0, Microsoft's Lucky Version?
Avaya Article: How to Feed Data into the Avaya Event Processor
IBM Article: Developing a Software Policy for Your Organization
Microsoft Article: Managing Virtual Machines with Microsoft System Center
Intel Go Parallel Article: Intel Threading Tools and OpenMP
HP eBook: Storage Networking , Part 1
Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
HP Video: StorageWorks EVA4400 and Oracle
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Red Gate Download: SQL Toolbelt and free High-Performance SQL Code eBook
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
Silverlight 2 App and Walkthrough: Leverage Silverlight 2 with SQL Server and XML
IBM Article: Enterprise Search--Do You Know What's Out There?
HP Demo: StorageWorks EVA4400
Microsoft Article: The Progress and Promise of Deep Zoom
Microsoft How-to Article: Get Going with Silverlight and Windows Live
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES