Skip to content
A bittorrent plugin for VLC.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data Adjusted desktop file to avoid duplicate VLC entries in the menu. (#23) Oct 22, 2018
scripts
src download: Make move_window methods private Jan 14, 2019
test test: Run apt-get in non-interative mode Mar 4, 2019
.dockerignore
.gitignore Totally rewrite the code interfacing with libtorrent Dec 8, 2018
.travis.yml
LICENSE Initial commit Dec 8, 2016
Makefile.am Add desktop file to make sure VLC is suggested for torrent files and … Oct 15, 2018
README.md
configure.ac 2.6 Jan 14, 2019

README.md

vlc-bittorrent (Bittorrent plugin for VLC)

What is this?

With vlc-bittorrent, you can open a .torrent file or magnet link with VLC and stream any media that it contains.

Example usage

$ 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=..."

FAQ

Does it upload/share/seed while playing?

Yes. It works as a regular Bittorrent client. It will upload as long as it's playing.

Does it work on Ubuntu/Debian?

Yes!

Does it work on Windows, Mac OS X, Android, Windows RT, iOS, my toaster?

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.

Dependencies (on Linux)

  • libtorrent ("libtorrent-rasterbar9" in Ubuntu 18.04)

Building from git on a recent Debian/Ubuntu

$ sudo apt-get install autoconf 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
You can’t perform that action at this time.