-
-
Notifications
You must be signed in to change notification settings - Fork 143
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
Very slow download? #41
Comments
I could reproduce this, this is happening because ratebypass parameters is not parsed correctly, gonna push a fix asap |
Please check if it is faster with v |
Much better now ! |
Hi again. Sounds like the file is partially corrupted, can you reproduce same issue? |
Mh, I couldn't find any major issues, is it randomly corrupted? Are missing some parts at the start, middle or end? |
It's happening with long videos like this. When trying to seek in the middle of audio the player crash or go back to 00:00. |
Seems like that I download the streams with the range headers every A quick side note, I forgot to update the docs but instead of |
Pushed v |
I'm still having very slow downloads on 1.3.1. For example, this three minute video takes over a half hour to download (and often fails partway through and has to be restarted due to an HttpException, but that's another issue). My download code is in the linked issue. If I pause and look at Should I skip calling _yt.videos.streamsClient.get(videoStreamInfo) and just make a standard http request to download the video? Or maybe use a library like dio; people seem to like that one. But then I'm only using youtube_explode to get to the links, not to do the actual download. Are there any potential issues doing it that way? Maybe I'm more likely to be blocked by YouTube if I download directly? |
Edit: downloading the above three minute video actually takes about 30 seconds. The first ~20% of the video is downloaded in a few seconds, and the remaining 80% takes about 25. I forgot I had some debug stuff in there, which was actually what was causing it to take >30 minutes. Oops. |
Bug:
It looks like it's downloading each piece every 10 seconds
Code:
Flutter Doctor
The text was updated successfully, but these errors were encountered: