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

ERROR "youtube-dl: error: no such option: --max-quality" #5550

Closed
ghost opened this issue Apr 29, 2015 · 26 comments
Closed

ERROR "youtube-dl: error: no such option: --max-quality" #5550

ghost opened this issue Apr 29, 2015 · 26 comments

Comments

@ghost
Copy link

ghost commented Apr 29, 2015

After today's update, getting this.
youtube-dl: error: no such option: --max-quality

Also, have had two updates recently that had to be rolled back - is there a server issue??

@ghost ghost changed the title youtube-dl: error: no such option: --max-quality ERROR "youtube-dl: error: no such option: --max-quality" Apr 29, 2015
@ghost
Copy link
Author

ghost commented Apr 29, 2015

P.S. Just checked on another computer. The same error.

@smolleyes
Copy link

same error here and -h do not report --max-quality

@smolleyes
Copy link

and working stream seems very long to start Oo

@phihag
Copy link
Contributor

phihag commented Apr 29, 2015

The option --max-quality has been removed in the current release of youtube-dl (since it hasn't been useful for quite a while now). Please remove it from any configuration files you may have.

@phihag phihag closed this as completed Apr 29, 2015
@ghost
Copy link
Author

ghost commented Apr 29, 2015

On 4/28/15 8:56 PM, Philipp Hagemeister wrote:

Closed #5550 #5550.


Reply to this email directly or view it on GitHub
#5550 (comment).

Well a LOT of people who use it on PPC Macs all over the world will
disagree with you on that. Not every computer can run Flash or HD video.
This is very regrettable.

@peseriusz
Copy link

So is there other way to download movies in lower quality ?

@jaimeMF
Copy link
Collaborator

jaimeMF commented Apr 29, 2015

Just use -f best[height<=?640] (or some other resolution), for more info read this doc. --max-quality didn't play well with dash formats and it wouldn't work correctly in some cases.

@ghost
Copy link
Author

ghost commented Apr 29, 2015

In this case, does it allow for non-exact matches the way the old one would: meaning will download desired value where available, but otherwise will grab what is there?

Or does it return an error that the desired format is not available?

@jaimeMF
Copy link
Collaborator

jaimeMF commented Apr 29, 2015

If the format has a known height and it's higher than 640 it won't be considerer, otherwise the format is included in the list of possible formats and best picks the best one of them (it won't pick DASH video only formats). If all the formats have a know height, but none of them is lower than 640, it will fail. If you want to avoid that, you can use -f best[height<=?640]/best, which will fallback to the default value.

@ghost
Copy link
Author

ghost commented Apr 29, 2015

That is very cool. ONE last question, is there a way to completely disallow DASH?

@jaimeMF
Copy link
Collaborator

jaimeMF commented Apr 29, 2015

Read the last paragraph in this section of the README

@ghost
Copy link
Author

ghost commented Apr 29, 2015

so there is no way to do say a 480 as a single file every-time? what about if we do
-f best[height<=?480] flv/mp4/mov/3gp/avi ?
This seems weird as DASH is pretty difficult to handle for a lot of media devices.

@jaimeMF
Copy link
Collaborator

jaimeMF commented Apr 29, 2015

-f best[height<=?480]/best should be enough since it won't match any DASH format (since the are missing either video or audio)

@ghost
Copy link
Author

ghost commented Apr 29, 2015

I just tried that and in the case of youtube, the only 480 was DASH, so that is what I got. The 240 and 720 were fine, since they were available as normal formats.

@ghost
Copy link
Author

ghost commented Apr 29, 2015

BTW, it was only a Video-Only DASH 480.

@jaimeMF
Copy link
Collaborator

jaimeMF commented Apr 29, 2015

It shouldn't pick the DASH format, we'll need the verbose output in a new issue.

@ghost
Copy link
Author

ghost commented Apr 29, 2015

Will Do.

@ghost
Copy link
Author

ghost commented Apr 29, 2015

I just found out that I had '=' instead of '<='. Is fine now. Do you still want the output - happy to help. I guess the '=' backed it into a corner.

@jaimeMF
Copy link
Collaborator

jaimeMF commented Apr 29, 2015

Yes please, I think I can reproduce it, but I'm not sure.

@ghost
Copy link
Author

ghost commented Apr 29, 2015

Sorry about the delay - had to give me dog a bath.

Here you go. So once again, this downloads a video-only DASH version.

Welcome to Darwin!
Adams-G4:~ adamalbrec$ youtube-dl -v -f best[height=480] https://www.youtube.com/watch?v=_PNBF_LGrfM
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'-f', u'best[height=480]', u'https://www.youtube.com/watch?v=_PNBF_LGrfM']
[debug] Encodings: locale US-ASCII, fs utf-8, out US-ASCII, pref US-ASCII
[debug] youtube-dl version 2015.04.28
[debug] Python version 2.7.8 - Darwin-8.11.0-Power_Macintosh-powerpc-32bit
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] _PNBF_LGrfM: Downloading webpage
[youtube] _PNBF_LGrfM: Extracting video information
[youtube] _PNBF_LGrfM: Downloading DASH manifest
[debug] Invoking downloader on 'https://r6---sn-qxo7sn7k.googlevideo.com/videoplayback?id=fcf34117f2c6adf3&itag=135&source=youtube&requiressl=yes&mm=31&ms=au&mv=m&pl=16&ratebypass=yes&mime=video/mp4&gir=yes&clen=27477814&lmt=1430256318389239&dur=339.714&mt=1430327681&key=dg_yt0&fexp=900720,907263,934954,938028,9406690,9407588,9407877,9408007,9408705,9408710,9408787,9409205,9409230,9412839,9413011,9413149,947233,948124,952612,952637,957201&sver=3&upn=tPFdYxEOYkM&signature=6F146691843968AD129BD05B140922A1ABD65D96.97DE5911E48E99520EE5208297519740AF696615&ip=97.115.165.13&ipbits=0&expire=1430349373&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,ms,mv,pl,ratebypass,mime,gir,clen,lmt,dur'
[download] Destination: Classic Game Room - QUICK STEP review for Atari 2600-_PNBF_LGrfM.mp4

[download] 100% of 26.20MiB in 00:34

@jaimeMF
Copy link
Collaborator

jaimeMF commented Apr 29, 2015

@artphotodude open a new issue

@ghost
Copy link
Author

ghost commented Apr 29, 2015

OK - so I am TOTALLY LOVING this new thing! Since my player is aimed at so many types of Mac computers (PPC G4-Single CPU -> all the way up to -> Intel 12-Core), I really needed to be able to select on the fly: This mean having to manually configure site-profiles for nearly 100 sites!! Now it can do it dynamically for any site it encounters.

While I am not still sure what use DASH is (unless nothing else is available), I have changed my quality-selector array to this:

set QualityCodes to {"-f 'best[height<=240]/best[height<=360]/best[height<=720]/best'", "-f 'best[height<=360]/best[height<=720]/best'", "-f 'best[height<=720]/best'"}

This way I can select 240p, 360p and 720p (will likely do 360p/480p/1080p for newer machines with a iniTest) but the best part is if it doesn't see the smallest option, it can now jump up to the next one up, rather than the very best as it used to under max-quality. VERY GOOD STUFF!!!! Thanks and sorry doubting earlier.

@dstftw
Copy link
Collaborator

dstftw commented Apr 29, 2015

@shakeyourbunny this is because it should be bestvideo[height<=480] and not just best[height<=480].

@ghost
Copy link
Author

ghost commented Apr 29, 2015

What is because of best[height<=480]? It is working.

@dstftw
Copy link
Collaborator

dstftw commented Apr 29, 2015

@artphotodude my last message was addressed not to you.

@shakeyourbunny
Copy link

thank you, I didn't know that bestvideo existed.

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

6 participants