I'm having an issue with the HLS Direct method on playing some random movies and tv episodes.
It seems that the segment/index never really finishes for some files.
What I mean, for example, a currently playing movie:
# curl "https://etv01/iptv/channel/2461.m3u8?mode=hls-direct"
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:110
#EXT-X-DISCONTINUITY
#EXTINF:2252.68,
https://etv01/ffmpeg/stream/2461?index=110&mode=hls-direct
Many seconds later:
# curl "https://etv01/iptv/channel/2461.m3u8?mode=hls-direct"
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:110
#EXT-X-DISCONTINUITY
#EXTINF:1953.81,
https://etv01/ffmpeg/stream/2461?index=110&mode=hls-direct
Notice how the EXTINF tag decreases, but we're still at the same EXT-X-MEDIA-SEQUENCE
This is causing some issues -- mainly another running ffmpeg that processes the output of Etv won't ever finish/write the segment list.
This is on 0.8.8-6c4f63ad-docker-nvidia -- again, there's no transcoding taking place.
I'm not entirely sure what generates the m3u8 inside Etv, but I'm feeling there's an issue with detecting segment durations properly here.