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

Re: Netflix on Pi 2

Wed Oct 12, 2016 6:00 pm

thatguruguy wrote:Has anyone been able to get this up and running on the newest version of Raspbian with the included Chromium? Following the instructions given above, I now have Widevine showing up under chrome://plugins, but neither Netflix nor Amazon Prime recognize that I have Widevine installed.
Change the user agent to:
"Mozilla/5.0 (X11; CrOS armv7l 6946.86.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.91 Safari/537.36"
There are 10 types of people: those who understand binary and those who don't.

thatguruguy
Posts: 6
Joined: Tue Oct 11, 2016 3:00 pm

Re: Netflix on Pi 2

Thu Oct 13, 2016 12:42 am

No joy. I receive the message "Whoops something went wrong" with error code C7702-1003 from Netflix that people reported earlier in the thread.

NeetfliixOnPiPlease
Posts: 1
Joined: Thu Oct 13, 2016 7:06 am

Re: Netflix on Pi 2

Thu Oct 13, 2016 7:14 am

thatguruguy wrote:No joy. I receive the message "Whoops something went wrong" with error code C7702-1003 from Netflix that people reported earlier in the thread.
Saaaame!!!! Help!!!!

thatguruguy
Posts: 6
Joined: Tue Oct 11, 2016 3:00 pm

Re: Netflix on Pi 2

Sat Oct 15, 2016 2:04 am

Re-downloaded the chromeos image and got new copies of the widevine libraries, and now it works! Both Netflix and Amazon are working. Thanks for everyone's hard work and guidance.

akha
Posts: 1
Joined: Thu Oct 20, 2016 1:29 am

Re: Netflix on Pi 2

Thu Oct 20, 2016 1:32 am

I've been following this thread, and I feel the waters have been muddied a little:
- Are people follow ruralguru's, sysq's, or some other guide entirely?
- What base OS are these guides based on?

thatguruguy
Posts: 6
Joined: Tue Oct 11, 2016 3:00 pm

Re: Netflix on Pi 2

Mon Oct 24, 2016 7:46 pm

akha wrote:I've been following this thread, and I feel the waters have been muddied a little:
- Are people follow ruralguru's, sysq's, or some other guide entirely?
- What base OS are these guides based on?
The base OS is the most recent Raspbian with PIXEL. Or PIXEL Powered by Raspbian. See here: https://www.raspberrypi.org/blog/introducing-pixel/

The guide I followed was ruralguru's, although there are a few steps left out and there are a few differences (for instance, the user agent). When I get a chance, I'll post a new guide, including finding a place to host the two widevine libs, so you don't have to extract them from the recovery image yourself.

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5105
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Netflix on Pi 2

Mon Oct 24, 2016 9:44 pm

thatguruguy wrote:The guide I followed was ruralguru's, although there are a few steps left out and there are a few differences (for instance, the user agent). When I get a chance, I'll post a new guide, including finding a place to host the two widevine libs, so you don't have to extract them from the recovery image yourself.
That would be very useful.

Gregoir3
Posts: 2
Joined: Tue Oct 25, 2016 6:56 am

Re: Netflix on Pi 2

Tue Oct 25, 2016 7:54 am

I've gotten everything to work. Netflix plays in the Chromium browser (a bit choppy but no idea what to do about it).
Next for me is how to make it play nice with Flix2Kodi. Switch from OSMC to browser and back. If it's only a X11 server issue, installing it should work.
Raspberry Pi 2
Samsung TV (C series)
Samsung Remote

thatguruguy
Posts: 6
Joined: Tue Oct 11, 2016 3:00 pm

Re: Netflix on Pi 2

Fri Oct 28, 2016 1:37 pm

Sorry I haven't had time to re-do the tutorial. I have, however, created a .deb file which will:
1. Install the widevide libraries automatically, if you have chromium installed, and
2. create a launcher for netflix with the appropriate user-agent and place it in your "Internet" menu.

You can download the .deb file here: http://s000.tinyupload.com/index.php?fi ... 9860659634

