Changeset 226966 in webkit


Ignore:
Timestamp:
Jan 16, 2018 12:16:32 AM (6 years ago)
Author:
commit-queue@webkit.org
Message:

[EME] Add layout test for the MSE playback of ClearKey encrypted audio and video
https://bugs.webkit.org/show_bug.cgi?id=181594

Patch by Yacine Bandou <yacine.bandou_ext@softathome.com> on 2018-01-16
Reviewed by Xabier Rodriguez-Calvar.

Add new layout tests in order to test the playback of ClearKey encrypted content:
clearKey-cenc-audio-playback-mse : Tests the MSE playback of ClearKey encrypted audio track.
clearKey-cenc-video-playback-mse : Tests the MSE playback of ClearKey encrypted video track.

  • media/content/encrypted/segments/AudioClearKeyCenc-seg-0.mp4: Added.
  • media/content/encrypted/segments/AudioClearKeyCenc-seg-1.mp4: Added.
  • media/content/encrypted/segments/AudioClearKeyCenc-seg-2.mp4: Added.
  • media/content/encrypted/segments/AudioClearKeyCenc-seg-3.mp4: Added.

These are a simple encrypted audio fragments used in MSE playback.
They have been fragmented and encrypted with BENTO4. https://www.bento4.com/
Use full-sample encryption because they are not NAL Structured.

  • media/content/encrypted/segments/VideoClearKeyCenc-seg-1.mp4: Added.
  • media/content/encrypted/segments/VideoClearKeyCenc-seg-2.mp4: Added.
  • media/content/encrypted/segments/VideoClearKeyCenc-seg-3.mp4: Added.

These are a simple encrypted video fragments used in MSE playback.
They have been fragmented and encrypted with BENTO4. https://www.bento4.com/
Use sub-sample encryption because they are NAL Structured.

  • media/encrypted-media/clearKey/clearKey-cenc-audio-playback-mse-expected.txt: Added.
  • media/encrypted-media/clearKey/clearKey-cenc-audio-playback-mse.html: Added.
  • media/encrypted-media/clearKey/clearKey-cenc-video-playback-mse-expected.txt: Added.
  • media/encrypted-media/clearKey/clearKey-cenc-video-playback-mse.html: Added.
  • media/encrypted-media/medias-enc.js:
  • platform/gtk/TestExpectations:
  • platform/mac/TestExpectations:
  • platform/wpe/TestExpectations:

The test clearKey-cenc-audio-playback-mse crashes because the clearKey decryptor plugin doesn't
support yet the Full-sample encryption, see bug 180080.

