[Bug 784224] matroskademux: Add support for encrypted content with protection API

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jun 26 17:18:21 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=784224

--- Comment #2 from y.bandou <bandou.yacine at gmail.com> ---
Created attachment 354524
  --> https://bugzilla.gnome.org/attachment.cgi?id=354524&action=edit
Add support for encrypted content with protection API

This patch:

  1.Parse the ContentEncryption elements by following the Matroska and WebM
spec.

  2.Set the srcpad with the right caps, when the track is encrypted.
    eg: application/x-matroska-enc, original-media-type:video/x-vp9,...

  3.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

  4.Parse the protection information of encrypted Block/SimpleBlock, extract
    the IV and the partitioning format (subsamples).

  5.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