Page 1 of 3

GUIDE: Netflix on a Pi2 or Pi3

Posted: Mon Mar 06, 2017 12:49 am
by kusti8
Hello. I've finally gotten around to compiling Chromium with widevine support, which means Netflix support. I've made a package which includes all the files necessary, using some portions from thatguruguy's initial package.

Code: Select all

wget https://github.com/kusti8/chromium-build/releases/download/netflix-1.0.0/chromium-browser_56.0.2924.84-0ubuntu0.14.04.1.1011.deb
sudo dpkg -i chromium-browser_56.0.2924.84-0ubuntu0.14.04.1.1011.deb
That's it. You'll find the launcher in Internet, called Netflix-Launcher.

kusti8

Re: GUIDE: Netflix on a Pi2 or Pi3

Posted: Mon Mar 06, 2017 1:49 am
by knuxyl
look's like you have a better package than what I was grabbing from Chrome OS. I'm testing it now

I installed it over my existing chromium-browser and it would not connect to the internet. I don't want to uninstall chromium-browser through apt-get because rpi-chromium-mods gets uninstalled so i just deleted /usr/lib/chromium-browser and I'm reinstalling the .deb package.

Tested and Chromium does not successfully connect to the internet. Thanks though.

Edit, it just took forever on first launch, now I'm not having problems. Netflix is working too, but only with the --user-agent-flag. Smooth playback as well. Thanks!

Re: GUIDE: Netflix on a Pi2 or Pi3

Posted: Mon Mar 06, 2017 2:09 am
by ktb
Nice work, kusti8. :)

Re: GUIDE: Netflix on a Pi2 or Pi3

Posted: Mon Mar 06, 2017 2:48 am
by knuxyl
I found out it's not just first launch, everytime I open Chromium it takes forever to load the first page, if it even gets to it. I don't know what the problem is. I tried with launcher and standard shortcut. It's a 20% chance it will work. This issue isn't related to the Netflix support.

edit
The problem was me having wifi and ethernet at same time. Chromium works perfect. Thanks!

Re: GUIDE: Netflix on a Pi2 or Pi3

Posted: Mon Mar 06, 2017 6:14 am
by gkreidl
Which libgcrypt version does it use (11 = Wheezy o 20 = Jessie)?

Re: GUIDE: Netflix on a Pi2 or Pi3

Posted: Mon Mar 06, 2017 7:48 am
by knuxyl
gkreidl wrote:Which libgcrypt version does it use (11 = Wheezy o 20 = Jessie)?
I can confirm this works with libgcrypt11_1.5.0-5. I'm not sure about any other version.

Re: GUIDE: Netflix on a Pi2 or Pi3

Posted: Mon Mar 06, 2017 8:41 am
by gkreidl
knuxyl wrote:
gkreidl wrote:Which libgcrypt version does it use (11 = Wheezy o 20 = Jessie)?
I can confirm this works with libgcrypt11_1.5.0-5. I'm not sure about any other version.
That's the Wheezie version and has been replaced in Jessie by libgcrypt20.
I have both on my system because it has been upgraded from Wheezy and I didn't purge old libraries.

Re: GUIDE: Netflix on a Pi2 or Pi3

Posted: Mon Mar 06, 2017 11:08 am
by kusti8
gkreidl wrote:Which libgcrypt version does it use (11 = Wheezy o 20 = Jessie)?
It uses Jessie. Tested on the latest Raspbian Jessie pixel.

Re: GUIDE: Netflix on a Pi2 or Pi3

Posted: Mon Mar 06, 2017 12:28 pm
by cjan
got error

Code: Select all