Location:
trunk/LayoutTests
Files:
11 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r226965 r226966  
     12018-01-16  Yacine Bandou  <yacine.bandou_ext@softathome.com>
     2
     3        [EME] Add layout test for the MSE playback of ClearKey encrypted audio and video
     4        https://bugs.webkit.org/show_bug.cgi?id=181594
     5
     6        Reviewed by Xabier Rodriguez-Calvar.
     7
     8        Add new layout tests in order to test the playback of ClearKey encrypted content:
     9        clearKey-cenc-audio-playback-mse : Tests the MSE playback of ClearKey encrypted audio track.
     10        clearKey-cenc-video-playback-mse : Tests the MSE playback of ClearKey encrypted video track.
     11
     12        * media/content/encrypted/segments/AudioClearKeyCenc-seg-0.mp4: Added.
     13        * media/content/encrypted/segments/AudioClearKeyCenc-seg-1.mp4: Added.
     14        * media/content/encrypted/segments/AudioClearKeyCenc-seg-2.mp4: Added.
     15        * media/content/encrypted/segments/AudioClearKeyCenc-seg-3.mp4: Added.
     16            These are a simple encrypted audio fragments used in MSE playback.
     17            They have been fragmented and encrypted with BENTO4. https://www.bento4.com/
     18            Use full-sample encryption because they are not NAL Structured.
     19        * media/content/encrypted/segments/VideoClearKeyCenc-seg-1.mp4: Added.
     20        * media/content/encrypted/segments/VideoClearKeyCenc-seg-2.mp4: Added.
     21        * media/content/encrypted/segments/VideoClearKeyCenc-seg-3.mp4: Added.
     22            These are a simple encrypted video fragments used in MSE playback.
     23            They have been fragmented and encrypted with BENTO4. https://www.bento4.com/
     24            Use sub-sample encryption because they are NAL Structured.
     25        * media/encrypted-media/clearKey/clearKey-cenc-audio-playback-mse-expected.txt: Added.
     26        * media/encrypted-media/clearKey/clearKey-cenc-audio-playback-mse.html: Added.
     27        * media/encrypted-media/clearKey/clearKey-cenc-video-playback-mse-expected.txt: Added.
     28        * media/encrypted-media/clearKey/clearKey-cenc-video-playback-mse.html: Added.
     29        * media/encrypted-media/medias-enc.js:
     30        * platform/gtk/TestExpectations:
     31        * platform/mac/TestExpectations:
     32        * platform/wpe/TestExpectations:
     33            The test clearKey-cenc-audio-playback-mse crashes because the clearKey decryptor plugin doesn't
     34            support yet the Full-sample encryption, see bug 180080.
     35
    1362018-01-16  Yacine Bandou  <yacine.bandou_ext@softathome.com>
    237
  • trunk/LayoutTests/media/encrypted-media/medias-enc.js

    r226639 r226966  
    22    "simpleClearKeyMSE" : {    video : {    initDataType : "cenc",
    33                                            mimeType     : 'video/mp4; codecs="avc1.64001F"',
    4                                             segments     : [ "../../content/encrypted/segments/VideoClearKeyCenc-seg-0.mp4" ],
     4                                            segments     : [ "../../content/encrypted/segments/VideoClearKeyCenc-seg-0.mp4",
     5                                                             "../../content/encrypted/segments/VideoClearKeyCenc-seg-1.mp4",
     6                                                             "../../content/encrypted/segments/VideoClearKeyCenc-seg-2.mp4",
     7                                                             "../../content/encrypted/segments/VideoClearKeyCenc-seg-3.mp4",
     8                                                           ],
    59                                            keys         : {    "d0d1d2d3d4d5d6d7d8d9dadbdcdddedf" : "c0c1c2c3c4c5c6c7c8c9cacbcccdcecf" }
     10                                       },
     11                               audio : {    initDataType : "cenc",
     12                                            mimeType     : 'audio/mp4; codecs="mp4a.40.2"',
     13                                            segments     : [ "../../content/encrypted/segments/AudioClearKeyCenc-seg-0.mp4",
     14                                                             "../../content/encrypted/segments/AudioClearKeyCenc-seg-1.mp4",
     15                                                             "../../content/encrypted/segments/AudioClearKeyCenc-seg-2.mp4",
     16                                                             "../../content/encrypted/segments/AudioClearKeyCenc-seg-3.mp4",
     17                                                           ],
     18                                            keys         : {    "b0b1b2b3b4b5b6b7b8b9babbbcbdbebf" : "a0a1a2a3a4a5a6a7a8a9aaabacadaeaf" }
    619                                       }
    720                          },
  • trunk/LayoutTests/platform/gtk/TestExpectations

    r226964 r226966  
    14071407webkit.org/b/180928 media/encrypted-media/clearKey/clearKey-message-cenc-event.html [ Skip ]
    14081408webkit.org/b/180928 media/encrypted-media/clearKey/clearKey-message-cenc-event-mse.html [ Skip ]
     1409webkit.org/b/181594 media/encrypted-media/clearKey/clearKey-cenc-audio-playback-mse.html [ Skip ]
     1410webkit.org/b/181594 media/encrypted-media/clearKey/clearKey-cenc-video-playback-mse.html [ Skip ]
    14091411
    14101412# This test also crashes after the FTL merge
  • trunk/LayoutTests/platform/mac/TestExpectations

    r226964 r226966  
    13541354webkit.org/b/180928 media/encrypted-media/clearKey/clearKey-message-cenc-event.html [ Skip ]
    13551355webkit.org/b/180928 media/encrypted-media/clearKey/clearKey-message-cenc-event-mse.html [ Skip ]
     1356webkit.org/b/181594 media/encrypted-media/clearKey/clearKey-cenc-audio-playback-mse.html [ Skip ]
     1357webkit.org/b/181594 media/encrypted-media/clearKey/clearKey-cenc-video-playback-mse.html [ Skip ]
    13561358
    13571359webkit.org/b/162507 http/tests/media/hls/hls-video-resize.html [ Pass Failure ]
  • trunk/LayoutTests/platform/wpe/TestExpectations

    r226964 r226966  
    11301130webkit.org/b/178703 imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-clear-encrypted.html [ Crash ]
    11311131
     1132webkit.org/b/180080 media/encrypted-media/clearKey/clearKey-cenc-audio-playback-mse.html [ Crash ]
     1133
    11321134webkit.org/b/178705 webgl/1.0.2/conformance/rendering/multisample-corruption.html [ Failure ]
    11331135
Note: See TracChangeset for help on using the changeset viewer.