Enabling widevine cdm adapter in Chromium

20,042 views
Skip to first unread message

Stephen Cheng

unread,
Jan 30, 2015, 11:29:04 AM1/30/15
to chromi...@chromium.org
Is there anyway to enable widevine cdm adapter in Chromium? I am trying to get netflix to play in Chromium. I turned on the proprietary codecs option but it is still complaining about missing the widevine component. It seems that the source files for widevine is not available in the public Chromium source tree. I copied the widevincecdmadapter.dll from Chrome binaries to the Chromium compiling folder. But it doesn't pick it up automatically. I guess there might be switch we have to turn on in order for it to work?


Xiaohan Wang (王消寒)

unread,
Jan 30, 2015, 12:16:05 PM1/30/15
to Shanfeng Cheng, chromium-dev
Widevine key system is not supported in Chromium. You have to use Google Chrome to play Netflix.

On Fri, Jan 30, 2015 at 8:29 AM, Stephen Cheng <sfc...@gmail.com> wrote:
Is there anyway to enable widevine cdm adapter in Chromium? I am trying to get netflix to play in Chromium. I turned on the proprietary codecs option but it is still complaining about missing the widevine component. It seems that the source files for widevine is not available in the public Chromium source tree. I copied the widevincecdmadapter.dll from Chrome binaries to the Chromium compiling folder. But it doesn't pick it up automatically. I guess there might be switch we have to turn on in order for it to work?


--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.

Shanfeng Cheng

unread,
Jan 31, 2015, 3:22:33 PM1/31/15
to xhwang, chromium-dev
Why is the key system not supported?

I found a file named "widevine_cdm_version.h". Added two lines into it:

#define WIDEVINE_CDM_AVAILABLE
#define WIDEVINE_CDM_VERSION_STRING 1.4.6.758

That did get Chromium to load the widevinecdmadapter.dll. Then I tried to play netflix in Chromium. It no longer complains about missing widevine. But somehow the video playing page always shows spinning wheel and the video never starts to play. Something else is missing. 



Shanfeng Cheng

김영철

unread,
Feb 1, 2015, 8:20:08 PM2/1/15
to sfc...@gmail.com, xhwang, chromium-dev

Hi,

 

I guess that chromium's open source does not support to plug-in Widevine CDM automatically.

It means that Widevine CDM should work as external process with the below option

 

example option) --ppapi-out-of-process --register-pepper-plugins="widevinecdmadapter.dll;application/x-ppapi-widevine-cdm"

 

Chris Kim

Shanfeng Cheng

unread,
Feb 1, 2015, 9:20:19 PM2/1/15
to 김영철, xhwang, chromium-dev
I tried it but it didn't work, at least not for netflix. Netflix still complains about missing widevine component when I start Chromium with the options you mentioned. 


Shanfeng Cheng

Xie, William

unread,
Feb 1, 2015, 9:43:52 PM2/1/15
to sfc...@gmail.com, ???, xhwang, chromium-dev

Could you try it on Android?

On Android, there is Widevine support and we tried that before and worked.

 

William

Shanfeng Cheng

unread,
Feb 1, 2015, 11:29:18 PM2/1/15
to Xie, William, 김영철, xhwang, chromium-dev
I haven't really done any work on android so far. 


Shanfeng Cheng

Shanfeng Cheng

unread,
Feb 2, 2015, 1:47:40 AM2/2/15
to 김영철, xhwang, chromium-dev
I also noticed that the web page (both netflix and google play) issued a request for a mime type "x-ppapi-clearkey-cdm" which Chromium responds as not handled. I read up some docs on EME and it is said that Clear Key support is always required. Is this clear key support implemented by another plugin?


Shanfeng Cheng
 
From: 김영철
Date: 2015-02-01 19:19

Michael Scott

unread,
Feb 3, 2015, 3:17:33 AM2/3/15
to willi...@intel.com, xhwang, chromium-dev, ???, sfc...@gmail.com

