shaka-packager/packager/app/test/testdata
KongQun Yang 43be3c8e8b Use max bitrate in Representation@bandwidth instead of average bitrate
According to DASH spec (23009-1:2014):

Consider a hypothetical constant bitrate channel of
bandwidth with the value of this attribute in bits per second
(bps). Then, if the Representation is continuously delivered
at this bitrate, starting at any SAP that is indicated either by
@startwithsap or by any Segment Index box, a client can
be assured of having enough data for continuous playout
providing playout begins after @minbuffertime *
@bandwidth bits have been received (i.e. at time
@minbuffertime after the first bit is received).
For dependent Representations this value specifies the
bandwidth according to the above definition for the
aggregation of this Representation and all complementary
Representations.

This suggests that max bitrate should be used instead of average
bitrate.

Also cleaned up BandwidthEstimator code.

Fixes #376.

Change-Id: Ibf5896394c5c6bb820849771a2129c59202d2273
2018-04-17 22:39:58 +00:00
..
acc-he Generate a more accurate time in Period@duration 2018-04-03 21:42:33 +00:00
audio-video Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
audio-video-with-language-override Fix default_language not effective with 2-char code 2018-04-13 20:08:12 +00:00
audio-video-with-language-override-with-subtag Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
audio-video-with-trick-play Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
audio-video-with-two-trick-play Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
avc-aac-ts Integrate CueAlignmentHandler 2018-03-26 17:58:30 +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 Integrate CueAlignmentHandler 2018-03-26 17:58:30 +00:00
avc-ts-event-playlist Integrate CueAlignmentHandler 2018-03-26 17:58:30 +00:00
avc-ts-live-playlist Integrate CueAlignmentHandler 2018-03-26 17:58:30 +00:00
avc-ts-live-playlist-with-key-rotation Integrate CueAlignmentHandler 2018-03-26 17:58:30 +00:00
avc-ts-with-encryption Integrate CueAlignmentHandler 2018-03-26 17:58:30 +00:00
avc-ts-with-encryption-and-fairplay Integrate CueAlignmentHandler 2018-03-26 17:58:30 +00:00
avc-ts-with-encryption-exercise-emulation-prevention Change all HLS tests to generate iframe playlists 2018-03-07 17:29:47 -08: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
encryption Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
encryption-and-ad-cues Remove pto_adjustment flag 2018-04-13 20:07:47 +00:00
encryption-and-no-clear-lead Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
encryption-and-no-pssh-in-stream Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
encryption-and-output-media-info Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
encryption-and-trick-play Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
encryption-and-two-trick-plays Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
encryption-cbc-1 Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
encryption-cens Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
encryption-multi-keys Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
encryption-multi-keys-with-stream-label Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
encryption-of-only-video-stream Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
encryption-using-fixed-key Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
first-stream Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
hevc-with-encryption Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
hls-multi-segment-mp4-with-custom-path Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
hls-segmented-webvtt Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
hls-single-segment-mp4-encrypted Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
hls-single-segment-mp4-encrypted-and-ad-cues Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
live-profile Use max bitrate in Representation@bandwidth instead of average bitrate 2018-04-17 22:39:58 +00:00
live-profile-and-encryption Use max bitrate in Representation@bandwidth instead of average bitrate 2018-04-17 22:39:58 +00:00
live-profile-and-encryption-and-non-dash-if-iop Use max bitrate in Representation@bandwidth instead of average bitrate 2018-04-17 22:39:58 +00:00
live-profile-and-key-rotation Use max bitrate in Representation@bandwidth instead of average bitrate 2018-04-17 22:39:58 +00:00
live-profile-and-key-rotation-and-no-pssh-in-stream Use max bitrate in Representation@bandwidth instead of average bitrate 2018-04-17 22:39:58 +00:00
live-profile-and-key-rotation-and-non-dash-if-iop Use max bitrate in Representation@bandwidth instead of average bitrate 2018-04-17 22:39:58 +00:00
live-static-profile Use max bitrate in Representation@bandwidth instead of average bitrate 2018-04-17 22:39:58 +00:00
live-static-profile-and-ad-cues Use max bitrate in Representation@bandwidth instead of average bitrate 2018-04-17 22:39:58 +00:00
opus-vp9-mp4-with-encryption Remove pto_adjustment flag 2018-04-13 20:07:47 +00:00
text Remove Test File Index in packager_test.py 2018-03-06 21:38:04 +00:00
video-audio-text Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
vorbis-webm Generate a more accurate time in Period@duration 2018-04-03 21:42:33 +00:00
vp8-mp4-with-encryption Remove pto_adjustment flag 2018-04-13 20:07:47 +00:00
vp8-webm Remove pto_adjustment flag 2018-04-13 20:07:47 +00:00
vp9-webm Remove pto_adjustment flag 2018-04-13 20:07:47 +00:00
vp9-webm-with-blockgroup Generate a more accurate time in Period@duration 2018-04-03 21:42:33 +00:00
webm-subsample-encryption Generate a more accurate time in Period@duration 2018-04-03 21:42:33 +00:00
webm-vp9-full-sample-encryption Generate a more accurate time in Period@duration 2018-04-03 21:42:33 +00:00
webm-with-encryption Remove pto_adjustment flag 2018-04-13 20:07:47 +00:00
wvm-input Remove pto_adjustment flag 2018-04-13 20:07:47 +00:00
wvm-input-without-stripping-parameters-set-nalus Remove pto_adjustment flag 2018-04-13 20:07:47 +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 Integrate CueAlignmentHandler 2018-03-26 17:58:30 +00:00
bear-640x360-a-cenc-golden.mp4 Integrate CueAlignmentHandler 2018-03-26 17:58:30 +00:00
bear-640x360-a-demuxed-golden.mp4 Share chunkers from the same input except for WVM 2018-01-22 17:43:25 -08: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 Rewrite init segment in MultiSegmentSegmenter::DoFinalize 2018-03-05 14:25:08 -08:00
bear-640x360-av-cbcs-golden.mpd Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
bear-640x360-av-cenc-golden.mpd Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
bear-640x360-av-cenc-non-iop-golden.mpd Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +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