Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Liu <lq@chinaffmpeg.org>2017-04-14 18:30:29 +0300
committerSteven Liu <lq@chinaffmpeg.org>2017-04-14 18:30:29 +0300
commit5caaa3a49e76b084ff8a9840d541bad64d96d7f7 (patch)
treea1c8709f82dad6180ba5403716aaa43ebfd89f92 /doc/muxers.texi
parent5dedb2afd64e27ad08308487e185f7e3a5bea1b9 (diff)
avformat/hlsenc: add hls encrypt options
refer to: https://git.libav.org/?p=libav.git;a=commitdiff;h=0a4b9d0ccd10b3c39105f99bd320f696f69a75a2 add hls encrypt options looks like libav's libavformat/hlsenc.c Reviewed-by: Moritz Barsnick <barsnick@gmx.net> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
Diffstat (limited to 'doc/muxers.texi')
-rw-r--r--doc/muxers.texi16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/muxers.texi b/doc/muxers.texi
index 844bbce990..0866142d43 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -597,6 +597,22 @@ ffmpeg -f lavfi -re -i testsrc -c:v h264 -hls_flags delete_segments \
-hls_key_info_file file.keyinfo out.m3u8
@end example
+@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}
+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}
+Hex-coded 16byte initialization vector for every segment instead
+of the autogenerated ones.
@item hls_flags @var{flags}
Possible values: