Multimedia file playback lists some text format files, such as M3U and PLS of Winamp, Asx and wax of windowsmedia, and real Ram, developed to facilitate multi-file playback or conversion of links among others, you can create list files in these formats by playing a player in the corresponding format. But sometimes we want to modify some of the information, but do not know their attributes and rules? Next, let's take a look at the definitions of these list file formats.
The list is in text format. The main purpose is to target the media information, play continuously, and display the media name, copyright, file source, and other information.
A. m3u of Winamp
Suffix:. m3u
Friends who like MP3 must be familiar with this file. Look at the following file:
Test1.m3u:
# Extm3u
# Extinf: 257, Ren xianqi
-I am a fish.
"Icech" MP3 "I Am a fish
# Extinf:-1, I love you
Forever.wma
I _love_you_forever.wma
# Extinf: 260,06 just to make my love
CO
C: "1-Luo Dayou-lianqu 2000" 07.
C: "1-Luo Dayou-lianqu 2000" 08
Original Village
# Extinf: 296, Tokyo. Mid
D: "mid" Tokyo. Mid
We can see that # extm # U displays the M3U File mark, # extinf displays the playback time, title, and artist information. However, the general M3U list does not require those information files. We only need to list one row of the files to be played, as shown in the following style:
"Icech" MP3 "I Am a fish
C: "1-Luo Dayou-lianqu 2000" 07
Fall in love
D: "mid" Tokyo. Mid
Open notepad and write the above lines in the file. Note that the path is the relative path of the M3U File. In this way, when you open the m3u file, it will call up the relevant media playing software for sequential playback.
B. winamp PLS (playlist)
Suffix:. pls
The PLS file is similar to the m3u file, but the tag rules are slightly different, for example, the following tese2.pls file content:
[Playlist]
File1#valen102.mp3
Title1 = Xu Ru cloud
-
See through
Length1 = 285
File3 = C: "Music" lauching03.mp3
Title3 = skyyo.com -- Liu Qin
-
Highlights
Length3 = 263
File4=no1.mp3
File5=coco9701.mp3
Numberofentries = 5
Version = 2
The PLS file is marked as [playlist]. When the PLS file is opened, the player will automatically find this segment to determine the file format, so this field must be written in the PLS file.
The path after file [N] is also a relative path. [N] indicates the file order. length [N] records the file playback time, numberofentries indicates the number of files (this statement can also be placed after [playlist]), and version indicates the version. Note: the format required by the PLS file is strict. The most basic attributes (MARK [playlist], file [N], numberofentries, and version) must be written.
C. ASX (Advanced Stream Redirector) and wax of windowsmedia
Suffix:. ASX and. Wax
An ASX file is a text file mainly designed to redirect streaming information, similar to an RPM (RM transit file) file.
ASX contains the URL corresponding to the media content. When we contact ASX with a hyperlink on a webpage, the browser will directly send the content of ASX to Media Player and media.
Based on the information of the ASX file, Player uses the corresponding protocol to open the multimedia information stream or multimedia file at the specified position.
The main reason for redirecting stream information using ASX files is: currently, common browsers do not support the MMS protocol for playing stream information directly (Microsoft's Media Server
Protocol), so we use the ASX file. After the ASX file is used, when the browser finds that a connection is related to Asx, it knows that media player is required.
To play the stream information, so it starts the media player, and the Media Player can use the MMS protocol to play the stream information.
The following is an example of an ASX file:
Testasx01.asx:
<ASX
Version = "3.0">
<Title> ASX test </title>
<Entry>
<Title> Houjie boys' combination music02 </title>
<Copyright> icech's WMA music </Copyright>
<Ref
Href = "MMS: // www.nease.net /~ Icech/music/01.wma"/>
<Moreinfo href =
"Http://www.icech.com"/>
</Entry>
</ASX>
the first line is the version number, and the second line is the title, the content between indicates that the media
player uses the MMS protocol to play back network computing www.nease.net /~ The 01.wma file under musicloud on icech.
the ASX file can have its own title, author, copyright, and other information. Its can have multiple, indicating that multiple streams are to be played, this is a playlist. Each contains information related to each stream, including title, author, copyright, and moreinfo. In the following example, two programs are to be played, each of which has its own information.
testasx02.asx:
Version = "3.0">
two files for ASX test playback
icech of Western Electronics
(c)
2000, weste.net
<Entry>
<Title> Houjie boys 1 </title>
<Author> icech </author>
<Copyright> (c)
2000, weste.net </Copyright>
<Ref
Href = "MMS: // www.nease.net /~ Icech/music/01.wma"/>
<Moreinfo href =
Http://www.icech.com </entry>
<Entry>
<Title> Houjie boys combination 2 </title>
<Author> unknown </author>
<Copyright> (c)
2000, icech.com </Copyright>
<Ref
Href = "MMS: // www.nease.net /~ Icech/music/02.wma" <moreinfo href = http://www.icech.com
</Entry>
</ASX>
The ASX format is a bit like SMIL. Its tag must be in a corresponding relationship, for example, <ASX> </ASX>. If there is no corresponding end tag, it must end with a backslash: <ref
Href = "MMS: // www.nease.net /~ Icech/music/02.wma"/>.
Of course, ASX can be used not only as the playing list of audio files, but also as ASF for audio and video files. In fact, WMA is an ASF audio file. Generally, ASX is used as the playlist file of ASF, and wax is used as the playlist file of WMA. The conversion between Asx and wax is also very convenient. You can directly use ASX
File is changed to the. Wax extension to create the. Wax file.
D. Real Ram
Suffix:. Ram and. rpm
With the strong promotion of real, everyone has a certain understanding of Ram. online audio and video-on-demand videos are mostly used in this format. Click the hyperlink to call the RealPlayer playback file. Similar to Asx, ram files are used as intermediary files for conversion protocols. Because rm or Ra files require RTSP or PNM, browsers generally only Support HTTP and FTP protocols, therefore, the RAM file must provide a protocol information.
RAM files are also in text format. The list is simple:
Testram. Ram:
PNM: // www.nease.net /~ Icech/encoder/live01.ra
PNM: // weste.at.china.com/music/live02.ra
PNM: // modernet.2699.com/ra/live03.ra
The. RA file in the RAM file can be played on different servers. during playback, three files can be combined into one for playing. Or write as follows:
RTSP: // www.nease.net /~ Icech/yuquan_04.rm
Creating a ram file is the same as a general hyperlink <
Href = http://www.nease.net /~ Icech/music. Ram> listen online </a>. If you need to download the RM audio and video file, first download the RAM file linked to it, and then open it with "Notepad, change PNM or RTSP to HTTP (for download of other media files, you only need to change the Protocol to HTTP), and then drag it with NetAnts.