Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Output Filename Template: Format, Quality, and Resolution Substitution Tags #1445
Comments
|
Actually, instead of
|
|
So, sometime in the past couple of months or so, the following tags (with examples) did get added to the program:
which I do appreciate, but it'd be nice if we could get finer control over those; there's still no
tags. |
|
The height and witdth parameters are supported in some extractors (like vimeo, ted, gametrailers, mtv, comedycentral ...), but we need to migrate the youtube extractor to the new formats system. |
|
All the tags are now supported for youtube videos, thanks for the report. |
|
I just downloaded version 2014.03.03 to test. There's no documentation on these tags via
|
|
@EveryDirection Thank you for the note. I've documented height, width, and resolution, and set a sensible default if the latter is not set, but width and height are. |
For the
-oor--outputoption, looking at the documentation obtained via--help, there's currently no tags for format, quality, or resolution. For example, if we are downloading a YouTube video in 720p MP4 (format 22: mp4 [720x1280]), we should have tags to enable writing the following to the filename template:%(format)s-> "22"%(quality)s-> "720p"%(resolution)s-> (whatever the true resolution of the video may be, which is not necessarily 720x1280 though it'll be in that range)This seems to be a very simple feature to add that wouldn't take much coding, and it would be very helpful when downloading files in varying qualities. Thanks.