如何通过HTML5 <video> -tag?</video>中的bittorrent流式传输视频

时间:2013-02-09 16:48:09

标签: html5 html5-video p2p bittorrent

如何使用p2p-next.org的SwarmPlayer v2 ..?

我试图将它用于网站,没有钱支付很多带宽。

所以我需要通过bittorrent来播放视频。

我正在使用Ubuntu 12.10进行测试。

以下是HTML5代码。

    <video style="width:544px;height:304px;">   
    <source src="tribe://http://url2torrent.net/torrent/511640ccc3acb404f246f391.torrent">
    <source src="http://upload.wikimedia.org/wikipedia/commons/3/38/Moederdag_%281925%29.ogv" >
    </video>     

<video> - 标记旁边的关键部分是tribe://

  

<source src="tribe://http://url2torrent.net/torrent/511640ccc3acb404f246f391.torrent">

当我加载HTML5页面并转到:http://127.0.0.1:6877/webUI

然后我看不到视频下载.. :(

enter image description here

我得到它下载视频的...一小时后...只有45mb ..不是上帝..

那么SwarmPlayer-p2p风格是否只是慢?

可以加速吗?

或者有更好的玩家来做这件事吗?

1 个答案:

答案 0 :(得分:1)

HTTP回退似乎有问题。如果您尝试使用BitTorrent直接播种的Ogg视频(以及播放时间字段),它仍然有效。例如。尝试

http://ca.isohunt.com/download/280788549/5aa6a160a7470b00e4b3d0ee824333fb7c934ca7.torrent

作为来源。请参阅c:\ Users \ you \ AppData \ Roaming \ Mozilla \ Firefox \ Profiles \ zzzzz.default \ extensio ns \ tribe@p2pnext.org \ bgprocess \ SwarmEngine.exe.log(检查swarmengined脚本的Linux位置)以获取BitTorrent引擎的日志。

相关问题