nextlib icon indicating copy to clipboard operation
nextlib copied to clipboard

Infinite loop when trying to get MediaInfo for live hls streams

Open TheBeastLT opened this issue 1 year ago • 4 comments

When opening live HLS streams it seems the avformat goes into infinite loop trying to open each segment of the stream, which is not expected. If I try to open the same link with ffprobe everything works as expected. Tried looking how ffprobe uses avformat, maybe it's missing some option, but didn't find anything useful. Possible stream to try - https://inst2.ignores.top/js/sky-f1/1/playlist.m3u8

TheBeastLT avatar May 11 '24 13:05 TheBeastLT

Hey @TheBeastLT. The link you provided is not working. I tested with this link "https://demo.unified-streaming.com/k8s/features/stable/video/tears-of-steel/tears-of-steel.ism/.m3u8" and i didn't find any problem and got the media info back. image

anilbeesetti avatar May 19 '24 05:05 anilbeesetti

It has to be a live channel playlist. You can try this one - https://inst2.ignores.top/js/sky-f1/1/playlist.m3u8

TheBeastLT avatar May 19 '24 06:05 TheBeastLT

Hi @anilbeesetti I've updated the link that should work for a longer time. Were you able to replicate it?

TheBeastLT avatar Jun 07 '24 08:06 TheBeastLT

I think the issue is potentially due to nextlib using mbedtls instead of gnutls, which is used by default in ffmpeg build and which is used also in ffmpeg-kit builds

TheBeastLT avatar Jun 22 '24 16:06 TheBeastLT