【问题标题】:loading video file from torrent to html5 video将视频文件从 torrent 加载到 html5 视频
【发布时间】:2013-01-19 23:31:39
【问题描述】:

我可以使用带有视频的 torrent 文件和加载的视频吗? 我有 3 个视频的洪流。我有一个简单的带有 video.js 的 html 页面。

  • 视频 1:Wellcome.wemb
  • 视频 2:Introduction.webm
  • 视频 3:我们玩什么.webm

那么...我可以在视频中从 torrent 加载第一个视频吗?

【问题讨论】:

    标签: html html5-video libtorrent


    【解决方案1】:

    您可以使用扭矩。它不是纯 javascript,但相当强大。

    http://torque.bittorrent.com/labs/

    查看http://onehash.com/ 了解您想要做什么的示例。

    对于纯 javascript 实现(我相信仅限于 chrome),请查看 jstorrent:

    https://github.com/kzahel/jstorrent

    在这里部署:http://jstorrent.com/

    【讨论】:

    • 不需要插件客户端吗?
    【解决方案2】:

    您可以手动完成或尝试编写一些提取种子的服务器软件。如果您知道如何执行此操作,请尝试提前执行,而不是每次都在运行时执行。

    【讨论】:

    • 所以没有办法使用JS从torrent中获取视频文件。 tnx :}
    猜你喜欢
    • 2012-12-01
    • 1970-01-01
    • 2015-12-23
    • 2017-11-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-07-05
    相关资源
    最近更新 更多