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

Write tutorials and howtos in here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please. Before you post please read this

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

Postby anomalous_daemon on Mon Aug 06, 2012 6:22 am

(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.
anomalous_daemon
Level 1
Level 1
 
Posts: 3
Joined: Wed Jul 11, 2012 7:06 am

Linux Mint is funded by ads and donations.
 

Return to Tutorials / Howtos

Who is online

Users browsing this forum: No registered users and 16 guests