Giter Site home page Giter Site logo

It stopped working about chromium-build HOT 70 CLOSED

kusti8 avatar kusti8 commented on August 20, 2024 1
It stopped working

from chromium-build.

Comments (70)

DenisMirandaJ avatar DenisMirandaJ commented on August 20, 2024 4

@nateg5 Just tested your solution, it works again

from chromium-build.

nrapin71 avatar nrapin71 commented on August 20, 2024 3

I have just tested the libwidevinecdm.so contained in the drm.zip provided on the repo of @nateg5 keeeping my previous install (chromium package of kusti8). Netflix works again !

So the simplified procedure should be:

1/ erase chromium (if you have tried other version than the kusti8's one)
sudo -i (in order to keep root privilege at each command ... so be carefull with rm -Rf !!)
dpkg -r chromium-browser
rm -Rf /etc/chromium-browser
rm -Rf ~/.config/chromium
exit (to return as standard user i.e. "pi")
cd ~/Downloads
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

2/ get and copy libwidevinecdm.so at the right place

Download and extract DRM zip
wget https://github.com/nateg5/Android/releases/download/NateCast/drm.zip
unzip drm.zip
Copy libwidevinecdm.so:
sudo cp libwidevinecdm.so /usr/lib/chromium-browser/libwidevinecdm.so

3/ Add the user agent extension
Open Chromium

Go to user agent extension site:

https://chrome.google.com/webstore/detail/user-agent-switcher-for-c/djflhoibgkdhkhhcedjiklpkjnoahfmg

Install User-Agent Switcher for Chrome

4/ launch chromium
4.1 graphically ... /menu/internet/Netflix (menu created by the package of kusti8)
or
4.2 using command line (all on one single line)
chromium-browser --user-agent="Mozilla/5.0 (X11; CrOS armv7l 6946.86.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.84 Safari/537.36" http://netflix.com

PS: i didn't mentioned the ffmpeg package of chromium, I have supposed it is installed

from chromium-build.

janm84 avatar janm84 commented on August 20, 2024 2

ok it's working now. I've changed the permissions on libwide* to 755 like the other libs in /usr/bin/chromium-browser.

maybe that was also the problem before in my first tries with new libs... omg

...thank you! :)

from chromium-build.

nrapin71 avatar nrapin71 commented on August 20, 2024 2

It seems that increasing swap space improves playback with chromium. To do this (copied from https://help.vivaldi.com/article/raspberry-pi/) use the following commands:

sudo nano /etc/dphys-swapfile

By default Raspbian has 100MB of swap. Please change it to 2048MB in the following line of the configuration file:

CONF_SWAPSIZE=2048

Press Ctrl+X and hit Enter to save the changes. Then restart the swap service to apply the changes:

sudo /etc/init.d/dphys-swapfile stop
sudo /etc/init.d/dphys-swapfile start

from chromium-build.

alexandreseris avatar alexandreseris commented on August 20, 2024 2

Hey everyone! I was able to get Chromium working again for Netflix and Amazon on the RPi3. You can follow the "Install Chromium with Widevine" instructions here, https://github.com/nateg5/Android/blob/master/NateCast/README.md. If you previously had it working using kusti8's build then you can probably skip step 1. Let me know if you have questions.

@nateg5
I followed the installation (with complete uninstall of chromium first) and it ended up working perfectly!
Thanks mate :)

by the way abouth the user-agent, you can launch chromium with custom command line and add that command in a shorcut, i think it's more handy. Here's my command:
chromium-browser --user-agent="Mozilla/5.0 (X11; CrOS armv7l 9901.77.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.97 Safari/537.36" --start-fullscreen http://netflix.com

See ya!

from chromium-build.

quito127 avatar quito127 commented on August 20, 2024 2

Yessss!!!!, it works again, thanks nateg5.
The point was to install not only the Chromium, but also all its accessories.

regards

from chromium-build.

AphoticD avatar AphoticD commented on August 20, 2024 2

Thank you @nateg5 for your solution to "Error code: C7121-1331-P7"

