1
mirror of https://github.com/streamlink/streamlink synced 2024-11-16 05:03:49 +01:00

Update README with Windows instructions.

This commit is contained in:
Christopher Rosell 2012-06-18 19:36:40 +02:00
parent ecb020250d
commit f2a27e8456

View File

@ -3,32 +3,49 @@ Livestreamer
Livestreamer is a CLI program 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).
Installing
----------
$ sudo python setup.py install
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
Installing (Windows)
--------------------
1. Install Python
2. Install Python setuptools
3. Get rtmpdump and unpack it somewhere (rtmpdump-20110925-git-6230845-win32.zip from http://rtmpdump.mplayerhq.hu/ should work)
4. Add these paths to your Path environment variable:
* [Python path]\
* [Python path]\scripts\
* [rtmpdump path]\ (or specify full path with --rtmpdump option)
* [VLC/mplayer/other path]\ (or specify full path with --player option)
5. Open a command prompt and change directory to livestreamer source, then run:
python setup.py install
Note: If you want to use VLC be aware there is currently a bug in version 2.0.1
that prevents stdin reading from working. Use 2.0.0 or a nightly build for now.
Using
-----
$ livestreamer --help
Example usage
-------------
Find out what stream qualities are available
$ livestreamer http://www.twitch.tv/ignproleague
Found streams: 240p, 360p, 480p, 720p, iphonehigh, iphonelow, live
Now play one of them
$ livestreamer http://www.twitch.tv/ignproleague 720p
Stream now playbacks in default player (VLC).
Saving arguments AKA config file
--------------------------------
Livestreamer can read arguments from the file ~/.livestreamerrc.
@ -38,19 +55,6 @@ A example file:
jtv-cookie=_jtv3_session_id=arandomhash
Notes
-----
Currently supported sites are:
* Justin.tv/Twitch.tv
* Own3D.tv
* SVTPlay
* UStream
* YouTube
Justin.tv plugin requires rtmpdump with jtv token support (recent git).
Using livestreamer as a library
-------------------------------
Livestreamer is also a library. Short example: