Awesome Open Source
Awesome Open Source

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
$ vlc
$ vlc
$ vlc "magnet:?xt=urn:btih:...&dn=...&tr=..."
$ vlc "magnet://?xt=urn:btih:...&dn=...&tr=..."

Installing on Debian/Ubuntu

$ sudo apt-get install vlc-plugin-bittorrent


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?


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 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

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
c-plus-plus (18,749
plugin (799
ubuntu (349
streaming (301
stream (240
debian (235
torrent (152
bittorrent (103
vlc (37