Add docs for --playready_extra_header_data.

Issue #756

Change-Id: Iedcf801c4c3e1e05e63857f3fe546ed2080c7005
This commit is contained in:
Jacob Trimble 2020-06-23 09:43:15 -07:00
parent 8c604f38fb
commit 97cad858bf
2 changed files with 19 additions and 0 deletions

View File

@ -43,3 +43,8 @@ General encryption options
Protection systems to be generated. Supported protection systems include Protection systems to be generated. Supported protection systems include
Widevine, PlayReady, FairPlay, Marlin, and Widevine, PlayReady, FairPlay, Marlin, and
`CommonSystem <https://goo.gl/s8RIhr>`_. `CommonSystem <https://goo.gl/s8RIhr>`_.
--playready_extra_header_data <string>
Extra XML data to add to PlayReady PSSH data. Can be specified even if
using another key source.

View File

@ -85,6 +85,20 @@ The examples below use the H264 streams created in :doc:`encoding`.
--protection_systems Widevine,PlayReady \ --protection_systems Widevine,PlayReady \
--mpd_output h264.mpd --mpd_output h264.mpd
* Example with LAURL::
$ 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 PlayReady \
--playready_extra_header_data '<LAURL>https://example.com/pr</LAURL>' \
--mpd_output h264.mpd
.. note:: .. note::
Users are responsible for setting up the license servers and managing keys Users are responsible for setting up the license servers and managing keys