簡體   English   中英

如何在HTML5中通過bittorrent傳輸視頻 <video> -標簽?

[英]How to stream video via bittorrent in an HTML5 <video>-tag?

如何使用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> -tag旁邊的關鍵部分是tribe://

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

當我加載HTML5頁面並轉到: http://127.0.0.1:6877/webUI : http://127.0.0.1:6877/webUI : http://127.0.0.1:6877/webUI

然后我看不到視頻下載.. :(

在此處輸入圖片說明

一個小時的時間后,我下載了視頻....僅45mb ..不是上帝。

那么SwarmPlayer-p2p風格是否很慢?

可以加快速度嗎?

還是有更好的球員做到這一點?

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引擎。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM