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

about max file size and formats #2377

Open
hcevikbas opened this issue Feb 12, 2014 · 7 comments
Open

about max file size and formats #2377

hcevikbas opened this issue Feb 12, 2014 · 7 comments
Labels

Comments

@hcevikbas
Copy link

@hcevikbas hcevikbas commented Feb 12, 2014

Hi guys,

I want to do that.

I add --max-filesize option for download but if best quality file size is bigger than my limit youtube-dl auto change video format best to worst or normal

Is this possible ?

Sorry for my language.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Feb 12, 2014

Could you post which command are you using and the output you get it you add the --verbose option?

@hcevikbas
Copy link
Author

@hcevikbas hcevikbas commented May 28, 2014

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented May 28, 2014

You're not using the --max-filesizeoption. Could you post the output with that option (if possible as text)?, so that we can see what the problem is.

@hcevikbas
Copy link
Author

@hcevikbas hcevikbas commented May 28, 2014

I add --max-filesize option

[root@xxx~]# youtube-dl --verbose --max-filesize 104857600 -o a http://www.youtube.com/watch?v=5p-z2YRUr4k
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '--max-filesize', '104857600', '-o', 'a', 'http://www.youtube.com/watch?v=5p-z2YRUr4k']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.05.13
[debug] Python version 2.6.6 - Linux-3.10.23-xxxx-std-ipv6-64-x86_64-with-centos-6.5-Final
[debug] Proxy map: {}
[youtube] Setting language
[youtube] 5p-z2YRUr4k: Downloading webpage
[youtube] 5p-z2YRUr4k: Downloading video info webpage
[youtube] 5p-z2YRUr4k: Extracting video information
[download] File is larger than max-filesize (7066170296 bytes > 104857600 bytes). Aborting.

@HyShai
Copy link
Contributor

@HyShai HyShai commented Aug 15, 2014

Using youtube-dl --max-filesize 15MiB -f 18/5/36 doesn't work as expected - expected to download one of the specified formats if under max-filesize - currently just checks the first one and then exits if it's greater than max-filesize.

@jaimeMF jaimeMF added the request label Jan 29, 2015
@usamamashkoor
Copy link

@usamamashkoor usamamashkoor commented Oct 16, 2017

Did you get any solution..?

@samhains
Copy link

@samhains samhains commented Dec 15, 2017

is there any solution for this?

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
5 participants
You can’t perform that action at this time.