[FFmpeg-devel] [PATCH] HLS master playlist - peak and average bandwidth settings

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Feb 5 14:22:09 EET 2018

2018-02-05 11:11 GMT+01:00 Amit Kale <amitk at hotstar.com>:
> Kindly below a patch to add peak and average bandwidth settings for HLS
> master playlist. It adds two hls_flags as described below.
> peak_segment_bw
> If this flag is set, BANDWIDTH value in a master playlist entry will be set
> to the
> peak segment bandwidth.
> avg_bw
> If this flag is set, AVERAGE-BANDWIDTH value will be added to a master
> playlist
> entry. This flag implies peak_segment_bw.

> It changes behaviors of other codepaths as follows

This sentence indicates that you should split your patch
to ease both reviewing now and later in the history of the
changed file.

> 1. Corrects setting of start_pos single file is not used in
> hls_write_packet.
> 2. Adds a new parameter avgbw to ff_hls_write_playlist_version. If this
> parameter is non-null AVERAGE-BANDWIDTH is emitted.

> This message and its attachments are confidential (or legally privileged)
> information and are meant solely for the addressee of such message. Any
> unauthorized use of the message / its attachments is strictly prohibited.

Please remove this from emails sent to a public mailing list (or use
another mail provider).

Carl Eugen

More information about the ffmpeg-devel mailing list