EDIT: Please feel free to let me know if the file works for you as intended.

NeetfliixIsNowOnPi
Posts: 2
Joined: Sat Oct 29, 2016 6:48 am

Re: Netflix on Pi 2

Sat Oct 29, 2016 6:57 am

thatguruguy wrote:Sorry I haven't had time to re-do the tutorial. I have, however, created a .deb file which will:
1. Install the widevide libraries automatically, if you have chromium installed, and
2. create a launcher for netflix with the appropriate user-agent and place it in your "Internet" menu.

You can download the .deb file here: http://s000.tinyupload.com/index.php?fi ... 9860659634

EDIT: Please feel free to let me know if the file works for you as intended.
Your file works great, thanks! Just had to install your file and launch the browser from the console with this: chromium-browser --use-gl=egl --user-agent="Mozilla/5.0 (X11; CrOS armv7l 6946.86.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.91 Safari/537.36"

thatguruguy
Posts: 6
Joined: Tue Oct 11, 2016 3:00 pm

Re: Netflix on Pi 2

Sat Oct 29, 2016 4:01 pm

NeetfliixIsNowOnPi wrote: Your file works great, thanks! Just had to install your file and launch the browser from the console with this: chromium-browser --use-gl=egl --user-agent="Mozilla/5.0 (X11; CrOS armv7l 6946.86.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.91 Safari/537.36"
It's even easier than that. If you look under "Internet" in your applications menu, you should see the Netflix-Launcher. If you click on that, it will launch Chromium automatically with the correct user-agent string, and it will already be pointed to Netflix.com. You can also right-click on the launcher to add it to your desktop, if you so choose. No need to open the terminal just to launch chromium.

NeetfliixIsNowOnPi
Posts: 2
Joined: Sat Oct 29, 2016 6:48 am

Re: Netflix on Pi 2

Sat Oct 29, 2016 4:58 pm

thatguruguy wrote:
NeetfliixIsNowOnPi wrote: Your file works great, thanks! Just had to install your file and launch the browser from the console with this: chromium-browser --use-gl=egl --user-agent="Mozilla/5.0 (X11; CrOS armv7l 6946.86.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.91 Safari/537.36"
It's even easier than that. If you look under "Internet" in your applications menu, you should see the Netflix-Launcher. If you click on that, it will launch Chromium automatically with the correct user-agent string, and it will already be pointed to Netflix.com. You can also right-click on the launcher to add it to your desktop, if you so choose. No need to open the terminal just to launch chromium.
The first time I tried launching like that it gave me an error on Netflix's site. Now I tried again and it works great, thanks again! Now is there anything we could do to make the video just a bit faster? I get 7 dropped frames on average fullscreen 512x384 and 0-4 dropped frames not fullscreen 512x384. Edit: this is on raspberry pi 3

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5105
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Netflix on Pi 2

Sun Oct 30, 2016 2:46 pm

@thatguruguy your deb file worked for me. Thanks.

Netflix doesn't go through the HW accelerated video decode path, hence the lower performance.

My understanding is that widevine supports a DECRYPT and a DECRYPT+DECODE profile.
If the DECRYPT profile is used, then ffmpeg will decode the video and our HW acceleration will be effective.
If the DECRYPT+DECODE profile is used, then widevine will decode the video and our HW acceleration will be bypassed.

I'm not sure if the choice of profile is server side, or related to the version of widevine used.

Overclocking will help performance. Using the experimental GL driver (+ enabling HW accelerated composition options in chromium) may help.

laurentO
Posts: 2
Joined: Sat Nov 05, 2016 6:34 pm

Re: Netflix on Pi 2

Sun Nov 06, 2016 10:32 am

thatguruguy wrote:Sorry I haven't had time to re-do the tutorial. I have, however, created a .deb file which will:
1. Install the widevide libraries automatically, if you have chromium installed, and
2. create a launcher for netflix with the appropriate user-agent and place it in your "Internet" menu.

You can download the .deb file here: http://s000.tinyupload.com/index.php?fi ... 9860659634

