ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
131.31k stars 9.95k forks source link

f4m and hls using the external downloader #6069

Open remitamine opened 9 years ago

remitamine commented 9 years ago

i'm asking if it is possible to make f4m and hls downloading the segments using the external downloader if the --externl-downloader option is used. as i see in the code the F4mFD is using HttpFD and the NativeHlsFD use the compat_urllib_request. it even possible to share the downloading part of the HlsFD and NativeHlsFD and the only difference is how to combine the segments together. i made a simple script to download m3u8 segments and create a m3u8 video file working with the local parts(you can play it without combining the parts). and it simple to combine the files just make the m3u8 result file as the input of the ffmpeg. it depends on m3u8 module and the aria2 but it's possible to make it work with other downloaders. M3U8 downloader

Gaploid commented 6 years ago

Any hope that it will be implemented? It will be so awesome to use full internet speed to download hls videos.

dneise commented 5 years ago

Can noobs help?

sergeevabc commented 4 years ago

There is a feature request to make HLS possible in Aria2.