DownloadMediaStreamAsync taking too long
See original GitHub issueWhen using DownloadMediaStreamAsync
to download even a short video it will use up to a minute to return.
PS: It worked fine a few days ago.
Issue Analytics
- State:
- Created 6 years ago
- Comments:33 (18 by maintainers)
Top Results From Across the Web
Downloads Slow to Download : r/PleX
I've tried streaming and downloading an episode of a series, about 400MB, about 20min duration. Both were set to use the original file...
Read more >Audio falls out of sync
Try going to the one you download and view the last 2-3 minutes and see if it's in sync. As mentioned the deeper...
Read more >Audio/Video becomes more and more out of sync during ...
During the first few minutes it isn't really noticeable, but after 5 minutes or so the audio will be a few seconds out...
Read more >How to Fix Audio and Video Out of Sync Permanently
Part 1. Why audio not in sync with video ? · Playing the video on a media player that doesn't support its file...
Read more >How to Fix Audio Video Sync Problem in MP4?
Audio-video sync issues occur when the audio and video components of a media file do not stream and do not sync with time...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m not using YouTubeExplode here, but that doesn’t really work. It scales a bit and certainly helps with large files because the DASH throttle doesn’t kick in as fast (but we’re still talking several minutes with many connections to download an hour video, better than the hour it could take but not suitable for real-time). With
youtube-dl
: https://github.com/GieselaDev/Giesela/commit/222d41796d0318b0fd61472c7703751d0577d85e#commitcomment-27136405Mixcloud has been doing this for a long time @Tyrrrz – similar to what you described. That’s why efficient Mixcloud downloaders use an approach by proxy and serving multiple client connections.
So good news, I guess. I quickly threw together a segmented downloader and it managed to download a 3:50 video in less than a second, compared to ~2 minutes from before.