[Bug 765275] matroska: implement reading & writing ContentEncryption headers
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Jun 27 12:40:06 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=765275
--- Comment #12 from y.bandou <bandou.yacine at gmail.com> ---
Created attachment 354562
--> https://bugzilla.gnome.org/attachment.cgi?id=354562&action=edit
matroska: Add support for encrypted content with protection API
This patch:
1.Parse the WebM ContentEncryption subelements.
2.Create a GST_PROTECTION event for each ContentEncryption, which will be
sent before the first source buffer.
The GST_PROTECTION event doesn't contain the "system_id", DRM system id,
field because it hasn't been specified neither by Matroska nor by the WebM
spec.
For this reason we make DRM system id optional in GST_PROTECTION event.
See: https://bugzilla.gnome.org/show_bug.cgi?id=784129
3.Parse the protection information of encrypted Block/SimpleBlock, extract
the IV and the partitioning format (subsamples).
4.Create the metadata protection for each encrypted Block/SimpleBlock, with
those informations: KeyID (extracted from ContentEncryption element), IV and
partitioning format.
The protection metadata follows the same format as qtdemux.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list