Vadym Bezdushnyi
b74beba9a9
avformat/movenc: Support encryption of H.265 stream in AnnexB format
Steps to test:
1. Create h265 test files - mp4 and h265 AnnexB streams:
ffmpeg -f lavfi -i testsrc=duration=10:size=640x480:rate=30 -c:v hevc input_h265.mp4
ffmpeg -f lavfi -i testsrc=duration=10:size=640x480:rate=30 -c:v hevc -bsf:v hevc_mp4toannexb input_h265.h265
2. Encrypt and decrypt files. Put appropriate input file name here: input_h265.mp4 or input_h265.h265
ffmpeg -i input_h265.h265 -vcodec copy -acodec copy -encryption_scheme cenc-aes-ctr \
-encryption_key 00000000000000000000000000000000 -encryption_kid 00000000000000000000000000000000 \
encrypted_h265.mp4
ffplay -i encrypted_h265.mp4 -decryption_key 00000000000000000000000000000000
Signed-off-by: Vadym Bezdushnyi <vadim.bezdush@gmail.com>
2021-06-29 18:20:17 +05:30
..
2021-06-10 16:51:44 +02:00
2021-05-07 09:27:21 -03:00
2021-06-09 13:55:25 -03:00
2021-06-20 17:43:47 +02:00
2021-05-07 09:27:21 -03:00
2021-06-10 16:51:44 +02:00
2021-05-12 20:27:02 +10:00
2021-05-12 20:27:02 +10:00
2021-05-07 09:27:21 -03:00
2021-05-07 09:27:21 -03:00
2021-06-11 19:42:24 +02:00
2021-05-07 09:27:21 -03:00
2021-05-27 17:41:36 +02:00
2021-05-22 15:27:55 +02:00
2021-06-09 13:55:25 -03:00
2021-06-09 13:55:25 -03:00
2021-06-14 21:47:09 +05:30
2021-05-07 09:27:21 -03:00
2021-05-07 09:27:21 -03:00
2021-05-06 09:44:42 -03:00
2021-06-18 18:58:25 +02:00
2021-05-07 09:27:21 -03:00
2021-06-09 13:55:25 -03:00
2021-05-07 09:27:21 -03:00
2021-06-12 14:22:42 +02:00
2021-06-10 16:51:44 +02:00
2021-05-07 09:27:21 -03:00
2021-06-09 13:55:25 -03:00
2021-06-10 16:51:44 +02:00
2021-05-30 09:21:19 +05:30
2021-05-20 09:25:15 +05:30
2021-06-26 20:17:57 +02:00
2021-06-10 16:51:44 +02:00
2021-06-10 16:51:44 +02:00
2021-06-09 13:55:25 -03:00
2021-06-18 18:58:25 +02:00
2021-05-07 09:27:21 -03:00
2021-06-10 16:51:44 +02:00
2021-05-07 09:27:21 -03:00
2021-06-02 10:46:04 +05:30
2021-05-07 09:27:21 -03:00
2021-05-07 09:27:21 -03:00
2021-06-10 16:51:44 +02:00
2021-06-09 00:09:33 +02:00
2021-05-07 09:27:21 -03:00
2021-05-07 09:27:21 -03:00
2021-05-07 09:27:21 -03:00
2021-05-12 20:27:02 +10:00
2021-06-10 16:51:44 +02:00
2021-06-09 13:55:25 -03:00
2021-06-09 13:55:25 -03:00
2021-06-18 18:58:25 +02:00
2021-05-07 09:27:21 -03:00
2021-05-13 09:13:03 +10:00
2021-05-27 17:41:04 +02:00
2021-06-10 16:51:44 +02:00
2021-06-10 16:51:44 +02:00
2021-06-12 14:22:42 +02:00
2021-06-29 18:20:17 +05:30
2021-06-10 16:51:44 +02:00
2021-06-18 18:58:25 +02:00
2021-05-07 09:27:21 -03:00
2021-05-07 09:27:22 -03:00
2021-06-10 23:16:55 +03:00
2021-06-18 18:58:25 +02:00
2021-05-07 09:27:21 -03:00
2021-06-09 13:55:25 -03:00
2021-06-13 22:04:14 +02:00
2021-06-13 22:04:14 +02:00
2021-05-07 09:27:21 -03:00
2021-05-07 09:27:21 -03:00
2021-06-18 18:58:25 +02:00
2021-05-07 09:27:21 -03:00
2021-05-07 09:27:21 -03:00
2021-05-07 09:27:21 -03:00
2021-05-07 09:27:21 -03:00
2021-05-07 09:27:21 -03:00
2021-05-07 09:27:21 -03:00
2021-06-09 13:55:25 -03:00
2021-06-18 18:58:25 +02:00
2021-05-07 09:27:21 -03:00
2021-06-18 18:58:25 +02:00
2021-05-07 09:27:21 -03:00
2021-06-09 13:55:25 -03:00
2021-06-18 18:58:25 +02:00
2021-06-18 18:58:25 +02:00
2021-06-12 14:22:42 +02:00
2021-06-20 22:45:35 +02:00
2021-06-20 22:45:35 +02:00
2021-05-07 09:27:21 -03:00
2021-05-07 09:27:21 -03:00
2021-05-07 09:27:21 -03:00
2021-06-09 13:55:25 -03:00
2021-05-07 09:27:21 -03:00
2021-05-07 09:27:21 -03:00
2021-06-09 13:55:25 -03:00
2021-06-18 18:58:25 +02:00
2021-05-07 09:27:21 -03:00
2021-05-07 09:27:21 -03:00
2021-06-20 22:45:35 +02:00
2021-06-09 13:55:25 -03:00
2021-06-18 18:58:25 +02:00
2021-05-07 09:27:21 -03:00
2021-05-22 15:27:55 +02:00
2021-06-12 14:22:42 +02:00
2021-06-20 22:30:38 +02:00
2021-06-09 13:55:25 -03:00
2021-06-09 13:55:25 -03:00
2021-06-09 13:55:25 -03:00
2021-06-20 22:30:38 +02:00
2021-05-07 09:27:21 -03:00
2021-05-07 09:27:21 -03:00
2021-05-07 09:27:21 -03:00