LoginSignup
10
12

More than 5 years have passed since last update.

Amazon Prime video on Raspi3(raspbian jessie)

Last updated at Posted at 2016-12-18

Note: this entry is written only in English (because i didn't install IME yet. :sweat_smile: )
2017/01/13追記:日本語もかきました. English version below.

概要

ラスパイ3君でAmazonプライムビデオをみれたのでそのやり方を書きます。
ここを参考にすればいいんですが、この中で指定してあるライブラリファイルが足りてなかったのと、あとちょっと改善した点がありますので書きます。

手順概要
1. ChromiumブラウザのDL。(Jessieの最新版だと最初から入ってる)
2. ChromiumOSのDL。 (最新版が良いでしょう。)
3. ライブラリファイルをChromiumOSの中から抜き出してくる。
4. これでAmazonプライムビデオが見れます!

手順:
- Chromiumブラウザのインストール。(Jessieの最新版には最初から入ってます)
- aria21のインストール。sudo apt-get install aria2 (分割DL用)
- これからDLするChromiumOS解凍用に7Zipのインストール sudo apt-get install p7zip-full
- 最新のchromium-osをここからDLする。. (aria2c -x 16 <url> を使ったほうが早いですよ。大分。wgetでも良いけど。)
- ダウンロードしたOSイメージを解凍する 7z e <os-img.7z> . (だいたい3.5GB位 )
- kpartxのインストールsudo apt-get install kpartx (OSイメージをマップするツール)
- デバイスマップの作成 sudo kpartx -av <os-img>
- マウント用の適当なディレクトリ作成 mkdir /tmp/chromeos
- OSイメージをマウントしてファイルの中身をとってこれるようにする sudo mount -o loop,ro /dev/mapper/loop0p3 /tmp/chromeos/.
- マウントしたイメージのChromeのディレクトリに移動 cd /tmp/chromeos/opt/google/chrome/
- ライブラリファイルを、Chromiumのディレクトリにコピー
sudo cp lib* /usr/lib/chomium-browser/` (ここで、一部しか持ってこなかったので失敗してた。)
- 完了!!お手本ではuseragentを変えてますが、AmazonではそこまでやんなくてもOK牧場!

付録

  • pipelightとfirefoxの組み合わせを試そうとしましたがARMはサポートされてないのかな。
  • そもそも、Firefoxはめちゃ遅い。Chromium早い。
  • 見れるは見れるんですが、HDクオリティでは見れない。原因は細かく見てない。
  • フルスクリーンだとちょっとカクカクする。 → と思ってたけど、ソースがHDクオリティじゃないんだからRaspbianの解像度が1024x768以下でも問題無いわけなので、適宜変更したら大分ましになりました。

ということで、皆さんもAmazonプライムビデオ楽しんで下さい。
(以下は英語版。同じ内容です)


Abstract

I finally could see the amazon prime video on raspi3.
I referred this document basically, but lib file is not enough described in that document. And I have some other enhancements, here the tips.

Abstract of steps:
1. DL Chromium browser.
2. DL Chromium-os (latest seems better.)
3. Copy lib files from Chromium-os to local.
4. You can enjoy Amazon Prime video!!

Steps:
- install chromium-browser (or use latest raspbian jessie.)
- install aria2 by sudo apt-get install aria2. (for faster download)
- install 7zip by sudo apt-get install p7zip-full to unzip the chromium-os you are going to DL from the link below.
- download latest chromium-os from here. (better to use aria2c -x 16 <url> to save your time , or you can use wget.)
- unzip that os-img using 7z e <os-img.7z> . (the size of extracted file is around 3.5GB. )
- install kpartx by sudo apt-get install kpartx
- create device map sudo kpartx -av <os-img>
- create temp dir mkdir /tmp/chromeos
- mount chrome-os files sudo mount -o loop,ro /dev/mapper/loop0p3 /tmp/chromeos/.
- cd to files cd /tmp/chromeos/opt/google/chrome/
- copy libs to local
sudo cp lib* /usr/lib/chomium-browser/`
- Done!!! (you don't need to change "user agent" to see amazon prime)

Appendix

  • I tried to use firefox with pipelight, but couldn't. No ARM support?
  • btw, firefox is too slow anyway.
  • i could see videos on amazon prime, but not HD quality. I didn't investigate this yet.
  • view in full screen seems slow. (maybe it depends.) -> Because we can't see movies as HD quality, the resolution of raspbian can be set under 1024x768. it seems okey to me. try it.

I hope you enjoy the Amazon Prime videos this year-end holiday.

10
12
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10
12