#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
_______________________________________________
FFmpeg-trac mailing list
[email protected]
http://avcodec.org/mailman/listinfo/ffmpeg-trac