Michael scott

Michel Memeteau - EKIMIA

unread,
Feb 15, 2015, 12:40:38 PM2/15/15
to chromi...@chromium.org
Hi, 

It's possible to do EME with chromium on Linux, but you need to recompile chromium with a patch.

we track the progress of this bug for Ubuntu here : 


which is link to the crbug here with instructions to build a working chromium : 

Shanfeng Cheng

unread,
Feb 15, 2015, 3:00:47 PM2/15/15
to contact, chromium-dev
Yes. We got it working eventually by modifying the file widevine_cdm_version.h, but only on m40. On m38, we couldn't get it to work after various attempt. 


Shanfeng Cheng

绍鹏

unread,
Nov 18, 2015, 1:26:28 AM11/18/15
to Chromium-dev, sfc...@gmail.com, yc...@markany.com, xhw...@chromium.org
Hello William:
         I need play netflix.com in chromium 45 for android ,in android ua ,netflix will let you use it's app so I use desktop ua  but the enable_plugin in chromium,
do you successfully play netflix in android? please tell me how to build chromium 45 in android ,TKS

在 2015年2月2日星期一 UTC+8上午10:43:52,Xie, William写道:

Could you try it on Android?

On Android, there is Widevine support and we tried that before and worked.

 

William

 

From: chromi...@chromium.org [mailto:chromi...@chromium.org] On Behalf Of Shanfeng Cheng
Sent: Monday, February 02, 2015 10:20 AM
To:
김영철; xhwang
Cc: chromium-dev
Subject: Re: RE: [chromium-dev] Enabling widevine cdm adapter in Chromium

 

I tried it but it didn't work, at least not for netflix. Netflix still complains about missing widevine component when I start Chromium with the options you mentioned. 

 


Shanfeng Cheng

 

From: 김영철

Date: 2015-02-01 19:19

Subject: RE: Re: [chromium-dev] Enabling widevine cdm adapter in Chromium

Hi,

 

I guess that chromium's open source does not support to plug-in Widevine CDM automatically.

It means that Widevine CDM should work as external process with the below option

 

example option) --ppapi-out-of-process --register-pepper-plugins="widevinecdmadapter.dll;application/x-ppapi-widevine-cdm"

 

Chris Kim

From: chromi...@chromium.org [mailto:ch...@chromium.org] On Behalf Of Shanfeng Cheng
Sent: Sunday, February 01, 2015 5:22 AM
To: xhwang
Cc: chromium-dev
Subject: Re: Re: [chromium-dev] Enabling widevine cdm adapter in Chromium

 

Why is the key system not supported?

 

I found a file named "widevine_cdm_version.h". Added two lines into it:

 

#define WIDEVINE_CDM_AVAILABLE
#define WIDEVINE_CDM_VERSION_STRING 1.4.6.758




That did get Chromium to load the widevinecdmadapter.dll. Then I tried to play netflix in Chromium. It no longer complains about missing widevine. But somehow the video playing page always shows spinning wheel and the video never starts to play. Something else is missing. 

 

 


Shanfeng Cheng

 

Date: 2015-01-30 11:15

Subject: Re: [chromium-dev] Enabling widevine cdm adapter in Chromium

Widevine key system is not supported in Chromium. You have to use Google Chrome to play Netflix.

On Fri, Jan 30, 2015 at 8:29 AM, Stephen Cheng <sfc...@gmail.com> wrote:

Is there anyway to enable widevine cdm adapter in Chromium? I am trying to get netflix to play in Chromium. I turned on the proprietary codecs option but it is still complaining about missing the widevine component. It seems that the source files for widevine is not available in the public Chromium source tree. I copied the widevincecdmadapter.dll from Chrome binaries to the Chromium compiling folder. But it doesn't pick it up automatically. I guess there might be switch we have to turn on in order for it to work?

 

 

--
--
Chromium Developers mailing list: chrom...@chromium.org


View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.

Reply all
Reply to author
Forward
0 new messages