shaka-packager/packager/media/crypto
Kongqun Yang d007ddf20b [MP4] Make outputs CMAF compatible
- Added flag --mp4_include_pssh_in_stream, default to true. If it is
  set to false, the encrypted mp4 stream will not include pssh.
- Align BytesOfProtectedData to multiple of 16 bytes for cenc.
- Set TrackHeader flag to kTrackEnabled | kTrackInMovie |
                          kTrackInPreview
- Move mvex to after trak, required by HLS
- Add cmfc/cmfs compatible brands except for avc3/hev1, where CMAF
  requires single initialization switching set which is not supported.
- Set duration to 0 in tkhd, mdhd, mvhd.

Also updated major_brand and compatible brands:
- Set major_brand to isom (iso-bmff media file format) and made dash
  a compatible brand
- Replaced compatible brand iso6 with iso8 since we use sthd for text
  tracks

Fixes b/36278260

Change-Id: I3cc5dd5aa1621714d517fe02fe3841d19a1a07f6
2017-03-30 15:33:39 -07:00
..
crypto.gyp Implement ChunkingHandler 2017-02-11 02:41:34 +00:00
encryption_handler.cc [MP4] Make outputs CMAF compatible 2017-03-30 15:33:39 -07:00
encryption_handler.h Rename webm_subsample_encryption flag to vp9_subsample_encryption 2017-03-30 20:36:43 +00:00
encryption_handler_unittest.cc [MP4] Make outputs CMAF compatible 2017-03-30 15:33:39 -07:00