A bittorrent plugin for VLC.
With vlc-bittorrent, you can open a .torrent file or magnet link with VLC and stream any media that it contains.
$ vlc video.torrent
$ vlc http://example.com/video.torrent
$ vlc https://example.com/video.torrent
$ vlc ftp://example.com/video.torrent
$ vlc "magnet:?xt=urn:btih:...&dn=...&tr=..."
$ vlc "magnet://?xt=urn:btih:...&dn=...&tr=..."
$ sudo apt-get install vlc-plugin-bittorrent
$ sudo dnf install vlc-bittorrent
Yes. It works as a regular Bittorrent client. It will upload as long as it’s playing.
Yes!
Probably. I have not tested. It should run since libtorrent works on most systems and the plugin is just standard C and C++. Patches are welcome.
$ sudo apt-get install autoconf autoconf-archive automake libtool make libvlc-dev libvlccore-dev libtorrent-rasterbar-dev g++
$ git clone https://github.com/johang/vlc-bittorrent.git vlc-bittorrent
$ cd vlc-bittorrent
$ autoreconf -i
$ ./configure --prefix=/tmp/vlc
$ make
$ make install
Then, to load it in VLC player:
$ VLC_PLUGIN_PATH=/tmp/vlc/lib vlc --no-plugins-cache video.torrent