Watch HD NASA TV via vlc on Mint (formerly posted in chat)

Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Post Reply
anomalous_daemon

Watch HD NASA TV via vlc on Mint (formerly posted in chat)

Post by anomalous_daemon »

(I moved my post here from the chat page on the Mars rover Curiosity as I thought it was better in this section)

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.
Post Reply

Return to “Tutorials”