2014年3月21日金曜日

ubuntu でsilverlightをみるソフトpipelight を入れてみる

書く価値があるのかどうかわからんがMSがflashに対抗して作った仕様に
silverlightってのがある。
http://www.microsoft.com/ja-jp/silverlight/default.aspx
↑これ

このsilverlightだがずっとubuntuで再生するにはmoonlightを
インストールってのが相場だった
実際ubuntuで上のサイトのダウンロードを選んでもそこに飛ばされる。
http://mono-project.com/Moonlight
が、現在そこには何もない。

Moonlight is an open source implementation of Silverlight, primarily for Linux and other Unix/X11 based operating systems. The last Moonlight release (Moonlight 4 Preview 1) provides support for most features of Silverlight 3, as well as compatibility with Silverlight 4. The Mono project does not provide binary downloads for Moonlight; however, packages for most Linux distributions can be found online, either in official distro package repositories, or provided by popular third-party repositories.

と書いてあるのみ。
ここではバイナリパッケージをダウンロードできないけど ほとんどのLinuxディストリならオンラインとか公式、サードパーティのリポジトリで見つかる。
と書いてある。

がubuntu用のmoonlightは私の探し方がわるいのか全く見つけられない。
どうもubuntuはもはや”most Linux distributions ”ではないらしい。

じゃあどうすればいいのかってことなのだが実はこれとは別に再生ソフトがあるのを
昨日知った。pipelight というらしいです。
http://ubuntuhandbook.org/index.php/2013/12/pipelight-silverlight-in-linux-ubuntu-ppa/
今回の情報元はこれ

入れ方は端末から
sudo add-apt-repository ppa:pipelight/stable
のあと
sudo apt-get update; sudo apt-get install pipelight
でインストール

最後にこういう怪しげな記述が出る 
The following modules require a license confirmation before they can be enabled: [*] Microsoft Silverlight 5.1 By continuing the installation you agree that you've read and accepted the MICROSOFT SOFTWARE LICENSE TERMS: http://go.microsoft.com/fwlink/?LinkId=229303 Microsoft Silverlight Privacy Statement: http://go.microsoft.com/fwlink/?LinkId=229306 To find out more click here: http://www.microsoft.com/silverlight/ [*] mpg2splt.ax This library is part of the Microsoft DirectX End-User Runtime. By continuing the installation you agree that you've read and accepted the Microsoft Software License Terms. You can find them in /usr/share/pipelight/licenses/license-mpg2splt.txt To find out more click here: http://www.microsoft.com/en-us/download/details.aspx?id=35 The following modules are marked as optional dependencies: [*] wininet.dll [OPTIONAL] This wininet.dll library is a debug version provided for the Microsoft Internet Explorer. By continuing the installation you agree that you've read and accepted the license terms. You can find them in /usr/share/pipelight/licenses/license-wininet.txt To find out more click here: http://www.microsoft.com/en-us/download/details.aspx?id=11434 To agree to this license run (for each user who wants to use this module): touch $HOME/.config/wine-wininet-installer.accept-license Plugin silverlight5.1 is now enabled

よくわからんがwineと協調して動くものらしい。
仕方ないので
touch $HOME/.config/wine-wininet-installer.accept-license

をしたあとでfirefoxを起動すると見たこともないような初期化ルーチンがしばらく動く。
その後見えるようになった
動作確認は
ここの動画が見えるとOKということらしい。
とりあえずこんな感じで。
 
ここで強調したいのはDRM(著作権保護)があるものも再生するということ
これがmoonlightとのもっとも重要な違い。
ある種の動画を集めているひとにはたまらん情報だろう。
この違いはpipelightが内部にsilverlightを取り込んでいることから来ている。
またwindow media player 10がwine で使えることも考えると
DRM(デジタル著作権)動画がLinuxで見れないってのは
過去の話になりつつあるのかもしれない