Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download progress percentage can go backwards #12224

Closed
mrj opened this issue Feb 22, 2017 · 2 comments
Closed

Download progress percentage can go backwards #12224

mrj opened this issue Feb 22, 2017 · 2 comments

Comments

@mrj
Copy link

@mrj mrj commented Feb 22, 2017

The downloaded progress percentage doesn't monotonically increase, but often goes backwards. e.g.

[download]   3.2% of ~62.28MiB at  4.15MiB/s ETA 00:19
[download]   6.4% of ~62.28MiB at  4.23MiB/s ETA 00:16
[download]  11.8% of ~62.28MiB at  4.25MiB/s ETA 00:14
[download]  11.8% of ~62.28MiB at  4.25MiB/s ETA 00:14
[download]   8.8% of ~82.93MiB at 92.11KiB/s ETA 00:20
[download]   8.8% of ~82.93MiB at 273.49KiB/s ETA 00:20
[download]   8.8% of ~82.93MiB at 634.85KiB/s ETA 00:20
[download]   8.9% of ~82.93MiB at  1.32MiB/s ETA 00:20

This causes progress bars to jump backwards unless backward jumps are filtered out.

  • I've verified and I assure that I'm running youtube-dl 2017.02.22
  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Bug report (encountered problems with youtube-dl)
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 23, 2017

Total file size for fragmented data is extrapolated based on fragments downloaded so far. Otherwise it would require sending HTTP requests for content length for all fragments before starting downloading that is unwanted.

@dstftw dstftw closed this Feb 23, 2017
@mrj
Copy link
Author

@mrj mrj commented Feb 24, 2017

Thanks for the explanation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.