[FFmpeg-trac] #2886(avformat:new): HLS source with multiple variants is not optimally handled

FFmpeg trac at avcodec.org
Thu Sep 18 18:46:41 CEST 2014


#2886: HLS source with multiple variants is not optimally handled
-------------------------------------+------------------------------------
             Reporter:  sinkers      |                    Owner:
                 Type:  enhancement  |                   Status:  new
             Priority:  wish         |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  HLS          |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+------------------------------------

Comment (by mav):

 My player will check buffer fill percentage every 30 seconds or so. If
 buffer fill > 90% it will switch to higher bitrate, if buffer fill < 20%,
 it will switch to lower bitrate.

 The problem with ffmpeg currently - I cannot disable stream by setting
 AVDISCARD_ALL flag after I get packets from it, it still downloads
 segments from unneeded bitrates.

 See the check in hls.c recheck_discard_flags() function. It checks for
 discard flag only on first packet in stream. After this - it just ignores
 discard flag.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/2886#comment:10>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list