anilbeesetti / nextlib

NextLib for Next Player
https://github.com/anilbeesetti/nextplayer
GNU General Public License v3.0
75 stars 22 forks source link

Infinite loop when trying to get MediaInfo for live hls streams #72

Open TheBeastLT opened 6 months ago

TheBeastLT commented 6 months ago

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

anilbeesetti commented 6 months ago

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

TheBeastLT commented 6 months ago

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

TheBeastLT commented 5 months ago

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

TheBeastLT commented 5 months ago

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