Introduction
ASX is Microsoft’s metafile format for Windows Media, from the late 1990s. A web page
linked to a small .asx file rather than to the stream itself; Windows
Media Player opened it and followed the addresses inside to the audio or video. It
was widely used for internet radio and live streams. The extensions
.wax (audio), .wvx (video) and .wmx mark the
same format.
Structure
An ASX file is XML-like text, although players accept it loosely: element names are
not case-sensitive. The root element is asx with
version="3.0". It may hold a title, then one
entry per item. Each entry gives one or more ref elements
whose href is the stream or file address; a player tries them in order
until one works. Entries can also carry their own title, author and copyright.
<asx version="3.0">
<title>Example Radio</title>
<entry>
<title>Live stream</title>
<ref href="http://radio.example.com/live"/>
<ref href="http://backup.example.com/live"/>
</entry>
</asx>
The reference pages cover the syntax of the file, the structure elements that make up the playlist, the information elements that describe it, and the timing elements that set where each clip starts and stops.
Not described
These pages follow Microsoft’s Windows Media Metafile Elements Reference. The explorer has no ASX viewer, so a dropped file shows as bytes.
Known, not yet covered
- Reference: the media types
audio/x-ms-wax,video/x-ms-wvxandvideo/x-ms-wmxwere not confirmed on a page read for this reference. - Viewer: there is no ASX plugin: the elements and their timing are not read.
Unknown
- Reference: metafile syntax versions before 3, which Microsoft does not document.
- Reference: the
[Reference]/Ref1=form, known only because mpv accepts it, and the form of awmpcdURL, which Microsoft names without giving. - Reference: Microsoft’s
LOGURLandSKINpages list parents that theASXandENTRYpages do not list as having them as children.
Links
Software
- Windows Media Player – Microsoft’s media player, built into Windows, which opens ASX files (Windows)
- VLC media player – free player for almost any audio or video file, which reads ASX playlists (Windows, macOS, Linux, mobile)
Reference
- Windows Media Metafile Elements Reference – Microsoft’s definition of every element and attribute
- Creating Metafile Playlists – Microsoft’s rules for writing a metafile