2011-07-25 142 views

回答

2

这简直是AAC通过HTTP。没什么特别的。

您可以使用Fiddler找到流URL。在这种情况下,它是:http://4093.live.streamtheworld.com/VIRGINRADIO_DUBAIAAC

从那里,你可以使用像WGET或VLC那样简单的东西来翻录。


为您逐步完成整个过程....

首先,该container page负荷。该页面使用参数flashvars.callsign="VIRGINRADIO_DUBAI"调用Flash播放器。毫无疑问,它从初始容器页面URL中的GET参数中获取。随意试验。

第二个,Flash播放器下载http://player.streamtheworld.com/_players/arn/coreconfig.xml。这包含有用的信息。下面是摘录:

<zone type="liveStream"> 

     <liveStream> 

     <!-- the endpoint node is option, and will default to the stated value if absent --> 
      <endpoint>http://playerservices.streamtheworld.com/api/livestream</endpoint> 

     <!-- version is a mandatory value --> 
     <version>1.4</version> 

     <!-- Mount is a mandatory variable --> 
     <mount>KEYJFM</mount> 

     <!-- The lang variable is optional, and will default to the stated value if absent --> 
     <lang>EN</lang> 

     <!-- The transport variable is optional, and will default to the stated value if absent --> 
     <transport>http</transport> 

     <!-- This parameter will be appended to the the mount call in the event of an HD request. --> 
     <hdPostFix>AAC</hdPostFix> 

     <!-- Possible values are hdConnection, normalConnection and hdAlternate --> 
     <connectionType>hdAlternate</connectionType> 

     </liveStream> 

     <nowPlayingHistory> 

     <!-- the endpoint node is option, and will default to the stated value if absent --> 
      <endpoint>http://playerservices.streamtheworld.com/public/nowplaying</endpoint> 

     </nowPlayingHistory> 


    </zone> 

该播放器还抓住http://playerwebadmin.streamtheworld.com/xmlconfig.php?view=xml&callsign=VIRGINRADIO_DUBAI&streamid=8263,其中包含了一些毫无意义的废话,比如什么视频广告给你看。

视频广告后,玩家抓住这一点:http://playerservices.streamtheworld.com/api/livestream?version=1.4&mount=VIRGINRADIO_DUBAIAAC&lang=EN&transports=http&nobuf=1311628718296

注意适当的参数,如versionmountlang,等他们呢?是的,他们来自第一个XML文件。

终于,Flash播放器具有它需要从最终的XML文件向流发出请求所需的所有信息。

所有这一切,你可以很容易地与Fiddler搞清楚。请考虑将来使用它。

+0

谢谢!现在,让我们假设真的是这种情况(关于aac - 我猜你在谈论aacplus) - 现在 - 如何找到没有fiddler的流的URL?任何想法? Winpcap的? –

+0

@Daniel,你的意思是编程?简单地解析页面。你如何做到这一点取决于你使用的语言....是的,情况确实如此。 – Brad

+0

解析要获取的页面http://4093.live.streamtheworld.com/VIRGINRADIO_DUBAIAAC?它不会显示在原始网页上。 –

8

获取流的呼叫标志。对于城市101.6 Fm迪拜,其ARNCITY。

使用以下URL http://provisioning.streamtheworld.com/pls/并在pls /后替换呼号。

所以最终的URL将看起来像http://provisioning.streamtheworld.com/pls/ARNCITY.pls

打开它在Firefox,它会问你的ARNCITY.pls下载到您的计算机。

下载该文件并在记事本中打开它,您将获得实际的流网址。在Windows媒体播放器或任何媒体播放器

使用任何人,你都设置..

这就是所有.....希望这有助于

+0

哇,所以他们有SHOUTCAST以及:)你怎么弄出来的? –