shaka-packager/packager/app/test/testdata
KongQun Yang 5dd21179ec Do not use harmonic mean in bandwidth calculation
Instead, caclulating average bandwidth by dividing the sum of the
sizes of every segment by the sum of the durations of every segment.
This aligns with the requirement in HLS spec:
https://tools.ietf.org/html/draft-pantos-http-live-streaming-23 4.1.

BandwidthEstimator is also simplified to handle all blocks only.

Fixes #361

Change-Id: I89e7d415a841f4d4048f199de8dae7ffa250467b
2018-07-12 10:46:47 -07: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 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 Do not use harmonic mean in bandwidth calculation 2018-07-12 10:46:47 -07: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 Do not use harmonic mean in bandwidth calculation 2018-07-12 10:46:47 -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 use harmonic mean in bandwidth calculation 2018-07-12 10:46:47 -07:00
ec3-packed-audio-encrypted Do not use harmonic mean in bandwidth calculation 2018-07-12 10:46:47 -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 Do not use harmonic mean in bandwidth calculation 2018-07-12 10:46:47 -07: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 Do not use harmonic mean in bandwidth calculation 2018-07-12 10:46:47 -07:00
hls-multi-segment-mp4-with-custom-path Do not use harmonic mean in bandwidth calculation 2018-07-12 10:46:47 -07:00
hls-segmented-webvtt Do not use harmonic mean in bandwidth calculation 2018-07-12 10:46:47 -07:00
hls-single-segment-mp4-encrypted Do not use harmonic mean in bandwidth calculation 2018-07-12 10:46:47 -07:00
hls-single-segment-mp4-encrypted-and-ad-cues Do not use harmonic mean in bandwidth calculation 2018-07-12 10:46:47 -07:00
hls-with-bandwidth-override Do not use harmonic mean in bandwidth calculation 2018-07-12 10:46:47 -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 Do not use harmonic mean in bandwidth calculation 2018-07-12 10:46:47 -07: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 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 Do not use harmonic mean in bandwidth calculation 2018-07-12 10:46:47 -07:00
webm-subsample-encryption Use new vp09 codec string for WebM by default 2018-06-12 23:31:28 +00:00
webm-vp9-full-sample-encryption Use new vp09 codec string for WebM by default 2018-06-12 23:31:28 +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