shaka-packager/packager/app
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
..
test Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
ad_cue_generator_flags.cc Defined Scte35Event struct and out of band cue marker flags 2017-11-16 00:13:29 +00:00
ad_cue_generator_flags.h Defined Scte35Event struct and out of band cue marker flags 2017-11-16 00:13:29 +00:00
crypto_flags.cc Rename webm_subsample_encryption flag to vp9_subsample_encryption 2017-03-30 20:36:43 +00:00
crypto_flags.h Rename webm_subsample_encryption flag to vp9_subsample_encryption 2017-03-30 20:36:43 +00:00
gflags_hex_bytes.cc Move hex string out of packager.h 2017-06-20 22:33:47 +00:00
gflags_hex_bytes.h Move hex string out of packager.h 2017-06-20 22:33:47 +00:00
hls_flags.cc Add --hls_key_uri to allow setting fairplay/identity key uri 2017-11-14 15:49:27 +00:00
hls_flags.h Add --hls_key_uri to allow setting fairplay/identity key uri 2017-11-14 15:49:27 +00:00
job_manager.cc Allow SyncPointQueue to be cancelled 2018-03-27 19:14:37 +00:00
job_manager.h Allow SyncPointQueue to be cancelled 2018-03-27 19:14:37 +00:00
libcrypto_threading.cc Integrate packager top level library 2017-06-13 13:40:26 -07:00
libcrypto_threading.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
manifest_flags.cc Move common manifest flags out of mpd_flags.cc 2018-01-19 21:02:54 +00:00
manifest_flags.h Move common manifest flags out of mpd_flags.cc 2018-01-19 21:02:54 +00:00
mpd_flags.cc Support UTCTiming 2018-04-04 01:37:01 +00:00
mpd_flags.h Support UTCTiming 2018-04-04 01:37:01 +00:00
mpd_generator.cc Add new URL fields in MediaInfo 2018-04-23 22:49:47 +00:00
mpd_generator_flags.h Move source code into packager directory 2014-10-02 12:32:14 -07:00
muxer_factory.cc Moved MuxerFactory to own file 2018-01-10 17:51:26 +00:00
muxer_factory.h Moved MuxerFactory to own file 2018-01-10 17:51:26 +00:00
muxer_flags.cc Integrate packager top level library 2017-06-13 13:40:26 -07:00
muxer_flags.h Integrate packager top level library 2017-06-13 13:40:26 -07:00
packager_main.cc Collect and generate license notice 2018-04-13 00:29:55 +00:00
packager_util.cc Implement multi DRM support. (Part 2) 2018-03-26 20:18:22 +00:00
packager_util.h Made Trick Play A 1:1 Handler 2017-09-26 08:25:04 -07:00
playready_key_encryption_flags.cc Rename fixed_key to raw_key 2017-10-24 21:52:01 +00:00
playready_key_encryption_flags.h Move hex string out of packager.h 2017-06-20 22:33:47 +00:00
protection_system_flags.cc Implement multi DRM support. (Part 1) 2018-03-03 01:39:16 +00:00
protection_system_flags.h Implement multi DRM support. (Part 1) 2018-03-03 01:39:16 +00:00
raw_key_encryption_flags.cc Rename fixed_key to raw_key 2017-10-24 21:52:01 +00:00
raw_key_encryption_flags.h Rename fixed_key to raw_key 2017-10-24 21:52:01 +00:00
retired_flags.cc The retired availability_time_offset flag should have value 0 2017-06-01 14:55:16 -07:00
retired_flags.h Deprecate availability_time_offset MPD flag 2017-05-22 23:14:16 +00:00
stream_descriptor.cc Support 'iframe_playlist_name' stream descriptor 2018-02-02 22:00:18 +00:00
stream_descriptor.h Integrate packager top level library 2017-06-13 13:40:26 -07:00
validate_flag.cc Add multi-key support in fixed/raw keys 2017-10-24 21:04:49 +00:00
validate_flag.h Add multi-key support in fixed/raw keys 2017-10-24 21:04:49 +00:00
vlog_flags.cc Enable verbose logging through --v or --vmodule 2015-10-28 22:15:50 +00:00
vlog_flags.h Enable verbose logging through --v or --vmodule 2015-10-28 22:15:50 +00:00
widevine_encryption_flags.cc Implement multi DRM support. (Part 1) 2018-03-03 01:39:16 +00:00
widevine_encryption_flags.h Implement multi DRM support. (Part 1) 2018-03-03 01:39:16 +00:00