Shaka Packager with CENC with WV and PR

285 views
Skip to first unread message

David Eisenbacher

unread,
Mar 14, 2018, 4:03:35 PM3/14/18
to Shaka Packager Users
Hello

And I do not see how to use common encryption keys for MPEG DASH with WV and PR

such as providing only
Key
Key ID
PSSH
PR LA URL

Is there an example of this?

Thank you


KongQun Yang

unread,
Mar 14, 2018, 8:27:55 PM3/14/18
to Shaka Packager Users
Hi David,

If you have the PSSHs, you can follow the examples in https://google.github.io/shaka-packager/html/tutorials/raw_key.html. You can concatenate the Widevine PSSH and Playready PSSH in --pssh.

Let us know if it works for you.

If you have any suggestions on how we can make the documentation better and clearer, let us know too.

David Eisenbacher

unread,
Mar 14, 2018, 10:06:14 PM3/14/18
to Shaka Packager Users, KongQun Yang
Hello
Can you provide a sample all the docs list WV only




--
You received this message because you are subscribed to a topic in the Google Groups "Shaka Packager Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/shaka-packager-users/k8jKhu-FomE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to shaka-packager-u...@googlegroups.com.
To post to this group, send email to shaka-pack...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shaka-packager-users/a1a20649-0cba-44af-b0de-ab8f933c721c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

KongQun Yang

unread,
Mar 15, 2018, 10:09:08 AM3/15/18
to Shaka Packager Users
It is exactly the same as WV, with additional PR PSSH concatenated and provided via --pssh, i.e.

--enable_raw_key_encryption \
--keys label=:key_id={key_id}:key={key} \
--pssh {WidevinePSSH+PlayreadyPSSH}



On Wednesday, March 14, 2018 at 7:06:14 PM UTC-7, David Eisenbacher wrote:
Hello
Can you provide a sample all the docs list WV only




On Wed, Mar 14, 2018 at 8:27 PM -0400, "'KongQun Yang' via Shaka Packager Users" <shaka-packager-users@googlegroups.com> wrote:

Hi David,

If you have the PSSHs, you can follow the examples in https://google.github.io/shaka-packager/html/tutorials/raw_key.html. You can concatenate the Widevine PSSH and Playready PSSH in --pssh.

Let us know if it works for you.

If you have any suggestions on how we can make the documentation better and clearer, let us know too.


On Wednesday, March 14, 2018 at 1:03:35 PM UTC-7, David Eisenbacher wrote:
Hello

And I do not see how to use common encryption keys for MPEG DASH with WV and PR

such as providing only
Key
Key ID
PSSH
PR LA URL

Is there an example of this?

Thank you


--
You received this message because you are subscribed to a topic in the Google Groups "Shaka Packager Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/shaka-packager-users/k8jKhu-FomE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to shaka-packager-users+unsub...@googlegroups.com.
To post to this group, send email to shaka-packager-users@googlegroups.com.

KongQun Yang

unread,
Sep 20, 2018, 3:42:52 PM9/20/18
to David Eisenbacher, Shaka Packager Users
This is a feature added recently. You can provide your own PSSH(s) if you have them or have Shaka Packager to generate the PSSH(s) for you by specifying the protection_systems that you want the PSSH to be generated.

Note that if your license server requires additional server specific information, then you'll have to use the PSSH from your server or DRM provider.

-- KongQun Yang (KQ)


On Thu, Sep 20, 2018 at 12:19 PM David Eisenbacher <david.ei...@gmail.com> wrote:
Hello
Your example of
Example with multi-drm (Widevine and PlayReady) lists no PSSH, do we not need to list it?

$ packager \
  in=h264_baseline_360p_600.mp4,stream=audio,output=audio.mp4,drm_label=AUDIO \
  in=h264_baseline_360p_600.mp4,stream=video,output=h264_360p.mp4,drm_label=SD \
  in=h264_main_480p_1000.mp4,stream=video,output=h264_480p.mp4,drm_label=SD \
  in=h264_main_720p_3000.mp4,stream=video,output=h264_720p.mp4,drm_label=HD \
  in=h264_high_1080p_6000.mp4,stream=video,output=h264_1080p.mp4,drm_label=HD \
  --enable_raw_key_encryption \
  --keys label=AUDIO:key_id=f3c5e0361e6654b28f8049c778b23946:key=a4631a153a443df9eed0593043db7519,label=SD:key_id=abba271e8bcf552bbd2e86a434a9a5d9:key=69eaa802a6763af979e8d1940fb88392,label=HD:key_id=6d76f25cb17f5e16b8eaef6bbf582d8e:key=cb541084c99731aef4fff74500c12ead \
  --protection_systems Widevine,PlayReady \ 
  --mpd_output h264.mpd 

To unsubscribe from this group and all its topics, send an email to shaka-packager-u...@googlegroups.com.
To post to this group, send email to shaka-pack...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Shaka Packager Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/shaka-packager-users/k8jKhu-FomE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to shaka-packager-u...@googlegroups.com.
To post to this group, send email to shaka-pack...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shaka-packager-users/fe82ab3c-5394-4330-a13e-8ab887baaedf%40googlegroups.com.

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


--
David Eisenbacher
Reply all
Reply to author
Forward
0 new messages