how to know if dash content is AES-128 CTR or CBR encrypted stream

Sebastian Dröge sebastian at centricular.com
Mon Oct 24 06:50:51 UTC 2016


On Mon, 2016-10-24 at 08:56 +0530, Sanjay Gupta wrote:
> Hi,
> I have a encrypted dash content which I got from dashif.org:
> http://dash.edgesuite.net/dash264/TestCases/6b/microsoft/CENC_HD_Time
> /CENC_HD_time_MPD.mpd
> 
> I would like to know if this content is AES 128-bits CTR encrypted
> stream or ES 128-bits CBC encrypted stream.
> 
> I saw that latest QT demux is printing this information in following
> change list: ES 128-bits CBC encrypted stream:
> 
> qtdemux: PIFF box detection and parsing support
> https://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/gst/is
> omp4/qtdemux.c?id=fd7964e7462544a0c120ebf1d4c8e4b0174a1518
> 
> But when I am trying to play the above dash content, function which
> prints CTR or CBC information in QTDemux is not executed?
> 
> Can someone please suggest how to get this information?

This stream seems to contain this information in the MPD, and we
currently don't parse the mspr tag from there and also don't pass it
downstream. That's probably what is needed here.

It also does not have the piff atom inside the MP4 container, so that's
why the code you linked above is not called.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161024/00623919/attachment.sig>


More information about the gstreamer-devel mailing list