aajanki / yle-dl

Download videos from Yle servers
https://aajanki.github.io/yle-dl/index-en.html
GNU General Public License v3.0
302 stars 52 forks source link

`startposition` seeking on unfinished arena live streams doesn't work #352

Closed Carl-Robert closed 7 months ago

Carl-Robert commented 7 months ago

Hi!

Trying to download for example sporting events that are still ongoing with startposition seek give out a message: [in#0/hls @ 000002e11610d080] could not seek to position 4904.300 (the seek position of course depending on the value entered on the command).

Opening the video following the link starts live, but allows to seek all the way back to the beginning. So the possibility is clearly there. Also startposition used on a live channel works as intended.

aajanki commented 7 months ago

Thanks for reporting! These kind of event streams were not corretly recognized as live streams. This in turn meant that a wrong argument got passed to ffmpeg.

A fix for the live stream detection is now in the master branch.