In short, to update Chromium's widevine support;
$ wget https://github.com/nateg5/Android/releases/download/NateCast/drm.zip
$ unzip drm.zip
$ sudo cp libwidevinecdm.so /usr/lib/chromium-browser/libwidevinecdm.so

And update the browser's User Agent string;
Mozilla/5.0 (X11; CrOS armv7l 9901.77.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.97 Safari/537.36

Relaunch chromium and Netflix will be working again (for now).

from chromium-build.

nrapin71 avatar nrapin71 commented on August 20, 2024 2

Re-Reading my post of Sept 17, though it works, I have noticed a small error in Step 1 (cleaning of chromium-browser).

As the command "sudo -i" switch the shell to root user the command "rm -Rf ~/.config/chromium" cleans the chromium directory for the "root" user (and not the directory of the "pi" user as I intended to)

So the Step 1 should be (assuming you start as a standard user like the default "pi" user) the following:

1/ Cleaning of Chromium Browser (useful if you have tried other version than the kusti8's one):

rm -Rf ~/.config/chromium
sudo dpkg -r chromium-browser
sudo rm -Rf /etc/chromium-browser
cd ~/Downloads
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

(the other Steps remain unchanged)

from chromium-build.

BruneXX avatar BruneXX commented on August 20, 2024 1

@nateg5 just wondering, is it necessary to reinstall chromium? I think that will be enough just updating the library, right?

I think that with steps 2, 3 and 8 should also work.

I'm thinking on that since I've already installed that chromium version and agent switcher too.

Anyway, works like a charm, thanks @nateg5 !

from chromium-build.

nateg5 avatar nateg5 commented on August 20, 2024 1

@motaj01 I thought about trying that but haven't had the time to look into it. The easier solution for me was to just manually update the widevine library. But if someone knows how to package the new widevine library into the deb then that would be great!

from chromium-build.

ventz avatar ventz commented on August 20, 2024 1

This should help for step by step (and extracted binary): https://blog.vpetkov.net/2019/07/12/netflix-and-spotify-on-a-raspberry-pi-4-with-latest-default-chromium/

You really don't need to use kusti8's or nateg5's patched old Chromium version. By using the default, you benefit from always being on the latest stable/secure Chromium version.

from chromium-build.

pdo-smith avatar pdo-smith commented on August 20, 2024

Yes, the same thing has just happened to me. In an attempt to fix the problem I have reinstalled Raspbian from scratch. I have reinstalled Chromium from this site. But none of this is helping. I keep getting the above error message.

from chromium-build.

search-tool avatar search-tool commented on August 20, 2024

my guess would be this version of chrome is not supported anymore by netflix

https://help.netflix.com/en/node/62404

from chromium-build.

alexandreseris avatar alexandreseris commented on August 20, 2024

Hi everyone,

same for me, I get the C7121-1331-P7 error code (see the attached file bellow)
i did try to completly remove then reinstall chromium-browser with the following commands:
apt-get remove -y --purge chromium-browser
apt-get autoremove
rm -Rf /etc/chromium-browser
rm -Rf /home/myprofil/.config/chromium
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
dpkg -i ./chromium-browser_56.0.2924.84-0ubuntu0.14.04.1.1011.deb
reboot

but as you might guess this did not work.

For information I run a Raspberry Pi 3B with the following:
OS: Raspbian GNU/Linux 9.4 (stretch)
Kernel: Linux 4.14.62-v7+

capture d ecran_2018-09-07_23-51-53

from chromium-build.

stealz0ne avatar stealz0ne commented on August 20, 2024

I tried the same as boumabcd with the same results. While looking for solutions to get I stumbled upon the netflix addon for kodi 18 at https://github.com/asciidisco/plugin.video.netflix/wiki/Installation which contains a link to http://nmacleod.com/public/libreelec/getwidevine.sh - a script to extract widevine from the current linux release of chromium and https://www.raspberrypi.org/forums/viewtopic.php?f=35&t=98559&sid=f30936f91d683f79f95c7614b163be8a&start=150 where krusti8 announced his chromium release compiled with that widewine.

Not sure where to go from there, maybe it will work when installing widevine to raspbian directly but someone more technically apt might be to figure it out from here or make an updated chromium build.

from chromium-build.

janm84 avatar janm84 commented on August 20, 2024

The same here. first of all I thought the problem comes from a another change on my system, but there seems to be a change at Netflix or something. ....I have the problem already since last week.

from chromium-build.

nrapin71 avatar nrapin71 commented on August 20, 2024

The same for me ( I thought the problem comes from a another change on my system, but there seems to be a change at Netflix) I looked at https://gist.github.com/jesstelford/eded5fe8c2611f332648 but this seems to be outdated (based on chromium 47)

from chromium-build.

BruneXX avatar BruneXX commented on August 20, 2024

Hi guys!, same problem here, has stopped work since September 7, 2018. I don't know what could be the cause.. Do you know if is there any plan to release a new chromium build for raspberry pi 3? like chromium 60 or something like that? Thanks!

from chromium-build.

alexandreseris avatar alexandreseris commented on August 20, 2024

Hello again,
after som search, i found that the Vivaldi browser wrote an article about use of Netflix on their browser.
Fortunately the browser if chromium/chrome based so the procedure given is some sort of equivalent i guess for us.
So i did a little script WHICH I DID NOT TEST YET so please be careful and don't complain if anything goes wrong.
I will test that right away and keep you informed, if anybody wants to test it in the meantime, no problemo but please consider again this has not been tested.
if anybody has high skill in bash (or is just better than me, basically anyone), feel free to make some improvement!

here's the script (sorry for the misspellings, bad english and probably the poor writing of the script, but that's the way it is <3 )
Seeya!

EDIT:
I first copy past the text here but that came pretty badly, so i'll just attach a file as txt.
EDIT:
/!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\
THE SCRIPT IS NOT WORKING, PLEASE DO NOT USE IT UNTIL IT'S FULLY OPERATIONAL OPERATIONAL
/!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\

from chromium-build.

janm84 avatar janm84 commented on August 20, 2024

Hello boumabcd,

does this script works for you? can you play Netflix videos again?

BR, jan

from chromium-build.

alexandreseris avatar alexandreseris commented on August 20, 2024

ok so i did test the script i's not working (plus there's some major faults)
i'll see tomorow if i can find something else or if Vivaldi is able to get netflix working

