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

2015-06-15 Thread Michael Niedermayer
On Mon, Jun 15, 2015 at 12:18:51PM -0700, Dan Dennedy wrote: > On Wed, Feb 11, 2015 at 12:20 PM Michael Niedermayer > wrote: > > > > > 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

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

2015-06-15 Thread Dan Dennedy
On Wed, Feb 11, 2015 at 12:20 PM Michael Niedermayer wrote: > > 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 descripti

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

2015-02-11 Thread Michael Niedermayer
On Wed, Feb 11, 2015 at 03:06:42PM +, Christian Suloway wrote: > bumping this thread > > On 2/3/15, 9:54 AM, "Christian Suloway" > wrote: > > >Updated patch is attached. > > > >On 1/10/15, 3:06 PM, "Michael Niedermayer" wrote: > >> > >>i got it working after a few tries but > >>please provi

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

2015-02-11 Thread Christian Suloway
bumping this thread On 2/3/15, 9:54 AM, "Christian Suloway" wrote: >Updated patch is attached. > >On 1/10/15, 3:06 PM, "Michael Niedermayer" wrote: >> >>i got it working after a few tries but >>please provide an example that works and documentation that describes >>the feature in a way sufficie

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

2015-02-03 Thread Christian Suloway
Updated patch is attached. On 1/10/15, 3:06 PM, "Michael Niedermayer" wrote: > >i got it working after a few tries but >please provide an example that works and documentation that describes >the feature in a way sufficient to use it without reading the code >ideally add a example to the documenta

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

2015-01-10 Thread Michael Niedermayer
pment discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: added HLS encryption > > New version of the patch attached to address your comments. > Thanks, > Christian > > On Jan 7, 2015, at 2:17 PM, Michael Niedermayer wrote: > > > Please ad

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

2015-01-09 Thread Christian Suloway
Resending attachment. From: ffmpeg-devel-boun...@ffmpeg.org on behalf of Christian Suloway Sent: Friday, January 9, 2015 5:02 PM To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: added HLS encryption

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

2015-01-09 Thread Christian Suloway
New version of the patch attached to address your comments. Thanks, Christian On Jan 7, 2015, at 2:17 PM, Michael Niedermayer wrote: > Please add a testcase/example to either the documentation or > commit message Example added to the commit message. >> +ff_get_line(pb, hls->key_uri, sizeof

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

2015-01-07 Thread Michael Niedermayer
On Wed, Jan 07, 2015 at 08:59:11AM -0600, Christian Suloway wrote: > Added HLS encryption with -hls_key_info_file option. The > first line of key_info_file specifies the key URI for the playlist. The > second line specifies the path to the file containing the encryption > key. An optional third li

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

2015-01-07 Thread Christian Suloway
Added HLS encryption with -hls_key_info_file option. The first line of key_info_file specifies the key URI for the playlist. The second line specifies the path to the file containing the encryption key. An optional third line specifies an IV to use instead of the segment number. Changes to key_inf

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

2014-12-30 Thread Christian Suloway
Added HLS encryption with -hls_key_info_file option. The first line of key_info_file specifies the key URI for the playlist. The second line specifies the path to the file containing the encryption key. An optional third line specifies an IV to use instead of the segment number. Changes to key_inf

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

2014-12-23 Thread Michael Niedermayer
On Tue, Dec 23, 2014 at 04:36:34PM -0600, Christian Suloway wrote: > Added HLS encryption with -hls_key_info_file option. The > first line of key_info_file specifies the key URI for the playlist. The > second line specifies the path to the file containing the encryption > key. An optional third li

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

2014-12-23 Thread Christian Suloway
Added HLS encryption with -hls_key_info_file option. The first line of key_info_file specifies the key URI for the playlist. The second line specifies the path to the file containing the encryption key. An optional third line specifies an IV to use instead of the segment number. Changes to key_inf

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

2014-12-23 Thread Christian Suloway
On Dec 22, 2014, at 6:36 PM, Michael Niedermayer wrote: > this looks a bit odd, > see ff_get_line(), it probably allows to simplify this a lot Resubmitting using ff_get_line(). Thanks, Christian ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org htt

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

2014-12-22 Thread Michael Niedermayer
On Mon, Dec 22, 2014 at 01:54:17PM -0600, Christian Suloway wrote: > Added HLS encryption with -hls_key_info_file option. > The first line of key_info_file specifies the key URI for the playlist. > The second line specifies the path to the file containing the encryption > key. An optional third li

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

2014-12-22 Thread Christian Suloway
Added HLS encryption with -hls_key_info_file option. The first line of key_info_file specifies the key URI for the playlist. The second line specifies the path to the file containing the encryption key. An optional third line specifies an IV to use instead of the segment number. Changes to key_inf

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

2014-12-15 Thread Christian Suloway
On 12/12/14, 9:57 PM, "Michael Niedermayer" wrote: >combining the random seed with a LFG seems a bit odd >i would out of principle use something stronger, though i dont know >what the exact scenarios are this is intended to prevent, so maybe >its fine Yes, this is a good point. I will resubmit th

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

2014-12-12 Thread Michael Niedermayer
On Thu, Dec 11, 2014 at 12:27:37PM -0600, Christian Suloway wrote: > Added HLS encryption with -hls_key_info_file option. The > first line of key_info_file specifies the key URI for the playlist, and > the second line specifies the path to the file containing the encryption > key. Changes to key_i

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

2014-12-11 Thread Christian Suloway
Added HLS encryption with -hls_key_info_file option. The first line of key_info_file specifies the key URI for the playlist, and the second line specifies the path to the file containing the encryption key. Changes to key_info_file will be reflected in segment encryption along with an entry in the

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

2014-11-26 Thread Michael Niedermayer
On Wed, Nov 26, 2014 at 04:37:51PM -0600, Christian Suloway wrote: > Signed-off-by: Christian Suloway > --- > libavformat/crypto.c | 233 --- > libavformat/hlsenc.c | 387 > ++- these should be split in 2 or more patche

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

2014-11-26 Thread Christian Suloway
Signed-off-by: Christian Suloway --- libavformat/crypto.c | 233 --- libavformat/hlsenc.c | 387 ++- 2 files changed, 567 insertions(+), 53 deletions(-) diff --git a/libavformat/crypto.c b/libavformat/crypto.c index a9b6