selsta / hlsdl

C program to download VoD HLS (.m3u8) files
MIT License
633 stars 158 forks source link

Resuming interrupted downloads #38

Open YurikaL opened 6 years ago

YurikaL commented 6 years ago

Initially, hlsdl works great with videos that I want to download, even including those that ffmpeg and youtube-dl cannot handle. But without support of resuming download it very difficult to finish downloading some long videos, especially on slow and unstable internet connections, or with links which expire after a while. Downloading process in such conditions is eventually interrupted before it is completed.

So it would be great if hlsdl would support resuming downloads, as youtube-dl and ffmpeg does.

jimsy3 commented 5 years ago

hi can you write some example commands of how to actually use this tool? i have some .h and .c files unzipped in somekind of "hlsdl-master/src" folder, but i dont even know how to download the file, even if i have an url that i need to dl(an .mpd link)..... the mpd file basically has this in it: drm/../.../.mp4.urlset/fragment-$Number$-$RepresentationID$.m4s drm/../.../.mp4.urlset/init-$RepresentationID$.mp4

thanks

YurikaL commented 5 years ago

@jimsy3 These ".h and .c files" are usually called "source code" of the program :) If you want to use this program, you must compile it first to get the executable binary file. Brief build instructions are described in README.md, but using make install command probably not a great idea, because in this context it installs binary into your system in circumvention of the package manager. Simply make is quite enough to get the binary file. Which Linux distro you use?

(And using this issue to discuss build issues is probably not a great idea too... Probably you should create separate issue.)