from chromium-build.

BruneXX avatar BruneXX commented on August 20, 2024

Just wondering.. anyone has installed firefox and tried with that? https://www.raspberrypi.org/forums/viewtopic.php?t=188037
maybe that can work until the chromium isse get solved..

from chromium-build.

janm84 avatar janm84 commented on August 20, 2024

i have tried with Firefox. There seems to be no DRM support in armhf Version.

from chromium-build.

BruneXX avatar BruneXX commented on August 20, 2024

@boumabcd I think we can go directly to: https://help.vivaldi.com/article/raspberry-pi/ and try to follow the steps, I'll review tomorrow on my raspberry and I'll let you know the progress and issues. I hope to have no issues :)

from chromium-build.

alexandreseris avatar alexandreseris commented on August 20, 2024

As my script is not working, please do not use it (i did not figure out how to delete the attached file :/ ), if i succeed with anything, i will of course post something right away.

Firefox is in deed not delivering drm support for linux arm (see https://support.mozilla.org/fr/kb/support-drm-firefox )

@BruneXX the script is basically following the procedure of Vivaldi programmatically. I did try to follow the steps "by hand" without success.
It seems that the Widevine installation is a success but the requiered part "Playing a wider range of audio and video" fail:
after the installation of the deb file, launching chromium-browser on a terminal print the following message:
"/usr/lib/chromium-browser/chromium-browser: error while loading shared libraries: libffmpeg_chrome.so.65: cannot open shared object file: No such file or directory"

i guess the installation delete the lib libffmpeg_chrome.so.65 ... maybe there's a tweak to do here like copy the file before the installation of deb file and paste it after, dunno i'll try that
As the instructions given by Vivaldi on this part are not really clear and precise, ("Go to http://ports.ubuntu.com/ubuntu-ports/pool/universe/c/chromium-browser/ and find an armhf “chromium-codecs-ffmpeg-extra” package from a recent Ubuntu version") I tried to download and install a different deb file but still matching my chromium version, but it did not work either (for information, I tried theses two files:
http://ports.ubuntu.com/ubuntu-ports/pool/universe/c/chromium-browser/chromium-chromedriver_65.0.3325.181-0ubuntu0.14.04.1_armhf.deb
http://ports.ubuntu.com/ubuntu-ports/pool/universe/c/chromium-browser/chromium-chromedriver_65.0.3325.181-0ubuntu1_armhf.deb

I think it would be also a good idea to start testing netflix with Vivaldi (which is by the way a decent browser), if it could work this way, that would be fine, at least for me. I did try some thing yesterday with no success but i will keep on trying

Also i'll post a file gathering some informations i found around the internet if some people want to search deeper or write some scripts.

@kusti8 : I read a bit your posts and some procedures. One thing I do not understand is how did you choose the number 14 image on the recovery_os script ?
Also I don't see any reference to a step corresponding to the part "Playing a wider range of audio and video" on the Vivaldi procedure, did you do something equivalent?
Also, I modified a bit the script and ran it on my pc, which gave me the info that number 14 is currently "Lenovo N20 Chromebook", was it the case at the time of your post?
(original post here:
https://www.raspberrypi.org/forums/viewtopic.php?f=35&t=98559&start=50#p1007497
, and here's the recovery script:
https://dl.google.com/dl/edgedl/chromeos/recovery/linux_recovery.sh)

from chromium-build.

janm84 avatar janm84 commented on August 20, 2024

now... i have tried several things to get vivaldi and chromium running. everything is fine and i can play h.264 videos with vivaldi. but if i try to play a netflix video it still ends in the same error as above.

vivaldi tried to open "libwidevinecdmadapter.so". i copied it from kustis 56x release to the vivaldi dir.
...still same error.

maybe this two files "libwidevinecdm.so" and "libwidevinecdmadapter.so" are to old and not longer supported?

i tried it with the new "libwidevinecdm.so" from chromeos.... same error.
...but in the chromeos release, there is no "libwidevinecdmadapter.so"...

does anybody have a mac with an recent chrome installation and can have a look for this to files?

best regards

jan

from chromium-build.

janm84 avatar janm84 commented on August 20, 2024

the File isn't included in chromeos, so i have tried it with both files (libwidevinecdm.so and libwidevinecdmadapter.so) from kustis 56x and also with kustis libwidevinecdmadapter.so and the recent libwidevine.so from chromeos.

the adapter lib is not named in the vivaldi howto, but vivaldi asks for it when running from the console and trying to play a Netflix video.

from chromium-build.

pglez82 avatar pglez82 commented on August 20, 2024

I think I am stuck in the same place. Vivaldi and chromium look for this file and there is no sign of it in the chrome os image.
I have also tried to download another chrome os version just to see if I could get the two files but I coudn't find where to get older chromeos recovery versions.
I was thinking about installing kodi 18 to see if they I could find the files there but I am not sure if they would be there or if they would be accessible.
Pablo

from chromium-build.

zroach avatar zroach commented on August 20, 2024

macaOS High Sierra Version 10.13.6

Chrome Version 68.0.3440.106 (Official Build) (64-bit)

$for x in libwidevinecdmadapter.so libwidevinecdm.so; do printf "$x:\n"; sudo find / -name $x 2> /dev/null; done
libwidevinecdmadapter.so:
libwidevinecdm.so:
$

Chrome Version 69.0.3497.81 (Official Build) (64-bit)

$for x in libwidevinecdmadapter.so libwidevinecdm.so; do printf "$x:\n"; sudo find / -name $x 2> /dev/null; done
libwidevinecdmadapter.so:
libwidevinecdm.so:
$

from chromium-build.

janm84 avatar janm84 commented on August 20, 2024

hm sh*t ;)

...I thought this can be a solution to get an ARM version of the libs...

thank you zroach

from chromium-build.

janm84 avatar janm84 commented on August 20, 2024

https://chromium-review.googlesource.com/c/chromium/src/+/1211974

from chromium-build.

alexandreseris avatar alexandreseris commented on August 20, 2024

@janm84:
but ain't raspbian and others os for the rpi on 32 bits? (i saw although the cpu is 64)

from chromium-build.

zroach avatar zroach commented on August 20, 2024

experimental 64 bit os repo here, but I don't think all pi cpus like my BCM2835 rev a22082 (raspberry pi 3 model B) are 64 bit. I can't specifically find that cpu architecture in the datasheet though...

from chromium-build.

alexandreseris avatar alexandreseris commented on August 20, 2024

@zroach
basing on that thread https://www.raspberrypi.org/forums/viewtopic.php?t=190329
it seems like me that your cpu is BCM2837 (which is 64 bits) and not BCM2835
you can check the specs here:
https://www.raspberrypi.org/products/raspberry-pi-3-model-b/

from chromium-build.

BruneXX avatar BruneXX commented on August 20, 2024

Hi @boumabcd I don't understand "BCM2837 and not BCM2837" same is not the same?

from chromium-build.

glorifyday avatar glorifyday commented on August 20, 2024

I was successfully using the v1.0.0 release (from https://github.com/kusti8/chromium-build/releases) for a long time to run Spotify web player. It worked like a charm until... somewhat like a few days ago. The player started omitting tracks and playing up to 9 first seconds.

I'm not sure what is the reason, but I suspect it is connected with the problems most of you have now with Netflix or Amazon Video.

Is it possible to build a new release based on newest chromium and deps?

from chromium-build.

alexandreseris avatar alexandreseris commented on August 20, 2024

Hi @boumabcd I don't understand "BCM2837 and not BCM2837" same is not the same?

lol i just mistyped sorry ^^
i meant rpi 3 has BCM2837 instead of BCM2835

from chromium-build.

janm84 avatar janm84 commented on August 20, 2024

any solution right now?

from chromium-build.

zroach avatar zroach commented on August 20, 2024

@boumabcd good thought, but BCM2837 is the newest SOC (as of fall 2016, or thereabouts), and I got the information from directly querying my hardware ('cat /proc/cpuinfo') to ensure it is correct.
@janm84 not atm it seems, except to install 64-bit os on compatible versions as you suggested.

from chromium-build.

alexandreseris avatar alexandreseris commented on August 20, 2024

@boumabcd good thought, but BCM2837 is the newest SOC (as of fall 2016, or thereabouts), and I got the information from directly querying my hardware ('cat /proc/cpuinfo') to ensure it is correct.
@janm84 not atm it seems, except to install 64-bit os on compatible versions as you suggested.

@zroach
same for me, but read the post in my link of my previous response
https://www.raspberrypi.org/forums/viewtopic.php?t=190329
"I can see :
Raspberry-pi 3 Model B BCM2837
But on my Raspberry-pi 3 Model B v1.2, dmesg, /proc/cpuinfo:
Hardware name: BCM2835
And on the real physical chip i can see : BCM2837

response:
It's a known problem with how the software reports the name of the chip. It's related to upstreaming some of the code. Same thing happens with the Pi3B. One thing to think about...if you do cat /proc/cpuinfo, you'll see 4 cores. The BCM2835 has only one core.
"

some others links if you want infos:
https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2837/README.md
https://www.raspberrypi.org/forums/viewtopic.php?t=188544

from chromium-build.

zroach avatar zroach commented on August 20, 2024

@boumabcd my apologies for not looking at your post closer. It seems that you are correct, as I do see four cores. Thanks for correcting me!

from chromium-build.

Warday avatar Warday commented on August 20, 2024

Hi, the problem is the browser version, I could fix it on vivaldi changing Chrome/68.0.3440.106 in user agent (before that it doesn’t work with the same error but cheating the system with newer version it worked). I'm sure that if the same modification is done in chromium it will work. Unfortunely Netflix is not working well in Vivaldi., if the video is heavy or in hi resolution it use to get blocked for a wile and you have to go back to make it work again.

from chromium-build.

BruneXX avatar BruneXX commented on August 20, 2024

@Warday Do you have a guide to follow the steps in order to make this work ? or just using the documentation provided by Vivaldi this will work? thanks

from chromium-build.

pglez82 avatar pglez82 commented on August 20, 2024

I got vivaldi working following this tutorial (its in spanish but I think it is quite easy to follow). Anyway, it doesn't perform as well as chromium did. It is watchable but a bit laggy. At least I can use spotify web again. I hope they fix chromium soon.

from chromium-build.

Warday avatar Warday commented on August 20, 2024

Hi, I use the same tutorial but with the modification that I explained. I will translate it:
1º preprocess. Increase swapfile going to sudo nano /etc/dphys-swapfile and changing CONF_SWAPSIZE to 2048Then retar it with:

sudo /etc/init.d/dphys-swapfile stop
sudo /etc/init.d/dphys-swapfile start

then increase gpu memory to 128 (I use 256) in configure go to settings to find it

2º install Vivaldi and required libraries.
First install old Vivaldi version vivaldi-stable_1.13.1008.44-1_armhf.deb go to Vivaldi and then older versions. Then download the libraries from here

http://ports.ubuntu.com/ubuntu-ports/pool/universe/c/chromium-browser/
find chromium-codecs-ffmpeg-extra_61.0.3163.100-0ubuntu1.1378_armhf.deb

then the DRM libraries from here

http://raspberryparanovatos.com/descargas/drm.zip

3º moving files

Use sudo pcmanfm
Copy the files libwidevinecdm.so and libpepflashplayer.so then go to /opt create a folder called google inside create a folder called chrome, inside it copi the file libwidevinecdm.so then make a new foldier called PepperFlash (it must be called like that) inside it copy the file libpepflashplayer.so.
Finely copy the file libffmpeg.so inside /usr/lib/chromium-browser into /opt/Vivaldi/lib overwrite it

4º finely configurations.
Install user agent

https://chrome.google.com/webstore/detail/user-agent-switcher-for-c/djflhoibgkdhkhhcedjiklpkjnoahfmg?hl=es

insert the next configuration on it

New User-agent name: Netflix
New User-Agent String:
Mozilla/5.0 (X11; CrOS armv7l 9901.77.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.97 Safari/537.36
Group: Chrome
Append?: Replace
Indicator Flag: NFX

If you do it like that it will give you the same error than chromium, to avoid it change

Mozilla/5.0 (X11; CrOS armv7l 9901.77.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36

In resume chrome 61.0.3163.100 for chrome 68.0.3440.106 AND FIXED!!!!

To improve performance do the next (this is not in the Spanish guide) Go to your profile, go to playback setting and use medium instead of auto
It will fix some blocks if your internet is not working property.

from chromium-build.

nateg5 avatar nateg5 commented on August 20, 2024

Hey everyone! I was able to get Chromium working again for Netflix and Amazon on the RPi3. You can follow the "Install Chromium with Widevine" instructions here, https://github.com/nateg5/Android/blob/master/NateCast/README.md. If you previously had it working using kusti8's build then you can probably skip step 1. Let me know if you have questions.

from chromium-build.

BruneXX avatar BruneXX commented on August 20, 2024

@nateg5 really? that requires to install apache and create static IP?

from chromium-build.

nateg5 avatar nateg5 commented on August 20, 2024

@nateg5 really? that requires to install apache and create static IP?

No, you can ignore the rest of the instructions as those are to get my android casting app working. To get Netflix/Amazon working you only need to follow the "Install Chromium with Widevine" section. Just those 9 steps.

from chromium-build.

BruneXX avatar BruneXX commented on August 20, 2024

@nateg5 Excellent I’ll try that today and I’ll share the results, thanks!

from chromium-build.

janm84 avatar janm84 commented on August 20, 2024

it doesn't work here. I will copy my last working image to the sd and then I will try it again...

from chromium-build.

janm84 avatar janm84 commented on August 20, 2024

...same thing. Netflix is telling me that it's missing the player (widevine)

from chromium-build.

nateg5 avatar nateg5 commented on August 20, 2024

...same thing. Netflix is telling me that it's missing the player (widevine)

@janm84 Did you try completely removing chromium and then going through the install steps? You may want to uninstall chromium and then manually delete any chromium left overs. I will be curious to see if it works for most other people or if I just got lucky.
sudo apt-get remove chromium-browser
sudo find * | grep -i chromium-browser
then, sudo rm -rf all of the directories/files from the search results and reinstall

from chromium-build.

glorifyday avatar glorifyday commented on August 20, 2024

I got vivaldi working following this tutorial (its in spanish but I think it is quite easy to follow). Anyway, it doesn't perform as well as chromium did. It is watchable but a bit laggy. At least I can use spotify web again. I hope they fix chromium soon.

The same here.

I could not get the chromium working as described by nrapin71. My priority was spotify web and it would complain about... incompatible browser.

from chromium-build.

nateg5 avatar nateg5 commented on August 20, 2024

@nateg5 just wondering, is it necessary to reinstall chromium? I think that will be enough just updating the library, right?

I think that with steps 2, 3 and 8 should also work.

I'm thinking on that since I've already installed that chromium version and agent switcher too.

Anyway, works like a charm, thanks @nateg5 !

@BruneXX The widevine library and user-agent switcher settings are all that change from the original install steps. So yes, if you already had the kusti8 deb installed then there was no need to reinstall chromium.

from chromium-build.

nateg5 avatar nateg5 commented on August 20, 2024

I got vivaldi working following this tutorial (its in spanish but I think it is quite easy to follow). Anyway, it doesn't perform as well as chromium did. It is watchable but a bit laggy. At least I can use spotify web again. I hope they fix chromium soon.

The same here.

I could not get the chromium working as described by nrapin71. My priority was spotify web and it would complain about... incompatible browser.

@glorifyday I just tested the spotify web player and that works for me as well. Give the new widevine library and user-agent settings a try and see if that gets it working. https://github.com/nateg5/Android/blob/master/NateCast/README.md

from chromium-build.

glorifyday avatar glorifyday commented on August 20, 2024

@nateg5: did you use kusti8's build (chromium 56)? It didn't work for me, no matter which user agent setting I chose. I have no idea why. I tried chmod 755, too.

On the other hand, spotify web does not complain about incompatible browser in case of the newest chromium installed by apt-get. But then it complains about DRM and copying widevine libraries doesn't help.

Btw: in order to install chromium 56 i had to remove rpi-chromium-mods and scratch2, because they depend on the newest chromium.

from chromium-build.

nateg5 avatar nateg5 commented on August 20, 2024

@glorifyday Yes I used kusti8's build. It should just be, install the chromium build, update libwidevinecdm.so, and create the user-agent switcher. I also had vivaldi working but uninstalled it and then manually removed all "vivaldi" or "chromium-browser" directories that were left over before reinstalling chromium. Maybe you have some directories/files left over from vivaldi that are interfering with chromium.

from chromium-build.

motaj01 avatar motaj01 commented on August 20, 2024

Hi all, is it possible anyone create a deb file like the previous one that stop working?

from chromium-build.

glorifyday avatar glorifyday commented on August 20, 2024

@nateg5 I reinstalled kusti8's chromium with the full procedure again, but yes... without uninstalling Vivaldi (I'm reluctant to lose it as it works - and it has no common files with chromium).
Open.spotify.com says: "This browser doesn't support Spotify Web Player. Switch browsers or download Spotify for your desktop."

chmod 755 libwidevine* doesn't help.

from chromium-build.

janm84 avatar janm84 commented on August 20, 2024

please copy pepper flash player lib also to /usr/lib/chromium-browser. chmod 755. and try it again. maybe then it works.

from chromium-build.

glorifyday avatar glorifyday commented on August 20, 2024

Copying flash player might be necessary anyway, but it didn't resolve this particular issue.

However, I checked the default user agent of vivaldi and basing on its string, I modified the command line to:
chromium-browser --user-agent="Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.97 Safari/537.36" https://open.spotify.com/

And this works! ;-)

from chromium-build.

glorifyday avatar glorifyday commented on August 20, 2024

To sum up - the procedure for Spotify web:

sudo -i
dpkg -r chromium-browser
rm -Rf /etc/chromium-browser
rm -Rf ~/.config/chromium
exit
rm -Rf ~/.config/chromium
cd ~/Downloads
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
wget https://github.com/nateg5/Android/releases/download/NateCast/drm.zip
unzip drm.zip
sudo cp libwidevinecdm.so /usr/lib/chromium-browser/libwidevinecdm.so
sudo cp libpepflashplayer.so /usr/lib/chromium-browser/libpepflashplayer.so
sudo chmod 755 /usr/lib/chromium-browser/libwidevine*
sudo chmod 755 /usr/lib/chromium-browser/libpepflashplayer.so

Open Chromium
Go to user agent extension site:
https://chrome.google.com/webstore/detail/user-agent-switcher-for-c/djflhoibgkdhkhhcedjiklpkjnoahfmg
Install User-Agent Switcher for Chrome
Leave Chromium

Run Chromium by command line (or create a shortcut):
chromium-browser --user-agent="Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.97 Safari/537.36" https://open.spotify.com/browse/

from chromium-build.

ethomas997 avatar ethomas997 commented on August 20, 2024

Doing step 2 of the procedure posted by @nrapin71 worked for me to get Netflix on Pi/Chromium working again (many thanks); these commands:

wget https://github.com/nateg5/Android/releases/download/NateCast/drm.zip
unzip drm.zip
sudo cp libwidevinecdm.so /usr/lib/chromium-browser/libwidevinecdm.so

from chromium-build.

quito127 avatar quito127 commented on August 20, 2024

Hello,
Unfortunately, I can not make it work, I did everything the link says.
I do not know what to do...

It occurs to me, if it will have to do with the character code that I use, it is UTF8.
Thank you

from chromium-build.

nateg5 avatar nateg5 commented on August 20, 2024

Hello,
Unfortunately, I can not make it work, I did everything the link says.
I do not know what to do...

It occurs to me, if it will have to do with the character code that I use, it is UTF8.
Thank you

@quito127 You could try to uninstall chromium-browser and then search for and manually delete any left over references to chromium-browser, then try the installation steps again. You may also want to update/upgrade your RPI as well.

from chromium-build.

nem023 avatar nem023 commented on August 20, 2024

@nrapin71 with your process I've finally solved my Widevine problem thx!!!!

for all if you have done the kusti8 steps you just need to do the second part of nrapin71 tuto.

from chromium-build.

KLWN avatar KLWN commented on August 20, 2024

PS: i didn't mentioned the ffmpeg package of chromium, I have supposed it is installed

How am I able to install ffmpeg package of chromium?

from chromium-build.

nateg5 avatar nateg5 commented on August 20, 2024

@ventz I tried your simplified solution on my Pi3 but it didn't work so I had to revert back to my solution. What Raspbian and Chromium version are you on?

from chromium-build.

ventz avatar ventz commented on August 20, 2024

@nateg5 Interesting. I tried it on a Pi3 and it worked for me, but I am using Buster (latest raspbian) with the latest Chromium version released by Google. What are you using?

(looking at comments on the thread, it seems a few other people got it to work on the Pi3)

from chromium-build.

nateg5 avatar nateg5 commented on August 20, 2024

@ventz I have the original RPi3b and was still running Jessie. Once I upgraded to Buster then your solution worked. Unfortunately the casting app I created isn't working quite right with Buster so I will have to work out some bugs there. Thanks for the help!

from chromium-build.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.