You can also watch the Mars landing with vlc if you have rtmpdump and vlc installed. I generated the correct url below for the media channel by using the script from http://www.tech-juice.org/2012/05/20/ho ... ls-in-vlc/. With the python script to generate the correct rtmp details, you enter:
Code: Select all
python rtmp_discover.py http://www.ustream.tv/channel/nasa-media-channel
Then run the following to play it in vlc:
Code: Select all
rtmpdump -v -r "rtmp://cp152495.live.edgefcs.net/live/ustream-sj2_583@54778" -W "http://www.ustream.tv/flash/viewer.swf" --live | vlc -
To save to file:
Code: Select all
rtmpdump -v -r "rtmp://cp152495.live.edgefcs.net/live/ustream-sj2_583@54778" -W "http://www.ustream.tv/flash/viewer.swf" --live -o recording.flv
If you want to play and record to file at once, you have to use the tee command in this way:
Code: Select all
rtmpdump -v -r "rtmp://cp152495.live.edgefcs.net/live/ustream-sj2_583@54778" -W "http://www.ustream.tv/flash/viewer.swf" --live | tee recording.flv | vlc -
This does play correctly in vlc, but you have to re-generate the rtmp details with the command in the first code block every few days and alter the second code block accordingly with the new url. This happens as the server seems to change a lot.