shaka-packager/packager/media
KongQun Yang 9a55d4033f Adjust timestamps in mp4 if there is an initial composition offset
In some ISO-BMFF files, there is an initial non-zero composition offset,
but there is no EditList present.

This is against ISO-BMFF spec recommentation [1] and we believe in most
cases it is just missing the EditList.

[1] 14496-12:2015 8.6.6.1
It is recommended that such an edit be used to establish a presentation
time of 0 for the first presented sample, when composition offsets are
used.

Issue: #112.
Fixes: b/110782437.

Change-Id: I23d33810ce536b09a1e22a2644828d824c1314f5
2018-07-26 23:20:21 +00:00
..
base Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
chunking Ignore extra Ad cues at the end of the stream 2018-07-24 18:46:30 +00:00
codecs Disregard trailing null bytes when locating RBSP stop bit 2018-06-29 20:24:15 +00:00
crypto Add is_key_frame in IsMediaSample Matcher 2018-06-18 16:05:22 +00:00
demuxer Cleanup packager_test.py 2018-07-16 19:13:02 +00:00
event Drepcate --num_subsegments_per_sidx 2018-07-02 21:59:14 +00:00
formats Adjust timestamps in mp4 if there is an initial composition offset 2018-07-26 23:20:21 +00:00
origin Address gcc build failures in some platforms 2017-12-07 11:45:26 -08:00
public Drepcate --num_subsegments_per_sidx 2018-07-02 21:59:14 +00:00
replicator Address gcc build failures in some platforms 2017-12-07 11:45:26 -08:00
test Adjust timestamps in mp4 if there is an initial composition offset 2018-07-26 23:20:21 +00:00
trick_play Align Trick Play Tests With Other Media Tests 2018-06-19 19:48:18 +00:00