shaka-packager/packager/app/test/testdata
Aaron Vaage b9dee56294 Rebuild Text WebVtt to MP4 WebVtt
The previous text to mp4 webvtt pipeline was incomplete. It
did not insert ad cues and it could only insert a segment
after a sample ended.

Now the pipeline supports ad cue insert and segment insertion
mid text sample. This required the pipeline to use the text
chunker (to split samples and insert segments) and required
a major overhaul of the text to mp4 converter.

Before the converter came before the chunker. This meant that
the converter only expected to see stream info and text samples.
Moving the converter after the cue aligner and chunker means
that the convert had to be aware of segments and cues.

The general approach is the same, however the converter will
convert the samples per-segment as the chunker will introduce
duplicate samples if a sample spans across segments.

Closes #362
Closes #382

Change-Id: I0f54a40524c36a602ad3804a0da26e80851c92fd
2018-06-01 19:49:56 +00:00
..
acc-he Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
audio-video Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
audio-video-with-language-override Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
audio-video-with-language-override-with-subtag Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
audio-video-with-trick-play Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
audio-video-with-two-trick-play Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
avc-aac-ts Fix TS mimetype in DASH 2018-05-21 20:31:40 +00:00
avc-aac-ts-language Fix default_language not effective with 2-char code 2018-04-13 20:08:12 +00:00
avc-ac3-ts Integrate CueAlignmentHandler 2018-03-26 17:58:30 +00:00
avc-ac3-ts-to-mp4 Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
avc-ac3-ts-with-encryption [HLS] Fixing AdCues handling in iframe playlists 2018-05-22 16:02:28 -07:00
avc-ts-aac-packed-audio-with-encryption [HLS] Fixing AdCues handling in iframe playlists 2018-05-22 16:02:28 -07:00
avc-ts-ac3-packed-audio-with-encryption [HLS] Fixing AdCues handling in iframe playlists 2018-05-22 16:02:28 -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 [HLS] Fixing AdCues handling in iframe playlists 2018-05-22 16:02:28 -07:00
avc-ts-live-playlist [HLS] Fixing AdCues handling in iframe playlists 2018-05-22 16:02:28 -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 [HLS] Fixing AdCues handling in iframe playlists 2018-05-22 16:02:28 -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 [HLS] Fixing AdCues handling in iframe playlists 2018-05-22 16:02:28 -07:00
avc-ts-with-encryption-and-fairplay [HLS] Fixing AdCues handling in iframe playlists 2018-05-22 16:02:28 -07:00
avc-ts-with-encryption-exercise-emulation-prevention [HLS] Fixing AdCues handling in iframe playlists 2018-05-22 16:02:28 -07:00
dash-with-bandwidth-override Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
ec3-and-hls-single-segment-mp4-encrypted Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
ec3-packed-audio-encrypted [HLS] Fixing AdCues handling in iframe playlists 2018-05-22 16:02:28 -07:00
encryption Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
encryption-and-ad-cues Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
encryption-and-ad-cues-split-content [Ad Insertion] Support one file per Representation per Period 2018-05-31 23:59:21 +00:00
encryption-and-no-clear-lead Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
encryption-and-no-pssh-in-stream Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
encryption-and-output-media-info Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
encryption-and-output-media-info-and-mpd-from-media-info Fix MPD@duration not set with MpdGenerator 2018-05-30 13:19:45 -07:00
encryption-and-trick-play Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
encryption-and-two-trick-plays Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
encryption-cbc-1 Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
encryption-cens Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
encryption-multi-keys Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
encryption-multi-keys-with-stream-label Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
encryption-of-only-video-stream Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
encryption-using-fixed-key Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
first-stream Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
flac-with-encryption Add a test outputing DASH and HLS at the same time 2018-05-14 23:55:30 +00:00
hevc-with-encryption Fix potential slice header size off by one byte in H265 2018-05-03 18:13:07 +00:00
hls-audio-video-text-with-ad-cues [HLS] Fixing AdCues handling in iframe playlists 2018-05-22 16:02:28 -07:00
hls-multi-segment-mp4-with-custom-path Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
hls-segmented-webvtt Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
hls-single-segment-mp4-encrypted Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
hls-single-segment-mp4-encrypted-and-ad-cues [HLS] Fixing AdCues handling in iframe playlists 2018-05-22 16:02:28 -07:00
hls-with-bandwidth-override Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
live-profile Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
live-profile-and-encryption Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
live-profile-and-encryption-and-non-dash-if-iop Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
live-profile-and-key-rotation Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
live-profile-and-key-rotation-and-no-pssh-in-stream Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
live-profile-and-key-rotation-and-non-dash-if-iop Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
live-profile-with-webm Add a test outputing DASH and HLS at the same time 2018-05-14 23:55:30 +00:00
live-static-profile Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
live-static-profile-and-ad-cues Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
opus-vp9-mp4-with-encryption Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
text Remove Test File Index in packager_test.py 2018-03-06 21:38:04 +00:00
video-audio-text Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
vorbis-webm Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
vp8-mp4-with-encryption Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
vp8-webm Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
vp9-webm Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
vp9-webm-with-blockgroup Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
vtt-text-to-mp4-with-ad-cues Rebuild Text WebVtt to MP4 WebVtt 2018-06-01 19:49:56 +00:00
webm-subsample-encryption Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
webm-vp9-full-sample-encryption Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
webm-with-encryption Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
wvm-input Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
wvm-input-without-stripping-parameters-set-nalus Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
bear-320x180-vp9-altref-dec-golden.webm Add support for WebM colour element 2017-05-02 20:22:17 +00:00
bear-320x240-opus-golden.mp4 Integrate CueAlignmentHandler 2018-03-26 17:58:30 +00:00
bear-320x240-vp9-golden.mp4 Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
bear-640x360-a-cbcs-golden.mp4 Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
bear-640x360-a-cenc-golden.mp4 Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
bear-640x360-a-demuxed-golden.mp4 Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
bear-640x360-a-live-cenc-golden-1.m4s Integrate CueAlignmentHandler 2018-03-26 17:58:30 +00:00
bear-640x360-a-live-cenc-golden-2.m4s Integrate CueAlignmentHandler 2018-03-26 17:58:30 +00:00
bear-640x360-a-live-cenc-golden-3.m4s Integrate CueAlignmentHandler 2018-03-26 17:58:30 +00:00
bear-640x360-a-live-cenc-golden-init.mp4 Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
bear-640x360-av-cbcs-golden.mpd Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
bear-640x360-av-cenc-golden.mpd Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
bear-640x360-av-cenc-non-iop-golden.mpd Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
bear-640x360-hevc-golden.mp4 Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
bear-640x360-v-cbcs-golden.mp4 Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
bear-640x360-v-cenc-golden.mp4 Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
bear-640x360-v-golden.mp4 Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
bear-640x360-v-live-cenc-golden-1.m4s Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
bear-640x360-v-live-cenc-golden-2.m4s [MP4] Make outputs CMAF compatible 2017-03-30 15:33:39 -07:00
bear-640x360-v-live-cenc-golden-3.m4s [MP4] Make outputs CMAF compatible 2017-03-30 15:33:39 -07:00
bear-640x360-v-live-cenc-golden-init.mp4 Rewrite init segment in MultiSegmentSegmenter::DoFinalize 2018-03-05 14:25:08 -08:00
bear-640x360-v-trick-1-golden.mp4 Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
bear-640x360-v-trick-2-golden.mp4 Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
bear-640x360-vp8-golden.mp4 Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
bear-640x360-vp8-golden.webm [WebM] Move index segment after init segment 2016-10-01 00:34:56 +00:00
bear-flac-golden.mp4 Add support for FLAC codec 2018-05-02 00:16:51 +00:00