shaka-packager/packager/media/formats/mp4
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
..
box.cc Fix x64 build on Windows. 2017-01-05 14:19:35 -08:00
box.h Fix x64 build on Windows. 2017-01-05 14:19:35 -08:00
box_buffer.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
box_definitions.cc [MP4] Make outputs CMAF compatible 2017-03-30 15:33:39 -07:00
box_definitions.h Fix x64 build on Windows. 2017-01-05 14:19:35 -08:00
box_definitions_comparison.h VPCodecConfiguration box should inherit from FullBox instead of Box 2016-05-25 23:59:16 +00:00
box_definitions_unittest.cc Fix x64 build on Windows. 2017-01-05 14:19:35 -08:00
box_reader.cc Fix crash when seeing unsupported es descriptor data 2016-11-29 23:27:22 +00:00
box_reader.h Fix crash when seeing unsupported es descriptor data 2016-11-29 23:27:22 +00:00
box_reader_unittest.cc Fix x64 build on Windows. 2017-01-05 14:19:35 -08:00
chunk_info_iterator.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
chunk_info_iterator.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
chunk_info_iterator_unittest.cc Replace scoped_ptr with std::unique_ptr 2016-08-18 17:12:36 -07:00
composition_offset_iterator.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
composition_offset_iterator.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
composition_offset_iterator_unittest.cc Replace scoped_ptr with std::unique_ptr 2016-08-18 17:12:36 -07:00
decoding_time_iterator.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
decoding_time_iterator.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
decoding_time_iterator_unittest.cc Replace scoped_ptr with std::unique_ptr 2016-08-18 17:12:36 -07:00
fragmenter.cc Fix Windows build break (#217) 2017-03-24 10:21:05 -07:00
fragmenter.h Integrate EncryptionHandler 2017-03-23 18:25:59 +00:00
mp4.gyp Integrate EncryptionHandler 2017-03-23 18:25:59 +00:00
mp4_media_parser.cc Allow generating avc3 / hev1 from TS and Wvm files 2017-03-23 13:53:14 -07:00
mp4_media_parser.h Replace scoped_refptr with std::shared_ptr 2017-01-26 02:20:47 +00:00
mp4_media_parser_unittest.cc Replace scoped_refptr with std::shared_ptr 2017-01-26 02:20:47 +00:00
mp4_muxer.cc [MP4] Make outputs CMAF compatible 2017-03-30 15:33:39 -07:00
mp4_muxer.h Full vtt in mp4 path 2017-03-29 18:52:25 +00:00
multi_segment_segmenter.cc [MP4] Make outputs CMAF compatible 2017-03-30 15:33:39 -07:00
multi_segment_segmenter.h Replace scoped_ptr with std::unique_ptr 2016-08-18 17:12:36 -07:00
segmenter.cc [MP4] Make outputs CMAF compatible 2017-03-30 15:33:39 -07:00
segmenter.h [MP4] Make outputs CMAF compatible 2017-03-30 15:33:39 -07:00
single_segment_segmenter.cc Implements Demuxer and Muxer media handlers 2017-03-08 19:11:52 +00:00
single_segment_segmenter.h Replace scoped_ptr with std::unique_ptr 2016-08-18 17:12:36 -07:00
sync_sample_iterator.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
sync_sample_iterator.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
sync_sample_iterator_unittest.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
track_run_iterator.cc Fix x64 build on Windows. 2017-01-05 14:19:35 -08:00
track_run_iterator.h Replace scoped_ptr with std::unique_ptr 2016-08-18 17:12:36 -07:00
track_run_iterator_unittest.cc Fix x64 build on Windows. 2017-01-05 14:19:35 -08:00