Closed karjonas closed 9 years ago
Was thinking of doing HLS Download myself, BBC started using it for some downloads. BBC are also doing MPEG-DASH. get_iplayer already supports HLS for BBC downloads.
Have a few, little things, recovery is start from beginning by unlinking file, some downloads could be large, maybe an improvement for later to allow restart from segment reached.
Might need to set binary mode on the file, could be issues on Windows adding characters. Needs some checking, if I can find a running Windows machine. Move open outside loop, and set binmode.
Quality - can also select another form not just high/medium/low. This could be site specific. Assumes only three BANDWIDTH's maximum, for > 3 something like this replace bitrate_index my $cnt = scalar keys %urls; my $min = {high=>$cnt, medium => int(($cnt+1)/2), low =>0}->{$perf->{$quality}}; $min //= $cnt;
urls could be https:// for .ts files being downloaded. Could result in http://.....https://....., match either http:// or https://
Thanks for the update.
Replaces Kanal5play with new site Dplay.se. Also adds a HLSDownloader package since using cookies with ffmpeg was too troublesome. Sites using ffmpeg now use the HLSDownloader.