1 Reply
      Latest reply on Jun 4, 2019 2:51 AM by achibana
      jingke2000 Level 1 Level 1 (0 points)

        We want to protect media content in fmp4 format for HLS. The content are encoded in H.264 and H.265. Apple devices need to be supported. So FairPlay/CENC cbcs mode are key DRM methods. Following questions have emeged once we started the development work:

         

        1. For H.264 sample encryption, Apple's FairPlay spec says to leave the first 32 bytes of VCL NALU clear (1 byte for VCL NALU type + following 31 bytes). Then pattern (1:9) encryption starts. But in CENC spec (ISO-23001-7:2016), it requires to leave 1 byte for VCL NALU type + slice header to be clear. Then patern (1:9) encryption starts. Which spec should we follow to encrypt h.264 samples in fmp4 format? We think what Apple's FairPlay spec describes is a better method. But we will comply with the standard regardless;

         

        2. In Section 9.5.2.2 of ISO-23001-7:2016, it is mentioned that:

        "

        Encrypted slice headers were not prohibited in the first edition of this part of ISO/IEC 23001 but

        were prohibited by application specifications. A “SHOULD” requirement to leave slice headers unencrypted for

        ‘avc1’ allows possible legacy content with encrypted slice headers to remain conformant to this new edition.

        But, new content should not encrypt slice headers or it may not decode properly in secure video decoders.

        "

        Our video codec type is "avc1". Does that mean we are allowed to enctypt the slice headers of video also?

         

        3. Where can we find the guidlines fot H.265 encryption by FairPlay/CENC cbcs mode?

         

        Thanks!