shaka-packager/packager/app/test/testdata
KongQun Yang b2932d5a33 Fix bitrate for DASH on-demand profile too
Removed the logic in MuxerListener to estimate bandwidth from file
size and duration, since it is not compliant to the spec.

MpdBuilder will estimate bandwidth from segment size and duration
if bandwidth is not specified in MediaInfo.

Here is the statement from 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.

Fixes #376.

Change-Id: I0fddce39e709d0cded0a4c9ae59adbbcc97ec5ea
2018-04-24 23:25:02 +00:00
..
acc-he Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
audio-video Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
audio-video-with-language-override Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
audio-video-with-language-override-with-subtag Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
audio-video-with-trick-play Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
audio-video-with-two-trick-play Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +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 Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
encryption-and-ad-cues Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
encryption-and-no-clear-lead Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
encryption-and-no-pssh-in-stream Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
encryption-and-output-media-info Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
encryption-and-trick-play Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
encryption-and-two-trick-plays Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
encryption-cbc-1 Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
encryption-cens Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
encryption-multi-keys Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
encryption-multi-keys-with-stream-label Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
encryption-of-only-video-stream Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
encryption-using-fixed-key Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
first-stream Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
hevc-with-encryption Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +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 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 Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00: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
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 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 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