[FFmpeg-trac] #7082(undetermined:closed): HLS: m3u8 file is missing the first segment
FFmpeg
trac at avcodec.org
Tue Mar 13 07:51:35 EET 2018
#7082: HLS: m3u8 file is missing the first segment
-------------------------------------+-------------------------------------
Reporter: | Owner:
stefantalpalaru | Status: closed
Type: defect | Component:
Priority: normal | undetermined
Version: 3.4 | Resolution: fixed
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by stevenliu):
Replying to [comment:4 j_karthic]:
> Replying to [comment:3 stevenliu]:
> > Replying to [comment:2 stefantalpalaru]:
> > > Thank you, setting "hls_list_size" to 0 fixes my problem.
> > >
> > > Can 0 be made the default value instead of 5? It doesn't really make
sense to not generate all the HLS segments by default for my use case (not
a live stream, but a fixed-size video with different resolutions served
through HLS to allow the in-browser player to auto-select the appropriate
one for the client's bandwidth).
> >
> > default is living stream mode, one m3u8 have 5 fragments, so that have
no problem, you can use hls_list_size to set it :)
> Does this mean, we will always lose the first segment during live
streaming? If yes, then this still sounds like a bug.
No, hls_list_size 0 can fix this problem, you set hls_list_size to 5, then
there have 6 fragments, it will remove the frist fragment to keep the m3u8
list window size if 5 fragments. What about you think?
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7082#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list