[Bug 765275] matroska: implement reading & writing ContentEncryption headers
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Jul 31 12:32:45 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=765275
--- Comment #15 from George Kiagiadakis <gkiagia at tolabaki.gr> ---
One thing I don't particularly like about this patch is that it is
webm-specific. Matroska is meant to be more abstract than that.
The way I see it, matroska elements should only be dealing with matroska
headers, not with the way data is formatted inside a data block (which is
defined in the webm spec). Or perhaps they can be dealing with webm-specific
stuff, but only when they are working with webm caps; otherwise, it's like you
are prohibiting the use of matroska with other encryption mechanisms.
In my original patch, the idea was just to parse the matroska headers to find
out if the content is encrypted and then leave downstream to interpret the
block data. I wrote that in order to interoperate with a proprietary element
that did its own encryption/decryption on individual frames (a bit similar to
how the webm standard does it, but not the same). Btw, that patch was badly
done - it had hardcoded values for the matroska headers, which is why I didn't
post it myself at the time for upstreaming...
--
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