From 97cad858bf5f08e8a6552aeeb8d4a7ce225f5e64 Mon Sep 17 00:00:00 2001 From: Jacob Trimble Date: Tue, 23 Jun 2020 09:43:15 -0700 Subject: [PATCH] Add docs for --playready_extra_header_data. Issue #756 Change-Id: Iedcf801c4c3e1e05e63857f3fe546ed2080c7005 --- docs/source/options/general_encryption_options.rst | 5 +++++ docs/source/tutorials/raw_key.rst | 14 ++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/docs/source/options/general_encryption_options.rst b/docs/source/options/general_encryption_options.rst index 474aab9755..935cac869d 100644 --- a/docs/source/options/general_encryption_options.rst +++ b/docs/source/options/general_encryption_options.rst @@ -43,3 +43,8 @@ General encryption options Protection systems to be generated. Supported protection systems include Widevine, PlayReady, FairPlay, Marlin, and `CommonSystem `_. + +--playready_extra_header_data + + Extra XML data to add to PlayReady PSSH data. Can be specified even if + using another key source. diff --git a/docs/source/tutorials/raw_key.rst b/docs/source/tutorials/raw_key.rst index ac2a20a6a2..fd3e015b5e 100644 --- a/docs/source/tutorials/raw_key.rst +++ b/docs/source/tutorials/raw_key.rst @@ -85,6 +85,20 @@ The examples below use the H264 streams created in :doc:`encoding`. --protection_systems Widevine,PlayReady \ --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 'https://example.com/pr' \ + --mpd_output h264.mpd + .. note:: Users are responsible for setting up the license servers and managing keys