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

multiple connections with aria2c #7398

Closed
ExtendedDev opened this issue Nov 7, 2015 · 5 comments
Closed

multiple connections with aria2c #7398

ExtendedDev opened this issue Nov 7, 2015 · 5 comments

Comments

@ExtendedDev
Copy link

@ExtendedDev ExtendedDev commented Nov 7, 2015

is it possible to properly configure aria2c for more than 4 connections. As is well known, by default using aria as ext dl 4 multiple connections are used. It would be a good idea to alter this arg number. For instance increase the number of ml connections to 6. Cl argument -x16 is unusable. --max-connection-per-server= also unusable in this case. It's sufficiently complex to use multiple arguments in --external-downloader-args ARGS It's difficult to find more detailed info in documentation of aria.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Nov 7, 2015

You can use arbitrary command line to be passed to aria2c with --external-downloader-args and I don't see any problem using it.

@dstftw dstftw closed this Nov 7, 2015
@kidol
Copy link
Contributor

@kidol kidol commented Nov 7, 2015

Try this:

youtube-dl --external-downloader aria2c --external-downloader-args "-j 8 -s 8 -x 8 -k 5M"

The trick is that -j, -s and -x must all be defined. Also -k ("max part size") defaults to 20M which means if you have a video of 40M, you can not use more than 2 connections by default. So better to lower it...

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Nov 7, 2015

Then define them all, what's the problem? Current default command line until you provide your own with --external-downloader-args is --min-split-size 1M --max-connection-per-server 4.

@kidol
Copy link
Contributor

@kidol kidol commented Nov 7, 2015

No problem, just trying to help that guy.

@ExtendedDev
Copy link
Author

@ExtendedDev ExtendedDev commented Nov 7, 2015

Thanks, it works perfectly. The main mistake that I made before I had forgotten the quotation marks on args parameters. -j 12 -s 12 -x 12 in my case, gives quickest speed, that is supported on my specs.

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.