User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mission:log:2014:07:07:howto-view-iss-hdev-livestreamer-mplayer-xwinwrap [2014/07/07 11:30] chronomission:log:2014:07:07:howto-view-iss-hdev-livestreamer-mplayer-xwinwrap [2016/04/05 06:26] (current) chrono
Line 1: Line 1:
-======= HOWTO to stream ISS HDEV on desktop background ======+======= HOWTO stream ISS HDEV on the desktop background ======
  
-In case you haven't noticed yet, NASA has put a new experiment on the ISS, which is called the [[http://www.nasa-usa.de/mission_pages/station/research/experiments/917.html|HDEV (High Definition Earth Viewing)]]experiment.You can watch it online via [[http://www.ustream.tv/channel/iss-hdev-payload|ustream]].+In case you haven't noticed yet, NASA has put a new experiment on the International Space Station, which is called [[http://www.nasa-usa.de/mission_pages/station/research/experiments/917.html| High Definition Earth Viewing (HDEV)]]. You can watch it online via [[http://www.ustream.tv/channel/iss-hdev-payload|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 seems way more flexible (and can also benefit from video offloading). To grab the stream from ustream and play in mplayer2 you can use [[https://github.com/chrippa/livestreamer]], which works very well.+{{:mission:log:2014:07:07:iss-hdev-stream-capture-backview2.jpg|ISS HDEV live capture}}
  
-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).+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. 
 + 
 +{{:mission:log:2014:07:07:iss-drawing.png|ISS Schematic}} 
 + 
 +**mplayer2 based Systems** 
 + 
 +<code> 
 +$ livestreamer -Q http://www.ustream.tv/channel/iss-hdev-payload best --player "mplayer2 -nosound" 
 +</code> 
 + 
 +**MPV based Systems** 
 + 
 +<code> 
 +$ livestreamer -Q http://www.ustream.tv/channel/iss-hdev-payload best --player "mpv --no-audio" 
 +</code> 
 + 
 +The next level is to use [[https://github.com/lrewega/xwinwrap|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: When you've installed livestreamer and xwinwrap, just call it like this:
 +
 +**mplayer2 based Systems**
  
 <code> <code>
 $ livestreamer -Q http://www.ustream.tv/channel/iss-hdev-payload best \ $ livestreamer -Q http://www.ustream.tv/channel/iss-hdev-payload best \
---player "./xwinwrap -ni -fs -s -st -sp -b -nf -- mplayer2 -wid WID -nosound+--player "./xwinwrap -ni -fs -s -st -sp -b -nf -- mplayer2 -wid WID -nosound"
 </code> </code>
  
 +**MPV based Systems**
 +
 +<code>
 +$ 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"
 +</code>
 +
 +
 +You can use our [[https://github.com/apollo-ng/xfce-planet|xfce-planet script]], if you want to keep track of the ISS position on another monitor:
 +
 +{{:mission:log:2014:07:07:iss-orbit.jpg|}}
  
 +Be advised though, the [[mission:log:2015:04:21:my-favorite-place-to-watch-the-sun-set|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.
  
 {{tag>software xwinwrap livestreamer iss hdev mplayer stream grab}} {{tag>software xwinwrap livestreamer iss hdev mplayer stream grab}}