[Bug 705991] Adding support for DASH common encryption to qtdemux and dashdemux
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Sep 30 03:14:48 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=705991
GStreamer | gst-plugins-good | git
--- Comment #75 from Chris Bass <floobleflam at gmail.com> 2014-09-30 10:14:36 UTC ---
We've created a CENC-encrypted DASH stream to allow the functionality in these
patches to be tested. The URL of the MPD is
http://test-media.youview.co.uk/ondemand/bbb/avc3/1/client_manifest.mpd
The content keys needed to decrypt the audio and video representations are
hosted on the same server[1]; they're simply stored in the clear as hex
strings. The URL of the appropriate key (audio or video) has been placed in the
data field of a PSSH box within the initialisation segments of the audio and
video representations; in order to acquire the decryption key for a particular
content ID, a CENC decrypter element simply needs to make an HTTP GET for the
corresponding key URL, as parsed from the PSSH box. We've provided a suitable
decrypter element that does this on GitHub (see below).
In order to play this stream, you'll need to:
1. Apply the latest patches from this ticket to plugins-base (currently patch
282887) and qtdemux (currently patch 287434) and rebuild.
2. Grab a copy of the CENC decrypter plugin, build and install it; you can get
this as follows:
git clone -b clearkey https://github.com/asrashley/gst-cencdec.git
3. Play as normal:
gst-launch-1.0 playbin
uri=http://test-media.youview.co.uk/ondemand/bbb/avc3/1/client_manifest.mpd
Note: the decrypter element mentioned above is called cencdec-clearkey, and it
outputs debug messages to a category named "cencdec"; so if you're interested
in seeing more of what the decrypter is doing, you can turn up the debug level
on cencdec.
[1] The URLs for the audio and video keys are:
http://test-media.youview.co.uk/ondemand/bbb/avc3/1/keys/audio0
http://test-media.youview.co.uk/ondemand/bbb/avc3/1/keys/video0
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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