Gst-Bt is a collection of plugins that integrates BitTorrent into GStreamer
- GStreamer 0.10 or GStreamer 1.0
- libtorrent
# For GStreamer 1.0
./configure --with-gstreamer-api=1.0
# For GStreamer 0.10
./configure --with-gstreamer-api=0.10
make
For system wide installation:
make install
For user installation:
# For GStreamer 1.0
cp src/.libs/libgstbt.so ~/.local/share/gstreamer-1.0/plugins/
# For GStreamer 0.10
cp src/.libs/libgstbt.so ~/.gstreamer-0.10/plugins/
- btdemux BitTorrent demuxer
- btsrc Magnet URI source
# In GStreamer 1.0
gst-launch-1.0 filesrc location=your.torrent ! btdemux ! decodebin ! autovideosink
gst-launch-1.0 btsrc uri=magnet:yourmagnet ! btdemux ! decodebin ! autovideosink
# In GStreamer 0.10
gst-launch-0.10 filesrc location=your.torrent ! btdemux ! decodebin2 ! autovideosink
gst-launch-0.10 btsrc uri=magnet:yourmagnet ! btdemux ! decodebin2 ! autovideosink
In case something fails, use this github project to create an issue.