EDIT: Please feel free to let me know if the file works for you as intended.
It works !!
After hours spent to get chromium load the widevide libraries without success, your .deb file made it work at my first try on my "PI3 + last raspbian (pixel) + Kodi 16.1 + flix2kodi 0.66" system.

Good job and many thanks !

Now chromium plays my netflix video BUT I've got another issue:
kodi doesn't display the video after clicking on a file.
It displays the video list but the chromium launcher is displayed on another device (or screen), the one with the pixel desktop, not on the one used by Kodi.
I don't know how to solve that until now.
I've tried several options for chromium start (command line switches), I've tried to boot on console mode, also tried to disabling vnc server, without success

I'll try to change the chromium launcher script, as described a few line before :roll:

casetero
Posts: 6
Joined: Mon Nov 07, 2016 12:07 pm

Re: Netflix on Pi 2

Mon Nov 07, 2016 12:14 pm

Hi there,

Sorry for my english and my noob kwnoledge about linux.

I have installed the last chormium version and im trying to install the .deb file of above.

I place it in the desktop of raspbian and double click on it. It shows me an error and cant install it. Do i have to place it in another place??

If i achieve to install this file, is there anyway to see netflix from KODI ( installed in my raspbian), or do i have to see netflix under chromium in the raspbian desktop??

Thank you!

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

Re: Netflix on Pi 2

Mon Nov 07, 2016 12:18 pm

casetero wrote:Hi there,

Sorry for my english and my noob kwnoledge about linux.

I have installed the last chormium version and im trying to install the .deb file of above.

I place it in the desktop of raspbian and double click on it. It shows me an error and cant install it. Do i have to place it in another place??

If i achieve to install this file, is there anyway to see netflix from KODI ( installed in my raspbian), or do i have to see netflix under chromium in the raspbian desktop??

Thank you!
It will only be in Chromium. Go to the terminal:

Code: Select all

cd [location of deb]
sudo dpkg -i [name of the deb]
There are 10 types of people: those who understand binary and those who don't.

casetero
Posts: 6
Joined: Mon Nov 07, 2016 12:07 pm

Re: Netflix on Pi 2

Mon Nov 07, 2016 2:57 pm

Thank you!!

It will be installed in the correct place no matter where the file .deb is placed??

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

Re: Netflix on Pi 2

Mon Nov 07, 2016 4:13 pm

casetero wrote:Thank you!!

It will be installed in the correct place no matter where the file .deb is placed??
Yeah
There are 10 types of people: those who understand binary and those who don't.

Gregoir3
Posts: 2
Joined: Tue Oct 25, 2016 6:56 am

Re: Netflix on Pi 2

Thu Nov 10, 2016 5:23 pm

laurentO wrote:
thatguruguy wrote:Sorry I haven't had time to re-do the tutorial. I have, however, created a .deb file which will:
1. Install the widevide libraries automatically, if you have chromium installed, and
2. create a launcher for netflix with the appropriate user-agent and place it in your "Internet" menu.

You can download the .deb file here: http://s000.tinyupload.com/index.php?fi ... 9860659634

EDIT: Please feel free to let me know if the file works for you as intended.
It works !!
After hours spent to get chromium load the widevide libraries without success, your .deb file made it work at my first try on my "PI3 + last raspbian (pixel) + Kodi 16.1 + flix2kodi 0.66" system.

Good job and many thanks !

Now chromium plays my netflix video BUT I've got another issue:
kodi doesn't display the video after clicking on a file.
It displays the video list but the chromium launcher is displayed on another device (or screen), the one with the pixel desktop, not on the one used by Kodi.
I don't know how to solve that until now.
I've tried several options for chromium start (command line switches), I've tried to boot on console mode, also tried to disabling vnc server, without success

I'll try to change the chromium launcher script, as described a few line before :roll:

I had the same issue and tried to switch screens by using;
export DISPLAY=:0.0
xdotool getactivewindow

