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

Chromium and widevine on 64-bit

Mon Feb 20, 2023 5:05 pm

An update has been pushed to support libwidevinecdm0 and chromium-browser on 64-bit RPiOS bullseye directly.
This is used by DRM protected services like Netflix and Amazon Prime.

If you were previously using 32-bit libwidevinecdm0/chromium-browser on 64-bit RPiOS, it should be possible to apt remove them,
and reinstall the native 64-bit versions. This should result in an improvement in widevine video performance.

Let us know if this works for you.

edj
Posts: 8
Joined: Sun Jan 24, 2021 5:22 pm

Re: Chromium and widevine on 64-bit

Tue Feb 21, 2023 5:33 am

It works great. Thank you!

User avatar
HermannSW
Posts: 5770
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany

Re: Chromium and widevine on 64-bit

Wed Feb 22, 2023 5:25 pm

dom wrote:
Mon Feb 20, 2023 5:05 pm
An update has been pushed to support libwidevinecdm0 and chromium-browser on 64-bit RPiOS bullseye directly.
This is used by DRM protected services like Netflix and Amazon Prime.
On 32bit systems I executed a script by vpetkov and then had to use chromium media edition for netflix:
viewtopic.php?p=1767167#p1767167

What steps are now needed to use netflix with current 64bit PiOS chromium browser?
https://stamm-wilbrandt.de/GS_cam_1152x192@304fps
https://github.com/Hermann-SW/RSA_numbers_factored
https://hermann-sw.github.io/planar_graph_playground
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/

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

Re: Chromium and widevine on 64-bit

Wed Feb 22, 2023 5:55 pm

HermannSW wrote:
Wed Feb 22, 2023 5:25 pm
What steps are now needed to use netflix with current 64bit PiOS chromium browser?

Code: Select all

sudo apt install libwidevinecdm0
assuming you already have chromium-browser installed.

User avatar
HermannSW
Posts: 5770
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany

Re: Chromium and widevine on 64-bit

Wed Feb 22, 2023 8:50 pm

dom wrote:
Wed Feb 22, 2023 5:55 pm
HermannSW wrote:
Wed Feb 22, 2023 5:25 pm
What steps are now needed to use netflix with current 64bit PiOS chromium browser?

Code: Select all

sudo apt install libwidevinecdm0
assuming you already have chromium-browser installed.
https://stamm-wilbrandt.de/cgi-bin/echo ... ank+you%21

Code: Select all

$ echo -e 'Thank you!' | pbmtext -builtin fixed | pnmcrop | pbmtobraille
⡖⢲⠒⡎⡇⣀⠀⢀⣀⡀⢀⢀⣀⠀⢹⠀⣀⠀⠀⠀⠀⣀⡀⣀⡀⢀⣀⠀⣀⠀⣀⠀⠀⡇
⠀⢸⠀⠀⡏⠀⡇⢠⠒⢺⠀⡏⠀⡇⢸⠪⡀⠀⠀⠀⠀⠘⣄⡜⠀⡇⠀⡇⢸⠀⢸⠀⠀⠇
⠈⠉⠉⠈⠉⠈⠉⠀⠉⠁⠉⠉⠀⠉⠉⠀⠈⠁⠀⠀⠀⢀⡸⠀⠀⠈⠉⠀⠀⠉⠁⠁⠀⠁
$ 
After installing the only step needed was to close chromium and reopen it.
I verified Netflix to work, and Amazon Prime Video:
amazon_prime.Pi400.jpg
amazon_prime.Pi400.jpg
amazon_prime.Pi400.jpg (231.19 KiB) Viewed 1876 times
https://stamm-wilbrandt.de/GS_cam_1152x192@304fps
https://github.com/Hermann-SW/RSA_numbers_factored
https://hermann-sw.github.io/planar_graph_playground
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/

cvanloot
Posts: 1
Joined: Tue Feb 28, 2023 8:40 pm

Re: Chromium and widevine on 64-bit

Tue Feb 28, 2023 8:45 pm

Hi,

Really appreciate the effort. In my case however, Raspberry 4B 8gb, the streaming starts but after a few seconds pushes the CPU to 100% and the video and sound are interrupted every few seconds as of then (whereas it was working with the 32bit browser).

SkyHighPi
Posts: 4
Joined: Fri Jul 16, 2021 2:41 pm

Re: Chromium and widevine on 64-bit

Tue Feb 28, 2023 9:06 pm

This is big news and very welcome. I am curious how you did this as I was not aware of Google releasing a 64-bit version of Widevine for arm64?

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

Re: Chromium and widevine on 64-bit

Wed Mar 01, 2023 10:58 am

cvanloot wrote:
Tue Feb 28, 2023 8:45 pm
Really appreciate the effort. In my case however, Raspberry 4B 8gb, the streaming starts but after a few seconds pushes the CPU to 100% and the video and sound are interrupted every few seconds as of then (whereas it was working with the 32bit browser).
What resolution is it using on 32-bit and 64-bit?

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

Re: Chromium and widevine on 64-bit

Wed Mar 01, 2023 10:59 am

SkyHighPi wrote:
Tue Feb 28, 2023 9:06 pm
This is big news and very welcome. I am curious how you did this as I was not aware of Google releasing a 64-bit version of Widevine for arm64?
There are chromeos images for arm64.

Return to “Raspberry Pi OS”