$ sudo dpkg -i chromium-browser_56.0.2924.84-0ubuntu0.14.04.1.1011.deb 
(Reading database ... 134347 files and directories currently installed.)
Preparing to unpack chromium-browser_56.0.2924.84-0ubuntu0.14.04.1.1011.deb ...
Unpacking chromium-browser (56.0.2924.84-0ubuntu0.14.04.1.1011) over (56.0.2924.84-0ubuntu0.14.04.1.1000) ...
dpkg: error processing archive chromium-browser_56.0.2924.84-0ubuntu0.14.04.1.1011.deb (--install):
trying to overwrite '/usr/share/pixmaps/netflix-launcher.png', which is also in package netflix-launcher 1.0-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for hicolor-icon-theme (0.13-1) ...
Errors were encountered while processing:
chromium-browser_56.0.2924.84-0ubuntu0.14.04.1.1011.deb

Re: GUIDE: Netflix on a Pi2 or Pi3

Posted: Mon Mar 06, 2017 7:24 pm
by kusti8
cjan wrote:got error

Code: Select all

$ sudo dpkg -i chromium-browser_56.0.2924.84-0ubuntu0.14.04.1.1011.deb 
(Reading database ... 134347 files and directories currently installed.)
Preparing to unpack chromium-browser_56.0.2924.84-0ubuntu0.14.04.1.1011.deb ...
Unpacking chromium-browser (56.0.2924.84-0ubuntu0.14.04.1.1011) over (56.0.2924.84-0ubuntu0.14.04.1.1000) ...
dpkg: error processing archive chromium-browser_56.0.2924.84-0ubuntu0.14.04.1.1011.deb (--install):
trying to overwrite '/usr/share/pixmaps/netflix-launcher.png', which is also in package netflix-launcher 1.0-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for hicolor-icon-theme (0.13-1) ...
Errors were encountered while processing:
chromium-browser_56.0.2924.84-0ubuntu0.14.04.1.1011.deb
It's because you have Netflix-launcher installed. You have to remove it :
sudo apt-get purge netflix-launcher

Re: GUIDE: Netflix on a Pi2 or Pi3

Posted: Mon Mar 06, 2017 8:25 pm
by funkyberlin
work for me, thanks

Re: GUIDE: Netflix on a Pi2 or Pi3

Posted: Mon Mar 06, 2017 10:49 pm
by blackholebear
Hi, is it compatible with Kodi?
I got this result:

Code: Select all

