Watch justin.tv on VLC Player
December 15, 2011
For those of you who always wanted to watch/record Live Streams from justin.tv I wrote this tutorial. It is a bit of work to do and you have to decide wether it is worth it or not. First of all you need rtmpdump. Unzip that and change to its working directory in your cmd prompt. The main command to pipe the Stream you are about to watch to VLC is this:
$rtmpdump -r "RTMP adress" --jtv "usher token"
--swfUrl "swf adress" -o - | "local VLC adress" -
The RTMP adress can be found in the XML document at http://usher.justin.tv/find/”stream”.xml?type=any under “connect” where “stream” is the name of the stream you want to watch. In this XML you will also find the usher token under “token”. It is important that you use escape characters at some point there. For the swf adress you have to open the streampage htmlcode and search for “swfobject” in it. The local VLC adress pretty much explains itself. Have fun watching your favorite streams in VLC!
Update: For those of you who to pipe twitch.tv use the following cmd:
$rtmpdump -r "RTMP adress" -a "app" -f "WIN 11,0,1,152" -W "swf adress" -p "channel adress" -j "usher token" --live -y "playpath out of token" -o - | "local VLC adress" -
And last but not least there is also a plugin to watch megavideo with your VLC: megavideo.lua