shaka-packager/packager/media/formats/mp4
Kongqun Yang e5b6096857 Generate tkhd and pasp boxes properly with non-square pixels
- Width/Height in tkhd box should be display resolution instead of
  coded resolution.
- pasp was not generated earlier.
- Assuming SAR as 1:1 if it failed to be extracted successfully.
- Also update test files for mp4_media_parser_unittest.

This fixes Issue #35.

Change-Id: Iedbe6a44465aac6723b6ea2de30aed180821eccd
2015-08-07 21:46:08 +00:00
..
aac_audio_specific_config.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
aac_audio_specific_config.h Move source code into packager directory 2014-10-02 12:32:14 -07:00
aac_audio_specific_config_unittest.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
box.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
box.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
box_buffer.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
box_definitions.cc Generate tkhd and pasp boxes properly with non-square pixels 2015-08-07 21:46:08 +00:00
box_definitions.h Generate tkhd and pasp boxes properly with non-square pixels 2015-08-07 21:46:08 +00:00
box_definitions_comparison.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
box_definitions_unittest.cc Handle large composition offset greater than (1<<31) properly 2015-08-07 18:51:49 +00:00
box_reader.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
box_reader.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
box_reader_unittest.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
cenc.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
cenc.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
chunk_info_iterator.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
chunk_info_iterator.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
chunk_info_iterator_unittest.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
composition_offset_iterator.cc Handle large composition offset greater than (1<<31) properly 2015-08-07 18:51:49 +00:00
composition_offset_iterator.h Handle large composition offset greater than (1<<31) properly 2015-08-07 18:51:49 +00:00
composition_offset_iterator_unittest.cc Handle large composition offset greater than (1<<31) properly 2015-08-07 18:51:49 +00:00
decoding_time_iterator.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
decoding_time_iterator.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
decoding_time_iterator_unittest.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
encrypting_fragmenter.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
encrypting_fragmenter.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
es_descriptor.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
es_descriptor.h Move source code into packager directory 2014-10-02 12:32:14 -07:00
es_descriptor_unittest.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
fourccs.h Move source code into packager directory 2014-10-02 12:32:14 -07:00
fragmenter.cc Added sample_description_index to 'tfhd' box for DASH-IF IOP compatiblity. 2015-06-02 14:56:58 -07:00
fragmenter.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
key_rotation_fragmenter.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
key_rotation_fragmenter.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
mp4.gyp Added support for ISO-BMFF files with trailing 'moov' boxes. 2015-05-22 14:11:46 -07:00
mp4_media_parser.cc Add pixel_{width,height} to VideoStreamInfo 2015-06-29 11:17:28 -07:00
mp4_media_parser.h Added support for ISO-BMFF files with trailing 'moov' boxes. 2015-05-22 14:11:46 -07:00
mp4_media_parser_unittest.cc Generate tkhd and pasp boxes properly with non-square pixels 2015-08-07 21:46:08 +00:00
mp4_muxer.cc Generate tkhd and pasp boxes properly with non-square pixels 2015-08-07 21:46:08 +00:00
mp4_muxer.h Make {Video,Audio,Text}Info optional 2015-06-25 17:41:00 -07:00
multi_segment_segmenter.cc Pass sample duration to MPD 2015-06-23 13:12:17 -07:00
multi_segment_segmenter.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
rcheck.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
segmenter.cc Address one sample fragment issue #33 2015-08-04 14:19:00 -07:00
segmenter.h Address one sample fragment issue #33 2015-08-04 14:19:00 -07:00
single_segment_segmenter.cc Address one sample fragment issue #33 2015-08-04 14:19:00 -07:00
single_segment_segmenter.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
sync_sample_iterator.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
sync_sample_iterator.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
sync_sample_iterator_unittest.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
track_run_iterator.cc Handle large composition offset greater than (1<<31) properly 2015-08-07 18:51:49 +00:00
track_run_iterator.h Handle non-MSE compliant fmp4 properly 2015-02-03 13:19:19 -08:00
track_run_iterator_unittest.cc Handle large composition offset greater than (1<<31) properly 2015-08-07 18:51:49 +00:00