Another semi-useful script in my journal :-)
All you need is bash, curl and rtmpdump.
You need to have latest git version of rtmpdump because older ones don't allow --jtv option and there is no other way to send authentication token.
The attached script sends stream to stdout so you can pipe it to any media player. (in most cases adding '-' will make them read from stdin). Also notice that proper channel name can be found in channel's url. Name displayed on the webpage can be different.
Examples:
./twitch.sh zronvc | mplayer -
./twitch.sh zronvc | vlc -
I've also found a windows script but I didn't test it. You may need to update flash player url if it doesn't work.
download
EDIT: There are few great alternatives for windows and linux in comments so check them out!
All you need is bash, curl and rtmpdump.
You need to have latest git version of rtmpdump because older ones don't allow --jtv option and there is no other way to send authentication token.
The attached script sends stream to stdout so you can pipe it to any media player. (in most cases adding '-' will make them read from stdin). Also notice that proper channel name can be found in channel's url. Name displayed on the webpage can be different.
Examples:
./twitch.sh zronvc | mplayer -
./twitch.sh zronvc | vlc -
I've also found a windows script but I didn't test it. You may need to update flash player url if it doesn't work.
download
EDIT: There are few great alternatives for windows and linux in comments so check them out!
- Attached Utility: 87199-twitch.sh (14 May 2012, 1KB, 1283 downloads)
Mon | Tue | Wed | Thu | Fri | Sat | Sun |
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
Edited by fau at 13:07 CDT, 10 June 2012 - 22584 Hits