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

Improve Download Speeds #52

Open
AffiTheCreator opened this issue Mar 5, 2024 · 1 comment
Open

Improve Download Speeds #52

AffiTheCreator opened this issue Mar 5, 2024 · 1 comment

Comments

@AffiTheCreator
Copy link

Your current method to download files may be quick on 5 min videos but on videos with hours is quite slow due to the fact you are downloading each individual segment.

It would be way faster to just download the video parcel and the audio parcel and merge them with ffmpeg in the end.

I did the test with the same video and i got much much much faster results.

Let me know if this is something you want to implement, if it is and you need help let me know 👍

@arturs4junction
Copy link

Just a heads up - download speeds can be greatly improved by just removing the fmt.Println() after every segment.
Tested with a 7.5 hour video - download time reduced from 3 hours 20 minutes to just 7 minutes.

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

No branches or pull requests

2 participants