~~SS~~

Hot Projects

DIY Food Hacking

Open Solar Power

picoReflow

DIY Reflow Soldering

PiGI

RasPi Geiger Counter

Wideband Antenna

Map everything!

~~TAGCLOUD:50~~

HOWTO stream ISS HDEV on the desktop background

In case you haven't noticed yet, NASA has put a new experiment on the International Space Station, which is called High Definition Earth Viewing (HDEV). You can watch it online via ustream. The experiment's primary purpose is to generate long-term test data, if cheap off-the-shelf consumer HD cameras can be used in space instead of extremely expensive purpose-built “space” cameras. As a benefit, now all people can watch the world from above, in near-realtime, so thank you guys for sharing.

Playing stuff in a browser is cool, but having it play in mplayer(2)/mpv seems way more flexible (and can also benefit from GPU video offloading). To grab the stream from ustream you can use https://github.com/chrippa/livestreamer, which works very well.

mplayer2 based Systems

$livestreamer -Q http://www.ustream.tv/channel/iss-hdev-payload best --player "mplayer2 -nosound" MPV based Systems $ livestreamer -Q http://www.ustream.tv/channel/iss-hdev-payload best --player "mpv --no-audio"

The next level is to use xwinwrap to put the stream on your desktop, instead of a static image. When you've got alpha blending/compositing in your terms (xterm/urxvt etc.) you can even see it in the background of your shells (way awesome).

When you've installed livestreamer and xwinwrap, just call it like this:

mplayer2 based Systems

$livestreamer -Q http://www.ustream.tv/channel/iss-hdev-payload best \ --player "./xwinwrap -ni -fs -s -st -sp -b -nf -- mplayer2 -wid WID -nosound" MPV based Systems $ livestreamer -Q http://www.ustream.tv/channel/iss-hdev-payload best \
--player "./xwinwrap -ni -fs -s -st -sp -b -nf -- mpv --wid 0 --no-audio"

You can use our xfce-planet script, if you want to keep track of the ISS position on another monitor:

Be advised though, the view is spectacular (especially, when you've got it on the wall with a projector) and tends to hypnotize everyone in the room, while they're grasping the beauty of our planet and forgetting all the superfluous, puny and made up problems, mankind needlessly still seems to fight with.

Discussion

, 2015/10/19 18:03

Hej, it looks like xwinwrap fails while giving -g (geometry) instead -fs (fullscreen), Do you have any idea why?

, 2015/10/19 18:36

-ov is the key ;)

Enter your comment. Wiki syntax is allowed:
   __ __  __  __   _  __  __  __   ____
/ //_/ / / / /  | |/_/ / / / /  / __/
/ ,<   / /_/ /  _>  <  / /_/ /  _\ \
/_/|_|  \____/  /_/|_|  \____/  /___/