[FFmpeg-devel] [PATCH 2/3] libavformat/hls: add support for SAMPLE-AES decryption in HLS demuxer

2021-01-22 Thread Nachiket Tarate
Apple HTTP Live Streaming Sample Encryption: https://developer.apple.com/library/ios/documentation/AudioVideo/Conceptual/HLS_Sample_Encryption Signed-off-by: Nachiket Tarate --- libavformat/Makefile | 2 +- libavformat/hls.c| 98 ++-- libavformat/hls_sample_aes.c | 46

[FFmpeg-devel] [PATCH 2/3] libavformat/hls: add support for SAMPLE-AES decryption in HLS demuxer

2021-01-28 Thread Nachiket Tarate
Apple HTTP Live Streaming Sample Encryption: https://developer.apple.com/library/ios/documentation/AudioVideo/Conceptual/HLS_Sample_Encryption Signed-off-by: Nachiket Tarate --- libavformat/Makefile | 2 +- libavformat/hls.c| 101 +++-- libavformat/hls_sample_aes.c | 4

[FFmpeg-devel] [PATCH 2/3] libavformat/hls: add support for SAMPLE-AES decryption in HLS demuxer

2021-01-18 Thread Nachiket Tarate
Apple HTTP Live Streaming Sample Encryption: https://developer.apple.com/library/ios/documentation/AudioVideo/Conceptual/HLS_Sample_Encryption Signed-off-by: Nachiket Tarate --- libavformat/Makefile | 2 +- libavformat/hls.c| 97 ++- libavformat/hls_sample_aes.c | 497

[FFmpeg-devel] [PATCH 2/3] libavformat/hls: add support for SAMPLE-AES decryption in HLS demuxer

2021-01-21 Thread Nachiket Tarate
Apple HTTP Live Streaming Sample Encryption: https://developer.apple.com/library/ios/documentation/AudioVideo/Conceptual/HLS_Sample_Encryption Signed-off-by: Nachiket Tarate --- libavformat/Makefile | 2 +- libavformat/hls.c| 97 ++- libavformat/hls_sample_aes.c | 486

Re: [FFmpeg-devel] [PATCH 2/3] libavformat/hls: add support for SAMPLE-AES decryption in HLS demuxer

2021-01-22 Thread Andreas Rheinhardt
Nachiket Tarate: > Apple HTTP Live Streaming Sample Encryption: > > https://developer.apple.com/library/ios/documentation/AudioVideo/Conceptual/HLS_Sample_Encryption > > Signed-off-by: Nachiket Tarate > --- > libavformat/Makefile | 2 +- > libavformat/hls.c| 97 ++- >

Re: [FFmpeg-devel] [PATCH 2/3] libavformat/hls: add support for SAMPLE-AES decryption in HLS demuxer

2021-01-22 Thread Carl Eugen Hoyos
Am Do., 21. Jan. 2021 um 20:42 Uhr schrieb Nachiket Tarate : > > Apple HTTP Live Streaming Sample Encryption: This is definitely important enough to warrant a line in the Changelog. Thank you for your effort, Carl Eugen ___ ffmpeg-devel mailing list ffm

Re: [FFmpeg-devel] [PATCH 2/3] libavformat/hls: add support for SAMPLE-AES decryption in HLS demuxer

2021-01-28 Thread Lynne
Jan 28, 2021, 16:11 by nachiket.program...@gmail.com: > Apple HTTP Live Streaming Sample Encryption: > > https://developer.apple.com/library/ios/documentation/AudioVideo/Conceptual/HLS_Sample_Encryption > > Signed-off-by: Nachiket Tarate > --- > libavformat/Makefile | 2 +- > libavform

Re: [FFmpeg-devel] [PATCH 2/3] libavformat/hls: add support for SAMPLE-AES decryption in HLS demuxer

2021-01-28 Thread James Almer
On 1/28/2021 12:53 PM, Lynne wrote: Jan 28, 2021, 16:11 by nachiket.program...@gmail.com: +static int decrypt_nal_unit(HLSCryptoContext *crypto_ctx, NALUnit *nalu) +{ +int ret = 0; +int rem_bytes; +uint8_t *data; +uint8_t iv[16]; + +ret = av_aes_init(crypto_ctx->aes_ctx, cryp

Re: [FFmpeg-devel] [PATCH 2/3] libavformat/hls: add support for SAMPLE-AES decryption in HLS demuxer

2021-01-31 Thread Steven Liu
> 2021年1月28日 下午11:11,Nachiket Tarate 写道: > > Apple HTTP Live Streaming Sample Encryption: > > https://developer.apple.com/library/ios/documentation/AudioVideo/Conceptual/HLS_Sample_Encryption > > Signed-off-by: Nachiket Tarate > --- > libavformat/Makefile | 2 +- > libavformat/hls.c

Re: [FFmpeg-devel] [PATCH 2/3] libavformat/hls: add support for SAMPLE-AES decryption in HLS demuxer

2021-02-11 Thread Steven Liu
> 在 2021年2月3日,09:11,Steven Liu 写道: > > > >> 2021年2月2日 下午10:51,Nachiket Tarate 写道: >> >> Hello Steven, >> >> Was this test passing earlier (without my patch) ? > Hi Nachiket, > no, and it to support sample aes without your patch >> >> Because SAMPLE-AES encryption method is for MPEG-TS fo

Re: [FFmpeg-devel] [PATCH 2/3] libavformat/hls: add support for SAMPLE-AES decryption in HLS demuxer

2021-02-23 Thread Nachiket Tarate
Hello Steven, This patch enables SAMPLE-AES decryption for MPEG-TS format only and not for fragmented MP4 format. In the next version of the patch, I will add a check for it. Best Regards, Nachiket Tarate On Mon, Feb 1, 2021 at 12:48 PM Steven Liu wrote: > > > > 2021年1月28日 下午11:11,Nachiket Ta

Re: [FFmpeg-devel] [PATCH 2/3] libavformat/hls: add support for SAMPLE-AES decryption in HLS demuxer

2021-01-18 Thread Anton Khirnov
Quoting Nachiket Tarate (2021-01-18 18:39:56) > Apple HTTP Live Streaming Sample Encryption: > > https://developer.apple.com/library/ios/documentation/AudioVideo/Conceptual/HLS_Sample_Encryption > > Signed-off-by: Nachiket Tarate > --- > libavformat/Makefile | 2 +- > libavformat/hls.

Re: [FFmpeg-devel] [PATCH 2/3] libavformat/hls: add support for SAMPLE-AES decryption in HLS demuxer

2021-01-19 Thread James Almer
On 1/18/2021 2:39 PM, Nachiket Tarate wrote: +typedef struct AVParserContext { +const uint8_t *buf_in; +const uint8_t *buf_end; +uint8_t *buf_out; +int next_start_code_length; +} AVParserContext; The AV prefix in structs names should not be used for an in

Re: [FFmpeg-devel] [PATCH 2/3] libavformat/hls: add support for SAMPLE-AES decryption in HLS demuxer

2021-01-21 Thread Lynne
Jan 21, 2021, 20:42 by nachiket.program...@gmail.com: > Apple HTTP Live Streaming Sample Encryption: > > https://developer.apple.com/library/ios/documentation/AudioVideo/Conceptual/HLS_Sample_Encryption > > Signed-off-by: Nachiket Tarate > --- > libavformat/Makefile | 2 +- > libavform