← Back to team overview

desktop-packages team mailing list archive

[Bug 1371274] Re: Unable to use the widevine plugin with Chromium

 

Hi Anybody on the Ubuntu team work on this ?

I know this is a silly situation because this should be naturally
handled by the chromium team, but it seems like they don't really care
about chromium users , only the final result in the chrome build, which
I'm not really surprised.

What do you think , shall we maybe do that in Oxide so this might be
handled one day on Ubuntu Touch ?

The Patch is really simple, I'm just copying from the great work of
hogliux (hogliux) :


1) build with the following gyp flags:
ffmpeg_branding='Chrome', proprietary_codecs=1, enable_pepper_cdms=1, enable_webrtc=1

2) Uncomment the version number and strings in
src/third_party/widevine/cdm/widevine_cdm_common.h and change it to
which ever binary version you have available.

3) in the same folder modify widevine_cdm.gyp. Change 'branding ==
"Chrome"' to 'branding == "Chromium" in line 10 and 88 (not sure if this
is really necessary)

4) When compiling Chromium it will complain about a missing widevine
binaries folder (can't remember where it was meant to be located).
Create it and copy the binaries over from chrome. It will also complain
about missing widevine_cdm_version.h and/or widevine_cdm_common.h. Just
copy widevine_cdm_common.h you edited above to the location expected by
the build system.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/1371274

Title:
  Unable to use the widevine plugin with Chromium

Status in Chromium Browser:
  Unknown
Status in chromium-browser package in Ubuntu:
  Triaged

Bug description:
  Chromium is unable to use the widevine component from google chrome :
  libwidevinecdmadapter.so and libwidevinecdm.so

  How to reproduce :

  - copy the 2 files the chrome archive in /usr/lib/chromium-browser
  - check chrome://components/
  - Widevine does not appear

  it seems widevine support is only activated when branding=chrome

  as seen in

  
  https://github.com/scheib/chromium/blob/master/third_party/widevine/cdm/widevine_cdm.gyp

  Widevine support would enable EME playing such as Netflix

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: chromium-browser 37.0.2062.94-0ubuntu0.14.04.1~pkg1042
  ProcVersionSignature: Ubuntu 3.13.0-35.62-generic 3.13.11.6
  Uname: Linux 3.13.0-35-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.3
  Architecture: amd64
  Date: Thu Sep 18 21:11:17 2014
  InstallationDate: Installed on 2013-10-02 (350 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Beta amd64 (20130925.1)
  ProcEnviron:
   LANGUAGE=fr_FR
   TERM=xterm
   PATH=(custom, no user)
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: chromium-browser
  SystemImageInfo: Error: [Errno 2] Aucun fichier ou dossier de ce type: 'system-image-cli'
  UpgradeStatus: Upgraded to trusty on 2014-05-31 (109 days ago)
  modified.conffile..etc.default.chromium.browser: [deleted]
  mtime.conffile..etc.chromium.browser.default: 2014-06-01T14:14:23.245932

To manage notifications about this bug go to:
https://bugs.launchpad.net/chromium-browser/+bug/1371274/+subscriptions


References