I try to download a video. Playlist file contain URLs for 2 resolutions. But I can't get all segments for any playlist from server. I think best thing is if hlsdl try to use one playlist, but if it gets 403 or 404 for segment, retry same segment from other playlist. Maybe use ffmpeg to create final output video at main resolution? Or maybe add option to download each segment with metadata and I can rebuild video file?
I try to download a video. Playlist file contain URLs for 2 resolutions. But I can't get all segments for any playlist from server. I think best thing is if hlsdl try to use one playlist, but if it gets 403 or 404 for segment, retry same segment from other playlist. Maybe use ffmpeg to create final output video at main resolution? Or maybe add option to download each segment with metadata and I can rebuild video file?