dpkg: dependency problems prevent configuration of chromium-browser:
 chromium-browser depends on gconf-service; however:
  Package gconf-service is not installed.
 chromium-browser depends on libraspberrypi0; however:
  Package libraspberrypi0 is not installed.
 chromium-browser depends on libatk1.0-0 (>= 1.12.4); however:
  Package libatk1.0-0 is not installed.
 chromium-browser depends on libcairo2 (>= 1.6.0); however:
  Package libcairo2 is not installed.
 chromium-browser depends on libgconf-2-4 (>= 2.31.1); however:
  Package libgconf-2-4 is not installed.
 chromium-browser depends on libgdk-pixbuf2.0-0 (>= 2.22.0); however:
  Package libgdk-pixbuf2.0-0 is not installed.
 chromium-browser depends on libgtk2.0-0 (>= 2.24.0); however:
  Package libgtk2.0-0 is not installed.
 chromium-browser depends on libnspr4 (>= 2:4.9-2~) | libnspr4-0d (>= 1.8.0.10); however:
  Package libnspr4 is not installed.
  Package libnspr4-0d is not installed.
 chromium-browser depends on libnss3 (>= 2:3.13.4-2~) | libnss3-1d (>= 3.
dpkg: error processing package chromium-browser (--install):
 dependency problems - leaving unconfigured
Processing triggers for mime-support (3.58) ...
Errors were encountered while processing:
 chromium-browser
Thank you, guys.

Re: GUIDE: Netflix on a Pi2 or Pi3

Posted: Tue Mar 07, 2017 11:24 am
by kusti8
If it is Raspbian then yes. Kodi isn't an operating system and it seems you are using openelec or OSMC where it won't work.

Re: GUIDE: Netflix on a Pi2 or Pi3

Posted: Sat Mar 11, 2017 6:48 pm
by volgera
Worked perfectly on my PI 3.

Re: GUIDE: Netflix on a Pi2 or Pi3

Posted: Wed Mar 15, 2017 7:34 pm
by hook69
Could you reupload the file? Looks like they've erased it.
Thank you

Re: GUIDE: Netflix on a Pi2 or Pi3

Posted: Wed Mar 15, 2017 9:12 pm
by kusti8
hook69 wrote:Could you reupload the file? Looks like they've erased it.
Thank you
For some reason Dropbox unshared it. Moved to github.

Re: GUIDE: Netflix on a Pi2 or Pi3

Posted: Thu Mar 16, 2017 9:18 am
by noggin
I did this on a stock install of Pixel, nothing else installed, just connected to my WiFi network and did an

Code: Select all

sudo apt-get update
I followed the instructions, and all went well. However on trying to play Netflix content I got the 'uh oh - something went wrong' error message. However after a reboot, all worked well, so it may be a reboot is needed after installation before testing?

Re: GUIDE: Netflix on a Pi2 or Pi3

Posted: Thu Mar 16, 2017 12:01 pm
by slainco
First thanks for all the work :)
But stioll not working for me..
When i put the second line of command :
sudo dpkg -i chromium-browser_56.0.2924.84-0ubuntu0.14.04.1.1011.deb
I got this message :
(Reading database ... 131670 files and directories currently installed.)
Preparing to unpack chromium-browser_56.0.2924.84-0ubuntu0.14.04.1.1011.deb ...
Unpacking chromium-browser (56.0.2924.84-0ubuntu0.14.04.1.1011) over (56.0.2924.84-0ubuntu0.14.04.1.1000) ...
dpkg-deb (subprocess): cannot copy archive member from 'chromium-browser_56.0.2924.84-0ubuntu0.14.04.1.1011.deb' to decompressor pipe: unexpected end of file or stream
dpkg-deb (subprocess): decompressing archive member: lzma error: unexpected end of input
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing archive chromium-browser_56.0.2924.84-0ubuntu0.14.04.1.1011.deb (--install):
cannot copy extracted data for './usr/share/doc/chromium-browser/copyright' to '/usr/share/doc/chromium-browser/copyright.dpkg-new': unexpected end of file or stream
Errors were encountered while processing:
chromium-browser_56.0.2924.84-0ubuntu0.14.04.1.1011.deb

Re: GUIDE: Netflix on a Pi2 or Pi3

Posted: Thu Mar 16, 2017 6:26 pm
by kusti8
slainco wrote:First thanks for all the work :)
But stioll not working for me..
When i put the second line of command :
sudo dpkg -i chromium-browser_56.0.2924.84-0ubuntu0.14.04.1.1011.deb
I got this message :
(Reading database ... 131670 files and directories currently installed.)
Preparing to unpack chromium-browser_56.0.2924.84-0ubuntu0.14.04.1.1011.deb ...
Unpacking chromium-browser (56.0.2924.84-0ubuntu0.14.04.1.1011) over (56.0.2924.84-0ubuntu0.14.04.1.1000) ...
dpkg-deb (subprocess): cannot copy archive member from 'chromium-browser_56.0.2924.84-0ubuntu0.14.04.1.1011.deb' to decompressor pipe: unexpected end of file or stream
dpkg-deb (subprocess): decompressing archive member: lzma error: unexpected end of input
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing archive chromium-browser_56.0.2924.84-0ubuntu0.14.04.1.1011.deb (--install):
cannot copy extracted data for './usr/share/doc/chromium-browser/copyright' to '/usr/share/doc/chromium-browser/copyright.dpkg-new': unexpected end of file or stream
Errors were encountered while processing:
chromium-browser_56.0.2924.84-0ubuntu0.14.04.1.1011.deb
Looks like a corrupted download. Delete the file and then try again.

