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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jun 26 16:59:44 UTC 2017


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

            Bug ID: 784224
           Summary: matroskademux: Add support for encrypted content with
                    protection API
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: bandou.yacine at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

This commit:

    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