Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Display instantaneous download speed instead of average speed #9541
Comments
|
+1 |
|
@leokhachatorians yah that would be cool, I'm going to switch back to a digital subscriber line. |
|
I would actually prefer the average, because my internet is absolute garbage and it will spike really high for a second or so then drop off almost entirely. It cycles like this, so I like the average download speed over instantaneous because it gives me a better idea of what my overall speed is. I understand lots of people would find instantaneous speed useful, and maybe myself included if I were to switch ISPs, but I would prefer it be an option rather than having the average speed removed completely. |
|
Is anybody working on this? If not, I'll have a look. |
What is the purpose of your issue?
I have an incredibly unstable internet connection. My download speed will often fluctuate from being in the low kbps decades to the 5-10 mbps range. From what I've been able to see from my cursory search of the codebase, youtube-dl calculates speed as an average over the whole download process:
from https://github.com/rg3/youtube-dl/blob/f9b1529af8aec98bffd42edb5be15e1ada791a20/youtube_dl/downloader/common.py
Perhaps you should add a method to return the speed over the past few seconds rather than the whole download, so that wierd internet slowdowns don't show me wildly different average speed than the current speed.