Chromium enable drm playback by building the www/linux-widevine-cdm port with Poudriere

Chromium has been recently patched to enable Widevine support as mentioned in the post

This lets you play widevine drm encrypted audio and video,
so you can watch things like Netflix, Channel4 and ITV in the UK or other video services that use widevine drm or listen to Spotify

I have written a how guide to install the www/linux-widevine-cdm port with Poudriere

and how to set up virtual_oss to create a loopback device for sndiod audio
so we can record the audio from chromium "which use sndiod audio and not pulse" with obs studio



Building the www/linux-widevine-cdm port with Poudriere

Freebsd root dotfiles

Chromium desktop entry for wayland

i have tested drm playback on channel 4 and itv in the uk and it works perfectly
also tested playing youtube movies which use drm using a vpn to connect to the us
 
Last edited:
Will this work with Kodi, with Amazon Prime and Netflix plugins that need widevine?
the kodi-addon-inputstream.adaptive package is supposed to work with widevine

Code:
sudo pkg install kodi-addon-inputstream.adaptive

if you look in the ~/.kodi directory there is a empty cdm directory inside it

Code:
~/.kodi/cdm

you could try copying the libwidevinecdm.so into the ~/.kodi/cdm directory
see if that works
 
Gives me errors.
pkg_repo_signind_key defined but file is missing
exiting with status 1
no such file or directory data.pkg , data.txz , packagesite.pkg and packagesite.txz
 
Back
Top