spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / javascript / column51


A Streaming Media JukeBox

Developer News
Google to Shake Up Browsers With Own Launch
Mozilla's Ubquity Mashup: For The Masses?
iPhone Users Just Want to Have Fun

The ASF and ASX File Formats

Windows Media Player plays ASF and ASX files. ASF is a compressed file format that can store audio and video information and is designed to run over the Internet. ASF may also include slide shows and synchronizing events. The big advantage of this file is that it is delivered continuously and starts playing almost without a delay. Your users don't need to wait any more for your audio and video files to fully download before starting to view them. For example, a 40 seconds-long AVI file can take more than 40 minutes to download over a 28.8Kbps modem. Because of this long download time, it would be impossible to deliver Internet-based training class that is 20 minutes long. When converted to ASF file, this class begins playing after just a few seconds. Practically, the file's size has no relevance to the problem.

ASX files are textual command files that manage streaming of ASF files. They are very small in size (about 1K) because they contain no data, just instructions. When a user clicks a link to an ASX file, the browser downloads it to the cache directory, launches the Windows Media Player, and then starts the streaming. The advantage of using ASX files over ASF files is their server location. ASF files can reside on different server types:

  • Windows Media Services Server. File names will start with mms://.
  • HTTP Server. File names will start with http://.
  • Local or network drive. File names will start with file://.

ASX files, on the other hand, are small text files that can always sit on an HTTP server. When the browser interprets the ASX file, it access the streaming media file that is specified inside the ASX file, from the proper HTTP, mms, or file server. The following is an ASX file:

<ASX VERSION="3">
   <ENTRY>
      <REF HREF="mms://netshow.microsoft.com/ms/sbnasfs/wmt/turtle28.asf/">
      <REF HREF="mms://netshow.microsoft.com/ms/sbnasfs/wmt/wmt.asf/">
   </ENTRY>
</ASX>

The ASX file format is very rich. You can add banners, icons, images, and watermarks underneath the streaming media. We will revisit ASX files later in our series. The purpose of this page is to give you a brief overview on what is ASX files and how they are different from ASF file and other audio and video formats.

http://www.internet.com

Produced by Yehuda Shiran and Tomer Shiran


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
Intel PDF: Virtualization Delivers Data Center Efficiency
Intel eBook: Managing the Evolving Data Center
Microsoft Article: BitLocker Brings Encryption to Windows Server 2008
Symantec eBook: The Guide to E-Mail Archiving and Management
Microsoft Article: RODCs Transform Branch Office Security
Go Parallel Article: James Reinders on the Intel Parallel Studio Beta Program
Avaya Article: Advancing the State of the Art in Customer Service
Adobe Acrobat Connect Pro: Web Conferencing and eLearning Whitepapers
Avaya Article: Avaya AE Services Provide Rapid Telephony Integration with Facebook
Go Parallel Article: Getting Started with TBB on Windows
HP eBook: Storage Networking , Part 1
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Intel Seminar: Efficiencies in Hardware/Software Virtualization
HP Webcast: Disaster Recovery Planning
Go Parallel Video: Performance and Threading Tools for Game Developers
HP Video: StorageWorks EVA4400 and Oracle
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
IBM TCO eKIT: Your IT Budget is Under Attack, Get in Control
IBM Energy Efficiency eKIT: Learn How to Reduce Costs
30-Day Trial: SPAMfighter Exchange Module
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
Microsoft Article: Silverlight Streaming--Free Video Hosting for All
Featured Algorithm: Intel Threading Building Blocks - parallel_reduce
HP Demo: StorageWorks EVA4400
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES
webref The latest from WebReference.com Browse >
The Partial Function Application in JavaScript · Creating Dynamic RSS Feeds with Ajax · Performance Optimizations for High Speed JavaScript
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Cablevision Deploys More Hotspots for Commuters · Dell Joins the Netbook Movement with its Inspiron Mini 9 · It's Official: Dell Enters the Netbook Fray


Created: October 25, 1999
Revised: October 25, 1999

URL: http://www.webreference.com/js/column51/asf.html