zoukankan      html  css  js  c++  java
  • 常见播放列表文件格式

    (1)wpl格式

      Windows Media Player 多媒体文件格式——wpl格式(多媒体文件格式)   支持此文件类型的 Windows Media Player 版本:   Windows Media Player 9 系列   Windows Media Player 10   Windows Media Player 11   “Windows Media Player 播放列表”(.wpl) 文件是以专有格式编写的客户端播放列表。Microsoft 在“Windows Media Player 9 系列”中引入了此文件格式。.wpl 格式可以创建动态播放列表,而 .asx 和 .m3u 格式则不能创建动态播放列表。在“Windows Media Player 9 系列”中,自动播放列表功能使用 .wpl 格式。.wpl 格式是用于在“Windows Media Player 9 系列”中保存的播放列表的默认文件格式。支持wmp以上

    具体的格式:

    <?wpl version="1.0"?>

    <smil>   

       <head> <meta name="Generator" content="Microsoft Windows Media Player -- 11.0.5721.5145"/>       

     <meta name="AverageRating" content="33"/>        <meta name="TotalDuration" content="1102"/>       

     <meta name="ItemCount" content="3"/>     

       <author/>

            <title>Bach Organ Works</title>    </head> 

       <body>       

     <seq>         

       <media src="\servervolmusicClassicalBachOrganWorkscd03 rack01.mp3"/>        

        <media src="\servervolmusicClassicalBachOrganWorkscd03 rack02.mp3"/>      

          <media src="SR15.mp3" tid="{35B39D45-94D8-40E1-8FC2-9F6714191E47}"/>      

      </seq>
        </body>

    </smil>

    (2) pls格式

    vlc player 的播放列表格式

    Header

    • [playlist] : This tag indicates that it is a Playlist File

    Track Entry
    Assuming track entry #X

    • FileX : Variable defining location of stream.
    • TitleX : Defines track title.
    • LengthX : Length in seconds of track. Value of -1 indicates indefinite (streaming).

    Footer

    • NumberOfEntries : This variable indicates the number of tracks
    • Version : Playlist version. Currently only a value of 2 is valid.

    Example of a radio station streaming audio PLS file, complete

    [playlist]
    NumberOfEntries=1
    File1=http://stream2.streamq.net:8020/

    (3)asm格式

    xml格式,用于windows media,支持mms ,rtsp流媒体

    格式

    <asx version="3.0"> 

     <title>Example.com Live Stream</title> 

      <entry>  

      <title>Short Announcement to Play Before Main Stream</title>   

    <ref href="http://example.com/announcement.wma" />   

     <param name="aParameterName" value="aParameterValue" /> 

     </entry>  

     <entry>    <title>Example radio</title>    <ref href="http://example.com:8080" />   

     <author>Example.com</author>  

      <copyright>©2005 Example.com</copyright>  </entry>

    </asx>

  • 相关阅读:
    又玩起了“数独”
    WebService应用:音乐站图片上传
    大家都来DIY自己的Blog啦
    CSS导圆角,不过这个代码没有怎么看懂,与一般的HTML是不同
    网站PR值
    CommunityServer2.0何去何从?
    网络最经典命令行
    炎热八月,小心"落雪"
    Topology activation failed. Each partition must have at least one index component from the previous topology in the new topology, in the same host.
    SharePoint 2013服务器场设计的一些链接
  • 原文地址:https://www.cnblogs.com/superch0054/p/4010273.html
Copyright © 2011-2022 走看看