shaka-packager/packager/media
KongQun Yang 516430bde1 [MP4] Truncate segment references in 'sidx' if necessary
The reference count in 'sidx' box is a uint16 field, which allows at
most 0xFFFF entries, i.e. at most 0xFFFF subsegments, which is roughly
18 hours for one second segments.

Do not fail packaging when it happens. Instead, generate a warning and
truncate the number of references to 0xFFFF instead.

Note that the actual number of mp4 fragments in the mp4 file can still
be more than 0xFFFF. The stream will not play to the end in DASH, but
it will play successfully in HLS.

Workarounds #862.

Change-Id: Ib3930418d1528df1f9ea64cda0d0ebaa78d26abb
2020-12-11 19:07:56 +00:00
..
base Add support for text cue heights. 2020-12-10 13:26:34 -08:00
chunking Add text fragment and setting types. 2020-10-19 10:39:17 -07:00
codecs Properly handle AVC profiles with SPS extension 2020-08-05 17:08:53 -07:00
crypto Add flag for extra PlayReady header data. 2020-06-22 22:55:25 +00:00
demuxer Make WebVttParser a MediaParser. 2020-09-16 20:12:48 +00:00
event Convert text WebVTT output to muxer. 2020-10-19 17:24:38 +00:00
formats [MP4] Truncate segment references in 'sidx' if necessary 2020-12-11 19:07:56 +00:00
origin Address gcc build failures in some platforms 2017-12-07 11:45:26 -08:00
public Support different IVs for each track (#793) 2020-06-25 20:37:50 -07:00
replicator Address gcc build failures in some platforms 2017-12-07 11:45:26 -08:00
test Support Dolby Vision backward compatible profiles 2020-02-11 05:24:09 +00:00
trick_play [DASH] Support TrickPlay using separate trick play specific streams (#736) 2020-03-24 12:15:30 -07:00