On 10/28/2016 11:13 AM, stan wrote:
> 2016-10-28 5:22 GMT+02:00 jd1008 <jd1008(a)gmail.com>:
>> A new strange behavior of this util.
>> When downloading a format of the file that is pure video (i.e. no
>> audio) I end up with tens of small files each one labeled by the
>> name of the listed movie
>> appended with .part-FragN where N ranges from 0 to more than 200
>> I updated youtube-dl by running youtube-dl -U and retried. It does
>> the same thing.
>> After it finished getting all the fragments, it does not catenate
>> them into a single
>> video file.
>> How can I get around this problem?
You could try to cat the fragments together into a new file. Whether
this works depends on whether youtube puts some glue on the end for
their browser video player.
I think the issue is that web video servers like youtube have begun to
serve videos in small chunks. My theory is that this is a response to
mobile processing. If someone is streaming and moving between access
points, if the whole file is being sent, it's lost. If a small chunk,
just the small chunk is lost. And, it keeps resource usage minimal
(memory and disk).
I notice that the firefox downloaders (ant, dlhelper) have adjusted to
this. They download the video chunks, and then knit them together and
write them at completion. No longer are there any partial files. It's
all or nothing.
Yes. And it increases the download time by many factors.