Quantcast
Viewing latest article 1
Browse Latest Browse All 8

Answer by mxdsp for How can I set the live video feed from the ISS as my desktop background?

Here is a way around using livestreamer. Se also this answer.

First step : installing livestreamer.

Install livestreamer

Simple HD stream with VLC :

This command displays High Definition Earth-Viewing System (HDEV) on full screen on wallpaper mode.

livestreamer http://ustream.tv/channel/iss-hdev-payload best --player 'vlc -I dummy --video-wallpaper --no-video-title-show --noaudio'

HD stream with Audio (crew/control conversations)

This displays the High Definition Earth-Viewing System (HDEV) and add sound from another stream, Live ISS, accompanied by audio of conversations between the crew and Mission Control.

livestreamer http://www.ustream.tv/embed/9408562?html5ui best --player "cvlc --no-video" & livestreamer http://ustream.tv/channel/iss-hdev-payload best --player 'vlc -I dummy --video-wallpaper --no-video-title-show --noaudio'

Bash ON/ OFF script (tested on Ubuntu)

#!/bin/bash
PS=`ps -ef`
if echo "$PS"|grep -q 'vlc -I dummy';
    then echo "off";
    kill $(ps aux | grep 'vlc -I dummy' | awk '{print $2}')
else echo "on";
    livestreamer http://www.ustream.tv/embed/9408562?html5ui best --player "cvlc --no-video" & livestreamer http://ustream.tv/channel/iss-hdev-payload best --player 'vlc -I dummy --video-wallpaper --no-video-title-show --noaudio'
fi

Improved bash script (Ubuntu specific)

(just select the path of a icon you want to be displayed with notifications, or delete the "Icon=" third line and both "-i $Icon" options)

#!/bin/bash
PS=`ps -ef`
Icon="/path/to/nasa_icon.png"

if echo "$PS"|grep -q 'vlc -I dummy';
    then notify-send -i $Icon "  ISS background OFF" \ "\"Houston, We've Got a Problem !\"";
    kill $(ps aux | grep 'vlc -I dummy' | awk '{print $2}')
else notify-send -i $Icon " ISS background ON" \ "Dowloading data from ISS...";
    livestreamer http://www.ustream.tv/embed/9408562?html5ui best --player "cvlc --no-video" & livestreamer http://ustream.tv/channel/iss-hdev-payload best --player 'vlc -I dummy --video-wallpaper --no-video-title-show --noaudio'
fi

Viewing latest article 1
Browse Latest Browse All 8

Trending Articles