Opened 2 years ago
HLS: Option for implicit EXT-X-ENDLIST
|Reported by:||rgovostes||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
When a .m3u8 file does not contain a #EXT-X-ENDLIST, ffmpeg treats it as a live stream and repeatedly tries to refresh the file, potentially forever if the file is static.
This creates an easy way for sites to break ffmpeg or youtube-dl.
Ideally there would be an option that would indicate to ffmpeg that the playlist is complete and to act as though #EXT-X-ENDLIST appears at the end of the file.