GNOME Bugzilla – Bug 790821
m3u8: Parse and use AVERAGE-BANDWIDTH attribute if available
Last modified: 2017-12-06 23:21:41 UTC
The AVERAGE-BANDWIDTH attribute in the EXT-X-STREAM-INF tag represents the the average segment bit rate of the Variant Stream, while the BANDWIDTH attribute represents the peak segment bit rate of the Variant Stream. (https://tools.ietf.org/html/draft-pantos-http-live-streaming-23#section-4.3.4.2) Using the average bit rate instead of the peak bit rate for variant switching is more efficient and appropriate. Sometimes due to VBR encoding, the BANDWIDTH may represent a value way above the average bit rate, which could result to players not switching to that variant stream although network bandwidth is sufficiently available.
Created attachment 364388 [details] [review] m3u8: Parse and use AVERAGE-BANDWIDTH attribute if available
Seems like a logical move.
Thanks, will be in the next major version of GStreamer, if you feel that a 1.12 backport would be better, let me know. Attachment 364388 [details] pushed as 6a5bae5 - m3u8: Parse and use AVERAGE-BANDWIDTH attribute if available
Thanks. I would appreciate if it would be in 1.12 as well.