项目作者: fstirlitz

项目描述 :
GStreamer plugin for streaming websites
高级语言: Vala
项目地址: git://github.com/fstirlitz/tubessrc.git
创建时间: 2014-04-03T19:03:55Z
项目社区:https://github.com/fstirlitz/tubessrc

开源协议:GNU Lesser General Public License v2.1

下载


GStreamer tubessrc plugin

Ever wanted to view YouTube and Twitch streams in your GStreamer player? Now you can.

This GStreamer plugin resolves streaming website URLs to their underlying media streams. It uses either youtube-dl or livestreamer as a backend. Simply prepend youtube-dl: or livestreamer: to the website URL:

  1. parole youtube-dl://www.youtube.com/watch?v=dQw4w9WgXcQ # i'm not being original

However, any application which (correctly) uses GStreamer for URL resolution will understand these addresses. You can also specify some download parameters, see source code for details.

Requirements: Vala (developed on 0.22), JSON-GLib 1.0, GStreamer 1.0 (0.10 may also work; not tested), either of youtube-dl or livestreamer and maybe GNU Make. Compile with make, install with sudo make install, uninstall with sudo make uninstall. You can also copy or symlink the compiled .so file to ${XDG_DATA_HOME:~/.local/share}/gstreamer-1.0/plugins.

This is just a proof of concept. I might not afford to work on this full-time. Fork away without asking. GStreamer documentation may be of help.

Licence: LGPL. This very file is public domain.