ffmpeg/doc
Christian Suloway 907ac20aa2 avformat/hlsenc: added HLS encryption
Added HLS encryption with -hls_key_info_file <key_info_file> option. The
first line of key_info_file specifies the key URI written to the
playlist. The key URL is used to access the encryption key during
playback. The second line specifies the path to the key file used to
obtain the key during the encryption process. The key file is read as a
single packed array of 16 octets in binary format. The optional third
line specifies the initialization vector (IV) as a hexadecimal string to
be used instead of the segment sequence number (default) for encryption.
Changes to key_info_file will result in segment encryption with the new
key/IV and an entry in the playlist for the new key URI/IV.

Key info file format:
<key URI>
<key file path>
<IV> (optional)

Example key URIs:
http://server/file.key
/path/to/file.key
file.key

Example key file paths:
file.key
/path/to/file.key

Example IV:
0123456789ABCDEF0123456789ABCDEF

Example:
ffmpeg -f lavfi -i testsrc -c:v h264 -hls_key_info_file file.keyinfo
foo.m3u8

file.keyinfo:
http://server/file.key
/path/to/file.key
0123456789ABCDEF0123456789ABCDEF

Example shell script:
BASE_URL=${1:-'.'}
openssl rand 16 > file.key
echo $BASE_URL/file.key > file.keyinfo
echo file.key >> file.keyinfo
echo $(openssl rand -hex 16) >> file.keyinfo
ffmpeg -f lavfi -re -i testsrc -c:v h264 -hls_flags delete_segments \
  -hls_key_info_file file.keyinfo out.m3u8
--

