From 0a4b9d0ccd10b3c39105f99bd320f696f69a75a2 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Tue, 11 Oct 2016 12:15:50 +0200 Subject: hlsenc: Add encryption support Partially based on Christian Suloway work. --- doc/muxers.texi | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'doc') diff --git a/doc/muxers.texi b/doc/muxers.texi index 58801aa1ad..5430da7850 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -122,6 +122,19 @@ Explicitly set whether the client MAY (1) or MUST NOT (0) cache media segments @item -hls_version @var{version} Set the protocol version. Enables or disables version-specific features such as the integer (version 2) or decimal EXTINF values (version 3). +@item -hls_enc @var{enc} +Enable (1) or disable (0) the AES128 encryption. +When enabled every segment generated is encrypted and the encryption key +is saved as @var{playlist name}.key. +@item -hls_enc_key @var{key} +Use the specified hex-coded 16byte key to encrypt the segments, by default it +is randomly generated. +@item -hls_enc_key_url @var{keyurl} +If set, @var{keyurl} is prepended instead of @var{baseurl} to the key filename +in the playlist. +@item -hls_enc_iv @var{iv} +Use a specified hex-coded 16byte initialization vector for every segment instead +of the autogenerated ones. @end table @anchor{image2} -- cgit v1.2.3