Successful playback with bad widevine license proxy

923 views
Skip to first unread message

David Komer

unread,
Apr 30, 2017, 10:52:46 AM4/30/17
to Shaka Packager Users
When I package some content with the test key info, I am able to play it back (via shaka player) regardless of whether or not I supply the correct license server url

With the wrong url, I do see errors and the demo player gives me a big red box, but the content still plays.

Here's how I packaged the content (basically like the README.md):

packager \

input=output/transcodes/323031355f7465617273/512.mp4,stream=video,output=output/dash/323031355f7465617273/512.mp4 \

input=output/transcodes/323031355f7465617273/1024.mp4,stream=video,output=output/dash/323031355f7465617273/1024.mp4 \

input=output/transcodes/323031355f7465617273/2048.mp4,stream=video,output=output/dash/323031355f7465617273/2048.mp4 \

input=output/transcodes/323031355f7465617273/4096.mp4,stream=video,output=output/dash/323031355f7465617273/4096.mp4 \

--enable_widevine_encryption \

--crypto_period_duration 0 \

--signer widevine_test \

--key_server_url https://license.uat.widevine.com/cenc/getcontentkey/widevine_test \

--aes_signing_key 1ae8ccd0e7985cc0b6203a55855a1034afc252980e970ca90e5202689f947ab9 \

--aes_signing_iv d58ce954203b7c9a9a9d467f59839249 \

--content_id 323031355f7465617273 \

--mpd_output output/dash/323031355f7465617273/323031355f7465617273.mpd


Valid proxy: https://proxy.uat.widevine.com/proxy

Invalid proxy: http://google.com (just so it tries to grab *something* and doesn't hang)


With the invalid proxy the big red box does say Shaka Error DRM.LICENSE_REQUEST_FAILED, but the video is playing just fine below it


Shaka Error DRM.LICENSE_REQUEST_FAILED



David Komer

unread,
Apr 30, 2017, 10:56:57 AM4/30/17
to Shaka Packager Users
Also relevant - if I open any of the unpackaged files (e.g. output/transcodes/*.mp4) in VLC, it plays as expected

if I open any of the packaged files (i.e. output/dash/*.mp4) in VLC, it does not play - presumably because it's encrypted

(removing the encryption settings yields packaged files that do play in VLC, as expected)

KongQun Yang

unread,
May 1, 2017, 1:57:42 PM5/1/17
to David Komer, Shaka Packager Users
Hi David,

There is a default clear lead of 10 seconds. The leading 10 seconds will always play regardless of whether or not a correct license server url is provided. You can set --clear_lead to 0 to remove the clear lead.


-- KongQun Yang (KQ)

--
You received this message because you are subscribed to the Google Groups "Shaka Packager Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-packager-users+unsub...@googlegroups.com.
To post to this group, send email to shaka-packager-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shaka-packager-users/37269509-a25f-4cdc-b2d2-f26a5afbc9ee%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

David Komer

unread,
May 1, 2017, 5:03:47 PM5/1/17
to Shaka Packager Users, david...@gmail.com
Excellent, thanks!

-- KongQun Yang (KQ)

To post to this group, send email to shaka-pack...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages