5 ms·
I'm using yt-dlp, and a very small change really made me go "cool" is Color numbers.. I just wish for functions I could pick mid 720p'ish as a setting that in
by IronWolve 5y ago
I'm using yt-dlp, and a very small change really made me go "cool" is
Color numbers..
I just wish for functions I could pick mid 720p'ish as a setting that includes audio+video, and not have to pick the audio and video formats. Theres a worst and a best option, but I'd want a middle quality to save space.
- makeworld 5y agoYou can totally do that! See the section on Format Selection[0]. From my reading of it, doing this would work for what you want: -f 'bv*[height<=720]+ba/b[height<=720]' [0] https://github.com/yt-dlp/yt-dlp#format-selection https://github.com/yt-dlp/yt-dlp#format-selection
- emptybottle 5y agoAlias that to -f 720ish and we’re getting somewhere
- 1una 5y agoMaybe you are looking for -S res:720 https://github.com/yt-dlp/yt-dlp#sorting-formats https://github.com/yt-dlp/yt-dlp#sorting-formats
- haunter 5y agoYou can do that with the arguments (bestvideo[height=720]/bestvideo)+bestaudio/best bestvideo[height=720] = download the best 720p resolution /bestvideo = otherwise download the best available (540p, 480p etc)
- makeworld 5y agoThis has a few issues, I think. For example, using bestvideo prevents you from downloading formats that contain both video and audio, it only downloads video-only formats. > otherwise download the best available This will potentially download much higher than 720, if 720 is not available. Probably better to go lower for OP's usecase. See my sibling comment for a better format selector.