-
Notifications
You must be signed in to change notification settings - Fork 53
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 freezes #372
Comments
Just tested it for you, and "alas" it works. So maybe there was a localised disturbance at Areena or your ISP/local network?
(Mac / yle-dl via brew) 4.96Gb filesize. Quick audition seemed ok. |
Are there any errors or does it just hang indefinitely? Are you able to watch movie on web browser beyond the freeze-point? There have been similar bugs reports before but I have never found a clear explanation. |
It doesn't give any errors, just hangs. I've tried downloading it at least a dozen times over the last two weeks or so. Twice I've left it running overnight, but it just gets stuck in some frame and doesn't get past that one. I just tried a few downloads just now and those went through normally, just not this one. I've ran all the updates, tried restarting my computer and my router, but this download always gets stuck very soon after 2h20min. I can watch the film from Areena without any issues. Strange issue. |
Just thinking in case it helps the developer, maybe mention the machine (ram, proc), OS, version etc. Are you using a VPN by any chance? Plenty of disk space in case it is writing out to process? Sometimes the smallest thing can be overlooked. Are you running the code native rather than in a sandbox or Docker (if that's available) as in the past I've seen developers chase things down and find that, for whatever reason, it was not liking Docker. |
Yes, Macbook Air M2 2022, 16gb of RAM, MacOS Sequioa 15.0.1, 90+gb of free disk space and not using VPN. I installed yle-dl with homebrew and use it in terminal. |
So I'm stumped. Could you get any insight at all running the download with Edit: You are not using cellular data by any chance? Just in case there was some latency weirdness that broke things. |
No, not using cellular data. |
I did run the --verbose and it gave me this:
|
I couldn't see anything, so over to the expert dev. The only thing I reacted to was the difference in speed at the end. Could there be some flapping on your network (but it would be a strange thing if it was going up and down, and yet you've not experienced issues elsewhere). Oh you may want to edit the previous post for privacy, assuming you are a elisa-laajakaista.fi user... you pasted it in your IP number. |
No, I don't have Elisa, but I removed it anyway, took me a moment to find that ip from that wall of text. Thanks for heads up! The speed begins to decrease once the download hits the wall, and if I leave it on for long enough, it will get down to "zero". |
ffmpeg does have options that may give additional options, whether you can try amending it from the quoted debug output. I cannot claim if it is a wild goose chase or even incorrect advice.
I have seen mention in the past for low speed networks, that setting things using flags like I might try tomorrow if you don't get chance/have any luck. I'm supposed to be finishing off a task but this seems more interesting :) |
I don't see anything out of ordinary in the log either. This is a bit of a mystery. Does it freeze also if you try a lower resolution by adding The IP address was actually not your IP. It's a randomly generated Finnish IP used to get past Areena geo-blocking. |
Just out of curiosity, I decided to try to download with my computer connected to my phone as a hotspot. The speed was a lot lower (my home broadband is 100mbps), but the download was completed. I then tried to connect back to my home wifi and download, but the freeze happened again. So that would mean the issue has something to do with my home broadband, but it doesn't really make any sense why it always happens with this url (and once in the past with some other url), but all others always work perfectly. Even with longer films than this one I have never had any issues. 720p seems to download as well. |
Would there/should there be maybe a check for the user's IP to avoid sending traffic via that proxy which might not otherwise need it? (as in whoever is providing it, e.g. yourself, might have less used resources)? Edit: based on the OP's latest update, is there a flag (I didn't see) to ignore the proxy, so they could try that from their "troubled" home broadband, just to rule out some weird traffic shaping or other stuff their ISP may be doing, if it is hitting a certain range for the proxies? An interesting issue, but maybe it gives some extra data points for the problem you've noticed before but haven't tracked down, e.g. try a different connection, try without proxy (if there's a flag) and observe if the speed appears to be low(er) when it gives up. |
Interesting observation that it depends on the network connnection. I still don't understand why it should freeze on that one file on one of the connections. Just to clarify: There is no actual proxy involved. Yle-dl just pretends to be a proxy to by-pass any geo-restrictions. |
Thank you already with your help so far, and sorry about the hassle. I tried a few things out of curiosity: I tested if it could be film length issue, so I tried https://areena.yle.fi/1-50497668 which is over 2 hours, but it downloaded just fine. I found out the file size was "only" 2,44gb, where as the earlier film always froze around 4,15gb, so I tried with https://areena.yle.fi/1-3554229, which froze at 4,41gb and https://areena.yle.fi/1-4468364 which froze multiple times at 4,15gb, so not only does it appear to be an issue with my home broadband wifi (since the cellular data hotspot download worked for the first stream.), but perhaps also something to do with the file size? That would also "explain" why the download worked with 720 resolution. But maybe enough with this headache already for one night. |
I've tried downloading stream: https://areena.yle.fi/1-64233068 several times over the last week or so, but the download freezes around 2h21min or 2h22min. This happened to me with another stream a few months ago, but I can't remember which one. Other streams I have tried, have downloaded without any issues. Any solutions?
The text was updated successfully, but these errors were encountered: