min117の日記

初期desireもち。趣味Mac,メインFedora,仕事xp。

RaspberryPi 3 国際宇宙ステーションISSからのストリーミングustream映像をテレビに映す

 

このサイトの通りに進める。

Watch Live Video of Earth on your Raspberry Pi - miguelgrinberg.com

パッケージ管理ソフト python-pip のインストール(既に入ってた)。

$ sudo apt-get -y install python-pip

f:id:min117:20160504085603p:plain

pipを使ってlivestreamerのインストール。

$ sudo pip install livestreamer

f:id:min117:20160504085631p:plain

omxplayer を使ってテレビ(HDMI接続)に ustream の映像を映す。

$ livestreamer http://ustream.tv/channel/iss-hdev-payload mobile_480p --player omxplayer --fifo

f:id:min117:20160504085902p:plain

あれ?No stream found って言われる。そんな ustreamサイトは無いってことか。

違うな。python-librtmp is not installed ってあるから、ライブラリ足りなくてstream読めてないのか。

このへん参照にインストールしてみる。

https://pypi.python.org/pypi/python-librtmp

$ sudo pip install python-librtmp

f:id:min117:20160504091745p:plain

これもエラーになる。

ーーー

livestreamer でググったら、pip使わんでも、apt-getからインストールできるらしい。

Installation — Livestreamer 1.12.2 documentation

$ sudo apt-get -y install livestreamer

f:id:min117:20160504092341p:plain