[Bug 765275] matroska: Add encrypted content support in matroskademux
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Sep 3 14:27:09 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=765275
--- Comment #46 from y.bandou <bandou.yacine at gmail.com> ---
(In reply to y.bandou from comment #45)
> (In reply to Donia from comment #44)
> > (In reply to George Kiagiadakis from comment #14)
> > > How are you testing this? Can you think of a way to unit test it?
> >
> > (In reply to y.bandou from comment #17)
> > > (In reply to George Kiagiadakis from comment #14)
> > > > How are you testing this? Can you think of a way to unit test it?
> > >
> > > I tested this with WebkitForWayland browser in MSE/EME Youtube conformance
> > > test.
> > >
> > > "https://yt-dash-mse-test.commondatastorage.googleapis.com/unit-tests/2017.
> > > html?&disable_log=true&test_type=encryptedmedia-test"
> > >
> > > Yes I'll try to write a unit tests. I'll see how was done in qtdemux.
> >
> > Hi Bandou Yacine,
> > Against which version of Webkit was the patch tested ?
> > Do we have a unit test available ?
>
> Hi Donia,
> To test this patch with webkit WPE port, you need some patches in order to
> add the support of encrypted webm in webkit GStreamer backend.
> I didn't push to upstream these patches because they are not yet ready, they
> work only in our SoftAtHome private branch.
> I'll try to push these patch ASAP.
In order to test this patch and play an encrypted WebM content:
1. Take an upstream WebKit "git://git.webkit.org/WebKit.git"
2. Apply the following patches:
-https://bugs.webkit.org/attachment.cgi?id=348764 (Add the current patch in
Jhbuild)
-https://bugs.webkit.org/attachment.cgi?id=327459
-https://bugs.webkit.org/attachment.cgi?id=348768
-https://bugs.webkit.org/attachment.cgi?id=348770
3. Activate MSE and EME like this:
--- a/Tools/MiniBrowser/wpe/main.cpp
+++ b/Tools/MiniBrowser/wpe/main.cpp
@@ -166,6 +166,8 @@ int main(int argc, char *argv[])
"enable-developer-extras", TRUE,
"enable-webgl", TRUE,
"enable-media-stream", TRUE,
+ "enable-mediasource", TRUE,
+ "enable-encrypted-media", TRUE,
4. Build the WPE Port.
5. # weston --socket=wpe &
# WAYLAND_DISPLAY=wpe Tools/Scripts/run-minibrowser --wpe
"https://singingtree.github.io/Webm-EME-Examples/VideoAndAudio-VideoSubsampleEncrypted.html"
For Unit tests see:
https://bugs.webkit.org/show_bug.cgi?id=189196
https://bugs.webkit.org/show_bug.cgi?id=189200
--
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