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.32k stars 9.95k forks source link

Youtube extracts super slow #26040

Open djvs opened 4 years ago

djvs commented 4 years ago

Checklist

Verbose log

$ yt -xi https://www.youtube.com/user/CableMetabollic/videos
[youtube:user] CableMetabollic: Downloading channel page
[youtube:playlist] UUqyT_nIuhQiVp_BiW0MO8ng: Downloading webpage
[download] Downloading playlist: Uploads from CableMetabollic
[youtube:playlist] UUqyT_nIuhQiVp_BiW0MO8ng: Downloading page #1
[youtube:playlist] playlist Uploads from CableMetabollic: Downloading 184 videos
[download] Downloading video 1 of 184
[youtube] jg1Gq8lL-eU: Downloading webpage
[download] Destination: Ed Rush, DJ Trace, & Nico - The Droid-jg1Gq8lL-eU.m4a
[download] 100% of 5.88MiB in 00:01
[ffmpeg] Correcting container in "Ed Rush, DJ Trace, & Nico - The Droid-jg1Gq8lL-eU.m4a"
[ffmpeg] Post-process file Ed Rush, DJ Trace, & Nico - The Droid-jg1Gq8lL-eU.m4a exists, skipping
[download] Downloading video 2 of 184
[youtube] Q0zkPEnJPCw: Downloading webpage
[youtube] Q0zkPEnJPCw: Downloading MPD manifest
[dashsegments] Total fragments: 62
[download] Destination: DJ Mix 11_01_09-Q0zkPEnJPCw.m4a
[download] 100% of 9.27MiB in 10:12
[ffmpeg] Correcting container in "DJ Mix 11_01_09-Q0zkPEnJPCw.m4a"
[ffmpeg] Post-process file DJ Mix 11_01_09-Q0zkPEnJPCw.m4a exists, skipping
[download] Downloading video 3 of 184
[youtube] B-bvEARBenE: Downloading webpage
[youtube] B-bvEARBenE: Downloading MPD manifest
[dashsegments] Total fragments: 62
[download] Destination: Apache Mix Part One-B-bvEARBenE.webm
[download] 100% of 8.63MiB in 05:26
[ffmpeg] Destination: Apache Mix Part One-B-bvEARBenE.opus
Deleting original file Apache Mix Part One-B-bvEARBenE.webm (pass -k to keep)
[download] Downloading video 4 of 184

ET CETERA...

[download] Downloading video 92 of 184
[youtube] sE41kx0giBk: Downloading webpage
[youtube] sE41kx0giBk: Downloading MPD manifest
[dashsegments] Total fragments: 51
[download] Destination: DJ Mix - All Gremlinz Mix - 07_24_09-sE41kx0giBk.m4a
[download]   7.8% of ~5.80MiB at  1.48MiB/s ETA 12:06

Description

Download is extremely slow on this whole playlist. Reports ~800-1200KBPS but actual speed is ~1/10 lower. Note last line of log - doesn't know actual file size. How is 5.80MiB at 1.48MiB/S gonna take 12:06? Segment downloading issue here?

ghost commented 4 years ago

had same issue fixed by adding --force-ipv4

undoingtech commented 4 years ago

I am running version 2020.07.28 I also had the same issue with suuuper long download times. It was also affecting updates using youtube-dl -U. dym-sh's suggestion fixed it. Thank you @dym-sh !