[FFmpeg-devel] [PATCH] avformat/hlsenc: added HLS encryption

Dan Dennedy dan at dennedy.org
Mon Jun 15 21:18:51 CEST 2015

On Wed, Feb 11, 2015 at 12:20 PM Michael Niedermayer <michaelni at gmx.at>

> please provide a example which works
> this is not an example its a description of how to create an example
> I mean example in the sense that its bytes when given to the right
> program like /bin/sh will do something not a description that needs
> a human to interpret it first.
> as is it might take 5 or 10 min to turn this text into some actual
> example and testcase and theres no reason why when this is tested
> again in 6 month the same testcase would be created by a human
> and if its not the same testcase we would not know if something broke
> if it no longer works or if we just failed to re create the testcase
> IMO its important to have a reproduceable example/testcase

I would like to help get this patch included. I updated it against git
master today and created a complete example shell script in both the commit
message and doc/muxers.texi:

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avformat-hlsenc-added-HLS-encryption.patch
Type: application/octet-stream
Size: 11534 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150615/99d5050f/attachment.obj>

More information about the ffmpeg-devel mailing list