User avatar
kusti8
Posts: 3441
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

GUIDE: Netflix on a Pi2 or Pi3

Mon Mar 06, 2017 12:49 am

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
Last edited by kusti8 on Wed Mar 15, 2017 9:12 pm, edited 1 time in total.
There are 10 types of people: those who understand binary and those who don't.

User avatar
knuxyl
Posts: 33
Joined: Sun Feb 26, 2017 1:42 am

Re: GUIDE: Netflix on a Pi2 or Pi3

Mon Mar 06, 2017 1:49 am

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!
Last edited by knuxyl on Mon Mar 06, 2017 2:47 am, edited 2 times in total.

ktb
Posts: 1380
Joined: Fri Dec 26, 2014 7:53 pm

Re: GUIDE: Netflix on a Pi2 or Pi3

Mon Mar 06, 2017 2:09 am

Nice work, kusti8. :)

User avatar
knuxyl
Posts: 33
Joined: Sun Feb 26, 2017 1:42 am

Re: GUIDE: Netflix on a Pi2 or Pi3

Mon Mar 06, 2017 2:48 am

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!

gkreidl
Posts: 5301
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: GUIDE: Netflix on a Pi2 or Pi3

Mon Mar 06, 2017 6:14 am

Which libgcrypt version does it use (11 = Wheezy o 20 = Jessie)?
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

User avatar
knuxyl
Posts: 33
Joined: Sun Feb 26, 2017 1:42 am

Re: GUIDE: Netflix on a Pi2 or Pi3

Mon Mar 06, 2017 7:48 am

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.

gkreidl
Posts: 5301
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: GUIDE: Netflix on a Pi2 or Pi3

Mon Mar 06, 2017 8:41 am

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.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

User avatar
kusti8
Posts: 3441
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: GUIDE: Netflix on a Pi2 or Pi3

Mon Mar 06, 2017 11:08 am

gkreidl wrote:Which libgcrypt version does it use (11 = Wheezy o 20 = Jessie)?
It uses Jessie. Tested on the latest Raspbian Jessie pixel.
There are 10 types of people: those who understand binary and those who don't.

cjan
Posts: 473
Joined: Sun May 06, 2012 12:00 am

Re: GUIDE: Netflix on a Pi2 or Pi3

Mon Mar 06, 2017 12:28 pm

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

User avatar
kusti8
Posts: 3441
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: GUIDE: Netflix on a Pi2 or Pi3

Mon Mar 06, 2017 7:24 pm

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
There are 10 types of people: those who understand binary and those who don't.

funkyberlin
Posts: 2
Joined: Sun Mar 05, 2017 6:09 pm

Re: GUIDE: Netflix on a Pi2 or Pi3

Mon Mar 06, 2017 8:25 pm

work for me, thanks

blackholebear
Posts: 1
Joined: Mon Mar 06, 2017 10:46 pm

Re: GUIDE: Netflix on a Pi2 or Pi3

Mon Mar 06, 2017 10:49 pm

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.

User avatar
kusti8
Posts: 3441
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: GUIDE: Netflix on a Pi2 or Pi3

Tue Mar 07, 2017 11:24 am

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.
There are 10 types of people: those who understand binary and those who don't.

volgera
Posts: 1
Joined: Sat Mar 11, 2017 6:45 pm

Re: GUIDE: Netflix on a Pi2 or Pi3

Sat Mar 11, 2017 6:48 pm

Worked perfectly on my PI 3.

hook69
Posts: 1
Joined: Wed Mar 15, 2017 7:32 pm

Re: GUIDE: Netflix on a Pi2 or Pi3

Wed Mar 15, 2017 7:34 pm

Could you reupload the file? Looks like they've erased it.
Thank you

User avatar
kusti8
Posts: 3441
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: GUIDE: Netflix on a Pi2 or Pi3

Wed Mar 15, 2017 9:12 pm

hook69 wrote:Could you reupload the file? Looks like they've erased it.
Thank you
For some reason Dropbox unshared it. Moved to github.
There are 10 types of people: those who understand binary and those who don't.

noggin
Posts: 25
Joined: Sun Feb 21, 2016 1:55 pm

Re: GUIDE: Netflix on a Pi2 or Pi3

Thu Mar 16, 2017 9:18 am

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?

slainco
Posts: 2
Joined: Thu Mar 16, 2017 11:56 am

Re: GUIDE: Netflix on a Pi2 or Pi3

Thu Mar 16, 2017 12:01 pm

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

User avatar
kusti8
Posts: 3441
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: GUIDE: Netflix on a Pi2 or Pi3

Thu Mar 16, 2017 6:26 pm

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.
There are 10 types of people: those who understand binary and those who don't.

slainco
Posts: 2
Joined: Thu Mar 16, 2017 11:56 am

Re: GUIDE: Netflix on a Pi2 or Pi3

Thu Mar 16, 2017 7:41 pm

Thank you !

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

So Big thanks :)

caporeira
Posts: 73
Joined: Sun Aug 25, 2013 5:58 pm

Re: GUIDE: Netflix on a Pi2 or Pi3

Mon Mar 20, 2017 9:55 pm

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 :(

User avatar
kusti8
Posts: 3441
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: GUIDE: Netflix on a Pi2 or Pi3

Mon Mar 20, 2017 11:43 pm

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.
There are 10 types of people: those who understand binary and those who don't.

auredor
Posts: 2
Joined: Tue Mar 21, 2017 12:05 pm

Re: GUIDE: Netflix on a Pi2 or Pi3

Tue Mar 21, 2017 12:18 pm

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.

User avatar
kusti8
Posts: 3441
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: GUIDE: Netflix on a Pi2 or Pi3

Tue Mar 21, 2017 6:45 pm

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.
There are 10 types of people: those who understand binary and those who don't.

auredor
Posts: 2
Joined: Tue Mar 21, 2017 12:05 pm

Re: GUIDE: Netflix on a Pi2 or Pi3

Wed Mar 22, 2017 11:59 am

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

Return to “General discussion”

Who is online

Users browsing this forum: No registered users and 64 guests