{"id":22,"date":"2026-11-04T18:24:31","date_gmt":"2026-11-04T18:24:31","guid":{"rendered":"https:\/\/globalcorpora.com\/blog\/why-youtube-downloads-are-slow\/"},"modified":"2026-11-04T18:24:31","modified_gmt":"2026-11-04T18:24:31","slug":"why-youtube-downloads-are-slow","status":"publish","type":"post","link":"https:\/\/globalcorpora.com\/blog\/why-youtube-downloads-are-slow\/","title":{"rendered":"Why Are YouTube Downloads So Slow? A Diagnosis Guide"},"content":{"rendered":"<p>You provisioned 10 Gbps, but <code>yt-dlp<\/code> is crawling along at a few megabytes per second, and you cannot tell whether the problem is YouTube, your proxy, your disk or your pipeline. This guide walks through the usual causes in the order they actually cost you throughput, and gives you a measurement for each one before you buy more bandwidth.<\/p>\n<h2>TL;DR<\/h2>\n<ul>\n<li><strong>One download is one connection, and one connection rarely fills a fast link.<\/strong> Use <code>-N<\/code> and run many videos in parallel before you blame your provider.<\/li>\n<li><strong>Measure aggregate throughput, not a single file.<\/strong> A 3 MB\/s file next to a link at 40% utilization says nothing about your capacity.<\/li>\n<li><strong>Most \"slow\" pipelines are request-bound, not bandwidth-bound.<\/strong> Metadata, format probing and throttling retries cost time that no amount of Gbps fixes.<\/li>\n<li><strong>Test direct versus proxied on the same file.<\/strong> That single comparison separates network-path problems from YouTube-side problems.<\/li>\n<li><strong>Check the local machine last but seriously.<\/strong> A single spinning disk, a nearly full disk, or CPU-bound merging can cap you below your network.<\/li>\n<\/ul>\n<h2>Step 0: measure something that means something<\/h2>\n<p>Before changing flags, know what you are measuring. Three numbers matter, and they are easy to confuse:<\/p>\n<table>\n<thead>\n<tr>\n<th>Metric<\/th>\n<th>How to get it<\/th>\n<th>What it tells you<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Per-file speed<\/td>\n<td><code>curl -o \/dev\/null -w '%{speed_download}\\n' URL<\/code> for one media URL, or watch yt-dlp's progress at the end of one file<\/td>\n<td>The ceiling of a single stream. Usually far below your link.<\/td>\n<\/tr>\n<tr>\n<td>Aggregate throughput<\/td>\n<td><code>ifstat<\/code>, <code>nload<\/code>, <code>sar -n DEV 1<\/code>, or your provider's usage graph, sampled while the pipeline runs<\/td>\n<td>What you are actually using. Compare it to your provisioned capacity.<\/td>\n<\/tr>\n<tr>\n<td>Requests per second<\/td>\n<td>Count log lines or completed items per minute<\/td>\n<td>Whether you are bandwidth-bound or request-bound.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>If aggregate throughput sits near your link size, you are bandwidth-bound and the answer is more capacity. If it sits at 10\u201320% while your workers look busy, the bottleneck is almost always serial work, per-connection limits or retries, not bandwidth.<\/p>\n<p>Watch the units. Downloads are reported in bytes, links in bits. 8 MB\/s is 64 Mbps, and a link you call \"1 Gbps\" moves at most about 125 MB\/s before protocol overhead. A 10-minute 1080p video is roughly 150\u2013250 MB, so a single such file at 8 MB\/s takes around 25\u201330 seconds.<\/p>\n<h2>Cause 1: one stream does not fill one link<\/h2>\n<p>YouTube serves media over its CDN in chunks, and a single connection tends to settle well below line rate, especially on long-distance paths. This is why a fast pipe can look idle.<\/p>\n<p>Two fixes, in order of impact:<\/p>\n<pre><code># Ask yt-dlp to fetch several fragments of one file concurrently\nyt-dlp -N 8 \"https:\/\/www.youtube.com\/watch?v=VIDEO_ID\"\n\n# And run many videos at once instead of one after another\n# (GNU parallel shown; any queue works)\nparallel -j 16 'yt-dlp -N 8 -o \"\/data\/%(id)s.%(ext)s\" {}' ::: $(cat ids.txt)<\/code><\/pre>\n<p><code>-N<\/code> (or <code>--concurrent-fragments<\/code>) only helps when the format is served in fragments, which is normal for YouTube. Push it to 4\u20138 per file and compare. Beyond that you mostly add overhead and make rate limiting more likely.<\/p>\n<p>Parallelism across videos multiplies this. The total you can reach is roughly <em>concurrent downloads \u00d7 per-stream speed<\/em>, until you hit a real limit: the proxy, the disk, the CPU or YouTube's tolerance for your source IP.<\/p>\n<h2>Cause 2: your pipeline is serial, not the network<\/h2>\n<p>At scale the wall-clock cost is dominated by the number of round trips per item, not by bytes. Each video means a watch page fetch, player response, format probing, then media requests, then postprocessing. If one worker handles them one at a time, it spends most of its life waiting.<\/p>\n<p>Checks:<\/p>\n<ul>\n<li>How many downloads are actually in flight at any moment? Sample <code>ps<\/code> or your queue's active count. If the answer is \"one per worker\" and workers are few, that is your bottleneck.<\/li>\n<li>Are you re-running yt-dlp as a fresh process per ID? Process start and import costs are small per file but add up over hundreds of thousands.<\/li>\n<li>Are you sleeping more than you intended? <code>-t sleep<\/code> expands to <code>--sleep-subtitles 5 --sleep-requests 0.75 --sleep-interval 10 --max-sleep-interval 20<\/code>. With that preset a worker waits 10\u201320 s between items and tops out around 240 videos per hour <em>before<\/em> download time.<\/li>\n<\/ul>\n<p>For long runs, driving yt-dlp through its Python API in a long-lived worker, or at least batching with <code>--batch-file<\/code>, avoids repeated startup and lets you keep a steady number of items in flight.<\/p>\n<h2>Cause 3: throttling and bot checks disguised as slowness<\/h2>\n<p>The classic failure mode is a pipeline that \"works\" but gets slower every hour. That is usually not congestion. It is YouTube pushing your source IP toward stricter paths: fewer formats offered, more retries, occasional <code>403<\/code> on media URLs that then get re-requested from the start.<\/p>\n<p>Symptoms to look for in the verbose output:<\/p>\n<pre><code>yt-dlp -v --no-progress \"https:\/\/www.youtube.com\/watch?v=VIDEO_ID\" 2&gt;&amp;1 | tail -40<\/code><\/pre>\n<ul>\n<li>Repeated \"Unable to download fragment\" or 403 lines followed by a restart of the same file.<\/li>\n<li>Formats that were available an hour ago now missing, so yt-dlp falls back to a muxed or lower-quality stream.<\/li>\n<li>A growing number of \"Sign in to confirm you're not a bot\" exits. If so, that is a separate problem with its own fixes \u2014 see <a href=\"https:\/\/globalcorpora.com\/blog\/yt-dlp-sign-in-to-confirm-not-a-bot\/\">fixing \"Sign in to confirm you're not a bot\"<\/a>.<\/li>\n<\/ul>\n<p>Retries are pure waste: a file that dies at 80% and restarts from zero burned 1.8\u00d7 the bandwidth for the same output. Adding <code>--retries<\/code>, <code>--fragment-retries<\/code> and <code>--continue<\/code> does not fix the cause, but it stops the waste from compounding.<\/p>\n<h2>Cause 4: the wrong format is expensive in three places<\/h2>\n<p>Format choice affects speed through download size, merge work and decode cost:<\/p>\n<table>\n<thead>\n<tr>\n<th>Choice<\/th>\n<th>Why it can be slow<\/th>\n<th>What to do<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Highest available resolution (4K\/8K, AV1 or VP9)<\/td>\n<td>Several times the bytes, and a heavy CPU merge or transcode step<\/td>\n<td>Cap it: <code>-f \"bv*[height&lt;=1080]+ba\/b\"<\/code><\/td>\n<\/tr>\n<tr>\n<td>Muxed (progressive) formats<\/td>\n<td>Only offered at low resolutions, often served through slower paths<\/td>\n<td>Prefer separate video and audio streams, then merge<\/td>\n<\/tr>\n<tr>\n<td>Converting everything to MP3 or a fixed resolution at download time<\/td>\n<td>Transcoding is CPU-bound and can crush your throughput well below network speed<\/td>\n<td>Keep the native stream, convert later on a separate, parallelizable stage<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Use <code>-F<\/code> on a sample to see what is actually on offer, and <code>-O<\/code> to print sizes without downloading:<\/p>\n<pre><code>yt-dlp -O \"%(id)s %(format_id)s %(height)s %(tbr)s kbps %(filesize,filesize_approx)s bytes\" URL<\/code><\/pre>\n<p>If merging is your bottleneck, watch CPU during the run. A worker at 100% CPU on <code>ffmpeg<\/code> is not downloading anything.<\/p>\n<h2>Cause 5: the proxy path is the bottleneck<\/h2>\n<p>Proxies help you avoid per-IP limits, but they can also silently cap you. Common causes: a provider enforcing a per-account throughput limit, a busy shared exit node, a long network path to the exit, or a proxy that terminates TLS inefficiently.<\/p>\n<p>Isolate it with one test:<\/p>\n<pre><code># Same file, same machine, same time of day\ncurl -o \/dev\/null -w 'direct  %{speed_download} B\/s\\n' MEDIA_URL\ncurl -x \"http:\/\/USER:PASS@proxy.example.com:8080\" -o \/dev\/null -w 'proxied %{speed_download} B\/s\\n' MEDIA_URL<\/code><\/pre>\n<p>If the proxied number is a fraction of the direct one on a single stream, retest with several concurrent streams through the proxy. A slow single stream with good aggregate throughput means the issue is per-connection latency, not capacity. Slow aggregate means the proxy path is genuinely capped.<\/p>\n<p>Also check the exit's network family and location. An exit several continents away adds round-trip time to every fragment request, and IPv6 versus IPv4 paths to the CDN can behave differently. For flag-level details, see the <a href=\"https:\/\/globalcorpora.com\/blog\/yt-dlp-proxy-guide\/\">yt-dlp proxy guide<\/a>.<\/p>\n<h2>Cause 6: the local machine<\/h2>\n<p>It is boring and it is frequently the answer:<\/p>\n<ul>\n<li><strong>Disk write throughput.<\/strong> Many small concurrent writes on one spinning disk, or on a network volume, cap far below the network. Check with <code>iostat -x 1<\/code> and look for high <code>%util<\/code> and wait time.<\/li>\n<li><strong>Disk space.<\/strong> Above roughly 90% utilisation, filesystem behaviour degrades and writes stall.<\/li>\n<li><strong>Container and network stack limits.<\/strong> Overlay filesystems and low default buffer sizes cost throughput. Check <code>ss -s<\/code> for retransmits and socket errors.<\/li>\n<li><strong>CPU.<\/strong> Merge, extract, convert and hashing all compete with the network path. Pin the postprocessing stage to separate workers.<\/li>\n<li><strong>Ephemeral port and connection limits.<\/strong> Thousands of short connections can exhaust the ephemeral port range. Check <code>net.ipv4.ip_local_port_range<\/code> and <code>TIME_WAIT<\/code> counts.<\/li>\n<\/ul>\n<h2>A symptom-to-cause table<\/h2>\n<table>\n<thead>\n<tr>\n<th>Symptom<\/th>\n<th>Most likely cause<\/th>\n<th>First check<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Single file at 5\u201310 MB\/s while the link is idle<\/td>\n<td>Per-connection limit<\/td>\n<td>Add <code>-N 8<\/code>, compare<\/td>\n<\/tr>\n<tr>\n<td>Aggregate throughput flat regardless of worker count<\/td>\n<td>Shared cap: proxy, disk or NIC<\/td>\n<td>Raise workers 2\u00d7 and watch aggregate<\/td>\n<\/tr>\n<tr>\n<td>Throughput drops over hours, retries climb<\/td>\n<td>Rate limiting \/ IP reputation<\/td>\n<td>Read <code>-v<\/code> output; rotate or slow down<\/td>\n<\/tr>\n<tr>\n<td>Fast network, low completions per minute<\/td>\n<td>Serial pipeline, too much sleep<\/td>\n<td>Count in-flight downloads<\/td>\n<\/tr>\n<tr>\n<td>Worker pegged at 100% CPU<\/td>\n<td>Merge or transcode<\/td>\n<td>Move postprocessing out of the downloader<\/td>\n<\/tr>\n<tr>\n<td>Download finishes then the file write stalls<\/td>\n<td>Disk<\/td>\n<td><code>iostat<\/code>, free space<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>What \"fast enough\" looks like<\/h2>\n<p>Size the pipeline against the number you need, not against a benchmark you saw once. 1 Gbps sustained moves about 324 TB per month, or roughly 10.8 TB per day. If you need 100 TB per month, you need about 0.31 Gbps of <em>sustained<\/em> throughput, which in practice means provisioning more and keeping enough downloads in flight to use it. The arithmetic, including the utilization assumptions, is in <a href=\"https:\/\/globalcorpora.com\/blog\/bandwidth-for-large-scale-video-downloads\/\">bandwidth for large-scale video downloads<\/a>.<\/p>\n<p>A practical target for a well-run collector is a steady 60\u201370% of provisioned capacity all day. If you cannot get past 20% no matter how many workers you add, fix the pipeline before buying bandwidth: the bottleneck is not the link.<\/p>\n<h2>Compliance<\/h2>\n<p>YouTube's Terms of Service restrict automated access and downloading. Copyright and licensing apply to what you collect: many teams filter for Creative Commons-licensed videos (see <a href=\"https:\/\/globalcorpora.com\/blog\/creative-commons-youtube-videos-for-ai-training\/\">finding and filtering Creative Commons videos<\/a>), and privacy law applies to faces and voices. Get legal review for your jurisdiction and use case; tuning throughput does not change any of that.<\/p>\n<h2>If you would rather not tune it yourself<\/h2>\n<p>Most of the causes above come down to two things: per-connection limits, and a proxy path that is not sized for video. Corpora provides dedicated 1\u201340 Gbps unmetered proxy capacity (HTTP(S) and SOCKS5, yt-dlp-compatible, rotating pools, multi-region endpoints), or will collect and deliver deduplicated video, audio, subtitle and metadata datasets straight to your S3, GCS or Azure bucket, with a free sample batch. See <a href=\"https:\/\/globalcorpora.com\/#pricing\">pricing<\/a> or <a href=\"https:\/\/globalcorpora.com\/#contact\">talk to sales<\/a>.<\/p>\n<h2>FAQ<\/h2>\n<h3>Why is yt-dlp downloading at only a few MB\/s when I have a gigabit link?<\/h3>\n<p>Because one download is one connection, and a single YouTube stream typically settles well below line rate. Use <code>-N 8<\/code> and run several videos in parallel. Reaching high aggregate throughput is a parallelism exercise, not a per-file one.<\/p>\n<h3>Does a proxy make downloads slower?<\/h3>\n<p>It adds a hop, so a single stream is often slower. What matters is aggregate throughput with many concurrent streams. If aggregate is capped, the proxy path is limiting you; if only the single-stream figure drops, you are seeing latency rather than lost capacity.<\/p>\n<h3>Why does throughput drop the longer my job runs?<\/h3>\n<p>Usually rate limiting or IP reputation. Check verbose output for repeated 403s on fragments and for the bot check. Retries restart work and inflate the cost, so fix the cause rather than only raising the retry count.<\/p>\n<h3>Is it faster to download video and audio separately?<\/h3>\n<p>Usually yes, because high resolutions are only offered as separate streams, and you avoid muxed formats that are served at low resolutions. Download <code>bv*+ba<\/code>, but skip transcoding at download time and convert on a separate stage.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Find out why YouTube downloads are slow: per-connection limits, serial pipelines, proxy paths, disk and CPU. Measure correctly, then fix the real bottleneck.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[44,17,43,9,42,7],"class_list":["post-22","post","type-post","status-publish","format-standard","hentry","category-guides","tag-benchmarking","tag-data-collection","tag-performance","tag-proxies","tag-throughput","tag-yt-dlp"],"_links":{"self":[{"href":"https:\/\/globalcorpora.com\/blog\/wp-json\/wp\/v2\/posts\/22","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/globalcorpora.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/globalcorpora.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/globalcorpora.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/globalcorpora.com\/blog\/wp-json\/wp\/v2\/comments?post=22"}],"version-history":[{"count":0,"href":"https:\/\/globalcorpora.com\/blog\/wp-json\/wp\/v2\/posts\/22\/revisions"}],"wp:attachment":[{"href":"https:\/\/globalcorpora.com\/blog\/wp-json\/wp\/v2\/media?parent=22"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/globalcorpora.com\/blog\/wp-json\/wp\/v2\/categories?post=22"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/globalcorpora.com\/blog\/wp-json\/wp\/v2\/tags?post=22"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}