I got my remote to work this way but I could never switch back. Besides Flix2kodi tries to grab the stream.
Raspberry Pi 2
Samsung TV (C series)
Samsung Remote

laurentO
Posts: 2
Joined: Sat Nov 05, 2016 6:34 pm

Re: Netflix on Pi 2

Thu Nov 10, 2016 5:57 pm

Hi,
export DISPLAY=:0.0
xdotool getactivewindow
I'll try that as soon as I'll get time

thanks for the idea !

Modifying the script as I intended to was a bad idea: it didn't work at all but as I changed the .bashrc file for the pi user ..... it broke all the login shells (I should had take care of that) no more VNC, no more SSH, no more access to my system.
I had to mount my filesystem on another rasbian system to remove this file and repair my mess.

PackElend
Posts: 5
Joined: Mon Nov 21, 2016 1:18 pm

Re: Netflix on Pi 2

Mon Nov 21, 2016 8:52 pm

Hallo
Any progress is there finally a smooth and convenient solution for showing content of drm sites on the raspberry

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

Re: Netflix on Pi 2

Tue Nov 22, 2016 12:29 am

PackElend wrote:Hallo
Any progress is there finally a smooth and convenient solution for showing content of drm sites on the raspberry
It's not perfect but it works...
viewtopic.php?p=1059802#p1059802
There are 10 types of people: those who understand binary and those who don't.

PackElend
Posts: 5
Joined: Mon Nov 21, 2016 1:18 pm

Re: Netflix on Pi 2

Fri Nov 25, 2016 4:27 pm

Do you mean the .deb file from thatguruguy, posted on Fri Oct 28, 2016 1:37 pm?
There is still a problem with the HW acceleration of videos but the Rasp. Pi Org says that YouTube shell run smoothly on the Pi 3.

Btw. Pixel comes with Chromium V. 51.0.2704.91, if anyone would like to know.

User avatar
fruitoftheloom
Posts: 14935
Joined: Tue Mar 25, 2014 12:40 pm
Location: Bognor Regis UK

Re: Netflix on Pi 2

Fri Nov 25, 2016 4:45 pm

PackElend wrote:Do you mean the .deb file from thatguruguy, posted on Fri Oct 28, 2016 1:37 pm?
There is still a problem with the HW acceleration of videos but the Rasp. Pi Org says that YouTube shell run smoothly on the Pi 3.

Btw. Pixel comes with Chromium V. 51.0.2704.91, if anyone would like to know.
kusti8 post a link to the .deb so one would presume that was what he was referring to.....


Yes Hardware Acceleration was discussed in previous response:

viewtopic.php?f=35&t=98559&start=100#p1060762


Chromium-Browser version Version 51.0.2704.91 Built on Ubuntu 14.04, running on Raspbian 8.0
My only "PC" is an Asus ChromeBit running ChromeOS, cloudcentric at its best !
Rockchip Quad-Core RK3288C SoC as used in ASUS Chromebook C201 & Chromebook Flip C100PA as well as the Tinker SBC

mvdm
Posts: 21
Joined: Fri Nov 25, 2016 1:34 pm

Re: Netflix on Pi 2

Fri Nov 25, 2016 5:34 pm

thatguruguy wrote:Sorry I haven't had time to re-do the tutorial. I have, however, created a .deb file which will:
1. Install the widevide libraries automatically, if you have chromium installed, and
2. create a launcher for netflix with the appropriate user-agent and place it in your "Internet" menu.

You can download the .deb file here: http://s000.tinyupload.com/index.php?fi ... 9860659634

EDIT: Please feel free to let me know if the file works for you as intended.
Thank you so very much for making that it that worked for me after 3 days struggling, scouring the web and 3 operating systems later.

Just one thing that might need to be added, when I first ran the deb file it didn't work right away as I got the C7701-1003 error. I decided to try a sudo apt-get update and a sudo apt-get upgrade after running the deb file and a reboot and it just started working.

Thanks again!

Return to “Media centres”

Who is online

Users browsing this forum: No registered users and 7 guests