[FFmpeg-devel] [PATCH] avformat/mov: add support for multiple decryption keys

Michael Niedermayer michael at niedermayer.cc
Thu Aug 1 20:30:51 EEST 2024


On Thu, Aug 01, 2024 at 02:53:29AM +0200, Kacper Michajlow wrote:
> On Mon, 13 Nov 2023 at 09:40, Adrien Guinet <adrien at guinet.me> wrote:
> >
> > This commit introduces new options to support more than one decryption
> > keys:
> > * add a decryption_keys option to MOV, that supports a dictionnary of
> >   KID=>key (in hex), using AV_OPT_TYPE_DICT
> > * add the corresponding cenc_decryption_keys option to DASH
> > ---
> >  doc/demuxers.texi                          | 12 +++-
> >  libavformat/dashdec.c                      |  6 +-
> >  libavformat/isom.h                         |  5 +-
> >  libavformat/mov.c                          | 80 ++++++++++++++++++----
> >  tests/fate/mov.mak                         | 12 ++++
> >  tests/ref/fate/mov-3elist-encrypted-kid    | 57 +++++++++++++++
> >  tests/ref/fate/mov-frag-encrypted-kid      | 57 +++++++++++++++
> >  tests/ref/fate/mov-tenc-only-encrypted-kid | 57 +++++++++++++++
> >  8 files changed, 269 insertions(+), 17 deletions(-)
> >  create mode 100644 tests/ref/fate/mov-3elist-encrypted-kid
> >  create mode 100644 tests/ref/fate/mov-frag-encrypted-kid
> >  create mode 100644 tests/ref/fate/mov-tenc-only-encrypted-kid
[...]
>
> Works as advertised, thanks.

> Hope it can be merged one day.

didnt look at the patch but i agree
it seems this patch was missed

But this reminds me, we seem not to have anyone listed for the encrypted
support in MOV & co in MAINTAINERs
can  someone of the people, who worked on this code
review it please!

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Take away the freedom of one citizen and you will be jailed, take away
the freedom of all citizens and you will be congratulated by your peers
in Parliament.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240801/56c57901/attachment.sig>


More information about the ffmpeg-devel mailing list