[FFmpeg-trac] #9357(avformat:new): HLS live seek support
FFmpeg
trac at avcodec.org
Tue Aug 3 19:51:11 EEST 2021
#9357: HLS live seek support
-----------------------------------+---------------------------------------
Reporter: SuRGeoNix | Type: enhancement
Status: new | Priority: normal
Component: avformat | Version: git-master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-----------------------------------+---------------------------------------
The current API (hls demuxer) doesn't seem to provide/expose required
information to implement HLS live seek as the playlists/segments are not
known (HLSContext). Even if you just re-opening the format context to
accomplish this with the 'live_start_index' avdict option you don't have
the information of the segments/durations.
Additionally, it seems that the hls demuxer sets AVFMTCTX_UNSEEKABLE flag
always. Can't see the reason why it applies it for example in this HLS
live stream (https://cph-p2p-
msl.akamaized.net/hls/live/2000341/test/level_3.m3u8)
It has been also seen even after seeking on HLS live stream that the
timestamps are not related to the previous ones (before seeking) or to the
first_timestamp or ic->start_time.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9357>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list