Re: GUIDE: Netflix on a Pi2 or Pi3

Posted: Thu Mar 16, 2017 7:41 pm
by slainco
Thank you !

With that and the User-Agent Switcher of chrome and it for the first time worked !!

So Big thanks :)

Re: GUIDE: Netflix on a Pi2 or Pi3

Posted: Mon Mar 20, 2017 9:55 pm
by caporeira
I have Pi2 and have installed all from first post.
Now, how to run Netflix (step by step) ?

I founded Netflix App but cost 3.69 Euro :(

Re: GUIDE: Netflix on a Pi2 or Pi3

Posted: Mon Mar 20, 2017 11:43 pm
by kusti8
caporeira wrote:I have Pi2 and have installed all from first post.
Now, how to run Netflix (step by step) ?

I founded Netflix App but cost 3.69 Euro :(
Go to the Start Menu, then Internet, and then Netflix Launcher.

Re: GUIDE: Netflix on a Pi2 or Pi3

Posted: Tue Mar 21, 2017 12:18 pm
by auredor
Thank you Kusti8 for the package.

I did all the same than you. After few updates to get Pixel on my PI2, I've finally got Netflix working on it. :D :D

However, the video is not playing very smooth. From browsse infomation, it looks that there are about 11 fps... even with Chrome user Agent selection
When lauching chromium-browser from a terminal, there are several errors related to the GPU : ERROR:browser_gpu_channel_host_factory.cc(113)] Failed to launch GPU process

So, I believe this is the cause of my issue. Looking on Internet, it seems there were similar cases but with previous Chromium version (43). Those were fixed by chromium update !!! I guess then it's supposed to be included with Chromium 56 ?

Thanks.

Re: GUIDE: Netflix on a Pi2 or Pi3

Posted: Tue Mar 21, 2017 6:45 pm
by kusti8
auredor wrote:Thank you Kusti8 for the package.

I did all the same than you. After few updates to get Pixel on my PI2, I've finally got Netflix working on it. :D :D

However, the video is not playing very smooth. From browsse infomation, it looks that there are about 11 fps... even with Chrome user Agent selection
When lauching chromium-browser from a terminal, there are several errors related to the GPU : ERROR:browser_gpu_channel_host_factory.cc(113)] Failed to launch GPU process

So, I believe this is the cause of my issue. Looking on Internet, it seems there were similar cases but with previous Chromium version (43). Those were fixed by chromium update !!! I guess then it's supposed to be included with Chromium 56 ?

Thanks.
It is going to be very slow on a Pi2. A Pi3 would speed it up and then I get around 20 frames or something like that.

Re: GUIDE: Netflix on a Pi2 or Pi3

Posted: Wed Mar 22, 2017 11:59 am
by auredor
kusti8 wrote:
auredor wrote:Thank you Kusti8 for the package.

I did all the same than you. After few updates to get Pixel on my PI2, I've finally got Netflix working on it. :D :D

However, the video is not playing very smooth. From browsse infomation, it looks that there are about 11 fps... even with Chrome user Agent selection
When lauching chromium-browser from a terminal, there are several errors related to the GPU : ERROR:browser_gpu_channel_host_factory.cc(113)] Failed to launch GPU process

So, I believe this is the cause of my issue. Looking on Internet, it seems there were similar cases but with previous Chromium version (43). Those were fixed by chromium update !!! I guess then it's supposed to be included with Chromium 56 ?

Thanks.
It is going to be very slow on a Pi2. A Pi3 would speed it up and then I get around 20 frames or something like that.
Pi2 is supposed to manage at least 1080p up to 30fps.
Do you have simalar GPU error messages while looking at your chromium-browser terminal ?
My feeling is that my pi doesn't use properly GPU accelerator.

Another tought. Is there a way within your pack dev to reduce netflix resolution to increase frame rate ?

Thanks