Signed-off-by: Christian Suloway <csuloway@globaleagleent.com>
Signed-off-by: Dan Dennedy <dan@dennedy.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-16 03:25:31 +02:00
..
examples examples/demuxing_decoding: use properties from frame instead of video_dec_ctx 2015-06-15 18:32:18 +02:00
APIchanges doc/APIchanges: fill in missing stuff 2015-06-09 23:08:53 +02:00
authors.texi
bitstream_filters.texi avcodec: add unpack packed B-frames bitstream filter 2015-04-05 02:24:56 +02:00
bootstrap.min.css doc: Copyright in CSS, CSS split in 2 files 2014-09-06 01:37:31 +02:00
build_system.txt doc/build_system: Document GEN, text taken from the webpage 2015-05-27 12:23:01 +02:00
codecs.texi doc/codecs: document nomc flag 2015-01-12 01:18:01 +01:00
decoders.texi lavc/flac: Fix encoding and decoding with high lpc. 2015-05-17 02:08:58 +02:00
default.css doc: restore default.css 2014-07-20 02:01:50 +02:00
demuxers.texi avformat/concatdec: Enable auto_convert by default 2015-05-29 12:19:47 +02:00
developer.texi doc: Use @lisp where appropriate 2015-03-23 17:21:38 +01:00
devices.texi
doxy-wrapper.sh doc/doxy-wrapper.sh: autodetect version 2015-02-02 05:04:14 +01:00
Doxyfile doc/Doxyfile: use 5 columns for alphabetical index 2014-07-08 00:43:18 +02:00
encoders.texi encoders.texi: update libvpx documentation 2015-06-15 12:09:02 -07:00
errno.txt
faq.texi doc: avoid the incorrect phrase 'allow to' 2015-03-08 21:59:28 +01:00
fate_config.sh.template Merge commit '732dd658687bd9a2e5c622e38c481825b57af250' 2015-05-16 21:14:01 +02:00
fate.texi doc: Add $branch to FATE config template 2015-05-16 17:06:35 +02:00
ffmpeg-bitstream-filters.texi doc: set documentencoding on toplevel texi files. 2015-02-19 11:30:30 +01:00
ffmpeg-codecs.texi doc: set documentencoding on toplevel texi files. 2015-02-19 11:30:30 +01:00
ffmpeg-devices.texi doc: set documentencoding on toplevel texi files. 2015-02-19 11:30:30 +01:00
ffmpeg-filters.texi doc: set documentencoding on toplevel texi files. 2015-02-19 11:30:30 +01:00
ffmpeg-formats.texi doc: set documentencoding on toplevel texi files. 2015-02-19 11:30:30 +01:00
ffmpeg-protocols.texi doc: set documentencoding on toplevel texi files. 2015-02-19 11:30:30 +01:00
ffmpeg-resampler.texi doc: set documentencoding on toplevel texi files. 2015-02-19 11:30:30 +01:00
ffmpeg-scaler.texi doc: set documentencoding on toplevel texi files. 2015-02-19 11:30:30 +01:00
ffmpeg-utils.texi doc: set documentencoding on toplevel texi files. 2015-02-19 11:30:30 +01:00
ffmpeg.texi doc/ffmpeg: remove tips 2015-06-10 13:08:48 -08:00
ffmpeg.txt
ffplay.texi Merge commit 'e2d50fc2f5f3600e13055acf1a10fec35e941f37' 2015-05-02 22:31:20 +02:00
ffprobe.texi doc: More semantic markup using @samp and @var where appropriate 2015-03-23 17:08:08 +01:00
ffprobe.xsd ffprobe: print stream_index with frame data 2015-05-27 11:19:19 +02:00
ffserver.conf doc/ffserver: Add entry for missing jpeg variant 2015-06-08 03:41:57 +02:00
ffserver.texi Use @verbatim instead of @example for ASCII arts 2015-04-11 01:14:51 +02:00
fftools-common-opts.texi Merge commit 'c253340ae6f74ffd8798bbd476e46d1b33a2d56e' 2015-04-20 02:48:19 +02:00
filter_design.txt
filters.texi avfilter/af_afade: add couple of more curves 2015-06-15 20:55:05 +00:00
formats.texi doc/formats.texi: document max_interlave_delta muxing option 2015-06-01 18:34:40 +02:00
general.texi Merge commit '22526c1f557a72b3285d295bd8b30c40eb65d437' 2015-04-20 05:28:13 +02:00
git-howto.texi git-howto.texi: fix a typo 2015-04-23 23:56:21 -07:00
indevs.texi dshow: add capture device save and load 2015-04-22 20:12:36 +02:00
issue_tracker.txt doc/issue_tracker: Correct sub-domain for mailing list 2014-07-20 20:57:53 +02:00
libavcodec.texi doc: set documentencoding on toplevel texi files. 2015-02-19 11:30:30 +01:00
libavdevice.texi doc: set documentencoding on toplevel texi files. 2015-02-19 11:30:30 +01:00
libavfilter.texi doc: set documentencoding on toplevel texi files. 2015-02-19 11:30:30 +01:00
libavformat.texi doc: set documentencoding on toplevel texi files. 2015-02-19 11:30:30 +01:00
libavutil.texi doc: set documentencoding on toplevel texi files. 2015-02-19 11:30:30 +01:00
libswresample.texi doc: set documentencoding on toplevel texi files. 2015-02-19 11:30:30 +01:00
libswscale.texi doc: set documentencoding on toplevel texi files. 2015-02-19 11:30:30 +01:00
Makefile doc/examples: add directory listing example 2015-03-28 03:13:44 +01:00
metadata.texi doc: More semantic markup using @samp and @var where appropriate 2015-03-23 17:08:08 +01:00
mips.txt
multithreading.txt
muxers.texi avformat/hlsenc: added HLS encryption 2015-06-16 03:25:31 +02:00
nut.texi doc: set documentencoding on toplevel texi files. 2015-02-19 11:30:30 +01:00
optimization.txt x86/doc/Makefile: DBG=1 to preprocess external asm 2015-02-17 13:08:04 +01:00
outdevs.texi ffmpeg: add -devices param 2014-05-28 03:52:50 +02:00
platform.texi Merge commit 'a982c5d74fbc7ff5bd2f2f73af61ae48e9b1bcc6' 2015-02-21 12:08:31 +01:00
print_options.c doc: fix spelling errors 2014-12-01 00:31:06 +01:00
protocols.texi lavf/http: Document method option. 2015-06-06 09:13:41 +02:00
rate_distortion.txt
resampler.texi
scaler.texi swscale: add two spatially stable dithering methods 2014-03-25 13:48:06 +01:00
snow.txt doc/snow: remove possibly wrong todo item 2014-08-26 01:19:26 +02:00
style.min.css doc: Copyright in CSS, CSS split in 2 files 2014-09-06 01:37:31 +02:00
swresample.txt
swscale.txt
t2h.init doc: Copyright in CSS, CSS split in 2 files 2014-09-06 01:37:31 +02:00
t2h.pm stop embedding the build date 2015-02-02 05:04:14 +01:00
tablegen.txt
texi2pod.pl texi2pod: Handle @verbatim 2015-04-11 01:00:07 +02:00
texidep.pl
utils.texi doc: More semantic markup using @samp and @var where appropriate 2015-03-23 17:08:08 +01:00
writing_filters.txt doc/writing_filters: use ffmpeg.org instead of wikimedia.org for lena image 2014-11-19 19:55:02 +01:00