movenc: support cenc (common encryption)
authorerankor <eran.kornblau@kaltura.com>
Mon, 7 Dec 2015 10:01:09 +0000 (12:01 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 15 Dec 2015 13:16:28 +0000 (14:16 +0100)
commit4469e8ebb2f370794c88aa51d528d1d899d29ddc
treea8507e8eb328c0aee020809be37941bd37882844
parent23ac99dc17b0c4ff43bb56c1f8cbe7feb34bada5
movenc: support cenc (common encryption)

support writing encrypted mp4 using aes-ctr, conforming to ISO/IEC
23001-7.

3 new parameters were added:
- encryption_scheme - allowed values are none (default) and cenc-aes-ctr
- encryption_key - 128 bit encryption key (hex)
- encryption_kid - 128 bit encryption key identifier (hex)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Changelog
libavformat/Makefile
libavformat/movenc.c
libavformat/movenc.h
libavformat/movenccenc.c [new file with mode: 0644]
libavformat/movenccenc.h [new file with mode: 0644]