Livestreamer 1.7.3

CLI program that launches streams from various streaming services in a custom video player
Livestreamer is a command-line app that launches streams from various streaming services in a custom video player.

Currently supported sites are:

- Justin.tv/Twitch.tv
- Own3d.tv
- SVTPlay
- UStream
- YouTube

Note: Justin.tv plugin requires rtmpdump with jtv token support (recent git).

Livestreamer is compatible with Python version >= 2.6 and >= 3.0.

Installing (Linux, OS X etc)

Make sure you have Python and Python setuptools then run:

 sudo python setup.py install

Using

 livestreamer --help

Saving arguments AKA config file

Livestreamer can read arguments from the file ~/.livestreamerrc. A example file:

player=mplayer
jtv-cookie=_jtv3_session_id=arandomhash


Using livestreamer as a library

Livestreamer is also a library. Short example:

import livestreamer

url = "http://twitch.tv/day9tv"
channel = livestreamer.resolve_url(url)
streams = channel.get_streams()

stream = streams["720p"]
fd = stream.open()

while True:
 data = fd.read(1024)
 if len(data) == 0:
 break

 # do something with data

fd.close()

last updated on:
September 20th, 2012, 8:50 GMT
price:
FREE!
developed by:
Christopher Rosell
license type:
BSD License 
category:
ROOT \ Multimedia \ Audio

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Add your review!

SUBMIT