shaka-packager/packager/app/test/testdata
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
..
acc-he Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
audio-video Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
audio-video-with-language-override Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
audio-video-with-language-override-with-subtag Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
audio-video-with-trick-play Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
audio-video-with-two-trick-play Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
avc-aac-ts Do not use harmonic mean in bandwidth calculation 2018-07-12 10:46:47 -07:00
avc-aac-ts-language Do not use harmonic mean in bandwidth calculation 2018-07-12 10:46:47 -07:00
avc-ac3-ts Do not use harmonic mean in bandwidth calculation 2018-07-12 10:46:47 -07:00
avc-ac3-ts-to-mp4 Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
avc-ac3-ts-with-encryption Do not use harmonic mean in bandwidth calculation 2018-07-12 10:46:47 -07:00
avc-ts-aac-packed-audio-with-encryption Do not use harmonic mean in bandwidth calculation 2018-07-12 10:46:47 -07:00
avc-ts-ac3-packed-audio-with-encryption Do not use harmonic mean in bandwidth calculation 2018-07-12 10:46:47 -07:00
avc-ts-dash-dynamic-with-segment-deletion Enable segment auto removal for live packaging 2018-05-02 00:18:42 +00:00
avc-ts-event-playlist Do not use harmonic mean in bandwidth calculation 2018-07-12 10:46:47 -07:00
avc-ts-live-playlist Do not use harmonic mean in bandwidth calculation 2018-07-12 10:46:47 -07:00
avc-ts-live-playlist-dash-dynamic-with-segment-deletion Add a test outputing DASH and HLS at the same time 2018-05-14 23:55:30 +00:00
avc-ts-live-playlist-with-key-rotation Do not use harmonic mean in bandwidth calculation 2018-07-12 10:46:47 -07:00
avc-ts-live-playlist-with-segment-deletion Enable segment auto removal for live packaging 2018-05-02 00:18:42 +00:00
avc-ts-with-encryption Do not use harmonic mean in bandwidth calculation 2018-07-12 10:46:47 -07:00
avc-ts-with-encryption-and-fairplay Do not use harmonic mean in bandwidth calculation 2018-07-12 10:46:47 -07:00
avc-ts-with-encryption-exercise-emulation-prevention Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
bandwidth-override Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
dash-with-bandwidth-override Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
ec3-and-hls-single-segment-mp4-encrypted Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
ec3-packed-audio-encrypted Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
encryption Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
encryption-and-ad-cues Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
encryption-and-ad-cues-split-content Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
encryption-and-no-clear-lead Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
encryption-and-no-pssh-in-stream Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
encryption-and-non-dash-if-iop Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
encryption-and-output-media-info Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
encryption-and-output-media-info-and-mpd-from-media-info Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
encryption-and-trick-play Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
encryption-and-two-trick-plays Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
encryption-cbc-1 Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
encryption-cbcs Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
encryption-cens Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
encryption-multi-keys Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
encryption-multi-keys-with-stream-label Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
encryption-of-only-video-stream Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
encryption-using-fixed-key Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
first-stream Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
flac-with-encryption Cleanup packager_test.py 2018-07-16 19:13:02 +00:00
hevc-with-encryption Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
hls-audio-video-text-with-ad-cues Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
hls-multi-segment-mp4-with-custom-path Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
hls-segmented-webvtt Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
hls-single-segment-mp4-encrypted Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
hls-single-segment-mp4-encrypted-and-ad-cues Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
hls-with-bandwidth-override Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
live-profile Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
live-profile-and-encryption Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
live-profile-and-encryption-and-mult-files Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
live-profile-and-encryption-and-non-dash-if-iop Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
live-profile-and-key-rotation Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
live-profile-and-key-rotation-and-no-pssh-in-stream Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
live-profile-and-key-rotation-and-non-dash-if-iop Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
live-profile-with-webm Do not use harmonic mean in bandwidth calculation 2018-07-12 10:46:47 -07:00
live-static-profile Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
live-static-profile-and-ad-cues Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
opus-vp9-mp4-with-encryption Cleanup packager_test.py 2018-07-16 19:13:02 +00:00
text Remove Test File Index in packager_test.py 2018-03-06 21:38:04 +00:00
video-audio-text Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
video-no-edit-list Adjust timestamps in mp4 if there is an initial composition offset 2018-07-26 23:20:21 +00:00
vorbis-webm Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
vp8-mp4-with-encryption Cleanup packager_test.py 2018-07-16 19:13:02 +00:00
vp8-webm Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
vp9-webm Use new vp09 codec string for WebM by default 2018-06-12 23:31:28 +00:00
vp9-webm-with-blockgroup Use new vp09 codec string for WebM by default 2018-06-12 23:31:28 +00:00
vtt-text-to-mp4-with-ad-cues Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
webm-subsample-encryption Cleanup packager_test.py 2018-07-16 19:13:02 +00:00
webm-vp9-full-sample-encryption Cleanup packager_test.py 2018-07-16 19:13:02 +00:00
webm-with-encryption Cleanup packager_test.py 2018-07-16 19:13:02 +00:00
wvm-input Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
wvm-input-without-stripping-parameters-set-nalus Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
bear-640x360-av-cenc-golden.mpd Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
bear-640x360-v-trick-2-golden.mp4 Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00