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

Michael Niedermayer michael at niedermayer.cc
Mon Feb 5 23:00:16 EET 2018


On Mon, Feb 05, 2018 at 03:41:54PM +0530, Amit Kale wrote:
> Hi,
> 
> 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
> 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.
> 
> Thanks.
> -Amit

This patch is corrupted by linebreaks

Applying: HLS master playlist - peak and average bandwidth settings
error: corrupt patch at line 29
error: could not build fake ancestor
Patch failed at 0001 HLS master playlist - peak and average bandwidth settings
The copy of the patch that failed is found in: .git/rebase-apply/patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180205/b6a9f702/attachment.sig>


More information about the ffmpeg-devel mailing list