224b597b48
It is not always possible to align segment duration to target duration exactly. For example, for AAC with sampling rate of 44100, there are always 1024 audio frames per sample, so the sample duration is 1024/44100. For a target duration of 2 seconds, the closest segment duration would be 1.984 or 2.00533. This feature allows MPD generator to treat these segments as having the same duration, thus allows MPD generator to generate less SegmentTimeline entries and potentially no SegmentTimeline entries (replaced with SegmentTemplate@duration instead if --segment_template_constant_duration flag is enabled). Under flag --allow_approximate_segment_timeline. Disabled by default. Fixes #330. Change-Id: I5044eaa348ebbf45bf792a2af53fc95a115ae21b |
||
---|---|---|
.. | ||
mpd_params.h |