question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DownloadMediaStreamAsync taking too long

See original GitHub issue

When 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:closed
  • Created 6 years ago
  • Comments:33 (18 by maintainers)

github_iconTop GitHub Comments

4reactions
shikhir-aroracommented, Jan 27, 2018

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-27136405

Mixcloud 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.

2reactions
Tyrrrzcommented, Jan 27, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found